nativescript 8.5.3 → 8.5.4-dev.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 (227) hide show
  1. package/config/config.json +0 -5
  2. package/lib/.d.ts +2 -37
  3. package/lib/bootstrap.js +1 -12
  4. package/lib/color.js +5 -0
  5. package/lib/commands/build.js +2 -6
  6. package/lib/commands/clean.js +11 -10
  7. package/lib/commands/config.js +6 -5
  8. package/lib/commands/create-project.js +12 -11
  9. package/lib/commands/debug.js +10 -11
  10. package/lib/commands/plugin/list-plugins.js +3 -2
  11. package/lib/commands/post-install.js +3 -5
  12. package/lib/commands/preview.js +4 -3
  13. package/lib/commands/run.js +17 -19
  14. package/lib/commands/test-init.js +14 -15
  15. package/lib/commands/test.js +0 -3
  16. package/lib/commands/update.js +1 -1
  17. package/lib/common/bootstrap.js +0 -1
  18. package/lib/common/child-process.js +3 -3
  19. package/lib/common/codeGeneration/code-printer.js +1 -1
  20. package/lib/common/commands/device/device-log-stream.js +1 -1
  21. package/lib/common/commands/device/list-devices.js +7 -8
  22. package/lib/common/commands/generate-messages.js +1 -1
  23. package/lib/common/constants.js +11 -11
  24. package/lib/common/declarations.d.ts +1 -53
  25. package/lib/common/definitions/commands-service.d.ts +0 -1
  26. package/lib/common/definitions/commands.d.ts +0 -1
  27. package/lib/common/definitions/google-analytics.d.ts +0 -5
  28. package/lib/common/dispatchers.js +0 -5
  29. package/lib/common/file-system.js +18 -22
  30. package/lib/common/host-info.js +4 -4
  31. package/lib/common/http-client.js +2 -2
  32. package/lib/common/logger/layouts/cli-layout.js +6 -2
  33. package/lib/common/logger/logger.js +7 -7
  34. package/lib/common/mobile/android/android-debug-bridge-result-handler.js +1 -1
  35. package/lib/common/mobile/android/android-log-filter.js +5 -5
  36. package/lib/common/mobile/android/android-virtual-device-service.js +2 -2
  37. package/lib/common/mobile/android/genymotion/genymotion-service.js +2 -2
  38. package/lib/common/mobile/android/logcat-helper.js +1 -1
  39. package/lib/common/mobile/device-log-provider.js +8 -8
  40. package/lib/common/mobile/ios/device/ios-device-file-system.js +1 -1
  41. package/lib/common/mobile/ios/simulator/ios-emulator-services.js +1 -1
  42. package/lib/common/mobile/ios/simulator/ios-sim-resolver.js +1 -1
  43. package/lib/common/mobile/mobile-helper.js +1 -1
  44. package/lib/common/mobile/wp8/wp8-emulator-services.js +4 -4
  45. package/lib/common/opener.js +5 -1
  46. package/lib/common/plist-parser.js +3 -3
  47. package/lib/common/project-helper.js +2 -2
  48. package/lib/common/services/analytics/google-analytics-custom-dimensions.d.ts +7 -7
  49. package/lib/common/services/auto-completion-service.js +2 -2
  50. package/lib/common/services/commands-service.js +5 -114
  51. package/lib/common/services/help-service.js +16 -16
  52. package/lib/common/services/hooks-service.js +2 -1
  53. package/lib/common/services/json-file-settings-service.js +3 -3
  54. package/lib/common/services/lock-service.js +5 -5
  55. package/lib/common/services/messages-service.js +6 -6
  56. package/lib/common/services/net-service.js +1 -1
  57. package/lib/common/services/project-files-manager.js +2 -2
  58. package/lib/common/services/settings-service.js +2 -2
  59. package/lib/common/validators/project-name-validator.js +1 -1
  60. package/lib/common/validators/validation-result.js +1 -1
  61. package/lib/common/verify-node-version.js +2 -2
  62. package/lib/config.js +3 -8
  63. package/lib/constants.js +18 -32
  64. package/lib/controllers/build-controller.js +5 -5
  65. package/lib/controllers/debug-controller.js +2 -2
  66. package/lib/controllers/migrate-controller.js +21 -20
  67. package/lib/controllers/update-controller.js +5 -4
  68. package/lib/declarations.d.ts +0 -24
  69. package/lib/definitions/build.d.ts +1 -1
  70. package/lib/definitions/livesync.d.ts +0 -10
  71. package/lib/definitions/project.d.ts +0 -6
  72. package/lib/definitions/xcode.d.ts +1 -1
  73. package/lib/device-sockets/ios/app-debug-socket-proxy-factory.js +15 -4
  74. package/lib/device-sockets/ios/notification.js +1 -1
  75. package/lib/helpers/android-bundle-validator-helper.js +1 -1
  76. package/lib/helpers/network-connectivity-validator.js +1 -1
  77. package/lib/helpers/options-track-helper.js +1 -1
  78. package/lib/nativescript-cli.js +8 -10
  79. package/lib/options.js +61 -21
  80. package/lib/package-installation-manager.js +5 -4
  81. package/lib/project-data.js +9 -10
  82. package/lib/providers/project-files-provider.js +3 -3
  83. package/lib/services/analytics/analytics-broker-process.js +0 -3
  84. package/lib/services/analytics/analytics-broker.js +5 -5
  85. package/lib/services/analytics/analytics-service.js +0 -4
  86. package/lib/services/analytics/analytics.d.ts +1 -8
  87. package/lib/services/analytics/google-analytics-provider.js +1 -21
  88. package/lib/services/analytics-settings-service.js +3 -11
  89. package/lib/services/android-device-debug-service.js +3 -3
  90. package/lib/services/android-plugin-build-service.js +3 -3
  91. package/lib/services/android-resources-migration-service.js +1 -1
  92. package/lib/services/assets-generation/assets-generation-service.js +5 -5
  93. package/lib/services/{build-artefacts-service.js → build-artifacts-service.js} +4 -4
  94. package/lib/services/cocoapods-service.js +1 -1
  95. package/lib/services/device/device-install-app-service.js +3 -3
  96. package/lib/services/doctor-service.js +10 -9
  97. package/lib/services/extensibility-service.js +8 -8
  98. package/lib/services/ios-entitlements-service.js +1 -1
  99. package/lib/services/ios-project-service.js +5 -5
  100. package/lib/services/ios-provision-service.js +7 -7
  101. package/lib/services/ios-watch-app-service.js +1 -1
  102. package/lib/services/ip-service.js +2 -4
  103. package/lib/services/itmstransporter-service.js +2 -2
  104. package/lib/services/livesync/android-device-livesync-sockets-service.js +1 -1
  105. package/lib/services/livesync/android-livesync-tool.js +5 -5
  106. package/lib/services/livesync/ios-device-livesync-service.js +2 -2
  107. package/lib/services/livesync/platform-livesync-service-base.js +2 -1
  108. package/lib/services/log-parser-service.js +1 -5
  109. package/lib/services/log-source-map-service.js +10 -7
  110. package/lib/services/npm-config-service.js +23 -9
  111. package/lib/services/performance-service.js +3 -3
  112. package/lib/services/platform-environment-requirements.js +1 -1
  113. package/lib/services/plugins-service.js +19 -19
  114. package/lib/services/project-backup-service.js +4 -3
  115. package/lib/services/project-cleanup-service.js +4 -3
  116. package/lib/services/test-execution-service.js +2 -2
  117. package/lib/services/timeline-profiler-service.js +4 -1
  118. package/lib/services/user-settings-service.js +4 -4
  119. package/lib/tools/config-manipulation/config-transformer.js +3 -3
  120. package/lib/tools/node-modules/node-modules-builder.js +1 -1
  121. package/node_modules/@npmcli/move-file/LICENSE.md +22 -0
  122. package/node_modules/@npmcli/move-file/README.md +69 -0
  123. package/node_modules/@npmcli/move-file/lib/index.js +185 -0
  124. package/node_modules/@npmcli/move-file/node_modules/mkdirp/CHANGELOG.md +15 -0
  125. package/node_modules/@npmcli/move-file/node_modules/mkdirp/LICENSE +21 -0
  126. package/node_modules/@npmcli/move-file/node_modules/mkdirp/bin/cmd.js +68 -0
  127. package/node_modules/@npmcli/move-file/node_modules/mkdirp/index.js +31 -0
  128. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/find-made.js +29 -0
  129. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
  130. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
  131. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/opts-arg.js +23 -0
  132. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/path-arg.js +29 -0
  133. package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/use-native.js +10 -0
  134. package/node_modules/@npmcli/move-file/node_modules/mkdirp/package.json +44 -0
  135. package/node_modules/@npmcli/move-file/node_modules/mkdirp/readme.markdown +266 -0
  136. package/node_modules/@npmcli/move-file/package.json +47 -0
  137. package/node_modules/balanced-match/.npmignore +5 -0
  138. package/node_modules/balanced-match/LICENSE.md +21 -0
  139. package/node_modules/balanced-match/README.md +91 -0
  140. package/node_modules/balanced-match/index.js +59 -0
  141. package/node_modules/balanced-match/package.json +49 -0
  142. package/node_modules/brace-expansion/LICENSE +21 -0
  143. package/node_modules/brace-expansion/README.md +129 -0
  144. package/node_modules/brace-expansion/index.js +201 -0
  145. package/node_modules/brace-expansion/package.json +47 -0
  146. package/node_modules/concat-map/.travis.yml +4 -0
  147. package/node_modules/concat-map/LICENSE +18 -0
  148. package/node_modules/concat-map/README.markdown +62 -0
  149. package/node_modules/concat-map/example/map.js +6 -0
  150. package/node_modules/concat-map/index.js +13 -0
  151. package/node_modules/concat-map/package.json +43 -0
  152. package/node_modules/concat-map/test/map.js +39 -0
  153. package/node_modules/fs.realpath/LICENSE +43 -0
  154. package/node_modules/fs.realpath/README.md +33 -0
  155. package/node_modules/fs.realpath/index.js +66 -0
  156. package/node_modules/fs.realpath/old.js +303 -0
  157. package/node_modules/fs.realpath/package.json +26 -0
  158. package/node_modules/inflight/LICENSE +15 -0
  159. package/node_modules/inflight/README.md +37 -0
  160. package/node_modules/inflight/inflight.js +54 -0
  161. package/node_modules/inflight/package.json +29 -0
  162. package/node_modules/inherits/LICENSE +16 -0
  163. package/node_modules/inherits/README.md +42 -0
  164. package/node_modules/inherits/inherits.js +9 -0
  165. package/node_modules/inherits/inherits_browser.js +27 -0
  166. package/node_modules/inherits/package.json +29 -0
  167. package/node_modules/once/LICENSE +15 -0
  168. package/node_modules/once/README.md +79 -0
  169. package/node_modules/once/once.js +42 -0
  170. package/node_modules/once/package.json +33 -0
  171. package/node_modules/path-is-absolute/index.js +20 -0
  172. package/node_modules/path-is-absolute/license +21 -0
  173. package/node_modules/path-is-absolute/package.json +43 -0
  174. package/node_modules/path-is-absolute/readme.md +59 -0
  175. package/node_modules/rimraf/CHANGELOG.md +65 -0
  176. package/node_modules/rimraf/LICENSE +15 -0
  177. package/node_modules/rimraf/README.md +101 -0
  178. package/node_modules/rimraf/bin.js +68 -0
  179. package/node_modules/rimraf/node_modules/glob/LICENSE +21 -0
  180. package/node_modules/rimraf/node_modules/glob/README.md +378 -0
  181. package/node_modules/rimraf/node_modules/glob/common.js +238 -0
  182. package/node_modules/rimraf/node_modules/glob/glob.js +790 -0
  183. package/node_modules/rimraf/node_modules/glob/package.json +55 -0
  184. package/node_modules/rimraf/node_modules/glob/sync.js +486 -0
  185. package/node_modules/rimraf/node_modules/minimatch/LICENSE +15 -0
  186. package/node_modules/rimraf/node_modules/minimatch/README.md +230 -0
  187. package/node_modules/rimraf/node_modules/minimatch/minimatch.js +947 -0
  188. package/node_modules/rimraf/node_modules/minimatch/package.json +33 -0
  189. package/node_modules/rimraf/package.json +32 -0
  190. package/node_modules/rimraf/rimraf.js +360 -0
  191. package/node_modules/stringify-package/CHANGELOG.md +16 -0
  192. package/node_modules/stringify-package/LICENSE +13 -0
  193. package/node_modules/stringify-package/README.md +55 -0
  194. package/node_modules/stringify-package/index.js +18 -0
  195. package/node_modules/stringify-package/package.json +38 -0
  196. package/node_modules/wrappy/LICENSE +15 -0
  197. package/node_modules/wrappy/README.md +36 -0
  198. package/node_modules/wrappy/package.json +29 -0
  199. package/node_modules/wrappy/wrappy.js +33 -0
  200. package/package.json +88 -89
  201. package/lib/common/definitions/byline.d.ts +0 -4
  202. package/lib/common/definitions/colors.d.ts +0 -24
  203. package/lib/common/definitions/marked.d.ts +0 -125
  204. package/lib/common/definitions/open.d.ts +0 -5
  205. package/lib/common/definitions/osenv.d.ts +0 -4
  206. package/lib/common/definitions/plist.d.ts +0 -7
  207. package/lib/common/definitions/rimraf.d.ts +0 -9
  208. package/lib/common/definitions/shelljs.d.ts +0 -583
  209. package/lib/common/definitions/simple-plist.d.ts +0 -7
  210. package/lib/common/definitions/xmlhttprequest.d.ts +0 -29
  211. package/lib/controllers/company-insights-controller.js +0 -78
  212. package/lib/controllers/preview-app-controller.js +0 -251
  213. package/lib/definitions/company-insights-controller.d.ts +0 -59
  214. package/lib/definitions/email-validator.d.ts +0 -8
  215. package/lib/definitions/libnpmconfig.d.ts +0 -3
  216. package/lib/definitions/npm.d.ts +0 -12
  217. package/lib/definitions/preview-app-livesync.d.ts +0 -116
  218. package/lib/services/livesync/playground/devices/preview-devices-service.js +0 -67
  219. package/lib/services/livesync/playground/preview-app-constants.js +0 -23
  220. package/lib/services/livesync/playground/preview-app-files-service.js +0 -83
  221. package/lib/services/livesync/playground/preview-app-log-provider.js +0 -14
  222. package/lib/services/livesync/playground/preview-app-plugins-service.js +0 -134
  223. package/lib/services/livesync/playground/preview-qr-code-service.js +0 -109
  224. package/lib/services/livesync/playground/preview-schema-service.js +0 -57
  225. package/lib/services/livesync/playground/preview-sdk-service.js +0 -112
  226. package/lib/services/playground-service.js +0 -65
  227. package/lib/xml-validator.js +0 -47
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
3
  "preferGlobal": true,
