linted 28.37.0-rc.5 → 28.37.0-rc.7
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -3
package/dist/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import
|
2
|
-
export default function (extensions?:
|
1
|
+
import Core from "@eslinted/core";
|
2
|
+
export default function (extensions?: Parameters<typeof Core>[0]["extensions"]): unknown[];
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAIlC,MAAM,CAAC,OAAO,WAAW,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAM,aAgBjF"}
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import Core
|
1
|
+
import Core from "@eslinted/core";
|
2
2
|
import * as defaults from "@eslinted/defaults";
|
3
3
|
import * as imports from "./imports/index.js";
|
4
4
|
export default function (extensions = {}) {
|
@@ -10,7 +10,7 @@ export default function (extensions = {}) {
|
|
10
10
|
});
|
11
11
|
}
|
12
12
|
catch (e) {
|
13
|
-
throw new Error(
|
13
|
+
throw new Error("linted: ", { cause: e });
|
14
14
|
}
|
15
15
|
}
|
16
16
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,MAAM,CAAC,OAAO,WAAW,aAAuD,EAAE;IAChF,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,QAAQ;YACR,UAAU;SACX,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,UAAU,EACV,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
5
5
|
"name": "linted",
|
6
|
-
"version": "28.37.0-rc.
|
6
|
+
"version": "28.37.0-rc.7",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"dependencies": {
|
33
33
|
"@eslint/css": "0.8.1",
|
34
34
|
"@eslint/json": "0.12.0",
|
35
|
-
"@eslinted/core": "18.
|
35
|
+
"@eslinted/core": "18.10.0",
|
36
36
|
"@eslinted/defaults": "10.22.3",
|
37
37
|
"@html-eslint/eslint-plugin": "0.40.3",
|
38
38
|
"@stylistic/eslint-plugin": "4.4.0",
|
package/src/index.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import Core
|
1
|
+
import Core from "@eslinted/core";
|
2
2
|
import * as defaults from "@eslinted/defaults";
|
3
3
|
import * as imports from "./imports";
|
4
4
|
|
5
|
-
export default function (extensions:
|
5
|
+
export default function (extensions: Parameters<typeof Core>[0]["extensions"] = {}) {
|
6
6
|
try {
|
7
7
|
return Core(
|
8
8
|
{
|
@@ -14,7 +14,7 @@ export default function (extensions: Input["extensions"] = {}): readonly unknown
|
|
14
14
|
}
|
15
15
|
catch (e) {
|
16
16
|
throw new Error(
|
17
|
-
|
17
|
+
"linted: ",
|
18
18
|
{ cause: e },
|
19
19
|
);
|
20
20
|
}
|