@flourish/sdk 4.2.2 → 5.0.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.
- package/README.md +14 -1
- package/RELEASE_NOTES.md +3 -2
- package/common/embed/embedding.d.ts +1 -1
- package/common/embed/embedding.js +6 -8
- package/common/package.json +2 -1
- package/common/tsconfig.sdk.tsbuildinfo +1 -1
- package/lib/cmd/login.js +12 -17
- package/lib/cmd/publish.js +2 -7
- package/lib/cmd/register.js +10 -13
- package/lib/sdk.js +4 -6
- package/package.json +23 -24
- package/rollup.config.mjs +29 -0
- package/server/index.js +2 -1
- package/server/views/index.html +5 -2
- package/site/embedded.js +2 -1
- package/site/images/icon-add-folder.svg +1 -1
- package/site/script.js +3 -2
- package/site/sdk.css +1 -1
- package/my_template/node_modules/.package-lock.json +0 -525
- package/my_template/node_modules/@babel/code-frame/LICENSE +0 -22
- package/my_template/node_modules/@babel/code-frame/README.md +0 -19
- package/my_template/node_modules/@babel/code-frame/lib/index.js +0 -157
- package/my_template/node_modules/@babel/code-frame/lib/index.js.map +0 -1
- package/my_template/node_modules/@babel/code-frame/package.json +0 -30
- package/my_template/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- package/my_template/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/my_template/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/my_template/node_modules/@babel/helper-validator-identifier/package.json +0 -28
- package/my_template/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
- package/my_template/node_modules/@babel/highlight/LICENSE +0 -22
- package/my_template/node_modules/@babel/highlight/README.md +0 -19
- package/my_template/node_modules/@babel/highlight/lib/index.js +0 -105
- package/my_template/node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/my_template/node_modules/@babel/highlight/package.json +0 -29
- package/my_template/node_modules/@types/estree/LICENSE +0 -21
- package/my_template/node_modules/@types/estree/README.md +0 -15
- package/my_template/node_modules/@types/estree/flow.d.ts +0 -167
- package/my_template/node_modules/@types/estree/index.d.ts +0 -683
- package/my_template/node_modules/@types/estree/package.json +0 -26
- package/my_template/node_modules/@types/node/LICENSE +0 -21
- package/my_template/node_modules/@types/node/README.md +0 -15
- package/my_template/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/my_template/node_modules/@types/node/assert.d.ts +0 -996
- package/my_template/node_modules/@types/node/async_hooks.d.ts +0 -539
- package/my_template/node_modules/@types/node/buffer.d.ts +0 -2362
- package/my_template/node_modules/@types/node/child_process.d.ts +0 -1540
- package/my_template/node_modules/@types/node/cluster.d.ts +0 -432
- package/my_template/node_modules/@types/node/console.d.ts +0 -415
- package/my_template/node_modules/@types/node/constants.d.ts +0 -19
- package/my_template/node_modules/@types/node/crypto.d.ts +0 -4456
- package/my_template/node_modules/@types/node/dgram.d.ts +0 -586
- package/my_template/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
- package/my_template/node_modules/@types/node/dns/promises.d.ts +0 -425
- package/my_template/node_modules/@types/node/dns.d.ts +0 -809
- package/my_template/node_modules/@types/node/dom-events.d.ts +0 -122
- package/my_template/node_modules/@types/node/domain.d.ts +0 -170
- package/my_template/node_modules/@types/node/events.d.ts +0 -879
- package/my_template/node_modules/@types/node/fs/promises.d.ts +0 -1239
- package/my_template/node_modules/@types/node/fs.d.ts +0 -4291
- package/my_template/node_modules/@types/node/globals.d.ts +0 -385
- package/my_template/node_modules/@types/node/globals.global.d.ts +0 -1
- package/my_template/node_modules/@types/node/http.d.ts +0 -1888
- package/my_template/node_modules/@types/node/http2.d.ts +0 -2382
- package/my_template/node_modules/@types/node/https.d.ts +0 -550
- package/my_template/node_modules/@types/node/index.d.ts +0 -88
- package/my_template/node_modules/@types/node/inspector.d.ts +0 -2747
- package/my_template/node_modules/@types/node/module.d.ts +0 -301
- package/my_template/node_modules/@types/node/net.d.ts +0 -949
- package/my_template/node_modules/@types/node/os.d.ts +0 -478
- package/my_template/node_modules/@types/node/package.json +0 -230
- package/my_template/node_modules/@types/node/path.d.ts +0 -191
- package/my_template/node_modules/@types/node/perf_hooks.d.ts +0 -639
- package/my_template/node_modules/@types/node/process.d.ts +0 -1539
- package/my_template/node_modules/@types/node/punycode.d.ts +0 -117
- package/my_template/node_modules/@types/node/querystring.d.ts +0 -141
- package/my_template/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/my_template/node_modules/@types/node/readline.d.ts +0 -539
- package/my_template/node_modules/@types/node/repl.d.ts +0 -430
- package/my_template/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/my_template/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/my_template/node_modules/@types/node/stream/web.d.ts +0 -350
- package/my_template/node_modules/@types/node/stream.d.ts +0 -1701
- package/my_template/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/my_template/node_modules/@types/node/test.d.ts +0 -1382
- package/my_template/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/my_template/node_modules/@types/node/timers.d.ts +0 -240
- package/my_template/node_modules/@types/node/tls.d.ts +0 -1210
- package/my_template/node_modules/@types/node/trace_events.d.ts +0 -182
- package/my_template/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/my_template/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
- package/my_template/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
- package/my_template/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
- package/my_template/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
- package/my_template/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
- package/my_template/node_modules/@types/node/ts4.8/console.d.ts +0 -415
- package/my_template/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
- package/my_template/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
- package/my_template/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
- package/my_template/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/my_template/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
- package/my_template/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
- package/my_template/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
- package/my_template/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/my_template/node_modules/@types/node/ts4.8/events.d.ts +0 -879
- package/my_template/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
- package/my_template/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
- package/my_template/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
- package/my_template/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/my_template/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
- package/my_template/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
- package/my_template/node_modules/@types/node/ts4.8/https.d.ts +0 -550
- package/my_template/node_modules/@types/node/ts4.8/index.d.ts +0 -88
- package/my_template/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
- package/my_template/node_modules/@types/node/ts4.8/module.d.ts +0 -301
- package/my_template/node_modules/@types/node/ts4.8/net.d.ts +0 -949
- package/my_template/node_modules/@types/node/ts4.8/os.d.ts +0 -478
- package/my_template/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/my_template/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
- package/my_template/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
- package/my_template/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/my_template/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
- package/my_template/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
- package/my_template/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
- package/my_template/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
- package/my_template/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/my_template/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
- package/my_template/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
- package/my_template/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
- package/my_template/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/my_template/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
- package/my_template/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/my_template/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
- package/my_template/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
- package/my_template/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
- package/my_template/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
- package/my_template/node_modules/@types/node/ts4.8/url.d.ts +0 -927
- package/my_template/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
- package/my_template/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
- package/my_template/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
- package/my_template/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/my_template/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
- package/my_template/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/my_template/node_modules/@types/node/tty.d.ts +0 -208
- package/my_template/node_modules/@types/node/url.d.ts +0 -927
- package/my_template/node_modules/@types/node/util.d.ts +0 -2183
- package/my_template/node_modules/@types/node/v8.d.ts +0 -635
- package/my_template/node_modules/@types/node/vm.d.ts +0 -903
- package/my_template/node_modules/@types/node/wasi.d.ts +0 -158
- package/my_template/node_modules/@types/node/worker_threads.d.ts +0 -691
- package/my_template/node_modules/@types/node/zlib.d.ts +0 -517
- package/my_template/node_modules/@types/resolve/LICENSE +0 -21
- package/my_template/node_modules/@types/resolve/README.md +0 -16
- package/my_template/node_modules/@types/resolve/index.d.ts +0 -113
- package/my_template/node_modules/@types/resolve/package.json +0 -29
- package/my_template/node_modules/acorn/CHANGELOG.md +0 -620
- package/my_template/node_modules/acorn/LICENSE +0 -21
- package/my_template/node_modules/acorn/README.md +0 -269
- package/my_template/node_modules/acorn/bin/acorn +0 -4
- package/my_template/node_modules/acorn/dist/acorn.d.ts +0 -209
- package/my_template/node_modules/acorn/dist/acorn.js +0 -5186
- package/my_template/node_modules/acorn/dist/acorn.js.map +0 -1
- package/my_template/node_modules/acorn/dist/acorn.mjs +0 -5155
- package/my_template/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- package/my_template/node_modules/acorn/dist/acorn.mjs.map +0 -1
- package/my_template/node_modules/acorn/dist/bin.js +0 -64
- package/my_template/node_modules/acorn/package.json +0 -35
- package/my_template/node_modules/amdefine/LICENSE +0 -58
- package/my_template/node_modules/amdefine/README.md +0 -171
- package/my_template/node_modules/amdefine/amdefine.js +0 -301
- package/my_template/node_modules/amdefine/intercept.js +0 -36
- package/my_template/node_modules/amdefine/package.json +0 -16
- package/my_template/node_modules/ansi-styles/index.js +0 -165
- package/my_template/node_modules/ansi-styles/license +0 -9
- package/my_template/node_modules/ansi-styles/package.json +0 -56
- package/my_template/node_modules/ansi-styles/readme.md +0 -147
- package/my_template/node_modules/builtin-modules/builtin-modules.json +0 -43
- package/my_template/node_modules/builtin-modules/index.d.ts +0 -14
- package/my_template/node_modules/builtin-modules/index.js +0 -11
- package/my_template/node_modules/builtin-modules/license +0 -9
- package/my_template/node_modules/builtin-modules/package.json +0 -44
- package/my_template/node_modules/builtin-modules/readme.md +0 -44
- package/my_template/node_modules/builtin-modules/static.d.ts +0 -14
- package/my_template/node_modules/builtin-modules/static.js +0 -2
- package/my_template/node_modules/chalk/index.js +0 -228
- package/my_template/node_modules/chalk/index.js.flow +0 -93
- package/my_template/node_modules/chalk/license +0 -9
- package/my_template/node_modules/chalk/package.json +0 -71
- package/my_template/node_modules/chalk/readme.md +0 -314
- package/my_template/node_modules/chalk/templates.js +0 -128
- package/my_template/node_modules/chalk/types/index.d.ts +0 -97
- package/my_template/node_modules/clean-css/History.md +0 -1138
- package/my_template/node_modules/clean-css/LICENSE +0 -19
- package/my_template/node_modules/clean-css/README.md +0 -369
- package/my_template/node_modules/clean-css/bin/cleancss +0 -184
- package/my_template/node_modules/clean-css/index.js +0 -1
- package/my_template/node_modules/clean-css/lib/clean.js +0 -231
- package/my_template/node_modules/clean-css/lib/colors/hex-name-shortener.js +0 -186
- package/my_template/node_modules/clean-css/lib/colors/hsl.js +0 -67
- package/my_template/node_modules/clean-css/lib/colors/rgb.js +0 -16
- package/my_template/node_modules/clean-css/lib/imports/inliner.js +0 -399
- package/my_template/node_modules/clean-css/lib/properties/break-up.js +0 -335
- package/my_template/node_modules/clean-css/lib/properties/can-override.js +0 -142
- package/my_template/node_modules/clean-css/lib/properties/clone.js +0 -26
- package/my_template/node_modules/clean-css/lib/properties/compactable.js +0 -285
- package/my_template/node_modules/clean-css/lib/properties/every-combination.js +0 -28
- package/my_template/node_modules/clean-css/lib/properties/has-inherit.js +0 -10
- package/my_template/node_modules/clean-css/lib/properties/invalid-property-error.js +0 -10
- package/my_template/node_modules/clean-css/lib/properties/optimizer.js +0 -215
- package/my_template/node_modules/clean-css/lib/properties/override-compactor.js +0 -384
- package/my_template/node_modules/clean-css/lib/properties/populate-components.js +0 -32
- package/my_template/node_modules/clean-css/lib/properties/remove-unused.js +0 -10
- package/my_template/node_modules/clean-css/lib/properties/restore-from-optimizing.js +0 -60
- package/my_template/node_modules/clean-css/lib/properties/restore.js +0 -232
- package/my_template/node_modules/clean-css/lib/properties/shorthand-compactor.js +0 -134
- package/my_template/node_modules/clean-css/lib/properties/validator.js +0 -197
- package/my_template/node_modules/clean-css/lib/properties/vendor-prefixes.js +0 -26
- package/my_template/node_modules/clean-css/lib/properties/wrap-for-optimizing.js +0 -118
- package/my_template/node_modules/clean-css/lib/selectors/advanced.js +0 -86
- package/my_template/node_modules/clean-css/lib/selectors/clean-up.js +0 -89
- package/my_template/node_modules/clean-css/lib/selectors/extractor.js +0 -69
- package/my_template/node_modules/clean-css/lib/selectors/is-special.js +0 -5
- package/my_template/node_modules/clean-css/lib/selectors/merge-adjacent.js +0 -35
- package/my_template/node_modules/clean-css/lib/selectors/merge-media-queries.js +0 -64
- package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-body.js +0 -61
- package/my_template/node_modules/clean-css/lib/selectors/merge-non-adjacent-by-selector.js +0 -76
- package/my_template/node_modules/clean-css/lib/selectors/reduce-non-adjacent.js +0 -172
- package/my_template/node_modules/clean-css/lib/selectors/remove-duplicate-media-queries.js +0 -21
- package/my_template/node_modules/clean-css/lib/selectors/remove-duplicates.js +0 -41
- package/my_template/node_modules/clean-css/lib/selectors/reorderable.js +0 -99
- package/my_template/node_modules/clean-css/lib/selectors/restructure.js +0 -369
- package/my_template/node_modules/clean-css/lib/selectors/simple.js +0 -454
- package/my_template/node_modules/clean-css/lib/source-maps/track.js +0 -119
- package/my_template/node_modules/clean-css/lib/stringifier/helpers.js +0 -167
- package/my_template/node_modules/clean-css/lib/stringifier/one-time.js +0 -50
- package/my_template/node_modules/clean-css/lib/stringifier/simple.js +0 -22
- package/my_template/node_modules/clean-css/lib/stringifier/source-maps.js +0 -96
- package/my_template/node_modules/clean-css/lib/text/comments-processor.js +0 -131
- package/my_template/node_modules/clean-css/lib/text/escape-store.js +0 -53
- package/my_template/node_modules/clean-css/lib/text/expressions-processor.js +0 -117
- package/my_template/node_modules/clean-css/lib/text/free-text-processor.js +0 -98
- package/my_template/node_modules/clean-css/lib/text/urls-processor.js +0 -75
- package/my_template/node_modules/clean-css/lib/tokenizer/extract-properties.js +0 -193
- package/my_template/node_modules/clean-css/lib/tokenizer/extract-selectors.js +0 -17
- package/my_template/node_modules/clean-css/lib/tokenizer/tokenize.js +0 -297
- package/my_template/node_modules/clean-css/lib/urls/rebase.js +0 -30
- package/my_template/node_modules/clean-css/lib/urls/reduce.js +0 -154
- package/my_template/node_modules/clean-css/lib/urls/rewrite.js +0 -107
- package/my_template/node_modules/clean-css/lib/utils/clone-array.js +0 -12
- package/my_template/node_modules/clean-css/lib/utils/compatibility.js +0 -162
- package/my_template/node_modules/clean-css/lib/utils/input-source-map-tracker.js +0 -284
- package/my_template/node_modules/clean-css/lib/utils/object.js +0 -11
- package/my_template/node_modules/clean-css/lib/utils/quote-scanner.js +0 -119
- package/my_template/node_modules/clean-css/lib/utils/source-reader.js +0 -96
- package/my_template/node_modules/clean-css/lib/utils/source-tracker.js +0 -31
- package/my_template/node_modules/clean-css/lib/utils/split.js +0 -62
- package/my_template/node_modules/clean-css/node_modules/source-map/README.md +0 -510
- package/my_template/node_modules/clean-css/node_modules/source-map/build/assert-shim.js +0 -56
- package/my_template/node_modules/clean-css/node_modules/source-map/build/mini-require.js +0 -152
- package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-source-map.jsm +0 -21
- package/my_template/node_modules/clean-css/node_modules/source-map/build/prefix-utils.jsm +0 -18
- package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-browser.js +0 -8
- package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- package/my_template/node_modules/clean-css/node_modules/source-map/build/suffix-utils.jsm +0 -21
- package/my_template/node_modules/clean-css/node_modules/source-map/build/test-prefix.js +0 -8
- package/my_template/node_modules/clean-css/node_modules/source-map/build/test-suffix.js +0 -3
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/array-set.js +0 -107
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64-vlq.js +0 -146
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/base64.js +0 -73
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/binary-search.js +0 -117
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/mapping-list.js +0 -86
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/quick-sort.js +0 -120
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -1077
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-map-generator.js +0 -399
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/source-node.js +0 -414
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map/util.js +0 -370
- package/my_template/node_modules/clean-css/node_modules/source-map/lib/source-map.js +0 -8
- package/my_template/node_modules/clean-css/node_modules/source-map/package.json +0 -68
- package/my_template/node_modules/clean-css/package.json +0 -53
- package/my_template/node_modules/color-convert/CHANGELOG.md +0 -54
- package/my_template/node_modules/color-convert/LICENSE +0 -21
- package/my_template/node_modules/color-convert/README.md +0 -68
- package/my_template/node_modules/color-convert/conversions.js +0 -868
- package/my_template/node_modules/color-convert/index.js +0 -78
- package/my_template/node_modules/color-convert/package.json +0 -46
- package/my_template/node_modules/color-convert/route.js +0 -97
- package/my_template/node_modules/color-name/.eslintrc.json +0 -43
- package/my_template/node_modules/color-name/LICENSE +0 -8
- package/my_template/node_modules/color-name/README.md +0 -11
- package/my_template/node_modules/color-name/index.js +0 -152
- package/my_template/node_modules/color-name/package.json +0 -25
- package/my_template/node_modules/color-name/test.js +0 -7
- package/my_template/node_modules/commander/History.md +0 -256
- package/my_template/node_modules/commander/LICENSE +0 -22
- package/my_template/node_modules/commander/Readme.md +0 -342
- package/my_template/node_modules/commander/index.js +0 -1103
- package/my_template/node_modules/commander/package.json +0 -33
- package/my_template/node_modules/copy-anything/LICENSE +0 -21
- package/my_template/node_modules/copy-anything/README.md +0 -130
- package/my_template/node_modules/copy-anything/dist/index.cjs +0 -52
- package/my_template/node_modules/copy-anything/dist/index.es.js +0 -48
- package/my_template/node_modules/copy-anything/dist/types/index.d.ts +0 -15
- package/my_template/node_modules/copy-anything/package.json +0 -98
- package/my_template/node_modules/errno/.jshintrc +0 -59
- package/my_template/node_modules/errno/.travis.yml +0 -19
- package/my_template/node_modules/errno/README.md +0 -145
- package/my_template/node_modules/errno/build.js +0 -43
- package/my_template/node_modules/errno/cli.js +0 -22
- package/my_template/node_modules/errno/custom.js +0 -57
- package/my_template/node_modules/errno/errno.js +0 -313
- package/my_template/node_modules/errno/package.json +0 -33
- package/my_template/node_modules/errno/test.js +0 -88
- package/my_template/node_modules/escape-string-regexp/index.js +0 -11
- package/my_template/node_modules/escape-string-regexp/license +0 -21
- package/my_template/node_modules/escape-string-regexp/package.json +0 -41
- package/my_template/node_modules/escape-string-regexp/readme.md +0 -27
- package/my_template/node_modules/estree-walker/CHANGELOG.md +0 -55
- package/my_template/node_modules/estree-walker/README.md +0 -45
- package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js +0 -65
- package/my_template/node_modules/estree-walker/dist/estree-walker.umd.js.map +0 -1
- package/my_template/node_modules/estree-walker/index.d.ts +0 -27
- package/my_template/node_modules/estree-walker/package.json +0 -30
- package/my_template/node_modules/estree-walker/src/estree-walker.js +0 -51
- package/my_template/node_modules/function-bind/.eslintrc +0 -21
- package/my_template/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/my_template/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/my_template/node_modules/function-bind/.nycrc +0 -13
- package/my_template/node_modules/function-bind/CHANGELOG.md +0 -136
- package/my_template/node_modules/function-bind/LICENSE +0 -20
- package/my_template/node_modules/function-bind/README.md +0 -46
- package/my_template/node_modules/function-bind/implementation.js +0 -84
- package/my_template/node_modules/function-bind/index.js +0 -5
- package/my_template/node_modules/function-bind/package.json +0 -87
- package/my_template/node_modules/function-bind/test/.eslintrc +0 -9
- package/my_template/node_modules/function-bind/test/index.js +0 -252
- package/my_template/node_modules/graceful-fs/LICENSE +0 -15
- package/my_template/node_modules/graceful-fs/README.md +0 -143
- package/my_template/node_modules/graceful-fs/clone.js +0 -23
- package/my_template/node_modules/graceful-fs/graceful-fs.js +0 -448
- package/my_template/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/my_template/node_modules/graceful-fs/package.json +0 -53
- package/my_template/node_modules/graceful-fs/polyfills.js +0 -355
- package/my_template/node_modules/graceful-readlink/.travis.yml +0 -5
- package/my_template/node_modules/graceful-readlink/LICENSE +0 -22
- package/my_template/node_modules/graceful-readlink/README.md +0 -17
- package/my_template/node_modules/graceful-readlink/index.js +0 -12
- package/my_template/node_modules/graceful-readlink/package.json +0 -18
- package/my_template/node_modules/has-flag/index.js +0 -8
- package/my_template/node_modules/has-flag/license +0 -9
- package/my_template/node_modules/has-flag/package.json +0 -44
- package/my_template/node_modules/has-flag/readme.md +0 -70
- package/my_template/node_modules/hasown/.eslintrc +0 -5
- package/my_template/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/my_template/node_modules/hasown/.nycrc +0 -13
- package/my_template/node_modules/hasown/CHANGELOG.md +0 -20
- package/my_template/node_modules/hasown/LICENSE +0 -21
- package/my_template/node_modules/hasown/README.md +0 -40
- package/my_template/node_modules/hasown/index.d.ts +0 -3
- package/my_template/node_modules/hasown/index.d.ts.map +0 -1
- package/my_template/node_modules/hasown/index.js +0 -8
- package/my_template/node_modules/hasown/package.json +0 -91
- package/my_template/node_modules/hasown/tsconfig.json +0 -49
- package/my_template/node_modules/image-size/LICENSE +0 -9
- package/my_template/node_modules/image-size/Readme.md +0 -88
- package/my_template/node_modules/image-size/bin/image-size.js +0 -36
- package/my_template/node_modules/image-size/lib/detector.js +0 -19
- package/my_template/node_modules/image-size/lib/index.js +0 -105
- package/my_template/node_modules/image-size/lib/readUInt.js +0 -11
- package/my_template/node_modules/image-size/lib/types/bmp.js +0 -17
- package/my_template/node_modules/image-size/lib/types/dds.js +0 -18
- package/my_template/node_modules/image-size/lib/types/gif.js +0 -19
- package/my_template/node_modules/image-size/lib/types/jpg.js +0 -62
- package/my_template/node_modules/image-size/lib/types/png.js +0 -36
- package/my_template/node_modules/image-size/lib/types/psd.js +0 -17
- package/my_template/node_modules/image-size/lib/types/svg.js +0 -78
- package/my_template/node_modules/image-size/lib/types/tiff.js +0 -118
- package/my_template/node_modules/image-size/lib/types/webp.js +0 -69
- package/my_template/node_modules/image-size/lib/types.js +0 -13
- package/my_template/node_modules/image-size/package.json +0 -49
- package/my_template/node_modules/is-core-module/.eslintrc +0 -18
- package/my_template/node_modules/is-core-module/.nycrc +0 -9
- package/my_template/node_modules/is-core-module/CHANGELOG.md +0 -180
- package/my_template/node_modules/is-core-module/LICENSE +0 -20
- package/my_template/node_modules/is-core-module/README.md +0 -40
- package/my_template/node_modules/is-core-module/core.json +0 -158
- package/my_template/node_modules/is-core-module/index.js +0 -69
- package/my_template/node_modules/is-core-module/package.json +0 -73
- package/my_template/node_modules/is-core-module/test/index.js +0 -133
- package/my_template/node_modules/is-module/README.md +0 -41
- package/my_template/node_modules/is-module/component.json +0 -11
- package/my_template/node_modules/is-module/index.js +0 -11
- package/my_template/node_modules/is-module/package.json +0 -20
- package/my_template/node_modules/is-what/.babelrc +0 -3
- package/my_template/node_modules/is-what/.eslintignore +0 -9
- package/my_template/node_modules/is-what/.eslintrc.js +0 -18
- package/my_template/node_modules/is-what/.github/FUNDING.yml +0 -12
- package/my_template/node_modules/is-what/.prettierrc +0 -9
- package/my_template/node_modules/is-what/.vscode/settings.json +0 -9
- package/my_template/node_modules/is-what/LICENSE +0 -21
- package/my_template/node_modules/is-what/README.md +0 -191
- package/my_template/node_modules/is-what/build.js +0 -60
- package/my_template/node_modules/is-what/dist/index.cjs.js +0 -364
- package/my_template/node_modules/is-what/dist/index.esm.js +0 -327
- package/my_template/node_modules/is-what/package.json +0 -86
- package/my_template/node_modules/is-what/src/index.ts +0 -395
- package/my_template/node_modules/is-what/test/ava.ts +0 -376
- package/my_template/node_modules/is-what/test/index.test.js +0 -15
- package/my_template/node_modules/is-what/tsconfig.json +0 -11
- package/my_template/node_modules/is-what/types/index.d.ts +0 -253
- package/my_template/node_modules/jest-worker/LICENSE +0 -21
- package/my_template/node_modules/jest-worker/README.md +0 -215
- package/my_template/node_modules/jest-worker/build/Farm.d.ts +0 -27
- package/my_template/node_modules/jest-worker/build/Farm.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/Farm.js +0 -179
- package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts +0 -14
- package/my_template/node_modules/jest-worker/build/WorkerPool.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/WorkerPool.js +0 -49
- package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +0 -22
- package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/base/BaseWorkerPool.js +0 -134
- package/my_template/node_modules/jest-worker/build/index.d.ts +0 -46
- package/my_template/node_modules/jest-worker/build/index.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/index.js +0 -184
- package/my_template/node_modules/jest-worker/build/types.d.ts +0 -98
- package/my_template/node_modules/jest-worker/build/types.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/types.js +0 -43
- package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +0 -47
- package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/workers/ChildProcessWorker.js +0 -310
- package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +0 -29
- package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +0 -289
- package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts +0 -8
- package/my_template/node_modules/jest-worker/build/workers/processChild.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/workers/processChild.js +0 -166
- package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts +0 -8
- package/my_template/node_modules/jest-worker/build/workers/threadChild.d.ts.map +0 -1
- package/my_template/node_modules/jest-worker/build/workers/threadChild.js +0 -176
- package/my_template/node_modules/jest-worker/node_modules/supports-color/browser.js +0 -5
- package/my_template/node_modules/jest-worker/node_modules/supports-color/index.js +0 -138
- package/my_template/node_modules/jest-worker/node_modules/supports-color/license +0 -9
- package/my_template/node_modules/jest-worker/node_modules/supports-color/package.json +0 -53
- package/my_template/node_modules/jest-worker/node_modules/supports-color/readme.md +0 -85
- package/my_template/node_modules/jest-worker/package.json +0 -29
- package/my_template/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/my_template/node_modules/js-tokens/LICENSE +0 -21
- package/my_template/node_modules/js-tokens/README.md +0 -240
- package/my_template/node_modules/js-tokens/index.js +0 -23
- package/my_template/node_modules/js-tokens/package.json +0 -30
- package/my_template/node_modules/less/.eslintignore +0 -5
- package/my_template/node_modules/less/.eslintrc.json +0 -3
- package/my_template/node_modules/less/Gruntfile.js +0 -420
- package/my_template/node_modules/less/README.md +0 -13
- package/my_template/node_modules/less/bin/lessc +0 -633
- package/my_template/node_modules/less/bower.json +0 -22
- package/my_template/node_modules/less/dist/less.js +0 -11275
- package/my_template/node_modules/less/dist/less.min.js +0 -11
- package/my_template/node_modules/less/dist/less.min.js.map +0 -1
- package/my_template/node_modules/less/index.js +0 -1
- package/my_template/node_modules/less/lib/less/constants.js +0 -15
- package/my_template/node_modules/less/lib/less/constants.js.map +0 -1
- package/my_template/node_modules/less/lib/less/contexts.js +0 -171
- package/my_template/node_modules/less/lib/less/contexts.js.map +0 -1
- package/my_template/node_modules/less/lib/less/data/colors.js +0 -153
- package/my_template/node_modules/less/lib/less/data/colors.js.map +0 -1
- package/my_template/node_modules/less/lib/less/data/index.js +0 -9
- package/my_template/node_modules/less/lib/less/data/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less/data/unit-conversions.js +0 -24
- package/my_template/node_modules/less/lib/less/data/unit-conversions.js.map +0 -1
- package/my_template/node_modules/less/lib/less/default-options.js +0 -57
- package/my_template/node_modules/less/lib/less/default-options.js.map +0 -1
- package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js +0 -122
- package/my_template/node_modules/less/lib/less/environment/abstract-file-manager.js.map +0 -1
- package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js +0 -168
- package/my_template/node_modules/less/lib/less/environment/abstract-plugin-loader.js.map +0 -1
- package/my_template/node_modules/less/lib/less/environment/environment-api.js +0 -28
- package/my_template/node_modules/less/lib/less/environment/environment-api.js.map +0 -1
- package/my_template/node_modules/less/lib/less/environment/environment.js +0 -57
- package/my_template/node_modules/less/lib/less/environment/environment.js.map +0 -1
- package/my_template/node_modules/less/lib/less/environment/file-manager-api.js +0 -106
- package/my_template/node_modules/less/lib/less/environment/file-manager-api.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/boolean.js +0 -21
- package/my_template/node_modules/less/lib/less/functions/boolean.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/color-blending.js +0 -78
- package/my_template/node_modules/less/lib/less/functions/color-blending.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/color.js +0 -404
- package/my_template/node_modules/less/lib/less/functions/color.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/data-uri.js +0 -86
- package/my_template/node_modules/less/lib/less/functions/data-uri.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/default.js +0 -29
- package/my_template/node_modules/less/lib/less/functions/default.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/function-caller.js +0 -66
- package/my_template/node_modules/less/lib/less/functions/function-caller.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/function-registry.js +0 -36
- package/my_template/node_modules/less/lib/less/functions/function-registry.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/index.js +0 -35
- package/my_template/node_modules/less/lib/less/functions/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/list.js +0 -136
- package/my_template/node_modules/less/lib/less/functions/list.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/math-helper.js +0 -20
- package/my_template/node_modules/less/lib/less/functions/math-helper.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/math.js +0 -30
- package/my_template/node_modules/less/lib/less/functions/math.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/number.js +0 -98
- package/my_template/node_modules/less/lib/less/functions/number.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/string.js +0 -42
- package/my_template/node_modules/less/lib/less/functions/string.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/svg.js +0 -88
- package/my_template/node_modules/less/lib/less/functions/svg.js.map +0 -1
- package/my_template/node_modules/less/lib/less/functions/types.js +0 -75
- package/my_template/node_modules/less/lib/less/functions/types.js.map +0 -1
- package/my_template/node_modules/less/lib/less/import-manager.js +0 -196
- package/my_template/node_modules/less/lib/less/import-manager.js.map +0 -1
- package/my_template/node_modules/less/lib/less/index.js +0 -130
- package/my_template/node_modules/less/lib/less/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less/less-error.js +0 -162
- package/my_template/node_modules/less/lib/less/less-error.js.map +0 -1
- package/my_template/node_modules/less/lib/less/logger.js +0 -37
- package/my_template/node_modules/less/lib/less/logger.js.map +0 -1
- package/my_template/node_modules/less/lib/less/parse-tree.js +0 -69
- package/my_template/node_modules/less/lib/less/parse-tree.js.map +0 -1
- package/my_template/node_modules/less/lib/less/parse.js +0 -108
- package/my_template/node_modules/less/lib/less/parse.js.map +0 -1
- package/my_template/node_modules/less/lib/less/parser/chunker.js +0 -147
- package/my_template/node_modules/less/lib/less/parser/chunker.js.map +0 -1
- package/my_template/node_modules/less/lib/less/parser/parser-input.js +0 -355
- package/my_template/node_modules/less/lib/less/parser/parser-input.js.map +0 -1
- package/my_template/node_modules/less/lib/less/parser/parser.js +0 -2262
- package/my_template/node_modules/less/lib/less/parser/parser.js.map +0 -1
- package/my_template/node_modules/less/lib/less/plugin-manager.js +0 -158
- package/my_template/node_modules/less/lib/less/plugin-manager.js.map +0 -1
- package/my_template/node_modules/less/lib/less/render.js +0 -64
- package/my_template/node_modules/less/lib/less/render.js.map +0 -1
- package/my_template/node_modules/less/lib/less/source-map-builder.js +0 -72
- package/my_template/node_modules/less/lib/less/source-map-builder.js.map +0 -1
- package/my_template/node_modules/less/lib/less/source-map-output.js +0 -140
- package/my_template/node_modules/less/lib/less/source-map-output.js.map +0 -1
- package/my_template/node_modules/less/lib/less/transform-tree.js +0 -93
- package/my_template/node_modules/less/lib/less/transform-tree.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/anonymous.js +0 -34
- package/my_template/node_modules/less/lib/less/tree/anonymous.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/assignment.js +0 -32
- package/my_template/node_modules/less/lib/less/tree/assignment.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/atrule.js +0 -146
- package/my_template/node_modules/less/lib/less/tree/atrule.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/attribute.js +0 -29
- package/my_template/node_modules/less/lib/less/tree/attribute.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/call.js +0 -104
- package/my_template/node_modules/less/lib/less/tree/call.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/color.js +0 -243
- package/my_template/node_modules/less/lib/less/tree/color.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/combinator.js +0 -29
- package/my_template/node_modules/less/lib/less/tree/combinator.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/comment.js +0 -28
- package/my_template/node_modules/less/lib/less/tree/comment.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/condition.js +0 -41
- package/my_template/node_modules/less/lib/less/tree/condition.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/debug-info.js +0 -37
- package/my_template/node_modules/less/lib/less/tree/debug-info.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/declaration.js +0 -118
- package/my_template/node_modules/less/lib/less/tree/declaration.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js +0 -47
- package/my_template/node_modules/less/lib/less/tree/detached-ruleset.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/dimension.js +0 -159
- package/my_template/node_modules/less/lib/less/tree/dimension.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/element.js +0 -64
- package/my_template/node_modules/less/lib/less/tree/element.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/expression.js +0 -90
- package/my_template/node_modules/less/lib/less/tree/expression.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/extend.js +0 -62
- package/my_template/node_modules/less/lib/less/tree/extend.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/import.js +0 -191
- package/my_template/node_modules/less/lib/less/tree/import.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/index.js +0 -56
- package/my_template/node_modules/less/lib/less/tree/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/javascript.js +0 -35
- package/my_template/node_modules/less/lib/less/tree/javascript.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/js-eval-node.js +0 -57
- package/my_template/node_modules/less/lib/less/tree/js-eval-node.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/keyword.js +0 -21
- package/my_template/node_modules/less/lib/less/tree/keyword.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/media.js +0 -152
- package/my_template/node_modules/less/lib/less/tree/media.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/mixin-call.js +0 -194
- package/my_template/node_modules/less/lib/less/tree/mixin-call.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/mixin-definition.js +0 -233
- package/my_template/node_modules/less/lib/less/tree/mixin-definition.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/namespace-value.js +0 -76
- package/my_template/node_modules/less/lib/less/tree/namespace-value.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/negative.js +0 -25
- package/my_template/node_modules/less/lib/less/tree/negative.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/node.js +0 -166
- package/my_template/node_modules/less/lib/less/tree/node.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/operation.js +0 -77
- package/my_template/node_modules/less/lib/less/tree/operation.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/paren.js +0 -21
- package/my_template/node_modules/less/lib/less/tree/paren.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/property.js +0 -62
- package/my_template/node_modules/less/lib/less/tree/property.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/quoted.js +0 -66
- package/my_template/node_modules/less/lib/less/tree/quoted.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/ruleset.js +0 -786
- package/my_template/node_modules/less/lib/less/tree/ruleset.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/selector.js +0 -126
- package/my_template/node_modules/less/lib/less/tree/selector.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js +0 -13
- package/my_template/node_modules/less/lib/less/tree/unicode-descriptor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/unit.js +0 -141
- package/my_template/node_modules/less/lib/less/tree/unit.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/url.js +0 -60
- package/my_template/node_modules/less/lib/less/tree/url.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/value.js +0 -43
- package/my_template/node_modules/less/lib/less/tree/value.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/variable-call.js +0 -44
- package/my_template/node_modules/less/lib/less/tree/variable-call.js.map +0 -1
- package/my_template/node_modules/less/lib/less/tree/variable.js +0 -61
- package/my_template/node_modules/less/lib/less/tree/variable.js.map +0 -1
- package/my_template/node_modules/less/lib/less/utils.js +0 -143
- package/my_template/node_modules/less/lib/less/utils.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js +0 -462
- package/my_template/node_modules/less/lib/less/visitors/extend-visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js +0 -61
- package/my_template/node_modules/less/lib/less/visitors/import-sequencer.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/import-visitor.js +0 -202
- package/my_template/node_modules/less/lib/less/visitors/import-visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/index.js +0 -20
- package/my_template/node_modules/less/lib/less/visitors/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js +0 -57
- package/my_template/node_modules/less/lib/less/visitors/join-selector-visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js +0 -43
- package/my_template/node_modules/less/lib/less/visitors/set-tree-visibility-visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js +0 -321
- package/my_template/node_modules/less/lib/less/visitors/to-css-visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less/visitors/visitor.js +0 -158
- package/my_template/node_modules/less/lib/less/visitors/visitor.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/add-default-options.js +0 -45
- package/my_template/node_modules/less/lib/less-browser/add-default-options.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/bootstrap.js +0 -64
- package/my_template/node_modules/less/lib/less-browser/bootstrap.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/browser.js +0 -80
- package/my_template/node_modules/less/lib/less-browser/browser.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/cache.js +0 -45
- package/my_template/node_modules/less/lib/less-browser/cache.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/error-reporting.js +0 -183
- package/my_template/node_modules/less/lib/less-browser/error-reporting.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/file-manager.js +0 -122
- package/my_template/node_modules/less/lib/less-browser/file-manager.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/image-size.js +0 -30
- package/my_template/node_modules/less/lib/less-browser/image-size.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/index.js +0 -256
- package/my_template/node_modules/less/lib/less-browser/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/log-listener.js +0 -43
- package/my_template/node_modules/less/lib/less-browser/log-listener.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/plugin-loader.js +0 -42
- package/my_template/node_modules/less/lib/less-browser/plugin-loader.js.map +0 -1
- package/my_template/node_modules/less/lib/less-browser/utils.js +0 -29
- package/my_template/node_modules/less/lib/less-browser/utils.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/environment.js +0 -19
- package/my_template/node_modules/less/lib/less-node/environment.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/file-manager.js +0 -158
- package/my_template/node_modules/less/lib/less-node/file-manager.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/fs.js +0 -11
- package/my_template/node_modules/less/lib/less-node/fs.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/image-size.js +0 -54
- package/my_template/node_modules/less/lib/less-node/image-size.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/index.js +0 -28
- package/my_template/node_modules/less/lib/less-node/index.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/lessc-helper.js +0 -92
- package/my_template/node_modules/less/lib/less-node/lessc-helper.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/plugin-loader.js +0 -73
- package/my_template/node_modules/less/lib/less-node/plugin-loader.js.map +0 -1
- package/my_template/node_modules/less/lib/less-node/url-file-manager.js +0 -68
- package/my_template/node_modules/less/lib/less-node/url-file-manager.js.map +0 -1
- package/my_template/node_modules/less/package.json +0 -133
- package/my_template/node_modules/less/test/.eslintrc.json +0 -9
- package/my_template/node_modules/less/test/README.md +0 -3
- package/my_template/node_modules/less/test/browser/common.js +0 -230
- package/my_template/node_modules/less/test/browser/css/global-vars/simple.css +0 -3
- package/my_template/node_modules/less/test/browser/css/modify-vars/simple.css +0 -8
- package/my_template/node_modules/less/test/browser/css/plugin/plugin.css +0 -3
- package/my_template/node_modules/less/test/browser/css/postProcessor/postProcessor.css +0 -4
- package/my_template/node_modules/less/test/browser/css/relative-urls/urls.css +0 -36
- package/my_template/node_modules/less/test/browser/css/rewrite-urls/urls.css +0 -36
- package/my_template/node_modules/less/test/browser/css/rootpath/urls.css +0 -35
- package/my_template/node_modules/less/test/browser/css/rootpath-relative/urls.css +0 -35
- package/my_template/node_modules/less/test/browser/css/rootpath-rewrite-urls/urls.css +0 -35
- package/my_template/node_modules/less/test/browser/css/urls.css +0 -54
- package/my_template/node_modules/less/test/browser/generator/benchmark.config.js +0 -50
- package/my_template/node_modules/less/test/browser/generator/generate.js +0 -78
- package/my_template/node_modules/less/test/browser/generator/runner.config.js +0 -186
- package/my_template/node_modules/less/test/browser/generator/runner.js +0 -2
- package/my_template/node_modules/less/test/browser/generator/template.js +0 -83
- package/my_template/node_modules/less/test/browser/less/console-errors/test-error.less +0 -3
- package/my_template/node_modules/less/test/browser/less/console-errors/test-error.txt +0 -2
- package/my_template/node_modules/less/test/browser/less/errors/image-height-error.less +0 -3
- package/my_template/node_modules/less/test/browser/less/errors/image-height-error.txt +0 -4
- package/my_template/node_modules/less/test/browser/less/errors/image-size-error.less +0 -3
- package/my_template/node_modules/less/test/browser/less/errors/image-size-error.txt +0 -4
- package/my_template/node_modules/less/test/browser/less/errors/image-width-error.less +0 -3
- package/my_template/node_modules/less/test/browser/less/errors/image-width-error.txt +0 -4
- package/my_template/node_modules/less/test/browser/less/global-vars/simple.less +0 -3
- package/my_template/node_modules/less/test/browser/less/imports/urls.less +0 -4
- package/my_template/node_modules/less/test/browser/less/imports/urls2.less +0 -4
- package/my_template/node_modules/less/test/browser/less/modify-vars/imports/simple2.less +0 -4
- package/my_template/node_modules/less/test/browser/less/modify-vars/simple.less +0 -8
- package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/mixin-consumer.less +0 -5
- package/my_template/node_modules/less/test/browser/less/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +0 -15
- package/my_template/node_modules/less/test/browser/less/plugin/plugin.js +0 -4
- package/my_template/node_modules/less/test/browser/less/plugin/plugin.less +0 -4
- package/my_template/node_modules/less/test/browser/less/postProcessor/postProcessor.less +0 -4
- package/my_template/node_modules/less/test/browser/less/relative-urls/urls.less +0 -34
- package/my_template/node_modules/less/test/browser/less/rewrite-urls/urls.less +0 -34
- package/my_template/node_modules/less/test/browser/less/rootpath/urls.less +0 -33
- package/my_template/node_modules/less/test/browser/less/rootpath-relative/urls.less +0 -33
- package/my_template/node_modules/less/test/browser/less/rootpath-rewrite-urls/urls.less +0 -33
- package/my_template/node_modules/less/test/browser/less/urls.less +0 -62
- package/my_template/node_modules/less/test/browser/runner-VisitorPlugin-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-VisitorPlugin.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-browser-options.js +0 -51
- package/my_template/node_modules/less/test/browser/runner-browser-spec.js +0 -12
- package/my_template/node_modules/less/test/browser/runner-console-errors.js +0 -5
- package/my_template/node_modules/less/test/browser/runner-errors-options.js +0 -6
- package/my_template/node_modules/less/test/browser/runner-errors-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin-options.js +0 -5
- package/my_template/node_modules/less/test/browser/runner-filemanagerPlugin.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-global-vars-options.js +0 -7
- package/my_template/node_modules/less/test/browser/runner-global-vars-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-legacy-options.js +0 -6
- package/my_template/node_modules/less/test/browser/runner-legacy-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-main-options.js +0 -17
- package/my_template/node_modules/less/test/browser/runner-main-spec.js +0 -7
- package/my_template/node_modules/less/test/browser/runner-modify-vars-options.js +0 -5
- package/my_template/node_modules/less/test/browser/runner-modify-vars-spec.js +0 -33
- package/my_template/node_modules/less/test/browser/runner-no-js-errors-options.js +0 -4
- package/my_template/node_modules/less/test/browser/runner-no-js-errors-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-postProcessorPlugin.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-preProcessorPlugin.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-production-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-production-spec.js +0 -5
- package/my_template/node_modules/less/test/browser/runner-relative-urls-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-relative-urls-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rewrite-urls-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rewrite-urls-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rootpath-options.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rootpath-relative-options.js +0 -4
- package/my_template/node_modules/less/test/browser/runner-rootpath-relative-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-options.js +0 -4
- package/my_template/node_modules/less/test/browser/runner-rootpath-rewrite-urls-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-rootpath-spec.js +0 -3
- package/my_template/node_modules/less/test/browser/runner-strict-units-options.js +0 -5
- package/my_template/node_modules/less/test/browser/runner-strict-units-spec.js +0 -3
- package/my_template/node_modules/less/test/index.js +0 -89
- package/my_template/node_modules/less/test/less-test.js +0 -535
- package/my_template/node_modules/less/test/modify-vars.js +0 -28
- package/my_template/node_modules/less/test/plugins/filemanager/index.js +0 -19
- package/my_template/node_modules/less/test/plugins/postprocess/index.js +0 -14
- package/my_template/node_modules/less/test/plugins/preprocess/index.js +0 -19
- package/my_template/node_modules/less/test/plugins/visitor/index.js +0 -24
- package/my_template/node_modules/less/test/sourcemaps/basic.json +0 -1
- package/my_template/node_modules/less/test/sourcemaps/custom-props.json +0 -1
- package/my_template/node_modules/less/test/sourcemaps/index.html +0 -17
- package/my_template/node_modules/less/test/sourcemaps-disable-annotation/basic.json +0 -1
- package/my_template/node_modules/less/test/test-es6.ts +0 -17
- package/my_template/node_modules/less/tsconfig.json +0 -13
- package/my_template/node_modules/less-plugin-clean-css/LICENSE +0 -201
- package/my_template/node_modules/less-plugin-clean-css/README.md +0 -33
- package/my_template/node_modules/less-plugin-clean-css/lib/clean-css-processor.js +0 -63
- package/my_template/node_modules/less-plugin-clean-css/lib/index.js +0 -23
- package/my_template/node_modules/less-plugin-clean-css/lib/parse-options.js +0 -61
- package/my_template/node_modules/less-plugin-clean-css/lib/usage.js +0 -19
- package/my_template/node_modules/less-plugin-clean-css/package.json +0 -39
- package/my_template/node_modules/make-dir/index.d.ts +0 -39
- package/my_template/node_modules/make-dir/index.js +0 -139
- package/my_template/node_modules/make-dir/license +0 -9
- package/my_template/node_modules/make-dir/package.json +0 -59
- package/my_template/node_modules/make-dir/readme.md +0 -123
- package/my_template/node_modules/merge-stream/LICENSE +0 -21
- package/my_template/node_modules/merge-stream/README.md +0 -78
- package/my_template/node_modules/merge-stream/index.js +0 -41
- package/my_template/node_modules/merge-stream/package.json +0 -19
- package/my_template/node_modules/mime/CHANGELOG.md +0 -164
- package/my_template/node_modules/mime/LICENSE +0 -21
- package/my_template/node_modules/mime/README.md +0 -90
- package/my_template/node_modules/mime/cli.js +0 -8
- package/my_template/node_modules/mime/mime.js +0 -108
- package/my_template/node_modules/mime/package.json +0 -44
- package/my_template/node_modules/mime/src/build.js +0 -53
- package/my_template/node_modules/mime/src/test.js +0 -60
- package/my_template/node_modules/mime/types.json +0 -1
- package/my_template/node_modules/native-request/README.md +0 -184
- package/my_template/node_modules/native-request/commons/jsonToParameter.js +0 -14
- package/my_template/node_modules/native-request/index.js +0 -65
- package/my_template/node_modules/native-request/lib/Request.js +0 -144
- package/my_template/node_modules/native-request/package.json +0 -45
- package/my_template/node_modules/native-request/test/express.get.cookies.js +0 -58
- package/my_template/node_modules/native-request/test/express.get.js +0 -146
- package/my_template/node_modules/native-request/test/express.post.cookies.js +0 -59
- package/my_template/node_modules/native-request/test/express.post.js +0 -148
- package/my_template/node_modules/native-request/test/get.cookies.js +0 -72
- package/my_template/node_modules/native-request/test/get.js +0 -140
- package/my_template/node_modules/native-request/test/post.cookies.js +0 -72
- package/my_template/node_modules/native-request/test/post.js +0 -155
- package/my_template/node_modules/path-parse/LICENSE +0 -21
- package/my_template/node_modules/path-parse/README.md +0 -42
- package/my_template/node_modules/path-parse/index.js +0 -75
- package/my_template/node_modules/path-parse/package.json +0 -33
- package/my_template/node_modules/pify/index.js +0 -68
- package/my_template/node_modules/pify/license +0 -9
- package/my_template/node_modules/pify/package.json +0 -51
- package/my_template/node_modules/pify/readme.md +0 -145
- package/my_template/node_modules/prr/.jshintrc +0 -61
- package/my_template/node_modules/prr/.travis.yml +0 -10
- package/my_template/node_modules/prr/LICENSE.md +0 -11
- package/my_template/node_modules/prr/README.md +0 -47
- package/my_template/node_modules/prr/package.json +0 -26
- package/my_template/node_modules/prr/prr.js +0 -63
- package/my_template/node_modules/prr/test.js +0 -169
- package/my_template/node_modules/resolve/.editorconfig +0 -37
- package/my_template/node_modules/resolve/.eslintrc +0 -65
- package/my_template/node_modules/resolve/.github/FUNDING.yml +0 -12
- package/my_template/node_modules/resolve/LICENSE +0 -21
- package/my_template/node_modules/resolve/SECURITY.md +0 -3
- package/my_template/node_modules/resolve/async.js +0 -3
- package/my_template/node_modules/resolve/bin/resolve +0 -50
- package/my_template/node_modules/resolve/example/async.js +0 -5
- package/my_template/node_modules/resolve/example/sync.js +0 -3
- package/my_template/node_modules/resolve/index.js +0 -6
- package/my_template/node_modules/resolve/lib/async.js +0 -329
- package/my_template/node_modules/resolve/lib/caller.js +0 -8
- package/my_template/node_modules/resolve/lib/core.js +0 -12
- package/my_template/node_modules/resolve/lib/core.json +0 -158
- package/my_template/node_modules/resolve/lib/homedir.js +0 -24
- package/my_template/node_modules/resolve/lib/is-core.js +0 -5
- package/my_template/node_modules/resolve/lib/node-modules-paths.js +0 -42
- package/my_template/node_modules/resolve/lib/normalize-options.js +0 -10
- package/my_template/node_modules/resolve/lib/sync.js +0 -208
- package/my_template/node_modules/resolve/package.json +0 -72
- package/my_template/node_modules/resolve/readme.markdown +0 -301
- package/my_template/node_modules/resolve/sync.js +0 -3
- package/my_template/node_modules/resolve/test/core.js +0 -88
- package/my_template/node_modules/resolve/test/dotdot/abc/index.js +0 -2
- package/my_template/node_modules/resolve/test/dotdot/index.js +0 -1
- package/my_template/node_modules/resolve/test/dotdot.js +0 -29
- package/my_template/node_modules/resolve/test/faulty_basedir.js +0 -29
- package/my_template/node_modules/resolve/test/filter.js +0 -34
- package/my_template/node_modules/resolve/test/filter_sync.js +0 -33
- package/my_template/node_modules/resolve/test/home_paths.js +0 -127
- package/my_template/node_modules/resolve/test/home_paths_sync.js +0 -114
- package/my_template/node_modules/resolve/test/mock.js +0 -315
- package/my_template/node_modules/resolve/test/mock_sync.js +0 -214
- package/my_template/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
- package/my_template/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
- package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
- package/my_template/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
- package/my_template/node_modules/resolve/test/module_dir.js +0 -56
- package/my_template/node_modules/resolve/test/node-modules-paths.js +0 -143
- package/my_template/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
- package/my_template/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
- package/my_template/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
- package/my_template/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
- package/my_template/node_modules/resolve/test/node_path.js +0 -70
- package/my_template/node_modules/resolve/test/nonstring.js +0 -9
- package/my_template/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/my_template/node_modules/resolve/test/pathfilter.js +0 -75
- package/my_template/node_modules/resolve/test/precedence/aaa/index.js +0 -1
- package/my_template/node_modules/resolve/test/precedence/aaa/main.js +0 -1
- package/my_template/node_modules/resolve/test/precedence/aaa.js +0 -1
- package/my_template/node_modules/resolve/test/precedence/bbb/main.js +0 -1
- package/my_template/node_modules/resolve/test/precedence/bbb.js +0 -1
- package/my_template/node_modules/resolve/test/precedence.js +0 -23
- package/my_template/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/baz/package.json +0 -4
- package/my_template/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
- package/my_template/node_modules/resolve/test/resolver/cup.coffee +0 -1
- package/my_template/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
- package/my_template/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
- package/my_template/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/false_main/package.json +0 -4
- package/my_template/node_modules/resolve/test/resolver/foo.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- package/my_template/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- package/my_template/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
- package/my_template/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/my_template/node_modules/resolve/test/resolver/mug.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
- package/my_template/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
- package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
- package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
- package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
- package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
- package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
- package/my_template/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
- package/my_template/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/my_template/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/my_template/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
- package/my_template/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
- package/my_template/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
- package/my_template/node_modules/resolve/test/resolver.js +0 -597
- package/my_template/node_modules/resolve/test/resolver_sync.js +0 -730
- package/my_template/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/my_template/node_modules/resolve/test/shadowed_core.js +0 -54
- package/my_template/node_modules/resolve/test/subdirs.js +0 -13
- package/my_template/node_modules/resolve/test/symlinks.js +0 -176
- package/my_template/node_modules/rollup/CHANGELOG.md +0 -3084
- package/my_template/node_modules/rollup/LICENSE.md +0 -578
- package/my_template/node_modules/rollup/README.md +0 -138
- package/my_template/node_modules/rollup/dist/bin/rollup +0 -1457
- package/my_template/node_modules/rollup/dist/rollup.browser.es.js +0 -25
- package/my_template/node_modules/rollup/dist/rollup.browser.js +0 -26
- package/my_template/node_modules/rollup/dist/rollup.d.ts +0 -656
- package/my_template/node_modules/rollup/dist/rollup.es.js +0 -17493
- package/my_template/node_modules/rollup/dist/rollup.js +0 -29
- package/my_template/node_modules/rollup/dist/shared/index.js +0 -321
- package/my_template/node_modules/rollup/dist/shared/node-entry.js +0 -17504
- package/my_template/node_modules/rollup/package.json +0 -139
- package/my_template/node_modules/rollup-plugin-node-resolve/CHANGELOG.md +0 -195
- package/my_template/node_modules/rollup-plugin-node-resolve/README.md +0 -135
- package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js +0 -425
- package/my_template/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es.js +0 -421
- package/my_template/node_modules/rollup-plugin-node-resolve/index.d.ts +0 -100
- package/my_template/node_modules/rollup-plugin-node-resolve/package.json +0 -60
- package/my_template/node_modules/rollup-plugin-node-resolve/src/index.js +0 -358
- package/my_template/node_modules/rollup-plugin-uglify/LICENSE +0 -20
- package/my_template/node_modules/rollup-plugin-uglify/README.md +0 -84
- package/my_template/node_modules/rollup-plugin-uglify/index.js +0 -51
- package/my_template/node_modules/rollup-plugin-uglify/package.json +0 -43
- package/my_template/node_modules/rollup-plugin-uglify/transform.js +0 -13
- package/my_template/node_modules/rollup-pluginutils/CHANGELOG.md +0 -125
- package/my_template/node_modules/rollup-pluginutils/README.md +0 -169
- package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js +0 -3292
- package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.d.ts +0 -39
- package/my_template/node_modules/rollup-pluginutils/dist/pluginutils.es.js +0 -3280
- package/my_template/node_modules/rollup-pluginutils/package.json +0 -57
- package/my_template/node_modules/rollup-pluginutils/src/addExtension.ts +0 -9
- package/my_template/node_modules/rollup-pluginutils/src/attachScopes.ts +0 -125
- package/my_template/node_modules/rollup-pluginutils/src/createFilter.ts +0 -52
- package/my_template/node_modules/rollup-pluginutils/src/dataToEsm.ts +0 -92
- package/my_template/node_modules/rollup-pluginutils/src/extractAssignedNames.ts +0 -46
- package/my_template/node_modules/rollup-pluginutils/src/index.ts +0 -6
- package/my_template/node_modules/rollup-pluginutils/src/makeLegalIdentifier.ts +0 -21
- package/my_template/node_modules/rollup-pluginutils/src/pluginutils.d.ts +0 -39
- package/my_template/node_modules/rollup-pluginutils/src/utils/ensureArray.ts +0 -5
- package/my_template/node_modules/semver/LICENSE +0 -15
- package/my_template/node_modules/semver/README.md +0 -412
- package/my_template/node_modules/semver/bin/semver +0 -160
- package/my_template/node_modules/semver/package.json +0 -38
- package/my_template/node_modules/semver/range.bnf +0 -16
- package/my_template/node_modules/semver/semver.js +0 -1525
- package/my_template/node_modules/serialize-javascript/LICENSE +0 -27
- package/my_template/node_modules/serialize-javascript/README.md +0 -143
- package/my_template/node_modules/serialize-javascript/index.js +0 -210
- package/my_template/node_modules/serialize-javascript/package.json +0 -33
- package/my_template/node_modules/source-map/CHANGELOG.md +0 -301
- package/my_template/node_modules/source-map/LICENSE +0 -28
- package/my_template/node_modules/source-map/README.md +0 -742
- package/my_template/node_modules/source-map/dist/source-map.debug.js +0 -3234
- package/my_template/node_modules/source-map/dist/source-map.js +0 -3233
- package/my_template/node_modules/source-map/dist/source-map.min.js +0 -2
- package/my_template/node_modules/source-map/dist/source-map.min.js.map +0 -1
- package/my_template/node_modules/source-map/lib/array-set.js +0 -121
- package/my_template/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/my_template/node_modules/source-map/lib/base64.js +0 -67
- package/my_template/node_modules/source-map/lib/binary-search.js +0 -111
- package/my_template/node_modules/source-map/lib/mapping-list.js +0 -79
- package/my_template/node_modules/source-map/lib/quick-sort.js +0 -114
- package/my_template/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/my_template/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/my_template/node_modules/source-map/lib/source-node.js +0 -413
- package/my_template/node_modules/source-map/lib/util.js +0 -488
- package/my_template/node_modules/source-map/package.json +0 -73
- package/my_template/node_modules/source-map/source-map.d.ts +0 -98
- package/my_template/node_modules/source-map/source-map.js +0 -8
- package/my_template/node_modules/supports-color/browser.js +0 -5
- package/my_template/node_modules/supports-color/index.js +0 -131
- package/my_template/node_modules/supports-color/license +0 -9
- package/my_template/node_modules/supports-color/package.json +0 -53
- package/my_template/node_modules/supports-color/readme.md +0 -66
- package/my_template/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
- package/my_template/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
- package/my_template/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
- package/my_template/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
- package/my_template/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
- package/my_template/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
- package/my_template/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
- package/my_template/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
- package/my_template/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
- package/my_template/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
- package/my_template/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/my_template/node_modules/tslib/LICENSE.txt +0 -12
- package/my_template/node_modules/tslib/README.md +0 -142
- package/my_template/node_modules/tslib/modules/index.js +0 -51
- package/my_template/node_modules/tslib/modules/package.json +0 -3
- package/my_template/node_modules/tslib/package.json +0 -37
- package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
- package/my_template/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
- package/my_template/node_modules/tslib/tslib.d.ts +0 -37
- package/my_template/node_modules/tslib/tslib.es6.html +0 -1
- package/my_template/node_modules/tslib/tslib.es6.js +0 -218
- package/my_template/node_modules/tslib/tslib.html +0 -1
- package/my_template/node_modules/tslib/tslib.js +0 -284
- package/my_template/node_modules/uglify-js/LICENSE +0 -29
- package/my_template/node_modules/uglify-js/README.md +0 -1478
- package/my_template/node_modules/uglify-js/bin/uglifyjs +0 -605
- package/my_template/node_modules/uglify-js/lib/ast.js +0 -2356
- package/my_template/node_modules/uglify-js/lib/compress.js +0 -14241
- package/my_template/node_modules/uglify-js/lib/minify.js +0 -276
- package/my_template/node_modules/uglify-js/lib/mozilla-ast.js +0 -1310
- package/my_template/node_modules/uglify-js/lib/output.js +0 -1956
- package/my_template/node_modules/uglify-js/lib/parse.js +0 -2585
- package/my_template/node_modules/uglify-js/lib/propmangle.js +0 -328
- package/my_template/node_modules/uglify-js/lib/scope.js +0 -866
- package/my_template/node_modules/uglify-js/lib/sourcemap.js +0 -195
- package/my_template/node_modules/uglify-js/lib/transform.js +0 -250
- package/my_template/node_modules/uglify-js/lib/utils.js +0 -287
- package/my_template/node_modules/uglify-js/package.json +0 -56
- package/my_template/node_modules/uglify-js/tools/domprops.html +0 -456
- package/my_template/node_modules/uglify-js/tools/domprops.json +0 -8325
- package/my_template/node_modules/uglify-js/tools/exports.js +0 -8
- package/my_template/node_modules/uglify-js/tools/node.js +0 -110
- package/my_template/node_modules/uglify-js/tools/tty.js +0 -22
- package/my_template/node_modules/undici-types/README.md +0 -6
- package/my_template/node_modules/undici-types/agent.d.ts +0 -31
- package/my_template/node_modules/undici-types/api.d.ts +0 -43
- package/my_template/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/my_template/node_modules/undici-types/cache.d.ts +0 -36
- package/my_template/node_modules/undici-types/client.d.ts +0 -97
- package/my_template/node_modules/undici-types/connector.d.ts +0 -34
- package/my_template/node_modules/undici-types/content-type.d.ts +0 -21
- package/my_template/node_modules/undici-types/cookies.d.ts +0 -28
- package/my_template/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/my_template/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/my_template/node_modules/undici-types/errors.d.ts +0 -128
- package/my_template/node_modules/undici-types/fetch.d.ts +0 -209
- package/my_template/node_modules/undici-types/file.d.ts +0 -39
- package/my_template/node_modules/undici-types/filereader.d.ts +0 -54
- package/my_template/node_modules/undici-types/formdata.d.ts +0 -108
- package/my_template/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/my_template/node_modules/undici-types/global-origin.d.ts +0 -7
- package/my_template/node_modules/undici-types/handlers.d.ts +0 -9
- package/my_template/node_modules/undici-types/header.d.ts +0 -4
- package/my_template/node_modules/undici-types/index.d.ts +0 -63
- package/my_template/node_modules/undici-types/interceptors.d.ts +0 -5
- package/my_template/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/my_template/node_modules/undici-types/mock-client.d.ts +0 -25
- package/my_template/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/my_template/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/my_template/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/my_template/node_modules/undici-types/package.json +0 -55
- package/my_template/node_modules/undici-types/patch.d.ts +0 -71
- package/my_template/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/my_template/node_modules/undici-types/pool.d.ts +0 -28
- package/my_template/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/my_template/node_modules/undici-types/readable.d.ts +0 -61
- package/my_template/node_modules/undici-types/webidl.d.ts +0 -220
- package/my_template/node_modules/undici-types/websocket.d.ts +0 -131
- package/server/columns.js +0 -201
- package/server/data.js +0 -327
- package/server/json.js +0 -66
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
var contexts_1 = __importDefault(require("../contexts"));
|
|
26
|
-
var visitor_1 = __importDefault(require("./visitor"));
|
|
27
|
-
var import_sequencer_1 = __importDefault(require("./import-sequencer"));
|
|
28
|
-
var utils = __importStar(require("../utils"));
|
|
29
|
-
var ImportVisitor = function (importer, finish) {
|
|
30
|
-
this._visitor = new visitor_1.default(this);
|
|
31
|
-
this._importer = importer;
|
|
32
|
-
this._finish = finish;
|
|
33
|
-
this.context = new contexts_1.default.Eval();
|
|
34
|
-
this.importCount = 0;
|
|
35
|
-
this.onceFileDetectionMap = {};
|
|
36
|
-
this.recursionDetector = {};
|
|
37
|
-
this._sequencer = new import_sequencer_1.default(this._onSequencerEmpty.bind(this));
|
|
38
|
-
};
|
|
39
|
-
ImportVisitor.prototype = {
|
|
40
|
-
isReplacing: false,
|
|
41
|
-
run: function (root) {
|
|
42
|
-
try {
|
|
43
|
-
// process the contents
|
|
44
|
-
this._visitor.visit(root);
|
|
45
|
-
}
|
|
46
|
-
catch (e) {
|
|
47
|
-
this.error = e;
|
|
48
|
-
}
|
|
49
|
-
this.isFinished = true;
|
|
50
|
-
this._sequencer.tryRun();
|
|
51
|
-
},
|
|
52
|
-
_onSequencerEmpty: function () {
|
|
53
|
-
if (!this.isFinished) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
this._finish(this.error);
|
|
57
|
-
},
|
|
58
|
-
visitImport: function (importNode, visitArgs) {
|
|
59
|
-
var inlineCSS = importNode.options.inline;
|
|
60
|
-
if (!importNode.css || inlineCSS) {
|
|
61
|
-
var context = new contexts_1.default.Eval(this.context, utils.copyArray(this.context.frames));
|
|
62
|
-
var importParent = context.frames[0];
|
|
63
|
-
this.importCount++;
|
|
64
|
-
if (importNode.isVariableImport()) {
|
|
65
|
-
this._sequencer.addVariableImport(this.processImportNode.bind(this, importNode, context, importParent));
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
this.processImportNode(importNode, context, importParent);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
visitArgs.visitDeeper = false;
|
|
72
|
-
},
|
|
73
|
-
processImportNode: function (importNode, context, importParent) {
|
|
74
|
-
var evaldImportNode;
|
|
75
|
-
var inlineCSS = importNode.options.inline;
|
|
76
|
-
try {
|
|
77
|
-
evaldImportNode = importNode.evalForImport(context);
|
|
78
|
-
}
|
|
79
|
-
catch (e) {
|
|
80
|
-
if (!e.filename) {
|
|
81
|
-
e.index = importNode.getIndex();
|
|
82
|
-
e.filename = importNode.fileInfo().filename;
|
|
83
|
-
}
|
|
84
|
-
// attempt to eval properly and treat as css
|
|
85
|
-
importNode.css = true;
|
|
86
|
-
// if that fails, this error will be thrown
|
|
87
|
-
importNode.error = e;
|
|
88
|
-
}
|
|
89
|
-
if (evaldImportNode && (!evaldImportNode.css || inlineCSS)) {
|
|
90
|
-
if (evaldImportNode.options.multiple) {
|
|
91
|
-
context.importMultiple = true;
|
|
92
|
-
}
|
|
93
|
-
// try appending if we haven't determined if it is css or not
|
|
94
|
-
var tryAppendLessExtension = evaldImportNode.css === undefined;
|
|
95
|
-
for (var i = 0; i < importParent.rules.length; i++) {
|
|
96
|
-
if (importParent.rules[i] === importNode) {
|
|
97
|
-
importParent.rules[i] = evaldImportNode;
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
var onImported = this.onImported.bind(this, evaldImportNode, context);
|
|
102
|
-
var sequencedOnImported = this._sequencer.addImport(onImported);
|
|
103
|
-
this._importer.push(evaldImportNode.getPath(), tryAppendLessExtension, evaldImportNode.fileInfo(), evaldImportNode.options, sequencedOnImported);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
this.importCount--;
|
|
107
|
-
if (this.isFinished) {
|
|
108
|
-
this._sequencer.tryRun();
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
onImported: function (importNode, context, e, root, importedAtRoot, fullPath) {
|
|
113
|
-
if (e) {
|
|
114
|
-
if (!e.filename) {
|
|
115
|
-
e.index = importNode.getIndex();
|
|
116
|
-
e.filename = importNode.fileInfo().filename;
|
|
117
|
-
}
|
|
118
|
-
this.error = e;
|
|
119
|
-
}
|
|
120
|
-
var importVisitor = this;
|
|
121
|
-
var inlineCSS = importNode.options.inline;
|
|
122
|
-
var isPlugin = importNode.options.isPlugin;
|
|
123
|
-
var isOptional = importNode.options.optional;
|
|
124
|
-
var duplicateImport = importedAtRoot || fullPath in importVisitor.recursionDetector;
|
|
125
|
-
if (!context.importMultiple) {
|
|
126
|
-
if (duplicateImport) {
|
|
127
|
-
importNode.skip = true;
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
importNode.skip = function () {
|
|
131
|
-
if (fullPath in importVisitor.onceFileDetectionMap) {
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
importVisitor.onceFileDetectionMap[fullPath] = true;
|
|
135
|
-
return false;
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
if (!fullPath && isOptional) {
|
|
140
|
-
importNode.skip = true;
|
|
141
|
-
}
|
|
142
|
-
if (root) {
|
|
143
|
-
importNode.root = root;
|
|
144
|
-
importNode.importedFilename = fullPath;
|
|
145
|
-
if (!inlineCSS && !isPlugin && (context.importMultiple || !duplicateImport)) {
|
|
146
|
-
importVisitor.recursionDetector[fullPath] = true;
|
|
147
|
-
var oldContext = this.context;
|
|
148
|
-
this.context = context;
|
|
149
|
-
try {
|
|
150
|
-
this._visitor.visit(root);
|
|
151
|
-
}
|
|
152
|
-
catch (e) {
|
|
153
|
-
this.error = e;
|
|
154
|
-
}
|
|
155
|
-
this.context = oldContext;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
importVisitor.importCount--;
|
|
159
|
-
if (importVisitor.isFinished) {
|
|
160
|
-
importVisitor._sequencer.tryRun();
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
visitDeclaration: function (declNode, visitArgs) {
|
|
164
|
-
if (declNode.value.type === 'DetachedRuleset') {
|
|
165
|
-
this.context.frames.unshift(declNode);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
visitArgs.visitDeeper = false;
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
visitDeclarationOut: function (declNode) {
|
|
172
|
-
if (declNode.value.type === 'DetachedRuleset') {
|
|
173
|
-
this.context.frames.shift();
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
visitAtRule: function (atRuleNode, visitArgs) {
|
|
177
|
-
this.context.frames.unshift(atRuleNode);
|
|
178
|
-
},
|
|
179
|
-
visitAtRuleOut: function (atRuleNode) {
|
|
180
|
-
this.context.frames.shift();
|
|
181
|
-
},
|
|
182
|
-
visitMixinDefinition: function (mixinDefinitionNode, visitArgs) {
|
|
183
|
-
this.context.frames.unshift(mixinDefinitionNode);
|
|
184
|
-
},
|
|
185
|
-
visitMixinDefinitionOut: function (mixinDefinitionNode) {
|
|
186
|
-
this.context.frames.shift();
|
|
187
|
-
},
|
|
188
|
-
visitRuleset: function (rulesetNode, visitArgs) {
|
|
189
|
-
this.context.frames.unshift(rulesetNode);
|
|
190
|
-
},
|
|
191
|
-
visitRulesetOut: function (rulesetNode) {
|
|
192
|
-
this.context.frames.shift();
|
|
193
|
-
},
|
|
194
|
-
visitMedia: function (mediaNode, visitArgs) {
|
|
195
|
-
this.context.frames.unshift(mediaNode.rules[0]);
|
|
196
|
-
},
|
|
197
|
-
visitMediaOut: function (mediaNode) {
|
|
198
|
-
this.context.frames.shift();
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
exports.default = ImportVisitor;
|
|
202
|
-
//# sourceMappingURL=import-visitor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import-visitor.js","sourceR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,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAChC,CAAC;IACD,YAAY,EAAE,UAAU,WAAW,EAAE,SAAS;QAC1C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC7C,CAAC;IACD,eAAe,EAAE,UAAU,WAAW;QAClC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAChC,CAAC;IACD,UAAU,EAAE,UAAU,SAAS,EAAE,SAAS;QACtC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC;IACD,aAAa,EAAE,UAAU,SAAS;QAC9B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAChC,CAAC;CACJ,CAAC;AACF,kBAAe,aAAa,CAAC","sourcesContent":["import contexts from '../contexts';\nimport Visitor from './visitor';\nimport ImportSequencer from './import-sequencer';\nimport * as utils from '../utils';\n\nconst ImportVisitor = function(importer, finish) {\n\n this._visitor = new Visitor(this);\n this._importer = importer;\n this._finish = finish;\n this.context = new contexts.Eval();\n this.importCount = 0;\n this.onceFileDetectionMap = {};\n this.recursionDetector = {};\n this._sequencer = new ImportSequencer(this._onSequencerEmpty.bind(this));\n};\n\nImportVisitor.prototype = {\n isReplacing: false,\n run: function (root) {\n try {\n // process the contents\n this._visitor.visit(root);\n }\n catch (e) {\n this.error = e;\n }\n\n this.isFinished = true;\n this._sequencer.tryRun();\n },\n _onSequencerEmpty: function() {\n if (!this.isFinished) {\n return;\n }\n this._finish(this.error);\n },\n visitImport: function (importNode, visitArgs) {\n const inlineCSS = importNode.options.inline;\n\n if (!importNode.css || inlineCSS) {\n\n const context = new contexts.Eval(this.context, utils.copyArray(this.context.frames));\n const importParent = context.frames[0];\n\n this.importCount++;\n if (importNode.isVariableImport()) {\n this._sequencer.addVariableImport(this.processImportNode.bind(this, importNode, context, importParent));\n } else {\n this.processImportNode(importNode, context, importParent);\n }\n }\n visitArgs.visitDeeper = false;\n },\n processImportNode: function(importNode, context, importParent) {\n let evaldImportNode;\n const inlineCSS = importNode.options.inline;\n\n try {\n evaldImportNode = importNode.evalForImport(context);\n } catch (e) {\n if (!e.filename) { e.index = importNode.getIndex(); e.filename = importNode.fileInfo().filename; }\n // attempt to eval properly and treat as css\n importNode.css = true;\n // if that fails, this error will be thrown\n importNode.error = e;\n }\n\n if (evaldImportNode && (!evaldImportNode.css || inlineCSS)) {\n if (evaldImportNode.options.multiple) {\n context.importMultiple = true;\n }\n\n // try appending if we haven't determined if it is css or not\n const tryAppendLessExtension = evaldImportNode.css === undefined;\n\n for (let i = 0; i < importParent.rules.length; i++) {\n if (importParent.rules[i] === importNode) {\n importParent.rules[i] = evaldImportNode;\n break;\n }\n }\n\n const onImported = this.onImported.bind(this, evaldImportNode, context);\n const sequencedOnImported = this._sequencer.addImport(onImported);\n\n this._importer.push(evaldImportNode.getPath(), tryAppendLessExtension, evaldImportNode.fileInfo(),\n evaldImportNode.options, sequencedOnImported);\n } else {\n this.importCount--;\n if (this.isFinished) {\n this._sequencer.tryRun();\n }\n }\n },\n onImported: function (importNode, context, e, root, importedAtRoot, fullPath) {\n if (e) {\n if (!e.filename) {\n e.index = importNode.getIndex(); e.filename = importNode.fileInfo().filename;\n }\n this.error = e;\n }\n\n const importVisitor = this;\n const inlineCSS = importNode.options.inline;\n const isPlugin = importNode.options.isPlugin;\n const isOptional = importNode.options.optional;\n const duplicateImport = importedAtRoot || fullPath in importVisitor.recursionDetector;\n\n if (!context.importMultiple) {\n if (duplicateImport) {\n importNode.skip = true;\n } else {\n importNode.skip = () => {\n if (fullPath in importVisitor.onceFileDetectionMap) {\n return true;\n }\n importVisitor.onceFileDetectionMap[fullPath] = true;\n return false;\n };\n }\n }\n\n if (!fullPath && isOptional) {\n importNode.skip = true;\n }\n\n if (root) {\n importNode.root = root;\n importNode.importedFilename = fullPath;\n\n if (!inlineCSS && !isPlugin && (context.importMultiple || !duplicateImport)) {\n importVisitor.recursionDetector[fullPath] = true;\n\n const oldContext = this.context;\n this.context = context;\n try {\n this._visitor.visit(root);\n } catch (e) {\n this.error = e;\n }\n this.context = oldContext;\n }\n }\n\n importVisitor.importCount--;\n\n if (importVisitor.isFinished) {\n importVisitor._sequencer.tryRun();\n }\n },\n visitDeclaration: function (declNode, visitArgs) {\n if (declNode.value.type === 'DetachedRuleset') {\n this.context.frames.unshift(declNode);\n } else {\n visitArgs.visitDeeper = false;\n }\n },\n visitDeclarationOut: function(declNode) {\n if (declNode.value.type === 'DetachedRuleset') {\n this.context.frames.shift();\n }\n },\n visitAtRule: function (atRuleNode, visitArgs) {\n this.context.frames.unshift(atRuleNode);\n },\n visitAtRuleOut: function (atRuleNode) {\n this.context.frames.shift();\n },\n visitMixinDefinition: function (mixinDefinitionNode, visitArgs) {\n this.context.frames.unshift(mixinDefinitionNode);\n },\n visitMixinDefinitionOut: function (mixinDefinitionNode) {\n this.context.frames.shift();\n },\n visitRuleset: function (rulesetNode, visitArgs) {\n this.context.frames.unshift(rulesetNode);\n },\n visitRulesetOut: function (rulesetNode) {\n this.context.frames.shift();\n },\n visitMedia: function (mediaNode, visitArgs) {\n this.context.frames.unshift(mediaNode.rules[0]);\n },\n visitMediaOut: function (mediaNode) {\n this.context.frames.shift();\n }\n};\nexport default ImportVisitor;\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var visitor_1 = __importDefault(require("./visitor"));
|
|
7
|
-
var import_visitor_1 = __importDefault(require("./import-visitor"));
|
|
8
|
-
var set_tree_visibility_visitor_1 = __importDefault(require("./set-tree-visibility-visitor"));
|
|
9
|
-
var extend_visitor_1 = __importDefault(require("./extend-visitor"));
|
|
10
|
-
var join_selector_visitor_1 = __importDefault(require("./join-selector-visitor"));
|
|
11
|
-
var to_css_visitor_1 = __importDefault(require("./to-css-visitor"));
|
|
12
|
-
exports.default = {
|
|
13
|
-
Visitor: visitor_1.default,
|
|
14
|
-
ImportVisitor: import_visitor_1.default,
|
|
15
|
-
MarkVisibleSelectorsVisitor: set_tree_visibility_visitor_1.default,
|
|
16
|
-
ExtendVisitor: extend_visitor_1.default,
|
|
17
|
-
JoinSelectorVisitor: join_selector_visitor_1.default,
|
|
18
|
-
ToCSSVisitor: to_css_visitor_1.default
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/less/visitors/index.js"],"names":[],"mappings":";;;;;AAAA,sDAAgC;AAChC,oEAA6C;AAC7C,8FAAwE;AACxE,oEAA6C;AAC7C,kFAA0D;AAC1D,oEAA4C;AAE5C,kBAAe;IACX,OAAO,mBAAA;IACP,aAAa,0BAAA;IACb,2BAA2B,uCAAA;IAC3B,aAAa,0BAAA;IACb,mBAAmB,iCAAA;IACnB,YAAY,0BAAA;CACf,CAAC","sourcesContent":["import Visitor from './visitor';\nimport ImportVisitor from './import-visitor';\nimport MarkVisibleSelectorsVisitor from './set-tree-visibility-visitor';\nimport ExtendVisitor from './extend-visitor';\nimport JoinSelectorVisitor from './join-selector-visitor';\nimport ToCSSVisitor from './to-css-visitor';\n\nexport default {\n Visitor,\n ImportVisitor,\n MarkVisibleSelectorsVisitor,\n ExtendVisitor,\n JoinSelectorVisitor,\n ToCSSVisitor\n};\n"]}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var visitor_1 = __importDefault(require("./visitor"));
|
|
7
|
-
var JoinSelectorVisitor = /** @class */ (function () {
|
|
8
|
-
function JoinSelectorVisitor() {
|
|
9
|
-
this.contexts = [[]];
|
|
10
|
-
this._visitor = new visitor_1.default(this);
|
|
11
|
-
}
|
|
12
|
-
JoinSelectorVisitor.prototype.run = function (root) {
|
|
13
|
-
return this._visitor.visit(root);
|
|
14
|
-
};
|
|
15
|
-
JoinSelectorVisitor.prototype.visitDeclaration = function (declNode, visitArgs) {
|
|
16
|
-
visitArgs.visitDeeper = false;
|
|
17
|
-
};
|
|
18
|
-
JoinSelectorVisitor.prototype.visitMixinDefinition = function (mixinDefinitionNode, visitArgs) {
|
|
19
|
-
visitArgs.visitDeeper = false;
|
|
20
|
-
};
|
|
21
|
-
JoinSelectorVisitor.prototype.visitRuleset = function (rulesetNode, visitArgs) {
|
|
22
|
-
var context = this.contexts[this.contexts.length - 1];
|
|
23
|
-
var paths = [];
|
|
24
|
-
var selectors;
|
|
25
|
-
this.contexts.push(paths);
|
|
26
|
-
if (!rulesetNode.root) {
|
|
27
|
-
selectors = rulesetNode.selectors;
|
|
28
|
-
if (selectors) {
|
|
29
|
-
selectors = selectors.filter(function (selector) { return selector.getIsOutput(); });
|
|
30
|
-
rulesetNode.selectors = selectors.length ? selectors : (selectors = null);
|
|
31
|
-
if (selectors) {
|
|
32
|
-
rulesetNode.joinSelectors(paths, context, selectors);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
if (!selectors) {
|
|
36
|
-
rulesetNode.rules = null;
|
|
37
|
-
}
|
|
38
|
-
rulesetNode.paths = paths;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
JoinSelectorVisitor.prototype.visitRulesetOut = function (rulesetNode) {
|
|
42
|
-
this.contexts.length = this.contexts.length - 1;
|
|
43
|
-
};
|
|
44
|
-
JoinSelectorVisitor.prototype.visitMedia = function (mediaNode, visitArgs) {
|
|
45
|
-
var context = this.contexts[this.contexts.length - 1];
|
|
46
|
-
mediaNode.rules[0].root = (context.length === 0 || context[0].multiMedia);
|
|
47
|
-
};
|
|
48
|
-
JoinSelectorVisitor.prototype.visitAtRule = function (atRuleNode, visitArgs) {
|
|
49
|
-
var context = this.contexts[this.contexts.length - 1];
|
|
50
|
-
if (atRuleNode.rules && atRuleNode.rules.length) {
|
|
51
|
-
atRuleNode.rules[0].root = (atRuleNode.isRooted || context.length === 0 || null);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
return JoinSelectorVisitor;
|
|
55
|
-
}());
|
|
56
|
-
exports.default = JoinSelectorVisitor;
|
|
57
|
-
//# sourceMappingURL=join-selector-visitor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"join-selector-visitor.js","sourceRoot":"","sources":["../../../src/less/visitors/join-selector-visitor.js"],"names":[],"mappings":";;;;;AAAA,sDAAgC;AAEhC;IACI;QACI,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,iCAAG,GAAH,UAAI,IAAI;QACJ,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,8CAAgB,GAAhB,UAAiB,QAAQ,EAAE,SAAS;QAChC,SAAS,CAAC,WAAW,GAAG,KAAK,CAAC;IAClC,CAAC;IAED,kDAAoB,GAApB,UAAqB,mBAAmB,EAAE,SAAS;QAC/C,SAAS,CAAC,WAAW,GAAG,KAAK,CAAC;IAClC,CAAC;IAED,0CAAY,GAAZ,UAAa,WAAW,EAAE,SAAS;QAC/B,IAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACxD,IAAM,KAAK,GAAG,EAAE,CAAC;QACjB,IAAI,SAAS,CA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,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACxD,IAAI,UAAU,CAAC,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,MAAM,EAAE;YAC7C,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,QAAQ,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC;SACpF;IACL,CAAC;IACL,0BAAC;AAAD,CAAC,AApDD,IAoDC;AAED,kBAAe,mBAAmB,CAAC","sourcesContent":["import Visitor from './visitor';\n\nclass JoinSelectorVisitor {\n constructor() {\n this.contexts = [[]];\n this._visitor = new Visitor(this);\n }\n\n run(root) {\n return this._visitor.visit(root);\n }\n\n visitDeclaration(declNode, visitArgs) {\n visitArgs.visitDeeper = false;\n }\n\n visitMixinDefinition(mixinDefinitionNode, visitArgs) {\n visitArgs.visitDeeper = false;\n }\n\n visitRuleset(rulesetNode, visitArgs) {\n const context = this.contexts[this.contexts.length - 1];\n const paths = [];\n let selectors;\n\n this.contexts.push(paths);\n\n if (!rulesetNode.root) {\n selectors = rulesetNode.selectors;\n if (selectors) {\n selectors = selectors.filter(selector => selector.getIsOutput());\n rulesetNode.selectors = selectors.length ? selectors : (selectors = null);\n if (selectors) { rulesetNode.joinSelectors(paths, context, selectors); }\n }\n if (!selectors) { rulesetNode.rules = null; }\n rulesetNode.paths = paths;\n }\n }\n\n visitRulesetOut(rulesetNode) {\n this.contexts.length = this.contexts.length - 1;\n }\n\n visitMedia(mediaNode, visitArgs) {\n const context = this.contexts[this.contexts.length - 1];\n mediaNode.rules[0].root = (context.length === 0 || context[0].multiMedia);\n }\n\n visitAtRule(atRuleNode, visitArgs) {\n const context = this.contexts[this.contexts.length - 1];\n if (atRuleNode.rules && atRuleNode.rules.length) {\n atRuleNode.rules[0].root = (atRuleNode.isRooted || context.length === 0 || null);\n }\n }\n}\n\nexport default JoinSelectorVisitor;\n"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var SetTreeVisibilityVisitor = /** @class */ (function () {
|
|
4
|
-
function SetTreeVisibilityVisitor(visible) {
|
|
5
|
-
this.visible = visible;
|
|
6
|
-
}
|
|
7
|
-
SetTreeVisibilityVisitor.prototype.run = function (root) {
|
|
8
|
-
this.visit(root);
|
|
9
|
-
};
|
|
10
|
-
SetTreeVisibilityVisitor.prototype.visitArray = function (nodes) {
|
|
11
|
-
if (!nodes) {
|
|
12
|
-
return nodes;
|
|
13
|
-
}
|
|
14
|
-
var cnt = nodes.length;
|
|
15
|
-
var i;
|
|
16
|
-
for (i = 0; i < cnt; i++) {
|
|
17
|
-
this.visit(nodes[i]);
|
|
18
|
-
}
|
|
19
|
-
return nodes;
|
|
20
|
-
};
|
|
21
|
-
SetTreeVisibilityVisitor.prototype.visit = function (node) {
|
|
22
|
-
if (!node) {
|
|
23
|
-
return node;
|
|
24
|
-
}
|
|
25
|
-
if (node.constructor === Array) {
|
|
26
|
-
return this.visitArray(node);
|
|
27
|
-
}
|
|
28
|
-
if (!node.blocksVisibility || node.blocksVisibility()) {
|
|
29
|
-
return node;
|
|
30
|
-
}
|
|
31
|
-
if (this.visible) {
|
|
32
|
-
node.ensureVisibility();
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
node.ensureInvisibility();
|
|
36
|
-
}
|
|
37
|
-
node.accept(this);
|
|
38
|
-
return node;
|
|
39
|
-
};
|
|
40
|
-
return SetTreeVisibilityVisitor;
|
|
41
|
-
}());
|
|
42
|
-
exports.default = SetTreeVisibilityVisitor;
|
|
43
|
-
//# sourceMappingURL=set-tree-visibility-visitor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set-tree-visibility-visitor.js","sourceRoot":"","sources":["../../../src/less/visitors/set-tree-visibility-visitor.js"],"names":[],"mappings":";;AAAA;IACI,kCAAY,OAAO;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,sCAAG,GAAH,UAAI,IAAI;QACJ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IAED,6CAAU,GAAV,UAAW,KAAK;QACZ,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,KAAK,CAAC;SAChB;QAED,IAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,CAAC;QACN,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACtB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SACxB;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,wCAAK,GAAL,UAAM,IAAI;QACN,IAAI,CAAC,IAAI,EAAE;YACP,OAAO,IAAI,CAAC;SACf;QACD,IAAI,IAAI,CAAC,WAAW,KAAK,KAAK,EAAE;YAC5B,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;SAChC;QAED,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,EAAE,EAAE;YACnD,OAAO,IAAI,CAAC;SACf;QACD,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,IAAI,CAAC,gBAAgB,EAAE,CAAC;SAC3B;aAAM;YACH,IAAI,CAAC,kBAAkB,EAAE,CAAC;SAC7B;QAED,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,+BAAC;AAAD,CAAC,AA1CD,IA0CC;AAED,kBAAe,wBAAwB,CAAC","sourcesContent":["class SetTreeVisibilityVisitor {\n constructor(visible) {\n this.visible = visible;\n }\n\n run(root) {\n this.visit(root);\n }\n\n visitArray(nodes) {\n if (!nodes) {\n return nodes;\n }\n\n const cnt = nodes.length;\n let i;\n for (i = 0; i < cnt; i++) {\n this.visit(nodes[i]);\n }\n return nodes;\n }\n\n visit(node) {\n if (!node) {\n return node;\n }\n if (node.constructor === Array) {\n return this.visitArray(node);\n }\n\n if (!node.blocksVisibility || node.blocksVisibility()) {\n return node;\n }\n if (this.visible) {\n node.ensureVisibility();\n } else {\n node.ensureInvisibility();\n }\n\n node.accept(this);\n return node;\n }\n}\n\nexport default SetTreeVisibilityVisitor;"]}
|