ast-loose-compare 3.0.2 → 3.0.6
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/CHANGELOG.md +0 -6
- package/LICENSE +1 -1
- package/dist/ast-loose-compare.esm.js +84 -69
- package/dist/ast-loose-compare.umd.js +5 -5
- package/package.json +37 -41
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## 3.0.1 (2021-09-13)
|
|
7
|
-
|
|
8
|
-
### Bug Fixes
|
|
9
|
-
|
|
10
|
-
- bump TS and separate ESLint plugins away from this monorepo ([2e07d42](https://github.com/codsen/codsen/commit/2e07d424222b6ffedf5fb45c83ad453627ec2904))
|
|
11
|
-
|
|
12
6
|
## 3.0.0 (2021-09-09)
|
|
13
7
|
|
|
14
8
|
### Features
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2010
|
|
3
|
+
Copyright (c) 2010-2021 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name ast-loose-compare
|
|
3
3
|
* @fileoverview Compare anything: AST, objects, arrays and strings
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.6
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/ast-loose-compare/}
|
|
@@ -10,90 +10,105 @@
|
|
|
10
10
|
import { empty } from 'ast-contains-only-empty-space';
|
|
11
11
|
import isObj from 'lodash.isplainobject';
|
|
12
12
|
|
|
13
|
-
var version$1 = "3.0.
|
|
13
|
+
var version$1 = "3.0.6";
|
|
14
14
|
|
|
15
15
|
const version = version$1;
|
|
16
16
|
function internalCompare(bigObj, smallObj, res) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
let i;
|
|
21
|
-
let len;
|
|
22
|
-
if (res === undefined) {
|
|
23
|
-
if (!existy(bigObj) || !existy(smallObj)) {
|
|
24
|
-
return undefined;
|
|
17
|
+
function existy(x) {
|
|
18
|
+
return x != null;
|
|
25
19
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return true;
|
|
20
|
+
let i;
|
|
21
|
+
let len;
|
|
22
|
+
if (res === undefined) {
|
|
23
|
+
if (!existy(bigObj) || !existy(smallObj)) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
33
26
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (
|
|
40
|
-
res = internalCompare(bigObj[i], smallObj[i], res);
|
|
41
|
-
if (!res) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
} else if (smallObj[i] !== bigObj[i]) {
|
|
45
|
-
if (empty(smallObj[i]) && empty(bigObj[i])) {
|
|
27
|
+
else if (!existy(bigObj) || !existy(smallObj)) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
res = res || true;
|
|
31
|
+
if (typeof bigObj !== typeof smallObj) {
|
|
32
|
+
if (empty(bigObj) && empty(smallObj)) {
|
|
46
33
|
return true;
|
|
47
|
-
}
|
|
48
|
-
return false;
|
|
49
34
|
}
|
|
50
|
-
|
|
51
|
-
} else {
|
|
52
|
-
if (smallObj.length === 0 && bigObj.length === 0 || empty(smallObj) && empty(bigObj)) {
|
|
53
|
-
return true;
|
|
54
|
-
}
|
|
55
|
-
return false;
|
|
35
|
+
return false;
|
|
56
36
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
37
|
+
if (Array.isArray(bigObj) && Array.isArray(smallObj)) {
|
|
38
|
+
if (smallObj.length > 0) {
|
|
39
|
+
for (i = 0, len = smallObj.length; i < len; i++) {
|
|
40
|
+
if (Array.isArray(smallObj[i]) || isObj(smallObj[i])) {
|
|
41
|
+
res = internalCompare(bigObj[i], smallObj[i], res);
|
|
42
|
+
if (!res) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
else if (smallObj[i] !== bigObj[i]) {
|
|
47
|
+
if (empty(smallObj[i]) && empty(bigObj[i])) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
if ((smallObj.length === 0 && bigObj.length === 0) ||
|
|
56
|
+
(empty(smallObj) && empty(bigObj))) {
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
65
59
|
return false;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
else if (isObj(bigObj) && isObj(smallObj)) {
|
|
63
|
+
if (Object.keys(smallObj).length > 0) {
|
|
64
|
+
const keysArr = Object.keys(smallObj);
|
|
65
|
+
for (i = 0, len = keysArr.length; i < len; i++) {
|
|
66
|
+
/* istanbul ignore else */
|
|
67
|
+
if (Array.isArray(smallObj[keysArr[i]]) ||
|
|
68
|
+
isObj(smallObj[keysArr[i]]) ||
|
|
69
|
+
typeof smallObj[keysArr[i]] === "string") {
|
|
70
|
+
res = internalCompare(bigObj[keysArr[i]], smallObj[keysArr[i]], res);
|
|
71
|
+
if (!res) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
else if (smallObj[keysArr[i]] !==
|
|
76
|
+
bigObj[keysArr[i]]) {
|
|
77
|
+
if (!empty(smallObj[keysArr[i]]) ||
|
|
78
|
+
!empty(bigObj[keysArr[i]])) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
if ((Object.keys(smallObj).length === 0 &&
|
|
86
|
+
Object.keys(bigObj).length === 0) ||
|
|
87
|
+
(empty(smallObj) && empty(bigObj))) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
69
90
|
return false;
|
|
70
|
-
}
|
|
71
91
|
}
|
|
72
|
-
}
|
|
73
|
-
} else {
|
|
74
|
-
if (Object.keys(smallObj).length === 0 && Object.keys(bigObj).length === 0 || empty(smallObj) && empty(bigObj)) {
|
|
75
|
-
return true;
|
|
76
|
-
}
|
|
77
|
-
return false;
|
|
78
92
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
93
|
+
else if (typeof bigObj === "string" && typeof smallObj === "string") {
|
|
94
|
+
/* istanbul ignore else */
|
|
95
|
+
if (bigObj !== smallObj) {
|
|
96
|
+
if (empty(smallObj) && empty(bigObj)) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
86
101
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
102
|
+
else {
|
|
103
|
+
if (empty(smallObj) && empty(bigObj)) {
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
return false;
|
|
90
107
|
}
|
|
91
|
-
return
|
|
92
|
-
}
|
|
93
|
-
return res;
|
|
108
|
+
return res;
|
|
94
109
|
}
|
|
95
110
|
function looseCompare(bigObj, smallObj) {
|
|
96
|
-
|
|
111
|
+
return internalCompare(bigObj, smallObj);
|
|
97
112
|
}
|
|
98
113
|
|
|
99
114
|
export { looseCompare, version };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name ast-loose-compare
|
|
3
3
|
* @fileoverview Compare anything: AST, objects, arrays and strings
|
|
4
|
-
* @version 3.0.
|
|
4
|
+
* @version 3.0.6
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/ast-loose-compare/}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/**
|
|
12
12
|
* @name ast-monkey-util
|
|
13
13
|
* @fileoverview Utility library of AST helper functions
|
|
14
|
-
* @version 2.0.
|
|
14
|
+
* @version 2.0.6
|
|
15
15
|
* @author Roy Revelt, Codsen Ltd
|
|
16
16
|
* @license MIT
|
|
17
17
|
* {@link https://codsen.com/os/ast-monkey-util/}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/**
|
|
20
20
|
* @name ast-monkey-traverse
|
|
21
21
|
* @fileoverview Utility library to traverse AST
|
|
22
|
-
* @version 3.0.
|
|
22
|
+
* @version 3.0.6
|
|
23
23
|
* @author Roy Revelt, Codsen Ltd
|
|
24
24
|
* @license MIT
|
|
25
25
|
* {@link https://codsen.com/os/ast-monkey-traverse/}
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
/**
|
|
28
28
|
* @name ast-contains-only-empty-space
|
|
29
29
|
* @fileoverview Does AST contain only empty space?
|
|
30
|
-
* @version 3.0.
|
|
30
|
+
* @version 3.0.6
|
|
31
31
|
* @author Roy Revelt, Codsen Ltd
|
|
32
32
|
* @license MIT
|
|
33
33
|
* {@link https://codsen.com/os/ast-contains-only-empty-space/}
|
|
34
34
|
*/
|
|
35
|
-
function h(t){if("string"==typeof t)return!t.trim();if(!["object","string"].includes(typeof t)||!t)return!1;let e=!0;return t=function t(e,r,o,u){const c=n(e);let i;const a={depth:-1,path:"",...o};if(a.depth+=1,Array.isArray(c))for(let e=0,o=c.length;e<o&&!u.now;e++){const o=a.path?`${a.path}.${e}`:`${e}`;void 0!==c[e]?(a.parent=n(c),a.parentType="array",a.parentKey=y(o),i=t(r(c[e],void 0,{...a,path:o},u),r,{...a,path:o},u),Number.isNaN(i)&&e<c.length?(c.splice(e,1),e-=1):c[e]=i):c.splice(e,1)}else if(p(c))for(const e in c){if(u.now&&null!=e)break;const o=a.path?`${a.path}.${e}`:e;0===a.depth&&null!=e&&(a.topmostKey=e),a.parent=n(c),a.parentType="object",a.parentKey=y(o),i=t(r(e,c[e],{...a,path:o},u),r,{...a,path:o},u),Number.isNaN(i)?delete c[e]:c[e]=i}return c}(t,((t,r,n,o)=>{const u=void 0!==r?r:t;return"string"==typeof u&&u.trim()&&(e=!1,o.now=!0),u}),{},{now:!1}),e}function _(t,e,r){function n(t){return null!=t}let o,u;if(void 0===r){if(!n(t)||!n(e))return}else if(!n(t)||!n(e))return!1;if(r=r||!0,typeof t!=typeof e)return!(!h(t)||!h(e));if(Array.isArray(t)&&Array.isArray(e)){if(!(e.length>0))return!!(0===e.length&&0===t.length||h(e)&&h(t));for(o=0,u=e.length;o<u;o++)if(Array.isArray(e[o])||p(e[o])){if(!(r=_(t[o],e[o],r)))return!1}else if(e[o]!==t[o])return!(!h(e[o])||!h(t[o]))}else if(p(t)&&p(e)){if(!(Object.keys(e).length>0))return!!(0===Object.keys(e).length&&0===Object.keys(t).length||h(e)&&h(t));{const n=Object.keys(e);for(o=0,u=n.length;o<u;o++)if(Array.isArray(e[n[o]])||p(e[n[o]])||"string"==typeof e[n[o]]){if(!(r=_(t[n[o]],e[n[o]],r)))return!1}else if(!(e[n[o]]===t[n[o]]||h(e[n[o]])&&h(t[n[o]])))return!1}}else{if("string"!=typeof t||"string"!=typeof e)return!(!h(e)||!h(t));if(t!==e)return!(!h(e)||!h(t))}return r}t.looseCompare=function(t,e){return _(t,e)},t.version="3.0.
|
|
35
|
+
function h(t){if("string"==typeof t)return!t.trim();if(!["object","string"].includes(typeof t)||!t)return!1;let e=!0;return t=function t(e,r,o,u){const c=n(e);let i;const a={depth:-1,path:"",...o};if(a.depth+=1,Array.isArray(c))for(let e=0,o=c.length;e<o&&!u.now;e++){const o=a.path?`${a.path}.${e}`:`${e}`;void 0!==c[e]?(a.parent=n(c),a.parentType="array",a.parentKey=y(o),i=t(r(c[e],void 0,{...a,path:o},u),r,{...a,path:o},u),Number.isNaN(i)&&e<c.length?(c.splice(e,1),e-=1):c[e]=i):c.splice(e,1)}else if(p(c))for(const e in c){if(u.now&&null!=e)break;const o=a.path?`${a.path}.${e}`:e;0===a.depth&&null!=e&&(a.topmostKey=e),a.parent=n(c),a.parentType="object",a.parentKey=y(o),i=t(r(e,c[e],{...a,path:o},u),r,{...a,path:o},u),Number.isNaN(i)?delete c[e]:c[e]=i}return c}(t,((t,r,n,o)=>{const u=void 0!==r?r:t;return"string"==typeof u&&u.trim()&&(e=!1,o.now=!0),u}),{},{now:!1}),e}function _(t,e,r){function n(t){return null!=t}let o,u;if(void 0===r){if(!n(t)||!n(e))return}else if(!n(t)||!n(e))return!1;if(r=r||!0,typeof t!=typeof e)return!(!h(t)||!h(e));if(Array.isArray(t)&&Array.isArray(e)){if(!(e.length>0))return!!(0===e.length&&0===t.length||h(e)&&h(t));for(o=0,u=e.length;o<u;o++)if(Array.isArray(e[o])||p(e[o])){if(!(r=_(t[o],e[o],r)))return!1}else if(e[o]!==t[o])return!(!h(e[o])||!h(t[o]))}else if(p(t)&&p(e)){if(!(Object.keys(e).length>0))return!!(0===Object.keys(e).length&&0===Object.keys(t).length||h(e)&&h(t));{const n=Object.keys(e);for(o=0,u=n.length;o<u;o++)if(Array.isArray(e[n[o]])||p(e[n[o]])||"string"==typeof e[n[o]]){if(!(r=_(t[n[o]],e[n[o]],r)))return!1}else if(!(e[n[o]]===t[n[o]]||h(e[n[o]])&&h(t[n[o]])))return!1}}else{if("string"!=typeof t||"string"!=typeof e)return!(!h(e)||!h(t));if(t!==e)return!(!h(e)||!h(t))}return r}t.looseCompare=function(t,e){return _(t,e)},t.version="3.0.6",Object.defineProperty(t,"__esModule",{value:!0})}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ast-loose-compare",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Compare anything: AST, objects, arrays and strings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"array",
|
|
@@ -43,9 +43,10 @@
|
|
|
43
43
|
"types": "types/index.d.ts",
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "rollup -c",
|
|
46
|
-
"esbuild": "node '../../scripts/esbuild.js'",
|
|
47
|
-
"
|
|
48
|
-
"ci_test": "npm run build && npm run format && tap --no-only --reporter=silent
|
|
46
|
+
"build:esbuild": "node '../../scripts/esbuild.js'",
|
|
47
|
+
"build:esbuild:dev": "cross-env MODE=dev node '../../scripts/esbuild.js'",
|
|
48
|
+
"ci_test": "npm run build && npm run format && tap --no-only --reporter=silent",
|
|
49
|
+
"clean_types": "../../scripts/cleanTypes.js",
|
|
49
50
|
"dev": "rollup -c --dev",
|
|
50
51
|
"devunittest": "npm run dev && tap --only -R 'base'",
|
|
51
52
|
"format": "npm run lect && npm run prettier && npm run lint",
|
|
@@ -55,20 +56,15 @@
|
|
|
55
56
|
"prettier": "../../node_modules/prettier/bin-prettier.js '*.{js,css,scss,vue,md,ts}' --write --loglevel silent",
|
|
56
57
|
"republish": "npm publish || :",
|
|
57
58
|
"tap": "tap",
|
|
58
|
-
"tsc": "tsc",
|
|
59
59
|
"pretest": "npm run build",
|
|
60
|
-
"test": "npm run
|
|
60
|
+
"test": "npm run test:ci && npm run perf",
|
|
61
|
+
"test:ci": "npm run unittest && npm run test:examples && npm run format",
|
|
61
62
|
"test:examples": "../../scripts/test-examples.js && npm run lect && npm run prettier",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"clean_types": "../../scripts/cleanTypes.js"
|
|
63
|
+
"tsc": "tsc",
|
|
64
|
+
"unittest": "tap --no-only --reporter=terse && tsc -p tsconfig.json --noEmit"
|
|
65
65
|
},
|
|
66
66
|
"tap": {
|
|
67
67
|
"check-coverage": false,
|
|
68
|
-
"coverage-report": [
|
|
69
|
-
"json-summary",
|
|
70
|
-
"text"
|
|
71
|
-
],
|
|
72
68
|
"node-arg": [
|
|
73
69
|
"--no-warnings",
|
|
74
70
|
"--experimental-loader",
|
|
@@ -90,50 +86,50 @@
|
|
|
90
86
|
}
|
|
91
87
|
},
|
|
92
88
|
"dependencies": {
|
|
93
|
-
"@babel/runtime": "^7.
|
|
94
|
-
"ast-contains-only-empty-space": "^3.0.
|
|
89
|
+
"@babel/runtime": "^7.16.3",
|
|
90
|
+
"ast-contains-only-empty-space": "^3.0.6",
|
|
95
91
|
"lodash.isplainobject": "^4.0.6"
|
|
96
92
|
},
|
|
97
93
|
"devDependencies": {
|
|
98
|
-
"@babel/cli": "^7.
|
|
99
|
-
"@babel/core": "^7.
|
|
100
|
-
"@babel/node": "^7.
|
|
101
|
-
"@babel/plugin-external-helpers": "^7.
|
|
102
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
103
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.
|
|
104
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
105
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
106
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
107
|
-
"@babel/preset-env": "^7.
|
|
108
|
-
"@babel/preset-typescript": "^7.
|
|
109
|
-
"@babel/register": "^7.
|
|
94
|
+
"@babel/cli": "^7.16.0",
|
|
95
|
+
"@babel/core": "^7.16.0",
|
|
96
|
+
"@babel/node": "^7.16.0",
|
|
97
|
+
"@babel/plugin-external-helpers": "^7.16.0",
|
|
98
|
+
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
99
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
|
|
100
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
|
|
101
|
+
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
|
|
102
|
+
"@babel/plugin-transform-runtime": "^7.16.4",
|
|
103
|
+
"@babel/preset-env": "^7.16.4",
|
|
104
|
+
"@babel/preset-typescript": "^7.16.0",
|
|
105
|
+
"@babel/register": "^7.16.0",
|
|
110
106
|
"@istanbuljs/esm-loader-hook": "^0.1.2",
|
|
111
107
|
"@rollup/plugin-babel": "^5.3.0",
|
|
112
|
-
"@rollup/plugin-commonjs": "^
|
|
108
|
+
"@rollup/plugin-commonjs": "^21.0.1",
|
|
113
109
|
"@rollup/plugin-json": "^4.1.0",
|
|
114
|
-
"@rollup/plugin-node-resolve": "^13.0.
|
|
110
|
+
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
115
111
|
"@rollup/plugin-strip": "^2.1.0",
|
|
116
|
-
"@rollup/plugin-typescript": "^8.
|
|
112
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
117
113
|
"@types/lodash.isplainobject": "^4.0.6",
|
|
118
|
-
"@types/node": "^16.9
|
|
114
|
+
"@types/node": "^16.11.9",
|
|
119
115
|
"@types/tap": "^15.0.5",
|
|
120
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
121
|
-
"@typescript-eslint/parser": "^4.
|
|
122
|
-
"core-js": "^3.
|
|
116
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
117
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
118
|
+
"core-js": "^3.19.1",
|
|
123
119
|
"cross-env": "^7.0.3",
|
|
124
|
-
"eslint": "^
|
|
125
|
-
"lect": "^0.18.
|
|
126
|
-
"rollup": "^2.
|
|
120
|
+
"eslint": "^8.3.0",
|
|
121
|
+
"lect": "^0.18.6",
|
|
122
|
+
"rollup": "^2.60.0",
|
|
127
123
|
"rollup-plugin-ascii": "^0.0.3",
|
|
128
124
|
"rollup-plugin-banner": "^0.2.1",
|
|
129
125
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
130
|
-
"rollup-plugin-dts": "^4.0.
|
|
126
|
+
"rollup-plugin-dts": "^4.0.1",
|
|
131
127
|
"rollup-plugin-terser": "^7.0.2",
|
|
132
|
-
"tap": "^15.
|
|
128
|
+
"tap": "^15.1.2",
|
|
133
129
|
"tslib": "^2.3.1",
|
|
134
|
-
"typescript": "^4.
|
|
130
|
+
"typescript": "^4.5.2"
|
|
135
131
|
},
|
|
136
132
|
"engines": {
|
|
137
|
-
"node": ">=
|
|
133
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
138
134
|
}
|
|
139
135
|
}
|