rollup-packages-polyfill-core 0.5.0 → 0.13.0

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 (77) hide show
  1. package/LICENSE.md +26 -0
  2. package/browser-test/index.js +20 -0
  3. package/browser-test/main.js +44 -0
  4. package/package.json +1 -1
  5. package/polyfills/LICENSE-browserify-fs.txt +472 -0
  6. package/polyfills/LICENSE-buffer-es6.txt +69 -0
  7. package/polyfills/LICENSE-crypto-browserify.txt +355 -0
  8. package/polyfills/LICENSE-process-es6.txt +32 -0
  9. package/polyfills/__http-lib/capability.js +52 -0
  10. package/polyfills/__http-lib/request.js +278 -0
  11. package/polyfills/__http-lib/response.js +185 -0
  12. package/polyfills/__http-lib/to-arraybuffer.js +30 -0
  13. package/polyfills/__readable-stream/buffer-list.js +59 -0
  14. package/polyfills/__readable-stream/duplex.js +45 -0
  15. package/polyfills/__readable-stream/passthrough.js +15 -0
  16. package/polyfills/__readable-stream/readable.js +896 -0
  17. package/polyfills/__readable-stream/transform.js +174 -0
  18. package/polyfills/__readable-stream/writable.js +483 -0
  19. package/polyfills/__zlib-lib/LICENSE +21 -0
  20. package/polyfills/__zlib-lib/adler32.js +31 -0
  21. package/polyfills/__zlib-lib/binding.js +290 -0
  22. package/polyfills/__zlib-lib/crc32.js +40 -0
  23. package/polyfills/__zlib-lib/deflate.js +1862 -0
  24. package/polyfills/__zlib-lib/inffast.js +325 -0
  25. package/polyfills/__zlib-lib/inflate.js +1650 -0
  26. package/polyfills/__zlib-lib/inftrees.js +329 -0
  27. package/polyfills/__zlib-lib/messages.js +11 -0
  28. package/polyfills/__zlib-lib/trees.js +1220 -0
  29. package/polyfills/__zlib-lib/utils.js +73 -0
  30. package/polyfills/__zlib-lib/zstream.js +28 -0
  31. package/polyfills/assert.js +488 -0
  32. package/polyfills/buffer-es6.js +1985 -0
  33. package/polyfills/console.js +13 -0
  34. package/polyfills/constants.js +498 -0
  35. package/polyfills/domain.js +100 -0
  36. package/polyfills/empty.js +1 -0
  37. package/polyfills/events.js +481 -0
  38. package/polyfills/global.js +3 -0
  39. package/polyfills/http.js +167 -0
  40. package/polyfills/inherits.js +25 -0
  41. package/polyfills/os.js +126 -0
  42. package/polyfills/path.js +234 -0
  43. package/polyfills/process-es6.js +223 -0
  44. package/polyfills/punycode.js +475 -0
  45. package/polyfills/querystring.js +147 -0
  46. package/polyfills/setimmediate.js +185 -0
  47. package/polyfills/stream.js +110 -0
  48. package/polyfills/string-decoder.js +220 -0
  49. package/polyfills/timers.js +76 -0
  50. package/polyfills/tty.js +20 -0
  51. package/polyfills/url.js +785 -0
  52. package/polyfills/util.js +716 -0
  53. package/polyfills/vm.js +202 -0
  54. package/polyfills/zlib.js +635 -0
  55. package/rollup.config.mjs +18 -0
  56. package/scripts/build-constants.js +18 -0
  57. package/scripts/build-polyfills.js +52 -0
  58. package/scripts/collect-polyfills.js +17 -0
  59. package/src/index.ts +92 -0
  60. package/src/modules.ts +61 -0
  61. package/src/polyfills.ts +1 -0
  62. package/test/examples/assert.js +12 -0
  63. package/test/examples/constants.js +7 -0
  64. package/test/examples/crypto-broken.js +2 -0
  65. package/test/examples/crypto.js +7 -0
  66. package/test/examples/domain.js +33 -0
  67. package/test/examples/events.js +7 -0
  68. package/test/examples/os.js +7 -0
  69. package/test/examples/path.js +11 -0
  70. package/test/examples/stream.js +31 -0
  71. package/test/examples/string-decoder.js +19 -0
  72. package/test/examples/url-file-url-to-path.js +11 -0
  73. package/test/examples/url-format.js +13 -0
  74. package/test/examples/url-parse.js +14 -0
  75. package/test/examples/zlib.js +24 -0
  76. package/test/index.js +77 -0
  77. package/tsconfig.json +14 -0
