cdk-common 2.0.648 → 2.0.650

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 (71) hide show
  1. package/.jsii +2 -2
  2. package/lib/main.js +1 -1
  3. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +4 -5
  4. package/node_modules/@types/concat-stream/node_modules/@types/node/index.d.ts +0 -45
  5. package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.d.ts +0 -1
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/os.d.ts +1 -1
  7. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +85 -89
  8. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/inspector.d.ts +0 -1
  9. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/os.d.ts +1 -1
  10. package/node_modules/@types/form-data/node_modules/@types/node/README.md +4 -5
  11. package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +0 -45
  12. package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +0 -1
  13. package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +1 -1
  14. package/node_modules/@types/form-data/node_modules/@types/node/package.json +85 -89
  15. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/inspector.d.ts +0 -1
  16. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/os.d.ts +1 -1
  17. package/node_modules/@types/qs/LICENSE +0 -0
  18. package/node_modules/@types/qs/README.md +61 -2
  19. package/node_modules/@types/qs/index.d.ts +0 -12
  20. package/node_modules/@types/qs/package.json +21 -21
  21. package/node_modules/call-bind/.eslintrc +0 -1
  22. package/node_modules/call-bind/.nycrc +0 -4
  23. package/node_modules/call-bind/CHANGELOG.md +28 -0
  24. package/node_modules/call-bind/README.md +63 -1
  25. package/node_modules/call-bind/index.js +6 -13
  26. package/node_modules/call-bind/package.json +29 -22
  27. package/node_modules/call-bind/test/callBound.js +0 -1
  28. package/node_modules/call-bind/test/index.js +7 -4
  29. package/node_modules/define-data-property/.eslintrc +24 -0
  30. package/node_modules/define-data-property/.github/FUNDING.yml +12 -0
  31. package/node_modules/define-data-property/.nycrc +13 -0
  32. package/node_modules/define-data-property/CHANGELOG.md +41 -0
  33. package/node_modules/define-data-property/LICENSE +21 -0
  34. package/node_modules/define-data-property/README.md +67 -0
  35. package/node_modules/define-data-property/index.d.ts +3 -0
  36. package/node_modules/define-data-property/index.d.ts.map +1 -0
  37. package/node_modules/define-data-property/index.js +68 -0
  38. package/node_modules/define-data-property/package.json +113 -0
  39. package/node_modules/define-data-property/test/index.js +392 -0
  40. package/node_modules/define-data-property/tsconfig.json +59 -0
  41. package/node_modules/gopd/.eslintrc +16 -0
  42. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  43. package/node_modules/gopd/CHANGELOG.md +25 -0
  44. package/node_modules/gopd/LICENSE +21 -0
  45. package/node_modules/gopd/README.md +40 -0
  46. package/node_modules/gopd/index.js +16 -0
  47. package/node_modules/gopd/package.json +71 -0
  48. package/node_modules/gopd/test/index.js +35 -0
  49. package/node_modules/has-property-descriptors/.eslintrc +13 -0
  50. package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  51. package/node_modules/has-property-descriptors/.nycrc +9 -0
  52. package/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
  53. package/node_modules/has-property-descriptors/LICENSE +21 -0
  54. package/node_modules/has-property-descriptors/README.md +43 -0
  55. package/node_modules/has-property-descriptors/index.js +33 -0
  56. package/node_modules/has-property-descriptors/package.json +70 -0
  57. package/node_modules/has-property-descriptors/test/index.js +57 -0
  58. package/node_modules/object-inspect/CHANGELOG.md +6 -0
  59. package/node_modules/object-inspect/index.js +6 -5
  60. package/node_modules/object-inspect/package.json +1 -1
  61. package/node_modules/object-inspect/test/global.js +1 -1
  62. package/node_modules/set-function-length/.eslintrc +27 -0
  63. package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
  64. package/node_modules/set-function-length/.nycrc +13 -0
  65. package/node_modules/set-function-length/CHANGELOG.md +41 -0
  66. package/node_modules/set-function-length/LICENSE +21 -0
  67. package/node_modules/set-function-length/README.md +56 -0
  68. package/node_modules/set-function-length/env.js +19 -0
  69. package/node_modules/set-function-length/index.js +41 -0
  70. package/node_modules/set-function-length/package.json +84 -0
  71. package/package.json +2 -2
