nativescript 8.5.3 → 8.5.4-dev.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.
- package/config/config.json +0 -5
- package/lib/.d.ts +2 -37
- package/lib/bootstrap.js +1 -12
- package/lib/color.js +5 -0
- package/lib/commands/build.js +2 -6
- package/lib/commands/clean.js +11 -10
- package/lib/commands/config.js +6 -5
- package/lib/commands/create-project.js +12 -11
- package/lib/commands/debug.js +10 -11
- package/lib/commands/plugin/list-plugins.js +3 -2
- package/lib/commands/post-install.js +3 -5
- package/lib/commands/preview.js +4 -3
- package/lib/commands/run.js +17 -19
- package/lib/commands/test-init.js +14 -15
- package/lib/commands/test.js +0 -3
- package/lib/commands/update.js +1 -1
- package/lib/common/bootstrap.js +0 -1
- package/lib/common/child-process.js +3 -3
- package/lib/common/codeGeneration/code-printer.js +1 -1
- package/lib/common/commands/device/device-log-stream.js +1 -1
- package/lib/common/commands/device/list-devices.js +7 -8
- package/lib/common/commands/generate-messages.js +1 -1
- package/lib/common/constants.js +11 -11
- package/lib/common/declarations.d.ts +1 -53
- package/lib/common/definitions/commands-service.d.ts +0 -1
- package/lib/common/definitions/commands.d.ts +0 -1
- package/lib/common/definitions/google-analytics.d.ts +0 -5
- package/lib/common/dispatchers.js +4 -7
- package/lib/common/file-system.js +18 -22
- package/lib/common/host-info.js +4 -4
- package/lib/common/http-client.js +2 -2
- package/lib/common/logger/layouts/cli-layout.js +6 -2
- package/lib/common/logger/logger.js +7 -7
- package/lib/common/mobile/android/android-debug-bridge-result-handler.js +1 -1
- package/lib/common/mobile/android/android-log-filter.js +5 -5
- package/lib/common/mobile/android/android-virtual-device-service.js +2 -2
- package/lib/common/mobile/android/genymotion/genymotion-service.js +2 -2
- package/lib/common/mobile/android/logcat-helper.js +1 -1
- package/lib/common/mobile/device-log-provider.js +8 -8
- package/lib/common/mobile/ios/device/ios-device-file-system.js +1 -1
- package/lib/common/mobile/ios/simulator/ios-emulator-services.js +1 -1
- package/lib/common/mobile/ios/simulator/ios-sim-resolver.js +1 -1
- package/lib/common/mobile/mobile-helper.js +1 -1
- package/lib/common/mobile/wp8/wp8-emulator-services.js +4 -4
- package/lib/common/opener.js +5 -1
- package/lib/common/plist-parser.js +3 -3
- package/lib/common/project-helper.js +2 -2
- package/lib/common/services/analytics/google-analytics-custom-dimensions.d.ts +7 -7
- package/lib/common/services/auto-completion-service.js +2 -2
- package/lib/common/services/commands-service.js +5 -114
- package/lib/common/services/help-service.js +16 -16
- package/lib/common/services/hooks-service.js +2 -1
- package/lib/common/services/json-file-settings-service.js +3 -3
- package/lib/common/services/lock-service.js +5 -5
- package/lib/common/services/messages-service.js +6 -6
- package/lib/common/services/net-service.js +1 -1
- package/lib/common/services/project-files-manager.js +2 -2
- package/lib/common/services/settings-service.js +2 -2
- package/lib/common/validators/project-name-validator.js +1 -1
- package/lib/common/validators/validation-result.js +1 -1
- package/lib/common/verify-node-version.js +2 -2
- package/lib/config.js +3 -8
- package/lib/constants.js +18 -32
- package/lib/controllers/build-controller.js +5 -5
- package/lib/controllers/debug-controller.js +2 -2
- package/lib/controllers/migrate-controller.js +21 -20
- package/lib/controllers/update-controller.js +5 -4
- package/lib/declarations.d.ts +0 -24
- package/lib/definitions/build.d.ts +1 -1
- package/lib/definitions/livesync.d.ts +0 -10
- package/lib/definitions/project.d.ts +0 -6
- package/lib/definitions/xcode.d.ts +1 -1
- package/lib/device-sockets/ios/app-debug-socket-proxy-factory.js +15 -4
- package/lib/device-sockets/ios/notification.js +1 -1
- package/lib/helpers/android-bundle-validator-helper.js +1 -1
- package/lib/helpers/network-connectivity-validator.js +1 -1
- package/lib/helpers/options-track-helper.js +1 -1
- package/lib/nativescript-cli.js +8 -10
- package/lib/options.js +61 -21
- package/lib/package-installation-manager.js +5 -4
- package/lib/project-data.js +9 -10
- package/lib/providers/project-files-provider.js +3 -3
- package/lib/services/analytics/analytics-broker-process.js +0 -3
- package/lib/services/analytics/analytics-broker.js +5 -5
- package/lib/services/analytics/analytics-service.js +0 -4
- package/lib/services/analytics/analytics.d.ts +1 -8
- package/lib/services/analytics/google-analytics-provider.js +1 -21
- package/lib/services/analytics-settings-service.js +3 -11
- package/lib/services/android-device-debug-service.js +3 -3
- package/lib/services/android-plugin-build-service.js +3 -3
- package/lib/services/android-resources-migration-service.js +1 -1
- package/lib/services/assets-generation/assets-generation-service.js +5 -5
- package/lib/services/{build-artefacts-service.js → build-artifacts-service.js} +4 -4
- package/lib/services/cocoapods-service.js +1 -1
- package/lib/services/device/device-install-app-service.js +3 -3
- package/lib/services/doctor-service.js +10 -9
- package/lib/services/extensibility-service.js +8 -8
- package/lib/services/ios-entitlements-service.js +1 -1
- package/lib/services/ios-project-service.js +5 -5
- package/lib/services/ios-provision-service.js +7 -7
- package/lib/services/ios-watch-app-service.js +1 -1
- package/lib/services/ip-service.js +2 -4
- package/lib/services/itmstransporter-service.js +2 -2
- package/lib/services/livesync/android-device-livesync-sockets-service.js +1 -1
- package/lib/services/livesync/android-livesync-tool.js +5 -5
- package/lib/services/livesync/ios-device-livesync-service.js +2 -2
- package/lib/services/livesync/platform-livesync-service-base.js +2 -1
- package/lib/services/log-parser-service.js +1 -5
- package/lib/services/log-source-map-service.js +10 -7
- package/lib/services/npm-config-service.js +23 -9
- package/lib/services/performance-service.js +3 -3
- package/lib/services/platform-environment-requirements.js +1 -1
- package/lib/services/plugins-service.js +19 -19
- package/lib/services/project-backup-service.js +4 -3
- package/lib/services/project-cleanup-service.js +4 -3
- package/lib/services/test-execution-service.js +2 -2
- package/lib/services/timeline-profiler-service.js +4 -1
- package/lib/services/user-settings-service.js +4 -4
- package/lib/tools/config-manipulation/config-transformer.js +3 -3
- package/lib/tools/node-modules/node-modules-builder.js +1 -1
- package/node_modules/@npmcli/move-file/LICENSE.md +22 -0
- package/node_modules/@npmcli/move-file/README.md +69 -0
- package/node_modules/@npmcli/move-file/lib/index.js +185 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/CHANGELOG.md +15 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/LICENSE +21 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/bin/cmd.js +68 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/index.js +31 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/find-made.js +29 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/lib/use-native.js +10 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/package.json +44 -0
- package/node_modules/@npmcli/move-file/node_modules/mkdirp/readme.markdown +266 -0
- package/node_modules/@npmcli/move-file/package.json +47 -0
- package/node_modules/balanced-match/.npmignore +5 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +91 -0
- package/node_modules/balanced-match/index.js +59 -0
- package/node_modules/balanced-match/package.json +49 -0
- package/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/brace-expansion/index.js +201 -0
- package/node_modules/brace-expansion/package.json +47 -0
- package/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/concat-map/index.js +13 -0
- package/node_modules/concat-map/package.json +43 -0
- package/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/fs.realpath/LICENSE +43 -0
- package/node_modules/fs.realpath/README.md +33 -0
- package/node_modules/fs.realpath/index.js +66 -0
- package/node_modules/fs.realpath/old.js +303 -0
- package/node_modules/fs.realpath/package.json +26 -0
- package/node_modules/inflight/LICENSE +15 -0
- package/node_modules/inflight/README.md +37 -0
- package/node_modules/inflight/inflight.js +54 -0
- package/node_modules/inflight/package.json +29 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/path-is-absolute/index.js +20 -0
- package/node_modules/path-is-absolute/license +21 -0
- package/node_modules/path-is-absolute/package.json +43 -0
- package/node_modules/path-is-absolute/readme.md +59 -0
- package/node_modules/rimraf/CHANGELOG.md +65 -0
- package/node_modules/rimraf/LICENSE +15 -0
- package/node_modules/rimraf/README.md +101 -0
- package/node_modules/rimraf/bin.js +68 -0
- package/node_modules/rimraf/node_modules/glob/LICENSE +21 -0
- package/node_modules/rimraf/node_modules/glob/README.md +378 -0
- package/node_modules/rimraf/node_modules/glob/common.js +238 -0
- package/node_modules/rimraf/node_modules/glob/glob.js +790 -0
- package/node_modules/rimraf/node_modules/glob/package.json +55 -0
- package/node_modules/rimraf/node_modules/glob/sync.js +486 -0
- package/node_modules/rimraf/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/rimraf/node_modules/minimatch/README.md +230 -0
- package/node_modules/rimraf/node_modules/minimatch/minimatch.js +947 -0
- package/node_modules/rimraf/node_modules/minimatch/package.json +33 -0
- package/node_modules/rimraf/package.json +32 -0
- package/node_modules/rimraf/rimraf.js +360 -0
- package/node_modules/stringify-package/CHANGELOG.md +16 -0
- package/node_modules/stringify-package/LICENSE +13 -0
- package/node_modules/stringify-package/README.md +55 -0
- package/node_modules/stringify-package/index.js +18 -0
- package/node_modules/stringify-package/package.json +38 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/package.json +88 -89
- package/lib/common/definitions/byline.d.ts +0 -4
- package/lib/common/definitions/colors.d.ts +0 -24
- package/lib/common/definitions/marked.d.ts +0 -125
- package/lib/common/definitions/open.d.ts +0 -5
- package/lib/common/definitions/osenv.d.ts +0 -4
- package/lib/common/definitions/plist.d.ts +0 -7
- package/lib/common/definitions/rimraf.d.ts +0 -9
- package/lib/common/definitions/shelljs.d.ts +0 -583
- package/lib/common/definitions/simple-plist.d.ts +0 -7
- package/lib/common/definitions/xmlhttprequest.d.ts +0 -29
- package/lib/controllers/company-insights-controller.js +0 -78
- package/lib/controllers/preview-app-controller.js +0 -251
- package/lib/definitions/company-insights-controller.d.ts +0 -59
- package/lib/definitions/email-validator.d.ts +0 -8
- package/lib/definitions/libnpmconfig.d.ts +0 -3
- package/lib/definitions/npm.d.ts +0 -12
- package/lib/definitions/preview-app-livesync.d.ts +0 -116
- package/lib/services/livesync/playground/devices/preview-devices-service.js +0 -67
- package/lib/services/livesync/playground/preview-app-constants.js +0 -23
- package/lib/services/livesync/playground/preview-app-files-service.js +0 -83
- package/lib/services/livesync/playground/preview-app-log-provider.js +0 -14
- package/lib/services/livesync/playground/preview-app-plugins-service.js +0 -134
- package/lib/services/livesync/playground/preview-qr-code-service.js +0 -109
- package/lib/services/livesync/playground/preview-schema-service.js +0 -57
- package/lib/services/livesync/playground/preview-sdk-service.js +0 -112
- package/lib/services/playground-service.js +0 -65
- 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.
|
|
4
|
+
"version": "8.5.4-dev.1",
|
|
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
|
|
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
|
-
"@
|
|
60
|
+
"@npmcli/move-file": "^2.0.0",
|
|
61
|
+
"@rigor789/resolve-package-path": "1.0.5",
|
|
63
62
|
"@rigor789/trapezedev-project": "^7.1.0",
|
|
64
|
-
"
|
|
63
|
+
"archiver": "^5.3.1",
|
|
64
|
+
"axios": "1.3.5",
|
|
65
65
|
"byline": "5.0.0",
|
|
66
|
-
"chalk": "4.1.
|
|
67
|
-
"chokidar": "3.5.
|
|
68
|
-
"cli-table": "
|
|
69
|
-
"color": "
|
|
70
|
-
"
|
|
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": "
|
|
75
|
+
"glob": "9.3.4",
|
|
77
76
|
"ios-device-lib": "0.9.2",
|
|
78
|
-
"ios-mobileprovision-finder": "1.0
|
|
79
|
-
"ios-sim-portable": "4.
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
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
|
-
"
|
|
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.
|
|
99
|
-
"plist-merge-patch": "0.
|
|
100
|
-
"prettier": "2.
|
|
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.
|
|
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.
|
|
107
|
-
"shelljs": "0.8.
|
|
108
|
-
"simple-git": "
|
|
109
|
-
"simple-plist": "1.
|
|
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
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
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": "
|
|
118
|
-
"universal-analytics": "0.
|
|
119
|
-
"uuid": "
|
|
110
|
+
"typescript": "5.0.3",
|
|
111
|
+
"universal-analytics": "0.5.3",
|
|
112
|
+
"uuid": "9.0.0",
|
|
120
113
|
"winreg": "1.2.4",
|
|
121
|
-
"ws": "
|
|
114
|
+
"ws": "8.13.0",
|
|
122
115
|
"xml2js": "0.4.23",
|
|
123
|
-
"
|
|
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/
|
|
130
|
-
"@types/
|
|
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.
|
|
133
|
-
"@types/convert-source-map": "
|
|
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": "^
|
|
136
|
-
"@types/
|
|
137
|
-
"@types/
|
|
138
|
-
"@types/
|
|
139
|
-
"@types/
|
|
140
|
-
"@types/pacote": "^11.1.
|
|
141
|
-
"@types/
|
|
142
|
-
"@types/
|
|
143
|
-
"@types/
|
|
144
|
-
"@types/
|
|
145
|
-
"@types/
|
|
146
|
-
"@types/
|
|
147
|
-
"@types/
|
|
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/
|
|
144
|
+
"@types/tabtab": "^3.0.2",
|
|
145
|
+
"@types/tar": "6.1.4",
|
|
150
146
|
"@types/temp": "0.9.1",
|
|
151
|
-
"@types/tunnel": "0.0.
|
|
152
|
-
"@types/universal-analytics": "0.4.
|
|
153
|
-
"@types/uuid": "^
|
|
154
|
-
"@types/ws": "
|
|
155
|
-
"@types/xml2js": "0.4.
|
|
156
|
-
"@types/yargs": "17.0.
|
|
157
|
-
"chai": "4.
|
|
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.
|
|
160
|
-
"grunt": "1.
|
|
161
|
-
"grunt-contrib-clean": "2.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": "
|
|
160
|
+
"grunt-shell": "4.0.0",
|
|
165
161
|
"grunt-template": "1.0.0",
|
|
166
162
|
"grunt-ts": "6.0.0-beta.22",
|
|
167
|
-
"husky": "
|
|
163
|
+
"husky": "8.0.3",
|
|
168
164
|
"istanbul": "0.4.5",
|
|
169
165
|
"latest-version": "5.1.0",
|
|
170
|
-
"lint-staged": "^
|
|
171
|
-
"mocha": "
|
|
172
|
-
"
|
|
173
|
-
"
|
|
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,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;
|