cdk-common 1.0.1105 → 1.0.1107

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 (26) hide show
  1. package/.jsii +14 -2
  2. package/API.md +12 -0
  3. package/lib/main.js +1 -1
  4. package/lib/managed-policies.d.ts +3 -1
  5. package/lib/managed-policies.js +3 -1
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  7. package/node_modules/@types/concat-stream/node_modules/@types/node/assert.d.ts +2 -0
  8. package/node_modules/@types/concat-stream/node_modules/@types/node/module.d.ts +7 -0
  9. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
  10. package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +6 -1
  11. package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +40 -133
  12. package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +1 -1
  13. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  14. package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +2 -0
  15. package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +7 -0
  16. package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
  17. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +6 -1
  18. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +40 -133
  19. package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +1 -1
  20. package/node_modules/call-bind-apply-helpers/.eslintrc +1 -0
  21. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
  22. package/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
  23. package/node_modules/call-bind-apply-helpers/index.js +1 -1
  24. package/node_modules/call-bind-apply-helpers/package.json +8 -8
  25. package/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  26. package/package.json +2 -2
@@ -6,7 +6,7 @@ var $TypeError = require('es-errors/type');
6
6
  var $call = require('./functionCall');
7
7
  var $actualApply = require('./actualApply');
8
8
 
9
- /** @type {import('.')} */
9
+ /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
10
10
  module.exports = function callBindBasic(args) {
11
11
  if (args.length < 1 || typeof args[0] !== 'function') {
12
12
  throw new $TypeError('a function is required');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "call-bind-apply-helpers",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Helper functions around Function call/apply/bind, for use in `call-bind`",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -41,24 +41,24 @@
41
41
  "function-bind": "^1.1.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@arethetypeswrong/cli": "^0.17.1",
44
+ "@arethetypeswrong/cli": "^0.17.3",
45
45
  "@ljharb/eslint-config": "^21.1.1",
46
- "@ljharb/tsconfig": "^0.2.2",
46
+ "@ljharb/tsconfig": "^0.2.3",
47
47
  "@types/for-each": "^0.3.3",
48
48
  "@types/function-bind": "^1.1.10",
49
49
  "@types/object-inspect": "^1.13.0",
50
- "@types/tape": "^5.6.5",
50
+ "@types/tape": "^5.8.1",
51
51
  "auto-changelog": "^2.5.0",
52
52
  "encoding": "^0.1.13",
53
- "es-value-fixtures": "^1.5.0",
53
+ "es-value-fixtures": "^1.7.1",
54
54
  "eslint": "=8.8.0",
55
55
  "evalmd": "^0.0.19",
56
- "for-each": "^0.3.3",
57
- "has-strict-mode": "^1.0.1",
56
+ "for-each": "^0.3.5",
57
+ "has-strict-mode": "^1.1.0",
58
58
  "in-publish": "^2.0.1",
59
59
  "npmignore": "^0.3.1",
60
60
  "nyc": "^10.3.2",
61
- "object-inspect": "^1.13.3",
61
+ "object-inspect": "^1.13.4",
62
62
  "safe-publish-latest": "^2.0.0",
63
63
  "tape": "^5.9.0",
64
64
  "typescript": "next"
@@ -19,7 +19,7 @@ test('callBindBasic', function (t) {
19
19
  });
20
20
 
21
21
  var sentinel = { sentinel: true };
22
- /** @type {<T>(this: T, a: number, b: number) => [T | undefined, number, number]} */
22
+ /** @type {<T, A extends number, B extends number>(this: T, a: A, b: B) => [T | undefined, A, B]} */
23
23
  var func = function (a, b) {
24
24
  // eslint-disable-next-line no-invalid-this
25
25
  return [!hasStrictMode && this === global ? undefined : this, a, b];
@@ -28,10 +28,10 @@ test('callBindBasic', function (t) {
28
28
 
29
29
  /** type {(thisArg: unknown, a: number, b: number) => [unknown, number, number]} */
30
30
  var bound = callBind([func]);
31
- /** type {((a: number, b: number) => [sentinel, typeof a, typeof b])} */
31
+ /** type {((a: number, b: number) => [typeof sentinel, typeof a, typeof b])} */
32
32
  var boundR = callBind([func, sentinel]);
33
- /** type {((b: number) => [sentinel, number, typeof b])} */
34
- var boundArg = callBind([func, sentinel, 1]);
33
+ /** type {((b: number) => [typeof sentinel, number, typeof b])} */
34
+ var boundArg = callBind([func, sentinel, /** @type {const} */ (1)]);
35
35
 
36
36
  // @ts-expect-error
37
37
  t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with no args');
package/package.json CHANGED
@@ -55,7 +55,7 @@
55
55
  "jsii-docgen": "^10.5.0",
56
56
  "jsii-pacmak": "^1.106.0",
57
57
  "jsii-rosetta": "5.3.x",
58
- "projen": "0.91.8",
58
+ "projen": "0.91.10",
59
59
  "ts-jest": "^27",
60
60
  "typescript": "^5"
61
61
  },
@@ -91,7 +91,7 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "version": "1.0.1105",
94
+ "version": "1.0.1107",
95
95
  "jest": {
96
96
  "coverageProvider": "v8",
97
97
  "testMatch": [