@emulsify/cli 1.11.0 → 1.11.1

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 (84) hide show
  1. package/dist/node_modules/.package-lock.json +18 -18
  2. package/dist/node_modules/@types/node/README.md +1 -1
  3. package/dist/node_modules/@types/node/assert.d.ts +2 -2
  4. package/dist/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  5. package/dist/node_modules/@types/node/buffer.d.ts +30 -390
  6. package/dist/node_modules/@types/node/child_process.d.ts +32 -28
  7. package/dist/node_modules/@types/node/cluster.d.ts +1 -1
  8. package/dist/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  9. package/dist/node_modules/@types/node/compatibility/index.d.ts +9 -0
  10. package/dist/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  11. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  12. package/dist/node_modules/@types/node/console.d.ts +2 -2
  13. package/dist/node_modules/@types/node/crypto.d.ts +3 -3
  14. package/dist/node_modules/@types/node/dns/promises.d.ts +6 -5
  15. package/dist/node_modules/@types/node/dns.d.ts +5 -5
  16. package/dist/node_modules/@types/node/domain.d.ts +2 -2
  17. package/dist/node_modules/@types/node/events.d.ts +3 -3
  18. package/dist/node_modules/@types/node/fs/promises.d.ts +2 -2
  19. package/dist/node_modules/@types/node/fs.d.ts +2 -2
  20. package/dist/node_modules/@types/node/globals.d.ts +124 -68
  21. package/dist/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  22. package/dist/node_modules/@types/node/http.d.ts +43 -7
  23. package/dist/node_modules/@types/node/http2.d.ts +238 -101
  24. package/dist/node_modules/@types/node/https.d.ts +17 -23
  25. package/dist/node_modules/@types/node/index.d.ts +11 -9
  26. package/dist/node_modules/@types/node/module.d.ts +3 -3
  27. package/dist/node_modules/@types/node/net.d.ts +8 -2
  28. package/dist/node_modules/@types/node/os.d.ts +1 -1
  29. package/dist/node_modules/@types/node/package.json +10 -2
  30. package/dist/node_modules/@types/node/path.d.ts +10 -1
  31. package/dist/node_modules/@types/node/perf_hooks.d.ts +19 -19
  32. package/dist/node_modules/@types/node/punycode.d.ts +1 -1
  33. package/dist/node_modules/@types/node/querystring.d.ts +1 -1
  34. package/dist/node_modules/@types/node/readline/promises.d.ts +1 -1
  35. package/dist/node_modules/@types/node/readline.d.ts +10 -10
  36. package/dist/node_modules/@types/node/repl.d.ts +4 -4
  37. package/dist/node_modules/@types/node/stream/promises.d.ts +8 -1
  38. package/dist/node_modules/@types/node/stream/web.d.ts +182 -25
  39. package/dist/node_modules/@types/node/stream.d.ts +36 -17
  40. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  41. package/dist/node_modules/@types/node/test.d.ts +85 -12
  42. package/dist/node_modules/@types/node/timers/promises.d.ts +1 -1
  43. package/dist/node_modules/@types/node/timers.d.ts +1 -1
  44. package/dist/node_modules/@types/node/tls.d.ts +5 -5
  45. package/dist/node_modules/@types/node/trace_events.d.ts +4 -4
  46. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  47. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  48. package/dist/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  49. package/dist/node_modules/@types/node/tty.d.ts +1 -1
  50. package/dist/node_modules/@types/node/url.d.ts +14 -11
  51. package/dist/node_modules/@types/node/util.d.ts +49 -49
  52. package/dist/node_modules/@types/node/v8.d.ts +12 -12
  53. package/dist/node_modules/@types/node/vm.d.ts +11 -12
  54. package/dist/node_modules/@types/node/worker_threads.d.ts +22 -22
  55. package/dist/node_modules/@types/node/zlib.d.ts +8 -8
  56. package/dist/node_modules/debug/README.md +1 -1
  57. package/dist/node_modules/debug/package.json +2 -2
  58. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +2 -2
  59. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  60. package/dist/node_modules/fast-uri/index.js +3 -9
  61. package/dist/node_modules/fast-uri/package.json +4 -4
  62. package/dist/node_modules/fast-uri/test/ajv.test.js +1 -1
  63. package/dist/node_modules/fast-uri/test/compatibility.test.js +3 -2
  64. package/dist/node_modules/fast-uri/test/equal.test.js +1 -2
  65. package/dist/node_modules/fast-uri/test/parse.test.js +1 -2
  66. package/dist/node_modules/fast-uri/test/resolve.test.js +1 -2
  67. package/dist/node_modules/fast-uri/test/serialize.test.js +1 -2
  68. package/dist/node_modules/fast-uri/test/uri-js.test.js +539 -567
  69. package/dist/node_modules/fast-uri/test/util.test.js +2 -3
  70. package/dist/node_modules/ms/index.js +1 -1
  71. package/dist/node_modules/ms/license.md +1 -1
  72. package/dist/node_modules/ms/package.json +5 -4
  73. package/dist/node_modules/ms/readme.md +1 -2
  74. package/dist/node_modules/simple-git/dist/cjs/index.js +14 -15
  75. package/dist/node_modules/simple-git/dist/cjs/index.js.map +2 -2
  76. package/dist/node_modules/simple-git/dist/esm/index.js +14 -15
  77. package/dist/node_modules/simple-git/dist/esm/index.js.map +2 -2
  78. package/dist/node_modules/simple-git/dist/typings/response.d.ts +7 -6
  79. package/dist/node_modules/simple-git/package.json +5 -5
  80. package/dist/package-lock.json +720 -643
  81. package/dist/package.json +2 -2
  82. package/package.json +2 -2
  83. package/dist/node_modules/@types/node/globals.global.d.ts +0 -1
  84. package/dist/node_modules/fast-uri/.taprc +0 -3
