From 560eb470591fb8b121576d7086c3c57b2f0f7bf9 Mon Sep 17 00:00:00 2001 From: bitboxx Date: Sat, 23 Jan 2021 19:55:26 +0000 Subject: [PATCH 1/2] Add missing undeclared dependencies I'm adding dependencies that are being require'd in the codebase, but not defined in `package.json`. This issue is detected by Yarn 2 (My config: Zero-Installs, `yarn dlx @yarnpkg/pnpify --sdk vscode`). Temporary workaround, add in `.yarnrc.yml`: ``` packageExtensions: eslint-plugin-sort-keys-fix@*: dependencies: requireindex: "~1.2.0" espree: "^6.1.2" esutils: "^2.0.2" natural-compare: "^1.4.0" ``` --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 1c4ae83..927239a 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,9 @@ "test-debug": "node --inspect node_modules/.bin/jest --watch --runInBand" }, "dependencies": { + "espree": "^6.1.2", + "esutils": "^2.0.2", + "natural-compare": "^1.4.0", "requireindex": "~1.2.0" }, "devDependencies": { From 64f1bf0c299493d797d583234d849920f4a6d141 Mon Sep 17 00:00:00 2001 From: Leonid Buneev Date: Mon, 2 Aug 2021 09:50:17 +0200 Subject: [PATCH 2/2] Bump package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 927239a..7313c87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-sort-keys-fix", - "version": "1.1.1", + "version": "1.1.2", "description": "Fork of eslint rule that sorts keys in objects (https://eslint.org/docs/rules/sort-keys) with autofix enabled", "repository": { "url": "https://github.com/leo-buneev/eslint-plugin-sort-keys-fix",