@emulsify/cli 1.11.0 → 1.11.2

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 (86) hide show
  1. package/dist/handlers/systemInstall.js +3 -4
  2. package/dist/node_modules/.package-lock.json +18 -18
  3. package/dist/node_modules/@types/node/README.md +1 -1
  4. package/dist/node_modules/@types/node/assert.d.ts +2 -2
  5. package/dist/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  6. package/dist/node_modules/@types/node/buffer.d.ts +30 -390
  7. package/dist/node_modules/@types/node/child_process.d.ts +32 -28
  8. package/dist/node_modules/@types/node/cluster.d.ts +1 -1
  9. package/dist/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  10. package/dist/node_modules/@types/node/compatibility/index.d.ts +9 -0
  11. package/dist/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  12. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  13. package/dist/node_modules/@types/node/console.d.ts +2 -2
  14. package/dist/node_modules/@types/node/crypto.d.ts +3 -3
  15. package/dist/node_modules/@types/node/dns/promises.d.ts +6 -5
  16. package/dist/node_modules/@types/node/dns.d.ts +5 -5
  17. package/dist/node_modules/@types/node/domain.d.ts +2 -2
  18. package/dist/node_modules/@types/node/events.d.ts +3 -3
  19. package/dist/node_modules/@types/node/fs/promises.d.ts +2 -2
  20. package/dist/node_modules/@types/node/fs.d.ts +2 -2
  21. package/dist/node_modules/@types/node/globals.d.ts +124 -68
  22. package/dist/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  23. package/dist/node_modules/@types/node/http.d.ts +43 -7
  24. package/dist/node_modules/@types/node/http2.d.ts +238 -101
  25. package/dist/node_modules/@types/node/https.d.ts +17 -23
  26. package/dist/node_modules/@types/node/index.d.ts +11 -9
  27. package/dist/node_modules/@types/node/module.d.ts +3 -3
  28. package/dist/node_modules/@types/node/net.d.ts +8 -2
  29. package/dist/node_modules/@types/node/os.d.ts +1 -1
  30. package/dist/node_modules/@types/node/package.json +10 -2
  31. package/dist/node_modules/@types/node/path.d.ts +10 -1
  32. package/dist/node_modules/@types/node/perf_hooks.d.ts +19 -19
  33. package/dist/node_modules/@types/node/punycode.d.ts +1 -1
  34. package/dist/node_modules/@types/node/querystring.d.ts +1 -1
  35. package/dist/node_modules/@types/node/readline/promises.d.ts +1 -1
  36. package/dist/node_modules/@types/node/readline.d.ts +10 -10
  37. package/dist/node_modules/@types/node/repl.d.ts +4 -4
  38. package/dist/node_modules/@types/node/stream/promises.d.ts +8 -1
  39. package/dist/node_modules/@types/node/stream/web.d.ts +182 -25
  40. package/dist/node_modules/@types/node/stream.d.ts +36 -17
  41. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  42. package/dist/node_modules/@types/node/test.d.ts +85 -12
  43. package/dist/node_modules/@types/node/timers/promises.d.ts +1 -1
  44. package/dist/node_modules/@types/node/timers.d.ts +1 -1
  45. package/dist/node_modules/@types/node/tls.d.ts +5 -5
  46. package/dist/node_modules/@types/node/trace_events.d.ts +4 -4
  47. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  48. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  49. package/dist/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  50. package/dist/node_modules/@types/node/tty.d.ts +1 -1
  51. package/dist/node_modules/@types/node/url.d.ts +14 -11
  52. package/dist/node_modules/@types/node/util.d.ts +49 -49
  53. package/dist/node_modules/@types/node/v8.d.ts +12 -12
  54. package/dist/node_modules/@types/node/vm.d.ts +11 -12
  55. package/dist/node_modules/@types/node/worker_threads.d.ts +22 -22
  56. package/dist/node_modules/@types/node/zlib.d.ts +8 -8
  57. package/dist/node_modules/debug/README.md +1 -1
  58. package/dist/node_modules/debug/package.json +2 -2
  59. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +2 -2
  60. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  61. package/dist/node_modules/fast-uri/index.js +3 -9
  62. package/dist/node_modules/fast-uri/package.json +4 -4
  63. package/dist/node_modules/fast-uri/test/ajv.test.js +1 -1
  64. package/dist/node_modules/fast-uri/test/compatibility.test.js +3 -2
  65. package/dist/node_modules/fast-uri/test/equal.test.js +1 -2
  66. package/dist/node_modules/fast-uri/test/parse.test.js +1 -2
  67. package/dist/node_modules/fast-uri/test/resolve.test.js +1 -2
  68. package/dist/node_modules/fast-uri/test/serialize.test.js +1 -2
  69. package/dist/node_modules/fast-uri/test/uri-js.test.js +539 -567
  70. package/dist/node_modules/fast-uri/test/util.test.js +2 -3
  71. package/dist/node_modules/ms/index.js +1 -1
  72. package/dist/node_modules/ms/license.md +1 -1
  73. package/dist/node_modules/ms/package.json +5 -4
  74. package/dist/node_modules/ms/readme.md +1 -2
  75. package/dist/node_modules/simple-git/dist/cjs/index.js +14 -15
  76. package/dist/node_modules/simple-git/dist/cjs/index.js.map +2 -2
  77. package/dist/node_modules/simple-git/dist/esm/index.js +14 -15
  78. package/dist/node_modules/simple-git/dist/esm/index.js.map +2 -2
  79. package/dist/node_modules/simple-git/dist/typings/response.d.ts +7 -6
  80. package/dist/node_modules/simple-git/package.json +5 -5
  81. package/dist/package-lock.json +720 -643
  82. package/dist/package.json +2 -2
  83. package/dist/util/cache/copyItemFromCache.js +9 -1
  84. package/package.json +2 -2
  85. package/dist/node_modules/@types/node/globals.global.d.ts +0 -1
  86. package/dist/node_modules/fast-uri/.taprc +0 -3
