cdk-common 2.0.1045 → 2.0.1047

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 (57) hide show
  1. package/.jsii +2 -2
  2. package/lib/main.js +1 -1
  3. package/node_modules/call-bound/CHANGELOG.md +9 -0
  4. package/node_modules/call-bound/README.md +1 -1
  5. package/node_modules/call-bound/index.d.ts +9 -1
  6. package/node_modules/call-bound/index.js +5 -5
  7. package/node_modules/call-bound/package.json +4 -3
  8. package/node_modules/dunder-proto/CHANGELOG.md +9 -0
  9. package/node_modules/dunder-proto/get.js +10 -3
  10. package/node_modules/dunder-proto/package.json +4 -4
  11. package/node_modules/dunder-proto/set.js +7 -1
  12. package/node_modules/dunder-proto/test/set.js +10 -1
  13. package/package.json +4 -4
  14. package/node_modules/call-bind/.eslintignore +0 -1
  15. package/node_modules/call-bind/.eslintrc +0 -16
  16. package/node_modules/call-bind/.github/FUNDING.yml +0 -12
  17. package/node_modules/call-bind/.nycrc +0 -9
  18. package/node_modules/call-bind/CHANGELOG.md +0 -106
  19. package/node_modules/call-bind/LICENSE +0 -21
  20. package/node_modules/call-bind/README.md +0 -64
  21. package/node_modules/call-bind/callBound.js +0 -15
  22. package/node_modules/call-bind/index.js +0 -24
  23. package/node_modules/call-bind/package.json +0 -93
  24. package/node_modules/call-bind/test/callBound.js +0 -54
  25. package/node_modules/call-bind/test/index.js +0 -74
  26. package/node_modules/define-data-property/.eslintrc +0 -24
  27. package/node_modules/define-data-property/.github/FUNDING.yml +0 -12
  28. package/node_modules/define-data-property/.nycrc +0 -13
  29. package/node_modules/define-data-property/CHANGELOG.md +0 -70
  30. package/node_modules/define-data-property/LICENSE +0 -21
  31. package/node_modules/define-data-property/README.md +0 -67
  32. package/node_modules/define-data-property/index.d.ts +0 -12
  33. package/node_modules/define-data-property/index.js +0 -56
  34. package/node_modules/define-data-property/package.json +0 -106
  35. package/node_modules/define-data-property/test/index.js +0 -392
  36. package/node_modules/define-data-property/tsconfig.json +0 -59
  37. package/node_modules/has-property-descriptors/.eslintrc +0 -13
  38. package/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
  39. package/node_modules/has-property-descriptors/.nycrc +0 -9
  40. package/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
  41. package/node_modules/has-property-descriptors/LICENSE +0 -21
  42. package/node_modules/has-property-descriptors/README.md +0 -43
  43. package/node_modules/has-property-descriptors/index.js +0 -22
  44. package/node_modules/has-property-descriptors/package.json +0 -77
  45. package/node_modules/has-property-descriptors/test/index.js +0 -57
  46. package/node_modules/set-function-length/.eslintrc +0 -27
  47. package/node_modules/set-function-length/.github/FUNDING.yml +0 -12
  48. package/node_modules/set-function-length/.nycrc +0 -13
  49. package/node_modules/set-function-length/CHANGELOG.md +0 -70
  50. package/node_modules/set-function-length/LICENSE +0 -21
  51. package/node_modules/set-function-length/README.md +0 -56
  52. package/node_modules/set-function-length/env.d.ts +0 -9
  53. package/node_modules/set-function-length/env.js +0 -25
  54. package/node_modules/set-function-length/index.d.ts +0 -7
  55. package/node_modules/set-function-length/index.js +0 -42
  56. package/node_modules/set-function-length/package.json +0 -102
  57. package/node_modules/set-function-length/tsconfig.json +0 -9
package/.jsii CHANGED
@@ -11688,6 +11688,6 @@
11688
11688
  "symbolId": "src/main:LambdaArmFunctionProps"
11689
11689
  }
11690
11690
  },