@@ -3,7 +3,7 @@
3
3
  * JavaScript in parallel. To access it:
4
4
  *
5
5
  * ```js
6
- * const worker = require('node:worker_threads');
6
+ * import worker from 'node:worker_threads';
7
7
  * ```
8
8
  *
9
9
  * Workers (threads) are useful for performing CPU-intensive JavaScript operations.
@@ -14,9 +14,10 @@
14
14
  * so by transferring `ArrayBuffer` instances or sharing `SharedArrayBuffer` instances.
15
15
  *
16
16
  * ```js
17
- * const {
17
+ * import {
18
18
  * Worker, isMainThread, parentPort, workerData,
19
- * } = require('node:worker_threads');
19
+ * } from 'node:worker_threads';
20
+ * import { parse } = from 'some-js-parsing-library';
20
21
  *
21
22
  * if (isMainThread) {
22
23
  * module.exports = function parseJSAsync(script) {
@@ -33,7 +34,6 @@
33
34
  * });
34
35
  * };
35
36
  * } else {
36
- * const { parse } = require('some-js-parsing-library');
37
37
  * const script = workerData;
38
38
  * parentPort.postMessage(parse(script));
39
39
  * }
@@ -72,7 +72,7 @@ declare module "worker_threads" {
72
72
  * The `MessageChannel` has no methods of its own. `new MessageChannel()` yields an object with `port1` and `port2` properties, which refer to linked `MessagePort` instances.
73
73
  *
74
74
  * ```js
75
- * const { MessageChannel } = require('node:worker_threads');
75
+ * import { MessageChannel } from 'node:worker_threads';
76
76
  *
77
77
  * const { port1, port2 } = new MessageChannel();
78
78
  * port1.on('message', (message) => console.log('received', message));
