@basemaps/lambda-tiler 6.20.0 → 6.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/build/__test__/tile.set.cache.test.js +4 -10
- package/build/cli/validate.js +2 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +8 -1
- package/build/routes/__test__/attribution.test.js +3 -13
- package/build/routes/attribution.d.ts.map +1 -1
- package/build/routes/attribution.js +7 -20
- package/build/routes/tile.wmts.js +2 -2
- package/build/source.tracer.d.ts +17 -0
- package/build/source.tracer.d.ts.map +1 -0
- package/build/source.tracer.js +22 -0
- package/build/tile.set.cache.js +3 -3
- package/build/tile.set.d.ts +0 -16
- package/build/tile.set.d.ts.map +1 -1
- package/build/tile.set.js +1 -20
- package/build/tile.set.raster.d.ts +7 -4
- package/build/tile.set.raster.d.ts.map +1 -1
- package/build/tile.set.raster.js +14 -5
- package/build/tile.set.vector.d.ts +10 -4
- package/build/tile.set.vector.d.ts.map +1 -1
- package/build/tile.set.vector.js +17 -7
- package/bundle.sh +2 -2
- package/package.json +11 -11
- package/scripts/create.deployment.package.mjs +34 -0
- package/src/__test__/tile.set.cache.test.ts +4 -12
- package/src/cli/validate.ts +2 -1
- package/src/index.ts +11 -1
- package/src/routes/__test__/attribution.test.ts +3 -13
- package/src/routes/attribution.ts +6 -17
- package/src/routes/tile.wmts.ts +2 -2
- package/src/source.tracer.ts +34 -0
- package/src/tile.set.cache.ts +3 -3
- package/src/tile.set.raster.ts +28 -6
- package/src/tile.set.ts +0 -40
- package/src/tile.set.vector.ts +25 -6
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +0 -30702
- package/dist/node_modules/ansi-regex/index.js +0 -4
- package/dist/node_modules/ansi-regex/license +0 -21
- package/dist/node_modules/ansi-regex/package.json +0 -108
- package/dist/node_modules/ansi-regex/readme.md +0 -39
- package/dist/node_modules/aproba/LICENSE +0 -14
- package/dist/node_modules/aproba/README.md +0 -94
- package/dist/node_modules/aproba/index.js +0 -105
- package/dist/node_modules/aproba/package.json +0 -62
- package/dist/node_modules/are-we-there-yet/CHANGES.md +0 -37
- package/dist/node_modules/are-we-there-yet/LICENSE +0 -5
- package/dist/node_modules/are-we-there-yet/README.md +0 -195
- package/dist/node_modules/are-we-there-yet/index.js +0 -4
- package/dist/node_modules/are-we-there-yet/package.json +0 -63
- package/dist/node_modules/are-we-there-yet/tracker-base.js +0 -11
- package/dist/node_modules/are-we-there-yet/tracker-group.js +0 -107
- package/dist/node_modules/are-we-there-yet/tracker-stream.js +0 -36
- package/dist/node_modules/are-we-there-yet/tracker.js +0 -30
- package/dist/node_modules/base64-js/LICENSE +0 -21
- package/dist/node_modules/base64-js/README.md +0 -34
- package/dist/node_modules/base64-js/base64js.min.js +0 -1
- package/dist/node_modules/base64-js/index.d.ts +0 -3
- package/dist/node_modules/base64-js/index.js +0 -150
- package/dist/node_modules/base64-js/package.json +0 -75
- package/dist/node_modules/bl/.travis.yml +0 -17
- package/dist/node_modules/bl/BufferList.js +0 -396
- package/dist/node_modules/bl/LICENSE.md +0 -13
- package/dist/node_modules/bl/README.md +0 -247
- package/dist/node_modules/bl/bl.js +0 -84
- package/dist/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/dist/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/dist/node_modules/bl/node_modules/readable-stream/LICENSE +0 -47
- package/dist/node_modules/bl/node_modules/readable-stream/README.md +0 -106
- package/dist/node_modules/bl/node_modules/readable-stream/errors-browser.js +0 -127
- package/dist/node_modules/bl/node_modules/readable-stream/errors.js +0 -116
- package/dist/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/dist/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/dist/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/dist/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- package/dist/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/dist/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/dist/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/dist/node_modules/bl/node_modules/readable-stream/package.json +0 -97
- package/dist/node_modules/bl/node_modules/readable-stream/readable-browser.js +0 -9
- package/dist/node_modules/bl/node_modules/readable-stream/readable.js +0 -16
- package/dist/node_modules/bl/package.json +0 -69
- package/dist/node_modules/bl/test/convert.js +0 -21
- package/dist/node_modules/bl/test/indexOf.js +0 -492
- package/dist/node_modules/bl/test/isBufferList.js +0 -32
- package/dist/node_modules/bl/test/test.js +0 -869
- package/dist/node_modules/buffer/AUTHORS.md +0 -70
- package/dist/node_modules/buffer/LICENSE +0 -21
- package/dist/node_modules/buffer/README.md +0 -410
- package/dist/node_modules/buffer/index.d.ts +0 -186
- package/dist/node_modules/buffer/index.js +0 -1817
- package/dist/node_modules/buffer/package.json +0 -127
- package/dist/node_modules/chownr/LICENSE +0 -15
- package/dist/node_modules/chownr/README.md +0 -3
- package/dist/node_modules/chownr/chownr.js +0 -167
- package/dist/node_modules/chownr/package.json +0 -62
- package/dist/node_modules/code-point-at/index.js +0 -32
- package/dist/node_modules/code-point-at/license +0 -21
- package/dist/node_modules/code-point-at/package.json +0 -70
- package/dist/node_modules/code-point-at/readme.md +0 -32
- package/dist/node_modules/color/LICENSE +0 -21
- package/dist/node_modules/color/README.md +0 -123
- package/dist/node_modules/color/index.js +0 -497
- package/dist/node_modules/color/package.json +0 -74
- package/dist/node_modules/color-convert/CHANGELOG.md +0 -54
- package/dist/node_modules/color-convert/LICENSE +0 -21
- package/dist/node_modules/color-convert/README.md +0 -68
- package/dist/node_modules/color-convert/conversions.js +0 -839
- package/dist/node_modules/color-convert/index.js +0 -81
- package/dist/node_modules/color-convert/package.json +0 -83
- package/dist/node_modules/color-convert/route.js +0 -97
- package/dist/node_modules/color-name/LICENSE +0 -8
- package/dist/node_modules/color-name/README.md +0 -11
- package/dist/node_modules/color-name/index.js +0 -152
- package/dist/node_modules/color-name/package.json +0 -57
- package/dist/node_modules/color-string/LICENSE +0 -21
- package/dist/node_modules/color-string/README.md +0 -62
- package/dist/node_modules/color-string/index.js +0 -242
- package/dist/node_modules/color-string/package.json +0 -81
- package/dist/node_modules/console-control-strings/LICENSE +0 -13
- package/dist/node_modules/console-control-strings/README.md +0 -145
- package/dist/node_modules/console-control-strings/README.md~ +0 -140
- package/dist/node_modules/console-control-strings/index.js +0 -125
- package/dist/node_modules/console-control-strings/package.json +0 -61
- package/dist/node_modules/core-util-is/LICENSE +0 -19
- package/dist/node_modules/core-util-is/README.md +0 -3
- package/dist/node_modules/core-util-is/lib/util.js +0 -107
- package/dist/node_modules/core-util-is/package.json +0 -68
- package/dist/node_modules/decompress-response/index.d.ts +0 -22
- package/dist/node_modules/decompress-response/index.js +0 -58
- package/dist/node_modules/decompress-response/license +0 -9
- package/dist/node_modules/decompress-response/package.json +0 -88
- package/dist/node_modules/decompress-response/readme.md +0 -48
- package/dist/node_modules/deep-extend/CHANGELOG.md +0 -46
- package/dist/node_modules/deep-extend/LICENSE +0 -20
- package/dist/node_modules/deep-extend/README.md +0 -91
- package/dist/node_modules/deep-extend/index.js +0 -1
- package/dist/node_modules/deep-extend/lib/deep-extend.js +0 -150
- package/dist/node_modules/deep-extend/package.json +0 -92
- package/dist/node_modules/delegates/History.md +0 -22
- package/dist/node_modules/delegates/License +0 -20
- package/dist/node_modules/delegates/Makefile +0 -8
- package/dist/node_modules/delegates/Readme.md +0 -94
- package/dist/node_modules/delegates/index.js +0 -121
- package/dist/node_modules/delegates/package.json +0 -48
- package/dist/node_modules/delegates/test/index.js +0 -94
- package/dist/node_modules/detect-libc/LICENSE +0 -201
- package/dist/node_modules/detect-libc/README.md +0 -78
- package/dist/node_modules/detect-libc/bin/detect-libc.js +0 -18
- package/dist/node_modules/detect-libc/lib/detect-libc.js +0 -92
- package/dist/node_modules/detect-libc/package.json +0 -70
- package/dist/node_modules/end-of-stream/LICENSE +0 -21
- package/dist/node_modules/end-of-stream/README.md +0 -54
- package/dist/node_modules/end-of-stream/index.js +0 -94
- package/dist/node_modules/end-of-stream/package.json +0 -66
- package/dist/node_modules/expand-template/.travis.yml +0 -6
- package/dist/node_modules/expand-template/LICENSE +0 -21
- package/dist/node_modules/expand-template/README.md +0 -43
- package/dist/node_modules/expand-template/index.js +0 -26
- package/dist/node_modules/expand-template/package.json +0 -60
- package/dist/node_modules/expand-template/test.js +0 -67
- package/dist/node_modules/fs-constants/LICENSE +0 -21
- package/dist/node_modules/fs-constants/README.md +0 -26
- package/dist/node_modules/fs-constants/browser.js +0 -1
- package/dist/node_modules/fs-constants/index.js +0 -1
- package/dist/node_modules/fs-constants/package.json +0 -47
- package/dist/node_modules/gauge/CHANGELOG.md +0 -160
- package/dist/node_modules/gauge/LICENSE +0 -13
- package/dist/node_modules/gauge/README.md +0 -399
- package/dist/node_modules/gauge/base-theme.js +0 -14
- package/dist/node_modules/gauge/error.js +0 -24
- package/dist/node_modules/gauge/has-color.js +0 -12
- package/dist/node_modules/gauge/index.js +0 -233
- package/dist/node_modules/gauge/package.json +0 -91
- package/dist/node_modules/gauge/plumbing.js +0 -48
- package/dist/node_modules/gauge/process.js +0 -3
- package/dist/node_modules/gauge/progress-bar.js +0 -35
- package/dist/node_modules/gauge/render-template.js +0 -181
- package/dist/node_modules/gauge/set-immediate.js +0 -7
- package/dist/node_modules/gauge/set-interval.js +0 -3
- package/dist/node_modules/gauge/spin.js +0 -5
- package/dist/node_modules/gauge/template-item.js +0 -73
- package/dist/node_modules/gauge/theme-set.js +0 -115
- package/dist/node_modules/gauge/themes.js +0 -54
- package/dist/node_modules/gauge/wide-truncate.js +0 -25
- package/dist/node_modules/github-from-package/.travis.yml +0 -4
- package/dist/node_modules/github-from-package/LICENSE +0 -18
- package/dist/node_modules/github-from-package/example/package.json +0 -8
- package/dist/node_modules/github-from-package/example/url.js +0 -3
- package/dist/node_modules/github-from-package/index.js +0 -17
- package/dist/node_modules/github-from-package/package.json +0 -58
- package/dist/node_modules/github-from-package/readme.markdown +0 -53
- package/dist/node_modules/github-from-package/test/a.json +0 -8
- package/dist/node_modules/github-from-package/test/b.json +0 -5
- package/dist/node_modules/github-from-package/test/c.json +0 -5
- package/dist/node_modules/github-from-package/test/d.json +0 -7
- package/dist/node_modules/github-from-package/test/e.json +0 -5
- package/dist/node_modules/github-from-package/test/url.js +0 -19
- package/dist/node_modules/has-unicode/LICENSE +0 -14
- package/dist/node_modules/has-unicode/README.md +0 -43
- package/dist/node_modules/has-unicode/index.js +0 -16
- package/dist/node_modules/has-unicode/package.json +0 -58
- package/dist/node_modules/ieee754/LICENSE +0 -11
- package/dist/node_modules/ieee754/README.md +0 -51
- package/dist/node_modules/ieee754/index.d.ts +0 -10
- package/dist/node_modules/ieee754/index.js +0 -85
- package/dist/node_modules/ieee754/package.json +0 -84
- package/dist/node_modules/inherits/LICENSE +0 -16
- package/dist/node_modules/inherits/README.md +0 -42
- package/dist/node_modules/inherits/inherits.js +0 -9
- package/dist/node_modules/inherits/inherits_browser.js +0 -27
- package/dist/node_modules/inherits/package.json +0 -65
- package/dist/node_modules/ini/LICENSE +0 -15
- package/dist/node_modules/ini/README.md +0 -102
- package/dist/node_modules/ini/ini.js +0 -206
- package/dist/node_modules/ini/package.json +0 -66
- package/dist/node_modules/is-arrayish/LICENSE +0 -21
- package/dist/node_modules/is-arrayish/README.md +0 -16
- package/dist/node_modules/is-arrayish/index.js +0 -9
- package/dist/node_modules/is-arrayish/package.json +0 -77
- package/dist/node_modules/is-arrayish/yarn-error.log +0 -1443
- package/dist/node_modules/is-fullwidth-code-point/index.js +0 -46
- package/dist/node_modules/is-fullwidth-code-point/license +0 -21
- package/dist/node_modules/is-fullwidth-code-point/package.json +0 -77
- package/dist/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/dist/node_modules/isarray/.travis.yml +0 -4
- package/dist/node_modules/isarray/Makefile +0 -6
- package/dist/node_modules/isarray/README.md +0 -60
- package/dist/node_modules/isarray/component.json +0 -19
- package/dist/node_modules/isarray/index.js +0 -5
- package/dist/node_modules/isarray/package.json +0 -73
- package/dist/node_modules/isarray/test.js +0 -20
- package/dist/node_modules/lru-cache/LICENSE +0 -15
- package/dist/node_modules/lru-cache/README.md +0 -166
- package/dist/node_modules/lru-cache/index.js +0 -334
- package/dist/node_modules/lru-cache/package.json +0 -69
- package/dist/node_modules/mimic-response/index.d.ts +0 -17
- package/dist/node_modules/mimic-response/index.js +0 -77
- package/dist/node_modules/mimic-response/license +0 -9
- package/dist/node_modules/mimic-response/package.json +0 -74
- package/dist/node_modules/mimic-response/readme.md +0 -78
- package/dist/node_modules/minimist/.travis.yml +0 -8
- package/dist/node_modules/minimist/LICENSE +0 -18
- package/dist/node_modules/minimist/example/parse.js +0 -2
- package/dist/node_modules/minimist/index.js +0 -245
- package/dist/node_modules/minimist/package.json +0 -74
- package/dist/node_modules/minimist/readme.markdown +0 -95
- package/dist/node_modules/minimist/test/all_bool.js +0 -32
- package/dist/node_modules/minimist/test/bool.js +0 -178
- package/dist/node_modules/minimist/test/dash.js +0 -31
- package/dist/node_modules/minimist/test/default_bool.js +0 -35
- package/dist/node_modules/minimist/test/dotted.js +0 -22
- package/dist/node_modules/minimist/test/kv_short.js +0 -16
- package/dist/node_modules/minimist/test/long.js +0 -31
- package/dist/node_modules/minimist/test/num.js +0 -36
- package/dist/node_modules/minimist/test/parse.js +0 -197
- package/dist/node_modules/minimist/test/parse_modified.js +0 -9
- package/dist/node_modules/minimist/test/proto.js +0 -44
- package/dist/node_modules/minimist/test/short.js +0 -67
- package/dist/node_modules/minimist/test/stop_early.js +0 -15
- package/dist/node_modules/minimist/test/unknown.js +0 -102
- package/dist/node_modules/minimist/test/whitespace.js +0 -8
- package/dist/node_modules/mkdirp-classic/LICENSE +0 -21
- package/dist/node_modules/mkdirp-classic/README.md +0 -18
- package/dist/node_modules/mkdirp-classic/index.js +0 -98
- package/dist/node_modules/mkdirp-classic/package.json +0 -47
- package/dist/node_modules/napi-build-utils/LICENSE +0 -21
- package/dist/node_modules/napi-build-utils/README.md +0 -48
- package/dist/node_modules/napi-build-utils/index.js +0 -213
- package/dist/node_modules/napi-build-utils/index.md +0 -81
- package/dist/node_modules/napi-build-utils/package.json +0 -68
- package/dist/node_modules/node-abi/.circleci/config.yml +0 -63
- package/dist/node_modules/node-abi/.github/workflows/update-abi.yml +0 -41
- package/dist/node_modules/node-abi/.releaserc.json +0 -9
- package/dist/node_modules/node-abi/CODE_OF_CONDUCT.md +0 -73
- package/dist/node_modules/node-abi/CONTRIBUTING.md +0 -53
- package/dist/node_modules/node-abi/LICENSE +0 -21
- package/dist/node_modules/node-abi/README.md +0 -50
- package/dist/node_modules/node-abi/abi_registry.json +0 -179
- package/dist/node_modules/node-abi/index.js +0 -179
- package/dist/node_modules/node-abi/package.json +0 -66
- package/dist/node_modules/node-abi/scripts/update-abi-registry.js +0 -119
- package/dist/node_modules/node-abi/test/index.js +0 -166
- package/dist/node_modules/node-addon-api/LICENSE.md +0 -13
- package/dist/node_modules/node-addon-api/README.md +0 -293
- package/dist/node_modules/node-addon-api/common.gypi +0 -21
- package/dist/node_modules/node-addon-api/except.gypi +0 -25
- package/dist/node_modules/node-addon-api/index.js +0 -11
- package/dist/node_modules/node-addon-api/napi-inl.deprecated.h +0 -192
- package/dist/node_modules/node-addon-api/napi-inl.h +0 -6209
- package/dist/node_modules/node-addon-api/napi.h +0 -2983
- package/dist/node_modules/node-addon-api/node_api.gyp +0 -9
- package/dist/node_modules/node-addon-api/noexcept.gypi +0 -26
- package/dist/node_modules/node-addon-api/nothing.c +0 -0
- package/dist/node_modules/node-addon-api/package-support.json +0 -21
- package/dist/node_modules/node-addon-api/package.json +0 -422
- package/dist/node_modules/node-addon-api/tools/README.md +0 -73
- package/dist/node_modules/node-addon-api/tools/check-napi.js +0 -100
- package/dist/node_modules/node-addon-api/tools/clang-format.js +0 -68
- package/dist/node_modules/node-addon-api/tools/conversion.js +0 -309
- package/dist/node_modules/node-addon-api/tools/eslint-format.js +0 -71
- package/dist/node_modules/npmlog/CHANGELOG.md +0 -49
- package/dist/node_modules/npmlog/LICENSE +0 -15
- package/dist/node_modules/npmlog/README.md +0 -216
- package/dist/node_modules/npmlog/log.js +0 -309
- package/dist/node_modules/npmlog/package.json +0 -61
- package/dist/node_modules/number-is-nan/index.js +0 -4
- package/dist/node_modules/number-is-nan/license +0 -21
- package/dist/node_modules/number-is-nan/package.json +0 -67
- package/dist/node_modules/number-is-nan/readme.md +0 -28
- package/dist/node_modules/object-assign/index.js +0 -90
- package/dist/node_modules/object-assign/license +0 -21
- package/dist/node_modules/object-assign/package.json +0 -74
- package/dist/node_modules/object-assign/readme.md +0 -61
- package/dist/node_modules/once/LICENSE +0 -15
- package/dist/node_modules/once/README.md +0 -79
- package/dist/node_modules/once/once.js +0 -42
- package/dist/node_modules/once/package.json +0 -68
- package/dist/node_modules/prebuild-install/CHANGELOG.md +0 -98
- package/dist/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
- package/dist/node_modules/prebuild-install/LICENSE +0 -21
- package/dist/node_modules/prebuild-install/README.md +0 -159
- package/dist/node_modules/prebuild-install/asset.js +0 -44
- package/dist/node_modules/prebuild-install/bin.js +0 -78
- package/dist/node_modules/prebuild-install/download.js +0 -142
- package/dist/node_modules/prebuild-install/error.js +0 -14
- package/dist/node_modules/prebuild-install/help.txt +0 -16
- package/dist/node_modules/prebuild-install/index.js +0 -1
- package/dist/node_modules/prebuild-install/log.js +0 -25
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/LICENSE +0 -201
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/README.md +0 -160
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/index.d.ts +0 -11
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/lib/detect-libc.js +0 -178
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/lib/process.js +0 -16
- package/dist/node_modules/prebuild-install/node_modules/detect-libc/package.json +0 -71
- package/dist/node_modules/prebuild-install/package.json +0 -126
- package/dist/node_modules/prebuild-install/proxy.js +0 -35
- package/dist/node_modules/prebuild-install/rc.js +0 -60
- package/dist/node_modules/prebuild-install/util.js +0 -143
- package/dist/node_modules/process-nextick-args/index.js +0 -45
- package/dist/node_modules/process-nextick-args/license.md +0 -19
- package/dist/node_modules/process-nextick-args/package.json +0 -50
- package/dist/node_modules/process-nextick-args/readme.md +0 -18
- package/dist/node_modules/pump/.travis.yml +0 -5
- package/dist/node_modules/pump/LICENSE +0 -21
- package/dist/node_modules/pump/README.md +0 -65
- package/dist/node_modules/pump/index.js +0 -82
- package/dist/node_modules/pump/package.json +0 -60
- package/dist/node_modules/pump/test-browser.js +0 -66
- package/dist/node_modules/pump/test-node.js +0 -53
- package/dist/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/dist/node_modules/rc/LICENSE.BSD +0 -26
- package/dist/node_modules/rc/LICENSE.MIT +0 -24
- package/dist/node_modules/rc/README.md +0 -227
- package/dist/node_modules/rc/browser.js +0 -7
- package/dist/node_modules/rc/cli.js +0 -4
- package/dist/node_modules/rc/index.js +0 -53
- package/dist/node_modules/rc/lib/utils.js +0 -104
- package/dist/node_modules/rc/package.json +0 -64
- package/dist/node_modules/rc/test/ini.js +0 -16
- package/dist/node_modules/rc/test/nested-env-vars.js +0 -50
- package/dist/node_modules/rc/test/test.js +0 -59
- package/dist/node_modules/readable-stream/.travis.yml +0 -34
- package/dist/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/dist/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/dist/node_modules/readable-stream/LICENSE +0 -47
- package/dist/node_modules/readable-stream/README.md +0 -58
- package/dist/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/dist/node_modules/readable-stream/duplex-browser.js +0 -1
- package/dist/node_modules/readable-stream/duplex.js +0 -1
- package/dist/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/dist/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/dist/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/dist/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/dist/node_modules/readable-stream/lib/_stream_writable.js +0 -687
- package/dist/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- package/dist/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
- package/dist/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/dist/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/dist/node_modules/readable-stream/package.json +0 -81
- package/dist/node_modules/readable-stream/passthrough.js +0 -1
- package/dist/node_modules/readable-stream/readable-browser.js +0 -7
- package/dist/node_modules/readable-stream/readable.js +0 -19
- package/dist/node_modules/readable-stream/transform.js +0 -1
- package/dist/node_modules/readable-stream/writable-browser.js +0 -1
- package/dist/node_modules/readable-stream/writable.js +0 -8
- package/dist/node_modules/safe-buffer/LICENSE +0 -21
- package/dist/node_modules/safe-buffer/README.md +0 -584
- package/dist/node_modules/safe-buffer/index.d.ts +0 -187
- package/dist/node_modules/safe-buffer/index.js +0 -62
- package/dist/node_modules/safe-buffer/package.json +0 -64
- package/dist/node_modules/semver/CHANGELOG.md +0 -111
- package/dist/node_modules/semver/LICENSE +0 -15
- package/dist/node_modules/semver/README.md +0 -566
- package/dist/node_modules/semver/bin/semver.js +0 -173
- package/dist/node_modules/semver/classes/comparator.js +0 -135
- package/dist/node_modules/semver/classes/index.js +0 -5
- package/dist/node_modules/semver/classes/range.js +0 -510
- package/dist/node_modules/semver/classes/semver.js +0 -287
- package/dist/node_modules/semver/functions/clean.js +0 -6
- package/dist/node_modules/semver/functions/cmp.js +0 -48
- package/dist/node_modules/semver/functions/coerce.js +0 -51
- package/dist/node_modules/semver/functions/compare-build.js +0 -7
- package/dist/node_modules/semver/functions/compare-loose.js +0 -3
- package/dist/node_modules/semver/functions/compare.js +0 -5
- package/dist/node_modules/semver/functions/diff.js +0 -23
- package/dist/node_modules/semver/functions/eq.js +0 -3
- package/dist/node_modules/semver/functions/gt.js +0 -3
- package/dist/node_modules/semver/functions/gte.js +0 -3
- package/dist/node_modules/semver/functions/inc.js +0 -15
- package/dist/node_modules/semver/functions/lt.js +0 -3
- package/dist/node_modules/semver/functions/lte.js +0 -3
- package/dist/node_modules/semver/functions/major.js +0 -3
- package/dist/node_modules/semver/functions/minor.js +0 -3
- package/dist/node_modules/semver/functions/neq.js +0 -3
- package/dist/node_modules/semver/functions/parse.js +0 -33
- package/dist/node_modules/semver/functions/patch.js +0 -3
- package/dist/node_modules/semver/functions/prerelease.js +0 -6
- package/dist/node_modules/semver/functions/rcompare.js +0 -3
- package/dist/node_modules/semver/functions/rsort.js +0 -3
- package/dist/node_modules/semver/functions/satisfies.js +0 -10
- package/dist/node_modules/semver/functions/sort.js +0 -3
- package/dist/node_modules/semver/functions/valid.js +0 -6
- package/dist/node_modules/semver/index.js +0 -48
- package/dist/node_modules/semver/internal/constants.js +0 -17
- package/dist/node_modules/semver/internal/debug.js +0 -9
- package/dist/node_modules/semver/internal/identifiers.js +0 -23
- package/dist/node_modules/semver/internal/parse-options.js +0 -11
- package/dist/node_modules/semver/internal/re.js +0 -182
- package/dist/node_modules/semver/package.json +0 -74
- package/dist/node_modules/semver/preload.js +0 -2
- package/dist/node_modules/semver/range.bnf +0 -16
- package/dist/node_modules/semver/ranges/gtr.js +0 -4
- package/dist/node_modules/semver/ranges/intersects.js +0 -7
- package/dist/node_modules/semver/ranges/ltr.js +0 -4
- package/dist/node_modules/semver/ranges/max-satisfying.js +0 -25
- package/dist/node_modules/semver/ranges/min-satisfying.js +0 -24
- package/dist/node_modules/semver/ranges/min-version.js +0 -60
- package/dist/node_modules/semver/ranges/outside.js +0 -80
- package/dist/node_modules/semver/ranges/simplify.js +0 -44
- package/dist/node_modules/semver/ranges/subset.js +0 -222
- package/dist/node_modules/semver/ranges/to-comparators.js +0 -8
- package/dist/node_modules/semver/ranges/valid.js +0 -11
- package/dist/node_modules/set-blocking/CHANGELOG.md +0 -26
- package/dist/node_modules/set-blocking/LICENSE.txt +0 -14
- package/dist/node_modules/set-blocking/README.md +0 -31
- package/dist/node_modules/set-blocking/index.js +0 -7
- package/dist/node_modules/set-blocking/package.json +0 -70
- package/dist/node_modules/sharp/LICENSE +0 -191
- package/dist/node_modules/sharp/README.md +0 -117
- package/dist/node_modules/sharp/binding.gyp +0 -233
- package/dist/node_modules/sharp/build/Release/sharp-linux-x64.node +0 -0
- package/dist/node_modules/sharp/install/can-compile.js +0 -11
- package/dist/node_modules/sharp/install/dll-copy.js +0 -37
- package/dist/node_modules/sharp/install/libvips.js +0 -176
- package/dist/node_modules/sharp/lib/agent.js +0 -40
- package/dist/node_modules/sharp/lib/channel.js +0 -171
- package/dist/node_modules/sharp/lib/colour.js +0 -171
- package/dist/node_modules/sharp/lib/composite.js +0 -178
- package/dist/node_modules/sharp/lib/constructor.js +0 -379
- package/dist/node_modules/sharp/lib/index.js +0 -13
- package/dist/node_modules/sharp/lib/input.js +0 -471
- package/dist/node_modules/sharp/lib/is.js +0 -143
- package/dist/node_modules/sharp/lib/libvips.js +0 -108
- package/dist/node_modules/sharp/lib/operation.js +0 -671
- package/dist/node_modules/sharp/lib/output.js +0 -1166
- package/dist/node_modules/sharp/lib/platform.js +0 -25
- package/dist/node_modules/sharp/lib/resize.js +0 -454
- package/dist/node_modules/sharp/lib/sharp.js +0 -31
- package/dist/node_modules/sharp/lib/utility.js +0 -180
- package/dist/node_modules/sharp/package.json +0 -436
- package/dist/node_modules/sharp/src/common.cc +0 -883
- package/dist/node_modules/sharp/src/common.h +0 -328
- package/dist/node_modules/sharp/src/libvips/cplusplus/VConnection.cpp +0 -152
- package/dist/node_modules/sharp/src/libvips/cplusplus/VError.cpp +0 -50
- package/dist/node_modules/sharp/src/libvips/cplusplus/VImage.cpp +0 -1505
- package/dist/node_modules/sharp/src/libvips/cplusplus/VInterpolate.cpp +0 -63
- package/dist/node_modules/sharp/src/libvips/cplusplus/vips-operators.cpp +0 -3710
- package/dist/node_modules/sharp/src/metadata.cc +0 -285
- package/dist/node_modules/sharp/src/metadata.h +0 -91
- package/dist/node_modules/sharp/src/operations.cc +0 -311
- package/dist/node_modules/sharp/src/operations.h +0 -113
- package/dist/node_modules/sharp/src/pipeline.cc +0 -1584
- package/dist/node_modules/sharp/src/pipeline.h +0 -345
- package/dist/node_modules/sharp/src/sharp.cc +0 -52
- package/dist/node_modules/sharp/src/stats.cc +0 -193
- package/dist/node_modules/sharp/src/stats.h +0 -70
- package/dist/node_modules/sharp/src/utilities.cc +0 -243
- package/dist/node_modules/sharp/src/utilities.h +0 -29
- package/dist/node_modules/sharp/vendor/8.11.3/linux-x64/THIRD-PARTY-NOTICES.md +0 -41
- package/dist/node_modules/sharp/vendor/8.11.3/linux-x64/lib/libvips-cpp.so.42 +0 -0
- package/dist/node_modules/sharp/vendor/8.11.3/linux-x64/platform.json +0 -1
- package/dist/node_modules/sharp/vendor/8.11.3/linux-x64/versions.json +0 -30
- package/dist/node_modules/signal-exit/LICENSE.txt +0 -16
- package/dist/node_modules/signal-exit/README.md +0 -39
- package/dist/node_modules/signal-exit/index.js +0 -200
- package/dist/node_modules/signal-exit/package.json +0 -66
- package/dist/node_modules/signal-exit/signals.js +0 -53
- package/dist/node_modules/simple-concat/.travis.yml +0 -3
- package/dist/node_modules/simple-concat/LICENSE +0 -20
- package/dist/node_modules/simple-concat/README.md +0 -44
- package/dist/node_modules/simple-concat/index.js +0 -15
- package/dist/node_modules/simple-concat/package.json +0 -72
- package/dist/node_modules/simple-concat/test/basic.js +0 -41
- package/dist/node_modules/simple-get/.github/dependabot.yml +0 -15
- package/dist/node_modules/simple-get/.github/workflows/ci.yml +0 -23
- package/dist/node_modules/simple-get/LICENSE +0 -20
- package/dist/node_modules/simple-get/README.md +0 -333
- package/dist/node_modules/simple-get/index.js +0 -108
- package/dist/node_modules/simple-get/package.json +0 -93
- package/dist/node_modules/simple-swizzle/LICENSE +0 -21
- package/dist/node_modules/simple-swizzle/README.md +0 -39
- package/dist/node_modules/simple-swizzle/index.js +0 -29
- package/dist/node_modules/simple-swizzle/package.json +0 -71
- package/dist/node_modules/string-width/index.js +0 -37
- package/dist/node_modules/string-width/license +0 -21
- package/dist/node_modules/string-width/package.json +0 -89
- package/dist/node_modules/string-width/readme.md +0 -42
- package/dist/node_modules/string_decoder/.travis.yml +0 -50
- package/dist/node_modules/string_decoder/LICENSE +0 -48
- package/dist/node_modules/string_decoder/README.md +0 -47
- package/dist/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/dist/node_modules/string_decoder/package.json +0 -61
- package/dist/node_modules/strip-ansi/index.js +0 -6
- package/dist/node_modules/strip-ansi/license +0 -21
- package/dist/node_modules/strip-ansi/package.json +0 -102
- package/dist/node_modules/strip-ansi/readme.md +0 -33
- package/dist/node_modules/strip-json-comments/index.js +0 -70
- package/dist/node_modules/strip-json-comments/license +0 -21
- package/dist/node_modules/strip-json-comments/package.json +0 -74
- package/dist/node_modules/strip-json-comments/readme.md +0 -64
- package/dist/node_modules/tar-fs/.travis.yml +0 -6
- package/dist/node_modules/tar-fs/LICENSE +0 -21
- package/dist/node_modules/tar-fs/README.md +0 -165
- package/dist/node_modules/tar-fs/index.js +0 -351
- package/dist/node_modules/tar-fs/package.json +0 -69
- package/dist/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/dist/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/dist/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/dist/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/dist/node_modules/tar-fs/test/index.js +0 -346
- package/dist/node_modules/tar-stream/LICENSE +0 -21
- package/dist/node_modules/tar-stream/README.md +0 -168
- package/dist/node_modules/tar-stream/extract.js +0 -257
- package/dist/node_modules/tar-stream/headers.js +0 -295
- package/dist/node_modules/tar-stream/index.js +0 -2
- package/dist/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/dist/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/dist/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
- package/dist/node_modules/tar-stream/node_modules/readable-stream/README.md +0 -106
- package/dist/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +0 -127
- package/dist/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -116
- package/dist/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/dist/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/dist/node_modules/tar-stream/node_modules/readable-stream/package.json +0 -97
- package/dist/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +0 -9
- package/dist/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -16
- package/dist/node_modules/tar-stream/pack.js +0 -255
- package/dist/node_modules/tar-stream/package.json +0 -90
- package/dist/node_modules/tar-stream/sandbox.js +0 -11
- package/dist/node_modules/tunnel-agent/LICENSE +0 -55
- package/dist/node_modules/tunnel-agent/README.md +0 -4
- package/dist/node_modules/tunnel-agent/index.js +0 -244
- package/dist/node_modules/tunnel-agent/package.json +0 -56
- package/dist/node_modules/util-deprecate/History.md +0 -16
- package/dist/node_modules/util-deprecate/LICENSE +0 -24
- package/dist/node_modules/util-deprecate/README.md +0 -53
- package/dist/node_modules/util-deprecate/browser.js +0 -67
- package/dist/node_modules/util-deprecate/node.js +0 -6
- package/dist/node_modules/util-deprecate/package.json +0 -58
- package/dist/node_modules/wide-align/LICENSE +0 -14
- package/dist/node_modules/wide-align/README.md +0 -47
- package/dist/node_modules/wide-align/align.js +0 -65
- package/dist/node_modules/wide-align/package.json +0 -66
- package/dist/node_modules/wrappy/LICENSE +0 -15
- package/dist/node_modules/wrappy/README.md +0 -36
- package/dist/node_modules/wrappy/package.json +0 -58
- package/dist/node_modules/wrappy/wrappy.js +0 -33
- package/dist/node_modules/yallist/LICENSE +0 -15
- package/dist/node_modules/yallist/README.md +0 -204
- package/dist/node_modules/yallist/iterator.js +0 -8
- package/dist/node_modules/yallist/package.json +0 -62
- package/dist/node_modules/yallist/yallist.js +0 -426
- package/dist/package-lock.json +0 -507
- package/dist/package.json +0 -63
- package/dist/static/expected_tile_2193_153_255_z7.png +0 -0
- package/dist/static/expected_tile_NZTM2000Quad_30_33_z6.png +0 -0
- package/dist/static/expected_tile_WebMercatorQuad_252_156_z8.png +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/*! simple-get. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2
|
-
module.exports = simpleGet
|
|
3
|
-
|
|
4
|
-
const concat = require('simple-concat')
|
|
5
|
-
const decompressResponse = require('decompress-response') // excluded from browser build
|
|
6
|
-
const http = require('http')
|
|
7
|
-
const https = require('https')
|
|
8
|
-
const once = require('once')
|
|
9
|
-
const querystring = require('querystring')
|
|
10
|
-
const url = require('url')
|
|
11
|
-
|
|
12
|
-
const isStream = o => o !== null && typeof o === 'object' && typeof o.pipe === 'function'
|
|
13
|
-
|
|
14
|
-
function simpleGet (opts, cb) {
|
|
15
|
-
opts = Object.assign({ maxRedirects: 10 }, typeof opts === 'string' ? { url: opts } : opts)
|
|
16
|
-
cb = once(cb)
|
|
17
|
-
|
|
18
|
-
if (opts.url) {
|
|
19
|
-
const { hostname, port, protocol, auth, path } = url.parse(opts.url) // eslint-disable-line node/no-deprecated-api
|
|
20
|
-
delete opts.url
|
|
21
|
-
if (!hostname && !port && !protocol && !auth) opts.path = path // Relative redirect
|
|
22
|
-
else Object.assign(opts, { hostname, port, protocol, auth, path }) // Absolute redirect
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const headers = { 'accept-encoding': 'gzip, deflate' }
|
|
26
|
-
if (opts.headers) Object.keys(opts.headers).forEach(k => (headers[k.toLowerCase()] = opts.headers[k]))
|
|
27
|
-
opts.headers = headers
|
|
28
|
-
|
|
29
|
-
let body
|
|
30
|
-
if (opts.body) {
|
|
31
|
-
body = opts.json && !isStream(opts.body) ? JSON.stringify(opts.body) : opts.body
|
|
32
|
-
} else if (opts.form) {
|
|
33
|
-
body = typeof opts.form === 'string' ? opts.form : querystring.stringify(opts.form)
|
|
34
|
-
opts.headers['content-type'] = 'application/x-www-form-urlencoded'
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (body) {
|
|
38
|
-
if (!opts.method) opts.method = 'POST'
|
|
39
|
-
if (!isStream(body)) opts.headers['content-length'] = Buffer.byteLength(body)
|
|
40
|
-
if (opts.json && !opts.form) opts.headers['content-type'] = 'application/json'
|
|
41
|
-
}
|
|
42
|
-
delete opts.body; delete opts.form
|
|
43
|
-
|
|
44
|
-
if (opts.json) opts.headers.accept = 'application/json'
|
|
45
|
-
if (opts.method) opts.method = opts.method.toUpperCase()
|
|
46
|
-
|
|
47
|
-
const originalHost = opts.hostname // hostname before potential redirect
|
|
48
|
-
const protocol = opts.protocol === 'https:' ? https : http // Support http/https urls
|
|
49
|
-
const req = protocol.request(opts, res => {
|
|
50
|
-
if (opts.followRedirects !== false && res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) {
|
|
51
|
-
opts.url = res.headers.location // Follow 3xx redirects
|
|
52
|
-
delete opts.headers.host // Discard `host` header on redirect (see #32)
|
|
53
|
-
res.resume() // Discard response
|
|
54
|
-
|
|
55
|
-
const redirectHost = url.parse(opts.url).hostname // eslint-disable-line node/no-deprecated-api
|
|
56
|
-
// If redirected host is different than original host, drop headers to prevent cookie leak (#73)
|
|
57
|
-
if (redirectHost !== null && redirectHost !== originalHost) {
|
|
58
|
-
delete opts.headers.cookie
|
|
59
|
-
delete opts.headers.authorization
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (opts.method === 'POST' && [301, 302].includes(res.statusCode)) {
|
|
63
|
-
opts.method = 'GET' // On 301/302 redirect, change POST to GET (see #35)
|
|
64
|
-
delete opts.headers['content-length']; delete opts.headers['content-type']
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
if (opts.maxRedirects-- === 0) return cb(new Error('too many redirects'))
|
|
68
|
-
else return simpleGet(opts, cb)
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
const tryUnzip = typeof decompressResponse === 'function' && opts.method !== 'HEAD'
|
|
72
|
-
cb(null, tryUnzip ? decompressResponse(res) : res)
|
|
73
|
-
})
|
|
74
|
-
req.on('timeout', () => {
|
|
75
|
-
req.abort()
|
|
76
|
-
cb(new Error('Request timed out'))
|
|
77
|
-
})
|
|
78
|
-
req.on('error', cb)
|
|
79
|
-
|
|
80
|
-
if (isStream(body)) body.on('error', cb).pipe(req)
|
|
81
|
-
else req.end(body)
|
|
82
|
-
|
|
83
|
-
return req
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
simpleGet.concat = (opts, cb) => {
|
|
87
|
-
return simpleGet(opts, (err, res) => {
|
|
88
|
-
if (err) return cb(err)
|
|
89
|
-
concat(res, (err, data) => {
|
|
90
|
-
if (err) return cb(err)
|
|
91
|
-
if (opts.json) {
|
|
92
|
-
try {
|
|
93
|
-
data = JSON.parse(data.toString())
|
|
94
|
-
} catch (err) {
|
|
95
|
-
return cb(err, res, data)
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
cb(null, res, data)
|
|
99
|
-
})
|
|
100
|
-
})
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
;['get', 'post', 'put', 'patch', 'head', 'delete'].forEach(method => {
|
|
104
|
-
simpleGet[method] = (opts, cb) => {
|
|
105
|
-
if (typeof opts === 'string') opts = { url: opts }
|
|
106
|
-
return simpleGet(Object.assign({ method: method.toUpperCase() }, opts), cb)
|
|
107
|
-
}
|
|
108
|
-
})
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_from": "simple-get@^4.0.0",
|
|
3
|
-
"_id": "simple-get@4.0.1",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
|
|
6
|
-
"_location": "/simple-get",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "simple-get@^4.0.0",
|
|
12
|
-
"name": "simple-get",
|
|
13
|
-
"escapedName": "simple-get",
|
|
14
|
-
"rawSpec": "^4.0.0",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^4.0.0"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/prebuild-install",
|
|
20
|
-
"/sharp"
|
|
21
|
-
],
|
|
22
|
-
"_resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
|
|
23
|
-
"_shasum": "4a39db549287c979d352112fa03fd99fd6bc3543",
|
|
24
|
-
"_spec": "simple-get@^4.0.0",
|
|
25
|
-
"_where": "/home/runner/work/basemaps/basemaps/packages/lambda-tiler/dist/node_modules/sharp",
|
|
26
|
-
"author": {
|
|
27
|
-
"name": "Feross Aboukhadijeh",
|
|
28
|
-
"email": "feross@feross.org",
|
|
29
|
-
"url": "https://feross.org"
|
|
30
|
-
},
|
|
31
|
-
"browser": {
|
|
32
|
-
"decompress-response": false
|
|
33
|
-
},
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/feross/simple-get/issues"
|
|
36
|
-
},
|
|
37
|
-
"bundleDependencies": false,
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"decompress-response": "^6.0.0",
|
|
40
|
-
"once": "^1.3.1",
|
|
41
|
-
"simple-concat": "^1.0.0"
|
|
42
|
-
},
|
|
43
|
-
"deprecated": false,
|
|
44
|
-
"description": "Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.",
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"self-signed-https": "^1.0.5",
|
|
47
|
-
"standard": "*",
|
|
48
|
-
"string-to-stream": "^3.0.0",
|
|
49
|
-
"tape": "^5.0.0"
|
|
50
|
-
},
|
|
51
|
-
"funding": [
|
|
52
|
-
{
|
|
53
|
-
"type": "github",
|
|
54
|
-
"url": "https://github.com/sponsors/feross"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"type": "patreon",
|
|
58
|
-
"url": "https://www.patreon.com/feross"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"type": "consulting",
|
|
62
|
-
"url": "https://feross.org/support"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"homepage": "https://github.com/feross/simple-get",
|
|
66
|
-
"keywords": [
|
|
67
|
-
"request",
|
|
68
|
-
"http",
|
|
69
|
-
"GET",
|
|
70
|
-
"get request",
|
|
71
|
-
"http.get",
|
|
72
|
-
"redirects",
|
|
73
|
-
"follow redirects",
|
|
74
|
-
"gzip",
|
|
75
|
-
"deflate",
|
|
76
|
-
"https",
|
|
77
|
-
"http-https",
|
|
78
|
-
"stream",
|
|
79
|
-
"simple request",
|
|
80
|
-
"simple get"
|
|
81
|
-
],
|
|
82
|
-
"license": "MIT",
|
|
83
|
-
"main": "index.js",
|
|
84
|
-
"name": "simple-get",
|
|
85
|
-
"repository": {
|
|
86
|
-
"type": "git",
|
|
87
|
-
"url": "git://github.com/feross/simple-get.git"
|
|
88
|
-
},
|
|
89
|
-
"scripts": {
|
|
90
|
-
"test": "standard && tape test/*.js"
|
|
91
|
-
},
|
|
92
|
-
"version": "4.0.1"
|
|
93
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2015 Josh Junon
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# simple-swizzle [](https://travis-ci.org/Qix-/node-simple-swizzle) [](https://coveralls.io/r/Qix-/node-simple-swizzle)
|
|
2
|
-
|
|
3
|
-
> [Swizzle](https://en.wikipedia.org/wiki/Swizzling_(computer_graphics)) your function arguments; pass in mixed arrays/values and get a clean array
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```js
|
|
8
|
-
var swizzle = require('simple-swizzle');
|
|
9
|
-
|
|
10
|
-
function myFunc() {
|
|
11
|
-
var args = swizzle(arguments);
|
|
12
|
-
// ...
|
|
13
|
-
return args;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
myFunc(1, [2, 3], 4); // [1, 2, 3, 4]
|
|
17
|
-
myFunc(1, 2, 3, 4); // [1, 2, 3, 4]
|
|
18
|
-
myFunc([1, 2, 3, 4]); // [1, 2, 3, 4]
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Functions can also be wrapped to automatically swizzle arguments and be passed
|
|
22
|
-
the resulting array.
|
|
23
|
-
|
|
24
|
-
```js
|
|
25
|
-
var swizzle = require('simple-swizzle');
|
|
26
|
-
|
|
27
|
-
var swizzledFn = swizzle.wrap(function (args) {
|
|
28
|
-
// ...
|
|
29
|
-
return args;
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
swizzledFn(1, [2, 3], 4); // [1, 2, 3, 4]
|
|
33
|
-
swizzledFn(1, 2, 3, 4); // [1, 2, 3, 4]
|
|
34
|
-
swizzledFn([1, 2, 3, 4]); // [1, 2, 3, 4]
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
-
Licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
|
39
|
-
You can find a copy of it in [LICENSE](LICENSE).
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isArrayish = require('is-arrayish');
|
|
4
|
-
|
|
5
|
-
var concat = Array.prototype.concat;
|
|
6
|
-
var slice = Array.prototype.slice;
|
|
7
|
-
|
|
8
|
-
var swizzle = module.exports = function swizzle(args) {
|
|
9
|
-
var results = [];
|
|
10
|
-
|
|
11
|
-
for (var i = 0, len = args.length; i < len; i++) {
|
|
12
|
-
var arg = args[i];
|
|
13
|
-
|
|
14
|
-
if (isArrayish(arg)) {
|
|
15
|
-
// http://jsperf.com/javascript-array-concat-vs-push/98
|
|
16
|
-
results = concat.call(results, slice.call(arg));
|
|
17
|
-
} else {
|
|
18
|
-
results.push(arg);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return results;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
swizzle.wrap = function (fn) {
|
|
26
|
-
return function () {
|
|
27
|
-
return fn(swizzle(arguments));
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_from": "simple-swizzle@^0.2.2",
|
|
3
|
-
"_id": "simple-swizzle@0.2.2",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
|
|
6
|
-
"_location": "/simple-swizzle",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "simple-swizzle@^0.2.2",
|
|
12
|
-
"name": "simple-swizzle",
|
|
13
|
-
"escapedName": "simple-swizzle",
|
|
14
|
-
"rawSpec": "^0.2.2",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^0.2.2"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/color-string"
|
|
20
|
-
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
22
|
-
"_shasum": "a4da6b635ffcccca33f70d17cb92592de95e557a",
|
|
23
|
-
"_spec": "simple-swizzle@^0.2.2",
|
|
24
|
-
"_where": "/home/runner/work/basemaps/basemaps/packages/lambda-tiler/dist/node_modules/color-string",
|
|
25
|
-
"author": {
|
|
26
|
-
"name": "Qix",
|
|
27
|
-
"url": "http://github.com/qix-"
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/qix-/node-simple-swizzle/issues"
|
|
31
|
-
},
|
|
32
|
-
"bundleDependencies": false,
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"is-arrayish": "^0.3.1"
|
|
35
|
-
},
|
|
36
|
-
"deprecated": false,
|
|
37
|
-
"description": "Simply swizzle your arguments",
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"coffee-script": "^1.9.3",
|
|
40
|
-
"coveralls": "^2.11.2",
|
|
41
|
-
"istanbul": "^0.3.17",
|
|
42
|
-
"mocha": "^2.2.5",
|
|
43
|
-
"should": "^7.0.1",
|
|
44
|
-
"xo": "^0.7.1"
|
|
45
|
-
},
|
|
46
|
-
"files": [
|
|
47
|
-
"index.js"
|
|
48
|
-
],
|
|
49
|
-
"homepage": "https://github.com/qix-/node-simple-swizzle#readme",
|
|
50
|
-
"keywords": [
|
|
51
|
-
"argument",
|
|
52
|
-
"arguments",
|
|
53
|
-
"swizzle",
|
|
54
|
-
"swizzling",
|
|
55
|
-
"parameter",
|
|
56
|
-
"parameters",
|
|
57
|
-
"mixed",
|
|
58
|
-
"array"
|
|
59
|
-
],
|
|
60
|
-
"license": "MIT",
|
|
61
|
-
"name": "simple-swizzle",
|
|
62
|
-
"repository": {
|
|
63
|
-
"type": "git",
|
|
64
|
-
"url": "git+https://github.com/qix-/node-simple-swizzle.git"
|
|
65
|
-
},
|
|
66
|
-
"scripts": {
|
|
67
|
-
"pretest": "xo",
|
|
68
|
-
"test": "mocha --compilers coffee:coffee-script/register"
|
|
69
|
-
},
|
|
70
|
-
"version": "0.2.2"
|
|
71
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var stripAnsi = require('strip-ansi');
|
|
3
|
-
var codePointAt = require('code-point-at');
|
|
4
|
-
var isFullwidthCodePoint = require('is-fullwidth-code-point');
|
|
5
|
-
|
|
6
|
-
// https://github.com/nodejs/io.js/blob/cff7300a578be1b10001f2d967aaedc88aee6402/lib/readline.js#L1345
|
|
7
|
-
module.exports = function (str) {
|
|
8
|
-
if (typeof str !== 'string' || str.length === 0) {
|
|
9
|
-
return 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
var width = 0;
|
|
13
|
-
|
|
14
|
-
str = stripAnsi(str);
|
|
15
|
-
|
|
16
|
-
for (var i = 0; i < str.length; i++) {
|
|
17
|
-
var code = codePointAt(str, i);
|
|
18
|
-
|
|
19
|
-
// ignore control characters
|
|
20
|
-
if (code <= 0x1f || (code >= 0x7f && code <= 0x9f)) {
|
|
21
|
-
continue;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// surrogates
|
|
25
|
-
if (code >= 0x10000) {
|
|
26
|
-
i++;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (isFullwidthCodePoint(code)) {
|
|
30
|
-
width += 2;
|
|
31
|
-
} else {
|
|
32
|
-
width++;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return width;
|
|
37
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_from": "string-width@^1.0.1",
|
|
3
|
-
"_id": "string-width@1.0.2",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
|
6
|
-
"_location": "/string-width",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "string-width@^1.0.1",
|
|
12
|
-
"name": "string-width",
|
|
13
|
-
"escapedName": "string-width",
|
|
14
|
-
"rawSpec": "^1.0.1",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^1.0.1"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/gauge",
|
|
20
|
-
"/wide-align"
|
|
21
|
-
],
|
|
22
|
-
"_resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
|
23
|
-
"_shasum": "118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3",
|
|
24
|
-
"_spec": "string-width@^1.0.1",
|
|
25
|
-
"_where": "/home/runner/work/basemaps/basemaps/packages/lambda-tiler/dist/node_modules/gauge",
|
|
26
|
-
"author": {
|
|
27
|
-
"name": "Sindre Sorhus",
|
|
28
|
-
"email": "sindresorhus@gmail.com",
|
|
29
|
-
"url": "sindresorhus.com"
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/sindresorhus/string-width/issues"
|
|
33
|
-
},
|
|
34
|
-
"bundleDependencies": false,
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"code-point-at": "^1.0.0",
|
|
37
|
-
"is-fullwidth-code-point": "^1.0.0",
|
|
38
|
-
"strip-ansi": "^3.0.0"
|
|
39
|
-
},
|
|
40
|
-
"deprecated": false,
|
|
41
|
-
"description": "Get the visual width of a string - the number of columns required to display it",
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"ava": "*",
|
|
44
|
-
"xo": "*"
|
|
45
|
-
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=0.10.0"
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"index.js"
|
|
51
|
-
],
|
|
52
|
-
"homepage": "https://github.com/sindresorhus/string-width#readme",
|
|
53
|
-
"keywords": [
|
|
54
|
-
"string",
|
|
55
|
-
"str",
|
|
56
|
-
"character",
|
|
57
|
-
"char",
|
|
58
|
-
"unicode",
|
|
59
|
-
"width",
|
|
60
|
-
"visual",
|
|
61
|
-
"column",
|
|
62
|
-
"columns",
|
|
63
|
-
"fullwidth",
|
|
64
|
-
"full-width",
|
|
65
|
-
"full",
|
|
66
|
-
"ansi",
|
|
67
|
-
"escape",
|
|
68
|
-
"codes",
|
|
69
|
-
"cli",
|
|
70
|
-
"command-line",
|
|
71
|
-
"terminal",
|
|
72
|
-
"console",
|
|
73
|
-
"cjk",
|
|
74
|
-
"chinese",
|
|
75
|
-
"japanese",
|
|
76
|
-
"korean",
|
|
77
|
-
"fixed-width"
|
|
78
|
-
],
|
|
79
|
-
"license": "MIT",
|
|
80
|
-
"name": "string-width",
|
|
81
|
-
"repository": {
|
|
82
|
-
"type": "git",
|
|
83
|
-
"url": "git+https://github.com/sindresorhus/string-width.git"
|
|
84
|
-
},
|
|
85
|
-
"scripts": {
|
|
86
|
-
"test": "xo && ava"
|
|
87
|
-
},
|
|
88
|
-
"version": "1.0.2"
|
|
89
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# string-width [](https://travis-ci.org/sindresorhus/string-width)
|
|
2
|
-
|
|
3
|
-
> Get the visual width of a string - the number of columns required to display it
|
|
4
|
-
|
|
5
|
-
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
6
|
-
|
|
7
|
-
Useful to be able to measure the actual width of command-line output.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Install
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
$ npm install --save string-width
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
const stringWidth = require('string-width');
|
|
21
|
-
|
|
22
|
-
stringWidth('古');
|
|
23
|
-
//=> 2
|
|
24
|
-
|
|
25
|
-
stringWidth('\u001b[1m古\u001b[22m');
|
|
26
|
-
//=> 2
|
|
27
|
-
|
|
28
|
-
stringWidth('a');
|
|
29
|
-
//=> 1
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## Related
|
|
34
|
-
|
|
35
|
-
- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module
|
|
36
|
-
- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string
|
|
37
|
-
- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## License
|
|
41
|
-
|
|
42
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
sudo: false
|
|
2
|
-
language: node_js
|
|
3
|
-
before_install:
|
|
4
|
-
- npm install -g npm@2
|
|
5
|
-
- test $NPM_LEGACY && npm install -g npm@latest-3 || npm install npm -g
|
|
6
|
-
notifications:
|
|
7
|
-
email: false
|
|
8
|
-
matrix:
|
|
9
|
-
fast_finish: true
|
|
10
|
-
include:
|
|
11
|
-
- node_js: '0.8'
|
|
12
|
-
env:
|
|
13
|
-
- TASK=test
|
|
14
|
-
- NPM_LEGACY=true
|
|
15
|
-
- node_js: '0.10'
|
|
16
|
-
env:
|
|
17
|
-
- TASK=test
|
|
18
|
-
- NPM_LEGACY=true
|
|
19
|
-
- node_js: '0.11'
|
|
20
|
-
env:
|
|
21
|
-
- TASK=test
|
|
22
|
-
- NPM_LEGACY=true
|
|
23
|
-
- node_js: '0.12'
|
|
24
|
-
env:
|
|
25
|
-
- TASK=test
|
|
26
|
-
- NPM_LEGACY=true
|
|
27
|
-
- node_js: 1
|
|
28
|
-
env:
|
|
29
|
-
- TASK=test
|
|
30
|
-
- NPM_LEGACY=true
|
|
31
|
-
- node_js: 2
|
|
32
|
-
env:
|
|
33
|
-
- TASK=test
|
|
34
|
-
- NPM_LEGACY=true
|
|
35
|
-
- node_js: 3
|
|
36
|
-
env:
|
|
37
|
-
- TASK=test
|
|
38
|
-
- NPM_LEGACY=true
|
|
39
|
-
- node_js: 4
|
|
40
|
-
env: TASK=test
|
|
41
|
-
- node_js: 5
|
|
42
|
-
env: TASK=test
|
|
43
|
-
- node_js: 6
|
|
44
|
-
env: TASK=test
|
|
45
|
-
- node_js: 7
|
|
46
|
-
env: TASK=test
|
|
47
|
-
- node_js: 8
|
|
48
|
-
env: TASK=test
|
|
49
|
-
- node_js: 9
|
|
50
|
-
env: TASK=test
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
Node.js is licensed for use as follows:
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Copyright Node.js contributors. All rights reserved.
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to
|
|
8
|
-
deal in the Software without restriction, including without limitation the
|
|
9
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
10
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
|
14
|
-
all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
22
|
-
IN THE SOFTWARE.
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
This license applies to parts of Node.js originating from the
|
|
26
|
-
https://github.com/joyent/node repository:
|
|
27
|
-
|
|
28
|
-
"""
|
|
29
|
-
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
30
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
31
|
-
of this software and associated documentation files (the "Software"), to
|
|
32
|
-
deal in the Software without restriction, including without limitation the
|
|
33
|
-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
34
|
-
sell copies of the Software, and to permit persons to whom the Software is
|
|
35
|
-
furnished to do so, subject to the following conditions:
|
|
36
|
-
|
|
37
|
-
The above copyright notice and this permission notice shall be included in
|
|
38
|
-
all copies or substantial portions of the Software.
|
|
39
|
-
|
|
40
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
43
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
44
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
45
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
46
|
-
IN THE SOFTWARE.
|
|
47
|
-
"""
|
|
48
|
-
|