@@ -1,214 +1,209 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.8.6",
4
- "description": "TypeScript definitions for Node.js",
3
+ "version": "20.8.7",
4
+ "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Microsoft TypeScript",
10
- "url": "https://github.com/Microsoft",
11
- "githubUsername": "Microsoft"
12
- },
13
- {
14
- "name": "DefinitelyTyped",
15
- "url": "https://github.com/DefinitelyTyped",
16
- "githubUsername": "DefinitelyTyped"
10
+ "githubUsername": "Microsoft",
11
+ "url": "https://github.com/Microsoft"
17
12
  },
18
13
  {
19
14
  "name": "Alberto Schiabel",
20
- "url": "https://github.com/jkomyno",
21
- "githubUsername": "jkomyno"
15
+ "githubUsername": "jkomyno",
16
+ "url": "https://github.com/jkomyno"
22
17
  },
23
18
  {
24
19
  "name": "Alvis HT Tang",
25
- "url": "https://github.com/alvis",
26
- "githubUsername": "alvis"
20
+ "githubUsername": "alvis",
21
+ "url": "https://github.com/alvis"
27
22
  },
28
23
  {
29
24
  "name": "Andrew Makarov",
30
- "url": "https://github.com/r3nya",
31
- "githubUsername": "r3nya"
25
+ "githubUsername": "r3nya",
26
+ "url": "https://github.com/r3nya"
32
27
  },
33
28
  {
34
29
  "name": "Benjamin Toueg",
35
- "url": "https://github.com/btoueg",
36
- "githubUsername": "btoueg"
30
+ "githubUsername": "btoueg",
31
+ "url": "https://github.com/btoueg"
37
32
  },
38
33
  {
39
34
  "name": "Chigozirim C.",
40
- "url": "https://github.com/smac89",
41
- "githubUsername": "smac89"
35
+ "githubUsername": "smac89",
36
+ "url": "https://github.com/smac89"
42
37
  },
43
38
  {
44
39
  "name": "David Junger",
45
- "url": "https://github.com/touffy",
46
- "githubUsername": "touffy"
40
+ "githubUsername": "touffy",
41
+ "url": "https://github.com/touffy"
47
42
  },
48
43
  {
49
44
  "name": "Deividas Bakanas",
50
- "url": "https://github.com/DeividasBakanas",
51
- "githubUsername": "DeividasBakanas"
45
+ "githubUsername": "DeividasBakanas",
46
+ "url": "https://github.com/DeividasBakanas"
52
47
  },
53
48
  {
54
49
  "name": "Eugene Y. Q. Shen",
55
- "url": "https://github.com/eyqs",
56
- "githubUsername": "eyqs"
50
+ "githubUsername": "eyqs",
51
+ "url": "https://github.com/eyqs"
57
52
  },
58
53
  {
59
54
  "name": "Hannes Magnusson",
60
- "url": "https://github.com/Hannes-Magnusson-CK",
61
- "githubUsername": "Hannes-Magnusson-CK"
55
+ "githubUsername": "Hannes-Magnusson-CK",
56
+ "url": "https://github.com/Hannes-Magnusson-CK"
62
57
  },
63
58
  {
64
59
  "name": "Huw",
65
- "url": "https://github.com/hoo29",
66
- "githubUsername": "hoo29"
60
+ "githubUsername": "hoo29",
61
+ "url": "https://github.com/hoo29"
67
62
  },
68
63
  {
69
64
  "name": "Kelvin Jin",
70
- "url": "https://github.com/kjin",
71
- "githubUsername": "kjin"
65
+ "githubUsername": "kjin",
66
+ "url": "https://github.com/kjin"
72
67
  },
73
68
  {
74
69
  "name": "Klaus Meinhardt",
75
- "url": "https://github.com/ajafff",
76
- "githubUsername": "ajafff"
70
+ "githubUsername": "ajafff",
71
+ "url": "https://github.com/ajafff"
77
72
  },
78
73
  {
79
74
  "name": "Lishude",
80
- "url": "https://github.com/islishude",
81
- "githubUsername": "islishude"
75
+ "githubUsername": "islishude",
76
+ "url": "https://github.com/islishude"
82
77
  },