4
- "version": "8.5.3",
4
+ "version": "8.5.4-dev.0",
5
5
  "author": "NativeScript <support@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "build": "grunt",
34
34
  "build.all": "grunt test",
35
35
  "dev": "tsc --watch",
36
- "setup": "npm i --ignore-scripts --legacy-peer-deps && npx husky install",
36
+ "setup": "npm i --ignore-scripts && npx husky install",
37
37
  "test": "mocha --config=test/.mocharc.yml",
38
38
  "postinstall": "node postinstall.js",
39
39
  "preuninstall": "node preuninstall.js",
@@ -41,9 +41,7 @@
41
41
  "postpack": "grunt set_dev_ga_id",
42
42
  "mocha": "mocha",
43
43
  "tsc": "tsc",
44
- "tslint": "tslint -p tsconfig.json",
45
44
  "test-watch": "node ./dev/tsc-to-mocha-watch.js",
46
- "tslint-fix": "tslint -p tsconfig.json --fix",
47
45
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
48
46
  "prettier": "prettier --write ./lib/**/*{.ts,.d.ts} ./test/**/*{.ts,.d.ts}"
49
47
  },
@@ -59,122 +57,116 @@
59
57
  "dependencies": {
60
58
  "@nativescript/doctor": "2.0.11",
61
59
  "@nativescript/schematics-executor": "0.0.2",
62
- "@rigor789/resolve-package-path": "^1.0.5",
60
+ "@npmcli/move-file": "^2.0.0",
61
+ "@rigor789/resolve-package-path": "1.0.5",
63
62
  "@rigor789/trapezedev-project": "^7.1.0",
64
- "axios": "^0.21.1",
63
+ "archiver": "^5.3.1",
64
+ "axios": "1.3.5",
65
65
  "byline": "5.0.0",
66
- "chalk": "4.1.0",
67
- "chokidar": "3.5.1",
68
- "cli-table": "https://github.com/telerik-boneyard/cli-table/tarball/v0.3.1.2",
69
- "color": "3.1.2",
70
- "colors": "1.4.0",
71
- "convert-source-map": "1.7.0",
66
+ "chalk": "4.1.2",
67
+ "chokidar": "3.5.3",
68
+ "cli-table": "npm:cli-table3@0.6.3",
69
+ "color": "4.2.3",
70
+ "convert-source-map": "2.0.0",
72
71
  "detect-newline": "3.1.0",
73
72
  "email-validator": "2.0.4",
74
73
  "esprima": "4.0.1",
75
74
  "font-finder": "1.1.0",
76
- "glob": "7.1.6",
75
+ "glob": "9.3.4",
77
76
  "ios-device-lib": "0.9.2",
78
- "ios-mobileprovision-finder": "1.0.11",
79
- "ios-sim-portable": "4.2.5",
80
- "istextorbinary": "5.9.0",
81
- "jimp": "0.14.0",
82
- "libnpmconfig": "1.2.1",
83
- "lodash": "4.17.19",
84
- "log4js": "6.3.0",
85
- "marked": "1.1.1",
86
- "marked-terminal": "https://github.com/NativeScript/marked-terminal/tarball/v3.1.1n",
87
- "minimatch": "3.0.4",
88
- "mkdirp": "1.0.4",
89
- "mute-stream": "0.0.8",
90
- "nativescript-dev-xcode": "0.2.1",
91
- "nativescript-preview-sdk": "0.4.2",
92
- "open": "7.1.0",
77
+ "ios-mobileprovision-finder": "1.1.0",
78
+ "ios-sim-portable": "4.4.0",
79
+ "jimp": "0.22.7",
80
+ "lodash": "4.17.21",
81
+ "log4js": "6.9.1",
82
+ "marked": "4.3.0",
83
+ "marked-terminal": "5.1.1",
84
+ "minimatch": "7.4.2",
85
+ "mkdirp": "2.1.6",
86
+ "mute-stream": "1.0.0",
87
+ "nativescript-dev-xcode": "0.5.0",
88
+ "open": "8.4.2",
93
89
  "ora": "5.4.1",
94
- "osenv": "0.1.5",
95
- "pacote": "11.1.11",
96
- "pako": "1.0.11",
90
+ "pacote": "15.1.1",
97
91
  "pbxproj-dom": "1.2.0",
98
- "plist": "3.0.1",
99
- "plist-merge-patch": "0.1.1",
100
- "prettier": "2.1.1",
92
+ "plist": "3.0.6",
93
+ "plist-merge-patch": "0.2.0",
94
+ "prettier": "2.8.7",
101
95
  "prompts": "2.4.2",
102
- "proper-lockfile": "4.1.1",
96
+ "proper-lockfile": "4.1.2",
103
97
  "proxy-lib": "0.4.0",
104
98
  "qr-image": "3.2.0",
105
99
  "qrcode-terminal": "0.12.0",
106
- "semver": "7.3.2",
107
- "shelljs": "0.8.4",
108
- "simple-git": "^2.20.1",
109
- "simple-plist": "1.1.0",
100
+ "semver": "7.3.8",
101
+ "shelljs": "0.8.5",
102
+ "simple-git": "3.17.0",
103
+ "simple-plist": "1.4.0",
110
104
  "source-map": "0.7.4",
111
105
  "stringify-package": "1.0.1",
112
- "tabtab": "https://github.com/Icenium/node-tabtab/tarball/master",
113
- "tar": "6.0.2",
114
- "temp": "0.9.1",
115
- "ts-morph": "8.1.0",
106
+ "tar": "6.1.13",
107
+ "temp": "0.9.4",
108
+ "ts-morph": "17.0.1",
116
109
  "tunnel": "0.0.6",
117
- "typescript": "4.5.5",
118
- "universal-analytics": "0.4.23",
119
- "uuid": "8.3.0",
110
+ "typescript": "5.0.3",
111
+ "universal-analytics": "0.5.3",
112
+ "uuid": "9.0.0",
120
113
  "winreg": "1.2.4",
121
- "ws": "7.3.1",
114
+ "ws": "8.13.0",
122
115
  "xml2js": "0.4.23",
123
- "xmldom": "0.3.0",
124
- "yargs": "17.3.1",
125
- "zipstream": "https://github.com/Icenium/node-zipstream/tarball/master"
116
+ "yargs": "17.7.1"
126
117
  },