@@ -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 {
6
5
  stringArrayToHexStripped
7
6
  } = require('../lib/utils')
@@ -19,6 +18,6 @@ test('stringArrayToHexStripped', (t) => {
19
18
  t.plan(testCases.length)
20
19
 
21
20
  testCases.forEach(([input, expected]) => {
22
- t.strictSame(stringArrayToHexStripped(input[0], input[1]), expected)
21
+ t.same(stringArrayToHexStripped(input[0], input[1]), expected)
23
22
  })
24
23
  })
@@ -23,7 +23,7 @@ var y = d * 365.25;
23
23
  * @api public
24
24
  */
25
25
 
26
- module.exports = function(val, options) {
26
+ module.exports = function (val, options) {
27
27
  options = options || {};
28
28
  var type = typeof val;
29
29
  if (type === 'string' && val.length > 0) {
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 Zeit, Inc.
3
+ Copyright (c) 2020 Vercel, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "ms",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Tiny millisecond conversion utility",
5
- "repository": "zeit/ms",
5
+ "repository": "vercel/ms",
6
6
  "main": "./index",
7
7
  "files": [
8
8
  "index.js"
@@ -28,10 +28,11 @@
28
28
  },
29
29
  "license": "MIT",
30
30
  "devDependencies": {
31
- "eslint": "4.12.1",
31
+ "eslint": "4.18.2",
32
32
  "expect.js": "0.3.1",
33
33
  "husky": "0.14.3",
34
34
  "lint-staged": "5.0.0",
35
- "mocha": "4.0.1"
35
+ "mocha": "4.0.1",
36
+ "prettier": "2.0.5"
36
37
  }
37
38
  }
@@ -1,7 +1,6 @@
1
1
  # ms
2
2
 
3
- [![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms)
4
- [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit)
3
+ ![CI](https://github.com/vercel/ms/workflows/CI/badge.svg)
5
4
 
6
5
  Use this package to easily convert various time formats to milliseconds.
7
6
 
@@ -2540,15 +2540,17 @@ var init_parse_diff_summary = __esm({
2540
2540
  nameStatusParser = [
2541
2541
  new LineParser(
2542
2542
  /([ACDMRTUXB])([0-9]{0,3})\t(.[^\t]*)(\t(.[^\t]*))?$/,
2543
- (result, [status, _similarity, from, _to, to]) => {
2543
+ (result, [status, similarity, from, _to, to]) => {
2544
2544
  result.changed++;
2545
2545
  result.files.push({
2546
2546
  file: to != null ? to : from,
2547
2547
  changes: 0,
2548
- status: orVoid(isDiffNameStatus(status) && status),
2549
2548
  insertions: 0,
2550
2549
  deletions: 0,
2551
- binary: false
2550
+ binary: false,
2551
+ status: orVoid(isDiffNameStatus(status) && status),
2552
+ from: orVoid(!!to && from !== to && from),
2553
+ similarity: asNumber(similarity)
2552
2554
  });
2553
2555
  }
2554
2556
  )
@@ -2577,15 +2579,12 @@ function createListLogSummaryParser(splitter = SPLITTER, fields = defaultFieldNa
2577
2579
  const parseDiffResult = getDiffParser(logFormat);
2578
2580
  return function(stdOut) {
2579
2581
  const all = toLinesWithContent(
2580
- stdOut,
2581
- true,
2582
+ stdOut.trim(),
2583
+ false,
2582
2584
  START_BOUNDARY
2583
2585
  ).map(function(item) {
2584
- const lineDetail = item.trim().split(COMMIT_BOUNDARY);
2585
- const listLogLine = lineBuilder(
2586
- lineDetail[0].trim().split(splitter),
2587
- fields
2588
- );
2586
+ const lineDetail = item.split(COMMIT_BOUNDARY);
2587
+ const listLogLine = lineBuilder(lineDetail[0].split(splitter), fields);
2589
2588
  if (lineDetail.length > 1 && !!lineDetail[1].trim()) {
2590
2589
  listLogLine.diff = parseDiffResult(lineDetail[1]);
2591
2590
  }
@@ -3207,16 +3206,16 @@ var fromPathRegex, FileStatusSummary;
3207
3206
  var init_FileStatusSummary = __esm({
3208
3207
  "src/lib/responses/FileStatusSummary.ts"() {
3209
3208
  "use strict";
3210
- fromPathRegex = /^(.+) -> (.+)$/;
3209
+ fromPathRegex = /^(.+)\0(.+)$/;
3211
3210
  FileStatusSummary = class {
3212
3211
  constructor(path, index, working_dir) {
3213
3212
  this.path = path;
3214
3213
  this.index = index;
3215
3214
  this.working_dir = working_dir;
3216
- if ("R" === index + working_dir) {
3215
+ if (index === "R" || working_dir === "R") {
3217
3216
  const detail = fromPathRegex.exec(path) || [null, path, path];
3218
- this.from = detail[1] || "";
3219
- this.path = detail[2] || "";
3217
+ this.from = detail[2] || "";
3218
+ this.path = detail[1] || "";
3220
3219
  }
3221
3220
  }
3222
3221
  };
@@ -3254,7 +3253,7 @@ function splitLine(result, lineStr) {
3254
3253
  handler(result, path);
3255
3254
  }
3256
3255
  if (raw !== "##" && raw !== "!!") {
3257
- result.files.push(new FileStatusSummary(path.replace(/\0.+$/, ""), index, workingDir));
3256
+ result.files.push(new FileStatusSummary(path, index, workingDir));
3258
3257
  }
3259
3258
  }
3260
3259
  }