83
78
  {
84
79
  "name": "Mariusz Wiktorczyk",
85
- "url": "https://github.com/mwiktorczyk",
86
- "githubUsername": "mwiktorczyk"
80
+ "githubUsername": "mwiktorczyk",
81
+ "url": "https://github.com/mwiktorczyk"
87
82
  },
88
83
  {
89
84
  "name": "Mohsen Azimi",
90
- "url": "https://github.com/mohsen1",
91
- "githubUsername": "mohsen1"
85
+ "githubUsername": "mohsen1",
86
+ "url": "https://github.com/mohsen1"
92
87
  },
93
88
  {
94
89
  "name": "Nicolas Even",
95
- "url": "https://github.com/n-e",
96
- "githubUsername": "n-e"
90
+ "githubUsername": "n-e",
91
+ "url": "https://github.com/n-e"
97
92
  },
98
93
  {
99
94
  "name": "Nikita Galkin",
100
- "url": "https://github.com/galkin",
101
- "githubUsername": "galkin"
95
+ "githubUsername": "galkin",
96
+ "url": "https://github.com/galkin"
102
97
  },
103
98
  {
104
99
  "name": "Parambir Singh",
105
- "url": "https://github.com/parambirs",
106
- "githubUsername": "parambirs"
100
+ "githubUsername": "parambirs",
101
+ "url": "https://github.com/parambirs"
107
102
  },
108
103
  {
109
104
  "name": "Sebastian Silbermann",
110
- "url": "https://github.com/eps1lon",
111
- "githubUsername": "eps1lon"
105
+ "githubUsername": "eps1lon",
106
+ "url": "https://github.com/eps1lon"
112
107
  },
113
108
  {
114
109
  "name": "Thomas den Hollander",
115
- "url": "https://github.com/ThomasdenH",
116
- "githubUsername": "ThomasdenH"
110
+ "githubUsername": "ThomasdenH",
111
+ "url": "https://github.com/ThomasdenH"
117
112
  },
118
113
  {
119
114
  "name": "Wilco Bakker",
120
- "url": "https://github.com/WilcoBakker",
121
- "githubUsername": "WilcoBakker"
115
+ "githubUsername": "WilcoBakker",
116
+ "url": "https://github.com/WilcoBakker"
122
117
  },
123
118
  {
124
119
  "name": "wwwy3y3",
125
- "url": "https://github.com/wwwy3y3",
126
- "githubUsername": "wwwy3y3"
120
+ "githubUsername": "wwwy3y3",
121
+ "url": "https://github.com/wwwy3y3"
127
122
  },
128
123
  {
129
124
  "name": "Samuel Ainsworth",
130
- "url": "https://github.com/samuela",
131
- "githubUsername": "samuela"
125
+ "githubUsername": "samuela",
126
+ "url": "https://github.com/samuela"
132
127
  },
133
128
  {
134
129
  "name": "Kyle Uehlein",
135
- "url": "https://github.com/kuehlein",
136
- "githubUsername": "kuehlein"
130
+ "githubUsername": "kuehlein",
131
+ "url": "https://github.com/kuehlein"
137
132
  },
138
133
  {
139
134
  "name": "Thanik Bhongbhibhat",
140
- "url": "https://github.com/bhongy",
141
- "githubUsername": "bhongy"
135
+ "githubUsername": "bhongy",
136
+ "url": "https://github.com/bhongy"
142
137
  },
143
138
  {
144
139
  "name": "Marcin Kopacz",
145
- "url": "https://github.com/chyzwar",
146
- "githubUsername": "chyzwar"
140
+ "githubUsername": "chyzwar",
141
+ "url": "https://github.com/chyzwar"
147
142
  },
148
143
  {
149
144
  "name": "Trivikram Kamat",
150
- "url": "https://github.com/trivikr",
151
- "githubUsername": "trivikr"
145
+ "githubUsername": "trivikr",
146
+ "url": "https://github.com/trivikr"
152
147
  },
153
148
  {
154
149
  "name": "Junxiao Shi",
155
- "url": "https://github.com/yoursunny",
156
- "githubUsername": "yoursunny"
150
+ "githubUsername": "yoursunny",
151
+ "url": "https://github.com/yoursunny"
157
152
  },