127
118
  "analyze": true,
128
119
  "devDependencies": {
129
- "@types/chai": "4.2.12",
130
- "@types/chai-as-promised": "7.1.3",
120
+ "@types/archiver": "^5.3.2",
121
+ "@types/byline": "^4.2.33",
122
+ "@types/chai": "4.3.4",
123
+ "@types/chai-as-promised": "7.1.5",
131
124
  "@types/chokidar": "2.1.3",
132
- "@types/color": "3.0.1",
133
- "@types/convert-source-map": "^1.5.1",
125
+ "@types/color": "3.0.3",
126
+ "@types/convert-source-map": "2.0.0",
134
127
  "@types/form-data": "2.5.0",
135
- "@types/glob": "^7.1.3",
136
- "@types/istextorbinary": "^2.3.0",
137
- "@types/lodash": "4.14.158",
138
- "@types/minimatch": "^3.0.3",
139
- "@types/node": "14.0.27",
140
- "@types/pacote": "^11.1.0",
141
- "@types/prettier": "2.1.0",
142
- "@types/prompts": "2.4.2",
143
- "@types/proper-lockfile": "4.1.1",
144
- "@types/qr-image": "3.2.3",
145
- "@types/retry": "0.12.0",
146
- "@types/semver": "7.3.1",
147
- "@types/sinon": "9.0.4",
128
+ "@types/glob": "^8.1.0",
129
+ "@types/lodash": "4.14.192",
130
+ "@types/marked": "^4.0.8",
131
+ "@types/node": "18.15.11",
132
+ "@types/ora": "3.2.0",
133
+ "@types/pacote": "^11.1.5",
134
+ "@types/plist": "^3.0.2",
135
+ "@types/prettier": "2.7.2",
136
+ "@types/prompts": "2.4.4",
137
+ "@types/proper-lockfile": "4.1.2",
138
+ "@types/qr-image": "3.2.5",
139
+ "@types/retry": "0.12.2",
140
+ "@types/semver": "7.3.13",
141
+ "@types/shelljs": "^0.8.11",
142
+ "@types/sinon": "^10.0.13",
148
143
  "@types/source-map": "0.5.7",
149
- "@types/tar": "4.0.3",
144
+ "@types/tabtab": "^3.0.2",
145
+ "@types/tar": "6.1.4",
150
146
  "@types/temp": "0.9.1",
151
- "@types/tunnel": "0.0.1",
152
- "@types/universal-analytics": "0.4.4",
153
- "@types/uuid": "^8.3.0",
154
- "@types/ws": "7.2.6",
155
- "@types/xml2js": "0.4.5",
156
- "@types/yargs": "17.0.8",
157
- "chai": "4.2.0",
147
+ "@types/tunnel": "0.0.3",
148
+ "@types/universal-analytics": "0.4.5",
149
+ "@types/uuid": "^9.0.1",
150
+ "@types/ws": "8.5.4",
151
+ "@types/xml2js": "0.4.11",
152
+ "@types/yargs": "17.0.24",
153
+ "chai": "4.3.7",
158
154
  "chai-as-promised": "7.1.1",
159
- "conventional-changelog-cli": "^2.0.34",
160
- "grunt": "1.2.1",
161
- "grunt-contrib-clean": "2.0.0",
155
+ "conventional-changelog-cli": "^2.2.2",
156
+ "grunt": "1.6.1",
157
+ "grunt-contrib-clean": "2.0.1",
162
158
  "grunt-contrib-copy": "1.0.0",
163
159
  "grunt-contrib-watch": "1.1.0",
164
- "grunt-shell": "3.0.1",
160
+ "grunt-shell": "4.0.0",
165
161
  "grunt-template": "1.0.0",
166
162
  "grunt-ts": "6.0.0-beta.22",
167
- "husky": "7.0.2",
163
+ "husky": "8.0.3",
168
164
  "istanbul": "0.4.5",
169
165
  "latest-version": "5.1.0",
170
- "lint-staged": "^10.2.13",
171
- "mocha": "8.1.1",
172
- "should": "13.2.3",
173
- "sinon": "9.0.2",
174
- "source-map-support": "0.5.19",
175
- "tslint": "6.1.3",
176
- "tslint-config-prettier": "1.18.0",
177
- "tslint-microsoft-contrib": "6.2.0"
166
+ "lint-staged": "^13.2.0",
167
+ "mocha": "10.2.0",
168
+ "sinon": "15.0.3",
169
+ "source-map-support": "0.5.21"
178
170
  },
