cdk8s 2.3.10 → 2.3.13
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/.jsii +3 -3
- package/changelog.md +1 -1
- package/lib/api-object.js +1 -1
- package/lib/app.js +1 -1
- package/lib/chart.js +1 -1
- package/lib/dependency.js +2 -2
- package/lib/duration.js +1 -1
- package/lib/helm.js +1 -1
- package/lib/include.js +1 -1
- package/lib/json-patch.js +4 -4
- package/lib/lazy.js +1 -1
- package/lib/metadata.js +1 -1
- package/lib/names.js +1 -1
- package/lib/size.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/yaml.js +1 -1
- package/node_modules/fast-json-patch/LICENSE.txt +1 -1
- package/node_modules/fast-json-patch/README.md +183 -164
- package/node_modules/fast-json-patch/{lib → commonjs}/core.d.ts +4 -23
- package/node_modules/fast-json-patch/{lib → commonjs}/core.js +78 -33
- package/node_modules/fast-json-patch/commonjs/duplex.d.ts +23 -0
- package/node_modules/fast-json-patch/{lib → commonjs}/duplex.js +16 -56
- package/node_modules/fast-json-patch/{lib → commonjs}/helpers.d.ts +2 -2
- package/node_modules/fast-json-patch/{lib → commonjs}/helpers.js +9 -9
- package/node_modules/fast-json-patch/dist/fast-json-patch.js +121 -161
- package/node_modules/fast-json-patch/dist/fast-json-patch.min.js +6 -6
- package/node_modules/fast-json-patch/index.d.ts +34 -0
- package/node_modules/fast-json-patch/index.js +11 -0
- package/node_modules/fast-json-patch/index.mjs +29 -0
- package/node_modules/fast-json-patch/index.ts +31 -0
- package/node_modules/fast-json-patch/jasmine-run.mjs +23 -0
- package/node_modules/fast-json-patch/module/core.d.ts +111 -0
- package/node_modules/fast-json-patch/module/core.mjs +433 -0
- package/node_modules/fast-json-patch/module/duplex.d.ts +23 -0
- package/node_modules/fast-json-patch/module/duplex.mjs +176 -0
- package/node_modules/fast-json-patch/module/helpers.d.ts +41 -0
- package/node_modules/fast-json-patch/module/helpers.mjs +171 -0
- package/node_modules/fast-json-patch/package.json +63 -67
- package/node_modules/fast-json-patch/tsc-to-mjs.sh +10 -0
- package/node_modules/fast-json-patch/webpack.config.js +2 -3
- package/package.json +3 -3
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/node_modules/fast-json-patch/lib/duplex.d.ts +0 -63
- package/node_modules/fast-json-patch/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-json-patch/node_modules/fast-deep-equal/README.md +0 -58
- package/node_modules/fast-json-patch/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-json-patch/node_modules/fast-deep-equal/index.js +0 -55
- package/node_modules/fast-json-patch/node_modules/fast-deep-equal/package.json +0 -59
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Evgeny Poberezkin
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# fast-deep-equal
|
|
2
|
-
The fastest deep equal
|
|
3
|
-
|
|
4
|
-
[](https://travis-ci.org/epoberezkin/fast-deep-equal)
|
|
5
|
-
[](http://badge.fury.io/js/fast-deep-equal)
|
|
6
|
-
[](https://coveralls.io/github/epoberezkin/fast-deep-equal?branch=master)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install fast-deep-equal
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Features
|
|
17
|
-
|
|
18
|
-
- ES5 compatible
|
|
19
|
-
- works in node.js (0.10+) and browsers (IE9+)
|
|
20
|
-
- checks equality of Date and RegExp objects by value.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Usage
|
|
24
|
-
|
|
25
|
-
```javascript
|
|
26
|
-
var equal = require('fast-deep-equal');
|
|
27
|
-
console.log(equal({foo: 'bar'}, {foo: 'bar'})); // true
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
## Performance benchmark
|
|
32
|
-
|
|
33
|
-
Node.js v9.11.1:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
fast-deep-equal x 226,960 ops/sec ±1.55% (86 runs sampled)
|
|
37
|
-
nano-equal x 218,210 ops/sec ±0.79% (89 runs sampled)
|
|
38
|
-
shallow-equal-fuzzy x 206,762 ops/sec ±0.84% (88 runs sampled)
|
|
39
|
-
underscore.isEqual x 128,668 ops/sec ±0.75% (91 runs sampled)
|
|
40
|
-
lodash.isEqual x 44,895 ops/sec ±0.67% (85 runs sampled)
|
|
41
|
-
deep-equal x 51,616 ops/sec ±0.96% (90 runs sampled)
|
|
42
|
-
deep-eql x 28,218 ops/sec ±0.42% (85 runs sampled)
|
|
43
|
-
assert.deepStrictEqual x 1,777 ops/sec ±1.05% (86 runs sampled)
|
|
44
|
-
ramda.equals x 13,466 ops/sec ±0.82% (86 runs sampled)
|
|
45
|
-
The fastest is fast-deep-equal
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
To run benchmark (requires node.js 6+):
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npm install
|
|
52
|
-
node benchmark
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## License
|
|
57
|
-
|
|
58
|
-
[MIT](https://github.com/epoberezkin/fast-deep-equal/blob/master/LICENSE)
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isArray = Array.isArray;
|
|
4
|
-
var keyList = Object.keys;
|
|
5
|
-
var hasProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
|
|
7
|
-
module.exports = function equal(a, b) {
|
|
8
|
-
if (a === b) return true;
|
|
9
|
-
|
|
10
|
-
if (a && b && typeof a == 'object' && typeof b == 'object') {
|
|
11
|
-
var arrA = isArray(a)
|
|
12
|
-
, arrB = isArray(b)
|
|
13
|
-
, i
|
|
14
|
-
, length
|
|
15
|
-
, key;
|
|
16
|
-
|
|
17
|
-
if (arrA && arrB) {
|
|
18
|
-
length = a.length;
|
|
19
|
-
if (length != b.length) return false;
|
|
20
|
-
for (i = length; i-- !== 0;)
|
|
21
|
-
if (!equal(a[i], b[i])) return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (arrA != arrB) return false;
|
|
26
|
-
|
|
27
|
-
var dateA = a instanceof Date
|
|
28
|
-
, dateB = b instanceof Date;
|
|
29
|
-
if (dateA != dateB) return false;
|
|
30
|
-
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
31
|
-
|
|
32
|
-
var regexpA = a instanceof RegExp
|
|
33
|
-
, regexpB = b instanceof RegExp;
|
|
34
|
-
if (regexpA != regexpB) return false;
|
|
35
|
-
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
36
|
-
|
|
37
|
-
var keys = keyList(a);
|
|
38
|
-
length = keys.length;
|
|
39
|
-
|
|
40
|
-
if (length !== keyList(b).length)
|
|
41
|
-
return false;
|
|
42
|
-
|
|
43
|
-
for (i = length; i-- !== 0;)
|
|
44
|
-
if (!hasProp.call(b, keys[i])) return false;
|
|
45
|
-
|
|
46
|
-
for (i = length; i-- !== 0;) {
|
|
47
|
-
key = keys[i];
|
|
48
|
-
if (!equal(a[key], b[key])) return false;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return a!==a && b!==b;
|
|
55
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fast-deep-equal",
|
|
3
|
-
"version": "2.0.1",
|
|
4
|
-
"description": "Fast deep equal",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"eslint": "eslint *.js benchmark spec",
|
|
8
|
-
"test-spec": "mocha spec/*.spec.js -R spec",
|
|
9
|
-
"test-cov": "nyc npm run test-spec",
|
|
10
|
-
"test-ts": "tsc --target ES5 --noImplicitAny index.d.ts",
|
|
11
|
-
"test": "npm run eslint && npm run test-ts && npm run test-cov"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/epoberezkin/fast-deep-equal.git"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"fast",
|
|
19
|
-
"equal",
|
|
20
|
-
"deep-equal"
|
|
21
|
-
],
|
|
22
|
-
"author": "Evgeny Poberezkin",
|
|
23
|
-
"license": "MIT",
|
|
24
|
-
"bugs": {
|
|
25
|
-
"url": "https://github.com/epoberezkin/fast-deep-equal/issues"
|
|
26
|
-
},
|
|
27
|
-
"homepage": "https://github.com/epoberezkin/fast-deep-equal#readme",
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"benchmark": "^2.1.4",
|
|
30
|
-
"coveralls": "^2.13.1",
|
|
31
|
-
"deep-eql": "latest",
|
|
32
|
-
"deep-equal": "latest",
|
|
33
|
-
"eslint": "^4.0.0",
|
|
34
|
-
"lodash": "latest",
|
|
35
|
-
"mocha": "^3.4.2",
|
|
36
|
-
"nano-equal": "latest",
|
|
37
|
-
"nyc": "^11.0.2",
|
|
38
|
-
"pre-commit": "^1.2.2",
|
|
39
|
-
"ramda": "latest",
|
|
40
|
-
"shallow-equal-fuzzy": "latest",
|
|
41
|
-
"typescript": "^2.6.1",
|
|
42
|
-
"underscore": "latest"
|
|
43
|
-
},
|
|
44
|
-
"nyc": {
|
|
45
|
-
"exclude": [
|
|
46
|
-
"**/spec/**",
|
|
47
|
-
"node_modules"
|
|
48
|
-
],
|
|
49
|
-
"reporter": [
|
|
50
|
-
"lcov",
|
|
51
|
-
"text-summary"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"files": [
|
|
55
|
-
"index.js",
|
|
56
|
-
"index.d.ts"
|
|
57
|
-
],
|
|
58
|
-
"types": "index.d.ts"
|
|
59
|
-
}
|