foxts 1.1.6 → 1.1.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.addArrayElementsToSet=function(r,
|
|
1
|
+
"use strict";var e=require("../identity/index.cjs");exports.addArrayElementsToSet=function(t,r,i=e.identity){return r.forEach(e=>t.add(i(e))),t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
import{identity as r}from"../identity/index.mjs";function t(e,d,n=r){return d.forEach(r=>e.add(n(r))),e}export{t as addArrayElementsToSet};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxts",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Opinionated collection of common TypeScript utils by @SukkaW",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/SukkaW/foxts"
|
|
@@ -38,24 +38,6 @@
|
|
|
38
38
|
"require": "./add-array-elements-to-set/index.cjs",
|
|
39
39
|
"default": "./add-array-elements-to-set/index.cjs"
|
|
40
40
|
},
|
|
41
|
-
"./ahocorasick": {
|
|
42
|
-
"types": "./ahocorasick/index.d.ts",
|
|
43
|
-
"import": {
|
|
44
|
-
"types": "./ahocorasick/index.d.ts",
|
|
45
|
-
"default": "./ahocorasick/index.mjs"
|
|
46
|
-
},
|
|
47
|
-
"require": "./ahocorasick/index.cjs",
|
|
48
|
-
"default": "./ahocorasick/index.cjs"
|
|
49
|
-
},
|
|
50
|
-
"./async-write-to-stream": {
|
|
51
|
-
"types": "./async-write-to-stream/index.d.ts",
|
|
52
|
-
"import": {
|
|
53
|
-
"types": "./async-write-to-stream/index.d.ts",
|
|
54
|
-
"default": "./async-write-to-stream/index.mjs"
|
|
55
|
-
},
|
|
56
|
-
"require": "./async-write-to-stream/index.cjs",
|
|
57
|
-
"default": "./async-write-to-stream/index.cjs"
|
|
58
|
-
},
|
|
59
41
|
"./append-set-elements-to-array": {
|
|
60
42
|
"types": "./append-set-elements-to-array/index.d.ts",
|
|
61
43
|
"import": {
|
|
@@ -65,14 +47,14 @@
|
|
|
65
47
|
"require": "./append-set-elements-to-array/index.cjs",
|
|
66
48
|
"default": "./append-set-elements-to-array/index.cjs"
|
|
67
49
|
},
|
|
68
|
-
"./
|
|
69
|
-
"types": "./
|
|
50
|
+
"./async-write-to-stream": {
|
|
51
|
+
"types": "./async-write-to-stream/index.d.ts",
|
|
70
52
|
"import": {
|
|
71
|
-
"types": "./
|
|
72
|
-
"default": "./
|
|
53
|
+
"types": "./async-write-to-stream/index.d.ts",
|
|
54
|
+
"default": "./async-write-to-stream/index.mjs"
|
|
73
55
|
},
|
|
74
|
-
"require": "./
|
|
75
|
-
"default": "./
|
|
56
|
+
"require": "./async-write-to-stream/index.cjs",
|
|
57
|
+
"default": "./async-write-to-stream/index.cjs"
|
|
76
58
|
},
|
|
77
59
|
"./bitwise": {
|
|
78
60
|
"types": "./bitwise/index.d.ts",
|
|
@@ -83,6 +65,15 @@
|
|
|
83
65
|
"require": "./bitwise/index.cjs",
|
|
84
66
|
"default": "./bitwise/index.cjs"
|
|
85
67
|
},
|
|
68
|
+
"./ahocorasick": {
|
|
69
|
+
"types": "./ahocorasick/index.d.ts",
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./ahocorasick/index.d.ts",
|
|
72
|
+
"default": "./ahocorasick/index.mjs"
|
|
73
|
+
},
|
|
74
|
+
"require": "./ahocorasick/index.cjs",
|
|
75
|
+
"default": "./ahocorasick/index.cjs"
|
|
76
|
+
},
|
|
86
77
|
"./escape-string-regexp": {
|
|
87
78
|
"types": "./escape-string-regexp/index.d.ts",
|
|
88
79
|
"import": {
|
|
@@ -92,6 +83,15 @@
|
|
|
92
83
|
"require": "./escape-string-regexp/index.cjs",
|
|
93
84
|
"default": "./escape-string-regexp/index.cjs"
|
|
94
85
|
},
|
|
86
|
+
"./fast-string-array-join": {
|
|
87
|
+
"types": "./fast-string-array-join/index.d.ts",
|
|
88
|
+
"import": {
|
|
89
|
+
"types": "./fast-string-array-join/index.d.ts",
|
|
90
|
+
"default": "./fast-string-array-join/index.mjs"
|
|
91
|
+
},
|
|
92
|
+
"require": "./fast-string-array-join/index.cjs",
|
|
93
|
+
"default": "./fast-string-array-join/index.cjs"
|
|
94
|
+
},
|
|
95
95
|
"./fifo": {
|
|
96
96
|
"types": "./fifo/index.d.ts",
|
|
97
97
|
"import": {
|
|
@@ -137,15 +137,6 @@
|
|
|
137
137
|
"require": "./headers-to-object/index.cjs",
|
|
138
138
|
"default": "./headers-to-object/index.cjs"
|
|
139
139
|
},
|
|
140
|
-
"./identity": {
|
|
141
|
-
"types": "./identity/index.d.ts",
|
|
142
|
-
"import": {
|
|
143
|
-
"types": "./identity/index.d.ts",
|
|
144
|
-
"default": "./identity/index.mjs"
|
|
145
|
-
},
|
|
146
|
-
"require": "./identity/index.cjs",
|
|
147
|
-
"default": "./identity/index.cjs"
|
|
148
|
-
},
|
|
149
140
|
"./is-probably-ip": {
|
|
150
141
|
"types": "./is-probably-ip/index.d.ts",
|
|
151
142
|
"import": {
|
|
@@ -155,6 +146,15 @@
|
|
|
155
146
|
"require": "./is-probably-ip/index.cjs",
|
|
156
147
|
"default": "./is-probably-ip/index.cjs"
|
|
157
148
|
},
|
|
149
|
+
"./identity": {
|
|
150
|
+
"types": "./identity/index.d.ts",
|
|
151
|
+
"import": {
|
|
152
|
+
"types": "./identity/index.d.ts",
|
|
153
|
+
"default": "./identity/index.mjs"
|
|
154
|
+
},
|
|
155
|
+
"require": "./identity/index.cjs",
|
|
156
|
+
"default": "./identity/index.cjs"
|
|
157
|
+
},
|
|
158
158
|
"./merge-headers": {
|
|
159
159
|
"types": "./merge-headers/index.d.ts",
|
|
160
160
|
"import": {
|
|
@@ -164,14 +164,14 @@
|
|
|
164
164
|
"require": "./merge-headers/index.cjs",
|
|
165
165
|
"default": "./merge-headers/index.cjs"
|
|
166
166
|
},
|
|
167
|
-
"./
|
|
168
|
-
"types": "./
|
|
167
|
+
"./noop": {
|
|
168
|
+
"types": "./noop/index.d.ts",
|
|
169
169
|
"import": {
|
|
170
|
-
"types": "./
|
|
171
|
-
"default": "./
|
|
170
|
+
"types": "./noop/index.d.ts",
|
|
171
|
+
"default": "./noop/index.mjs"
|
|
172
172
|
},
|
|
173
|
-
"require": "./
|
|
174
|
-
"default": "./
|
|
173
|
+
"require": "./noop/index.cjs",
|
|
174
|
+
"default": "./noop/index.cjs"
|
|
175
175
|
},
|
|
176
176
|
"./repool": {
|
|
177
177
|
"types": "./repool/index.d.ts",
|
|
@@ -182,14 +182,14 @@
|
|
|
182
182
|
"require": "./repool/index.cjs",
|
|
183
183
|
"default": "./repool/index.cjs"
|
|
184
184
|
},
|
|
185
|
-
"./
|
|
186
|
-
"types": "./
|
|
185
|
+
"./once": {
|
|
186
|
+
"types": "./once/index.d.ts",
|
|
187
187
|
"import": {
|
|
188
|
-
"types": "./
|
|
189
|
-
"default": "./
|
|
188
|
+
"types": "./once/index.d.ts",
|
|
189
|
+
"default": "./once/index.mjs"
|
|
190
190
|
},
|
|
191
|
-
"require": "./
|
|
192
|
-
"default": "./
|
|
191
|
+
"require": "./once/index.cjs",
|
|
192
|
+
"default": "./once/index.cjs"
|
|
193
193
|
},
|
|
194
194
|
"./serialized-memo": {
|
|
195
195
|
"types": "./serialized-memo/index.d.ts",
|