@typescript-eslint/utils 6.20.1-alpha.9 → 6.21.1-alpha.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,KAAK,wBAAwB,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"InferTypesFromRule.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/InferTypesFromRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnE;;GAEG;AACH,KAAK,wBAAwB,CAAC,CAAC,IAC7B,CAAC,SAAS,UAAU,CAAC,MAAM,YAAY,EAAE,MAAM,QAAQ,CAAC,GACpD,QAAQ,GACR,CAAC,SAAS,kBAAkB,CAAC,MAAM,YAAY,EAAE,MAAM,QAAQ,CAAC,GAC9D,QAAQ,GACR,OAAO,CAAC;AAEhB;;GAEG;AACH,KAAK,2BAA2B,CAAC,CAAC,IAChC,CAAC,SAAS,UAAU,CAAC,MAAM,WAAW,EAAE,MAAM,SAAS,CAAC,GACpD,WAAW,GACX,CAAC,SAAS,kBAAkB,CAAC,MAAM,WAAW,EAAE,MAAM,SAAS,CAAC,GAC9D,WAAW,GACX,OAAO,CAAC;AAEhB,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -9,6 +9,6 @@ declare const NullThrowsReasons: {
|
|
|
9
9
|
* Assert that a value must not be null or undefined.
|
|
10
10
|
* This is a nice explicit alternative to the non-null assertion operator.
|
|
11
11
|
*/
|
|
12
|
-
declare function nullThrows<T>(value: T
|
|
12
|
+
declare function nullThrows<T>(value: T, message: string): NonNullable<T>;
|
|
13
13
|
export { nullThrows, NullThrowsReasons };
|
|
14
14
|
//# sourceMappingURL=nullThrows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,QAAA,MAAM,iBAAiB;;mCAEC,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,iBAAS,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"nullThrows.d.ts","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,QAAA,MAAM,iBAAiB;;mCAEC,MAAM,SAAS,MAAM;CAEnC,CAAC;AAEX;;;GAGG;AACH,iBAAS,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAYhE;AAED,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAoBU,8CAAiB;AAlBtC;;;GAGG;AACH,SAAS,UAAU,CAAI,
|
|
1
|
+
{"version":3,"file":"nullThrows.js","sourceRoot":"","sources":["../../src/eslint-utils/nullThrows.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,aAAa,EAAE,iCAAiC;IAChD,YAAY,EAAE,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC7C,sBAAsB,KAAK,YAAY,KAAK,GAAG;CACzC,CAAC;AAoBU,8CAAiB;AAlBtC;;;GAGG;AACH,SAAS,UAAU,CAAI,KAAQ,EAAE,OAAe;IAC9C,oEAAoE;IACpE,4DAA4D;IAC5D,sEAAsE;IAEtE,oCAAoC;IACpC,wBAAwB;IACxB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAEQ,gCAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/utils",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.21.1-alpha.0",
|
|
4
4
|
"description": "Utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"@eslint-community/eslint-utils": "^4.4.0",
|
|
69
69
|
"@types/json-schema": "^7.0.12",
|
|
70
70
|
"@types/semver": "^7.5.0",
|
|
71
|
-
"@typescript-eslint/scope-manager": "6.
|
|
72
|
-
"@typescript-eslint/types": "6.
|
|
73
|
-
"@typescript-eslint/typescript-estree": "6.
|
|
71
|
+
"@typescript-eslint/scope-manager": "6.21.1-alpha.0",
|
|
72
|
+
"@typescript-eslint/types": "6.21.1-alpha.0",
|
|
73
|
+
"@typescript-eslint/typescript-estree": "6.21.1-alpha.0",
|
|
74
74
|
"semver": "^7.5.4"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"eslint": "^7.0.0 || ^8.0.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@typescript-eslint/parser": "6.
|
|
80
|
+
"@typescript-eslint/parser": "6.21.1-alpha.0",
|
|
81
81
|
"downlevel-dts": "*",
|
|
82
82
|
"jest": "29.7.0",
|
|
83
83
|
"prettier": "^3.0.3",
|