11691
- "version": "2.0.1045",
11692
- "fingerprint": "/3HkRXp2/4pLiA2pHyqU7OtmEripMxf8vU3ivi168RE="
11691
+ "version": "2.0.1047",
11692
+ "fingerprint": "BGpo8GgyvbpbuJWsDb06TmFho8Kli3Yfc1ppq9BdcpU="
11693
11693
  }
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.1045" };
44
+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ykuYWRkV2FybmluZygnWW91IGFyZSB1c2luZyBET1RORVQgQ09SRSAzLjEgYXQgQVJNJyk7XG4gICAgfSBlbHNlIGlmIChwcm9wcy5ydW50aW1lID09PSBsYW1iZGEuUnVudGltZS5SVUJZXzJfNykge1xuICAgICAgY2RrLkFubm90YXRpb25zLm9mKHRoaXMpLmFkZFdhcm5pbmcoJ1lvdSBhcmUgdXNpbmcgUlVCWSAyLjcgYXQgQVJNJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
@@ -5,6 +5,15 @@ 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.3](https://github.com/ljharb/call-bound/compare/v1.0.2...v1.0.3) - 2024-12-15
9
+
10
+ ### Commits
11
+
12
+ - [Refactor] use `call-bind-apply-helpers` instead of `call-bind` [`5e0b134`](https://github.com/ljharb/call-bound/commit/5e0b13496df14fb7d05dae9412f088da8d3f75be)
13
+ - [Deps] update `get-intrinsic` [`41fc967`](https://github.com/ljharb/call-bound/commit/41fc96732a22c7b7e8f381f93ccc54bb6293be2e)
14
+ - [readme] fix example [`79a0137`](https://github.com/ljharb/call-bound/commit/79a0137723f7c6d09c9c05452bbf8d5efb5d6e49)
15
+ - [meta] add `sideEffects` flag [`08b07be`](https://github.com/ljharb/call-bound/commit/08b07be7f1c03f67dc6f3cdaf0906259771859f7)
16
+
8
17
  ## [v1.0.2](https://github.com/ljharb/call-bound/compare/v1.0.1...v1.0.2) - 2024-12-10
9
18
 
10
19
  ### Commits
@@ -21,7 +21,7 @@ npm install --save call-bound
21
21
 
22
22
  ```js
23
23
  const assert = require('assert');
24
- const callBound = require('call-bind/callBound');
24
+ const callBound = require('call-bound');
25
25
 
26
26
  const slice = callBound('Array.prototype.slice');
27
27
 
@@ -1,5 +1,13 @@
1
1
  import callBind from 'call-bind-apply-helpers';
2
2
 
3
- declare function callBoundIntrinsic(name: string, allowMissing?: boolean): ReturnType<typeof callBind>;
3
+ declare function callBoundIntrinsic(
4
+ name: string,
5
+ allowMissing?: false
6
+ ): ReturnType<typeof callBind>;
7
+
8
+ declare function callBoundIntrinsic(
9
+ name: string,
10
+ allowMissing: true
11
+ ): undefined | ReturnType<typeof callBind>;
4
12
 
5
13
  export = callBoundIntrinsic;
@@ -2,17 +2,17 @@
2
2
 
3
3
  var GetIntrinsic = require('get-intrinsic');
4
4
 
5
- var callBind = require('call-bind');
5
+ var callBindBasic = require('call-bind-apply-helpers');
6
6
 
7
- // eslint-disable-next-line no-extra-parens
8
- var $indexOf = callBind(/** @type {typeof String.prototype.indexOf} */ (GetIntrinsic('String.prototype.indexOf')));
7
+ /** @type {(thisArg: string, searchString: string, position?: number) => number} */
8
+ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
9
9
 
10
10
  /** @type {import('.')} */
11
11
  module.exports = function callBoundIntrinsic(name, allowMissing) {
12
12
  // eslint-disable-next-line no-extra-parens
13
- var intrinsic = /** @type {Parameters<typeof callBind>[0]} */ (GetIntrinsic(name, !!allowMissing));
13
+ var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));
14
14
  if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
15
- return callBind(intrinsic);
15
+ return callBindBasic([intrinsic]);
16
16
  }
17
17
  return intrinsic;
18
18
  };
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "call-bound",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",
8
8
  "./package.json": "./package.json"
9
9
  },
10
+ "sideEffects": false,
10
11
  "scripts": {
11
12
  "prepack": "npmignore --auto --commentLines=auto",
12
13
  "prepublish": "not-in-publish || npm run prepublishOnly",
@@ -50,8 +51,8 @@
50
51
  },
51
52
  "homepage": "https://github.com/ljharb/call-bound#readme",
52
53
  "dependencies": {
53
- "call-bind": "^1.0.8",
54
- "get-intrinsic": "^1.2.5"
54
+ "call-bind-apply-helpers": "^1.0.1",
55
+ "get-intrinsic": "^1.2.6"
55
56
  },
56
57
  "devDependencies": {
57
58
  "@arethetypeswrong/cli": "^0.17.1",
@@ -5,6 +5,15 @@ 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.1](https://github.com/es-shims/dunder-proto/compare/v1.0.0...v1.0.1) - 2024-12-16
9
+
10
+ ### Commits
11
+
12
+ - [Fix] do not crash when `--disable-proto=throw` [`6c367d9`](https://github.com/es-shims/dunder-proto/commit/6c367d919bc1604778689a297bbdbfea65752847)
13
+ - [Tests] ensure noproto tests only use the current version of dunder-proto [`b02365b`](https://github.com/es-shims/dunder-proto/commit/b02365b9cf889c4a2cac7be0c3cfc90a789af36c)
14
+ - [Dev Deps] update `@arethetypeswrong/cli`, `@types/tape` [`e3c5c3b`](https://github.com/es-shims/dunder-proto/commit/e3c5c3bd81cf8cef7dff2eca19e558f0e307f666)
15
+ - [Deps] update `call-bind-apply-helpers` [`19f1da0`](https://github.com/es-shims/dunder-proto/commit/19f1da028b8dd0d05c85bfd8f7eed2819b686450)
16
+
8
17
  ## v1.0.0 - 2024-12-06
9
18
 
10
19
  ### Commits
@@ -3,11 +3,18 @@
3
3
  var callBind = require('call-bind-apply-helpers');
4
4
  var gOPD = require('gopd');
5
5
 
6
- // eslint-disable-next-line no-extra-parens, no-proto
7
- var hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
6
+ var hasProtoAccessor;
7
+ try {
8
+ // eslint-disable-next-line no-extra-parens, no-proto
9
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
10
+ } catch (e) {
11
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
12
+ throw e;
13
+ }
14
+ }
8
15
 
9
16
  // eslint-disable-next-line no-extra-parens
10
- var desc = hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
17
+ var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
11
18
 
12
19
  var $Object = Object;
13
20
  var $getPrototypeOf = $Object.getPrototypeOf;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dunder-proto",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "If available, the `Object.prototype.__proto__` accessor and mutator, call-bound",
5
5
  "main": false,
6
6
  "exports": {
@@ -34,15 +34,15 @@
34
34
  },
35
35
  "homepage": "https://github.com/es-shims/dunder-proto#readme",
36
36
  "dependencies": {
37
- "call-bind-apply-helpers": "^1.0.0",
37
+ "call-bind-apply-helpers": "^1.0.1",
38
38
  "es-errors": "^1.3.0",
39
39
  "gopd": "^1.2.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@arethetypeswrong/cli": "^0.17.0",
42
+ "@arethetypeswrong/cli": "^0.17.1",
43
43
  "@ljharb/eslint-config": "^21.1.1",
44
44
  "@ljharb/tsconfig": "^0.2.2",
45
- "@types/tape": "^5.6.5",
45
+ "@types/tape": "^5.7.0",
46
46
  "auto-changelog": "^2.5.0",
47
47
  "encoding": "^0.1.13",
48
48
  "eslint": "=8.8.0",
@@ -6,7 +6,13 @@ var $TypeError = require('es-errors/type');
6
6
 
7
7
  /** @type {{ __proto__?: object | null }} */
8
8
  var obj = {};
9
- obj.__proto__ = null; // eslint-disable-line no-proto
9
+ try {
10
+ obj.__proto__ = null; // eslint-disable-line no-proto
11
+ } catch (e) {
12
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
13
+ throw e;
14
+ }
15
+ }
10
16
 
11
17
  var hasProtoMutator = !('toString' in obj);
12
18
 
@@ -35,7 +35,16 @@ test('setDunderProto', { skip: !setDunderProto }, function (t) {
35
35
  });
36
36
 
37
37
  test('no dunder proto', { skip: !!setDunderProto }, function (t) {
38
- t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype');
38
+ if ('__proto__' in Object.prototype) {
39
+ t['throws'](
40
+ // @ts-expect-error
41
+ function () { ({}).__proto__ = null; }, // eslint-disable-line no-proto
42
+ Error,
43
+ 'throws when setting Object.prototype.__proto__'
44
+ );
45
+ } else {
46
+ t.notOk('__proto__' in Object.prototype, 'no __proto__ in Object.prototype');
47
+ }
39
48
 
40
49
  t.end();
41
50
  });
package/package.json CHANGED
@@ -51,11 +51,11 @@
51
51
  "jest": "^27",
52
52
  "jest-junit": "^15",
53
53
  "jsii": "5.3.x",
54
- "jsii-diff": "^1.105.0",
54
+ "jsii-diff": "^1.106.0",
55
55
  "jsii-docgen": "^10.5.0",
56
- "jsii-pacmak": "^1.105.0",
56
+ "jsii-pacmak": "^1.106.0",
57
57
  "jsii-rosetta": "5.3.x",
58
- "projen": "0.91.0",
58
+ "projen": "0.91.1",
59
59
  "ts-jest": "^27",
60
60
  "typescript": "^5"
61
61
  },
@@ -88,7 +88,7 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "version": "2.0.1045",
91
+ "version": "2.0.1047",
92
92
  "jest": {
93
93
  "coverageProvider": "v8",
94
94
  "testMatch": [
@@ -1 +0,0 @@
1
- coverage/
@@ -1,16 +0,0 @@
1
- {
2
- "root": true,
3
-
4
- "extends": "@ljharb",
5
-
6
- "rules": {
7
- "func-name-matching": 0,
8
- "id-length": 0,
9
- "new-cap": [2, {
10
- "capIsNewExceptions": [
11
- "GetIntrinsic",
12
- ],
13
- }],
14
- "no-magic-numbers": 0,
15
- },
16
- }
@@ -1,12 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: [ljharb]
4
- patreon: # Replace with a single Patreon username
5
- open_collective: # Replace with a single Open Collective username
6
- ko_fi: # Replace with a single Ko-fi username
7
- tidelift: npm/call-bind
8
- community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- liberapay: # Replace with a single Liberapay username
10
- issuehunt: # Replace with a single IssueHunt username
11
- otechie: # Replace with a single Otechie username
12
- custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -1,9 +0,0 @@
1
- {
2
- "all": true,
3
- "check-coverage": false,
4
- "reporter": ["text-summary", "text", "html", "json"],
5
- "exclude": [
6
- "coverage",
7
- "test"
8
- ]
9
- }
@@ -1,106 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [v1.0.8](https://github.com/ljharb/call-bind/compare/v1.0.7...v1.0.8) - 2024-12-05
9
-
10
- ### Commits
11
-
12
- - [Refactor] extract out some helpers and avoid get-intrinsic usage [`407fd5e`](https://github.com/ljharb/call-bind/commit/407fd5eec34ec58394522a6ce3badfa4788fd5ae)
13
- - [Refactor] replace code with extracted `call-bind-apply-helpers` [`81018fb`](https://github.com/ljharb/call-bind/commit/81018fb78902ff5acbc6c09300780e97f0db6a34)
14
- - [Tests] use `set-function-length/env` [`0fc311d`](https://github.com/ljharb/call-bind/commit/0fc311de0e115cfa6b02969b23a42ad45aadf224)
15
- - [actions] split out node 10-20, and 20+ [`77a0cad`](https://github.com/ljharb/call-bind/commit/77a0cad75f83f5b8050dc13baef4fa2cff537fa3)
16
- - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `es-value-fixtures`, `gopd`, `object-inspect`, `tape` [`a145d10`](https://github.com/ljharb/call-bind/commit/a145d10fe847f350e11094f8541848b028ee8c91)
17
- - [Tests] replace `aud` with `npm audit` [`30ca3dd`](https://github.com/ljharb/call-bind/commit/30ca3dd7234648eb029947477d06b17879e10727)
18
- - [Deps] update `set-function-length` [`57c79a3`](https://github.com/ljharb/call-bind/commit/57c79a3666022ea797cc2a4a3b43fe089bc97d1b)
19
- - [Dev Deps] add missing peer dep [`601cfa5`](https://github.com/ljharb/call-bind/commit/601cfa5540066b6206039ceb9496cecbd134ff7b)
20
-
21
- ## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12
22
-
23
- ### Commits
24
-
25
- - [Refactor] use `es-define-property` [`09b76a0`](https://github.com/ljharb/call-bind/commit/09b76a01634440461d44a80c9924ec4b500f3b03)
26
- - [Deps] update `get-intrinsic`, `set-function-length` [`ad5136d`](https://github.com/ljharb/call-bind/commit/ad5136ddda2a45c590959829ad3dce0c9f4e3590)
27
-
28
- ## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05
29
-
30
- ### Commits
31
-
32
- - [Dev Deps] update `aud`, `npmignore`, `tape` [`d564d5c`](https://github.com/ljharb/call-bind/commit/d564d5ce3e06a19df4d499c77f8d1a9da44e77aa)
33
- - [Deps] update `get-intrinsic`, `set-function-length` [`cfc2bdc`](https://github.com/ljharb/call-bind/commit/cfc2bdca7b633df0e0e689e6b637f668f1c6792e)
34
- - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`64cd289`](https://github.com/ljharb/call-bind/commit/64cd289ae5862c250a4ca80aa8d461047c166af5)
35
- - [meta] add missing `engines.node` [`32a4038`](https://github.com/ljharb/call-bind/commit/32a4038857b62179f7f9b7b3df2c5260036be582)
36
-
37
- ## [v1.0.5](https://github.com/ljharb/call-bind/compare/v1.0.4...v1.0.5) - 2023-10-19
38
-
39
- ### Commits
40
-
41
- - [Fix] throw an error on non-functions as early as possible [`f262408`](https://github.com/ljharb/call-bind/commit/f262408f822c840fbc268080f3ad7c429611066d)
42
- - [Deps] update `set-function-length` [`3fff271`](https://github.com/ljharb/call-bind/commit/3fff27145a1e3a76a5b74f1d7c3c43d0fa3b9871)
43
-
44
- ## [v1.0.4](https://github.com/ljharb/call-bind/compare/v1.0.3...v1.0.4) - 2023-10-19
45
-
46
- ## [v1.0.3](https://github.com/ljharb/call-bind/compare/v1.0.2...v1.0.3) - 2023-10-19
47
-
48
- ### Commits
49
-
50
- - [actions] reuse common workflows [`a994df6`](https://github.com/ljharb/call-bind/commit/a994df69f401f4bf735a4ccd77029b85d1549453)
51
- - [meta] use `npmignore` to autogenerate an npmignore file [`eef3ef2`](https://github.com/ljharb/call-bind/commit/eef3ef21e1f002790837fedb8af2679c761fbdf5)
52
- - [readme] flesh out content [`1845ccf`](https://github.com/ljharb/call-bind/commit/1845ccfd9976a607884cfc7157c93192cc16cf22)
53
- - [actions] use `node/install` instead of `node/run`; use `codecov` action [`5b47d53`](https://github.com/ljharb/call-bind/commit/5b47d53d2fd74af5ea0a44f1d51e503cd42f7a90)
54
- - [Refactor] use `set-function-length` [`a0e165c`](https://github.com/ljharb/call-bind/commit/a0e165c5dc61db781cbc919b586b1c2b8da0b150)
55
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9c50103`](https://github.com/ljharb/call-bind/commit/9c50103f44137279a817317cf6cc421a658f85b4)
56
- - [meta] simplify "exports" [`019c6d0`](https://github.com/ljharb/call-bind/commit/019c6d06b0e1246ceed8e579f57e44441cbbf6d9)
57
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`23bd718`](https://github.com/ljharb/call-bind/commit/23bd718a288d3b03042062b4ef5153b3cea83f11)
58
- - [actions] update codecov uploader [`62552d7`](https://github.com/ljharb/call-bind/commit/62552d79cc79e05825e99aaba134ae5b37f33da5)
59
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ec81665`](https://github.com/ljharb/call-bind/commit/ec81665b300f87eabff597afdc8b8092adfa7afd)
60
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`35d67fc`](https://github.com/ljharb/call-bind/commit/35d67fcea883e686650f736f61da5ddca2592de8)
61
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`0266d8d`](https://github.com/ljharb/call-bind/commit/0266d8d2a45086a922db366d0c2932fa463662ff)
62
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`43a5b28`](https://github.com/ljharb/call-bind/commit/43a5b28a444e710e1bbf92adb8afb5cf7523a223)
63
- - [Deps] update `define-data-property`, `function-bind`, `get-intrinsic` [`780eb36`](https://github.com/ljharb/call-bind/commit/780eb36552514f8cc99c70821ce698697c2726a5)
64
- - [Dev Deps] update `aud`, `tape` [`90d50ad`](https://github.com/ljharb/call-bind/commit/90d50ad03b061e0268b3380b0065fcaec183dc05)
65
- - [meta] use `prepublishOnly` script for npm 7+ [`44c5433`](https://github.com/ljharb/call-bind/commit/44c5433b7980e02b4870007046407cf6fc543329)
66
- - [Deps] update `get-intrinsic` [`86bfbfc`](https://github.com/ljharb/call-bind/commit/86bfbfcf34afdc6eabc93ce3d408548d0e27d958)
67
- - [Deps] update `get-intrinsic` [`5c53354`](https://github.com/ljharb/call-bind/commit/5c5335489be0294c18cd7a8bb6e08226ee019ff5)
68
- - [actions] update checkout action [`4c393a8`](https://github.com/ljharb/call-bind/commit/4c393a8173b3c8e5b30d5b3297b3b94d48bf87f3)
69
- - [Deps] update `get-intrinsic` [`4e70bde`](https://github.com/ljharb/call-bind/commit/4e70bdec0626acb11616d66250fc14565e716e91)
70
- - [Deps] update `get-intrinsic` [`55ae803`](https://github.com/ljharb/call-bind/commit/55ae803a920bd93c369cd798c20de31f91e9fc60)
71
-
72
- ## [v1.0.2](https://github.com/ljharb/call-bind/compare/v1.0.1...v1.0.2) - 2021-01-11
73
-
74
- ### Commits
75
-
76
- - [Fix] properly include the receiver in the bound length [`dbae7bc`](https://github.com/ljharb/call-bind/commit/dbae7bc676c079a0d33c0a43e9ef92cb7b01345d)
77
-
78
- ## [v1.0.1](https://github.com/ljharb/call-bind/compare/v1.0.0...v1.0.1) - 2021-01-08
79
-
80
- ### Commits
81
-
82
- - [Tests] migrate tests to Github Actions [`b6db284`](https://github.com/ljharb/call-bind/commit/b6db284c36f8ccd195b88a6764fe84b7223a0da1)
83
- - [meta] do not publish github action workflow files [`ec7fe46`](https://github.com/ljharb/call-bind/commit/ec7fe46e60cfa4764ee943d2755f5e5a366e578e)
84
- - [Fix] preserve original function’s length when possible [`adbceaa`](https://github.com/ljharb/call-bind/commit/adbceaa3cac4b41ea78bb19d7ccdbaaf7e0bdadb)
85
- - [Tests] gather coverage data on every job [`d69e23c`](https://github.com/ljharb/call-bind/commit/d69e23cc65f101ba1d4c19bb07fa8eb0ec624be8)
86
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`2fd3586`](https://github.com/ljharb/call-bind/commit/2fd3586c5d47b335364c14293114c6b625ae1f71)
87
- - [Deps] update `get-intrinsic` [`f23e931`](https://github.com/ljharb/call-bind/commit/f23e9318cc271c2add8bb38cfded85ee7baf8eee)
88
- - [Deps] update `get-intrinsic` [`72d9f44`](https://github.com/ljharb/call-bind/commit/72d9f44e184465ba8dd3fb48260bbcff234985f2)
89
- - [meta] fix FUNDING.yml [`e723573`](https://github.com/ljharb/call-bind/commit/e723573438c5a68dcec31fb5d96ea6b7e4a93be8)
90
- - [eslint] ignore coverage output [`15e76d2`](https://github.com/ljharb/call-bind/commit/15e76d28a5f43e504696401e5b31ebb78ee1b532)
91
- - [meta] add Automatic Rebase and Require Allow Edits workflows [`8fa4dab`](https://github.com/ljharb/call-bind/commit/8fa4dabb23ba3dd7bb92c9571c1241c08b56e4b6)
92
-
93
- ## v1.0.0 - 2020-10-30
94
-
95
- ### Commits
96
-
97
- - Initial commit [`306cf98`](https://github.com/ljharb/call-bind/commit/306cf98c7ec9e7ef66b653ec152277ac1381eb50)
98
- - Tests [`e10d0bb`](https://github.com/ljharb/call-bind/commit/e10d0bbdadc7a10ecedc9a1c035112d3e368b8df)
99
- - Implementation [`43852ed`](https://github.com/ljharb/call-bind/commit/43852eda0f187327b7fad2423ca972149a52bd65)
100
- - npm init [`408f860`](https://github.com/ljharb/call-bind/commit/408f860b773a2f610805fd3613d0d71bac1b6249)
101
- - [meta] add Automatic Rebase and Require Allow Edits workflows [`fb349b2`](https://github.com/ljharb/call-bind/commit/fb349b2e48defbec8b5ec8a8395cc8f69f220b13)
102
- - [meta] add `auto-changelog` [`c4001fc`](https://github.com/ljharb/call-bind/commit/c4001fc43031799ef908211c98d3b0fb2b60fde4)
103
- - [meta] add "funding"; create `FUNDING.yml` [`d4d6d29`](https://github.com/ljharb/call-bind/commit/d4d6d2974a14bc2e98830468eda7fe6d6a776717)
104
- - [Tests] add `npm run lint` [`dedfb98`](https://github.com/ljharb/call-bind/commit/dedfb98bd0ecefb08ddb9a94061bd10cde4332af)
105
- - Only apps should have lockfiles [`54ac776`](https://github.com/ljharb/call-bind/commit/54ac77653db45a7361dc153d2f478e743f110650)
106
- - [meta] add `safe-publish-latest` [`9ea8e43`](https://github.com/ljharb/call-bind/commit/9ea8e435b950ce9b705559cd651039f9bf40140f)
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 Jordan Harband
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,64 +0,0 @@
1
- # call-bind <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
-
3
- [![github actions][actions-image]][actions-url]
4
- [![coverage][codecov-image]][codecov-url]
5
- [![dependency status][deps-svg]][deps-url]
6
- [![dev dependency status][dev-deps-svg]][dev-deps-url]
7
- [![License][license-image]][license-url]
8
- [![Downloads][downloads-image]][downloads-url]
9
-
10
- [![npm badge][npm-badge-png]][package-url]
11
-
12
- Robustly `.call.bind()` a function.
13
-
14
- ## Getting started
15
-
16
- ```sh
17
- npm install --save call-bind
18
- ```
19
-
20
- ## Usage/Examples
21
-
22
- ```js
23
- const assert = require('assert');
24
- const callBind = require('call-bind');
25
- const callBound = require('call-bind/callBound');
26
-
27
- function f(a, b) {
28
- assert.equal(this, 1);
29
- assert.equal(a, 2);
30
- assert.equal(b, 3);
31
- assert.equal(arguments.length, 2);
32
- }
33
-
34
- const fBound = callBind(f);
35
-
36
- const slice = callBound('Array.prototype.slice');
37
-
38
- delete Function.prototype.call;
39
- delete Function.prototype.bind;
40
-
41
- fBound(1, 2, 3);
42
-
43
- assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);
44
- ```
45
-
46
- ## Tests
47
-
48
- Clone the repo, `npm install`, and run `npm test`
49
-
50
- [package-url]: https://npmjs.org/package/call-bind
51
- [npm-version-svg]: https://versionbadg.es/ljharb/call-bind.svg
52
- [deps-svg]: https://david-dm.org/ljharb/call-bind.svg
53
- [deps-url]: https://david-dm.org/ljharb/call-bind
54
- [dev-deps-svg]: https://david-dm.org/ljharb/call-bind/dev-status.svg
55
- [dev-deps-url]: https://david-dm.org/ljharb/call-bind#info=devDependencies
56
- [npm-badge-png]: https://nodei.co/npm/call-bind.png?downloads=true&stars=true
57
- [license-image]: https://img.shields.io/npm/l/call-bind.svg
58
- [license-url]: LICENSE
59
- [downloads-image]: https://img.shields.io/npm/dm/call-bind.svg
60
- [downloads-url]: https://npm-stat.com/charts.html?package=call-bind
61
- [codecov-image]: https://codecov.io/gh/ljharb/call-bind/branch/main/graphs/badge.svg
62
- [codecov-url]: https://app.codecov.io/gh/ljharb/call-bind/
63
- [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bind
64
- [actions-url]: https://github.com/ljharb/call-bind/actions
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var GetIntrinsic = require('get-intrinsic');
4
-
5
- var callBind = require('./');
6
-
7
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
8
-
9
- module.exports = function callBoundIntrinsic(name, allowMissing) {
10
- var intrinsic = GetIntrinsic(name, !!allowMissing);
11
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
12
- return callBind(intrinsic);
13
- }
14
- return intrinsic;
15
- };
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- var setFunctionLength = require('set-function-length');
4
-
5
- var $defineProperty = require('es-define-property');
6
-
7
- var callBindBasic = require('call-bind-apply-helpers');
8
- var applyBind = require('call-bind-apply-helpers/applyBind');
9
-
10
- module.exports = function callBind(originalFunction) {
11
- var func = callBindBasic(arguments);
12
- var adjustedLength = originalFunction.length - (arguments.length - 1);
13
- return setFunctionLength(
14
- func,
15
- 1 + (adjustedLength > 0 ? adjustedLength : 0),
16
- true
17
- );
18
- };
19
-
20
- if ($defineProperty) {
21
- $defineProperty(module.exports, 'apply', { value: applyBind });
22
- } else {
23
- module.exports.apply = applyBind;
24
- }
@@ -1,93 +0,0 @@
1
- {
2
- "name": "call-bind",
3
- "version": "1.0.8",
4
- "description": "Robustly `.call.bind()` a function",
5
- "main": "index.js",
6
- "exports": {
7
- ".": "./index.js",
8
- "./callBound": "./callBound.js",
9
- "./package.json": "./package.json"
10
- },
11
- "scripts": {
12
- "prepack": "npmignore --auto --commentLines=auto",
13
- "prepublish": "not-in-publish || npm run prepublishOnly",
14
- "prepublishOnly": "safe-publish-latest",
15
- "lint": "eslint --ext=.js,.mjs .",
16
- "postlint": "evalmd README.md",
17
- "pretest": "npm run lint",
18
- "tests-only": "nyc tape 'test/**/*.js'",
19
- "test": "npm run tests-only",
20
- "posttest": "npx npm@'>=10.2' audit --production",
21
- "version": "auto-changelog && git add CHANGELOG.md",
22
- "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
23
- },
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/ljharb/call-bind.git"
27
- },
28
- "keywords": [
29
- "javascript",
30
- "ecmascript",
31
- "es",
32
- "js",
33
- "callbind",
34
- "callbound",
35
- "call",
36
- "bind",
37
- "bound",
38
- "call-bind",
39
- "call-bound",
40
- "function",
41
- "es-abstract"
42
- ],
43
- "author": "Jordan Harband <ljharb@gmail.com>",
44
- "funding": {
45
- "url": "https://github.com/sponsors/ljharb"
46
- },
47
- "license": "MIT",
48
- "bugs": {
49
- "url": "https://github.com/ljharb/call-bind/issues"
50
- },
51
- "homepage": "https://github.com/ljharb/call-bind#readme",
52
- "dependencies": {
53
- "call-bind-apply-helpers": "^1.0.0",
54
- "es-define-property": "^1.0.0",
55
- "get-intrinsic": "^1.2.4",
56
- "set-function-length": "^1.2.2"
57
- },
58
- "devDependencies": {
59
- "@ljharb/eslint-config": "^21.1.1",
60
- "auto-changelog": "^2.5.0",
61
- "encoding": "^0.1.13",
62
- "es-value-fixtures": "^1.5.0",
63
- "eslint": "=8.8.0",
64
- "evalmd": "^0.0.19",
65
- "for-each": "^0.3.3",
66
- "has-strict-mode": "^1.0.1",
67
- "in-publish": "^2.0.1",
68
- "npmignore": "^0.3.1",
69
- "nyc": "^10.3.2",
70
- "object-inspect": "^1.13.3",
71
- "safe-publish-latest": "^2.0.0",
72
- "tape": "^5.9.0"
73
- },
74
- "testling": {
75
- "files": "test/index.js"
76
- },
77
- "auto-changelog": {
78
- "output": "CHANGELOG.md",
79
- "template": "keepachangelog",
80
- "unreleased": false,
81
- "commitLimit": false,
82
- "backfillLimit": false,
83
- "hideCredit": true
84
- },
85
- "publishConfig": {
86
- "ignore": [
87
- ".github/workflows"
88
- ]
89
- },
90
- "engines": {
91
- "node": ">= 0.4"
92
- }
93
- }