158
153
  {
159
154
  "name": "Ilia Baryshnikov",
160
- "url": "https://github.com/qwelias",
161
- "githubUsername": "qwelias"
155
+ "githubUsername": "qwelias",
156
+ "url": "https://github.com/qwelias"
162
157
  },
163
158
  {
164
159
  "name": "ExE Boss",
165
- "url": "https://github.com/ExE-Boss",
166
- "githubUsername": "ExE-Boss"
160
+ "githubUsername": "ExE-Boss",
161
+ "url": "https://github.com/ExE-Boss"
167
162
  },
168
163
  {
169
164
  "name": "Piotr Błażejewicz",
170
- "url": "https://github.com/peterblazejewicz",
171
- "githubUsername": "peterblazejewicz"
165
+ "githubUsername": "peterblazejewicz",
166
+ "url": "https://github.com/peterblazejewicz"
172
167
  },
173
168
  {
174
169
  "name": "Anna Henningsen",
175
- "url": "https://github.com/addaleax",
176
- "githubUsername": "addaleax"
170
+ "githubUsername": "addaleax",
171
+ "url": "https://github.com/addaleax"
177
172
  },
178
173
  {
179
174
  "name": "Victor Perin",
180
- "url": "https://github.com/victorperin",
181
- "githubUsername": "victorperin"
175
+ "githubUsername": "victorperin",
176
+ "url": "https://github.com/victorperin"
182
177
  },
183
178
  {
184
179
  "name": "Yongsheng Zhang",
185
- "url": "https://github.com/ZYSzys",
186
- "githubUsername": "ZYSzys"
180
+ "githubUsername": "ZYSzys",
181
+ "url": "https://github.com/ZYSzys"
187
182
  },
188
183
  {
189
184
  "name": "NodeJS Contributors",
190
- "url": "https://github.com/NodeJS",
191
- "githubUsername": "NodeJS"
185
+ "githubUsername": "NodeJS",
186
+ "url": "https://github.com/NodeJS"
192
187
  },
193
188
  {
194
189
  "name": "Linus Unnebäck",
195
- "url": "https://github.com/LinusU",
196
- "githubUsername": "LinusU"
190
+ "githubUsername": "LinusU",
191
+ "url": "https://github.com/LinusU"
197
192
  },
198
193
  {
199
194
  "name": "wafuwafu13",
200
- "url": "https://github.com/wafuwafu13",
201
- "githubUsername": "wafuwafu13"
195
+ "githubUsername": "wafuwafu13",
196
+ "url": "https://github.com/wafuwafu13"
202
197
  },
203
198
  {
204
199
  "name": "Matteo Collina",
205
- "url": "https://github.com/mcollina",
206
- "githubUsername": "mcollina"
200
+ "githubUsername": "mcollina",
201
+ "url": "https://github.com/mcollina"
207
202
  },
208
203
  {
209
204
  "name": "Dmitry Semigradsky",
210
- "url": "https://github.com/Semigradsky",
211
- "githubUsername": "Semigradsky"
205
+ "githubUsername": "Semigradsky",
206
+ "url": "https://github.com/Semigradsky"
212
207
  }
213
208
  ],
214
209
  "main": "",
@@ -229,6 +224,7 @@
229
224
  "dependencies": {
230
225
  "undici-types": "~5.25.1"
231
226
  },
232
- "typesPublisherContentHash": "a80e2c3721390a74f89db6139948567951eca03453d5936cab55aa8b51134260",
233
- "typeScriptVersion": "4.5"
227
+ "typesPublisherContentHash": "cebaae8f6e6ce70f08ae8019a93b68ec3b1d76aefd72a514eceb45aef5e54155",
228
+ "typeScriptVersion": "4.5",
229
+ "nonNpm": true
234
230
  }
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @definitelytyped/dt-header
2
1
  // Type definitions for inspector
3
2
 
4
3
  // These definitions are auto-generated.
@@ -38,7 +38,7 @@ declare module "os" {
38
38
  username: T;
39
39
  uid: number;
40
40
  gid: number;
41
- shell: T;
41
+ shell: T | null;
42
42
  homedir: T;
43
43
  }
44
44
  type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
