@typescript-eslint/rule-tester 8.2.1-alpha.19 → 8.2.1-alpha.20
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":"serialization.d.ts","sourceRoot":"","sources":["../../src/utils/serialization.ts"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"serialization.d.ts","sourceRoot":"","sources":["../../src/utils/serialization.ts"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAqBpD"}
|
|
@@ -30,10 +30,9 @@ function isSerializable(val) {
|
|
|
30
30
|
if (!isSerializablePrimitiveOrPlainObject(valAsObj[property])) {
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
|
-
if (typeof valAsObj[property] === 'object'
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
33
|
+
if (typeof valAsObj[property] === 'object' &&
|
|
34
|
+
!isSerializable(valAsObj[property])) {
|
|
35
|
+
return false;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialization.js","sourceRoot":"","sources":["../../src/utils/serialization.ts"],"names":[],"mappings":";;AAoBA,
|
|
1
|
+
{"version":3,"file":"serialization.js","sourceRoot":"","sources":["../../src/utils/serialization.ts"],"names":[],"mappings":";;AAoBA,wCAqBC;AAzCD;;GAEG;AACH,SAAS,oCAAoC,CAAC,GAAY;IACxD,OAAO;IACL,kCAAkC;IAClC,GAAG,KAAK,IAAI;QACZ,OAAO,GAAG,KAAK,QAAQ;QACvB,OAAO,GAAG,KAAK,SAAS;QACxB,OAAO,GAAG,KAAK,QAAQ;QACvB,CAAC,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,CAAC;QACvD,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CACnB,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,GAAY;IACzC,IAAI,CAAC,oCAAoC,CAAC,GAAG,CAAC,EAAE,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5B,MAAM,QAAQ,GAAG,GAA8B,CAAC;QAChD,KAAK,MAAM,QAAQ,IAAI,QAAQ,EAAE,CAAC;YAChC,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;gBACtC,IAAI,CAAC,oCAAoC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;oBAC9D,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,IACE,OAAO,QAAQ,CAAC,QAAQ,CAAC,KAAK,QAAQ;oBACtC,CAAC,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EACnC,CAAC;oBACD,OAAO,KAAK,CAAC;gBACf,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/rule-tester",
|
|
3
|
-
"version": "8.2.1-alpha.
|
|
3
|
+
"version": "8.2.1-alpha.20",
|
|
4
4
|
"description": "Tooling to test ESLint rules",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
},
|
|
49
49
|
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@typescript-eslint/typescript-estree": "8.2.1-alpha.
|
|
52
|
-
"@typescript-eslint/utils": "8.2.1-alpha.
|
|
51
|
+
"@typescript-eslint/typescript-estree": "8.2.1-alpha.20",
|
|
52
|
+
"@typescript-eslint/utils": "8.2.1-alpha.20",
|
|
53
53
|
"ajv": "^6.12.6",
|
|
54
54
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
55
55
|
"lodash.merge": "4.6.2",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@jest/types": "29.6.3",
|
|
63
63
|
"@types/json-stable-stringify-without-jsonify": "^1.0.2",
|
|
64
64
|
"@types/lodash.merge": "4.6.9",
|
|
65
|
-
"@typescript-eslint/parser": "8.2.1-alpha.
|
|
65
|
+
"@typescript-eslint/parser": "8.2.1-alpha.20",
|
|
66
66
|
"chai": "^4.4.1",
|
|
67
67
|
"eslint-visitor-keys": "^4.0.0",
|
|
68
68
|
"espree": "^10.0.1",
|