package/LICENSE.md ADDED
@@ -0,0 +1,26 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2020 Fred K. Schott
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11
+
12
+
13
+ """
14
+
15
+ This license applies to parts of rollup-plugin-polyfill-node originating from the
16
+ https://github.com/ionic-team/rollup-plugin-node-polyfills repository:
17
+
18
+ The MIT License (MIT)
19
+
20
+ Copyright (c) 2019 these people
21
+
22
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ var rollup = require( 'rollup' );
2
+ var nodePolyfills = require('..');
3
+ rollup.rollup({
4
+ input: 'browser-test/main.js',
5
+ plugins: [
6
+ nodePolyfills(),
7
+ ]
8
+ }).then( function ( bundle ) {
9
+ return bundle.write({
10
+ format: 'iife',
11
+ file: 'browser-test/dist/bundle.js'
12
+ });
13
+ }).then(function () {
14
+ console.log('done');
15
+ process.exit();
16
+ }).catch(function (e) {
17
+ console.log('oh noes!');
18
+ console.log(e);
19
+ process.exit(1);
20
+ });
@@ -0,0 +1,44 @@
1
+ import {get} from 'http';
2
+ import {createContext, runInContext} from 'vm';
3
+ import {equal, deepEqual} from 'assert';
4
+
5
+ get('foo.json', function (res) {
6
+ console.log('status', res.statusCode);
7
+ var data = '';
8
+ res.on('data', function (d) {
9
+ data += d.toString();
10
+ }).on('error', function (e) {
11
+ console.log('error', e);
12
+ }).on('end', function () {
13
+ console.log(data);
14
+ if (global.document) {
15
+ afterMain();
16
+ } else {
17
+ afterWorker();
18
+ }
19
+ });
20
+ })
21
+ function afterMain() {
22
+ var context = createContext();
23
+
24
+ runInContext('var x = 1', context);
25
+ deepEqual(context, { x: 1 });
26
+
27
+ runInContext('var y = 2;', context);
28
+ var x = runInContext('++x', context);
29
+ equal(x, 2);
30
+ equal(context.x, 2);
31
+ equal(context.x, context.y);
32
+ console.log('ok main');
33
+ }
34
+ function afterWorker() {
35
+ var context = createContext({x: 0});
36
+
37
+ runInContext('x++', context);
38
+ deepEqual(context, { x: 1 });
39
+
40
+ var x = runInContext('++x', context);
41
+ equal(x, 2);
42
+ equal(context.x, 2);
43
+ console.log('ok worker');
44
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup-packages-polyfill-core",
3
- "version": "0.5.0",
3
+ "version": "0.13.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js"
@@ -0,0 +1,472 @@
1
+ Name: browserify-fs
2
+ Version: 1.0.0
3
+ License: undefined
4
+ Private: false
5
+ Description: fs for the browser using level-filesystem and browserify
6
+ Repository: undefined
7
+
8
+ ---
9
+
10
+ Name: level-js
11
+ Version: 2.2.4
12
+ License: BSD-2-Clause
13
+ Private: false
14
+ Description: leveldown/leveldb library for browsers using IndexedDB
15
+ Repository: git@github.com:maxogden/level.js.git
16
+ Author: max ogden
17
+
18
+ ---
19
+
20
+ Name: levelup
21
+ Version: 0.18.6
22
+ License: MIT
23
+ Private: false
24
+ Description: Fast & simple storage - a Node.js-style LevelDB wrapper
25
+ Repository: https://github.com/rvagg/node-levelup.git
26
+ Homepage: https://github.com/rvagg/node-levelup
27
+ Contributors:
28
+ Rod Vagg <r@va.gg> (https://github.com/rvagg)
29
+ John Chesley <john@chesl.es> (https://github.com/chesles/)
30
+ Jake Verbaten <raynos2@gmail.com> (https://github.com/raynos)
31
+ Dominic Tarr <dominic.tarr@gmail.com> (https://github.com/dominictarr)
32
+ Max Ogden <max@maxogden.com> (https://github.com/maxogden)
33
+ Lars-Magnus Skog <lars.magnus.skog@gmail.com> (https://github.com/ralphtheninja)
34
+ David Björklund <david.bjorklund@gmail.com> (https://github.com/kesla)
35
+ Julian Gruber <julian@juliangruber.com> (https://github.com/juliangruber)
36
+ Paolo Fragomeni <paolo@async.ly> (https://github.com/hij1nx)
37
+ Anton Whalley <anton.whalley@nearform.com> (https://github.com/No9)
38
+ Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)
39
+ Pedro Teixeira <pedro.teixeira@gmail.com> (https://github.com/pgte)
40
+ James Halliday <mail@substack.net> (https://github.com/substack)
41
+
42
+ ---
43
+
44
+ Name: level-filesystem
45
+ Version: 1.2.0
46
+ License: undefined
47
+ Private: false
48
+ Description: Full implementation of the fs module on top of leveldb
49
+ Repository: undefined
50
+
51
+ ---
52
+
53
+ Name: rollup-plugin-node-resolve
54
+ Version: 5.0.1
55
+ License: MIT
56
+ Private: false
57
+ Description: Bundle third-party dependencies in node_modules
58
+ Repository: undefined
59
+ Homepage: https://github.com/rollup/rollup-plugin-node-resolve#readme
60
+ Author: Rich Harris <richard.a.harris@gmail.com>
61
+
62
+ ---
63
+
64
+ Name: prr
65
+ Version: 0.0.0
66
+ License: MIT
67
+ Private: false
68
+ Description: A better Object.defineProperty()
69
+ Repository: https://github.com/rvagg/prr.git
70
+ Homepage: https://github.com/rvagg/prr
71
+
72
+ ---
73
+
74
+ Name: xtend
75
+ Version: 2.1.2
76
+ License: (MIT)
77
+ Private: false
78
+ Description: extend like a boss
79
+ Repository: undefined
80
+ Homepage: https://github.com/Raynos/xtend
81
+ Author: Raynos <raynos2@gmail.com>
82
+ Contributors:
83
+ Jake Verbaten
84
+ Matt Esch
85
+
86
+ ---
87
+
88
+ Name: once
89
+ Version: 1.4.0
90
+ License: ISC
91
+ Private: false
92
+ Description: Run a function exactly one time
93
+ Repository: git://github.com/isaacs/once
94
+ Author: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
95
+
96
+ ---
97
+
98
+ Name: octal
99
+ Version: 1.0.0
100
+ License: MIT
101
+ Private: false
102
+ Description: Interpret a number as base 8
103
+ Repository: https://github.com/mafintosh/octal.git
104
+ Homepage: https://github.com/mafintosh/octal
105
+ Author: Mathias Buus (@mafintosh)
106
+
107
+ ---
108
+
109
+ Name: readable-stream
110
+ Version: 1.0.34
111
+ License: MIT
112
+ Private: false
113
+ Description: Streams2, a user-land copy of the stream library from Node.js v0.10.x
114
+ Repository: git://github.com/isaacs/readable-stream
115
+ Author: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
116
+
117
+ ---
118
+
119
+ Name: level-blobs
120
+ Version: 0.1.7
121
+ License: undefined
122
+ Private: false
123
+ Description: Save binary blobs in level and stream then back
124
+ Repository: undefined
125
+
126
+ ---
127
+
128
+ Name: level-sublevel
129
+ Version: 5.2.3
130
+ License: MIT
131
+ Private: false
132
+ Description: partition levelup databases
133
+ Repository: git://github.com/dominictarr/level-sublevel.git
134
+ Homepage: https://github.com/dominictarr/level-sublevel
135
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)
136
+
137
+ ---
138
+
139
+ Name: fwd-stream
140
+ Version: 1.0.4
141
+ License: undefined
142
+ Private: false
143
+ Description: Forward a readable stream to another readable stream or a writable stream to another writable stream
144
+ Repository: undefined
145
+
146
+ ---
147
+
148
+ Name: level-peek
149
+ Version: 1.0.6
150
+ License: MIT
151
+ Private: false
152
+ Repository: git://github.com/dominictarr/level-peek.git
153
+ Homepage: https://github.com/dominictarr/level-peek
154
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)
155
+
156
+ ---
157
+
158
+ Name: errno
159
+ Version: 0.1.7
160
+ License: MIT
161
+ Private: false
162
+ Description: libuv errno details exposed
163
+ Repository: https://github.com/rvagg/node-errno.git
164
+
165
+ ---
166
+
167
+ Name: concat-stream
168
+ Version: 1.6.2
169
+ License: MIT
170
+ Private: false
171
+ Description: writable stream that concatenates strings or binary data and calls a callback with the result
172
+ Repository: http://github.com/maxogden/concat-stream.git
173
+ Author: Max Ogden <max@maxogden.com>
174
+
175
+ ---
176
+
177
+ Name: inherits
178
+ Version: 2.0.3
179
+ License: ISC
180
+ Private: false
181
+ Description: Browser-friendly inheritance fully compatible with standard node.js inherits()
182
+ Repository: undefined
183
+
184
+ ---
185
+
186
+ Name: idb-wrapper
187
+ Version: 1.7.2
188
+ License: MIT
189
+ Private: false
190
+ Description: A cross-browser wrapper for IndexedDB
191
+ Repository: undefined
192
+ Homepage: https://github.com/jensarps/IDBWrapper
193
+ Author: jensarps <mail@jensarps.de> (http://jensarps.de/)
194
+ Contributors:
195
+ Github Contributors (https://github.com/jensarps/IDBWrapper/graphs/contributors)
196
+
197
+ ---
198
+
199
+ Name: typedarray-to-buffer
200
+ Version: 1.0.4
201
+ License: MIT
202
+ Private: false
203
+ Description: Convert a typed array to a Buffer without a copy
204
+ Repository: git://github.com/feross/typedarray-to-buffer.git
205
+ Homepage: http://feross.org
206
+ Author: Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)
207
+
208
+ ---
209
+
210
+ Name: abstract-leveldown
211
+ Version: 0.12.4
212
+ License: MIT
213
+ Private: false
214
+ Description: An abstract prototype matching the LevelDOWN API
215
+ Repository: https://github.com/rvagg/node-abstract-leveldown.git
216
+ Homepage: https://github.com/rvagg/node-abstract-leveldown
217
+ Contributors:
218
+ Rod Vagg <r@va.gg> (https://github.com/rvagg)
219
+ John Chesley <john@chesl.es> (https://github.com/chesles/)
220
+ Jake Verbaten <raynos2@gmail.com> (https://github.com/raynos)
221
+ Dominic Tarr <dominic.tarr@gmail.com> (https://github.com/dominictarr)
222
+ Max Ogden <max@maxogden.com> (https://github.com/maxogden)
223
+ Lars-Magnus Skog <lars.magnus.skog@gmail.com> (https://github.com/ralphtheninja)
224
+ David Björklund <david.bjorklund@gmail.com> (https://github.com/kesla)
225
+ Julian Gruber <julian@juliangruber.com> (https://github.com/juliangruber)
226
+ Paolo Fragomeni <paolo@async.ly> (https://github.com/hij1nx)
227
+ Anton Whalley <anton.whalley@nearform.com> (https://github.com/No9)
228
+ Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)
229
+ Pedro Teixeira <pedro.teixeira@gmail.com> (https://github.com/pgte)
230
+ James Halliday <mail@substack.net> (https://github.com/substack)
231
+
232
+ ---
233
+
234
+ Name: isbuffer
235
+ Version: 0.0.0
236
+ License: MIT
237
+ Private: false
238
+ Description: isBuffer for node and browser (supports typed arrays)
239
+ Repository: git://github.com/juliangruber/isbuffer.git
240
+ Homepage: https://github.com/juliangruber/isbuffer
241
+ Author: Julian Gruber <mail@juliangruber.com> (http://juliangruber.com)
242
+
243
+ ---
244
+
245
+ Name: deferred-leveldown
246
+ Version: 0.2.0
247
+ License: MIT
248
+ Private: false
249
+ Description: For handling delayed-open on LevelDOWN compatible libraries
250
+ Repository: https://github.com/Level/deferred-leveldown.git
251
+ Homepage: https://github.com/Level/deferred-leveldown
252
+ Contributors:
253
+ Rod Vagg <r@va.gg> (https://github.com/rvagg)
254
+ John Chesley <john@chesl.es> (https://github.com/chesles/)
255
+ Jake Verbaten <raynos2@gmail.com> (https://github.com/raynos)
256
+ Dominic Tarr <dominic.tarr@gmail.com> (https://github.com/dominictarr)
257
+ Max Ogden <max@maxogden.com> (https://github.com/maxogden)
258
+ Lars-Magnus Skog <lars.magnus.skog@gmail.com> (https://github.com/ralphtheninja)
259
+ David Björklund <david.bjorklund@gmail.com> (https://github.com/kesla)
260
+ Julian Gruber <julian@juliangruber.com> (https://github.com/juliangruber)
261
+ Paolo Fragomeni <paolo@async.ly> (https://github.com/hij1nx)
262
+ Anton Whalley <anton.whalley@nearform.com> (https://github.com/No9)
263
+ Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)
264
+ Pedro Teixeira <pedro.teixeira@gmail.com> (https://github.com/pgte)
265
+ James Halliday <mail@substack.net> (https://github.com/substack)
266
+
267
+ ---
268
+
269
+ Name: wrappy
270
+ Version: 1.0.2
271
+ License: ISC
272
+ Private: false
273
+ Description: Callback wrapping utility
274
+ Repository: https://github.com/npm/wrappy
275
+ Homepage: https://github.com/npm/wrappy
276
+ Author: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
277
+
278
+ ---
279
+
280
+ Name: bl
281
+ Version: 0.8.2
282
+ License: MIT
283
+ Private: false
284
+ Description: Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!
285
+ Repository: https://github.com/rvagg/bl.git
286
+ Homepage: https://github.com/rvagg/bl
287
+
288
+ ---
289
+
290
+ Name: object-keys
291
+ Version: 0.4.0
292
+ License: MIT
293
+ Private: false
294
+ Description: An Object.keys replacement, in case Object.keys is not available. From https://github.com/kriskowal/es5-shim
295
+ Repository: git://github.com/ljharb/object-keys.git
296
+ Author: Jordan Harband
297
+
298
+ ---
299
+
300
+ Name: ltgt
301
+ Version: 2.2.1
302
+ License: MIT
303
+ Private: false
304
+ Repository: git://github.com/dominictarr/ltgt.git
305
+ Homepage: https://github.com/dominictarr/ltgt
306
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)
307
+
308
+ ---
309
+
310
+ Name: typedarray
311
+ Version: 0.0.6
312
+ License: MIT
313
+ Private: false
314
+ Description: TypedArray polyfill for old browsers
315
+ Repository: git://github.com/substack/typedarray.git
316
+ Homepage: https://github.com/substack/typedarray
317
+ Author: James Halliday <mail@substack.net> (http://substack.net)
318
+
319
+ ---
320
+
321
+ Name: level-fix-range
322
+ Version: 2.0.0
323
+ License: MIT
324
+ Private: false
325
+ Description: make using levelup reverse ranges easy
326
+ Repository: git://github.com/dominictarr/level-fix-range.git
327
+ Homepage: https://github.com/dominictarr/level-fix-range
328
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)
329
+
330
+ ---
331
+
332
+ Name: buffer-from
333
+ Version: 1.1.1
334
+ License: MIT
335
+ Private: false
336
+ Repository: undefined
337
+
338
+ ---
339
+
340
+ Name: isarray
341
+ Version: 0.0.1
342
+ License: MIT
343
+ Private: false
344
+ Description: Array#isArray for older browsers
345
+ Repository: git://github.com/juliangruber/isarray.git
346
+ Homepage: https://github.com/juliangruber/isarray
347
+ Author: Julian Gruber <mail@juliangruber.com> (http://juliangruber.com)
348
+
349
+ ---
350
+
351
+ Name: string_decoder
352
+ Version: 0.10.31
353
+ License: MIT
354
+ Private: false
355
+ Description: The string_decoder module from Node core
356
+ Repository: git://github.com/rvagg/string_decoder.git
357
+ Homepage: https://github.com/rvagg/string_decoder
358
+
359
+ ---
360
+
361
+ Name: safe-buffer
362
+ Version: 5.1.2
363
+ License: MIT
364
+ Private: false
365
+ Description: Safer Node.js Buffer API
366
+ Repository: git://github.com/feross/safe-buffer.git
367
+ Homepage: https://github.com/feross/safe-buffer
368
+ Author: Feross Aboukhadijeh <feross@feross.org> (http://feross.org)
369
+
370
+ ---
371
+
372
+ Name: level-hooks
373
+ Version: 4.5.0
374
+ License: undefined
375
+ Private: false
376
+ Description: pre/post hooks for leveldb
377
+ Repository: git://github.com/dominictarr/level-hooks.git
378
+ Homepage: https://github.com/dominictarr/level-hooks
379
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://bit.ly/dominictarr)
380
+
381
+ ---
382
+
383
+ Name: core-util-is
384
+ Version: 1.0.2
385
+ License: MIT
386
+ Private: false
387
+ Description: The `util.is*` functions introduced in Node v0.12.
388
+ Repository: git://github.com/isaacs/core-util-is
389
+ Author: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
390
+
391
+ ---
392
+
393
+ Name: string-range
394
+ Version: 1.2.2
395
+ License: MIT
396
+ Private: false
397
+ Description: check if a string is within a range
398
+ Repository: git://github.com/dominictarr/string-range.git
399
+ Homepage: https://github.com/dominictarr/string-range
400
+ Author: Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)
401
+
402
+ ---
403
+
404
+ Name: process-nextick-args
405
+ Version: 2.0.0
406
+ License: MIT
407
+ Private: false
408
+ Description: process.nextTick but always with args
409
+ Repository: https://github.com/calvinmetcalf/process-nextick-args.git
410
+ Homepage: https://github.com/calvinmetcalf/process-nextick-args
411
+
412
+ ---
413
+
414
+ Name: util-deprecate
415
+ Version: 1.0.2
416
+ License: MIT
417
+ Private: false
418
+ Description: The Node.js `util.deprecate()` function with browser support
419
+ Repository: git://github.com/TooTallNate/util-deprecate.git
420
+ Homepage: https://github.com/TooTallNate/util-deprecate
421
+ Author: Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)
422
+
423
+ ---
424
+
425
+ Name: clone
426
+ Version: 0.1.19
427
+ License: MIT
428
+ Private: false
429
+ Description: deep cloning of objects and arrays
430
+ Repository: git://github.com/pvorb/node-clone.git
431
+ Author: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch/)
432
+ Contributors:
433
+ Blake Miner <miner.blake@gmail.com> (http://www.blakeminer.com/)
434
+ Tian You <axqd001@gmail.com> (http://blog.axqd.net/)
435
+ George Stagas <gstagas@gmail.com> (http://stagas.com/)
436
+ Tobiasz Cudnik <tobiasz.cudnik@gmail.com> (https://github.com/TobiaszCudnik)
437
+ Pavel Lang <langpavel@phpskelet.org> (https://github.com/langpavel)
438
+ Dan MacTough (http://yabfog.com/)
439
+ w1nk (https://github.com/w1nk)
440
+ Hugh Kennedy (http://twitter.com/hughskennedy)
441
+ Dustin Diaz (http://dustindiaz.com)
442
+ Ilya Shaisultanov (https://github.com/diversario)
443
+ Nathan MacInnes <nathan@macinn.es> (http://macinn.es/)
444
+ Benjamin E. Coe <ben@npmjs.com> (https://twitter.com/benjamincoe)
445
+ Nathan Zadoks (https://github.com/nathan7)
446
+ Róbert Oroszi <robert+gh@oroszi.net> (https://github.com/oroce)
447
+
448
+ ---
449
+
450
+ Name: is
451
+ Version: 0.2.7
452
+ License: undefined
453
+ Private: false
454
+ Description: the definitive JavaScript type testing library
455
+ Repository: git://github.com/enricomarino/is.git
456
+ Homepage: https://github.com/enricomarino/is
457
+ Author: Enrico Marino (http://onirame.com)
458
+ Contributors:
459
+ Jordan Harband (https://github.com/ljharb)
460
+
461
+ ---
462
+
463
+ Name: foreach
464
+ Version: 2.0.5
465
+ License: MIT
466
+ Private: false
467
+ Description: foreach component + npm package
468
+ Repository: git://github.com/manuelstofer/foreach
469
+ Author: Manuel Stofer <manuel@takimata.ch>
470
+ Contributors:
471
+ Manuel Stofer
472
+ Jordan Harband (https://github.com/ljharb)
@@ -0,0 +1,69 @@
1
+ Name: buffer-es6
2
+ Version: 4.9.3
3
+ License: MIT
4
+ Private: false
5
+ Description: Node.js Buffer API, for the browser
6
+ Repository: git://github.com/calvinmetcalf/buffer-es6.git
7
+ Author: Feross Aboukhadijeh <feross@feross.org> (http://feross.org)
8
+ Contributors:
9
+ Romain Beauxis <toots@rastageeks.org>
10
+ James Halliday <mail@substack.net>
11
+ License Copyright:
12
+ ===
13
+
14
+ The MIT License (MIT)
15
+
16
+ Copyright (c) Feross Aboukhadijeh, and other contributors.
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in
26
+ all copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
34
+ THE SOFTWARE.
35
+
36
+ ===========================================
37
+ ieee754 originally contained this license:
38
+ ===========================================
39
+
40
+ Copyright (c) 2008, Fair Oaks Labs, Inc.
41
+ All rights reserved.
42
+
43
+ Redistribution and use in source and binary forms, with or without
44
+ modification, are permitted provided that the following conditions are met:
45
+
46
+ * Redistributions of source code must retain the above copyright notice,
47
+ this list of conditions and the following disclaimer.
48
+
49
+ * Redistributions in binary form must reproduce the above copyright notice,
50
+ this list of conditions and the following disclaimer in the documentation
51
+ and/or other materials provided with the distribution.
52
+
53
+ * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors
54
+ may be used to endorse or promote products derived from this software
55
+ without specific prior written permission.
56
+
57
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
58
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
59
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
60
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
61
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
62
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
63
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
64
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
65
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
66
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
67
+ POSSIBILITY OF SUCH DAMAGE.
68
+
69
+ Modifications to writeIEEE754 to support negative zeroes made by Brian White.