File without changes
@@ -6,11 +6,70 @@ This package contains type definitions for qs (https://github.com/ljharb/qs).
6
6
 
7
7
  # Details
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs.
9
+ ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs/index.d.ts)
10
+ ````ts
11
+ export = QueryString;
12
+ export as namespace qs;
13
+
14
+ declare namespace QueryString {
15
+ type defaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string;
16
+ type defaultDecoder = (str: string, decoder?: any, charset?: string) => string;
17
+
18
+ interface IStringifyOptions {
19
+ delimiter?: string | undefined;
20
+ strictNullHandling?: boolean | undefined;
21
+ skipNulls?: boolean | undefined;
22
+ encode?: boolean | undefined;
23
+ encoder?:
24
+ | ((str: any, defaultEncoder: defaultEncoder, charset: string, type: "key" | "value") => string)
25
+ | undefined;
26
+ filter?: Array<string | number> | ((prefix: string, value: any) => any) | undefined;
27
+ arrayFormat?: "indices" | "brackets" | "repeat" | "comma" | undefined;
28
+ indices?: boolean | undefined;
29
+ sort?: ((a: any, b: any) => number) | undefined;
30
+ serializeDate?: ((d: Date) => string) | undefined;
31
+ format?: "RFC1738" | "RFC3986" | undefined;
32
+ encodeValuesOnly?: boolean | undefined;
33
+ addQueryPrefix?: boolean | undefined;
34
+ allowDots?: boolean | undefined;
35
+ charset?: "utf-8" | "iso-8859-1" | undefined;
36
+ charsetSentinel?: boolean | undefined;
37
+ }
38
+
39
+ interface IParseOptions {
40
+ comma?: boolean | undefined;
41
+ delimiter?: string | RegExp | undefined;
42
+ depth?: number | false | undefined;
43
+ decoder?:
44
+ | ((str: string, defaultDecoder: defaultDecoder, charset: string, type: "key" | "value") => any)
45
+ | undefined;
46
+ arrayLimit?: number | undefined;
47
+ parseArrays?: boolean | undefined;
48
+ allowDots?: boolean | undefined;
49
+ plainObjects?: boolean | undefined;
50
+ allowPrototypes?: boolean | undefined;
51
+ parameterLimit?: number | undefined;
52
+ strictNullHandling?: boolean | undefined;
53
+ ignoreQueryPrefix?: boolean | undefined;
54
+ charset?: "utf-8" | "iso-8859-1" | undefined;
55
+ charsetSentinel?: boolean | undefined;
56
+ interpretNumericEntities?: boolean | undefined;
57
+ }
58
+
59
+ interface ParsedQs {
60
+ [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[];
61
+ }
62
+
63
+ function stringify(obj: any, options?: IStringifyOptions): string;
64
+ function parse(str: string, options?: IParseOptions & { decoder?: never | undefined }): ParsedQs;
65
+ function parse(str: string | Record<string, string>, options?: IParseOptions): { [key: string]: unknown };
66
+ }
67
+
68
+ ````
9
69
 
10
70
  ### Additional Details
11
- * Last updated: Wed, 30 Aug 2023 19:35:25 GMT
71
+ * Last updated: Wed, 18 Oct 2023 05:47:09 GMT
12
72
  * Dependencies: none
13
- * Global values: `qs`
14
73
 
15
74
  # Credits
16
75
  These definitions were written by [Roman Korneev](https://github.com/RWander), [Leon Yu](https://github.com/leonyu), [Belinda Teh](https://github.com/tehbelinda), [Melvin Lee](https://github.com/zyml), [Arturs Vonda](https://github.com/artursvonda), [Carlos Bonetti](https://github.com/CarlosBonetti), [Dan Smith](https://github.com/dpsmith3), [Hunter Perrin](https://github.com/hperrin), and [Jordan Harband](https://github.com/ljharb).
@@ -1,15 +1,3 @@
1
- // Type definitions for qs 6.9
2
- // Project: https://github.com/ljharb/qs
3
- // Definitions by: Roman Korneev <https://github.com/RWander>
4
- // Leon Yu <https://github.com/leonyu>
5
- // Belinda Teh <https://github.com/tehbelinda>
6
- // Melvin Lee <https://github.com/zyml>
7
- // Arturs Vonda <https://github.com/artursvonda>
8
- // Carlos Bonetti <https://github.com/CarlosBonetti>
9
- // Dan Smith <https://github.com/dpsmith3>
10
- // Hunter Perrin <https://github.com/hperrin>
11
- // Jordan Harband <https://github.com/ljharb>
12
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
13
1
  export = QueryString;
14
2
  export as namespace qs;
15
3
 
@@ -1,54 +1,54 @@
1
1
  {
2
2
  "name": "@types/qs",
3
- "version": "6.9.8",
3
+ "version": "6.9.9",
4
4
  "description": "TypeScript definitions for qs",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Roman Korneev",
10
- "url": "https://github.com/RWander",
11
- "githubUsername": "RWander"
10
+ "githubUsername": "RWander",
11
+ "url": "https://github.com/RWander"
12
12
  },
13
13
  {
14
14
  "name": "Leon Yu",
15
- "url": "https://github.com/leonyu",
16
- "githubUsername": "leonyu"
15
+ "githubUsername": "leonyu",
16
+ "url": "https://github.com/leonyu"
17
17
  },
18
18
  {
19
19
  "name": "Belinda Teh",
20
- "url": "https://github.com/tehbelinda",
21
- "githubUsername": "tehbelinda"
20
+ "githubUsername": "tehbelinda",
21
+ "url": "https://github.com/tehbelinda"
22
22
  },
23
23
  {
24
24
  "name": "Melvin Lee",
25
- "url": "https://github.com/zyml",
26
- "githubUsername": "zyml"
25
+ "githubUsername": "zyml",
26
+ "url": "https://github.com/zyml"
27
27
  },
28
28
  {
29
29
  "name": "Arturs Vonda",
30
- "url": "https://github.com/artursvonda",
31
- "githubUsername": "artursvonda"
30
+ "githubUsername": "artursvonda",
31
+ "url": "https://github.com/artursvonda"
32
32
  },
33
33
  {
34
34
  "name": "Carlos Bonetti",
35
- "url": "https://github.com/CarlosBonetti",
36
- "githubUsername": "CarlosBonetti"
35
+ "githubUsername": "CarlosBonetti",
36
+ "url": "https://github.com/CarlosBonetti"
37
37
  },
38
38
  {
39
39
  "name": "Dan Smith",
40
- "url": "https://github.com/dpsmith3",
41
- "githubUsername": "dpsmith3"
40
+ "githubUsername": "dpsmith3",
41
+ "url": "https://github.com/dpsmith3"
42
42
  },
43
43
  {
44
44
  "name": "Hunter Perrin",
45
- "url": "https://github.com/hperrin",
46
- "githubUsername": "hperrin"
45
+ "githubUsername": "hperrin",
46
+ "url": "https://github.com/hperrin"
47
47
  },
48
48
  {
49
49
  "name": "Jordan Harband",
50
- "url": "https://github.com/ljharb",
51
- "githubUsername": "ljharb"
50
+ "githubUsername": "ljharb",
51
+ "url": "https://github.com/ljharb"
52
52
  }
53
53
  ],
54
54
  "main": "",
@@ -60,6 +60,6 @@
60
60
  },
