cdk-common 2.0.752 → 2.0.754

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.
Files changed (41) hide show
  1. package/.jsii +3 -3
  2. package/lib/main.js +1 -1
  3. package/node_modules/call-bind/CHANGELOG.md +7 -0
  4. package/node_modules/call-bind/index.js +1 -10
  5. package/node_modules/call-bind/package.json +4 -3
  6. package/node_modules/define-data-property/CHANGELOG.md +18 -0
  7. package/node_modules/define-data-property/index.d.ts +12 -3
  8. package/node_modules/define-data-property/index.js +2 -14
  9. package/node_modules/define-data-property/package.json +13 -21
  10. package/node_modules/define-data-property/test/index.js +3 -3
  11. package/node_modules/diff/CONTRIBUTING.md +7 -10
  12. package/node_modules/diff/LICENSE +21 -23
  13. package/node_modules/diff/README.md +173 -45
  14. package/node_modules/diff/dist/diff.js +200 -97
  15. package/node_modules/diff/dist/diff.min.js +1 -38
  16. package/node_modules/diff/lib/diff/base.js +111 -60
  17. package/node_modules/diff/lib/diff/line.js +6 -1
  18. package/node_modules/diff/lib/index.es6.js +199 -61
  19. package/node_modules/diff/lib/index.js +19 -1
  20. package/node_modules/diff/lib/index.mjs +199 -61
  21. package/node_modules/diff/lib/patch/apply.js +2 -2
  22. package/node_modules/diff/lib/patch/create.js +5 -1
  23. package/node_modules/diff/lib/patch/reverse.js +63 -0
  24. package/node_modules/diff/package.json +8 -6
  25. package/node_modules/diff/release-notes.md +11 -3
  26. package/node_modules/es-define-property/.eslintrc +13 -0
  27. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  28. package/node_modules/es-define-property/.nycrc +9 -0
  29. package/node_modules/es-define-property/CHANGELOG.md +15 -0
  30. package/node_modules/es-define-property/LICENSE +21 -0
  31. package/node_modules/es-define-property/README.md +49 -0
  32. package/node_modules/es-define-property/index.d.ts +3 -0
  33. package/node_modules/es-define-property/index.js +16 -0
  34. package/node_modules/es-define-property/package.json +81 -0
  35. package/node_modules/es-define-property/test/index.js +55 -0
  36. package/node_modules/es-define-property/tsconfig.json +50 -0
  37. package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
  38. package/node_modules/has-property-descriptors/index.js +3 -14
  39. package/node_modules/has-property-descriptors/package.json +5 -5
  40. package/package.json +2 -2
  41. package/node_modules/define-data-property/index.d.ts.map +0 -1
package/.jsii CHANGED
@@ -3667,7 +3667,7 @@
3667
3667
  "stability": "experimental"
3668
3668
  },
3669
3669
  "homepage": "https://github.com/neilkuan/cdk-common.git",
3670
- "jsiiVersion": "5.3.15 (build 463ed1e)",
3670
+ "jsiiVersion": "5.3.18 (build 4f1b2de)",
3671
3671
  "keywords": [
3672
3672
  "aws",
3673
3673
  "aws-cdk",
@@ -10848,6 +10848,6 @@
10848
10848
  "symbolId": "src/main:LambdaArmFunctionProps"
10849
10849
  }
10850
10850
  },
10851
- "version": "2.0.752",
10852
- "fingerprint": "Wz/qsCiKxhusoHrbQTJq1WmSGKQeCbiYWRhanYLFGy0="
10851
+ "version": "2.0.754",
10852
+ "fingerprint": "6S9wuNkY5i3jZZzB7pG2R2qbNyAKcW9JZp5cdTXKcNU="
10853
10853
  }
package/lib/main.js CHANGED
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
41
41
  }
42
42
  exports.LambdaArmFunction = LambdaArmFunction;
43
43
  _a = JSII_RTTI_SYMBOL_1;
