epuber-stylus-source 0.54.8 → 0.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/vendor/{History.md → Changelog.md} +50 -0
- data/vendor/Readme.md +37 -23
- data/vendor/bin/stylus +1 -2
- data/vendor/lib/convert/css.js +1 -1
- data/vendor/lib/functions/acos.js +20 -0
- data/vendor/lib/functions/asin.js +21 -0
- data/vendor/lib/functions/atan.js +21 -0
- data/vendor/lib/functions/convert-angle.js +19 -0
- data/vendor/lib/functions/index.js +3 -0
- data/vendor/lib/functions/url.js +5 -5
- data/vendor/lib/lexer.js +1 -1
- data/vendor/lib/middleware.js +1 -2
- data/vendor/lib/visitor/compiler.js +2 -2
- data/vendor/lib/visitor/deps-resolver.js +3 -0
- data/vendor/node_modules/{cliui/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
- data/vendor/node_modules/ansi-regex/index.js +4 -4
- data/vendor/node_modules/ansi-regex/package.json +53 -51
- data/vendor/node_modules/ansi-regex/readme.md +35 -3
- data/vendor/node_modules/assertion-error/History.md +24 -0
- data/vendor/node_modules/{mkdirp/LICENSE → assertion-error/README.md} +22 -2
- data/vendor/node_modules/assertion-error/index.d.ts +11 -0
- data/vendor/node_modules/assertion-error/index.js +116 -0
- data/vendor/node_modules/assertion-error/package.json +29 -0
- data/vendor/node_modules/camelcase/index.d.ts +5 -3
- data/vendor/node_modules/camelcase/index.js +40 -18
- data/vendor/node_modules/camelcase/package.json +1 -1
- data/vendor/node_modules/camelcase/readme.md +21 -5
- data/vendor/node_modules/chai/CODEOWNERS +1 -0
- data/vendor/node_modules/chai/CODE_OF_CONDUCT.md +58 -0
- data/vendor/node_modules/chai/CONTRIBUTING.md +218 -0
- data/vendor/node_modules/chai/History.md +1059 -0
- data/vendor/node_modules/{should-type-adaptors → chai}/LICENSE +1 -1
- data/vendor/node_modules/chai/README.md +212 -0
- data/vendor/node_modules/chai/ReleaseNotes.md +737 -0
- data/vendor/node_modules/chai/bower.json +26 -0
- data/vendor/node_modules/chai/chai.js +11464 -0
- data/vendor/node_modules/chai/index.js +1 -0
- data/vendor/node_modules/chai/index.mjs +14 -0
- data/vendor/node_modules/chai/karma.conf.js +34 -0
- data/vendor/node_modules/chai/karma.sauce.js +41 -0
- data/vendor/node_modules/chai/lib/chai/assertion.js +175 -0
- data/vendor/node_modules/chai/lib/chai/config.js +94 -0
- data/vendor/node_modules/chai/lib/chai/core/assertions.js +3853 -0
- data/vendor/node_modules/chai/lib/chai/interface/assert.js +3113 -0
- data/vendor/node_modules/chai/lib/chai/interface/expect.js +47 -0
- data/vendor/node_modules/chai/lib/chai/interface/should.js +219 -0
- data/vendor/node_modules/chai/lib/chai/utils/addChainableMethod.js +152 -0
- data/vendor/node_modules/chai/lib/chai/utils/addLengthGuard.js +60 -0
- data/vendor/node_modules/chai/lib/chai/utils/addMethod.js +68 -0
- data/vendor/node_modules/chai/lib/chai/utils/addProperty.js +72 -0
- data/vendor/node_modules/chai/lib/chai/utils/compareByInspect.js +31 -0
- data/vendor/node_modules/chai/lib/chai/utils/expectTypes.js +51 -0
- data/vendor/node_modules/chai/lib/chai/utils/flag.js +33 -0
- data/vendor/node_modules/chai/lib/chai/utils/getActual.js +20 -0
- data/vendor/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +26 -0
- data/vendor/node_modules/chai/lib/chai/utils/getMessage.js +50 -0
- data/vendor/node_modules/chai/lib/chai/utils/getOperator.js +55 -0
- data/vendor/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +29 -0
- data/vendor/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +27 -0
- data/vendor/node_modules/chai/lib/chai/utils/getProperties.js +36 -0
- data/vendor/node_modules/chai/lib/chai/utils/index.js +178 -0
- data/vendor/node_modules/chai/lib/chai/utils/inspect.js +33 -0
- data/vendor/node_modules/chai/lib/chai/utils/isNaN.js +26 -0
- data/vendor/node_modules/chai/lib/chai/utils/isProxyEnabled.js +24 -0
- data/vendor/node_modules/chai/lib/chai/utils/objDisplay.js +50 -0
- data/vendor/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +69 -0
- data/vendor/node_modules/chai/lib/chai/utils/overwriteMethod.js +92 -0
- data/vendor/node_modules/chai/lib/chai/utils/overwriteProperty.js +92 -0
- data/vendor/node_modules/chai/lib/chai/utils/proxify.js +147 -0
- data/vendor/node_modules/chai/lib/chai/utils/test.js +28 -0
- data/vendor/node_modules/chai/lib/chai/utils/transferFlags.js +45 -0
- data/vendor/node_modules/chai/lib/chai.js +92 -0
- data/vendor/node_modules/chai/package.json +63 -0
- data/vendor/node_modules/chai/register-assert.js +1 -0
- data/vendor/node_modules/chai/register-expect.js +1 -0
- data/vendor/node_modules/chai/register-should.js +1 -0
- data/vendor/node_modules/chai/sauce.browsers.js +106 -0
- data/vendor/node_modules/chalk/package.json +1 -1
- data/vendor/node_modules/chalk/readme.md +7 -1
- data/vendor/node_modules/{source-map-url → check-error}/LICENSE +1 -3
- data/vendor/node_modules/check-error/README.md +207 -0
- data/vendor/node_modules/check-error/check-error.js +176 -0
- data/vendor/node_modules/check-error/index.js +172 -0
- data/vendor/node_modules/check-error/package.json +85 -0
- data/vendor/node_modules/chokidar/README.md +5 -4
- data/vendor/node_modules/chokidar/index.js +7 -1
- data/vendor/node_modules/chokidar/lib/constants.js +2 -0
- data/vendor/node_modules/chokidar/lib/fsevents-handler.js +2 -1
- data/vendor/node_modules/chokidar/lib/nodefs-handler.js +9 -1
- data/vendor/node_modules/chokidar/package.json +15 -8
- data/vendor/node_modules/chokidar/types/index.d.ts +4 -3
- data/vendor/node_modules/css/lib/stringify/source-map-support.js +10 -3
- data/vendor/node_modules/css/package.json +8 -9
- data/vendor/node_modules/debug/LICENSE +10 -9
- data/vendor/node_modules/debug/README.md +116 -3
- data/vendor/node_modules/debug/package.json +35 -19
- data/vendor/node_modules/debug/src/browser.js +194 -120
- data/vendor/node_modules/debug/src/common.js +274 -0
- data/vendor/node_modules/debug/src/index.js +4 -4
- data/vendor/node_modules/debug/src/node.js +174 -97
- data/vendor/node_modules/{resolve-url → deep-eql}/LICENSE +1 -3
- data/vendor/node_modules/deep-eql/README.md +116 -0
- data/vendor/node_modules/deep-eql/deep-eql.js +833 -0
- data/vendor/node_modules/deep-eql/index.js +455 -0
- data/vendor/node_modules/deep-eql/package.json +90 -0
- data/vendor/node_modules/{urix → get-func-name}/LICENSE +1 -3
- data/vendor/node_modules/get-func-name/README.md +123 -0
- data/vendor/node_modules/get-func-name/get-func-name.js +48 -0
- data/vendor/node_modules/get-func-name/index.js +44 -0
- data/vendor/node_modules/get-func-name/package.json +85 -0
- data/vendor/node_modules/glob/README.md +3 -0
- data/vendor/node_modules/glob/common.js +2 -0
- data/vendor/node_modules/glob/glob.js +4 -5
- data/vendor/node_modules/glob/package.json +2 -1
- data/vendor/node_modules/glob/sync.js +4 -5
- data/vendor/node_modules/{cliui/node_modules/is-fullwidth-code-point → is-fullwidth-code-point}/index.d.ts +0 -0
- data/vendor/node_modules/is-fullwidth-code-point/index.js +25 -21
- data/vendor/node_modules/is-fullwidth-code-point/license +4 -16
- data/vendor/node_modules/is-fullwidth-code-point/package.json +40 -43
- data/vendor/node_modules/is-fullwidth-code-point/readme.md +6 -6
- data/vendor/node_modules/is-glob/README.md +1 -1
- data/vendor/node_modules/is-glob/index.js +126 -24
- data/vendor/node_modules/is-glob/package.json +2 -2
- data/vendor/node_modules/is-unicode-supported/index.d.ts +14 -0
- data/vendor/node_modules/is-unicode-supported/index.js +13 -0
- data/vendor/node_modules/{cliui/node_modules/string-width → is-unicode-supported}/license +1 -1
- data/vendor/node_modules/is-unicode-supported/package.json +41 -0
- data/vendor/node_modules/is-unicode-supported/readme.md +35 -0
- data/vendor/node_modules/js-yaml/CHANGELOG.md +13 -0
- data/vendor/node_modules/js-yaml/README.md +1 -1
- data/vendor/node_modules/js-yaml/dist/js-yaml.js +90 -70
- data/vendor/node_modules/js-yaml/dist/js-yaml.min.js +2 -2
- data/vendor/node_modules/js-yaml/dist/js-yaml.mjs +84 -65
- data/vendor/node_modules/js-yaml/index.js +17 -0
- data/vendor/node_modules/js-yaml/lib/schema.js +9 -9
- data/vendor/node_modules/js-yaml/lib/type.js +1 -0
- data/vendor/node_modules/js-yaml/package.json +1 -1
- data/vendor/node_modules/jscoverage/node_modules/ms/index.js +152 -0
- data/vendor/node_modules/{should-format/LICENSE → jscoverage/node_modules/ms/license.md} +1 -2
- data/vendor/node_modules/jscoverage/node_modules/ms/package.json +37 -0
- data/vendor/node_modules/jscoverage/node_modules/ms/readme.md +51 -0
- data/vendor/node_modules/log-symbols/index.d.ts +2 -2
- data/vendor/node_modules/log-symbols/index.js +3 -4
- data/vendor/node_modules/log-symbols/package.json +7 -5
- data/vendor/node_modules/log-symbols/readme.md +3 -3
- data/vendor/node_modules/loupe/CHANGELOG.md +5 -0
- data/vendor/node_modules/{cliui/node_modules/strip-ansi/license → loupe/LICENSE} +2 -2
- data/vendor/node_modules/loupe/README.md +63 -0
- data/vendor/node_modules/loupe/index.js +195 -0
- data/vendor/node_modules/loupe/lib/arguments.js +7 -0
- data/vendor/node_modules/loupe/lib/array.js +20 -0
- data/vendor/node_modules/loupe/lib/bigint.js +7 -0
- data/vendor/node_modules/loupe/lib/class.js +18 -0
- data/vendor/node_modules/loupe/lib/date.js +8 -0
- data/vendor/node_modules/loupe/lib/error.js +34 -0
- data/vendor/node_modules/loupe/lib/function.js +10 -0
- data/vendor/node_modules/loupe/lib/helpers.js +177 -0
- data/vendor/node_modules/loupe/lib/html.js +40 -0
- data/vendor/node_modules/loupe/lib/map.js +27 -0
- data/vendor/node_modules/loupe/lib/number.js +18 -0
- data/vendor/node_modules/loupe/lib/object.js +31 -0
- data/vendor/node_modules/loupe/lib/promise.js +16 -0
- data/vendor/node_modules/loupe/lib/regexp.js +8 -0
- data/vendor/node_modules/loupe/lib/set.js +16 -0
- data/vendor/node_modules/loupe/lib/string.js +29 -0
- data/vendor/node_modules/loupe/lib/symbol.js +6 -0
- data/vendor/node_modules/loupe/lib/typedarray.js +45 -0
- data/vendor/node_modules/loupe/loupe.js +852 -0
- data/vendor/node_modules/loupe/package.json +141 -0
- data/vendor/node_modules/minimatch/README.md +22 -1
- data/vendor/node_modules/minimatch/minimatch.js +93 -69
- data/vendor/node_modules/minimatch/package.json +6 -3
- data/vendor/node_modules/mocha/LICENSE +1 -1
- data/vendor/node_modules/mocha/README.md +1 -1
- data/vendor/node_modules/mocha/bin/mocha +18 -27
- data/vendor/node_modules/mocha/browser-entry.js +27 -20
- data/vendor/node_modules/mocha/lib/browser/growl.js +5 -5
- data/vendor/node_modules/mocha/lib/browser/parse-query.js +1 -1
- data/vendor/node_modules/mocha/lib/browser/progress.js +6 -6
- data/vendor/node_modules/mocha/lib/cli/cli.js +3 -2
- data/vendor/node_modules/mocha/lib/cli/config.js +7 -12
- data/vendor/node_modules/mocha/lib/cli/lookup-files.js +2 -8
- data/vendor/node_modules/mocha/lib/cli/node-flags.js +2 -5
- data/vendor/node_modules/mocha/lib/cli/one-and-dones.js +1 -2
- data/vendor/node_modules/mocha/lib/cli/run-helpers.js +15 -15
- data/vendor/node_modules/mocha/lib/cli/run-option-metadata.js +4 -0
- data/vendor/node_modules/mocha/lib/cli/run.js +13 -1
- data/vendor/node_modules/mocha/lib/cli/watch-run.js +3 -6
- data/vendor/node_modules/mocha/lib/context.js +5 -5
- data/vendor/node_modules/mocha/lib/errors.js +3 -3
- data/vendor/node_modules/mocha/lib/hook.js +9 -3
- data/vendor/node_modules/mocha/lib/interfaces/bdd.js +23 -20
- data/vendor/node_modules/mocha/lib/interfaces/common.js +7 -7
- data/vendor/node_modules/mocha/lib/interfaces/exports.js +1 -1
- data/vendor/node_modules/mocha/lib/interfaces/qunit.js +7 -7
- data/vendor/node_modules/mocha/lib/interfaces/tdd.js +9 -9
- data/vendor/node_modules/mocha/lib/mocha.js +105 -99
- data/vendor/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +17 -1
- data/vendor/node_modules/mocha/lib/nodejs/esm-utils.js +124 -0
- data/vendor/node_modules/mocha/lib/reporters/base.js +49 -35
- data/vendor/node_modules/mocha/lib/reporters/doc.js +4 -4
- data/vendor/node_modules/mocha/lib/reporters/dot.js +5 -5
- data/vendor/node_modules/mocha/lib/reporters/html.js +12 -12
- data/vendor/node_modules/mocha/lib/reporters/json-stream.js +4 -4
- data/vendor/node_modules/mocha/lib/reporters/json.js +35 -10
- data/vendor/node_modules/mocha/lib/reporters/landing.js +5 -5
- data/vendor/node_modules/mocha/lib/reporters/list.js +5 -5
- data/vendor/node_modules/mocha/lib/reporters/markdown.js +5 -5
- data/vendor/node_modules/mocha/lib/reporters/min.js +1 -1
- data/vendor/node_modules/mocha/lib/reporters/nyan.js +16 -16
- data/vendor/node_modules/mocha/lib/reporters/progress.js +3 -3
- data/vendor/node_modules/mocha/lib/reporters/spec.js +6 -6
- data/vendor/node_modules/mocha/lib/reporters/tap.js +17 -17
- data/vendor/node_modules/mocha/lib/reporters/xunit.js +9 -9
- data/vendor/node_modules/mocha/lib/runnable.js +21 -21
- data/vendor/node_modules/mocha/lib/runner.js +63 -61
- data/vendor/node_modules/mocha/lib/stats-collector.js +7 -7
- data/vendor/node_modules/mocha/lib/suite.js +46 -75
- data/vendor/node_modules/mocha/lib/test.js +5 -5
- data/vendor/node_modules/mocha/lib/utils.js +19 -114
- data/vendor/node_modules/mocha/mocha-es2018.js +19794 -0
- data/vendor/node_modules/mocha/mocha.js +8059 -6920
- data/vendor/node_modules/mocha/mocha.js.map +1 -1
- data/vendor/node_modules/mocha/node_modules/debug/LICENSE +10 -9
- data/vendor/node_modules/mocha/node_modules/debug/README.md +24 -1
- data/vendor/node_modules/mocha/node_modules/debug/package.json +6 -6
- data/vendor/node_modules/mocha/node_modules/debug/src/common.js +15 -2
- data/vendor/node_modules/{semver → mocha/node_modules/minimatch}/LICENSE +1 -1
- data/vendor/node_modules/mocha/node_modules/minimatch/README.md +230 -0
- data/vendor/node_modules/mocha/node_modules/minimatch/minimatch.js +908 -0
- data/vendor/node_modules/mocha/node_modules/minimatch/package.json +31 -0
- data/vendor/node_modules/mocha/package.json +66 -65
- data/vendor/node_modules/ms/index.js +29 -19
- data/vendor/node_modules/ms/package.json +6 -6
- data/vendor/node_modules/ms/readme.md +18 -9
- data/vendor/node_modules/nanoid/README.md +9 -473
- data/vendor/node_modules/nanoid/async/index.browser.cjs +34 -0
- data/vendor/node_modules/nanoid/async/index.browser.js +7 -43
- data/vendor/node_modules/nanoid/async/index.cjs +5 -41
- data/vendor/node_modules/nanoid/async/index.d.ts +7 -7
- data/vendor/node_modules/nanoid/async/index.js +5 -41
- data/vendor/node_modules/nanoid/async/index.native.js +5 -36
- data/vendor/node_modules/nanoid/async/package.json +2 -1
- data/vendor/node_modules/nanoid/bin/nanoid.cjs +52 -2
- data/vendor/node_modules/nanoid/index.browser.cjs +37 -0
- data/vendor/node_modules/nanoid/index.browser.js +5 -73
- data/vendor/node_modules/nanoid/index.cjs +14 -49
- data/vendor/node_modules/nanoid/index.d.ts +9 -6
- data/vendor/node_modules/nanoid/index.js +14 -49
- data/vendor/node_modules/nanoid/non-secure/index.cjs +3 -12
- data/vendor/node_modules/nanoid/non-secure/index.d.ts +8 -5
- data/vendor/node_modules/nanoid/non-secure/index.js +3 -12
- data/vendor/node_modules/nanoid/package.json +14 -10
- data/vendor/node_modules/nanoid/url-alphabet/index.cjs +1 -4
- data/vendor/node_modules/nanoid/url-alphabet/index.js +1 -4
- data/vendor/node_modules/pathval/CHANGELOG.md +18 -0
- data/vendor/node_modules/pathval/LICENSE +16 -0
- data/vendor/node_modules/pathval/README.md +147 -0
- data/vendor/node_modules/pathval/index.js +301 -0
- data/vendor/node_modules/pathval/package.json +80 -0
- data/vendor/node_modules/pathval/pathval.js +1 -0
- data/vendor/node_modules/picomatch/CHANGELOG.md +16 -0
- data/vendor/node_modules/picomatch/README.md +34 -17
- data/vendor/node_modules/picomatch/lib/parse.js +19 -6
- data/vendor/node_modules/picomatch/lib/picomatch.js +34 -31
- data/vendor/node_modules/picomatch/lib/scan.js +8 -2
- data/vendor/node_modules/picomatch/package.json +1 -1
- data/vendor/node_modules/readdirp/index.js +11 -6
- data/vendor/node_modules/readdirp/package.json +1 -1
- data/vendor/node_modules/serialize-javascript/README.md +2 -4
- data/vendor/node_modules/serialize-javascript/index.js +11 -2
- data/vendor/node_modules/serialize-javascript/package.json +2 -2
- data/vendor/node_modules/source-map-resolve/LICENSE +1 -1
- data/vendor/node_modules/source-map-resolve/changelog.md +6 -0
- data/vendor/node_modules/source-map-resolve/{lib/source-map-resolve-node.js → index.js} +48 -13
- data/vendor/node_modules/source-map-resolve/package.json +7 -14
- data/vendor/node_modules/source-map-resolve/readme.md +1 -39
- data/vendor/node_modules/{cliui/node_modules/string-width → string-width}/index.d.ts +0 -0
- data/vendor/node_modules/string-width/index.js +16 -5
- data/vendor/node_modules/string-width/package.json +11 -10
- data/vendor/node_modules/string-width/readme.md +15 -7
- data/vendor/node_modules/{cliui/node_modules/strip-ansi → strip-ansi}/index.d.ts +0 -0
- data/vendor/node_modules/strip-ansi/index.js +1 -1
- data/vendor/node_modules/strip-ansi/package.json +52 -50
- data/vendor/node_modules/strip-ansi/readme.md +12 -5
- data/vendor/node_modules/{fsevents → type-detect}/LICENSE +1 -4
- data/vendor/node_modules/type-detect/README.md +228 -0
- data/vendor/node_modules/type-detect/index.js +378 -0
- data/vendor/node_modules/type-detect/package.json +1 -0
- data/vendor/node_modules/type-detect/type-detect.js +388 -0
- data/vendor/node_modules/workerpool/HISTORY.md +42 -0
- data/vendor/node_modules/workerpool/README.md +11 -1
- data/vendor/node_modules/workerpool/dist/worker.js +9 -42
- data/vendor/node_modules/workerpool/dist/worker.js.map +1 -1
- data/vendor/node_modules/workerpool/dist/workerpool.js +117 -74
- data/vendor/node_modules/workerpool/dist/workerpool.js.map +1 -1
- data/vendor/node_modules/workerpool/dist/workerpool.min.js +1 -1
- data/vendor/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +3 -3
- data/vendor/node_modules/workerpool/dist/workerpool.min.js.map +1 -1
- data/vendor/node_modules/workerpool/package.json +11 -11
- data/vendor/node_modules/workerpool/src/Pool.js +29 -4
- data/vendor/node_modules/workerpool/src/WorkerHandler.js +17 -4
- data/vendor/node_modules/workerpool/src/generated/embeddedWorker.js +1 -1
- data/vendor/node_modules/workerpool/src/header.js +1 -1
- data/vendor/node_modules/workerpool/src/types.js +2 -1
- data/vendor/package-lock.json +401 -664
- data/vendor/package.json +7 -9
- metadata +139 -175
- data/vendor/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
- data/vendor/node_modules/cliui/node_modules/ansi-regex/license +0 -9
- data/vendor/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
- data/vendor/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
- data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/license +0 -9
- data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/vendor/node_modules/cliui/node_modules/string-width/index.js +0 -47
- data/vendor/node_modules/cliui/node_modules/string-width/package.json +0 -56
- data/vendor/node_modules/cliui/node_modules/string-width/readme.md +0 -50
- data/vendor/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
- data/vendor/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
- data/vendor/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
- data/vendor/node_modules/css-parse/Readme.md +0 -15
- data/vendor/node_modules/css-parse/index.js +0 -1
- data/vendor/node_modules/css-parse/package.json +0 -23
- data/vendor/node_modules/debug/CHANGELOG.md +0 -395
- data/vendor/node_modules/debug/Makefile +0 -58
- data/vendor/node_modules/debug/karma.conf.js +0 -70
- data/vendor/node_modules/debug/node.js +0 -1
- data/vendor/node_modules/debug/src/debug.js +0 -225
- data/vendor/node_modules/fsevents/README.md +0 -83
- data/vendor/node_modules/fsevents/fsevents.d.ts +0 -46
- data/vendor/node_modules/fsevents/fsevents.js +0 -82
- data/vendor/node_modules/fsevents/fsevents.node +0 -0
- data/vendor/node_modules/fsevents/package.json +0 -62
- data/vendor/node_modules/glob/changelog.md +0 -67
- data/vendor/node_modules/mkdirp/CHANGELOG.md +0 -15
- data/vendor/node_modules/mkdirp/bin/cmd.js +0 -68
- data/vendor/node_modules/mkdirp/index.js +0 -31
- data/vendor/node_modules/mkdirp/lib/find-made.js +0 -29
- data/vendor/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
- data/vendor/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
- data/vendor/node_modules/mkdirp/lib/opts-arg.js +0 -23
- data/vendor/node_modules/mkdirp/lib/path-arg.js +0 -29
- data/vendor/node_modules/mkdirp/lib/use-native.js +0 -10
- data/vendor/node_modules/mkdirp/package.json +0 -44
- data/vendor/node_modules/mkdirp/readme.markdown +0 -266
- data/vendor/node_modules/mocha/CHANGELOG.md +0 -931
- data/vendor/node_modules/mocha/lib/esm-utils.js +0 -58
- data/vendor/node_modules/mocha/node_modules/glob/LICENSE +0 -21
- data/vendor/node_modules/mocha/node_modules/glob/README.md +0 -375
- data/vendor/node_modules/mocha/node_modules/glob/changelog.md +0 -67
- data/vendor/node_modules/mocha/node_modules/glob/common.js +0 -240
- data/vendor/node_modules/mocha/node_modules/glob/glob.js +0 -790
- data/vendor/node_modules/mocha/node_modules/glob/package.json +0 -46
- data/vendor/node_modules/mocha/node_modules/glob/sync.js +0 -486
- data/vendor/node_modules/nanoid/CHANGELOG.md +0 -241
- data/vendor/node_modules/nanoid/index.dev.js +0 -105
- data/vendor/node_modules/nanoid/index.prod.js +0 -105
- data/vendor/node_modules/resolve-url/bower.json +0 -15
- data/vendor/node_modules/resolve-url/changelog.md +0 -15
- data/vendor/node_modules/resolve-url/component.json +0 -15
- data/vendor/node_modules/resolve-url/package.json +0 -34
- data/vendor/node_modules/resolve-url/readme.md +0 -83
- data/vendor/node_modules/resolve-url/resolve-url.js +0 -47
- data/vendor/node_modules/resolve-url/test/resolve-url.js +0 -70
- data/vendor/node_modules/semver/CHANGELOG.md +0 -70
- data/vendor/node_modules/semver/README.md +0 -443
- data/vendor/node_modules/semver/bin/semver.js +0 -174
- data/vendor/node_modules/semver/package.json +0 -28
- data/vendor/node_modules/semver/range.bnf +0 -16
- data/vendor/node_modules/semver/semver.js +0 -1596
- data/vendor/node_modules/should/CONTRIBUTING.md +0 -14
- data/vendor/node_modules/should/History.md +0 -554
- data/vendor/node_modules/should/LICENSE +0 -20
- data/vendor/node_modules/should/Readme.md +0 -223
- data/vendor/node_modules/should/as-function.js +0 -2935
- data/vendor/node_modules/should/cjs/should.js +0 -2962
- data/vendor/node_modules/should/es6/should.js +0 -2958
- data/vendor/node_modules/should/package.json +0 -51
- data/vendor/node_modules/should/should.d.ts +0 -243
- data/vendor/node_modules/should/should.js +0 -4371
- data/vendor/node_modules/should-equal/LICENSE +0 -21
- data/vendor/node_modules/should-equal/README.md +0 -24
- data/vendor/node_modules/should-equal/cjs/should-equal.js +0 -333
- data/vendor/node_modules/should-equal/es6/should-equal.js +0 -329
- data/vendor/node_modules/should-equal/package.json +0 -38
- data/vendor/node_modules/should-format/README.md +0 -6
- data/vendor/node_modules/should-format/cjs/should-format.js +0 -532
- data/vendor/node_modules/should-format/es6/should-format.js +0 -528
- data/vendor/node_modules/should-format/package.json +0 -44
- data/vendor/node_modules/should-type/LICENSE +0 -22
- data/vendor/node_modules/should-type/README.md +0 -4
- data/vendor/node_modules/should-type/cjs/should-type.js +0 -263
- data/vendor/node_modules/should-type/es6/should-type.js +0 -261
- data/vendor/node_modules/should-type/package.json +0 -38
- data/vendor/node_modules/should-type-adaptors/README.md +0 -1
- data/vendor/node_modules/should-type-adaptors/cjs/should-type-adaptors.js +0 -288
- data/vendor/node_modules/should-type-adaptors/es6/should-type-adaptors.js +0 -272
- data/vendor/node_modules/should-type-adaptors/package.json +0 -43
- data/vendor/node_modules/should-util/LICENSE +0 -21
- data/vendor/node_modules/should-util/README.md +0 -2
- data/vendor/node_modules/should-util/cjs/should-util.js +0 -50
- data/vendor/node_modules/should-util/es6/should-util.js +0 -42
- data/vendor/node_modules/should-util/package.json +0 -40
- data/vendor/node_modules/source-map-resolve/lib/decode-uri-component.js +0 -8
- data/vendor/node_modules/source-map-resolve/lib/resolve-url.js +0 -9
- data/vendor/node_modules/source-map-resolve/source-map-resolve.js +0 -348
- data/vendor/node_modules/source-map-url/changelog.md +0 -57
- data/vendor/node_modules/source-map-url/package.json +0 -39
- data/vendor/node_modules/source-map-url/readme.md +0 -97
- data/vendor/node_modules/source-map-url/source-map-url.js +0 -57
- data/vendor/node_modules/urix/index.js +0 -17
- data/vendor/node_modules/urix/package.json +0 -25
- data/vendor/node_modules/urix/readme.md +0 -46
- data/vendor/node_modules/urix/test/index.js +0 -43
- data/vendor/node_modules/wide-align/LICENSE +0 -14
- data/vendor/node_modules/wide-align/README.md +0 -47
- data/vendor/node_modules/wide-align/align.js +0 -65
- data/vendor/node_modules/wide-align/package.json +0 -33
- data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -37
- data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -10
- data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
- data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -55
- data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
- data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +0 -9
- data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/vendor/node_modules/wrap-ansi/node_modules/string-width/index.d.ts +0 -29
- data/vendor/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -47
- data/vendor/node_modules/wrap-ansi/node_modules/string-width/license +0 -9
- data/vendor/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -56
- data/vendor/node_modules/wrap-ansi/node_modules/string-width/readme.md +0 -50
- data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -17
- data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -4
- data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
- data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -54
- data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
- data/vendor/node_modules/yargs/node_modules/ansi-regex/index.d.ts +0 -37
- data/vendor/node_modules/yargs/node_modules/ansi-regex/index.js +0 -10
- data/vendor/node_modules/yargs/node_modules/ansi-regex/license +0 -9
- data/vendor/node_modules/yargs/node_modules/ansi-regex/package.json +0 -55
- data/vendor/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -78
- data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/license +0 -9
- data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/vendor/node_modules/yargs/node_modules/string-width/index.d.ts +0 -29
- data/vendor/node_modules/yargs/node_modules/string-width/index.js +0 -47
- data/vendor/node_modules/yargs/node_modules/string-width/license +0 -9
- data/vendor/node_modules/yargs/node_modules/string-width/package.json +0 -56
- data/vendor/node_modules/yargs/node_modules/string-width/readme.md +0 -50
- data/vendor/node_modules/yargs/node_modules/strip-ansi/index.d.ts +0 -17
- data/vendor/node_modules/yargs/node_modules/strip-ansi/index.js +0 -4
- data/vendor/node_modules/yargs/node_modules/strip-ansi/license +0 -9
- data/vendor/node_modules/yargs/node_modules/strip-ansi/package.json +0 -54
- data/vendor/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -46
- data/vendor/test.js +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7933f43627333050fd59d94947f06e920f94f444eadd74a7ef7f4e5d22f2292a
|
4
|
+
data.tar.gz: 4b969d56eb8e81f5f29e25ba946bb99491516264224e90bfcce2ce6b8b2bc9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f37855e5ab689f57f11a7510811b889f2f0e29c65e3ef870adfe82e6bccb8147c662c0ac747b96abdaf4d91de5d9806d1a2e6ff16152002aea636f224fc244
|
7
|
+
data.tar.gz: 9bddbaa61476ec167528e792c2c944c313fac31842b4ffda52243743d76b8423800e2b2fdb3de22bdeb8f773ec72714690988560eb2b9cae4a9b133de4f2e39f
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -27,7 +27,7 @@ end
|
|
27
27
|
|
28
28
|
desc "Downloads stylus into './vendor' and checks the latest released tag"
|
29
29
|
task :update do
|
30
|
-
raw = open('http://registry.npmjs.org/stylus') { |io| io.binmode.read }
|
30
|
+
raw = URI.open('http://registry.npmjs.org/stylus') { |io| io.binmode.read }
|
31
31
|
metadata = MultiJson.load(raw)
|
32
32
|
current_version = File.read('VERSION')
|
33
33
|
version = ENV['VERSION'] || metadata['dist-tags']['latest']
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.56.0
|
@@ -1,3 +1,53 @@
|
|
1
|
+
0.56.0 / 2021-12-18
|
2
|
+
===================
|
3
|
+
* Deps: upgrade debug version from v3 to v4. [#2643](https://github.com/stylus/stylus/pull/2643)
|
4
|
+
* Deps: remove dependencies semver and mkdirp. [2641](https://github.com/stylus/stylus/pull/2641)
|
5
|
+
* Fix: variable names beginning with a keyword and dash. [#2634](https://github.com/stylus/stylus/pull/2634)
|
6
|
+
* Fix: @import url() error in dependency resolver. [#2632](https://github.com/stylus/stylus/pull/2632)
|
7
|
+
|
8
|
+
0.55.0 / 2021-09-04
|
9
|
+
===================
|
10
|
+
|
11
|
+
* Fearure: Add deg and fr as exceptions for 0 value unit omission. [#2578](https://github.com/stylus/stylus/pull/2578)
|
12
|
+
* Feature: Add inverse trigonometric functions as bifs. [#2186](https://github.com/stylus/stylus/pull/2186) closes [#1567](https://github.com/stylus/stylus/issues/1567)
|
13
|
+
* Fix: Bug fixes of encoding png image in url lib function. [#2549](https://github.com/stylus/stylus/pull/2549)
|
14
|
+
* Refactoring: Replace dependency css-parse with css. [#2554](https://github.com/stylus/stylus/pull/2554)
|
15
|
+
|
16
|
+
0.54.8 / 2020-07-16
|
17
|
+
===================
|
18
|
+
|
19
|
+
* Feature: Patched Renderer.deps() to recognize identifiers as import paths. [#2519](https://github.com/stylus/stylus/pull/2519)
|
20
|
+
* Fix: fix for Node v14 'Accessing non-existent property' errors [#2538](https://github.com/stylus/stylus/pull/2538)
|
21
|
+
* Fix: tests on windows [#2523](https://github.com/stylus/stylus/pull/2523)
|
22
|
+
* Fix: fixed an issue when running Stylus inside of an .asar archive [#2520](https://github.com/stylus/stylus/pull/2520)
|
23
|
+
* Fix: fix property lookup negation [#2506](https://github.com/stylus/stylus/pull/2506) closes [#2485](https://github.com/stylus/stylus/issues/2485)
|
24
|
+
|
25
|
+
0.54.7 / 2019-08-21
|
26
|
+
===================
|
27
|
+
|
28
|
+
* Fix: bug in hash access [#2484](https://github.com/stylus/stylus/pull/2484)
|
29
|
+
|
30
|
+
0.54.6 / 2019-08-19
|
31
|
+
===================
|
32
|
+
|
33
|
+
* Feature: Extend length method to work with strings [#2110](https://github.com/stylus/stylus/pull/2110)
|
34
|
+
* Feature: add quiet flag to have a more "quiet" output. [#2088](https://github.com/stylus/stylus/pull/2088)
|
35
|
+
* Feature: Support for cssnext nested at-rule syntax (apply, nested) [#2335](https://github.com/stylus/stylus/pull/2335)
|
36
|
+
* Feature: Make prefix-classes work with partial and range refs in selectors [#2278](https://github.com/stylus/stylus/pull/2278)
|
37
|
+
* Feature: Extend in block level import [#2270](https://github.com/stylus/stylus/pull/2270)
|
38
|
+
* chore: Use mkdir() recursive option instead of mkdirp() [#2426](https://github.com/stylus/stylus/pull/2426)
|
39
|
+
* chore: Define function arguments explicitly [#2417](https://github.com/stylus/stylus/pull/2417)
|
40
|
+
* Fix issue with cos & sin not stripping rad unit. [#2284](https://github.com/stylus/stylus/pull/2284)
|
41
|
+
* Fix: handle empty at-rules [#2416](https://github.com/stylus/stylus/pull/2416)
|
42
|
+
* Fix: Do not use the deprecated Buffer() constructor [#2424](https://github.com/stylus/stylus/pull/2424)
|
43
|
+
* Fix: 'imports' couldn't be set as a option [#2425](https://github.com/stylus/stylus/pull/2411) closes [#2411](https://github.com/stylus/stylus/pull/2411)
|
44
|
+
* Fix: no such directory error in Stylus Executable [#2421](https://github.com/stylus/stylus/pull/2421)
|
45
|
+
* Fix: define column for mixin [#2456](https://github.com/stylus/stylus/pull/2456)
|
46
|
+
* Fix: work with hash [#2453](https://github.com/stylus/stylus/pull/2453)
|
47
|
+
* Fix: check whether captureStackTrace exists [#2394](https://github.com/stylus/stylus/pull/2394)
|
48
|
+
|
49
|
+
|
50
|
+
|
1
51
|
0.54.5 / 2016-04-28
|
2
52
|
===================
|
3
53
|
|
data/vendor/Readme.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
|
1
|
+
<p align="center"><a href="https://stylus-lang.com" target="_blank" rel="noopener noreferrer"><img width="150" src="https://raw.githubusercontent.com/stylus/stylus/dev/graphics/Logos/stylus.png" alt="Stylus logo"></a></p>
|
2
2
|
|
3
|
-
[![Build Status](https://
|
4
|
-
[![
|
3
|
+
[![Build Status](https://github.com/stylus/stylus/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/stylus/stylus/actions?query=branch%3Adev)
|
4
|
+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-brightgreen.svg)](https://github.com/stylus/stylus/pulse)
|
5
|
+
[![npm version](https://img.shields.io/npm/v/stylus?color=brightgreen)](https://www.npmjs.com/package/stylus)
|
5
6
|
[![npm](https://img.shields.io/npm/dm/stylus.svg)](https://www.npmjs.com/package/stylus)
|
6
|
-
[![Join the community on
|
7
|
+
[![Join the community on github discussion](https://img.shields.io/badge/Join%20the%20community-on%20discussions-%23754ffb?logo=googlechat&logoColor=white)](https://github.com/stylus/stylus/discussions)
|
7
8
|
|
8
9
|
Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.
|
9
10
|
|
@@ -18,7 +19,35 @@ Watch and compile a stylus file from command line with
|
|
18
19
|
```bash
|
19
20
|
stylus -w style.styl -o style.css
|
20
21
|
```
|
21
|
-
You can also [try all stylus features on stylus-lang.com](http://stylus-lang.com/try.html), build something with stylus on [codepen](http://codepen.io) or
|
22
|
+
You can also [try all stylus features on stylus-lang.com](http://stylus-lang.com/try.html), build something with stylus on [codepen](http://codepen.io) or [RunKit](https://npm.runkit.com/stylus)
|
23
|
+
|
24
|
+
### IDE/Editor Support
|
25
|
+
|
26
|
+
| IDE/Editor | built-in support | guide | plugin support |
|
27
|
+
| ------------- | ------------- | ------------- | ------------- |
|
28
|
+
| <img src="https://simpleicons.org/icons/webstorm.svg" width="15px" /> WebStorm | ✅ [bug report](https://youtrack.jetbrains.com/issues/WEB) | [Using stylus with webstorm](https://www.jetbrains.com/help/webstorm/transpiling-stylus-to-css.html) | N/A |
|
29
|
+
| <img src="https://simpleicons.org/icons/visualstudiocode.svg" width="15px" /> VSCode | ❌ | N/A | [Stylus](https://marketplace.visualstudio.com/items?itemName=sysoev.language-stylus)(maintainer: [@iChenLei](https://github.com/ichenlei) [@d4rkr00t](https://github.com/d4rkr00t)) |
|
30
|
+
| <img src="https://simpleicons.org/icons/sublimetext.svg" width="15px" /> Sublime 2/3 | ❌ | N/A |[Stylus](https://packagecontrol.io/packages/Stylus)(maintainer: [@billymoon](https://github.com/billymoon)) |
|
31
|
+
| <img src="https://simpleicons.org/icons/atom.svg" width="15px" /> Atom | ❌ | N/A | [Stylus](https://atom.io/packages/stylus)(maintainer: [@matthojo](https://github.com/matthojo)) |
|
32
|
+
| <img src="https://simpleicons.org/icons/vim.svg" width="15px" /> Vim | ❌ | N/A | [vim-stylus](https://github.com/iloginow/vim-stylus)(maintainer: [@iloginow](https://github.com/iloginow)) |
|
33
|
+
|
34
|
+
> Missing your favorite IDE/Editor support ? Please report to us via [stylus issues](https://github.com/stylus/stylus/issues)
|
35
|
+
|
36
|
+
### Modern bundler/task-runner Support
|
37
|
+
|
38
|
+
| Bundler | built-in support | guide | plugin support |
|
39
|
+
| ------------- | ------------- | ------------- | ------------- |
|
40
|
+
| <img src="https://simpleicons.org/icons/webpack.svg" width="15px"> webpack | ✅ | [Using stylus with webpack](https://webpack.js.org/loaders/stylus-loader/) | [stylus-loader](https://github.com/webpack-contrib/stylus-loader) |
|
41
|
+
| <img src="https://simpleicons.org/icons/vite.svg" width="15px"> vite | ✅ | [Using stylus with vite](https://vitejs.dev/guide/features.html#css-pre-processors) | N/A |
|
42
|
+
| <img src="https://avatars.githubusercontent.com/u/32607881?s=20&v=4" width="15px"> parcel | ✅ | [Using stylus with parcel v1](https://parceljs.org/stylus.html) \| [v2](https://v2.parceljs.org/languages/stylus/) | N/A |
|
43
|
+
| <img src="https://avatars.githubusercontent.com/u/23119087?s=20&v=4" width="15px"> fuse-box | ✅ | [Using stylus with fuse-box](https://fuse-box.org/docs/plugins/stylus-plugin) | N/A |
|
44
|
+
| <img src="https://avatars.githubusercontent.com/u/44914786?s=20&v=4" width="15px"> snowpack | ❌ | [Snowpack plugins guide](https://www.snowpack.dev/reference/plugins) | [snowpack-plugin-stylus](https://github.com/fansenze/snowpack-plugin-stylus) |
|
45
|
+
| <img src="https://simpleicons.org/icons/gulp.svg" width="15px"> gulp | ❌ | N/A | [gulp-stylus](https://github.com/stevelacy/gulp-stylus) |
|
46
|
+
| <img src="https://simpleicons.org/icons/grunt.svg" width="15px"> grunt | ❌ | N/A | [grunt-contrib-stylus](https://github.com/gruntjs/grunt-contrib-stylus) |
|
47
|
+
| <img src="https://simpleicons.org/icons/rollupdotjs.svg" width="15px"> rollup | ❌ | N/A | [rollup-plugin-stylus-compiler](https://github.com/RJHwang/rollup-plugin-stylus-compiler) |
|
48
|
+
|
49
|
+
|
50
|
+
> Missing your favorite modern bundler/task-runner support ? Please report to us via [stylus issues](https://github.com/stylus/stylus/issues)
|
22
51
|
|
23
52
|
### Example
|
24
53
|
|
@@ -126,24 +155,9 @@ form input {
|
|
126
155
|
|
127
156
|
- https://github.com/stylus/stylus/wiki
|
128
157
|
|
129
|
-
###
|
130
|
-
|
131
|
-
- [Connect](docs/middleware.md)
|
132
|
-
- [Play! 2.0](https://github.com/patiencelabs/play-stylus)
|
133
|
-
- [Ruby On Rails](https://github.com/forgecrafted/ruby-stylus-source)
|
134
|
-
- [Meteor](http://docs.meteor.com/#stylus)
|
135
|
-
- [Grails](http://grails.org/plugin/stylus-asset-pipeline)
|
136
|
-
- [Derby](https://github.com/derbyjs/derby-stylus)
|
137
|
-
- [Laravel](https://laravel.com/docs/5.5/mix#stylus)
|
138
|
-
|
139
|
-
### CMS Support
|
140
|
-
|
141
|
-
- [DocPad](https://github.com/docpad/docpad)
|
142
|
-
- [Punch](https://github.com/laktek/punch-stylus-compiler)
|
143
|
-
|
144
|
-
### Screencasts
|
158
|
+
### Stylus cheatsheet
|
145
159
|
|
146
|
-
- [
|
160
|
+
- [Stylus cheatsheet](https://devhints.io/stylus), very useful stylus syntax code snippet for you
|
147
161
|
|
148
162
|
### Authors
|
149
163
|
|
@@ -151,7 +165,7 @@ form input {
|
|
151
165
|
|
152
166
|
### More Information
|
153
167
|
|
154
|
-
- Language [comparisons](docs/compare.md)
|
168
|
+
- Language [comparisons](docs/compare.md), compare Less Sass and Stylus.
|
155
169
|
|
156
170
|
## Code of Conduct
|
157
171
|
|
data/vendor/bin/stylus
CHANGED
@@ -12,8 +12,7 @@ var fs = require('fs')
|
|
12
12
|
, resolve = require('path').resolve
|
13
13
|
, join = require('path').join
|
14
14
|
, isWindows = process.platform === 'win32'
|
15
|
-
,
|
16
|
-
, mkdirSync = semver.satisfies(process.version, '>=10.12.0') ? fs.mkdirSync : require('mkdirp').sync;
|
15
|
+
, mkdirSync = fs.mkdirSync;
|
17
16
|
|
18
17
|
/**
|
19
18
|
* Arguments.
|
data/vendor/lib/convert/css.js
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
var utils = require('../utils')
|
2
|
+
, nodes = require('../nodes')
|
3
|
+
, convert = require('./convert-angle')
|
4
|
+
, asin = require('./asin');
|
5
|
+
|
6
|
+
/**
|
7
|
+
* Return the arccosine of the given `value`.
|
8
|
+
*
|
9
|
+
* @param {Double} trigValue
|
10
|
+
* @param {Unit} output
|
11
|
+
* @return {Unit}
|
12
|
+
* @api public
|
13
|
+
*/
|
14
|
+
module.exports = function acos(trigValue, output) {
|
15
|
+
var output = typeof output !== 'undefined' ? output : 'deg';
|
16
|
+
var convertedValue = convert(Math.PI / 2, output) - asin(trigValue, output).val;
|
17
|
+
var m = Math.pow(10, 9);
|
18
|
+
convertedValue = Math.round(convertedValue * m) / m;
|
19
|
+
return new nodes.Unit(convertedValue, output);
|
20
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
var utils = require('../utils')
|
2
|
+
, nodes = require('../nodes')
|
3
|
+
, convert = require('./convert-angle');
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Return the arcsine of the given `value`.
|
7
|
+
*
|
8
|
+
* @param {Double} trigValue
|
9
|
+
* @param {Unit} output
|
10
|
+
* @return {Unit}
|
11
|
+
* @api public
|
12
|
+
*/
|
13
|
+
|
14
|
+
module.exports = function atan(trigValue, output) {
|
15
|
+
var output = typeof output !== 'undefined' ? output : 'deg';
|
16
|
+
var m = Math.pow(10, 9);
|
17
|
+
var value = Math.asin(trigValue) ;
|
18
|
+
var convertedValue = convert(value, output);
|
19
|
+
convertedValue = Math.round(convertedValue * m) / m;
|
20
|
+
return new nodes.Unit(convertedValue, output);
|
21
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
var utils = require('../utils')
|
2
|
+
, nodes = require('../nodes')
|
3
|
+
, convert = require('./convert-angle');
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Return the arctangent of the given `value`.
|
7
|
+
*
|
8
|
+
* @param {Double} trigValue
|
9
|
+
* @param {Unit} output
|
10
|
+
* @return {Unit}
|
11
|
+
* @api public
|
12
|
+
*/
|
13
|
+
|
14
|
+
module.exports = function atan(trigValue, output) {
|
15
|
+
var output = typeof output !== 'undefined' ? output : 'deg';
|
16
|
+
var value = Math.atan(trigValue) ;
|
17
|
+
var m = Math.pow(10, 9);
|
18
|
+
var convertedValue = convert(value, output);
|
19
|
+
convertedValue = Math.round(convertedValue * m) / m;
|
20
|
+
return new nodes.Unit(convertedValue, output);
|
21
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* Convert given value's base into the parameter unitName
|
4
|
+
*
|
5
|
+
* @param {Double} value
|
6
|
+
* @param {String} unitName
|
7
|
+
* @return {Double}
|
8
|
+
* @api private
|
9
|
+
*/
|
10
|
+
|
11
|
+
module.exports = function convertAngle(value, unitName) {
|
12
|
+
var factors = {
|
13
|
+
"rad" : 1,
|
14
|
+
"deg" : 180 / Math.PI,
|
15
|
+
"turn": 0.5 / Math.PI,
|
16
|
+
"grad": 200 / Math.PI
|
17
|
+
}
|
18
|
+
return value * factors[unitName];
|
19
|
+
}
|
@@ -46,6 +46,9 @@ exports.red = require('./red');
|
|
46
46
|
exports.remove = require('./remove');
|
47
47
|
exports.replace = require('./replace');
|
48
48
|
exports.rgb = require('./rgb');
|
49
|
+
exports.atan = require('./atan');
|
50
|
+
exports.asin = require('./asin');
|
51
|
+
exports.acos = require('./acos');
|
49
52
|
exports.rgba = require('./rgba');
|
50
53
|
exports.s = require('./s');
|
51
54
|
exports.saturation = require('./saturation');
|
data/vendor/lib/functions/url.js
CHANGED
@@ -86,7 +86,7 @@ module.exports = function(options) {
|
|
86
86
|
|
87
87
|
// Parse literal
|
88
88
|
url = parse(url);
|
89
|
-
var ext = extname(url.pathname)
|
89
|
+
var ext = extname(url.pathname || '')
|
90
90
|
, mime = mimes[ext]
|
91
91
|
, hash = url.hash || ''
|
92
92
|
, literal = new nodes.Literal('url("' + url.href + '")')
|
@@ -114,19 +114,19 @@ module.exports = function(options) {
|
|
114
114
|
}
|
115
115
|
|
116
116
|
// Read data
|
117
|
-
|
117
|
+
buf = fs.readFileSync(found);
|
118
118
|
|
119
119
|
// Too large
|
120
|
-
if(false !== sizeLimit &&
|
120
|
+
if(false !== sizeLimit && buf.length > sizeLimit) return literal;
|
121
121
|
|
122
122
|
if(enc && 'utf8' == enc.first.val.toLowerCase()) {
|
123
123
|
encoding = encodingTypes.UTF8;
|
124
|
-
result =
|
124
|
+
result = buf.toString().replace(/\s+/g, ' ')
|
125
125
|
.replace(/[{}\|\\\^~\[\]`"<>#%]/g, function(match) {
|
126
126
|
return '%' + match[0].charCodeAt(0).toString(16).toUpperCase();
|
127
127
|
}).trim();
|
128
128
|
} else {
|
129
|
-
result =
|
129
|
+
result = buf.toString(encoding) + hash;
|
130
130
|
}
|
131
131
|
|
132
132
|
// Encode
|
data/vendor/lib/lexer.js
CHANGED
@@ -448,7 +448,7 @@ Lexer.prototype = {
|
|
448
448
|
keyword: function() {
|
449
449
|
var captures
|
450
450
|
, tok;
|
451
|
-
if (captures = /^(return|if|else|unless|for|in)\b[ \t]*/.exec(this.str)) {
|
451
|
+
if (captures = /^(return|if|else|unless|for|in)\b(?!-)[ \t]*/.exec(this.str)) {
|
452
452
|
var keyword = captures[1];
|
453
453
|
this.skip(captures);
|
454
454
|
if (this.isPartOfSelector()) {
|
data/vendor/lib/middleware.js
CHANGED
@@ -9,14 +9,13 @@
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
var stylus = require('./stylus')
|
12
|
-
, semver = require('semver')
|
13
12
|
, fs = require('fs')
|
14
13
|
, url = require('url')
|
15
14
|
, dirname = require('path').dirname
|
16
15
|
, join = require('path').join
|
17
16
|
, sep = require('path').sep
|
18
17
|
, debug = require('debug')('stylus:middleware')
|
19
|
-
, mkdir =
|
18
|
+
, mkdir = fs.mkdir;
|
20
19
|
|
21
20
|
/**
|
22
21
|
* Import map.
|
@@ -413,8 +413,8 @@ Compiler.prototype.visitUnit = function(unit){
|
|
413
413
|
|
414
414
|
// Compress
|
415
415
|
if (this.compress) {
|
416
|
-
// Always return '0' unless the unit is a percentage or
|
417
|
-
if ('%'
|
416
|
+
// Always return '0' unless the unit is a percentage, time, degree or fraction
|
417
|
+
if (!(['%', 's', 'ms', 'deg', 'fr'].includes(type)) && 0 == n) return '0';
|
418
418
|
// Omit leading '0' on floats
|
419
419
|
if (float && n < 1 && n > -1) {
|
420
420
|
return n.toString().replace('0.', '.') + type;
|
@@ -110,6 +110,9 @@ DepsResolver.prototype.visitCall = function(call) {
|
|
110
110
|
*/
|
111
111
|
|
112
112
|
DepsResolver.prototype.visitImport = function(node) {
|
113
|
+
// If it's a url() call, skip
|
114
|
+
if (node.path.first.name === 'url') return;
|
115
|
+
|
113
116
|
var path = !node.path.first.val.isNull && node.path.first.val || node.path.first.name
|
114
117
|
, literal, found, oldPath;
|
115
118
|
|
File without changes
|
@@ -1,10 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
module.exports = () => {
|
3
|
+
module.exports = ({onlyFirst = false} = {}) => {
|
4
4
|
const pattern = [
|
5
|
-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]
|
6
|
-
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-
|
5
|
+
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
6
|
+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
|
7
7
|
].join('|');
|
8
8
|
|
9
|
-
return new RegExp(pattern, 'g');
|
9
|
+
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
10
10
|
};
|
@@ -1,53 +1,55 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
2
|
+
"name": "ansi-regex",
|
3
|
+
"version": "5.0.1",
|
4
|
+
"description": "Regular expression for matching ANSI escape codes",
|
5
|
+
"license": "MIT",
|
6
|
+
"repository": "chalk/ansi-regex",
|
7
|
+
"author": {
|
8
|
+
"name": "Sindre Sorhus",
|
9
|
+
"email": "sindresorhus@gmail.com",
|
10
|
+
"url": "sindresorhus.com"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">=8"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"test": "xo && ava && tsd",
|
17
|
+
"view-supported": "node fixtures/view-codes.js"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"index.js",
|
21
|
+
"index.d.ts"
|
22
|
+
],
|
23
|
+
"keywords": [
|
24
|
+
"ansi",
|
25
|
+
"styles",
|
26
|
+
"color",
|
27
|
+
"colour",
|
28
|
+
"colors",
|
29
|
+
"terminal",
|
30
|
+
"console",
|
31
|
+
"cli",
|
32
|
+
"string",
|
33
|
+
"tty",
|
34
|
+
"escape",
|
35
|
+
"formatting",
|
36
|
+
"rgb",
|
37
|
+
"256",
|
38
|
+
"shell",
|
39
|
+
"xterm",
|
40
|
+
"command-line",
|
41
|
+
"text",
|
42
|
+
"regex",
|
43
|
+
"regexp",
|
44
|
+
"re",
|
45
|
+
"match",
|
46
|
+
"test",
|
47
|
+
"find",
|
48
|
+
"pattern"
|
49
|
+
],
|
50
|
+
"devDependencies": {
|
51
|
+
"ava": "^2.4.0",
|
52
|
+
"tsd": "^0.9.0",
|
53
|
+
"xo": "^0.25.3"
|
54
|
+
}
|
53
55
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# ansi-regex
|
1
|
+
# ansi-regex
|
2
2
|
|
3
3
|
> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
|
4
4
|
|
@@ -23,9 +23,33 @@ ansiRegex().test('cake');
|
|
23
23
|
|
24
24
|
'\u001B[4mcake\u001B[0m'.match(ansiRegex());
|
25
25
|
//=> ['\u001B[4m', '\u001B[0m']
|
26
|
+
|
27
|
+
'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
|
28
|
+
//=> ['\u001B[4m']
|
29
|
+
|
30
|
+
'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
|
31
|
+
//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
|
26
32
|
```
|
27
33
|
|
28
34
|
|
35
|
+
## API
|
36
|
+
|
37
|
+
### ansiRegex(options?)
|
38
|
+
|
39
|
+
Returns a regex for matching ANSI escape codes.
|
40
|
+
|
41
|
+
#### options
|
42
|
+
|
43
|
+
Type: `object`
|
44
|
+
|
45
|
+
##### onlyFirst
|
46
|
+
|
47
|
+
Type: `boolean`<br>
|
48
|
+
Default: `false` *(Matches any ANSI escape codes in a string)*
|
49
|
+
|
50
|
+
Match only the first ANSI escape.
|
51
|
+
|
52
|
+
|
29
53
|
## FAQ
|
30
54
|
|
31
55
|
### Why do you test for codes not in the ECMA 48 standard?
|
@@ -41,6 +65,14 @@ On the historical side, those ECMA standards were established in the early 90's
|
|
41
65
|
- [Josh Junon](https://github.com/qix-)
|
42
66
|
|
43
67
|
|
44
|
-
|
68
|
+
---
|
45
69
|
|
46
|
-
|
70
|
+
<div align="center">
|
71
|
+
<b>
|
72
|
+
<a href="https://tidelift.com/subscription/pkg/npm-ansi-regex?utm_source=npm-ansi-regex&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
73
|
+
</b>
|
74
|
+
<br>
|
75
|
+
<sub>
|
76
|
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
77
|
+
</sub>
|
78
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
1.1.0 / 2018-01-02
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Add type definitions ([#11](https://github.com/chaijs/assertion-error/pull/11))
|
5
|
+
|
6
|
+
1.0.1 / 2015-03-04
|
7
|
+
==================
|
8
|
+
|
9
|
+
* Merge pull request #2 from simonzack/master
|
10
|
+
* fixes `.stack` on firefox
|
11
|
+
|
12
|
+
1.0.0 / 2013-06-08
|
13
|
+
==================
|
14
|
+
|
15
|
+
* readme: change travis and component urls
|
16
|
+
* refactor: [*] prepare for move to chaijs gh org
|
17
|
+
|
18
|
+
0.1.0 / 2013-04-07
|
19
|
+
==================
|
20
|
+
|
21
|
+
* test: use vanilla test runner/assert
|
22
|
+
* pgk: remove unused deps
|
23
|
+
* lib: implement
|
24
|
+
* "Initial commit"
|
@@ -1,6 +1,26 @@
|
|
1
|
-
|
1
|
+
# AssertionError [![Build Status](https://travis-ci.org/chaijs/assertion-error.png?branch=master)](https://travis-ci.org/chaijs/assertion-error)
|
2
2
|
|
3
|
-
|
3
|
+
> Error constructor for test and validation frameworks that implements standardized AssertionError specification.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
### Node.js
|
8
|
+
|
9
|
+
`assertion-error` is available on [npm](http://npmjs.org).
|
10
|
+
|
11
|
+
$ npm install assertion-error
|
12
|
+
|
13
|
+
### Component
|
14
|
+
|
15
|
+
`assertion-error` is available as a [component](https://github.com/component/component).
|
16
|
+
|
17
|
+
$ component install chaijs/assertion-error
|
18
|
+
|
19
|
+
## License
|
20
|
+
|
21
|
+
(The MIT License)
|
22
|
+
|
23
|
+
Copyright (c) 2013 Jake Luer <jake@qualiancy.com> (http://qualiancy.com)
|
4
24
|
|
5
25
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
26
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -0,0 +1,11 @@
|
|
1
|
+
type AssertionError<T = {}> = Error & T & {
|
2
|
+
showDiff: boolean;
|
3
|
+
};
|
4
|
+
|
5
|
+
interface AssertionErrorConstructor {
|
6
|
+
new<T = {}>(message: string, props?: T, ssf?: Function): AssertionError<T>;
|
7
|
+
}
|
8
|
+
|
9
|
+
declare const AssertionError: AssertionErrorConstructor;
|
10
|
+
|
11
|
+
export = AssertionError;
|