diff --git a/package-lock.json b/package-lock.json index 4cf82b3..78c5854 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,19 @@ { "name": "shellwords-ts", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "shellwords-ts", - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "devDependencies": { "@types/chai": "^4.3.4", "@types/mocha": "^10.0.0", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", "chai": "^4.3.7", "eslint": "^8.28.0", "mocha": "^10.1.0", @@ -241,7 +242,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.44.0.tgz", "integrity": "sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==", "dev": true, - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "5.44.0", "@typescript-eslint/types": "5.44.0", @@ -2607,7 +2607,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.44.0.tgz", "integrity": "sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==", "dev": true, - "peer": true, "requires": { "@typescript-eslint/scope-manager": "5.44.0", "@typescript-eslint/types": "5.44.0", diff --git a/package.json b/package.json index 2c2284c..3711991 100644 --- a/package.json +++ b/package.json @@ -21,17 +21,17 @@ "test": "mocha --require ts-node/register --watch-extensions ts,tsx \"spec/**/*_spec.{ts,tsx}\"" }, "license": "MIT", - "dependencies": {}, "devDependencies": { "@types/chai": "^4.3.4", "@types/mocha": "^10.0.0", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", "chai": "^4.3.7", "eslint": "^8.28.0", "mocha": "^10.1.0", "ts-node": "^10.9.1", - "typescript-formatter": "^7.2.2", - "typescript": "^4.9.3" + "typescript": "^4.9.3", + "typescript-formatter": "^7.2.2" } } diff --git a/scripts/update-package-json.js b/scripts/update-package-json.js index 99aa336..d81ac3f 100755 --- a/scripts/update-package-json.js +++ b/scripts/update-package-json.js @@ -99,8 +99,8 @@ function update(dict) { }); } -update(manifest.dependencies); -update(manifest.devDependencies); +update(manifest.dependencies || {}); +update(manifest.devDependencies || {}); if (opts["update-optional-dependencies"]) { update(manifest.optionalDependencies);