@eslinted/core 5.0.6 → 5.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,11 +20,11 @@ jobs:
20
20
  with:
21
21
  submodules: true
22
22
  lfs: false
23
- - name: Install Node v20
23
+ - name: Install Node v22
24
24
  id: node
25
25
  uses: actions/setup-node@v4
26
26
  with:
27
- node-version: 20
27
+ node-version: 22
28
28
  check-latest: true
29
29
  registry-url: "https://registry.npmjs.org"
30
30
  - name: Install Dependencies
@@ -20,11 +20,11 @@ jobs:
20
20
  with:
21
21
  submodules: true
22
22
  lfs: false
23
- - name: Install Node v20
23
+ - name: Install Node v22
24
24
  id: node
25
25
  uses: actions/setup-node@v4
26
26
  with:
27
- node-version: 20
27
+ node-version: 22
28
28
  check-latest: true
29
29
  registry-url: "https://registry.npmjs.org"
30
30
  - name: Install Dependencies
@@ -1,6 +1,4 @@
1
- export type Plugins<PluginId extends string> = {
2
- [P in literalful<PluginId>]: {
3
- configs: unknown;
4
- };
5
- };
1
+ export type Plugins<PluginId extends string> = Record<literalful<PluginId>, {
2
+ configs: unknown;
3
+ }>;
6
4
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,MAAM,IAAI;KAAG,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../src/factory/options/option/template/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,MAAM,IAAI,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "_schemaVersion": "20.18.2",
2
+ "_schemaVersion": "22.10.0",
3
3
  "name": "@eslinted/core",
4
- "version": "5.0.6",
4
+ "version": "5.1.0-rc.0",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -22,18 +22,18 @@
22
22
  },
23
23
  "engineStrict": true,
24
24
  "engines": {
25
- "node": ">=20.18.0",
26
- "npm": ">=10.8.2"
25
+ "node": ">=22.10.0",
26
+ "npm": ">=10.9.0"
27
27
  },
28
28
  "peerDependenciesMeta": {},
29
29
  "dependencies": {
30
30
  "globals": "^15.11.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/chai": "^5.0.0",
33
+ "@types/chai": "^5.0.1",
34
34
  "@types/mocha": "^10.0.9",
35
35
  "chai": "^5.1.2",
36
- "mocha": "^10.7.3",
36
+ "mocha": "^10.8.1",
37
37
  "npm-run-all": "^4.1.5",
38
38
  "run-script-os": "^1.1.6",
39
39
  "ts-add-js-extension": "^1.6.4",
@@ -1 +1 @@
1
- export type Plugins<PluginId extends string> = { [P in literalful<PluginId>]: { configs: unknown } };
1
+ export type Plugins<PluginId extends string> = Record<literalful<PluginId>, { configs: unknown }>;