@@ -121,7 +121,7 @@ declare module "worker_threads" {
121
121
  * * `value` may not contain native (C++-backed) objects other than:
122
122
  *
123
123
  * ```js
124
- * const { MessageChannel } = require('node:worker_threads');
124
+ * import { MessageChannel } from 'node:worker_threads';
125
125
  * const { port1, port2 } = new MessageChannel();
126
126
  *
127
127
  * port1.on('message', (message) => console.log(message));
@@ -143,7 +143,7 @@ declare module "worker_threads" {
143
143
  * `value` may still contain `ArrayBuffer` instances that are not in `transferList`; in that case, the underlying memory is copied rather than moved.
144
144
  *
145
145
  * ```js
146
- * const { MessageChannel } = require('node:worker_threads');
146
+ * import { MessageChannel } from 'node:worker_threads';
147
147
  * const { port1, port2 } = new MessageChannel();
148
148
  *
149
149
  * port1.on('message', (message) => console.log(message));
@@ -298,8 +298,8 @@ declare module "worker_threads" {
298
298
  * Notable differences inside a Worker environment are:
299
299
  *
300
300
  * * The `process.stdin`, `process.stdout`, and `process.stderr` streams may be redirected by the parent thread.
301
- * * The `require('node:worker_threads').isMainThread` property is set to `false`.
302
- * * The `require('node:worker_threads').parentPort` message port is available.
301
+ * * The `import { isMainThread } from 'node:worker_threads'` property is set to `false`.
302
+ * * The `import { parentPort } from 'node:worker_threads'` message port is available.
303
303
  * * `process.exit()` does not stop the whole program, just the single thread,
304
304
  * and `process.abort()` is not available.
305
305
  * * `process.chdir()` and `process` methods that set group or user ids
@@ -334,10 +334,10 @@ declare module "worker_threads" {
334
334
  * the thread barrier.
335
335
  *
336
336
  * ```js
337
- * const assert = require('node:assert');
338
- * const {
337
+ * import assert from 'node:assert';
338
+ * import {
339
339
  * Worker, MessageChannel, MessagePort, isMainThread, parentPort,
340
- * } = require('node:worker_threads');
340
+ * } from 'node:worker_threads';
341
341
  * if (isMainThread) {
342
342
  * const worker = new Worker(__filename);
343
343
  * const subChannel = new MessageChannel();
@@ -377,7 +377,7 @@ declare module "worker_threads" {
377
377
  readonly stderr: Readable;
378
378
  /**
379
379
  * An integer identifier for the referenced thread. Inside the worker thread,
380
- * it is available as `require('node:worker_threads').threadId`.
380
+ * it is available as `import { threadId } from 'node:node:worker_threads'`.
381
381
  * This value is unique for each `Worker` instance inside a single process.
382
382
  * @since v10.5.0
383
383
  */
@@ -495,11 +495,11 @@ declare module "worker_threads" {
495
495
  * ```js
496
496
  * 'use strict';
497
497
  *
498
- * const {
498
+ * import {
499
499
  * isMainThread,
500
500
  * BroadcastChannel,
501
501
  * Worker,
502
- * } = require('node:worker_threads');
502
+ * } from 'node:worker_threads';
503
503
  *
504
504
  * const bc = new BroadcastChannel('hello');
505
505
  *
@@ -553,7 +553,7 @@ declare module "worker_threads" {
553
553
  * This operation cannot be undone.
554
554
  *
555
555
  * ```js
556
- * const { MessageChannel, markAsUntransferable } = require('node:worker_threads');
556
+ * import { MessageChannel, markAsUntransferable } from 'node:worker_threads';
557
557
  *
558
558
  * const pooledBuffer = new ArrayBuffer(8);
559
559
  * const typedArray1 = new Uint8Array(pooledBuffer);
@@ -598,7 +598,7 @@ declare module "worker_threads" {
598
598
  * that contains the message payload, corresponding to the oldest message in the `MessagePort`'s queue.
599
599
  *
600
600
  * ```js
601
- * const { MessageChannel, receiveMessageOnPort } = require('node:worker_threads');
601
+ * import { MessageChannel, receiveMessageOnPort } from 'node:worker_threads';
602
602
  * const { port1, port2 } = new MessageChannel();
603
603
  * port1.postMessage({ hello: 'world' });
604
604
  *
@@ -624,12 +624,12 @@ declare module "worker_threads" {
624
624
  * automatically.
625
625
  *
626
626
  * ```js
627
- * const {
627
+ * import {
628
628
  * Worker,
629
629
  * isMainThread,
630
630
  * setEnvironmentData,
631
631
  * getEnvironmentData,
632
- * } = require('node:worker_threads');
632
+ * } from 'node:worker_threads';
633
633
  *
634
634
  * if (isMainThread) {
635
635
  * setEnvironmentData('Hello', 'World!');
@@ -658,7 +658,7 @@ declare module "worker_threads" {
658
658
  } from "worker_threads";
659
659
  global {
660
660
  /**
661
- * `BroadcastChannel` class is a global reference for `require('worker_threads').BroadcastChannel`
661
+ * `BroadcastChannel` class is a global reference for `import { BroadcastChannel } from 'node:worker_threads'`
662
662
  * https://nodejs.org/api/globals.html#broadcastchannel
663
663
  * @since v18.0.0
664
664
  */
@@ -668,7 +668,7 @@ declare module "worker_threads" {
668
668
  } ? T
669
669
  : typeof _BroadcastChannel;
670
670
  /**
671
- * `MessageChannel` class is a global reference for `require('worker_threads').MessageChannel`
671
+ * `MessageChannel` class is a global reference for `import { MessageChannel } from 'node:worker_threads'`
672
672
  * https://nodejs.org/api/globals.html#messagechannel
673
673
  * @since v15.0.0
674
674
  */
@@ -678,7 +678,7 @@ declare module "worker_threads" {
678
678
  } ? T
679
679
  : typeof _MessageChannel;
680
680
  /**
681
- * `MessagePort` class is a global reference for `require('worker_threads').MessagePort`
681
+ * `MessagePort` class is a global reference for `import { MessagePort } from 'node:worker_threads'`
682
682
  * https://nodejs.org/api/globals.html#messageport
683
683
  * @since v15.0.0
684
684
  */
@@ -5,7 +5,7 @@
5
5
  * To access it:
6
6
  *
7
7
  * ```js
8
- * const zlib = require('node:zlib');
8
+ * import zlib from 'node:zlib';
9
9
  * ```
10
10
  *
11
11
  * Compression and decompression are built around the Node.js
@@ -16,12 +16,12 @@
16
16
  * stream:
17
17
  *
18
18
  * ```js
19
- * const { createGzip } = require('node:zlib');
20
- * const { pipeline } = require('node:stream');
21
- * const {
19
+ * import { createGzip } from 'node:zlib';
20
+ * import { pipeline } from 'node:stream';
21
+ * import {
22
22
  * createReadStream,
23
23
  * createWriteStream,
24
- * } = require('node:fs');
24
+ * } from 'node:fs';
25
25
  *
26
26
  * const gzip = createGzip();
27
27
  * const source = createReadStream('input.txt');
@@ -36,7 +36,7 @@
36
36
  *
37
37
  * // Or, Promisified
38
38
  *
39
- * const { promisify } = require('node:util');
39
+ * import { promisify } from 'node:util';
40
40
  * const pipe = promisify(pipeline);
41
41
  *
42
42
  * async function do_gzip(input, output) {
@@ -56,7 +56,7 @@
56
56
  * It is also possible to compress or decompress data in a single step:
57
57
  *
58
58
  * ```js
59
- * const { deflate, unzip } = require('node:zlib');
59
+ * import { deflate, unzip } from 'node:zlib';
60
60
  *
61
61
  * const input = '.................................';
62
62
  * deflate(input, (err, buffer) => {
@@ -78,7 +78,7 @@
78
78
  *
79
79
  * // Or, Promisified
80
80
  *
81
- * const { promisify } = require('node:util');
81
+ * import { promisify } from 'node:util';
82
82
  * const do_unzip = promisify(unzip);
83
83
  *
84
84
  * do_unzip(buffer)
@@ -1,5 +1,5 @@
1
1
  # debug
2
- [![Build Status](https://travis-ci.org/debug-js/debug.svg?branch=master)](https://travis-ci.org/debug-js/debug) [![Coverage Status](https://coveralls.io/repos/github/debug-js/debug/badge.svg?branch=master)](https://coveralls.io/github/debug-js/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
2
+ [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
3
3
  [![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
4
4
 
5
5
  <img width="647" src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png">
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "debug",
3
- "version": "4.3.6",
3
+ "version": "4.3.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git://github.com/debug-js/debug.git"
@@ -31,7 +31,7 @@
31
31
  "test:coverage": "cat ./coverage/lcov.info | coveralls"
32
32
  },
33
33
  "dependencies": {
34
- "ms": "2.1.2"
34
+ "ms": "^2.1.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "brfs": "^2.0.1",
@@ -17,7 +17,7 @@ on:
17
17
 
18
18
  jobs:
19
19
  test:
20
- uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.2.0
20
+ uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5.0.0
21
21
  with:
22
22
  license-check: true
23
- node-versions: '["16", "18", "20"]'
23
+ node-versions: '["16", "18", "20", "22"]'
@@ -17,4 +17,4 @@ on:
17
17
 
18
18
  jobs:
19
19
  test:
20
- uses: fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v4.1.0
20
+ uses: fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v5.0.0
@@ -135,8 +135,7 @@ function serialize (cmpts, opts) {
135
135
  }
136
136
 
137
137
  if (options.reference !== 'suffix' && components.scheme) {
138
- uriTokens.push(components.scheme)
139
- uriTokens.push(':')
138
+ uriTokens.push(components.scheme, ':')
140
139
  }
141
140
 
142
141
  const authority = recomposeAuthority(components, options)
@@ -166,13 +165,11 @@ function serialize (cmpts, opts) {
166
165
  }
167
166
 
168
167
  if (components.query !== undefined) {
169
- uriTokens.push('?')
170
- uriTokens.push(components.query)
168
+ uriTokens.push('?', components.query)
171
169
  }
172
170
 
173
171
  if (components.fragment !== undefined) {
174
- uriTokens.push('#')
175
- uriTokens.push(components.fragment)
172
+ uriTokens.push('#', components.fragment)
176
173
  }
177
174
  return uriTokens.join('')
178
175
  }
@@ -270,9 +267,6 @@ function parse (uri, opts) {
270
267
  if (gotEncoding && parsed.scheme !== undefined) {
271
268
  parsed.scheme = unescape(parsed.scheme)
272
269
  }
273
- if (gotEncoding && parsed.userinfo !== undefined) {
274
- parsed.userinfo = unescape(parsed.userinfo)
275
- }
276
270
  if (gotEncoding && parsed.host !== undefined) {
277
271
  parsed.host = unescape(parsed.host)
278
272
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "fast-uri",
3
3
  "description": "Dependency free RFC 3986 URI toolbox",
4
- "version": "3.0.1",
4
+ "version": "3.0.3",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
7
7
  "types": "types/index.d.ts",
8
- "license": "MIT",
8
+ "license": "BSD-3-Clause",
9
9
  "author": "Vincent Le Goff <vince.legoff@gmail.com> (https://github.com/zekth)",
10
10
  "repository": {
11
11
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "lint:fix": "standard --fix",
22
22
  "test": "npm run lint && npm run test:unit && npm run test:typescript",
23
23
  "test:ci": "npm run lint && npm run test:unit -- --coverage-report=lcovonly && npm run test:typescript",
24
- "test:unit": "tap",
24
+ "test:unit": "npx tape test/**/*.js",
25
25
  "test:unit:dev": "npm run test:unit -- --coverage-report=html",
26
26
  "test:typescript": "tsd"
27
27
  },
@@ -32,7 +32,7 @@
32
32
  "coveralls": "^3.1.1",
33
33
  "snazzy": "^9.0.0",
34
34
  "standard": "^17.1.0",
35
- "tap": "^18.7.2",
35
+ "tape": "^5.8.1",
36
36
  "tsd": "^0.31.0",
37
37
  "uri-js": "^4.4.1"
38
38
  }
@@ -3,7 +3,7 @@ const fastUri = require('../')
3
3
  const ajv = new AJV({
4
4
  uriResolver: fastUri // comment this line to see it works with uri-js
5
5
  })
6
- const { test } = require('tap')
6
+ const test = require('tape')
7
7
 
8
8
  test('ajv', t => {
9
9
  t.plan(1)
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const tap = require('tap')
4
- const test = tap.test
3
+ const test = require('tape')
5
4
  const fastifyURI = require('../')
6
5
  const urijs = require('uri-js')
7
6
 
@@ -18,6 +17,8 @@ test('compatibility Parse', (t) => {
18
17
  '//[2001:db8::001]:80',
19
18
  'uri://user:pass@example.com:123/one/two.three?q1=a1&q2=a2#body',
20
19
  'http://user:pass@example.com:123/one/space in.url?q1=a1&q2=a2#body',
20
+ 'http://User:Pass@example.com:123/one/space in.url?q1=a1&q2=a2#body',
21
+ 'http://A%3AB@example.com:123/one/space',
21
22
  '//[::ffff:129.144.52.38]',
22
23
  'uri://10.10.10.10.example.com/en/process',
23
24
  '//[2606:2800:220:1:248:1893:25c8:1946]/test',
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const tap = require('tap')
4
- const test = tap.test
3
+ const test = require('tape')
5
4
  const URI = require('../')
6
5
 
7
6
  const fn = URI.equal
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const tap = require('tap')
4
- const test = tap.test
3
+ const test = require('tape')
5
4
  const URI = require('../')
6
5
 
7
6
  test('URI parse', (t) => {
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const tap = require('tap')
4
- const test = tap.test
3
+ const test = require('tape')
5
4
  const URI = require('../')
6
5
 
7
6
  test('URI Resolving', (t) => {
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const tap = require('tap')
4
- const test = tap.test
3
+ const test = require('tape')
5
4
  const URI = require('../')
6
5
 
7
6
  test('URI Serialize', (t) => {