179
171
  "license": "Apache-2.0",
180
172
  "engines": {
@@ -182,5 +174,12 @@
182
174
  },
183
175
  "lint-staged": {
184
176
  "*.ts": "prettier --write"
185
- }
177
+ },
178
+ "bundleDependencies_comment1": "These dependencies are bundled in the CLI and are not installed from npm to avoid deprecation warnings.",
179
+ "bundleDependencies_comment2": "Eventually we'll remove them as we replaced their functionality.",
180
+ "bundleDependencies_comment3": "note: @npmcli/move-file is a transient dep of pacote - we dont use it directly.",
181
+ "bundleDependencies": [
182
+ "@npmcli/move-file",
183
+ "stringify-package"
184
+ ]
186
185
  }
@@ -1,4 +0,0 @@
1
- declare module "byline" {
2
- function lineStream(stream: any): any;
3
- export = lineStream;
4
- }
@@ -1,24 +0,0 @@
1
- declare module "colors" {
2
- export function setTheme(theme: any): void;
3
- export function addSequencer(name: string, callback: Function): void;
4
-
5
- // none, browser, console
6
- export var mode: string;
7
- }
8
-
9
- interface String {
10
- // In ES6 there's a method called `bold` in String interface.
11
- // bold: String;
12
- italic: String;
13
- underline: String;
14
- inverse: String;
15
- white: String;
16
- grey: String;
17
- black: String;
18
- blue: String;
19
- cyan: String;
20
- green: String;
21
- magenta: String;
22
- red: String;
23
- yellow: String;
24
- }
@@ -1,125 +0,0 @@
1
- // Type definitions for Marked
2
- // Project: https://github.com/chjj/marked
3
- // Definitions by: William Orr <https://github.com/worr>
4
- // Definitions: https://github.com/borisyankov/DefinitelyTyped
5
-
6
- interface MarkedStatic {
7
- /**
8
- * Compiles markdown to HTML.
9
- *
10
- * @param src String of markdown source to be compiled
11
- * @param callback Function called when the markdownString has been fully parsed when using async highlighting
12
- * @return String of compiled HTML
13
- */
14
- (src: string, callback?: Function): string;
15
-
16
- /**
17
- * Compiles markdown to HTML.
18
- *
19
- * @param src String of markdown source to be compiled
20
- * @param options Hash of options
21
- * @param callback Function called when the markdownString has been fully parsed when using async highlighting
22
- * @return String of compiled HTML
23
- */
24
- (src: string, options?: MarkedOptions, callback?: Function): string;
25
-
26
- /**
27
- * @param src String of markdown source to be compiled
28
- * @param options Hash of options
29
- */
30
- lexer(src: string, options?: MarkedOptions): any[];
31
-
32
- /**
33
- * Compiles markdown to HTML.
34
- *
35
- * @param src String of markdown source to be compiled
36
- * @param callback Function called when the markdownString has been fully parsed when using async highlighting
37
- * @return String of compiled HTML
38
- */
39
- parse(src: string, callback: Function): string;
40
-
41
- /**
42
- * Compiles markdown to HTML.
43
- *
44
- * @param src String of markdown source to be compiled
45
- * @param options Hash of options
46
- * @param callback Function called when the markdownString has been fully parsed when using async highlighting
47
- * @return String of compiled HTML
48
- */
49
- parse(src: string, options?: MarkedOptions, callback?: Function): string;
50
-
51
- /**
52
- * @param options Hash of options
53
- */
54
- parser(src: any[], options?: MarkedOptions): string;
55
-
56
- /**
57
- * Sets the default options.
58
- *
59
- * @param options Hash of options
60
- */
61
- setOptions(options: MarkedOptions): void;
62
- }
63
-
64
- interface MarkedOptions {
65
- /**
66
- * Enable GitHub flavored markdown.
67
- */
68
- gfm?: boolean;
69
-
70
- /**
71
- * Enable GFM tables. This option requires the gfm option to be true.
72
- */
73
- tables?: boolean;
74
-
75
- /**
76
- * Enable GFM line breaks. This option requires the gfm option to be true.
77
- */
78
- breaks?: boolean;
79
-
80
- /**
81
- * Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
82
- */
83
- pedantic?: boolean;
84
-
85
- /**
86
- * Sanitize the output. Ignore any HTML that has been input.
87
- */
88
- sanitize?: boolean;
89
-
90
- /**
91
- * Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.
92
- */
93
- smartLists?: boolean;
94
-
95
- /**
96
- * Shows an HTML error message when rendering fails.
97
- */
98
- silent?: boolean;
99
-
100
- /**
101
- * A function to highlight code blocks. The function takes three arguments: code, lang, and callback.
102
- */
103
- highlight?(code: string, lang: string, callback?: Function): string;
104
-
105
- /**
106
- * Set the prefix for code block classes.
107
- */
108
- langPrefix?: string;
109
-
110
- /**
111
- * Use "smart" typograhic punctuation for things like quotes and dashes.
112
- */
113
- smartypants?: boolean;
114
-
115
- /**
116
- * An object containing functions to render tokens to HTML.
117
- */
118
- renderer?: any;
119
- }
120
-
121
- declare module "marked" {
122
- export = marked;
123
- }
124
-
125
- declare var marked: MarkedStatic;
@@ -1,5 +0,0 @@
1
- declare module "open" {
2
- function open(target: string, appname: string): void;
3
-
4
- export = open;
5
- }
@@ -1,4 +0,0 @@
1
- declare module "osenv" {
2
- function home(): string;
3
- function shell(): string;
4
- }
@@ -1,7 +0,0 @@
1
- // import { IDictionary } from "../declarations";
2
-
3
- // declare module "plist" {
4
- // export function parse(data: any): IDictionary<any>;
5
- // export function build(data: any): string;
6
- // }
7
- export const blah = 0;
@@ -1,9 +0,0 @@
1
- declare module "rimraf" {
2
- function rimraf(path: string, callback: (error: Error) => void): void;
3
- namespace rimraf {
4
- export function sync(path: string): void;
5
- export var EMFILE_MAX: number;
6
- export var BUSYTRIES_MAX: number;
7
- }
8
- export = rimraf;
9
- }