diff --git a/package-lock.json b/package-lock.json index 3df44669..49e6fe06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@web/dev-server-rollup": "0.3.2", "canvg": "3.0.7", "core-js": "3.9.1", + "deparam": "^1.0.5", "elix": "^15.0.0", "jspdf": "2.3.1", "pathseg": "1.2.0", @@ -47,7 +48,6 @@ "cypress-axe": "0.12.2", "cypress-multi-reporters": "1.4.0", "cypress-plugin-snapshots": "1.4.4", - "deparam": "git+https://github.com/brettz9/deparam.git#updates", "eslint": "^7.22.0", "eslint-config-standard": "16.0.2", "eslint-plugin-array-func": "3.1.7", @@ -9184,11 +9184,10 @@ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" }, "node_modules/deparam": { - "resolved": "git+ssh://git@github.com/brettz9/deparam.git#3ae917fb3550640237b4c8ae36cd455ef7cc15d5", - "dev": true, - "engines": { - "node": ">=6.0.0" - } + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/deparam/-/deparam-1.0.5.tgz", + "integrity": "sha1-dAEbur0mtA+GDD48ws1hvtTrQ/I=", + "license": "ISC" }, "node_modules/depd": { "version": "1.1.2", @@ -31766,9 +31765,9 @@ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" }, "deparam": { - "version": "git+ssh://git@github.com/brettz9/deparam.git#3ae917fb3550640237b4c8ae36cd455ef7cc15d5", - "dev": true, - "from": "deparam@git+https://github.com/brettz9/deparam.git#updates" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/deparam/-/deparam-1.0.5.tgz", + "integrity": "sha1-dAEbur0mtA+GDD48ws1hvtTrQ/I=" }, "depd": { "version": "1.1.2", diff --git a/package.json b/package.json index 33cfada5..796f304c 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,7 @@ "@web/dev-server-rollup": "0.3.2", "canvg": "3.0.7", "core-js": "3.9.1", + "deparam": "^1.0.5", "elix": "^15.0.0", "jspdf": "2.3.1", "pathseg": "1.2.0", @@ -145,7 +146,6 @@ "cypress-axe": "0.12.2", "cypress-multi-reporters": "1.4.0", "cypress-plugin-snapshots": "1.4.4", - "deparam": "git+https://github.com/brettz9/deparam.git#updates", "eslint": "^7.22.0", "eslint-config-standard": "16.0.2", "eslint-plugin-array-func": "3.1.7", diff --git a/src/editor/ConfigObj.js b/src/editor/ConfigObj.js index 90bd4f56..ef25ce1f 100644 --- a/src/editor/ConfigObj.js +++ b/src/editor/ConfigObj.js @@ -237,7 +237,7 @@ export default class ConfigObj { const {search, searchParams} = new URL(location); if (search) { - this.urldata = deparam(searchParams.toString(), true); + this.urldata = deparam(searchParams.toString()); ['initStroke', 'initFill'].forEach((prop) => { if (searchParams.has(`${prop}[color]`)) {