44
- LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.752" };
44
+ LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.754" };
45
45
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxp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vcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12
9
+
10
+ ### Commits
11
+
12
+ - [Refactor] use `es-define-property` [`09b76a0`](https://github.com/ljharb/call-bind/commit/09b76a01634440461d44a80c9924ec4b500f3b03)
13
+ - [Deps] update `get-intrinsic`, `set-function-length` [`ad5136d`](https://github.com/ljharb/call-bind/commit/ad5136ddda2a45c590959829ad3dce0c9f4e3590)
14
+
8
15
  ## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05
9
16
 
10
17
  ### Commits
@@ -9,18 +9,9 @@ var $apply = GetIntrinsic('%Function.prototype.apply%');
9
9
  var $call = GetIntrinsic('%Function.prototype.call%');
10
10
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
11
11
 
12
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
12
+ var $defineProperty = require('es-define-property');
13
13
  var $max = GetIntrinsic('%Math.max%');
14
14
 
15
- if ($defineProperty) {
16
- try {
17
- $defineProperty({}, 'a', { value: 1 });
18
- } catch (e) {
19
- // IE 8 has a broken defineProperty
20
- $defineProperty = null;
21
- }
22
- }
23
-
24
15
  module.exports = function callBind(originalFunction) {
25
16
  if (typeof originalFunction !== 'function') {
26
17
  throw new $TypeError('a function is required');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "call-bind",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Robustly `.call.bind()` a function",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -67,10 +67,11 @@
67
67
  "tape": "^5.7.4"
68
68
  },
69
69
  "dependencies": {
70
+ "es-define-property": "^1.0.0",
70
71
  "es-errors": "^1.3.0",
71
72
  "function-bind": "^1.1.2",
72
- "get-intrinsic": "^1.2.3",
73
- "set-function-length": "^1.2.0"
73
+ "get-intrinsic": "^1.2.4",
74
+ "set-function-length": "^1.2.1"
74
75
  },
75
76
  "testling": {
76
77
  "files": "test/index.js"
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.1.4](https://github.com/ljharb/define-data-property/compare/v1.1.3...v1.1.4) - 2024-02-13
9
+
10
+ ### Commits
11
+
12
+ - [Refactor] use `es-define-property` [`90f2f4c`](https://github.com/ljharb/define-data-property/commit/90f2f4cc20298401e71c28e1e08888db12021453)
13
+ - [Dev Deps] update `@types/object.getownpropertydescriptors` [`cd929d9`](https://github.com/ljharb/define-data-property/commit/cd929d9a04f5f2fdcfa9d5be140940b91a083153)
14
+
15
+ ## [v1.1.3](https://github.com/ljharb/define-data-property/compare/v1.1.2...v1.1.3) - 2024-02-12
16
+
17
+ ### Commits
18
+
19
+ - [types] hand-write d.ts instead of emitting it [`0cbc988`](https://github.com/ljharb/define-data-property/commit/0cbc988203c105f2d97948327c7167ebd33bd318)
20
+ - [meta] simplify `exports` [`690781e`](https://github.com/ljharb/define-data-property/commit/690781eed28bbf2d6766237efda0ba6dd591609e)
21
+ - [Dev Deps] update `hasown`; clean up DT packages [`6cdfd1c`](https://github.com/ljharb/define-data-property/commit/6cdfd1cb2d91d791bfd18cda5d5cab232fd5d8fc)
22
+ - [actions] cleanup [`3142bc6`](https://github.com/ljharb/define-data-property/commit/3142bc6a4bc406a51f5b04f31e98562a27f35ffd)
23
+ - [meta] add `funding` [`8474423`](https://github.com/ljharb/define-data-property/commit/847442391a79779af3e0f1bf0b5bb923552b7804)
24
+ - [Deps] update `get-intrinsic` [`3e9be00`](https://github.com/ljharb/define-data-property/commit/3e9be00e07784ba34e7c77d8bc0fdbc832ad61de)
25
+
8
26
  ## [v1.1.2](https://github.com/ljharb/define-data-property/compare/v1.1.1...v1.1.2) - 2024-02-05
9
27
 
10
28
  ### Commits
@@ -1,3 +1,12 @@
1
- declare const _exports: (obj: Record<PropertyKey, unknown>, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void;
2
- export = _exports;
3
- //# sourceMappingURL=index.d.ts.map
1
+
2
+ declare function defineDataProperty(
3
+ obj: Record<PropertyKey, unknown>,
4
+ property: keyof typeof obj,
5
+ value: typeof obj[typeof property],
6
+ nonEnumerable?: boolean | null,
7
+ nonWritable?: boolean | null,
8
+ nonConfigurable?: boolean | null,
9
+ loose?: boolean
10
+ ): void;
11
+
12
+ export = defineDataProperty;
@@ -1,25 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var hasPropertyDescriptors = require('has-property-descriptors')();
4
-
5
- var GetIntrinsic = require('get-intrinsic');
6
-
7
- var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
8
- if ($defineProperty) {
9
- try {
10
- $defineProperty({}, 'a', { value: 1 });
11
- } catch (e) {
12
- // IE 8 has a broken defineProperty
13
- $defineProperty = false;
14
- }
15
- }
3
+ var $defineProperty = require('es-define-property');
16
4
 
17
5
  var $SyntaxError = require('es-errors/syntax');
18
6
  var $TypeError = require('es-errors/type');
19
7
 
20
8
  var gopd = require('gopd');
21
9
 
22
- /** @type {(obj: Record<PropertyKey, unknown>, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */
10
+ /** @type {import('.')} */
23
11
  module.exports = function defineDataProperty(
24
12
  obj,
25
13
  property,
@@ -1,28 +1,19 @@
1
1
  {
2
2
  "name": "define-data-property",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
5
5
  "main": "index.js",
6
+ "types": "./index.d.ts",
6
7
  "exports": {
7
- ".": [
8
- {
9
- "types": "./index.d.ts",
10
- "default": "./index.js"
11
- },
12
- "./index.js"
13
- ],
8
+ ".": "./index.js",
14
9
  "./package.json": "./package.json"
15
10
  },
16
11
  "sideEffects": false,
17
- "types": "./index.d.ts",
18
12
  "scripts": {
19
- "prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types",
13
+ "prepack": "npmignore --auto --commentLines=autogenerated",
20
14
  "prepublish": "not-in-publish || npm run prepublishOnly",
21
15
  "prepublishOnly": "safe-publish-latest",
22
16
  "tsc": "tsc -p .",
23
- "preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
24
- "emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly",
25
- "postemit-types": "rm test/*.ts test/*.ts.map",
26
17
  "prelint": "evalmd README.md",
27
18
  "lint": "eslint --ext=js,mjs .",
28
19
  "postlint": "npm run tsc",
@@ -50,27 +41,30 @@
50
41
  "writable"
51
42
  ],
52
43
  "author": "Jordan Harband <ljharb@gmail.com>",
44
+ "funding": {
45
+ "url": "https://github.com/sponsors/ljharb"
46
+ },
53
47
  "license": "MIT",
54
48
  "bugs": {
55
49
  "url": "https://github.com/ljharb/define-data-property/issues"
56
50
  },
57
51
  "homepage": "https://github.com/ljharb/define-data-property#readme",
58
52
  "dependencies": {
53
+ "es-define-property": "^1.0.0",
59
54
  "es-errors": "^1.3.0",
60
- "get-intrinsic": "^1.2.2",
61
- "gopd": "^1.0.1",
62
- "has-property-descriptors": "^1.0.1"
55
+ "gopd": "^1.0.1"
63
56
  },
64
57
  "devDependencies": {
65
58
  "@ljharb/eslint-config": "^21.1.0",
59
+ "@types/call-bind": "^1.0.5",
60
+ "@types/define-properties": "^1.1.5",
66
61
  "@types/es-value-fixtures": "^1.4.4",
67
62
  "@types/for-each": "^0.3.3",
68
63
  "@types/get-intrinsic": "^1.2.2",
69
64
  "@types/gopd": "^1.0.3",
70
- "@types/has": "^1.0.1",
71
65
  "@types/has-property-descriptors": "^1.0.3",
72
66
  "@types/object-inspect": "^1.8.4",
73
- "@types/object.getownpropertydescriptors": "^2.1.3",
67
+ "@types/object.getownpropertydescriptors": "^2.1.4",
74
68
  "@types/tape": "^5.6.4",
75
69
  "aud": "^2.0.4",
76
70
  "auto-changelog": "^2.4.0",
@@ -78,7 +72,7 @@
78
72
  "eslint": "=8.8.0",
79
73
  "evalmd": "^0.0.19",
80
74
  "for-each": "^0.3.3",
81
- "hasown": "^2.0.0",
75
+ "hasown": "^2.0.1",
82
76
  "in-publish": "^2.0.1",
83
77
  "npmignore": "^0.3.1",
84
78
  "nyc": "^10.3.2",
@@ -106,8 +100,6 @@
106
100
  "publishConfig": {
107
101
  "ignore": [
108
102
  ".github/workflows",
109
- "!*.ts",
110
- "!*.ts.map",
111
103
  "types/reflect.ownkeys"
112
104
  ]
113
105
  }
@@ -34,21 +34,21 @@ test('defineDataProperty', function (t) {
34
34
  forEach(v.nonBooleans, function (nonBoolean) {
35
35
  if (nonBoolean !== null) {
36
36
  st['throws'](
37
- // @ts-expect-error
37
+ // @ts-expect-error
38
38
  function () { defineDataProperty({}, 'key', 'value', nonBoolean); },
39
39
  TypeError,
40
40
  'throws on non-boolean nonEnumerable: ' + inspect(nonBoolean)
41
41
  );
42
42
 
43
43
  st['throws'](
44
- // @ts-expect-error
44
+ // @ts-expect-error
45
45
  function () { defineDataProperty({}, 'key', 'value', false, nonBoolean); },
46
46
  TypeError,
47
47
  'throws on non-boolean nonWritable: ' + inspect(nonBoolean)
48
48
  );
49
49
 
50
50
  st['throws'](
51
- // @ts-expect-error
51
+ // @ts-expect-error
52
52
  function () { defineDataProperty({}, 'key', 'value', false, false, nonBoolean); },
53
53
  TypeError,
54
54
  'throws on non-boolean nonConfigurable: ' + inspect(nonBoolean)
@@ -15,25 +15,22 @@ Generally we like to see pull requests that
15
15
  ## Building
16
16
 
17
17
  ```
18
- npm install
19
- npm test
18
+ yarn
19
+ yarn test
20
20
  ```
21
21
 
22
- The `npm test -- dev` implements watching for tests within Node and `karma start` may be used for manual testing in browsers.
22
+ Running `yarn test -- dev` will watch for tests within Node and `karma start` may be used for manual testing in browsers.
23
23
 
24
24
  If you notice any problems, please report them to the GitHub issue tracker at
25
25
  [http://github.com/kpdecker/jsdiff/issues](http://github.com/kpdecker/jsdiff/issues).
26
26
 
27
27
  ## Releasing
28
28
 
29
- JsDiff utilizes the [release yeoman generator][generator-release] to perform most release tasks.
30
-
31
29
  A full release may be completed with the following:
32
30
 
33
31
  ```
34
- yo release
35
- npm publish
32
+ yarn clean
33
+ yarn grunt
34
+ yarn grunt uglify
35
+ yarn publish
36
36
  ```
37
-
38
- [generator-release]: https://github.com/walmartlabs/generator-release
39
- [pull-request]: https://github.com/kpdecker/jsdiff/pull/new/master
@@ -1,31 +1,29 @@
1
- Software License Agreement (BSD License)
1
+ BSD 3-Clause License
2
2
 
3
3
  Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
4
-
5
4
  All rights reserved.
6
5
 
7
- Redistribution and use of this software in source and binary forms, with or without modification,
8
- are permitted provided that the following conditions are met:
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
9
8
 
10
- * Redistributions of source code must retain the above
11
- copyright notice, this list of conditions and the
12
- following disclaimer.
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
13
11
 
14
- * Redistributions in binary form must reproduce the above
15
- copyright notice, this list of conditions and the
16
- following disclaimer in the documentation and/or other
17
- materials provided with the distribution.
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
18
15
 
19
- * Neither the name of Kevin Decker nor the names of its
20
- contributors may be used to endorse or promote products
21
- derived from this software without specific prior
22
- written permission.
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
23
19
 
24
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
25
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
26
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
27
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
30
- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.