@eslinted/core 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
2
  "_schemaVersion": "20.18.2",
3
3
  "name": "@eslinted/core",
4
- "version": "5.0.6",
4
+ "version": "5.0.7",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -30,10 +30,10 @@
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 }>;