61
61
  "scripts": {},
62
62
  "dependencies": {},
63
- "typesPublisherContentHash": "b958a7001e037ec7b965c8c760bb8a500c4f6e4d9cc575bd5f8bead56fa20afd",
64
- "typeScriptVersion": "4.3"
63
+ "typesPublisherContentHash": "85b611d9e94f698fb82ab3268ba91cc09cfb2b698e784ce665eb08c083cb5895",
64
+ "typeScriptVersion": "4.5"
65
65
  }
@@ -12,6 +12,5 @@
12
12
  ],
13
13
  }],
14
14
  "no-magic-numbers": 0,
15
- "operator-linebreak": [2, "before"],
16
15
  },
17
16
  }
@@ -2,10 +2,6 @@
2
2
  "all": true,
3
3
  "check-coverage": false,
4
4
  "reporter": ["text-summary", "text", "html", "json"],
5
- "lines": 86,
6
- "statements": 85.93,
7
- "functions": 82.43,
8
- "branches": 76.06,
9
5
  "exclude": [
10
6
  "coverage",
11
7
  "test"
@@ -5,6 +5,34 @@ 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.4](https://github.com/ljharb/call-bind/compare/v1.0.3...v1.0.4) - 2023-10-19
9
+
10
+ ## [v1.0.3](https://github.com/ljharb/call-bind/compare/v1.0.2...v1.0.3) - 2023-10-19
11
+
12
+ ### Commits
13
+
14
+ - [actions] reuse common workflows [`a994df6`](https://github.com/ljharb/call-bind/commit/a994df69f401f4bf735a4ccd77029b85d1549453)
15
+ - [meta] use `npmignore` to autogenerate an npmignore file [`eef3ef2`](https://github.com/ljharb/call-bind/commit/eef3ef21e1f002790837fedb8af2679c761fbdf5)
16
+ - [readme] flesh out content [`1845ccf`](https://github.com/ljharb/call-bind/commit/1845ccfd9976a607884cfc7157c93192cc16cf22)
17
+ - [actions] use `node/install` instead of `node/run`; use `codecov` action [`5b47d53`](https://github.com/ljharb/call-bind/commit/5b47d53d2fd74af5ea0a44f1d51e503cd42f7a90)
18
+ - [Refactor] use `set-function-length` [`a0e165c`](https://github.com/ljharb/call-bind/commit/a0e165c5dc61db781cbc919b586b1c2b8da0b150)
19
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9c50103`](https://github.com/ljharb/call-bind/commit/9c50103f44137279a817317cf6cc421a658f85b4)
20
+ - [meta] simplify "exports" [`019c6d0`](https://github.com/ljharb/call-bind/commit/019c6d06b0e1246ceed8e579f57e44441cbbf6d9)
21
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`23bd718`](https://github.com/ljharb/call-bind/commit/23bd718a288d3b03042062b4ef5153b3cea83f11)
22
+ - [actions] update codecov uploader [`62552d7`](https://github.com/ljharb/call-bind/commit/62552d79cc79e05825e99aaba134ae5b37f33da5)
23
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ec81665`](https://github.com/ljharb/call-bind/commit/ec81665b300f87eabff597afdc8b8092adfa7afd)
24
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`35d67fc`](https://github.com/ljharb/call-bind/commit/35d67fcea883e686650f736f61da5ddca2592de8)
25
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`0266d8d`](https://github.com/ljharb/call-bind/commit/0266d8d2a45086a922db366d0c2932fa463662ff)
26
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`43a5b28`](https://github.com/ljharb/call-bind/commit/43a5b28a444e710e1bbf92adb8afb5cf7523a223)
27
+ - [Deps] update `define-data-property`, `function-bind`, `get-intrinsic` [`780eb36`](https://github.com/ljharb/call-bind/commit/780eb36552514f8cc99c70821ce698697c2726a5)
28
+ - [Dev Deps] update `aud`, `tape` [`90d50ad`](https://github.com/ljharb/call-bind/commit/90d50ad03b061e0268b3380b0065fcaec183dc05)
29
+ - [meta] use `prepublishOnly` script for npm 7+ [`44c5433`](https://github.com/ljharb/call-bind/commit/44c5433b7980e02b4870007046407cf6fc543329)
30
+ - [Deps] update `get-intrinsic` [`86bfbfc`](https://github.com/ljharb/call-bind/commit/86bfbfcf34afdc6eabc93ce3d408548d0e27d958)
31
+ - [Deps] update `get-intrinsic` [`5c53354`](https://github.com/ljharb/call-bind/commit/5c5335489be0294c18cd7a8bb6e08226ee019ff5)
32
+ - [actions] update checkout action [`4c393a8`](https://github.com/ljharb/call-bind/commit/4c393a8173b3c8e5b30d5b3297b3b94d48bf87f3)
33
+ - [Deps] update `get-intrinsic` [`4e70bde`](https://github.com/ljharb/call-bind/commit/4e70bdec0626acb11616d66250fc14565e716e91)
34
+ - [Deps] update `get-intrinsic` [`55ae803`](https://github.com/ljharb/call-bind/commit/55ae803a920bd93c369cd798c20de31f91e9fc60)
35
+
8
36
  ## [v1.0.2](https://github.com/ljharb/call-bind/compare/v1.0.1...v1.0.2) - 2021-01-11
9
37
 
10
38
  ### Commits
@@ -1,2 +1,64 @@
1
- # call-bind
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
+
2
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