From 34c4f4e80b0aa06f07c67f3572426342dc293f08 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Fri, 15 Oct 2021 18:57:43 +0800 Subject: [PATCH 1/3] use the same stylefmt package as ronilaukkarinen/vscode-stylefmt --- Stylefmt.py | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Stylefmt.py b/Stylefmt.py index 4cafbb8..3415c29 100755 --- a/Stylefmt.py +++ b/Stylefmt.py @@ -9,7 +9,7 @@ except: from .node_bridge import node_bridge -BIN_PATH = join(sublime.packages_path(), dirname(realpath(__file__)), 'node_modules/stylefmt/bin/cli.js') +BIN_PATH = join(sublime.packages_path(), dirname(realpath(__file__)), 'node_modules/@ronilaukkarinen/stylefmt/bin/cli.js') def get_setting(view, key): diff --git a/package.json b/package.json index 62bbcc8..c12f456 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "license": "ISC", "dependencies": { - "stylefmt": "^6.0.3" + "@ronilaukkarinen/stylefmt": "6.1.9" }, "engines": { "node": ">=4.2.0" From bda15e7d3b44eb1e78540a9a95369b28617fac88 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sat, 10 Sep 2022 16:13:15 +0800 Subject: [PATCH 2/3] bump the version of @ronilaukkarinen/stylefmt --- package-lock.json | 3261 +++++++++++++++------------------------------ package.json | 2 +- 2 files changed, 1097 insertions(+), 2166 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08efcb9..f38f32d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,181 +4,701 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "JSONStream": { - "version": "0.8.4", - "resolved": "http://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", - "integrity": "sha1-kWV9/m/4V0gwZhMrRhi2Lo9Ih70=", + "@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "requires": { - "jsonparse": "0.0.5", - "through": ">=2.2.7 <3" + "@babel/highlight": "^7.18.6" } }, - "ajv": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.5.tgz", - "integrity": "sha512-7q7gtRQDJSyuEHjuVgHoUa2VuemFiCMrfQc9Tc08XTAc4Zj/5U1buQJ0HU6i7fKjXU09SVgSmxa4sLvuvS8Iyg==", - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", - "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=" - }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + "@babel/helper-validator-identifier": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz", + "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==" }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "requires": { - "color-convert": "^1.9.0" + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } + "@csstools/selector-specificity": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.0.2.tgz", + "integrity": "sha512-IkpVW/ehM1hWKln4fCA3NzJU8KwD+kIOvPZA4cqxoJHtE21CCzjyp+Kxbu0i5I4tBNOlXPL9mjwnWlL0VEG4Fg==" }, - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "requires": { - "arr-flatten": "^1.0.1" + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" } }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" - }, - "array-differ": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", - "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=" - }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "requires": { - "array-uniq": "^1.0.1" + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" } }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" - }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" - }, - "autoprefixer": { - "version": "6.7.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", - "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "@ronilaukkarinen/stylefmt": { + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@ronilaukkarinen/stylefmt/-/stylefmt-6.2.4.tgz", + "integrity": "sha512-zm5vD4EFFRZFNNzfX/G1XzN1U98SmGgUrcbcmgSoygxhASn+U7Jr24uF3YsFZQCHr+P7zoLmZs0uYQR1sQBRLw==", "requires": { - "browserslist": "^1.7.6", - "caniuse-db": "^1.0.30000634", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "postcss": "^5.2.16", - "postcss-value-parser": "^3.2.3" + "colorette": "^2.0.16", + "css-color-list": "^0.0.2", + "diff": "^5.0.0", + "editorconfig": "^0.15.3", + "getopts": "^2.3.0", + "globby": "^13.1.1", + "postcss": "^8.4.14", + "postcss-scss": "^4.0.4", + "postcss-sorting": "^7.0.1", + "postcss-value-parser": "^4.2.0", + "stdin": "^0.0.1", + "stylelint": "^14.8.2", + "stylelint-order": "^5.0.0" }, "dependencies": { + "ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + }, + "balanced-match": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", + "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "colorette": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==" + }, + "cosmiconfig": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + } + }, + "css-color-list": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/css-color-list/-/css-color-list-0.0.2.tgz", + "integrity": "sha512-5TI5BH8kTSu+jwAiEkwTSYlztAnGWdkVpz72b8V4oX8x/T7EKMWHDbv8cgO+mTXEAnnLM89rvCha4RsLV98l4A==", + "requires": { + "css-color-names": "0.0.4" + } + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha512-zj5D7X1U2h2zsXOAM8EyUREBnnts6H+Jm+d1M2DbiQQcUtnqgQsMrdo8JW9R80YFUmIdBZeMu5wvYM7hcgWP/Q==" + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==" + }, + "editorconfig": { + "version": "0.15.3", + "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz", + "integrity": "sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==", + "requires": { + "commander": "^2.19.0", + "lru-cache": "^4.1.5", + "semver": "^5.6.0", + "sigmund": "^1.0.1" + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "requires": { + "flat-cache": "^3.0.4" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + } + }, + "getopts": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/getopts/-/getopts-2.3.0.tgz", + "integrity": "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA==" + }, + "globby": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.2.tgz", + "integrity": "sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==", + "requires": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.11", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^4.0.0" + } + }, + "hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "requires": { + "lru-cache": "^6.0.0" }, "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, - "has-flag": { + "html-tags": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.2.0.tgz", + "integrity": "sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==" + }, + "ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "known-css-properties": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.25.0.tgz", + "integrity": "sha512-b0/9J1O9Jcyik1GC6KC42hJ41jKwdO/Mq8Mdo5sYN+IuRTXs2YFHZC3kZSx6ueusqa95x3wLYe/ytKjbAfGixA==" + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" + }, + "mathml-tag-names": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", + "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==" + }, + "meow": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", + "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize": "^1.2.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + } + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "requires": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "version": "8.4.16", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", + "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" } }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "postcss-scss": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.4.tgz", + "integrity": "sha512-aBBbVyzA8b3hUL0MGrpydxxXKXFZc5Eqva0Q3V9qsBOLEMsjb6w49WfpsoWzpEgcqJGW4t7Rio8WXVU9Gd8vWg==" }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "postcss-sorting": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-7.0.1.tgz", + "integrity": "sha512-iLBFYz6VRYyLJEJsBJ8M3TCqNcckVzz4wFounSc5Oez35ogE/X+aoC5fFu103Ot7NyvjU3/xqIXn93Gp3kJk4g==" + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "requires": { - "has-flag": "^1.0.0" + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "requires": { + "min-indent": "^1.0.0" + } + }, + "stylelint": { + "version": "14.11.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.11.0.tgz", + "integrity": "sha512-OTLjLPxpvGtojEfpESWM8Ir64Z01E89xsisaBMUP/ngOx1+4VG2DPRcUyCCiin9Rd3kPXPsh/uwHd9eqnvhsYA==", + "requires": { + "@csstools/selector-specificity": "^2.0.2", + "balanced-match": "^2.0.0", + "colord": "^2.9.3", + "cosmiconfig": "^7.0.1", + "css-functions-list": "^3.1.0", + "debug": "^4.3.4", + "fast-glob": "^3.2.11", + "fastest-levenshtein": "^1.0.16", + "file-entry-cache": "^6.0.1", + "global-modules": "^2.0.0", + "globby": "^11.1.0", + "globjoin": "^0.1.4", + "html-tags": "^3.2.0", + "ignore": "^5.2.0", + "import-lazy": "^4.0.0", + "imurmurhash": "^0.1.4", + "is-plain-object": "^5.0.0", + "known-css-properties": "^0.25.0", + "mathml-tag-names": "^2.1.3", + "meow": "^9.0.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.16", + "postcss-media-query-parser": "^0.2.3", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^6.0.0", + "postcss-selector-parser": "^6.0.10", + "postcss-value-parser": "^4.2.0", + "resolve-from": "^5.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "style-search": "^0.1.0", + "supports-hyperlinks": "^2.2.0", + "svg-tags": "^1.0.0", + "table": "^6.8.0", + "v8-compile-cache": "^2.3.0", + "write-file-atomic": "^4.0.2" + }, + "dependencies": { + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + } + } + }, + "stylelint-order": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-5.0.0.tgz", + "integrity": "sha512-OWQ7pmicXufDw5BlRqzdz3fkGKJPgLyDwD1rFY3AIEfIH/LQY38Vu/85v8/up0I+VPiuGRwbc2Hg3zLAsJaiyw==", + "requires": { + "postcss": "^8.3.11", + "postcss-sorting": "^7.0.1" + } + }, + "table": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.0.tgz", + "integrity": "sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==", + "requires": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + } + }, + "trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" } } }, + "@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + }, + "@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" + }, + "astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, - "bluebird": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz", - "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==" - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -188,48 +708,10 @@ "concat-map": "0.0.1" } }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - } - }, - "browserslist": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", - "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", - "requires": { - "caniuse-db": "^1.0.30000639", - "electron-to-chromium": "^1.2.7" - } - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" - }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" - }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", - "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" - } - }, - "caniuse-db": { - "version": "1.0.30000907", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000907.tgz", - "integrity": "sha512-OKtlTmEPR9GgCxnKMlvdHTT2QD6n4eIovcVqEnjoR8iB9l6rk4abKnjsDSyTD36an/ebgigl8T2CSdwSf4JoGw==" + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "chalk": { "version": "2.4.1", @@ -241,47 +723,6 @@ "supports-color": "^5.3.0" } }, - "circular-json": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", - "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==" - }, - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "clone-regexp": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", - "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", - "requires": { - "is-regexp": "^1.0.0", - "is-supported-regexp-flag": "^1.0.0" - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -290,103 +731,15 @@ "color-name": "1.1.3" } }, - "color-diff": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/color-diff/-/color-diff-0.1.7.tgz", - "integrity": "sha1-bbeM2UgqjkWdQIIer0tQMoPcuOI=" - }, "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, - "colorette": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.0.7.tgz", - "integrity": "sha512-KeK4klsvAgdODAjFPm6QLzvStizJqlxMBtVo4KQMCgk5tt/tf9rAzxmxLHNRynJg3tJjkKGKbHx3j4HLox27Lw==" - }, - "colorguard": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/colorguard/-/colorguard-1.2.1.tgz", - "integrity": "sha512-qYVKTg626qpDg4/eBnPXidEPXn5+krbYqHVfyyEFBWV5z3IF4p44HKY/eE2t1ohlcrlIkDgHmFJMfQ8qMLnSFw==", - "requires": { - "chalk": "^1.1.1", - "color-diff": "^0.1.3", - "log-symbols": "^1.0.2", - "object-assign": "^4.0.1", - "pipetteur": "^2.0.0", - "plur": "^2.0.0", - "postcss": "^5.0.4", - "postcss-reporter": "^1.2.1", - "text-table": "^0.2.0", - "yargs": "^1.2.6" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "dependencies": { - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-reporter": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", - "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", - "requires": { - "chalk": "^1.0.0", - "lodash": "^4.1.0", - "log-symbols": "^1.0.2", - "postcss": "^5.0.0" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } + "colord": { + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", + "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==" }, "commander": { "version": "2.19.0", @@ -398,1412 +751,471 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "cosmiconfig": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", - "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", - "requires": { - "is-directory": "^0.3.1", - "js-yaml": "^3.4.3", - "minimist": "^1.2.0", - "object-assign": "^4.1.0", - "os-homedir": "^1.0.1", - "parse-json": "^2.2.0", - "require-from-string": "^1.1.0" - } - }, - "css-color-list": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/css-color-list/-/css-color-list-0.0.1.tgz", - "integrity": "sha1-hxjoaVrnosyHh76HFfHACKfyixU=", - "requires": { - "css-color-names": "0.0.1" - } - }, - "css-color-names": { - "version": "0.0.1", - "resolved": "http://registry.npmjs.org/css-color-names/-/css-color-names-0.0.1.tgz", - "integrity": "sha1-XQVI+iVkVu3kqaDCrHqxnT6xrYE=" - }, - "css-rule-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/css-rule-stream/-/css-rule-stream-1.1.0.tgz", - "integrity": "sha1-N4bnGYmD2WWibjGVfgkHjLt3BaI=", - "requires": { - "css-tokenize": "^1.0.1", - "duplexer2": "0.0.2", - "ldjson-stream": "^1.2.1", - "through2": "^0.6.3" - } - }, - "css-tokenize": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/css-tokenize/-/css-tokenize-1.0.1.tgz", - "integrity": "sha1-RiXLHtohwUOFi3+B1oA8HSb8FL4=", - "requires": { - "inherits": "^2.0.1", - "readable-stream": "^1.0.33" - } - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "requires": { - "array-find-index": "^1.0.1" - } + "css-functions-list": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.1.0.tgz", + "integrity": "sha512-/9lCvYZaUbBGvYUgYGFJ4dcYiyqdhSjG7IPVluoV8A1ILjkF7ilmhp1OGUz8n+nmBcu0RNrQAzgD8B6FJbrt2w==" }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" }, "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" }, - "del": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", - "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", - "requires": { - "globby": "^6.1.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "p-map": "^1.1.1", - "pify": "^3.0.0", - "rimraf": "^2.2.8" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - } - } - }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" - }, - "doiuse": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/doiuse/-/doiuse-2.6.0.tgz", - "integrity": "sha1-GJLRC2Gpo1at2/K2FJM+gfi7ODQ=", - "requires": { - "browserslist": "^1.1.1", - "caniuse-db": "^1.0.30000187", - "css-rule-stream": "^1.1.0", - "duplexer2": "0.0.2", - "jsonfilter": "^1.1.2", - "ldjson-stream": "^1.2.1", - "lodash": "^4.0.0", - "multimatch": "^2.0.0", - "postcss": "^5.0.8", - "source-map": "^0.4.2", - "through2": "^0.6.3", - "yargs": "^3.5.4" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "requires": { - "amdefine": ">=0.0.4" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - }, - "yargs": { - "version": "3.32.0", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "requires": { - "camelcase": "^2.0.1", - "cliui": "^3.0.3", - "decamelize": "^1.1.1", - "os-locale": "^1.4.0", - "string-width": "^1.0.1", - "window-size": "^0.1.4", - "y18n": "^3.2.0" - } - } - } - }, - "duplexer": { - "version": "0.1.1", - "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", - "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=" - }, - "duplexer2": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", - "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", - "requires": { - "readable-stream": "~1.1.9" - } - }, - "editorconfig": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.13.3.tgz", - "integrity": "sha512-WkjsUNVCu+ITKDj73QDvi0trvpdDWdkDyHybDGSXPfekLCqwmpD7CP7iPbvBgosNuLcI96XTDwNa75JyFl7tEQ==", - "requires": { - "bluebird": "^3.0.5", - "commander": "^2.9.0", - "lru-cache": "^3.2.0", - "semver": "^5.1.0", - "sigmund": "^1.0.1" - } - }, - "electron-to-chromium": { - "version": "1.3.84", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.84.tgz", - "integrity": "sha512-IYhbzJYOopiTaNWMBp7RjbecUBsbnbDneOP86f3qvS0G0xfzwNSvMJpTrvi5/Y1gU7tg2NAgeg8a8rCYvW9Whw==" - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - }, - "execall": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", - "integrity": "sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=", - "requires": { - "clone-regexp": "^1.0.0" - } - }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "requires": { - "is-posix-bracket": "^0.1.0" - } - }, - "expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "requires": { - "fill-range": "^2.1.0" - } - }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "requires": { - "is-extglob": "^1.0.0" - } - }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" - }, - "file-entry-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", - "requires": { - "flat-cache": "^1.2.1", - "object-assign": "^4.0.1" - } - }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=" - }, - "fill-range": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", - "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", - "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^3.0.0", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" - } - }, - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "flat-cache": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.2.tgz", - "integrity": "sha512-KByBY8c98sLUAGpnmjEdWTrtrLZRtZdwds+kAL/ciFXTCb7AZgqKsAnVnYFQj1hxepwO8JKN/8AsRWwLq+RK0A==", - "requires": { - "circular-json": "^0.3.1", - "del": "^3.0.0", - "graceful-fs": "^4.1.2", - "write": "^0.2.1" - } - }, - "flatten": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", - "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=" - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" - }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "requires": { - "for-in": "^1.0.1" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "gather-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gather-stream/-/gather-stream-1.0.0.tgz", - "integrity": "sha1-szmUr0V6gRVwDUEPMXczy+egkEs=" - }, - "get-stdin": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=" - }, - "getopts": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/getopts/-/getopts-2.2.3.tgz", - "integrity": "sha512-viEcb8TpgeG05+Nqo5EzZ8QR0hxdyrYDp6ZSTZqe2M/h53Bk036NmqG38Vhf5RGirC/Of9Xql+v66B2gp256SQ==" - }, - "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "requires": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" - } - }, - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "requires": { - "is-glob": "^2.0.0" - } - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "globjoin": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", - "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=" - }, - "graceful-fs": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", - "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==" - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "hosted-git-info": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", - "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==" - }, - "html-tags": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", - "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=" - }, - "ignore": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", - "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==" - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" - }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "requires": { - "repeating": "^2.0.0" - } - }, - "indexes-of": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" - }, - "irregular-plurals": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.4.0.tgz", - "integrity": "sha1-LKmwM2UREYVUEvFr5dd8YqRYp2Y=" - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", - "requires": { - "builtin-modules": "^1.0.0" - } - }, - "is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" - }, - "is-dotfile": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=" - }, - "is-equal-shallow": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "requires": { - "is-primitive": "^2.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "requires": { - "is-extglob": "^1.0.0" - } - }, - "is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=" - }, - "is-path-in-cwd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", - "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", - "requires": { - "is-path-inside": "^1.0.0" - } - }, - "is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==", "requires": { - "path-is-inside": "^1.0.1" + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" } }, - "is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=" - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" - }, - "is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=" - }, - "is-supported-regexp-flag": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", - "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==" - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" - }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "requires": { - "isarray": "1.0.0" + "path-type": "^4.0.0" }, "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } - } - }, - "js-base64": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.9.tgz", - "integrity": "sha512-xcinL3AuDJk7VSzsHgb9DvvIXayBbadtMZ4HFPx8rUszbW1MuNMlwYVC4zzCZ6e1sqZpnNS5ZFYOhXqA39T7LQ==" - }, - "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "jsonfilter": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/jsonfilter/-/jsonfilter-1.1.2.tgz", - "integrity": "sha1-Ie987cdRk4E8dZMulqmL4gW6WhE=", - "requires": { - "JSONStream": "^0.8.4", - "minimist": "^1.1.0", - "stream-combiner": "^0.2.1", - "through2": "^0.6.3" - } - }, - "jsonparse": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-0.0.5.tgz", - "integrity": "sha1-MwVCrT8KZUZlt3jz6y2an6UHrGQ=" - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "^1.1.5" - } - }, - "known-css-properties": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.2.0.tgz", - "integrity": "sha512-UTCzU28rRI9wkb8qSGoZa9pgWvxr4LjP2MEhi9XHb/1XMOJy0uTnIxaxzj8My/PORG+kQG6VzAcGvRw66eIOfA==" - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "^1.0.0" + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + } } }, - "ldjson-stream": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ldjson-stream/-/ldjson-stream-1.2.1.tgz", - "integrity": "sha1-kb7O2lrE7SsX5kn7d356v6AYnCs=", - "requires": { - "split2": "^0.2.1", - "through2": "^0.6.1" - } + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, - "load-json-file": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "is-arrayish": "^0.2.1" } }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, - "log-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", - "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", "requires": { - "chalk": "^1.0.0" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "fill-range": "^7.0.1" } }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } } } }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" - } + "fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==" }, - "lru-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-3.2.0.tgz", - "integrity": "sha1-cXibO39Tmb7IVl3aOKow0qCX7+4=", + "fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", "requires": { - "pseudomap": "^1.0.1" + "reusify": "^1.0.4" } }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" + "flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" }, - "math-random": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", - "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=" - }, - "mathml-tag-names": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.0.tgz", - "integrity": "sha512-3Zs9P/0zzwTob2pdgT0CHZuMbnSUSp8MB1bddfm+HDmnFWHGT4jvEZRf+2RuPoa+cjdn/z25SEt5gFTqdhvJAg==" + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, - "meow": { - "version": "3.7.0", - "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" - } + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "global-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", + "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", "requires": { - "brace-expansion": "^1.1.7" + "global-prefix": "^3.0.0" } }, - "minimist": { - "version": "1.2.0", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - }, - "mkdirp": { - "version": "0.5.1", - "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "global-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", + "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", "requires": { - "minimist": "0.0.8" + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" }, "dependencies": { - "minimist": { - "version": "0.0.8", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" } } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "globjoin": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=" }, - "multimatch": { + "hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", - "integrity": "sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis=", - "requires": { - "array-differ": "^1.0.0", - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "minimatch": "^3.0.0" - } + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" }, - "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", - "requires": { - "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "requires": { - "remove-trailing-separator": "^1.0.1" + "function-bind": "^1.1.1" } }, - "normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=" - }, - "normalize-selector": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", - "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=" - }, - "num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=" - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" - } + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "requires": { - "wrappy": "1" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + } } }, - "onecolor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/onecolor/-/onecolor-3.1.0.tgz", - "integrity": "sha512-YZSypViXzu3ul5LMu/m6XjJ9ol8qAy9S2VjHl5E6UlhUH1KGKWabyEJifn0Jjpw23bYDzC2ucKMPGiH5kfwSGQ==" + "import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==" }, - "os-homedir": { - "version": "1.0.2", - "resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" }, - "os-locale": { - "version": "1.4.0", - "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "requires": { - "lcid": "^1.0.0" + "once": "^1.3.0", + "wrappy": "1" } }, - "p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==" + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "requires": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" - } + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "requires": { - "error-ex": "^1.2.0" - } + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "is-core-module": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz", + "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==", "requires": { - "pinkie-promise": "^2.0.0" + "has": "^1.0.3" } }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" - }, - "path-type": { + "is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - } + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "^2.0.0" - } + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" }, - "pipetteur": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pipetteur/-/pipetteur-2.0.3.tgz", - "integrity": "sha1-GVV2CVno0aEcsqUOyD7sRwYz5J8=", - "requires": { - "onecolor": "^3.0.4", - "synesthesia": "^1.0.1" - } + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, - "plur": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/plur/-/plur-2.1.2.tgz", - "integrity": "sha1-dIJFLBoPUI4+NE6uwxLJHCncZVo=", - "requires": { - "irregular-plurals": "^1.0.0" - } + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, - "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "requires": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - } + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" }, - "postcss-less": { - "version": "0.14.0", - "resolved": "http://registry.npmjs.org/postcss-less/-/postcss-less-0.14.0.tgz", - "integrity": "sha1-xjGwicbM5CK5oQ86lY0r7dOBkyQ=", + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "requires": { - "postcss": "^5.0.21" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } + "p-locate": "^4.1.0" } }, - "postcss-media-query-parser": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", - "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=" + "lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==" }, - "postcss-reporter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-3.0.0.tgz", - "integrity": "sha1-CeoPN6RExWk4eGBuCbAY6+/3z48=", - "requires": { - "chalk": "^1.0.0", - "lodash": "^4.1.0", - "log-symbols": "^1.0.2", - "postcss": "^5.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "dependencies": { - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" }, - "postcss-resolve-nested-selector": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", - "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, - "postcss-scss": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-1.0.6.tgz", - "integrity": "sha512-4EFYGHcEw+H3E06PT/pQQri06u/1VIIPjeJQaM8skB80vZuXMhp4cSNV5azmdNkontnOID/XYWEvEEELLFB1ww==", - "requires": { - "postcss": "^6.0.23" - } + "min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, - "postcss-selector-parser": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", - "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", "requires": { - "flatten": "^1.0.2", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "brace-expansion": "^1.1.7" } }, - "postcss-sorting": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-2.1.0.tgz", - "integrity": "sha1-MrHpr6kTuyJaatB21QPY+YO7SoI=", + "minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "requires": { - "lodash": "^4.17.4", - "postcss": "^5.2.17" + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" } } }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=" - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "nanoid": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" }, - "randomatic": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", - "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "requires": { - "is-number": "^4.0.0", - "kind-of": "^6.0.0", - "math-random": "^1.0.1" - }, - "dependencies": { - "is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - } + "wrappy": "1" } }, - "read-file-stdin": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz", - "integrity": "sha1-JezP86FTtoCa+ssj7hU4fbng7mE=", + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "requires": { - "gather-stream": "^1.0.0" + "p-try": "^2.0.0" } }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "p-limit": "^2.2.0" } }, - "read-pkg-up": { + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + }, + "parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" + "callsites": "^3.0.0" } }, - "readable-stream": { - "version": "1.1.14", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } + "path-is-absolute": { + "version": "1.0.1", + "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, - "redent": { + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "picocolors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" - } + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" }, - "regex-cache": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "requires": { - "is-equal-shallow": "^0.1.3" - } + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, - "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" + "postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=" }, - "repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==" - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" + }, + "postcss-safe-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", + "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==" + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" + }, + "resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", "requires": { - "is-finite": "^1.0.0" + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" } }, - "require-from-string": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", - "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=" - }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" }, - "rimraf": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "requires": { - "glob": "^7.0.5" + "queue-microtask": "^1.2.2" } }, "semver": { @@ -1816,30 +1228,15 @@ "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=" }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" - }, - "slice-ansi": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", - "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", - "requires": { - "is-fullwidth-code-point": "^2.0.0" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - } - } + "slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==" }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" }, "spdx-correct": { "version": "3.0.2", @@ -1869,538 +1266,77 @@ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.2.tgz", "integrity": "sha512-qky9CVt0lVIECkEsYbNILVnPvycuEBkXoMFLRWsREkomQLevYhtRKC+R91a5TOAQ3bCMjikRwhyaRqj1VYatYg==" }, - "specificity": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.3.2.tgz", - "integrity": "sha512-Nc/QN/A425Qog7j9aHmwOrlwX2e7pNI47ciwxwy4jOlvbbMHkNNJchit+FX+UjF3IAdiaaV5BKeWuDUnws6G1A==" - }, - "split2": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/split2/-/split2-0.2.1.tgz", - "integrity": "sha1-At2smtwD7Au3jBKC7Aecpuha6QA=", - "requires": { - "through2": "~0.6.1" - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, "stdin": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/stdin/-/stdin-0.0.1.tgz", "integrity": "sha1-0wQZgarsPf28d6GzjWNy449ftx4=" }, - "stream-combiner": { - "version": "0.2.2", - "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", - "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", - "requires": { - "duplexer": "~0.1.1", - "through": "~2.3.4" - } - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "requires": { - "is-utf8": "^0.2.0" - } - }, - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "requires": { - "get-stdin": "^4.0.1" - }, - "dependencies": { - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" - } - } - }, "style-search": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, - "stylefmt": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/stylefmt/-/stylefmt-6.0.3.tgz", - "integrity": "sha512-Bs7/Tf9QoPEtT8QuCFjUfMfjwy6gX1IYZ4zW4se4I6D/kpDqsAOToKTcX0TYoxrP9X0T0xGnHXRRqTmNoesAeA==", - "requires": { - "colorette": "^1.0.5", - "css-color-list": "^0.0.1", - "diff": "^3.2.0", - "editorconfig": "^0.13.2", - "getopts": "^2.1.1", - "globby": "^6.1.0", - "postcss": "^6.0.1", - "postcss-scss": "^1.0.0", - "postcss-sorting": "^2.1.0", - "postcss-value-parser": "^3.3.0", - "stdin": "^0.0.1", - "stylelint": "^7.10.1", - "stylelint-order": "^0.4.4" - } - }, - "stylehacks": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-2.3.2.tgz", - "integrity": "sha1-ZMg+BDimjJ7fRJ6MVSp9mrYAmws=", - "requires": { - "browserslist": "^1.1.3", - "chalk": "^1.1.1", - "log-symbols": "^1.0.2", - "minimist": "^1.2.0", - "plur": "^2.1.2", - "postcss": "^5.0.18", - "postcss-reporter": "^1.3.3", - "postcss-selector-parser": "^2.0.0", - "read-file-stdin": "^0.2.1", - "text-table": "^0.2.0", - "write-file-stdout": "0.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "dependencies": { - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "postcss-reporter": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", - "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", - "requires": { - "chalk": "^1.0.0", - "lodash": "^4.1.0", - "log-symbols": "^1.0.2", - "postcss": "^5.0.0" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "stylelint": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-7.13.0.tgz", - "integrity": "sha1-ER+Xttpy53XICADWu29fhpmXeF0=", - "requires": { - "autoprefixer": "^6.0.0", - "balanced-match": "^0.4.0", - "chalk": "^2.0.1", - "colorguard": "^1.2.0", - "cosmiconfig": "^2.1.1", - "debug": "^2.6.0", - "doiuse": "^2.4.1", - "execall": "^1.0.0", - "file-entry-cache": "^2.0.0", - "get-stdin": "^5.0.0", - "globby": "^6.0.0", - "globjoin": "^0.1.4", - "html-tags": "^2.0.0", - "ignore": "^3.2.0", - "imurmurhash": "^0.1.4", - "known-css-properties": "^0.2.0", - "lodash": "^4.17.4", - "log-symbols": "^1.0.2", - "mathml-tag-names": "^2.0.0", - "meow": "^3.3.0", - "micromatch": "^2.3.11", - "normalize-selector": "^0.2.0", - "pify": "^2.3.0", - "postcss": "^5.0.20", - "postcss-less": "^0.14.0", - "postcss-media-query-parser": "^0.2.0", - "postcss-reporter": "^3.0.0", - "postcss-resolve-nested-selector": "^0.1.1", - "postcss-scss": "^0.4.0", - "postcss-selector-parser": "^2.1.1", - "postcss-value-parser": "^3.1.1", - "resolve-from": "^3.0.0", - "specificity": "^0.3.0", - "string-width": "^2.0.0", - "style-search": "^0.1.0", - "stylehacks": "^2.3.2", - "sugarss": "^0.2.0", - "svg-tags": "^1.0.0", - "table": "^4.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - }, - "dependencies": { - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - } - } - }, - "postcss-scss": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-0.4.1.tgz", - "integrity": "sha1-rXcbgfD3L19IRdCKpg+TVXZT1Uw=", - "requires": { - "postcss": "^5.2.13" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } - } - }, - "stylelint-order": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-0.4.4.tgz", - "integrity": "sha1-2338oFQbUGIBDH4uIedFeR/AiKw=", + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "lodash": "^4.17.4", - "postcss": "^5.2.16", - "stylelint": "^7.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "^1.0.0" - } - } + "has-flag": "^3.0.0" } }, - "sugarss": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-0.2.0.tgz", - "integrity": "sha1-rDQjdWMyfG/4l7ZHQr9q7BkK054=", + "supports-hyperlinks": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", + "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", "requires": { - "postcss": "^5.2.4" + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" }, "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "^1.1.3", - "js-base64": "^2.1.9", - "source-map": "^0.5.6", - "supports-color": "^3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { - "has-flag": "^1.0.0" + "has-flag": "^4.0.0" } } } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" }, "svg-tags": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, - "synesthesia": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/synesthesia/-/synesthesia-1.0.1.tgz", - "integrity": "sha1-XvlepUjA1cbm+btLDQcx3/hkp3c=", - "requires": { - "css-color-names": "0.0.3" - }, - "dependencies": { - "css-color-names": { - "version": "0.0.3", - "resolved": "http://registry.npmjs.org/css-color-names/-/css-color-names-0.0.3.tgz", - "integrity": "sha1-3gzvFvTYqoIioyDVttfpu62nufY=" - } - } - }, - "table": { - "version": "4.0.3", - "resolved": "http://registry.npmjs.org/table/-/table-4.0.3.tgz", - "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", - "requires": { - "ajv": "^6.0.1", - "ajv-keywords": "^3.0.0", - "chalk": "^2.1.0", - "lodash": "^4.17.4", - "slice-ansi": "1.0.0", - "string-width": "^2.1.1" - } - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" - }, - "through": { - "version": "2.3.8", - "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "through2": { - "version": "0.6.5", - "resolved": "http://registry.npmjs.org/through2/-/through2-0.6.5.tgz", - "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "requires": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" + "is-number": "^7.0.0" }, "dependencies": { - "readable-stream": { - "version": "1.0.34", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" } } }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" - }, - "uniq": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=" + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" }, "uri-js": { "version": "4.2.2", @@ -2410,6 +1346,16 @@ "punycode": "^2.1.0" } }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -2419,30 +1365,12 @@ "spdx-expression-parse": "^3.0.0" } }, - "window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=" - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } + "isexe": "^2.0.0" } }, "wrappy": { @@ -2450,33 +1378,36 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "write": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", - "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "write-file-atomic": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "requires": { - "mkdirp": "^0.5.1" + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "dependencies": { + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + } } }, - "write-file-stdout": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/write-file-stdout/-/write-file-stdout-0.0.2.tgz", - "integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=" - }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" - }, - "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" - }, - "yargs": { - "version": "1.3.3", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-1.3.3.tgz", - "integrity": "sha1-BU3oth8i7v23IHBZ6u+da4P7kxo=" + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" + }, + "yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" } } } diff --git a/package.json b/package.json index c12f456..deaf6a6 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "license": "ISC", "dependencies": { - "@ronilaukkarinen/stylefmt": "6.1.9" + "@ronilaukkarinen/stylefmt": "6.2.4" }, "engines": { "node": ">=4.2.0" From 600262e5efcd8b56246f06fb3022a463b883378d Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sat, 10 Sep 2022 16:17:32 +0800 Subject: [PATCH 3/3] removing node_modules --- .gitignore | 1 + node_modules/.bin/JSONStream | 1 - node_modules/.bin/browserslist | 1 - node_modules/.bin/colorguard | 1 - node_modules/.bin/css-rule-stream | 1 - node_modules/.bin/doiuse | 1 - node_modules/.bin/editorconfig | 1 - node_modules/.bin/esparse | 1 - node_modules/.bin/esvalidate | 1 - node_modules/.bin/js-yaml | 1 - node_modules/.bin/jsonfilter | 1 - node_modules/.bin/mkdirp | 1 - node_modules/.bin/rimraf | 1 - node_modules/.bin/semver | 1 - node_modules/.bin/specificity | 1 - node_modules/.bin/strip-indent | 1 - node_modules/.bin/stylefmt | 1 - node_modules/.bin/stylehacks | 1 - node_modules/.bin/stylelint | 1 - node_modules/.bin/window-size | 1 - node_modules/JSONStream/.npmignore | 2 - node_modules/JSONStream/.travis.yml | 4 - node_modules/JSONStream/LICENSE.APACHE2 | 15 - node_modules/JSONStream/LICENSE.MIT | 24 - node_modules/JSONStream/examples/all_docs.js | 13 - node_modules/JSONStream/index.js | 192 - node_modules/JSONStream/package.json | 101 - node_modules/JSONStream/readme.markdown | 178 - node_modules/ajv-keywords/LICENSE | 21 - node_modules/ajv-keywords/README.md | 683 - node_modules/ajv-keywords/index.js | 35 - .../ajv-keywords/keywords/_formatLimit.js | 90 - node_modules/ajv-keywords/keywords/_util.js | 15 - .../ajv-keywords/keywords/deepProperties.js | 54 - .../ajv-keywords/keywords/deepRequired.js | 57 - .../keywords/dot/_formatLimit.jst | 116 - .../keywords/dot/patternRequired.jst | 33 - .../ajv-keywords/keywords/dot/switch.jst | 73 - .../ajv-keywords/keywords/dotjs/README.md | 3 - .../keywords/dotjs/_formatLimit.js | 176 - .../keywords/dotjs/patternRequired.js | 58 - .../ajv-keywords/keywords/dotjs/switch.js | 128 - .../ajv-keywords/keywords/dynamicDefaults.js | 68 - .../ajv-keywords/keywords/formatMaximum.js | 3 - .../ajv-keywords/keywords/formatMinimum.js | 3 - node_modules/ajv-keywords/keywords/index.js | 19 - .../ajv-keywords/keywords/instanceof.js | 58 - .../ajv-keywords/keywords/patternRequired.js | 21 - .../ajv-keywords/keywords/prohibited.js | 25 - node_modules/ajv-keywords/keywords/range.js | 36 - node_modules/ajv-keywords/keywords/regexp.js | 36 - node_modules/ajv-keywords/keywords/select.js | 79 - node_modules/ajv-keywords/keywords/switch.js | 38 - .../ajv-keywords/keywords/transform.js | 79 - node_modules/ajv-keywords/keywords/typeof.js | 32 - .../keywords/uniqueItemProperties.js | 32 - node_modules/ajv-keywords/package.json | 78 - node_modules/ajv/.tonic_example.js | 20 - node_modules/ajv/LICENSE | 22 - node_modules/ajv/README.md | 1295 -- node_modules/ajv/dist/ajv.bundle.js | 7030 ------- node_modules/ajv/dist/ajv.min.js | 3 - node_modules/ajv/dist/ajv.min.js.map | 1 - node_modules/ajv/lib/ajv.d.ts | 370 - node_modules/ajv/lib/ajv.js | 503 - node_modules/ajv/lib/cache.js | 26 - node_modules/ajv/lib/compile/async.js | 90 - node_modules/ajv/lib/compile/equal.js | 3 - node_modules/ajv/lib/compile/error_classes.js | 34 - node_modules/ajv/lib/compile/formats.js | 149 - node_modules/ajv/lib/compile/index.js | 379 - node_modules/ajv/lib/compile/resolve.js | 270 - node_modules/ajv/lib/compile/rules.js | 66 - node_modules/ajv/lib/compile/schema_obj.js | 9 - node_modules/ajv/lib/compile/ucs2length.js | 20 - node_modules/ajv/lib/compile/util.js | 267 - node_modules/ajv/lib/data.js | 49 - node_modules/ajv/lib/dot/_limit.jst | 104 - node_modules/ajv/lib/dot/_limitItems.jst | 10 - node_modules/ajv/lib/dot/_limitLength.jst | 10 - node_modules/ajv/lib/dot/_limitProperties.jst | 10 - node_modules/ajv/lib/dot/allOf.jst | 34 - node_modules/ajv/lib/dot/anyOf.jst | 48 - node_modules/ajv/lib/dot/coerce.def | 61 - node_modules/ajv/lib/dot/comment.jst | 9 - node_modules/ajv/lib/dot/const.jst | 11 - node_modules/ajv/lib/dot/contains.jst | 57 - node_modules/ajv/lib/dot/custom.jst | 191 - node_modules/ajv/lib/dot/defaults.def | 32 - node_modules/ajv/lib/dot/definitions.def | 199 - node_modules/ajv/lib/dot/dependencies.jst | 80 - node_modules/ajv/lib/dot/enum.jst | 30 - node_modules/ajv/lib/dot/errors.def | 194 - node_modules/ajv/lib/dot/format.jst | 106 - node_modules/ajv/lib/dot/if.jst | 75 - node_modules/ajv/lib/dot/items.jst | 100 - node_modules/ajv/lib/dot/missing.def | 39 - node_modules/ajv/lib/dot/multipleOf.jst | 20 - node_modules/ajv/lib/dot/not.jst | 43 - node_modules/ajv/lib/dot/oneOf.jst | 54 - node_modules/ajv/lib/dot/pattern.jst | 14 - node_modules/ajv/lib/dot/properties.jst | 244 - node_modules/ajv/lib/dot/propertyNames.jst | 54 - node_modules/ajv/lib/dot/ref.jst | 85 - node_modules/ajv/lib/dot/required.jst | 108 - node_modules/ajv/lib/dot/uniqueItems.jst | 62 - node_modules/ajv/lib/dot/validate.jst | 255 - node_modules/ajv/lib/dotjs/README.md | 3 - node_modules/ajv/lib/dotjs/_limit.js | 155 - node_modules/ajv/lib/dotjs/_limitItems.js | 76 - node_modules/ajv/lib/dotjs/_limitLength.js | 81 - .../ajv/lib/dotjs/_limitProperties.js | 76 - node_modules/ajv/lib/dotjs/allOf.js | 43 - node_modules/ajv/lib/dotjs/anyOf.js | 73 - node_modules/ajv/lib/dotjs/comment.js | 14 - node_modules/ajv/lib/dotjs/const.js | 55 - node_modules/ajv/lib/dotjs/contains.js | 81 - node_modules/ajv/lib/dotjs/custom.js | 226 - node_modules/ajv/lib/dotjs/dependencies.js | 167 - node_modules/ajv/lib/dotjs/enum.js | 65 - node_modules/ajv/lib/dotjs/format.js | 149 - node_modules/ajv/lib/dotjs/if.js | 103 - node_modules/ajv/lib/dotjs/index.js | 33 - node_modules/ajv/lib/dotjs/items.js | 140 - node_modules/ajv/lib/dotjs/multipleOf.js | 76 - node_modules/ajv/lib/dotjs/not.js | 83 - node_modules/ajv/lib/dotjs/oneOf.js | 72 - node_modules/ajv/lib/dotjs/pattern.js | 74 - node_modules/ajv/lib/dotjs/properties.js | 328 - node_modules/ajv/lib/dotjs/propertyNames.js | 81 - node_modules/ajv/lib/dotjs/ref.js | 123 - node_modules/ajv/lib/dotjs/required.js | 268 - node_modules/ajv/lib/dotjs/uniqueItems.js | 85 - node_modules/ajv/lib/dotjs/validate.js | 445 - node_modules/ajv/lib/keyword.js | 135 - node_modules/ajv/lib/refs/data.json | 17 - .../ajv/lib/refs/json-schema-draft-04.json | 150 - .../ajv/lib/refs/json-schema-draft-06.json | 154 - .../ajv/lib/refs/json-schema-draft-07.json | 168 - node_modules/ajv/package.json | 123 - node_modules/ajv/scripts/.eslintrc.yml | 3 - node_modules/ajv/scripts/bundle.js | 61 - node_modules/ajv/scripts/compile-dots.js | 73 - node_modules/ajv/scripts/info | 10 - node_modules/ajv/scripts/prepare-tests | 9 - .../ajv/scripts/publish-built-version | 32 - node_modules/ajv/scripts/travis-gh-pages | 23 - node_modules/amdefine/LICENSE | 58 - node_modules/amdefine/README.md | 171 - node_modules/amdefine/amdefine.js | 301 - node_modules/amdefine/intercept.js | 36 - node_modules/amdefine/package.json | 86 - node_modules/ansi-regex/index.js | 4 - node_modules/ansi-regex/license | 21 - node_modules/ansi-regex/package.json | 132 - node_modules/ansi-regex/readme.md | 39 - node_modules/ansi-styles/index.js | 165 - node_modules/ansi-styles/license | 9 - node_modules/ansi-styles/package.json | 88 - node_modules/ansi-styles/readme.md | 147 - node_modules/argparse/CHANGELOG.md | 185 - node_modules/argparse/LICENSE | 21 - node_modules/argparse/README.md | 257 - node_modules/argparse/index.js | 3 - node_modules/argparse/lib/action.js | 146 - node_modules/argparse/lib/action/append.js | 53 - .../argparse/lib/action/append/constant.js | 47 - node_modules/argparse/lib/action/count.js | 40 - node_modules/argparse/lib/action/help.js | 47 - node_modules/argparse/lib/action/store.js | 50 - .../argparse/lib/action/store/constant.js | 43 - .../argparse/lib/action/store/false.js | 27 - .../argparse/lib/action/store/true.js | 26 - .../argparse/lib/action/subparsers.js | 149 - node_modules/argparse/lib/action/version.js | 47 - node_modules/argparse/lib/action_container.js | 482 - node_modules/argparse/lib/argparse.js | 14 - node_modules/argparse/lib/argument/error.js | 50 - .../argparse/lib/argument/exclusive.js | 54 - node_modules/argparse/lib/argument/group.js | 75 - node_modules/argparse/lib/argument_parser.js | 1161 -- node_modules/argparse/lib/const.js | 21 - .../argparse/lib/help/added_formatters.js | 87 - node_modules/argparse/lib/help/formatter.js | 795 - node_modules/argparse/lib/namespace.js | 76 - node_modules/argparse/lib/utils.js | 57 - node_modules/argparse/package.json | 70 - node_modules/arr-diff/LICENSE | 21 - node_modules/arr-diff/README.md | 74 - node_modules/arr-diff/index.js | 58 - node_modules/arr-diff/package.json | 119 - node_modules/arr-flatten/LICENSE | 21 - node_modules/arr-flatten/README.md | 86 - node_modules/arr-flatten/index.js | 22 - node_modules/arr-flatten/package.json | 113 - node_modules/array-differ/index.js | 7 - node_modules/array-differ/package.json | 95 - node_modules/array-differ/readme.md | 41 - node_modules/array-find-index/index.js | 25 - node_modules/array-find-index/license | 21 - node_modules/array-find-index/package.json | 103 - node_modules/array-find-index/readme.md | 30 - node_modules/array-union/index.js | 6 - node_modules/array-union/license | 21 - node_modules/array-union/package.json | 109 - node_modules/array-union/readme.md | 28 - node_modules/array-uniq/index.js | 62 - node_modules/array-uniq/license | 21 - node_modules/array-uniq/package.json | 105 - node_modules/array-uniq/readme.md | 30 - node_modules/array-unique/LICENSE | 21 - node_modules/array-unique/README.md | 51 - node_modules/array-unique/index.js | 28 - node_modules/array-unique/package.json | 94 - node_modules/arrify/index.js | 8 - node_modules/arrify/license | 21 - node_modules/arrify/package.json | 98 - node_modules/arrify/readme.md | 36 - node_modules/autoprefixer/AUTHORS | 123 - node_modules/autoprefixer/CHANGELOG.md | 688 - node_modules/autoprefixer/LICENSE | 20 - node_modules/autoprefixer/README.md | 568 - node_modules/autoprefixer/data/prefixes.js | 669 - node_modules/autoprefixer/lib/at-rule.js | 51 - node_modules/autoprefixer/lib/autoprefixer.js | 92 - node_modules/autoprefixer/lib/brackets.js | 46 - node_modules/autoprefixer/lib/browsers.js | 86 - node_modules/autoprefixer/lib/declaration.js | 162 - .../autoprefixer/lib/hacks/align-content.js | 57 - .../autoprefixer/lib/hacks/align-items.js | 57 - .../autoprefixer/lib/hacks/align-self.js | 55 - .../autoprefixer/lib/hacks/background-size.js | 32 - .../autoprefixer/lib/hacks/block-logical.js | 35 - .../autoprefixer/lib/hacks/border-image.js | 28 - .../autoprefixer/lib/hacks/border-radius.js | 56 - .../autoprefixer/lib/hacks/break-props.js | 64 - .../autoprefixer/lib/hacks/cross-fade.js | 53 - .../autoprefixer/lib/hacks/display-flex.js | 52 - .../autoprefixer/lib/hacks/display-grid.js | 34 - .../autoprefixer/lib/hacks/filter-value.js | 72 - node_modules/autoprefixer/lib/hacks/filter.js | 29 - .../autoprefixer/lib/hacks/flex-basis.js | 47 - .../autoprefixer/lib/hacks/flex-direction.js | 71 - .../autoprefixer/lib/hacks/flex-flow.js | 63 - .../autoprefixer/lib/hacks/flex-grow.js | 41 - .../autoprefixer/lib/hacks/flex-shrink.js | 47 - .../autoprefixer/lib/hacks/flex-spec.js | 11 - .../autoprefixer/lib/hacks/flex-values.js | 37 - .../autoprefixer/lib/hacks/flex-wrap.js | 33 - node_modules/autoprefixer/lib/hacks/flex.js | 64 - .../autoprefixer/lib/hacks/fullscreen.js | 33 - .../autoprefixer/lib/hacks/gradient.js | 368 - .../autoprefixer/lib/hacks/grid-end.js | 46 - .../autoprefixer/lib/hacks/grid-row-align.js | 35 - .../autoprefixer/lib/hacks/grid-start.js | 71 - .../autoprefixer/lib/hacks/grid-template.js | 77 - .../autoprefixer/lib/hacks/image-rendering.js | 53 - .../autoprefixer/lib/hacks/image-set.js | 33 - .../autoprefixer/lib/hacks/inline-logical.js | 31 - .../autoprefixer/lib/hacks/justify-content.js | 62 - .../autoprefixer/lib/hacks/justify-items.js | 31 - .../autoprefixer/lib/hacks/mask-border.js | 35 - node_modules/autoprefixer/lib/hacks/order.js | 52 - .../autoprefixer/lib/hacks/pixelated.js | 45 - .../autoprefixer/lib/hacks/placeholder.js | 39 - .../autoprefixer/lib/hacks/stretch.js | 45 - .../lib/hacks/text-emphasis-position.js | 32 - .../autoprefixer/lib/hacks/transform-decl.js | 74 - .../autoprefixer/lib/hacks/writing-mode.js | 38 - node_modules/autoprefixer/lib/info.js | 113 - node_modules/autoprefixer/lib/old-selector.js | 68 - node_modules/autoprefixer/lib/old-value.js | 30 - node_modules/autoprefixer/lib/prefixer.js | 121 - node_modules/autoprefixer/lib/prefixes.js | 410 - node_modules/autoprefixer/lib/processor.js | 322 - node_modules/autoprefixer/lib/resolution.js | 98 - node_modules/autoprefixer/lib/selector.js | 117 - node_modules/autoprefixer/lib/supports.js | 255 - node_modules/autoprefixer/lib/transition.js | 291 - node_modules/autoprefixer/lib/utils.js | 57 - node_modules/autoprefixer/lib/value.js | 108 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../autoprefixer/node_modules/chalk/index.js | 116 - .../autoprefixer/node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../node_modules/chalk/package.json | 114 - .../autoprefixer/node_modules/chalk/readme.md | 213 - .../node_modules/has-flag/index.js | 10 - .../node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../node_modules/postcss/CHANGELOG.md | 460 - .../autoprefixer/node_modules/postcss/LICENSE | 20 - .../node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/postcss/package.json | 110 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/autoprefixer/package.json | 574 - node_modules/balanced-match/.npmignore | 5 - node_modules/balanced-match/LICENSE.md | 21 - node_modules/balanced-match/README.md | 91 - node_modules/balanced-match/index.js | 59 - node_modules/balanced-match/package.json | 77 - node_modules/bluebird/LICENSE | 21 - node_modules/bluebird/README.md | 57 - node_modules/bluebird/changelog.md | 1 - .../bluebird/js/browser/bluebird.core.js | 3805 ---- .../bluebird/js/browser/bluebird.core.min.js | 31 - node_modules/bluebird/js/browser/bluebird.js | 5647 ----- .../bluebird/js/browser/bluebird.min.js | 31 - node_modules/bluebird/js/release/any.js | 21 - node_modules/bluebird/js/release/assert.js | 55 - node_modules/bluebird/js/release/async.js | 165 - node_modules/bluebird/js/release/bind.js | 67 - node_modules/bluebird/js/release/bluebird.js | 11 - node_modules/bluebird/js/release/call_get.js | 123 - node_modules/bluebird/js/release/cancel.js | 129 - .../bluebird/js/release/catch_filter.js | 42 - node_modules/bluebird/js/release/context.js | 69 - .../bluebird/js/release/debuggability.js | 934 - .../bluebird/js/release/direct_resolve.js | 46 - node_modules/bluebird/js/release/each.js | 30 - node_modules/bluebird/js/release/errors.js | 116 - node_modules/bluebird/js/release/es5.js | 80 - node_modules/bluebird/js/release/filter.js | 12 - node_modules/bluebird/js/release/finally.js | 146 - .../bluebird/js/release/generators.js | 223 - node_modules/bluebird/js/release/join.js | 168 - node_modules/bluebird/js/release/map.js | 168 - node_modules/bluebird/js/release/method.js | 55 - node_modules/bluebird/js/release/nodeback.js | 51 - node_modules/bluebird/js/release/nodeify.js | 58 - node_modules/bluebird/js/release/promise.js | 776 - .../bluebird/js/release/promise_array.js | 185 - node_modules/bluebird/js/release/promisify.js | 314 - node_modules/bluebird/js/release/props.js | 118 - node_modules/bluebird/js/release/queue.js | 73 - node_modules/bluebird/js/release/race.js | 49 - node_modules/bluebird/js/release/reduce.js | 172 - node_modules/bluebird/js/release/schedule.js | 61 - node_modules/bluebird/js/release/settle.js | 43 - node_modules/bluebird/js/release/some.js | 148 - .../js/release/synchronous_inspection.js | 103 - node_modules/bluebird/js/release/thenables.js | 86 - node_modules/bluebird/js/release/timers.js | 93 - node_modules/bluebird/js/release/using.js | 226 - node_modules/bluebird/js/release/util.js | 384 - node_modules/bluebird/package.json | 102 - node_modules/brace-expansion/LICENSE | 21 - node_modules/brace-expansion/README.md | 129 - node_modules/brace-expansion/index.js | 201 - node_modules/brace-expansion/package.json | 75 - node_modules/braces/LICENSE | 21 - node_modules/braces/README.md | 248 - node_modules/braces/index.js | 399 - node_modules/braces/package.json | 157 - node_modules/browserslist/CHANGELOG.md | 135 - node_modules/browserslist/LICENSE | 20 - node_modules/browserslist/README.md | 331 - node_modules/browserslist/cli.js | 95 - node_modules/browserslist/index.js | 648 - node_modules/browserslist/package.json | 128 - .../builtin-modules/builtin-modules.json | 35 - node_modules/builtin-modules/index.js | 10 - node_modules/builtin-modules/license | 21 - node_modules/builtin-modules/package.json | 104 - node_modules/builtin-modules/readme.md | 41 - node_modules/builtin-modules/static.js | 2 - node_modules/camelcase-keys/index.js | 12 - node_modules/camelcase-keys/license | 21 - node_modules/camelcase-keys/package.json | 119 - node_modules/camelcase-keys/readme.md | 54 - node_modules/camelcase/index.js | 56 - node_modules/camelcase/license | 21 - node_modules/camelcase/package.json | 108 - node_modules/camelcase/readme.md | 57 - node_modules/caniuse-db/.editorconfig | 8 - node_modules/caniuse-db/.npmignore | 8 - node_modules/caniuse-db/CONTRIBUTING.md | 103 - node_modules/caniuse-db/LICENSE | 396 - node_modules/caniuse-db/README.md | 16 - node_modules/caniuse-db/data.json | 1 - .../caniuse-db/features-json/aac.json | 337 - .../features-json/abortcontroller.json | 345 - .../caniuse-db/features-json/ac3-ec3.json | 337 - .../features-json/accelerometer.json | 341 - .../features-json/addeventlistener.json | 346 - .../features-json/alternate-stylesheet.json | 350 - .../features-json/ambient-light.json | 350 - .../caniuse-db/features-json/apng.json | 361 - .../features-json/array-find-index.json | 337 - .../caniuse-db/features-json/array-find.json | 337 - .../features-json/array-includes.json | 337 - .../features-json/arrow-functions.json | 341 - .../caniuse-db/features-json/asmjs.json | 352 - .../features-json/async-clipboard.json | 345 - .../features-json/async-functions.json | 342 - .../async-iterations-and-generators.json | 334 - .../caniuse-db/features-json/atob-btoa.json | 347 - .../caniuse-db/features-json/audio-api.json | 353 - .../caniuse-db/features-json/audio.json | 373 - .../caniuse-db/features-json/audiotracks.json | 338 - .../caniuse-db/features-json/autofocus.json | 343 - .../caniuse-db/features-json/auxclick.json | 354 - .../caniuse-db/features-json/av1.json | 350 - .../features-json/background-attachment.json | 348 - .../features-json/background-clip-text.json | 357 - .../features-json/background-img-opts.json | 358 - .../background-position-x-y.json | 353 - .../background-repeat-round-space.json | 341 - .../features-json/background-sync.json | 345 - .../features-json/battery-status.json | 341 - .../caniuse-db/features-json/beacon.json | 339 - .../features-json/beforeafterprint.json | 346 - .../caniuse-db/features-json/bigint.json | 345 - .../caniuse-db/features-json/blobbuilder.json | 341 - .../caniuse-db/features-json/bloburls.json | 342 - .../features-json/border-image.json | 349 - .../features-json/border-radius.json | 365 - .../features-json/broadcastchannel.json | 337 - .../caniuse-db/features-json/brotli.json | 351 - .../caniuse-db/features-json/calc.json | 381 - .../features-json/canvas-blending.json | 337 - .../caniuse-db/features-json/canvas-text.json | 350 - .../caniuse-db/features-json/canvas.json | 380 - .../caniuse-db/features-json/ch-unit.json | 341 - .../features-json/chacha20-poly1305.json | 345 - .../features-json/channel-messaging.json | 341 - .../features-json/childnode-remove.json | 337 - .../caniuse-db/features-json/classlist.json | 363 - .../client-hints-dpr-width-viewport.json | 349 - .../caniuse-db/features-json/clipboard.json | 349 - .../comparedocumentposition.json | 338 - .../features-json/console-basic.json | 350 - .../features-json/console-time.json | 337 - .../caniuse-db/features-json/const.json | 344 - .../features-json/constraint-validation.json | 347 - .../features-json/contenteditable.json | 358 - .../features-json/contentsecuritypolicy.json | 354 - .../features-json/contentsecuritypolicy2.json | 350 - .../caniuse-db/features-json/cors.json | 368 - .../features-json/createimagebitmap.json | 339 - .../features-json/credential-management.json | 358 - .../features-json/cryptography.json | 372 - .../caniuse-db/features-json/css-all.json | 349 - .../features-json/css-animation.json | 362 - .../features-json/css-any-link.json | 337 - .../features-json/css-appearance.json | 339 - .../features-json/css-apply-rule.json | 337 - .../features-json/css-at-counter-style.json | 337 - .../features-json/css-backdrop-filter.json | 352 - .../features-json/css-background-offsets.json | 346 - .../css-backgroundblendmode.json | 348 - .../features-json/css-boxdecorationbreak.json | 345 - .../features-json/css-boxshadow.json | 357 - .../caniuse-db/features-json/css-canvas.json | 337 - .../features-json/css-caret-color.json | 345 - .../features-json/css-case-insensitive.json | 345 - .../features-json/css-clip-path.json | 347 - .../features-json/css-color-adjust.json | 351 - .../features-json/css-conic-gradients.json | 349 - .../features-json/css-containment.json | 342 - .../features-json/css-counters.json | 345 - .../features-json/css-crisp-edges.json | 357 - .../features-json/css-cross-fade.json | 337 - .../features-json/css-default-pseudo.json | 354 - .../features-json/css-descendant-gtgt.json | 349 - .../features-json/css-deviceadaptation.json | 358 - .../features-json/css-dir-pseudo.json | 357 - .../features-json/css-display-contents.json | 352 - .../features-json/css-element-function.json | 342 - .../features-json/css-env-function.json | 349 - .../features-json/css-exclusions.json | 345 - .../features-json/css-featurequeries.json | 354 - .../features-json/css-filter-function.json | 340 - .../caniuse-db/features-json/css-filters.json | 355 - .../features-json/css-first-letter.json | 345 - .../features-json/css-first-line.json | 341 - .../caniuse-db/features-json/css-fixed.json | 353 - .../features-json/css-focus-visible.json | 362 - .../features-json/css-focus-within.json | 365 - .../css-font-rendering-controls.json | 350 - .../features-json/css-font-stretch.json | 341 - .../features-json/css-gencontent.json | 354 - .../features-json/css-gradients.json | 347 - .../caniuse-db/features-json/css-grid.json | 374 - .../css-hanging-punctuation.json | 341 - .../caniuse-db/features-json/css-has.json | 341 - .../features-json/css-hyphenate.json | 337 - .../caniuse-db/features-json/css-hyphens.json | 349 - .../features-json/css-image-orientation.json | 351 - .../features-json/css-image-set.json | 345 - .../features-json/css-in-out-of-range.json | 343 - .../css-indeterminate-pseudo.json | 359 - .../features-json/css-initial-letter.json | 351 - .../features-json/css-initial-value.json | 341 - .../features-json/css-letter-spacing.json | 337 - .../features-json/css-line-clamp.json | 341 - .../features-json/css-logical-props.json | 347 - .../features-json/css-marker-pseudo.json | 357 - .../caniuse-db/features-json/css-masks.json | 362 - .../features-json/css-matches-pseudo.json | 360 - .../features-json/css-math-functions.json | 337 - .../features-json/css-media-interaction.json | 350 - .../features-json/css-media-resolution.json | 350 - .../features-json/css-media-scripting.json | 358 - .../features-json/css-mediaqueries.json | 355 - .../features-json/css-mixblendmode.json | 347 - .../features-json/css-motion-paths.json | 349 - .../features-json/css-namespaces.json | 337 - .../features-json/css-not-sel-list.json | 345 - .../features-json/css-nth-child-of.json | 349 - .../caniuse-db/features-json/css-opacity.json | 337 - .../features-json/css-optional-pseudo.json | 345 - .../features-json/css-overflow-anchor.json | 341 - .../features-json/css-overflow.json | 346 - .../css-overscroll-behavior.json | 354 - .../features-json/css-page-break.json | 343 - .../features-json/css-paged-media.json | 356 - .../features-json/css-paint-api.json | 342 - .../features-json/css-placeholder-shown.json | 346 - .../features-json/css-placeholder.json | 353 - .../features-json/css-read-only-write.json | 353 - .../features-json/css-rebeccapurple.json | 337 - .../features-json/css-reflections.json | 341 - .../caniuse-db/features-json/css-regions.json | 350 - .../css-repeating-gradients.json | 343 - .../caniuse-db/features-json/css-resize.json | 345 - .../features-json/css-revert-value.json | 349 - .../features-json/css-rrggbbaa.json | 341 - .../features-json/css-scroll-behavior.json | 346 - .../features-json/css-scrollbar.json | 355 - .../caniuse-db/features-json/css-sel2.json | 366 - .../caniuse-db/features-json/css-sel3.json | 366 - .../features-json/css-selection.json | 347 - .../caniuse-db/features-json/css-shapes.json | 342 - .../features-json/css-snappoints.json | 354 - .../caniuse-db/features-json/css-sticky.json | 367 - .../features-json/css-supports-api.json | 354 - .../caniuse-db/features-json/css-table.json | 342 - .../features-json/css-text-align-last.json | 343 - .../features-json/css-text-indent.json | 350 - .../features-json/css-text-justify.json | 348 - .../features-json/css-text-orientation.json | 337 - .../features-json/css-text-spacing.json | 337 - .../features-json/css-textshadow.json | 354 - .../features-json/css-touch-action-2.json | 352 - .../features-json/css-touch-action.json | 364 - .../features-json/css-transitions.json | 369 - .../features-json/css-unicode-bidi.json | 339 - .../features-json/css-unset-value.json | 345 - .../features-json/css-variables.json | 354 - .../features-json/css-widows-orphans.json | 349 - .../features-json/css-writing-mode.json | 342 - .../caniuse-db/features-json/css-zoom.json | 359 - .../caniuse-db/features-json/css3-attr.json | 353 - .../features-json/css3-boxsizing.json | 370 - .../caniuse-db/features-json/css3-colors.json | 341 - .../features-json/css3-cursors-grab.json | 337 - .../features-json/css3-cursors-newer.json | 337 - .../features-json/css3-cursors.json | 343 - .../features-json/css3-tabsize.json | 343 - .../features-json/currentcolor.json | 346 - .../features-json/custom-elements.json | 371 - .../features-json/custom-elementsv1.json | 356 - .../caniuse-db/features-json/customevent.json | 347 - .../caniuse-db/features-json/datalist.json | 363 - .../caniuse-db/features-json/dataset.json | 366 - .../caniuse-db/features-json/datauri.json | 353 - .../caniuse-db/features-json/details.json | 368 - .../features-json/deviceorientation.json | 354 - .../features-json/devicepixelratio.json | 338 - .../caniuse-db/features-json/dialog.json | 345 - .../features-json/dispatchevent.json | 345 - .../features-json/do-not-track.json | 342 - .../features-json/document-currentscript.json | 337 - .../document-evaluate-xpath.json | 350 - .../features-json/document-execcommand.json | 341 - .../document-scrollingelement.json | 341 - .../features-json/documenthead.json | 337 - .../features-json/dom-manip-convenience.json | 361 - .../caniuse-db/features-json/dom-range.json | 346 - .../features-json/domcontentloaded.json | 337 - .../domfocusin-domfocusout-events.json | 345 - .../caniuse-db/features-json/dommatrix.json | 353 - .../caniuse-db/features-json/download.json | 353 - .../caniuse-db/features-json/dragndrop.json | 393 - .../features-json/element-closest.json | 345 - .../features-json/element-from-point.json | 339 - .../caniuse-db/features-json/eme.json | 346 - .../caniuse-db/features-json/eot.json | 341 - .../caniuse-db/features-json/es5.json | 348 - .../caniuse-db/features-json/es6-class.json | 345 - .../features-json/es6-generators.json | 341 - .../es6-module-dynamic-import.json | 349 - .../caniuse-db/features-json/es6-module.json | 369 - .../caniuse-db/features-json/es6-number.json | 340 - .../features-json/es6-string-includes.json | 339 - .../caniuse-db/features-json/eventsource.json | 360 - .../features-json/feature-policy.json | 356 - .../caniuse-db/features-json/fetch.json | 346 - .../features-json/fieldset-disabled.json | 339 - .../caniuse-db/features-json/fileapi.json | 346 - .../caniuse-db/features-json/filereader.json | 346 - .../features-json/filereadersync.json | 337 - .../caniuse-db/features-json/filesystem.json | 345 - .../caniuse-db/features-json/flac.json | 347 - .../caniuse-db/features-json/flexbox.json | 402 - .../caniuse-db/features-json/flow-root.json | 354 - .../focusin-focusout-events.json | 345 - .../focusoptions-preventscroll.json | 349 - .../features-json/font-family-system-ui.json | 342 - .../features-json/font-feature.json | 367 - .../features-json/font-kerning.json | 337 - .../features-json/font-loading.json | 342 - .../features-json/font-size-adjust.json | 346 - .../caniuse-db/features-json/font-smooth.json | 345 - .../features-json/font-unicode-range.json | 358 - .../font-variant-alternates.json | 338 - .../font-variant-east-asian.json | 337 - .../caniuse-db/features-json/fontface.json | 351 - .../features-json/form-attribute.json | 345 - .../features-json/form-submit-attributes.json | 337 - .../features-json/form-validation.json | 351 - .../caniuse-db/features-json/forms.json | 346 - .../caniuse-db/features-json/fullscreen.json | 369 - .../caniuse-db/features-json/gamepad.json | 349 - .../caniuse-db/features-json/geolocation.json | 356 - .../features-json/getboundingclientrect.json | 353 - .../features-json/getcomputedstyle.json | 352 - .../features-json/getelementsbyclassname.json | 350 - .../features-json/getrandomvalues.json | 338 - .../caniuse-db/features-json/gyroscope.json | 341 - .../features-json/hardwareconcurrency.json | 345 - .../caniuse-db/features-json/hashchange.json | 356 - .../caniuse-db/features-json/heif.json | 337 - .../caniuse-db/features-json/hevc.json | 351 - .../caniuse-db/features-json/hidden.json | 337 - .../features-json/high-resolution-time.json | 355 - .../caniuse-db/features-json/history.json | 362 - .../features-json/html-media-capture.json | 347 - .../features-json/html5semantic.json | 356 - .../features-json/http-live-streaming.json | 341 - .../caniuse-db/features-json/http2.json | 344 - .../features-json/iframe-sandbox.json | 348 - .../features-json/iframe-seamless.json | 349 - .../features-json/iframe-srcdoc.json | 349 - .../features-json/imagecapture.json | 351 - .../caniuse-db/features-json/ime.json | 337 - .../img-naturalwidth-naturalheight.json | 342 - .../caniuse-db/features-json/imports.json | 358 - .../features-json/indeterminate-checkbox.json | 342 - .../caniuse-db/features-json/indexeddb.json | 361 - .../caniuse-db/features-json/indexeddb2.json | 342 - .../features-json/inline-block.json | 347 - .../caniuse-db/features-json/innertext.json | 355 - .../input-autocomplete-onoff.json | 341 - .../caniuse-db/features-json/input-color.json | 357 - .../features-json/input-datetime.json | 361 - .../features-json/input-email-tel-url.json | 337 - .../caniuse-db/features-json/input-event.json | 352 - .../features-json/input-file-accept.json | 344 - .../features-json/input-file-directory.json | 338 - .../features-json/input-file-multiple.json | 341 - .../features-json/input-inputmode.json | 338 - .../features-json/input-minlength.json | 349 - .../features-json/input-number.json | 373 - .../features-json/input-pattern.json | 342 - .../features-json/input-placeholder.json | 361 - .../caniuse-db/features-json/input-range.json | 370 - .../features-json/input-search.json | 341 - .../features-json/input-selection.json | 338 - .../features-json/insert-adjacent.json | 349 - .../features-json/insertadjacenthtml.json | 343 - .../internationalization-plural-rul.json | 341 - .../features-json/internationalization.json | 353 - .../features-json/intersectionobserver.json | 351 - .../features-json/intrinsic-width.json | 342 - .../caniuse-db/features-json/jpeg2000.json | 337 - .../caniuse-db/features-json/jpegxr.json | 345 - .../caniuse-db/features-json/json.json | 351 - .../justify-content-space-evenly.json | 341 - .../kerning-pairs-ligatures.json | 341 - .../features-json/keyboardevent-charcode.json | 337 - .../features-json/keyboardevent-code.json | 345 - .../keyboardevent-getmodifierstate.json | 341 - .../features-json/keyboardevent-key.json | 358 - .../features-json/keyboardevent-location.json | 337 - .../features-json/keyboardevent-which.json | 337 - .../caniuse-db/features-json/lazyload.json | 341 - .../caniuse-db/features-json/let.json | 345 - .../features-json/link-icon-png.json | 342 - .../features-json/link-icon-svg.json | 349 - .../features-json/link-rel-dns-prefetch.json | 341 - .../features-json/link-rel-preconnect.json | 338 - .../features-json/link-rel-prefetch.json | 341 - .../features-json/link-rel-preload.json | 348 - .../features-json/link-rel-prerender.json | 341 - .../features-json/localecompare.json | 337 - .../features-json/magnetometer.json | 341 - .../features-json/matchesselector.json | 346 - .../caniuse-db/features-json/matchmedia.json | 350 - .../caniuse-db/features-json/mathml.json | 354 - .../caniuse-db/features-json/maxlength.json | 346 - .../features-json/media-attribute.json | 341 - .../features-json/media-fragments.json | 337 - .../features-json/media-session-api.json | 349 - .../mediacapture-fromelement.json | 347 - .../features-json/mediarecorder.json | 338 - .../caniuse-db/features-json/mediasource.json | 348 - .../caniuse-db/features-json/menu.json | 357 - .../features-json/meta-theme-color.json | 342 - .../caniuse-db/features-json/meter.json | 353 - .../caniuse-db/features-json/midi.json | 341 - .../caniuse-db/features-json/minmaxwh.json | 360 - .../caniuse-db/features-json/mp3.json | 337 - .../caniuse-db/features-json/mpeg-dash.json | 342 - .../caniuse-db/features-json/mpeg4.json | 350 - .../features-json/multibackgrounds.json | 346 - .../caniuse-db/features-json/multicolumn.json | 383 - .../features-json/mutation-events.json | 338 - .../features-json/mutationobserver.json | 347 - .../features-json/namevalue-storage.json | 379 - .../caniuse-db/features-json/nav-timing.json | 346 - .../features-json/navigator-language.json | 337 - .../caniuse-db/features-json/netinfo.json | 341 - .../features-json/node-contains.json | 341 - .../features-json/node-parentelement.json | 338 - .../features-json/notifications.json | 371 - .../caniuse-db/features-json/object-fit.json | 350 - .../features-json/object-observe.json | 349 - .../features-json/object-values.json | 341 - .../caniuse-db/features-json/objectrtc.json | 337 - .../features-json/offline-apps.json | 360 - .../features-json/offscreencanvas.json | 342 - .../caniuse-db/features-json/ogg-vorbis.json | 337 - .../caniuse-db/features-json/ogv.json | 337 - .../caniuse-db/features-json/ol-reversed.json | 341 - .../features-json/once-event-listener.json | 345 - .../features-json/online-status.json | 340 - .../caniuse-db/features-json/opus.json | 345 - .../features-json/orientation-sensor.json | 341 - .../caniuse-db/features-json/outline.json | 342 - .../features-json/pad-start-end.json | 341 - .../features-json/page-transition-events.json | 342 - .../features-json/pagevisibility.json | 351 - .../features-json/passive-event-listener.json | 349 - .../features-json/passwordrules.json | 347 - .../caniuse-db/features-json/path2d.json | 338 - .../features-json/payment-request.json | 364 - .../features-json/permissions-api.json | 342 - .../features-json/picture-in-picture.json | 345 - .../caniuse-db/features-json/picture.json | 366 - .../caniuse-db/features-json/ping.json | 341 - .../caniuse-db/features-json/png-alpha.json | 343 - .../features-json/pointer-events.json | 359 - .../caniuse-db/features-json/pointer.json | 365 - .../caniuse-db/features-json/pointerlock.json | 341 - .../features-json/prefers-reduced-motion.json | 341 - .../caniuse-db/features-json/progress.json | 349 - .../features-json/promise-finally.json | 337 - .../caniuse-db/features-json/promises.json | 349 - .../caniuse-db/features-json/proximity.json | 341 - .../caniuse-db/features-json/proxy.json | 353 - .../features-json/publickeypinning.json | 337 - .../caniuse-db/features-json/push-api.json | 344 - .../features-json/queryselector.json | 351 - .../features-json/readonly-attr.json | 343 - .../features-json/referrer-policy.json | 342 - .../registerprotocolhandler.json | 337 - .../features-json/rel-noopener.json | 351 - .../features-json/rel-noreferrer.json | 339 - .../caniuse-db/features-json/rellist.json | 342 - .../caniuse-db/features-json/rem.json | 356 - .../features-json/requestanimationframe.json | 352 - .../features-json/requestidlecallback.json | 345 - .../features-json/resizeobserver.json | 354 - .../features-json/resource-timing.json | 346 - .../features-json/rest-parameters.json | 337 - .../features-json/rtcpeerconnection.json | 351 - .../caniuse-db/features-json/ruby.json | 355 - .../caniuse-db/features-json/run-in.json | 342 - .../same-site-cookie-attribute.json | 358 - .../features-json/screen-orientation.json | 345 - .../features-json/script-async.json | 350 - .../features-json/script-defer.json | 356 - .../features-json/scrollintoview.json | 342 - .../features-json/scrollintoviewifneeded.json | 342 - .../caniuse-db/features-json/sdch.json | 349 - .../features-json/selection-api.json | 341 - .../features-json/server-timing.json | 342 - .../features-json/serviceworkers.json | 348 - .../features-json/setimmediate.json | 353 - .../caniuse-db/features-json/sha-2.json | 342 - .../caniuse-db/features-json/shadowdom.json | 354 - .../caniuse-db/features-json/shadowdomv1.json | 347 - .../features-json/sharedarraybuffer.json | 337 - .../features-json/sharedworkers.json | 341 - .../caniuse-db/features-json/sni.json | 337 - .../caniuse-db/features-json/spdy.json | 341 - .../features-json/speech-recognition.json | 351 - .../features-json/speech-synthesis.json | 356 - .../features-json/spellcheck-attribute.json | 339 - .../caniuse-db/features-json/sql-storage.json | 346 - .../caniuse-db/features-json/srcset.json | 353 - .../stopimmediatepropagation.json | 337 - .../caniuse-db/features-json/stream.json | 359 - .../caniuse-db/features-json/streams.json | 350 - .../stricttransportsecurity.json | 345 - .../features-json/style-scoped.json | 351 - .../features-json/subresource-integrity.json | 350 - .../caniuse-db/features-json/svg-css.json | 348 - .../caniuse-db/features-json/svg-filters.json | 354 - .../caniuse-db/features-json/svg-fonts.json | 342 - .../features-json/svg-fragment.json | 349 - .../caniuse-db/features-json/svg-html.json | 348 - .../caniuse-db/features-json/svg-html5.json | 344 - .../caniuse-db/features-json/svg-img.json | 343 - .../caniuse-db/features-json/svg-smil.json | 358 - .../caniuse-db/features-json/svg.json | 369 - .../caniuse-db/features-json/symbols.json | 337 - .../features-json/tabindex-attr.json | 341 - .../features-json/template-literals.json | 342 - .../caniuse-db/features-json/template.json | 348 - .../caniuse-db/features-json/testfeat.json | 337 - .../features-json/text-decoration.json | 361 - .../features-json/text-emphasis.json | 348 - .../features-json/text-overflow.json | 357 - .../features-json/text-size-adjust.json | 342 - .../caniuse-db/features-json/text-stroke.json | 348 - .../caniuse-db/features-json/textcontent.json | 337 - .../caniuse-db/features-json/textencoder.json | 345 - .../caniuse-db/features-json/tls1-1.json | 353 - .../caniuse-db/features-json/tls1-2.json | 337 - .../caniuse-db/features-json/tls1-3.json | 348 - .../features-json/token-binding.json | 338 - .../caniuse-db/features-json/touch.json | 365 - .../features-json/transforms2d.json | 369 - .../features-json/transforms3d.json | 372 - .../caniuse-db/features-json/ttf.json | 339 - .../caniuse-db/features-json/typedarrays.json | 348 - .../caniuse-db/features-json/u2f.json | 343 - .../features-json/unhandledrejection.json | 346 - .../upgradeinsecurerequests.json | 345 - .../caniuse-db/features-json/url.json | 341 - .../features-json/urlsearchparams.json | 345 - .../caniuse-db/features-json/use-strict.json | 341 - .../features-json/user-select-none.json | 350 - .../caniuse-db/features-json/user-timing.json | 353 - .../features-json/variable-fonts.json | 352 - .../caniuse-db/features-json/vibration.json | 353 - .../caniuse-db/features-json/video.json | 359 - .../caniuse-db/features-json/videotracks.json | 338 - .../features-json/viewport-units.json | 390 - .../caniuse-db/features-json/wai-aria.json | 353 - .../caniuse-db/features-json/wasm.json | 345 - .../caniuse-db/features-json/wav.json | 337 - .../caniuse-db/features-json/wbr-element.json | 337 - .../features-json/web-animation.json | 353 - .../features-json/web-app-manifest.json | 343 - .../features-json/web-bluetooth.json | 352 - .../caniuse-db/features-json/web-share.json | 351 - .../caniuse-db/features-json/webauthn.json | 341 - .../caniuse-db/features-json/webgl.json | 355 - .../caniuse-db/features-json/webgl2.json | 345 - .../caniuse-db/features-json/webm.json | 353 - .../caniuse-db/features-json/webp.json | 353 - .../caniuse-db/features-json/websockets.json | 360 - .../caniuse-db/features-json/webusb.json | 337 - .../caniuse-db/features-json/webvr.json | 363 - .../caniuse-db/features-json/webvtt.json | 350 - .../caniuse-db/features-json/webworkers.json | 349 - .../caniuse-db/features-json/will-change.json | 345 - .../caniuse-db/features-json/woff.json | 337 - .../caniuse-db/features-json/woff2.json | 341 - .../caniuse-db/features-json/word-break.json | 341 - .../caniuse-db/features-json/wordwrap.json | 353 - .../features-json/x-doc-messaging.json | 358 - .../features-json/x-frame-options.json | 353 - .../caniuse-db/features-json/xhr2.json | 362 - .../caniuse-db/features-json/xhtml.json | 345 - .../caniuse-db/features-json/xhtmlsmil.json | 341 - .../features-json/xml-serializer.json | 349 - .../caniuse-db/fulldata-json/data-1.0.json | 1 - .../caniuse-db/fulldata-json/data-2.0.json | 1 - node_modules/caniuse-db/package.json | 55 - .../caniuse-db/region-usage-json/AD.json | 1 - .../caniuse-db/region-usage-json/AE.json | 1 - .../caniuse-db/region-usage-json/AF.json | 1 - .../caniuse-db/region-usage-json/AG.json | 1 - .../caniuse-db/region-usage-json/AI.json | 1 - .../caniuse-db/region-usage-json/AL.json | 1 - .../caniuse-db/region-usage-json/AM.json | 1 - .../caniuse-db/region-usage-json/AO.json | 1 - .../caniuse-db/region-usage-json/AR.json | 1 - .../caniuse-db/region-usage-json/AS.json | 1 - .../caniuse-db/region-usage-json/AT.json | 1 - .../caniuse-db/region-usage-json/AU.json | 1 - .../caniuse-db/region-usage-json/AW.json | 1 - .../caniuse-db/region-usage-json/AX.json | 1 - .../caniuse-db/region-usage-json/AZ.json | 1 - .../caniuse-db/region-usage-json/BA.json | 1 - .../caniuse-db/region-usage-json/BB.json | 1 - .../caniuse-db/region-usage-json/BD.json | 1 - .../caniuse-db/region-usage-json/BE.json | 1 - .../caniuse-db/region-usage-json/BF.json | 1 - .../caniuse-db/region-usage-json/BG.json | 1 - .../caniuse-db/region-usage-json/BH.json | 1 - .../caniuse-db/region-usage-json/BI.json | 1 - .../caniuse-db/region-usage-json/BJ.json | 1 - .../caniuse-db/region-usage-json/BM.json | 1 - .../caniuse-db/region-usage-json/BN.json | 1 - .../caniuse-db/region-usage-json/BO.json | 1 - .../caniuse-db/region-usage-json/BR.json | 1 - .../caniuse-db/region-usage-json/BS.json | 1 - .../caniuse-db/region-usage-json/BT.json | 1 - .../caniuse-db/region-usage-json/BW.json | 1 - .../caniuse-db/region-usage-json/BY.json | 1 - .../caniuse-db/region-usage-json/BZ.json | 1 - .../caniuse-db/region-usage-json/CA.json | 1 - .../caniuse-db/region-usage-json/CD.json | 1 - .../caniuse-db/region-usage-json/CF.json | 1 - .../caniuse-db/region-usage-json/CG.json | 1 - .../caniuse-db/region-usage-json/CH.json | 1 - .../caniuse-db/region-usage-json/CI.json | 1 - .../caniuse-db/region-usage-json/CK.json | 1 - .../caniuse-db/region-usage-json/CL.json | 1 - .../caniuse-db/region-usage-json/CM.json | 1 - .../caniuse-db/region-usage-json/CN.json | 1 - .../caniuse-db/region-usage-json/CO.json | 1 - .../caniuse-db/region-usage-json/CR.json | 1 - .../caniuse-db/region-usage-json/CU.json | 1 - .../caniuse-db/region-usage-json/CV.json | 1 - .../caniuse-db/region-usage-json/CX.json | 1 - .../caniuse-db/region-usage-json/CY.json | 1 - .../caniuse-db/region-usage-json/CZ.json | 1 - .../caniuse-db/region-usage-json/DE.json | 1 - .../caniuse-db/region-usage-json/DJ.json | 1 - .../caniuse-db/region-usage-json/DK.json | 1 - .../caniuse-db/region-usage-json/DM.json | 1 - .../caniuse-db/region-usage-json/DO.json | 1 - .../caniuse-db/region-usage-json/DZ.json | 1 - .../caniuse-db/region-usage-json/EC.json | 1 - .../caniuse-db/region-usage-json/EE.json | 1 - .../caniuse-db/region-usage-json/EG.json | 1 - .../caniuse-db/region-usage-json/ER.json | 1 - .../caniuse-db/region-usage-json/ES.json | 1 - .../caniuse-db/region-usage-json/ET.json | 1 - .../caniuse-db/region-usage-json/FI.json | 1 - .../caniuse-db/region-usage-json/FJ.json | 1 - .../caniuse-db/region-usage-json/FK.json | 1 - .../caniuse-db/region-usage-json/FM.json | 1 - .../caniuse-db/region-usage-json/FO.json | 1 - .../caniuse-db/region-usage-json/FR.json | 1 - .../caniuse-db/region-usage-json/GA.json | 1 - .../caniuse-db/region-usage-json/GB.json | 1 - .../caniuse-db/region-usage-json/GD.json | 1 - .../caniuse-db/region-usage-json/GE.json | 1 - .../caniuse-db/region-usage-json/GF.json | 1 - .../caniuse-db/region-usage-json/GG.json | 1 - .../caniuse-db/region-usage-json/GH.json | 1 - .../caniuse-db/region-usage-json/GI.json | 1 - .../caniuse-db/region-usage-json/GL.json | 1 - .../caniuse-db/region-usage-json/GM.json | 1 - .../caniuse-db/region-usage-json/GN.json | 1 - .../caniuse-db/region-usage-json/GP.json | 1 - .../caniuse-db/region-usage-json/GQ.json | 1 - .../caniuse-db/region-usage-json/GR.json | 1 - .../caniuse-db/region-usage-json/GT.json | 1 - .../caniuse-db/region-usage-json/GU.json | 1 - .../caniuse-db/region-usage-json/GW.json | 1 - .../caniuse-db/region-usage-json/GY.json | 1 - .../caniuse-db/region-usage-json/HK.json | 1 - .../caniuse-db/region-usage-json/HN.json | 1 - .../caniuse-db/region-usage-json/HR.json | 1 - .../caniuse-db/region-usage-json/HT.json | 1 - .../caniuse-db/region-usage-json/HU.json | 1 - .../caniuse-db/region-usage-json/ID.json | 1 - .../caniuse-db/region-usage-json/IE.json | 1 - .../caniuse-db/region-usage-json/IL.json | 1 - .../caniuse-db/region-usage-json/IM.json | 1 - .../caniuse-db/region-usage-json/IN.json | 1 - .../caniuse-db/region-usage-json/IQ.json | 1 - .../caniuse-db/region-usage-json/IR.json | 1 - .../caniuse-db/region-usage-json/IS.json | 1 - .../caniuse-db/region-usage-json/IT.json | 1 - .../caniuse-db/region-usage-json/JE.json | 1 - .../caniuse-db/region-usage-json/JM.json | 1 - .../caniuse-db/region-usage-json/JO.json | 1 - .../caniuse-db/region-usage-json/JP.json | 1 - .../caniuse-db/region-usage-json/KE.json | 1 - .../caniuse-db/region-usage-json/KG.json | 1 - .../caniuse-db/region-usage-json/KH.json | 1 - .../caniuse-db/region-usage-json/KI.json | 1 - .../caniuse-db/region-usage-json/KM.json | 1 - .../caniuse-db/region-usage-json/KN.json | 1 - .../caniuse-db/region-usage-json/KP.json | 1 - .../caniuse-db/region-usage-json/KR.json | 1 - .../caniuse-db/region-usage-json/KW.json | 1 - .../caniuse-db/region-usage-json/KY.json | 1 - .../caniuse-db/region-usage-json/KZ.json | 1 - .../caniuse-db/region-usage-json/LA.json | 1 - .../caniuse-db/region-usage-json/LB.json | 1 - .../caniuse-db/region-usage-json/LC.json | 1 - .../caniuse-db/region-usage-json/LI.json | 1 - .../caniuse-db/region-usage-json/LK.json | 1 - .../caniuse-db/region-usage-json/LR.json | 1 - .../caniuse-db/region-usage-json/LS.json | 1 - .../caniuse-db/region-usage-json/LT.json | 1 - .../caniuse-db/region-usage-json/LU.json | 1 - .../caniuse-db/region-usage-json/LV.json | 1 - .../caniuse-db/region-usage-json/LY.json | 1 - .../caniuse-db/region-usage-json/MA.json | 1 - .../caniuse-db/region-usage-json/MC.json | 1 - .../caniuse-db/region-usage-json/MD.json | 1 - .../caniuse-db/region-usage-json/ME.json | 1 - .../caniuse-db/region-usage-json/MG.json | 1 - .../caniuse-db/region-usage-json/MH.json | 1 - .../caniuse-db/region-usage-json/MK.json | 1 - .../caniuse-db/region-usage-json/ML.json | 1 - .../caniuse-db/region-usage-json/MM.json | 1 - .../caniuse-db/region-usage-json/MN.json | 1 - .../caniuse-db/region-usage-json/MO.json | 1 - .../caniuse-db/region-usage-json/MP.json | 1 - .../caniuse-db/region-usage-json/MQ.json | 1 - .../caniuse-db/region-usage-json/MR.json | 1 - .../caniuse-db/region-usage-json/MS.json | 1 - .../caniuse-db/region-usage-json/MT.json | 1 - .../caniuse-db/region-usage-json/MU.json | 1 - .../caniuse-db/region-usage-json/MV.json | 1 - .../caniuse-db/region-usage-json/MW.json | 1 - .../caniuse-db/region-usage-json/MX.json | 1 - .../caniuse-db/region-usage-json/MY.json | 1 - .../caniuse-db/region-usage-json/MZ.json | 1 - .../caniuse-db/region-usage-json/NA.json | 1 - .../caniuse-db/region-usage-json/NC.json | 1 - .../caniuse-db/region-usage-json/NE.json | 1 - .../caniuse-db/region-usage-json/NF.json | 1 - .../caniuse-db/region-usage-json/NG.json | 1 - .../caniuse-db/region-usage-json/NI.json | 1 - .../caniuse-db/region-usage-json/NL.json | 1 - .../caniuse-db/region-usage-json/NO.json | 1 - .../caniuse-db/region-usage-json/NP.json | 1 - .../caniuse-db/region-usage-json/NR.json | 1 - .../caniuse-db/region-usage-json/NU.json | 1 - .../caniuse-db/region-usage-json/NZ.json | 1 - .../caniuse-db/region-usage-json/OM.json | 1 - .../caniuse-db/region-usage-json/PA.json | 1 - .../caniuse-db/region-usage-json/PE.json | 1 - .../caniuse-db/region-usage-json/PF.json | 1 - .../caniuse-db/region-usage-json/PG.json | 1 - .../caniuse-db/region-usage-json/PH.json | 1 - .../caniuse-db/region-usage-json/PK.json | 1 - .../caniuse-db/region-usage-json/PL.json | 1 - .../caniuse-db/region-usage-json/PM.json | 1 - .../caniuse-db/region-usage-json/PN.json | 1 - .../caniuse-db/region-usage-json/PR.json | 1 - .../caniuse-db/region-usage-json/PS.json | 1 - .../caniuse-db/region-usage-json/PT.json | 1 - .../caniuse-db/region-usage-json/PW.json | 1 - .../caniuse-db/region-usage-json/PY.json | 1 - .../caniuse-db/region-usage-json/QA.json | 1 - .../caniuse-db/region-usage-json/RE.json | 1 - .../caniuse-db/region-usage-json/RO.json | 1 - .../caniuse-db/region-usage-json/RS.json | 1 - .../caniuse-db/region-usage-json/RU.json | 1 - .../caniuse-db/region-usage-json/RW.json | 1 - .../caniuse-db/region-usage-json/SA.json | 1 - .../caniuse-db/region-usage-json/SB.json | 1 - .../caniuse-db/region-usage-json/SC.json | 1 - .../caniuse-db/region-usage-json/SD.json | 1 - .../caniuse-db/region-usage-json/SE.json | 1 - .../caniuse-db/region-usage-json/SG.json | 1 - .../caniuse-db/region-usage-json/SH.json | 1 - .../caniuse-db/region-usage-json/SI.json | 1 - .../caniuse-db/region-usage-json/SK.json | 1 - .../caniuse-db/region-usage-json/SL.json | 1 - .../caniuse-db/region-usage-json/SM.json | 1 - .../caniuse-db/region-usage-json/SN.json | 1 - .../caniuse-db/region-usage-json/SO.json | 1 - .../caniuse-db/region-usage-json/SR.json | 1 - .../caniuse-db/region-usage-json/ST.json | 1 - .../caniuse-db/region-usage-json/SV.json | 1 - .../caniuse-db/region-usage-json/SY.json | 1 - .../caniuse-db/region-usage-json/SZ.json | 1 - .../caniuse-db/region-usage-json/TC.json | 1 - .../caniuse-db/region-usage-json/TD.json | 1 - .../caniuse-db/region-usage-json/TG.json | 1 - .../caniuse-db/region-usage-json/TH.json | 1 - .../caniuse-db/region-usage-json/TJ.json | 1 - .../caniuse-db/region-usage-json/TK.json | 1 - .../caniuse-db/region-usage-json/TL.json | 1 - .../caniuse-db/region-usage-json/TM.json | 1 - .../caniuse-db/region-usage-json/TN.json | 1 - .../caniuse-db/region-usage-json/TO.json | 1 - .../caniuse-db/region-usage-json/TR.json | 1 - .../caniuse-db/region-usage-json/TT.json | 1 - .../caniuse-db/region-usage-json/TV.json | 1 - .../caniuse-db/region-usage-json/TW.json | 1 - .../caniuse-db/region-usage-json/TZ.json | 1 - .../caniuse-db/region-usage-json/UA.json | 1 - .../caniuse-db/region-usage-json/UG.json | 1 - .../caniuse-db/region-usage-json/US.json | 1 - .../caniuse-db/region-usage-json/UY.json | 1 - .../caniuse-db/region-usage-json/UZ.json | 1 - .../caniuse-db/region-usage-json/VA.json | 1 - .../caniuse-db/region-usage-json/VC.json | 1 - .../caniuse-db/region-usage-json/VE.json | 1 - .../caniuse-db/region-usage-json/VG.json | 1 - .../caniuse-db/region-usage-json/VI.json | 1 - .../caniuse-db/region-usage-json/VN.json | 1 - .../caniuse-db/region-usage-json/VU.json | 1 - .../caniuse-db/region-usage-json/WF.json | 1 - .../caniuse-db/region-usage-json/WS.json | 1 - .../caniuse-db/region-usage-json/YE.json | 1 - .../caniuse-db/region-usage-json/YT.json | 1 - .../caniuse-db/region-usage-json/ZA.json | 1 - .../caniuse-db/region-usage-json/ZM.json | 1 - .../caniuse-db/region-usage-json/ZW.json | 1 - .../caniuse-db/region-usage-json/alt-an.json | 1 - node_modules/chalk/index.js | 228 - node_modules/chalk/index.js.flow | 93 - node_modules/chalk/license | 9 - node_modules/chalk/package.json | 105 - node_modules/chalk/readme.md | 314 - node_modules/chalk/templates.js | 128 - node_modules/chalk/types/index.d.ts | 97 - node_modules/circular-json/.npmignore | 9 - node_modules/circular-json/LICENSE.txt | 19 - node_modules/circular-json/README.md | 135 - .../circular-json/build/circular-json.js | 2 - .../circular-json/build/circular-json.max.js | 189 - .../circular-json/build/circular-json.node.js | 185 - node_modules/circular-json/package.json | 65 - .../circular-json/template/license.after | 2 - .../circular-json/template/license.before | 1 - node_modules/cliui/CHANGELOG.md | 15 - node_modules/cliui/LICENSE.txt | 14 - node_modules/cliui/README.md | 110 - node_modules/cliui/index.js | 316 - .../cliui/node_modules/string-width/index.js | 37 - .../cliui/node_modules/string-width/license | 21 - .../node_modules/string-width/package.json | 123 - .../cliui/node_modules/string-width/readme.md | 42 - node_modules/cliui/package.json | 135 - node_modules/clone-regexp/index.js | 31 - node_modules/clone-regexp/license | 21 - node_modules/clone-regexp/package.json | 71 - node_modules/clone-regexp/readme.md | 57 - node_modules/code-point-at/index.js | 32 - node_modules/code-point-at/license | 21 - node_modules/code-point-at/package.json | 108 - node_modules/code-point-at/readme.md | 32 - node_modules/color-convert/CHANGELOG.md | 54 - node_modules/color-convert/LICENSE | 21 - node_modules/color-convert/README.md | 68 - node_modules/color-convert/conversions.js | 868 - node_modules/color-convert/index.js | 78 - node_modules/color-convert/package.json | 81 - node_modules/color-convert/route.js | 97 - node_modules/color-diff/.npmignore | 51 - node_modules/color-diff/.travis.yml | 4 - node_modules/color-diff/COPYING | 24 - node_modules/color-diff/README.md | 75 - node_modules/color-diff/lib/convert.js | 113 - node_modules/color-diff/lib/diff.js | 164 - node_modules/color-diff/lib/index.js | 28 - node_modules/color-diff/lib/palette.js | 107 - node_modules/color-diff/package.json | 97 - node_modules/color-name/.eslintrc.json | 43 - node_modules/color-name/.npmignore | 107 - node_modules/color-name/LICENSE | 8 - node_modules/color-name/README.md | 11 - node_modules/color-name/index.js | 152 - node_modules/color-name/package.json | 53 - node_modules/color-name/test.js | 7 - node_modules/colorette/LICENSE.md | 19 - node_modules/colorette/README.md | 137 - node_modules/colorette/colorette.d.ts | 48 - node_modules/colorette/index.js | 74 - node_modules/colorette/package.json | 63 - node_modules/colorguard/CHANGELOG.md | 28 - node_modules/colorguard/README.md | 124 - node_modules/colorguard/bin/colorguard | 63 - node_modules/colorguard/index.js | 3 - node_modules/colorguard/lib/colorguard.js | 121 - node_modules/colorguard/lib/formatter.js | 43 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../colorguard/node_modules/chalk/index.js | 116 - .../colorguard/node_modules/chalk/license | 21 - .../node_modules/chalk/package.json | 116 - .../colorguard/node_modules/chalk/readme.md | 213 - .../colorguard/node_modules/has-flag/index.js | 10 - .../colorguard/node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../postcss-reporter/CHANGELOG.md | 47 - .../node_modules/postcss-reporter/LICENSE | 22 - .../node_modules/postcss-reporter/README.md | 134 - .../node_modules/postcss-reporter/index.js | 4 - .../postcss-reporter/lib/formatter.js | 80 - .../postcss-reporter/lib/reporter.js | 75 - .../node_modules/postcss-reporter/lib/util.js | 20 - .../postcss-reporter/package.json | 102 - .../node_modules/postcss/CHANGELOG.md | 460 - .../colorguard/node_modules/postcss/LICENSE | 20 - .../colorguard/node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 136 - .../node_modules/supports-color/readme.md | 60 - .../node_modules/postcss/package.json | 113 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/index.js | 50 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - node_modules/colorguard/package.json | 88 - node_modules/commander/CHANGELOG.md | 396 - node_modules/commander/LICENSE | 22 - node_modules/commander/Readme.md | 417 - node_modules/commander/index.js | 1227 -- node_modules/commander/package.json | 70 - node_modules/commander/typings/index.d.ts | 309 - node_modules/concat-map/.travis.yml | 4 - node_modules/concat-map/LICENSE | 18 - node_modules/concat-map/README.markdown | 62 - node_modules/concat-map/example/map.js | 6 - node_modules/concat-map/index.js | 13 - node_modules/concat-map/package.json | 117 - node_modules/core-util-is/LICENSE | 19 - node_modules/core-util-is/README.md | 3 - node_modules/core-util-is/float.patch | 604 - node_modules/core-util-is/lib/util.js | 107 - node_modules/core-util-is/package.json | 95 - node_modules/core-util-is/test.js | 68 - node_modules/cosmiconfig/CHANGELOG.md | 56 - node_modules/cosmiconfig/LICENSE | 22 - node_modules/cosmiconfig/README.md | 226 - node_modules/cosmiconfig/index.js | 27 - .../cosmiconfig/lib/createExplorer.js | 113 - .../cosmiconfig/lib/loadDefinedFile.js | 66 - node_modules/cosmiconfig/lib/loadJs.js | 15 - .../cosmiconfig/lib/loadPackageProp.js | 21 - node_modules/cosmiconfig/lib/loadRc.js | 85 - node_modules/cosmiconfig/lib/parseJson.js | 12 - node_modules/cosmiconfig/lib/readFile.js | 20 - node_modules/cosmiconfig/package.json | 89 - node_modules/css-color-list/.editorconfig | 12 - node_modules/css-color-list/.npmignore | 1 - node_modules/css-color-list/.travis.yml | 5 - node_modules/css-color-list/LICENSE.md | 21 - node_modules/css-color-list/README.md | 37 - node_modules/css-color-list/index.js | 7 - node_modules/css-color-list/package.json | 86 - node_modules/css-color-names/Makefile | 8 - node_modules/css-color-names/README.md | 48 - .../css-color-names/css-color-names.json | 150 - node_modules/css-color-names/getcolors.sh | 5 - node_modules/css-color-names/package.json | 88 - node_modules/css-color-names/stringify.js | 17 - node_modules/css-rule-stream/.npmignore | 28 - node_modules/css-rule-stream/.travis.yml | 4 - node_modules/css-rule-stream/LICENSE | 22 - node_modules/css-rule-stream/README.md | 72 - node_modules/css-rule-stream/example.js | 0 node_modules/css-rule-stream/index.js | 20 - node_modules/css-rule-stream/lib/match.js | 60 - node_modules/css-rule-stream/package.json | 96 - node_modules/css-tokenize/.npmignore | 28 - node_modules/css-tokenize/.travis.yml | 4 - node_modules/css-tokenize/LICENSE | 22 - node_modules/css-tokenize/README.md | 100 - node_modules/css-tokenize/example.js | 13 - node_modules/css-tokenize/index.js | 172 - node_modules/css-tokenize/package.json | 94 - node_modules/currently-unhandled/browser.js | 27 - node_modules/currently-unhandled/core.js | 33 - node_modules/currently-unhandled/index.js | 12 - node_modules/currently-unhandled/license | 21 - node_modules/currently-unhandled/package.json | 138 - node_modules/currently-unhandled/readme.md | 44 - node_modules/debug/.coveralls.yml | 1 - node_modules/debug/.eslintrc | 11 - node_modules/debug/.npmignore | 9 - node_modules/debug/.travis.yml | 14 - node_modules/debug/CHANGELOG.md | 362 - node_modules/debug/LICENSE | 19 - node_modules/debug/Makefile | 50 - node_modules/debug/README.md | 312 - node_modules/debug/component.json | 19 - node_modules/debug/karma.conf.js | 70 - node_modules/debug/node.js | 1 - node_modules/debug/package.json | 88 - node_modules/debug/src/browser.js | 185 - node_modules/debug/src/debug.js | 202 - node_modules/debug/src/index.js | 10 - node_modules/debug/src/inspector-log.js | 15 - node_modules/debug/src/node.js | 248 - node_modules/decamelize/index.js | 13 - node_modules/decamelize/license | 21 - node_modules/decamelize/package.json | 107 - node_modules/decamelize/readme.md | 48 - node_modules/del/index.js | 70 - node_modules/del/license | 9 - node_modules/del/node_modules/pify/index.js | 84 - node_modules/del/node_modules/pify/license | 9 - .../del/node_modules/pify/package.json | 83 - node_modules/del/node_modules/pify/readme.md | 131 - node_modules/del/package.json | 93 - node_modules/del/readme.md | 121 - node_modules/diff/CONTRIBUTING.md | 39 - node_modules/diff/LICENSE | 31 - node_modules/diff/README.md | 211 - node_modules/diff/dist/diff.js | 1843 -- node_modules/diff/dist/diff.min.js | 416 - node_modules/diff/lib/convert/dmp.js | 24 - node_modules/diff/lib/convert/xml.js | 35 - node_modules/diff/lib/diff/array.js | 24 - node_modules/diff/lib/diff/base.js | 235 - node_modules/diff/lib/diff/character.js | 17 - node_modules/diff/lib/diff/css.js | 21 - node_modules/diff/lib/diff/json.js | 108 - node_modules/diff/lib/diff/line.js | 50 - node_modules/diff/lib/diff/sentence.js | 21 - node_modules/diff/lib/diff/word.js | 70 - node_modules/diff/lib/index.js | 74 - node_modules/diff/lib/patch/apply.js | 180 - node_modules/diff/lib/patch/create.js | 148 - node_modules/diff/lib/patch/merge.js | 396 - node_modules/diff/lib/patch/parse.js | 147 - node_modules/diff/lib/util/array.js | 27 - .../diff/lib/util/distance-iterator.js | 47 - node_modules/diff/lib/util/params.js | 18 - node_modules/diff/package.json | 97 - node_modules/diff/release-notes.md | 247 - node_modules/diff/runtime.js | 3 - node_modules/diff/yarn.lock | 5729 ------ node_modules/doiuse/.editorconfig | 16 - node_modules/doiuse/.npmignore | 1 - node_modules/doiuse/.travis.yml | 4 - node_modules/doiuse/CHANGELOG | 185 - node_modules/doiuse/CONTRIBUTING.md | 28 - node_modules/doiuse/LICENSE | 22 - node_modules/doiuse/README.md | 170 - node_modules/doiuse/cli.js | 137 - node_modules/doiuse/data/features.js | 396 - node_modules/doiuse/lib/browsers.js | 44 - node_modules/doiuse/lib/detect-feature-use.js | 168 - node_modules/doiuse/lib/doiuse.js | 110 - node_modules/doiuse/lib/missing-support.js | 110 - node_modules/doiuse/lib/util.js | 13 - .../doiuse/node_modules/ansi-styles/index.js | 65 - .../doiuse/node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../doiuse/node_modules/ansi-styles/readme.md | 86 - .../doiuse/node_modules/chalk/index.js | 116 - .../doiuse/node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../doiuse/node_modules/chalk/package.json | 114 - .../doiuse/node_modules/chalk/readme.md | 213 - .../doiuse/node_modules/has-flag/index.js | 10 - .../doiuse/node_modules/has-flag/license | 21 - .../doiuse/node_modules/has-flag/package.json | 92 - .../doiuse/node_modules/has-flag/readme.md | 64 - .../doiuse/node_modules/postcss/CHANGELOG.md | 460 - .../doiuse/node_modules/postcss/LICENSE | 20 - .../doiuse/node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../doiuse/node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../doiuse/node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../doiuse/node_modules/postcss/lib/node.js | 672 - .../doiuse/node_modules/postcss/lib/parse.js | 43 - .../doiuse/node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../doiuse/node_modules/postcss/lib/result.js | 206 - .../doiuse/node_modules/postcss/lib/root.js | 143 - .../doiuse/node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../doiuse/node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/source-map/CHANGELOG.md | 301 - .../postcss/node_modules/source-map/LICENSE | 28 - .../postcss/node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../doiuse/node_modules/postcss/package.json | 110 - .../doiuse/node_modules/source-map/README.md | 510 - .../source-map/build/assert-shim.js | 56 - .../source-map/build/mini-require.js | 152 - .../source-map/build/prefix-source-map.jsm | 21 - .../source-map/build/prefix-utils.jsm | 18 - .../source-map/build/suffix-browser.js | 8 - .../source-map/build/suffix-source-map.jsm | 6 - .../source-map/build/suffix-utils.jsm | 21 - .../source-map/build/test-prefix.js | 8 - .../source-map/build/test-suffix.js | 3 - .../node_modules/source-map/lib/source-map.js | 8 - .../source-map/lib/source-map/array-set.js | 107 - .../source-map/lib/source-map/base64-vlq.js | 146 - .../source-map/lib/source-map/base64.js | 73 - .../lib/source-map/binary-search.js | 117 - .../source-map/lib/source-map/mapping-list.js | 86 - .../source-map/lib/source-map/quick-sort.js | 120 - .../lib/source-map/source-map-consumer.js | 1077 - .../lib/source-map/source-map-generator.js | 399 - .../source-map/lib/source-map/source-node.js | 414 - .../source-map/lib/source-map/util.js | 370 - .../node_modules/source-map/package.json | 234 - .../doiuse/node_modules/string-width/index.js | 37 - .../doiuse/node_modules/string-width/license | 21 - .../node_modules/string-width/package.json | 123 - .../node_modules/string-width/readme.md | 42 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - .../doiuse/node_modules/yargs/CHANGELOG.md | 508 - .../doiuse/node_modules/yargs/LICENSE | 21 - .../doiuse/node_modules/yargs/README.md | 1243 -- .../node_modules/yargs/completion.sh.hbs | 28 - .../doiuse/node_modules/yargs/index.js | 665 - .../node_modules/yargs/lib/completion.js | 91 - .../doiuse/node_modules/yargs/lib/parser.js | 520 - .../yargs/lib/tokenize-arg-string.js | 32 - .../doiuse/node_modules/yargs/lib/usage.js | 383 - .../node_modules/yargs/lib/validation.js | 249 - .../doiuse/node_modules/yargs/locales/de.json | 36 - .../doiuse/node_modules/yargs/locales/en.json | 36 - .../doiuse/node_modules/yargs/locales/es.json | 36 - .../doiuse/node_modules/yargs/locales/fr.json | 36 - .../doiuse/node_modules/yargs/locales/id.json | 37 - .../doiuse/node_modules/yargs/locales/ja.json | 36 - .../doiuse/node_modules/yargs/locales/ko.json | 36 - .../doiuse/node_modules/yargs/locales/nb.json | 36 - .../node_modules/yargs/locales/pirate.json | 12 - .../doiuse/node_modules/yargs/locales/pl.json | 36 - .../doiuse/node_modules/yargs/locales/pt.json | 36 - .../node_modules/yargs/locales/pt_BR.json | 36 - .../doiuse/node_modules/yargs/locales/tr.json | 36 - .../doiuse/node_modules/yargs/locales/zh.json | 36 - .../doiuse/node_modules/yargs/package.json | 174 - node_modules/doiuse/package.json | 130 - node_modules/doiuse/stream.js | 80 - node_modules/duplexer/.npmignore | 3 - node_modules/duplexer/.travis.yml | 6 - node_modules/duplexer/LICENCE | 19 - node_modules/duplexer/README.md | 47 - node_modules/duplexer/index.js | 87 - node_modules/duplexer/package.json | 113 - node_modules/duplexer2/.npmignore | 1 - node_modules/duplexer2/.travis.yml | 3 - node_modules/duplexer2/LICENSE.md | 26 - node_modules/duplexer2/README.md | 129 - node_modules/duplexer2/example.js | 49 - node_modules/duplexer2/index.js | 62 - node_modules/duplexer2/package.json | 91 - node_modules/editorconfig/.gitmodules | 3 - node_modules/editorconfig/LICENSE | 19 - node_modules/editorconfig/README.md | 203 - node_modules/editorconfig/bin/editorconfig | 42 - node_modules/editorconfig/editorconfig.js | 237 - node_modules/editorconfig/lib/fnmatch.js | 1080 - node_modules/editorconfig/lib/ini.js | 63 - node_modules/editorconfig/package.json | 86 - .../electron-to-chromium/CHANGELOG.md | 14 - node_modules/electron-to-chromium/LICENSE | 5 - node_modules/electron-to-chromium/README.md | 170 - .../electron-to-chromium/chromium-versions.js | 24 - .../full-chromium-versions.js | 297 - .../electron-to-chromium/full-versions.js | 241 - node_modules/electron-to-chromium/index.js | 36 - .../electron-to-chromium/package.json | 69 - node_modules/electron-to-chromium/versions.js | 33 - node_modules/error-ex/LICENSE | 21 - node_modules/error-ex/README.md | 144 - node_modules/error-ex/index.js | 141 - node_modules/error-ex/package.json | 86 - node_modules/escape-string-regexp/index.js | 11 - node_modules/escape-string-regexp/license | 21 - .../escape-string-regexp/package.json | 109 - node_modules/escape-string-regexp/readme.md | 27 - node_modules/esprima/ChangeLog | 235 - node_modules/esprima/LICENSE.BSD | 21 - node_modules/esprima/README.md | 46 - node_modules/esprima/bin/esparse.js | 139 - node_modules/esprima/bin/esvalidate.js | 236 - node_modules/esprima/dist/esprima.js | 6709 ------ node_modules/esprima/package.json | 137 - node_modules/execall/index.js | 23 - node_modules/execall/license | 21 - node_modules/execall/package.json | 110 - node_modules/execall/readme.md | 57 - node_modules/expand-brackets/LICENSE | 21 - node_modules/expand-brackets/README.md | 107 - node_modules/expand-brackets/index.js | 163 - node_modules/expand-brackets/package.json | 136 - node_modules/expand-range/LICENSE | 24 - node_modules/expand-range/README.md | 145 - node_modules/expand-range/index.js | 43 - node_modules/expand-range/package.json | 143 - node_modules/extglob/LICENSE | 21 - node_modules/extglob/README.md | 88 - node_modules/extglob/index.js | 178 - node_modules/extglob/package.json | 116 - node_modules/fast-deep-equal/LICENSE | 21 - node_modules/fast-deep-equal/README.md | 58 - node_modules/fast-deep-equal/index.d.ts | 4 - node_modules/fast-deep-equal/index.js | 55 - node_modules/fast-deep-equal/package.json | 86 - .../fast-json-stable-stringify/.eslintrc.yml | 26 - .../fast-json-stable-stringify/.npmignore | 4 - .../fast-json-stable-stringify/.travis.yml | 8 - .../fast-json-stable-stringify/LICENSE | 18 - .../fast-json-stable-stringify/README.md | 119 - .../benchmark/index.js | 31 - .../benchmark/test.json | 137 - .../example/key_cmp.js | 7 - .../example/nested.js | 3 - .../fast-json-stable-stringify/example/str.js | 3 - .../example/value_cmp.js | 7 - .../fast-json-stable-stringify/index.js | 59 - .../fast-json-stable-stringify/package.json | 78 - node_modules/file-entry-cache/LICENSE | 22 - node_modules/file-entry-cache/README.md | 107 - node_modules/file-entry-cache/cache.js | 216 - node_modules/file-entry-cache/changelog.md | 74 - node_modules/file-entry-cache/package.json | 151 - node_modules/filename-regex/LICENSE | 21 - node_modules/filename-regex/README.md | 63 - node_modules/filename-regex/index.js | 10 - node_modules/filename-regex/package.json | 121 - node_modules/fill-range/LICENSE | 21 - node_modules/fill-range/README.md | 317 - node_modules/fill-range/index.js | 408 - node_modules/fill-range/package.json | 109 - node_modules/find-up/index.js | 53 - node_modules/find-up/license | 21 - node_modules/find-up/package.json | 118 - node_modules/find-up/readme.md | 72 - node_modules/flat-cache/LICENSE | 22 - node_modules/flat-cache/README.md | 73 - node_modules/flat-cache/cache.js | 203 - node_modules/flat-cache/changelog.md | 240 - node_modules/flat-cache/package.json | 119 - node_modules/flat-cache/utils.js | 39 - node_modules/flatten/LICENSE | 21 - node_modules/flatten/README.md | 34 - node_modules/flatten/index.js | 23 - node_modules/flatten/package.json | 88 - node_modules/flatten/test.js | 25 - node_modules/for-in/LICENSE | 21 - node_modules/for-in/README.md | 85 - node_modules/for-in/index.js | 16 - node_modules/for-in/package.json | 146 - node_modules/for-own/LICENSE | 21 - node_modules/for-own/README.md | 85 - node_modules/for-own/index.js | 19 - node_modules/for-own/package.json | 148 - node_modules/fs.realpath/LICENSE | 43 - node_modules/fs.realpath/README.md | 33 - node_modules/fs.realpath/index.js | 66 - node_modules/fs.realpath/old.js | 303 - node_modules/fs.realpath/package.json | 94 - node_modules/gather-stream/README.md | 32 - node_modules/gather-stream/index.js | 44 - node_modules/gather-stream/package.json | 83 - node_modules/get-stdin/index.js | 52 - node_modules/get-stdin/license | 21 - node_modules/get-stdin/package.json | 105 - node_modules/get-stdin/readme.md | 55 - node_modules/getopts/LICENSE.md | 19 - node_modules/getopts/README.md | 278 - node_modules/getopts/getopts.d.ts | 27 - node_modules/getopts/index.js | 209 - node_modules/getopts/package.json | 63 - node_modules/glob-base/LICENSE | 21 - node_modules/glob-base/README.md | 158 - node_modules/glob-base/index.js | 51 - node_modules/glob-base/package.json | 116 - node_modules/glob-parent/.npmignore | 4 - node_modules/glob-parent/.travis.yml | 8 - node_modules/glob-parent/LICENSE | 15 - node_modules/glob-parent/README.md | 43 - node_modules/glob-parent/index.js | 10 - node_modules/glob-parent/package.json | 93 - node_modules/glob-parent/test.js | 28 - node_modules/glob/LICENSE | 15 - node_modules/glob/README.md | 368 - node_modules/glob/changelog.md | 67 - node_modules/glob/common.js | 240 - node_modules/glob/glob.js | 790 - node_modules/glob/package.json | 78 - node_modules/glob/sync.js | 486 - node_modules/globby/index.js | 88 - node_modules/globby/license | 21 - node_modules/globby/package.json | 145 - node_modules/globby/readme.md | 88 - node_modules/globjoin/CHANGELOG.md | 14 - node_modules/globjoin/LICENSE | 22 - node_modules/globjoin/README.md | 54 - node_modules/globjoin/index.js | 43 - node_modules/globjoin/package.json | 98 - node_modules/graceful-fs/LICENSE | 15 - node_modules/graceful-fs/README.md | 133 - node_modules/graceful-fs/clone.js | 19 - node_modules/graceful-fs/graceful-fs.js | 279 - node_modules/graceful-fs/legacy-streams.js | 118 - node_modules/graceful-fs/package.json | 80 - node_modules/graceful-fs/polyfills.js | 329 - node_modules/has-ansi/index.js | 4 - node_modules/has-ansi/license | 21 - node_modules/has-ansi/package.json | 118 - node_modules/has-ansi/readme.md | 36 - node_modules/has-flag/index.js | 8 - node_modules/has-flag/license | 9 - node_modules/has-flag/package.json | 76 - node_modules/has-flag/readme.md | 70 - node_modules/hosted-git-info/CHANGELOG.md | 54 - node_modules/hosted-git-info/LICENSE | 13 - node_modules/hosted-git-info/README.md | 133 - node_modules/hosted-git-info/git-host-info.js | 77 - node_modules/hosted-git-info/git-host.js | 131 - node_modules/hosted-git-info/index.js | 122 - node_modules/hosted-git-info/package.json | 68 - node_modules/html-tags/html-tags-void.json | 17 - node_modules/html-tags/html-tags.json | 120 - node_modules/html-tags/index.js | 2 - node_modules/html-tags/license | 9 - node_modules/html-tags/package.json | 71 - node_modules/html-tags/readme.md | 38 - node_modules/html-tags/void.js | 2 - node_modules/ignore/README.md | 262 - node_modules/ignore/ignore.js | 425 - node_modules/ignore/index.d.ts | 41 - node_modules/ignore/package.json | 84 - node_modules/imurmurhash/README.md | 122 - node_modules/imurmurhash/imurmurhash.js | 138 - node_modules/imurmurhash/imurmurhash.min.js | 12 - node_modules/imurmurhash/package.json | 93 - node_modules/indent-string/index.js | 20 - node_modules/indent-string/license | 21 - node_modules/indent-string/package.json | 99 - node_modules/indent-string/readme.md | 58 - node_modules/indexes-of/.npmignore | 1 - node_modules/indexes-of/LICENSE | 22 - node_modules/indexes-of/README.md | 24 - node_modules/indexes-of/index.js | 6 - node_modules/indexes-of/package.json | 81 - node_modules/indexes-of/test.js | 38 - node_modules/inflight/LICENSE | 15 - node_modules/inflight/README.md | 37 - node_modules/inflight/inflight.js | 54 - node_modules/inflight/package.json | 105 - node_modules/inherits/LICENSE | 16 - node_modules/inherits/README.md | 42 - node_modules/inherits/inherits.js | 7 - node_modules/inherits/inherits_browser.js | 23 - node_modules/inherits/package.json | 100 - node_modules/invert-kv/index.js | 15 - node_modules/invert-kv/package.json | 96 - node_modules/invert-kv/readme.md | 25 - .../irregular-plurals/irregular-plurals.json | 146 - node_modules/irregular-plurals/license | 9 - node_modules/irregular-plurals/package.json | 71 - node_modules/irregular-plurals/readme.md | 47 - node_modules/is-arrayish/.editorconfig | 18 - node_modules/is-arrayish/.istanbul.yml | 4 - node_modules/is-arrayish/.npmignore | 5 - node_modules/is-arrayish/.travis.yml | 17 - node_modules/is-arrayish/LICENSE | 21 - node_modules/is-arrayish/README.md | 16 - node_modules/is-arrayish/index.js | 10 - node_modules/is-arrayish/package.json | 98 - node_modules/is-buffer/LICENSE | 21 - node_modules/is-buffer/README.md | 53 - node_modules/is-buffer/index.js | 21 - node_modules/is-buffer/package.json | 77 - node_modules/is-builtin-module/index.js | 10 - node_modules/is-builtin-module/license | 21 - node_modules/is-builtin-module/package.json | 106 - node_modules/is-builtin-module/readme.md | 33 - node_modules/is-directory/LICENSE | 21 - node_modules/is-directory/README.md | 76 - node_modules/is-directory/index.js | 65 - node_modules/is-directory/package.json | 132 - node_modules/is-dotfile/LICENSE | 21 - node_modules/is-dotfile/README.md | 95 - node_modules/is-dotfile/index.js | 14 - node_modules/is-dotfile/package.json | 146 - node_modules/is-equal-shallow/LICENSE | 21 - node_modules/is-equal-shallow/README.md | 90 - node_modules/is-equal-shallow/index.js | 27 - node_modules/is-equal-shallow/package.json | 120 - node_modules/is-extendable/LICENSE | 21 - node_modules/is-extendable/README.md | 72 - node_modules/is-extendable/index.js | 13 - node_modules/is-extendable/package.json | 114 - node_modules/is-extglob/LICENSE | 21 - node_modules/is-extglob/README.md | 75 - node_modules/is-extglob/index.js | 11 - node_modules/is-extglob/package.json | 110 - node_modules/is-finite/index.js | 6 - node_modules/is-finite/license | 21 - node_modules/is-finite/package.json | 103 - node_modules/is-finite/readme.md | 28 - node_modules/is-fullwidth-code-point/index.js | 46 - node_modules/is-fullwidth-code-point/license | 21 - .../is-fullwidth-code-point/package.json | 110 - .../is-fullwidth-code-point/readme.md | 39 - node_modules/is-glob/LICENSE | 21 - node_modules/is-glob/README.md | 105 - node_modules/is-glob/index.js | 14 - node_modules/is-glob/package.json | 126 - node_modules/is-number/LICENSE | 21 - node_modules/is-number/README.md | 103 - node_modules/is-number/index.js | 19 - node_modules/is-number/package.json | 126 - node_modules/is-path-cwd/index.js | 6 - node_modules/is-path-cwd/package.json | 96 - node_modules/is-path-cwd/readme.md | 28 - node_modules/is-path-in-cwd/index.js | 6 - node_modules/is-path-in-cwd/license | 21 - node_modules/is-path-in-cwd/package.json | 70 - node_modules/is-path-in-cwd/readme.md | 31 - node_modules/is-path-inside/index.js | 14 - node_modules/is-path-inside/license | 21 - node_modules/is-path-inside/package.json | 69 - node_modules/is-path-inside/readme.md | 34 - node_modules/is-posix-bracket/LICENSE | 21 - node_modules/is-posix-bracket/README.md | 88 - node_modules/is-posix-bracket/index.js | 10 - node_modules/is-posix-bracket/package.json | 131 - node_modules/is-primitive/LICENSE | 21 - node_modules/is-primitive/README.md | 57 - node_modules/is-primitive/index.js | 13 - node_modules/is-primitive/package.json | 104 - node_modules/is-regexp/index.js | 4 - node_modules/is-regexp/package.json | 97 - node_modules/is-regexp/readme.md | 31 - .../is-supported-regexp-flag/index.js | 12 - node_modules/is-supported-regexp-flag/license | 21 - .../is-supported-regexp-flag/package.json | 67 - .../is-supported-regexp-flag/readme.md | 30 - node_modules/is-utf8/LICENSE | 9 - node_modules/is-utf8/README.md | 16 - node_modules/is-utf8/is-utf8.js | 76 - node_modules/is-utf8/package.json | 86 - node_modules/isarray/README.md | 54 - node_modules/isarray/build/build.js | 209 - node_modules/isarray/component.json | 19 - node_modules/isarray/index.js | 3 - node_modules/isarray/package.json | 87 - node_modules/isobject/LICENSE | 21 - node_modules/isobject/README.md | 112 - node_modules/isobject/index.js | 14 - .../isobject/node_modules/isarray/.npmignore | 1 - .../isobject/node_modules/isarray/.travis.yml | 4 - .../isobject/node_modules/isarray/Makefile | 6 - .../isobject/node_modules/isarray/README.md | 60 - .../node_modules/isarray/component.json | 19 - .../isobject/node_modules/isarray/index.js | 5 - .../node_modules/isarray/package.json | 104 - .../isobject/node_modules/isarray/test.js | 20 - node_modules/isobject/package.json | 137 - .../js-base64/.attic/test-moment/dankogai.js | 44 - .../js-base64/.attic/test-moment/es5.js | 24 - .../js-base64/.attic/test-moment/es6.js | 25 - .../js-base64/.attic/test-moment/index.html | 40 - .../js-base64/.attic/test-moment/large.js | 25 - .../js-base64/.attic/test-moment/moment.js | 4535 ---- .../js-base64/.attic/test-moment/yoshinoya.js | 19 - node_modules/js-base64/1x1.png | Bin 68 -> 0 bytes node_modules/js-base64/LICENSE.md | 27 - node_modules/js-base64/README.md | 94 - node_modules/js-base64/base64.html | 47 - node_modules/js-base64/base64.js | 231 - node_modules/js-base64/base64.min.js | 1 - node_modules/js-base64/bower.json | 18 - node_modules/js-base64/package.js | 9 - node_modules/js-base64/package.json | 67 - node_modules/js-base64/test/dankogai.js | 44 - node_modules/js-base64/test/es5.js | 24 - node_modules/js-base64/test/index.html | 39 - node_modules/js-base64/test/large.js | 25 - node_modules/js-base64/test/yoshinoya.js | 19 - node_modules/js-yaml/CHANGELOG.md | 476 - node_modules/js-yaml/LICENSE | 21 - node_modules/js-yaml/README.md | 313 - node_modules/js-yaml/bin/js-yaml.js | 132 - node_modules/js-yaml/dist/js-yaml.js | 3917 ---- node_modules/js-yaml/dist/js-yaml.min.js | 1 - node_modules/js-yaml/index.js | 7 - node_modules/js-yaml/lib/js-yaml.js | 39 - node_modules/js-yaml/lib/js-yaml/common.js | 59 - node_modules/js-yaml/lib/js-yaml/dumper.js | 825 - node_modules/js-yaml/lib/js-yaml/exception.js | 43 - node_modules/js-yaml/lib/js-yaml/loader.js | 1598 -- node_modules/js-yaml/lib/js-yaml/mark.js | 76 - node_modules/js-yaml/lib/js-yaml/schema.js | 108 - .../js-yaml/lib/js-yaml/schema/core.js | 18 - .../lib/js-yaml/schema/default_full.js | 25 - .../lib/js-yaml/schema/default_safe.js | 28 - .../js-yaml/lib/js-yaml/schema/failsafe.js | 17 - .../js-yaml/lib/js-yaml/schema/json.js | 25 - node_modules/js-yaml/lib/js-yaml/type.js | 61 - .../js-yaml/lib/js-yaml/type/binary.js | 138 - node_modules/js-yaml/lib/js-yaml/type/bool.js | 35 - .../js-yaml/lib/js-yaml/type/float.js | 116 - node_modules/js-yaml/lib/js-yaml/type/int.js | 173 - .../js-yaml/lib/js-yaml/type/js/function.js | 92 - .../js-yaml/lib/js-yaml/type/js/regexp.js | 60 - .../js-yaml/lib/js-yaml/type/js/undefined.js | 28 - node_modules/js-yaml/lib/js-yaml/type/map.js | 8 - .../js-yaml/lib/js-yaml/type/merge.js | 12 - node_modules/js-yaml/lib/js-yaml/type/null.js | 34 - node_modules/js-yaml/lib/js-yaml/type/omap.js | 44 - .../js-yaml/lib/js-yaml/type/pairs.js | 53 - node_modules/js-yaml/lib/js-yaml/type/seq.js | 8 - node_modules/js-yaml/lib/js-yaml/type/set.js | 29 - node_modules/js-yaml/lib/js-yaml/type/str.js | 8 - .../js-yaml/lib/js-yaml/type/timestamp.js | 88 - node_modules/js-yaml/package.json | 93 - .../json-schema-traverse/.eslintrc.yml | 27 - node_modules/json-schema-traverse/.travis.yml | 8 - node_modules/json-schema-traverse/LICENSE | 21 - node_modules/json-schema-traverse/README.md | 83 - node_modules/json-schema-traverse/index.js | 89 - .../json-schema-traverse/package.json | 70 - .../json-schema-traverse/spec/.eslintrc.yml | 6 - .../spec/fixtures/schema.js | 125 - .../json-schema-traverse/spec/index.spec.js | 171 - node_modules/jsonfilter/.npmignore | 1 - node_modules/jsonfilter/cli.js | 12 - node_modules/jsonfilter/collaborators.md | 8 - node_modules/jsonfilter/index.js | 37 - node_modules/jsonfilter/package.json | 99 - node_modules/jsonfilter/readme.md | 76 - node_modules/jsonfilter/test.json | 2 - node_modules/jsonparse/LICENSE | 24 - node_modules/jsonparse/README.markdown | 11 - node_modules/jsonparse/bench.js | 26 - .../jsonparse/examples/twitterfeed.js | 30 - node_modules/jsonparse/jsonparse.js | 401 - node_modules/jsonparse/package.json | 92 - node_modules/jsonparse/samplejson/basic.json | 167 - node_modules/jsonparse/samplejson/basic2.json | 180 - node_modules/kind-of/LICENSE | 21 - node_modules/kind-of/README.md | 261 - node_modules/kind-of/index.js | 116 - node_modules/kind-of/package.json | 180 - .../known-css-properties/.eslintrc.js | 10 - node_modules/known-css-properties/.npmignore | 2 - node_modules/known-css-properties/README.md | 42 - .../known-css-properties/data/all.json | 1019 - node_modules/known-css-properties/index.js | 1 - .../known-css-properties/package.json | 67 - node_modules/known-css-properties/yarn.lock | 834 - node_modules/lcid/index.js | 22 - node_modules/lcid/lcid.json | 203 - node_modules/lcid/license | 21 - node_modules/lcid/package.json | 109 - node_modules/lcid/readme.md | 35 - node_modules/ldjson-stream/.npmignore | 1 - node_modules/ldjson-stream/index.js | 32 - node_modules/ldjson-stream/package.json | 83 - node_modules/ldjson-stream/readme.md | 55 - node_modules/ldjson-stream/test.js | 35 - node_modules/load-json-file/index.js | 21 - node_modules/load-json-file/license | 21 - node_modules/load-json-file/package.json | 109 - node_modules/load-json-file/readme.md | 45 - node_modules/lodash/LICENSE | 47 - node_modules/lodash/README.md | 39 - node_modules/lodash/_DataView.js | 7 - node_modules/lodash/_Hash.js | 32 - node_modules/lodash/_LazyWrapper.js | 28 - node_modules/lodash/_ListCache.js | 32 - node_modules/lodash/_LodashWrapper.js | 22 - node_modules/lodash/_Map.js | 7 - node_modules/lodash/_MapCache.js | 32 - node_modules/lodash/_Promise.js | 7 - node_modules/lodash/_Set.js | 7 - node_modules/lodash/_SetCache.js | 27 - node_modules/lodash/_Stack.js | 27 - node_modules/lodash/_Symbol.js | 6 - node_modules/lodash/_Uint8Array.js | 6 - node_modules/lodash/_WeakMap.js | 7 - node_modules/lodash/_apply.js | 21 - node_modules/lodash/_arrayAggregator.js | 22 - node_modules/lodash/_arrayEach.js | 22 - node_modules/lodash/_arrayEachRight.js | 21 - node_modules/lodash/_arrayEvery.js | 23 - node_modules/lodash/_arrayFilter.js | 25 - node_modules/lodash/_arrayIncludes.js | 17 - node_modules/lodash/_arrayIncludesWith.js | 22 - node_modules/lodash/_arrayLikeKeys.js | 49 - node_modules/lodash/_arrayMap.js | 21 - node_modules/lodash/_arrayPush.js | 20 - node_modules/lodash/_arrayReduce.js | 26 - node_modules/lodash/_arrayReduceRight.js | 24 - node_modules/lodash/_arraySample.js | 15 - node_modules/lodash/_arraySampleSize.js | 17 - node_modules/lodash/_arrayShuffle.js | 15 - node_modules/lodash/_arraySome.js | 23 - node_modules/lodash/_asciiSize.js | 12 - node_modules/lodash/_asciiToArray.js | 12 - node_modules/lodash/_asciiWords.js | 15 - node_modules/lodash/_assignMergeValue.js | 20 - node_modules/lodash/_assignValue.js | 28 - node_modules/lodash/_assocIndexOf.js | 21 - node_modules/lodash/_baseAggregator.js | 21 - node_modules/lodash/_baseAssign.js | 17 - node_modules/lodash/_baseAssignIn.js | 17 - node_modules/lodash/_baseAssignValue.js | 25 - node_modules/lodash/_baseAt.js | 23 - node_modules/lodash/_baseClamp.js | 22 - node_modules/lodash/_baseClone.js | 171 - node_modules/lodash/_baseConforms.js | 18 - node_modules/lodash/_baseConformsTo.js | 27 - node_modules/lodash/_baseCreate.js | 30 - node_modules/lodash/_baseDelay.js | 21 - node_modules/lodash/_baseDifference.js | 67 - node_modules/lodash/_baseEach.js | 14 - node_modules/lodash/_baseEachRight.js | 14 - node_modules/lodash/_baseEvery.js | 21 - node_modules/lodash/_baseExtremum.js | 32 - node_modules/lodash/_baseFill.js | 32 - node_modules/lodash/_baseFilter.js | 21 - node_modules/lodash/_baseFindIndex.js | 24 - node_modules/lodash/_baseFindKey.js | 23 - node_modules/lodash/_baseFlatten.js | 38 - node_modules/lodash/_baseFor.js | 16 - node_modules/lodash/_baseForOwn.js | 16 - node_modules/lodash/_baseForOwnRight.js | 16 - node_modules/lodash/_baseForRight.js | 15 - node_modules/lodash/_baseFunctions.js | 19 - node_modules/lodash/_baseGet.js | 24 - node_modules/lodash/_baseGetAllKeys.js | 20 - node_modules/lodash/_baseGetTag.js | 28 - node_modules/lodash/_baseGt.js | 14 - node_modules/lodash/_baseHas.js | 19 - node_modules/lodash/_baseHasIn.js | 13 - node_modules/lodash/_baseInRange.js | 18 - node_modules/lodash/_baseIndexOf.js | 20 - node_modules/lodash/_baseIndexOfWith.js | 23 - node_modules/lodash/_baseIntersection.js | 74 - node_modules/lodash/_baseInverter.js | 21 - node_modules/lodash/_baseInvoke.js | 24 - node_modules/lodash/_baseIsArguments.js | 18 - node_modules/lodash/_baseIsArrayBuffer.js | 17 - node_modules/lodash/_baseIsDate.js | 18 - node_modules/lodash/_baseIsEqual.js | 28 - node_modules/lodash/_baseIsEqualDeep.js | 83 - node_modules/lodash/_baseIsMap.js | 18 - node_modules/lodash/_baseIsMatch.js | 62 - node_modules/lodash/_baseIsNaN.js | 12 - node_modules/lodash/_baseIsNative.js | 47 - node_modules/lodash/_baseIsRegExp.js | 18 - node_modules/lodash/_baseIsSet.js | 18 - node_modules/lodash/_baseIsTypedArray.js | 60 - node_modules/lodash/_baseIteratee.js | 31 - node_modules/lodash/_baseKeys.js | 30 - node_modules/lodash/_baseKeysIn.js | 33 - node_modules/lodash/_baseLodash.js | 10 - node_modules/lodash/_baseLt.js | 14 - node_modules/lodash/_baseMap.js | 22 - node_modules/lodash/_baseMatches.js | 22 - node_modules/lodash/_baseMatchesProperty.js | 33 - node_modules/lodash/_baseMean.js | 20 - node_modules/lodash/_baseMerge.js | 42 - node_modules/lodash/_baseMergeDeep.js | 94 - node_modules/lodash/_baseNth.js | 20 - node_modules/lodash/_baseOrderBy.js | 34 - node_modules/lodash/_basePick.js | 19 - node_modules/lodash/_basePickBy.js | 30 - node_modules/lodash/_baseProperty.js | 14 - node_modules/lodash/_basePropertyDeep.js | 16 - node_modules/lodash/_basePropertyOf.js | 14 - node_modules/lodash/_basePullAll.js | 51 - node_modules/lodash/_basePullAt.js | 37 - node_modules/lodash/_baseRandom.js | 18 - node_modules/lodash/_baseRange.js | 28 - node_modules/lodash/_baseReduce.js | 23 - node_modules/lodash/_baseRepeat.js | 35 - node_modules/lodash/_baseRest.js | 17 - node_modules/lodash/_baseSample.js | 15 - node_modules/lodash/_baseSampleSize.js | 18 - node_modules/lodash/_baseSet.js | 47 - node_modules/lodash/_baseSetData.js | 17 - node_modules/lodash/_baseSetToString.js | 22 - node_modules/lodash/_baseShuffle.js | 15 - node_modules/lodash/_baseSlice.js | 31 - node_modules/lodash/_baseSome.js | 22 - node_modules/lodash/_baseSortBy.js | 21 - node_modules/lodash/_baseSortedIndex.js | 42 - node_modules/lodash/_baseSortedIndexBy.js | 64 - node_modules/lodash/_baseSortedUniq.js | 30 - node_modules/lodash/_baseSum.js | 24 - node_modules/lodash/_baseTimes.js | 20 - node_modules/lodash/_baseToNumber.js | 24 - node_modules/lodash/_baseToPairs.js | 18 - node_modules/lodash/_baseToString.js | 37 - node_modules/lodash/_baseUnary.js | 14 - node_modules/lodash/_baseUniq.js | 72 - node_modules/lodash/_baseUnset.js | 20 - node_modules/lodash/_baseUpdate.js | 18 - node_modules/lodash/_baseValues.js | 19 - node_modules/lodash/_baseWhile.js | 26 - node_modules/lodash/_baseWrapperValue.js | 25 - node_modules/lodash/_baseXor.js | 36 - node_modules/lodash/_baseZipObject.js | 23 - node_modules/lodash/_cacheHas.js | 13 - node_modules/lodash/_castArrayLikeObject.js | 14 - node_modules/lodash/_castFunction.js | 14 - node_modules/lodash/_castPath.js | 21 - node_modules/lodash/_castRest.js | 14 - node_modules/lodash/_castSlice.js | 18 - node_modules/lodash/_charsEndIndex.js | 19 - node_modules/lodash/_charsStartIndex.js | 20 - node_modules/lodash/_cloneArrayBuffer.js | 16 - node_modules/lodash/_cloneBuffer.js | 35 - node_modules/lodash/_cloneDataView.js | 16 - node_modules/lodash/_cloneRegExp.js | 17 - node_modules/lodash/_cloneSymbol.js | 18 - node_modules/lodash/_cloneTypedArray.js | 16 - node_modules/lodash/_compareAscending.js | 41 - node_modules/lodash/_compareMultiple.js | 44 - node_modules/lodash/_composeArgs.js | 39 - node_modules/lodash/_composeArgsRight.js | 41 - node_modules/lodash/_copyArray.js | 20 - node_modules/lodash/_copyObject.js | 40 - node_modules/lodash/_copySymbols.js | 16 - node_modules/lodash/_copySymbolsIn.js | 16 - node_modules/lodash/_coreJsData.js | 6 - node_modules/lodash/_countHolders.js | 21 - node_modules/lodash/_createAggregator.js | 23 - node_modules/lodash/_createAssigner.js | 37 - node_modules/lodash/_createBaseEach.js | 32 - node_modules/lodash/_createBaseFor.js | 25 - node_modules/lodash/_createBind.js | 28 - node_modules/lodash/_createCaseFirst.js | 33 - node_modules/lodash/_createCompounder.js | 24 - node_modules/lodash/_createCtor.js | 37 - node_modules/lodash/_createCurry.js | 46 - node_modules/lodash/_createFind.js | 25 - node_modules/lodash/_createFlow.js | 78 - node_modules/lodash/_createHybrid.js | 92 - node_modules/lodash/_createInverter.js | 17 - node_modules/lodash/_createMathOperation.js | 38 - node_modules/lodash/_createOver.js | 27 - node_modules/lodash/_createPadding.js | 33 - node_modules/lodash/_createPartial.js | 43 - node_modules/lodash/_createRange.js | 30 - node_modules/lodash/_createRecurry.js | 56 - .../lodash/_createRelationalOperation.js | 20 - node_modules/lodash/_createRound.js | 33 - node_modules/lodash/_createSet.js | 19 - node_modules/lodash/_createToPairs.js | 30 - node_modules/lodash/_createWrap.js | 106 - .../lodash/_customDefaultsAssignIn.js | 29 - node_modules/lodash/_customDefaultsMerge.js | 28 - node_modules/lodash/_customOmitClone.js | 16 - node_modules/lodash/_deburrLetter.js | 71 - node_modules/lodash/_defineProperty.js | 11 - node_modules/lodash/_equalArrays.js | 83 - node_modules/lodash/_equalByTag.js | 112 - node_modules/lodash/_equalObjects.js | 89 - node_modules/lodash/_escapeHtmlChar.js | 21 - node_modules/lodash/_escapeStringChar.js | 22 - node_modules/lodash/_flatRest.js | 16 - node_modules/lodash/_freeGlobal.js | 4 - node_modules/lodash/_getAllKeys.js | 16 - node_modules/lodash/_getAllKeysIn.js | 17 - node_modules/lodash/_getData.js | 15 - node_modules/lodash/_getFuncName.js | 31 - node_modules/lodash/_getHolder.js | 13 - node_modules/lodash/_getMapData.js | 18 - node_modules/lodash/_getMatchData.js | 24 - node_modules/lodash/_getNative.js | 17 - node_modules/lodash/_getPrototype.js | 6 - node_modules/lodash/_getRawTag.js | 46 - node_modules/lodash/_getSymbols.js | 30 - node_modules/lodash/_getSymbolsIn.js | 25 - node_modules/lodash/_getTag.js | 58 - node_modules/lodash/_getValue.js | 13 - node_modules/lodash/_getView.js | 33 - node_modules/lodash/_getWrapDetails.js | 17 - node_modules/lodash/_hasPath.js | 39 - node_modules/lodash/_hasUnicode.js | 26 - node_modules/lodash/_hasUnicodeWord.js | 15 - node_modules/lodash/_hashClear.js | 15 - node_modules/lodash/_hashDelete.js | 17 - node_modules/lodash/_hashGet.js | 30 - node_modules/lodash/_hashHas.js | 23 - node_modules/lodash/_hashSet.js | 23 - node_modules/lodash/_initCloneArray.js | 26 - node_modules/lodash/_initCloneByTag.js | 77 - node_modules/lodash/_initCloneObject.js | 18 - node_modules/lodash/_insertWrapDetails.js | 23 - node_modules/lodash/_isFlattenable.js | 20 - node_modules/lodash/_isIndex.js | 25 - node_modules/lodash/_isIterateeCall.js | 30 - node_modules/lodash/_isKey.js | 29 - node_modules/lodash/_isKeyable.js | 15 - node_modules/lodash/_isLaziable.js | 28 - node_modules/lodash/_isMaskable.js | 14 - node_modules/lodash/_isMasked.js | 20 - node_modules/lodash/_isPrototype.js | 18 - node_modules/lodash/_isStrictComparable.js | 15 - node_modules/lodash/_iteratorToArray.js | 18 - node_modules/lodash/_lazyClone.js | 23 - node_modules/lodash/_lazyReverse.js | 23 - node_modules/lodash/_lazyValue.js | 69 - node_modules/lodash/_listCacheClear.js | 13 - node_modules/lodash/_listCacheDelete.js | 35 - node_modules/lodash/_listCacheGet.js | 19 - node_modules/lodash/_listCacheHas.js | 16 - node_modules/lodash/_listCacheSet.js | 26 - node_modules/lodash/_mapCacheClear.js | 21 - node_modules/lodash/_mapCacheDelete.js | 18 - node_modules/lodash/_mapCacheGet.js | 16 - node_modules/lodash/_mapCacheHas.js | 16 - node_modules/lodash/_mapCacheSet.js | 22 - node_modules/lodash/_mapToArray.js | 18 - .../lodash/_matchesStrictComparable.js | 20 - node_modules/lodash/_memoizeCapped.js | 26 - node_modules/lodash/_mergeData.js | 90 - node_modules/lodash/_metaMap.js | 6 - node_modules/lodash/_nativeCreate.js | 6 - node_modules/lodash/_nativeKeys.js | 6 - node_modules/lodash/_nativeKeysIn.js | 20 - node_modules/lodash/_nodeUtil.js | 30 - node_modules/lodash/_objectToString.js | 22 - node_modules/lodash/_overArg.js | 15 - node_modules/lodash/_overRest.js | 36 - node_modules/lodash/_parent.js | 16 - node_modules/lodash/_reEscape.js | 4 - node_modules/lodash/_reEvaluate.js | 4 - node_modules/lodash/_reInterpolate.js | 4 - node_modules/lodash/_realNames.js | 4 - node_modules/lodash/_reorder.js | 29 - node_modules/lodash/_replaceHolders.js | 29 - node_modules/lodash/_root.js | 9 - node_modules/lodash/_safeGet.js | 17 - node_modules/lodash/_setCacheAdd.js | 19 - node_modules/lodash/_setCacheHas.js | 14 - node_modules/lodash/_setData.js | 20 - node_modules/lodash/_setToArray.js | 18 - node_modules/lodash/_setToPairs.js | 18 - node_modules/lodash/_setToString.js | 14 - node_modules/lodash/_setWrapToString.js | 21 - node_modules/lodash/_shortOut.js | 37 - node_modules/lodash/_shuffleSelf.js | 28 - node_modules/lodash/_stackClear.js | 15 - node_modules/lodash/_stackDelete.js | 18 - node_modules/lodash/_stackGet.js | 14 - node_modules/lodash/_stackHas.js | 14 - node_modules/lodash/_stackSet.js | 34 - node_modules/lodash/_strictIndexOf.js | 23 - node_modules/lodash/_strictLastIndexOf.js | 21 - node_modules/lodash/_stringSize.js | 18 - node_modules/lodash/_stringToArray.js | 18 - node_modules/lodash/_stringToPath.js | 27 - node_modules/lodash/_toKey.js | 21 - node_modules/lodash/_toSource.js | 26 - node_modules/lodash/_unescapeHtmlChar.js | 21 - node_modules/lodash/_unicodeSize.js | 44 - node_modules/lodash/_unicodeToArray.js | 40 - node_modules/lodash/_unicodeWords.js | 69 - node_modules/lodash/_updateWrapDetails.js | 46 - node_modules/lodash/_wrapperClone.js | 23 - node_modules/lodash/add.js | 22 - node_modules/lodash/after.js | 42 - node_modules/lodash/array.js | 67 - node_modules/lodash/ary.js | 29 - node_modules/lodash/assign.js | 58 - node_modules/lodash/assignIn.js | 40 - node_modules/lodash/assignInWith.js | 38 - node_modules/lodash/assignWith.js | 37 - node_modules/lodash/at.js | 23 - node_modules/lodash/attempt.js | 35 - node_modules/lodash/before.js | 40 - node_modules/lodash/bind.js | 57 - node_modules/lodash/bindAll.js | 41 - node_modules/lodash/bindKey.js | 68 - node_modules/lodash/camelCase.js | 29 - node_modules/lodash/capitalize.js | 23 - node_modules/lodash/castArray.js | 44 - node_modules/lodash/ceil.js | 26 - node_modules/lodash/chain.js | 38 - node_modules/lodash/chunk.js | 50 - node_modules/lodash/clamp.js | 39 - node_modules/lodash/clone.js | 36 - node_modules/lodash/cloneDeep.js | 29 - node_modules/lodash/cloneDeepWith.js | 40 - node_modules/lodash/cloneWith.js | 42 - node_modules/lodash/collection.js | 30 - node_modules/lodash/commit.js | 33 - node_modules/lodash/compact.js | 31 - node_modules/lodash/concat.js | 43 - node_modules/lodash/cond.js | 60 - node_modules/lodash/conforms.js | 35 - node_modules/lodash/conformsTo.js | 32 - node_modules/lodash/constant.js | 26 - node_modules/lodash/core.js | 3854 ---- node_modules/lodash/core.min.js | 29 - node_modules/lodash/countBy.js | 40 - node_modules/lodash/create.js | 43 - node_modules/lodash/curry.js | 57 - node_modules/lodash/curryRight.js | 54 - node_modules/lodash/date.js | 3 - node_modules/lodash/debounce.js | 190 - node_modules/lodash/deburr.js | 45 - node_modules/lodash/defaultTo.js | 25 - node_modules/lodash/defaults.js | 64 - node_modules/lodash/defaultsDeep.js | 30 - node_modules/lodash/defer.js | 26 - node_modules/lodash/delay.js | 28 - node_modules/lodash/difference.js | 33 - node_modules/lodash/differenceBy.js | 44 - node_modules/lodash/differenceWith.js | 40 - node_modules/lodash/divide.js | 22 - node_modules/lodash/drop.js | 38 - node_modules/lodash/dropRight.js | 39 - node_modules/lodash/dropRightWhile.js | 45 - node_modules/lodash/dropWhile.js | 45 - node_modules/lodash/each.js | 1 - node_modules/lodash/eachRight.js | 1 - node_modules/lodash/endsWith.js | 43 - node_modules/lodash/entries.js | 1 - node_modules/lodash/entriesIn.js | 1 - node_modules/lodash/eq.js | 37 - node_modules/lodash/escape.js | 43 - node_modules/lodash/escapeRegExp.js | 32 - node_modules/lodash/every.js | 56 - node_modules/lodash/extend.js | 1 - node_modules/lodash/extendWith.js | 1 - node_modules/lodash/fill.js | 45 - node_modules/lodash/filter.js | 48 - node_modules/lodash/find.js | 42 - node_modules/lodash/findIndex.js | 55 - node_modules/lodash/findKey.js | 44 - node_modules/lodash/findLast.js | 25 - node_modules/lodash/findLastIndex.js | 59 - node_modules/lodash/findLastKey.js | 44 - node_modules/lodash/first.js | 1 - node_modules/lodash/flatMap.js | 29 - node_modules/lodash/flatMapDeep.js | 31 - node_modules/lodash/flatMapDepth.js | 31 - node_modules/lodash/flatten.js | 22 - node_modules/lodash/flattenDeep.js | 25 - node_modules/lodash/flattenDepth.js | 33 - node_modules/lodash/flip.js | 28 - node_modules/lodash/floor.js | 26 - node_modules/lodash/flow.js | 27 - node_modules/lodash/flowRight.js | 26 - node_modules/lodash/forEach.js | 41 - node_modules/lodash/forEachRight.js | 31 - node_modules/lodash/forIn.js | 39 - node_modules/lodash/forInRight.js | 37 - node_modules/lodash/forOwn.js | 36 - node_modules/lodash/forOwnRight.js | 34 - node_modules/lodash/fp.js | 2 - node_modules/lodash/fp/F.js | 1 - node_modules/lodash/fp/T.js | 1 - node_modules/lodash/fp/__.js | 1 - node_modules/lodash/fp/_baseConvert.js | 569 - node_modules/lodash/fp/_convertBrowser.js | 18 - node_modules/lodash/fp/_falseOptions.js | 7 - node_modules/lodash/fp/_mapping.js | 358 - node_modules/lodash/fp/_util.js | 16 - node_modules/lodash/fp/add.js | 5 - node_modules/lodash/fp/after.js | 5 - node_modules/lodash/fp/all.js | 1 - node_modules/lodash/fp/allPass.js | 1 - node_modules/lodash/fp/always.js | 1 - node_modules/lodash/fp/any.js | 1 - node_modules/lodash/fp/anyPass.js | 1 - node_modules/lodash/fp/apply.js | 1 - node_modules/lodash/fp/array.js | 2 - node_modules/lodash/fp/ary.js | 5 - node_modules/lodash/fp/assign.js | 5 - node_modules/lodash/fp/assignAll.js | 5 - node_modules/lodash/fp/assignAllWith.js | 5 - node_modules/lodash/fp/assignIn.js | 5 - node_modules/lodash/fp/assignInAll.js | 5 - node_modules/lodash/fp/assignInAllWith.js | 5 - node_modules/lodash/fp/assignInWith.js | 5 - node_modules/lodash/fp/assignWith.js | 5 - node_modules/lodash/fp/assoc.js | 1 - node_modules/lodash/fp/assocPath.js | 1 - node_modules/lodash/fp/at.js | 5 - node_modules/lodash/fp/attempt.js | 5 - node_modules/lodash/fp/before.js | 5 - node_modules/lodash/fp/bind.js | 5 - node_modules/lodash/fp/bindAll.js | 5 - node_modules/lodash/fp/bindKey.js | 5 - node_modules/lodash/fp/camelCase.js | 5 - node_modules/lodash/fp/capitalize.js | 5 - node_modules/lodash/fp/castArray.js | 5 - node_modules/lodash/fp/ceil.js | 5 - node_modules/lodash/fp/chain.js | 5 - node_modules/lodash/fp/chunk.js | 5 - node_modules/lodash/fp/clamp.js | 5 - node_modules/lodash/fp/clone.js | 5 - node_modules/lodash/fp/cloneDeep.js | 5 - node_modules/lodash/fp/cloneDeepWith.js | 5 - node_modules/lodash/fp/cloneWith.js | 5 - node_modules/lodash/fp/collection.js | 2 - node_modules/lodash/fp/commit.js | 5 - node_modules/lodash/fp/compact.js | 5 - node_modules/lodash/fp/complement.js | 1 - node_modules/lodash/fp/compose.js | 1 - node_modules/lodash/fp/concat.js | 5 - node_modules/lodash/fp/cond.js | 5 - node_modules/lodash/fp/conforms.js | 1 - node_modules/lodash/fp/conformsTo.js | 5 - node_modules/lodash/fp/constant.js | 5 - node_modules/lodash/fp/contains.js | 1 - node_modules/lodash/fp/convert.js | 18 - node_modules/lodash/fp/countBy.js | 5 - node_modules/lodash/fp/create.js | 5 - node_modules/lodash/fp/curry.js | 5 - node_modules/lodash/fp/curryN.js | 5 - node_modules/lodash/fp/curryRight.js | 5 - node_modules/lodash/fp/curryRightN.js | 5 - node_modules/lodash/fp/date.js | 2 - node_modules/lodash/fp/debounce.js | 5 - node_modules/lodash/fp/deburr.js | 5 - node_modules/lodash/fp/defaultTo.js | 5 - node_modules/lodash/fp/defaults.js | 5 - node_modules/lodash/fp/defaultsAll.js | 5 - node_modules/lodash/fp/defaultsDeep.js | 5 - node_modules/lodash/fp/defaultsDeepAll.js | 5 - node_modules/lodash/fp/defer.js | 5 - node_modules/lodash/fp/delay.js | 5 - node_modules/lodash/fp/difference.js | 5 - node_modules/lodash/fp/differenceBy.js | 5 - node_modules/lodash/fp/differenceWith.js | 5 - node_modules/lodash/fp/dissoc.js | 1 - node_modules/lodash/fp/dissocPath.js | 1 - node_modules/lodash/fp/divide.js | 5 - node_modules/lodash/fp/drop.js | 5 - node_modules/lodash/fp/dropLast.js | 1 - node_modules/lodash/fp/dropLastWhile.js | 1 - node_modules/lodash/fp/dropRight.js | 5 - node_modules/lodash/fp/dropRightWhile.js | 5 - node_modules/lodash/fp/dropWhile.js | 5 - node_modules/lodash/fp/each.js | 1 - node_modules/lodash/fp/eachRight.js | 1 - node_modules/lodash/fp/endsWith.js | 5 - node_modules/lodash/fp/entries.js | 1 - node_modules/lodash/fp/entriesIn.js | 1 - node_modules/lodash/fp/eq.js | 5 - node_modules/lodash/fp/equals.js | 1 - node_modules/lodash/fp/escape.js | 5 - node_modules/lodash/fp/escapeRegExp.js | 5 - node_modules/lodash/fp/every.js | 5 - node_modules/lodash/fp/extend.js | 1 - node_modules/lodash/fp/extendAll.js | 1 - node_modules/lodash/fp/extendAllWith.js | 1 - node_modules/lodash/fp/extendWith.js | 1 - node_modules/lodash/fp/fill.js | 5 - node_modules/lodash/fp/filter.js | 5 - node_modules/lodash/fp/find.js | 5 - node_modules/lodash/fp/findFrom.js | 5 - node_modules/lodash/fp/findIndex.js | 5 - node_modules/lodash/fp/findIndexFrom.js | 5 - node_modules/lodash/fp/findKey.js | 5 - node_modules/lodash/fp/findLast.js | 5 - node_modules/lodash/fp/findLastFrom.js | 5 - node_modules/lodash/fp/findLastIndex.js | 5 - node_modules/lodash/fp/findLastIndexFrom.js | 5 - node_modules/lodash/fp/findLastKey.js | 5 - node_modules/lodash/fp/first.js | 1 - node_modules/lodash/fp/flatMap.js | 5 - node_modules/lodash/fp/flatMapDeep.js | 5 - node_modules/lodash/fp/flatMapDepth.js | 5 - node_modules/lodash/fp/flatten.js | 5 - node_modules/lodash/fp/flattenDeep.js | 5 - node_modules/lodash/fp/flattenDepth.js | 5 - node_modules/lodash/fp/flip.js | 5 - node_modules/lodash/fp/floor.js | 5 - node_modules/lodash/fp/flow.js | 5 - node_modules/lodash/fp/flowRight.js | 5 - node_modules/lodash/fp/forEach.js | 5 - node_modules/lodash/fp/forEachRight.js | 5 - node_modules/lodash/fp/forIn.js | 5 - node_modules/lodash/fp/forInRight.js | 5 - node_modules/lodash/fp/forOwn.js | 5 - node_modules/lodash/fp/forOwnRight.js | 5 - node_modules/lodash/fp/fromPairs.js | 5 - node_modules/lodash/fp/function.js | 2 - node_modules/lodash/fp/functions.js | 5 - node_modules/lodash/fp/functionsIn.js | 5 - node_modules/lodash/fp/get.js | 5 - node_modules/lodash/fp/getOr.js | 5 - node_modules/lodash/fp/groupBy.js | 5 - node_modules/lodash/fp/gt.js | 5 - node_modules/lodash/fp/gte.js | 5 - node_modules/lodash/fp/has.js | 5 - node_modules/lodash/fp/hasIn.js | 5 - node_modules/lodash/fp/head.js | 5 - node_modules/lodash/fp/identical.js | 1 - node_modules/lodash/fp/identity.js | 5 - node_modules/lodash/fp/inRange.js | 5 - node_modules/lodash/fp/includes.js | 5 - node_modules/lodash/fp/includesFrom.js | 5 - node_modules/lodash/fp/indexBy.js | 1 - node_modules/lodash/fp/indexOf.js | 5 - node_modules/lodash/fp/indexOfFrom.js | 5 - node_modules/lodash/fp/init.js | 1 - node_modules/lodash/fp/initial.js | 5 - node_modules/lodash/fp/intersection.js | 5 - node_modules/lodash/fp/intersectionBy.js | 5 - node_modules/lodash/fp/intersectionWith.js | 5 - node_modules/lodash/fp/invert.js | 5 - node_modules/lodash/fp/invertBy.js | 5 - node_modules/lodash/fp/invertObj.js | 1 - node_modules/lodash/fp/invoke.js | 5 - node_modules/lodash/fp/invokeArgs.js | 5 - node_modules/lodash/fp/invokeArgsMap.js | 5 - node_modules/lodash/fp/invokeMap.js | 5 - node_modules/lodash/fp/isArguments.js | 5 - node_modules/lodash/fp/isArray.js | 5 - node_modules/lodash/fp/isArrayBuffer.js | 5 - node_modules/lodash/fp/isArrayLike.js | 5 - node_modules/lodash/fp/isArrayLikeObject.js | 5 - node_modules/lodash/fp/isBoolean.js | 5 - node_modules/lodash/fp/isBuffer.js | 5 - node_modules/lodash/fp/isDate.js | 5 - node_modules/lodash/fp/isElement.js | 5 - node_modules/lodash/fp/isEmpty.js | 5 - node_modules/lodash/fp/isEqual.js | 5 - node_modules/lodash/fp/isEqualWith.js | 5 - node_modules/lodash/fp/isError.js | 5 - node_modules/lodash/fp/isFinite.js | 5 - node_modules/lodash/fp/isFunction.js | 5 - node_modules/lodash/fp/isInteger.js | 5 - node_modules/lodash/fp/isLength.js | 5 - node_modules/lodash/fp/isMap.js | 5 - node_modules/lodash/fp/isMatch.js | 5 - node_modules/lodash/fp/isMatchWith.js | 5 - node_modules/lodash/fp/isNaN.js | 5 - node_modules/lodash/fp/isNative.js | 5 - node_modules/lodash/fp/isNil.js | 5 - node_modules/lodash/fp/isNull.js | 5 - node_modules/lodash/fp/isNumber.js | 5 - node_modules/lodash/fp/isObject.js | 5 - node_modules/lodash/fp/isObjectLike.js | 5 - node_modules/lodash/fp/isPlainObject.js | 5 - node_modules/lodash/fp/isRegExp.js | 5 - node_modules/lodash/fp/isSafeInteger.js | 5 - node_modules/lodash/fp/isSet.js | 5 - node_modules/lodash/fp/isString.js | 5 - node_modules/lodash/fp/isSymbol.js | 5 - node_modules/lodash/fp/isTypedArray.js | 5 - node_modules/lodash/fp/isUndefined.js | 5 - node_modules/lodash/fp/isWeakMap.js | 5 - node_modules/lodash/fp/isWeakSet.js | 5 - node_modules/lodash/fp/iteratee.js | 5 - node_modules/lodash/fp/join.js | 5 - node_modules/lodash/fp/juxt.js | 1 - node_modules/lodash/fp/kebabCase.js | 5 - node_modules/lodash/fp/keyBy.js | 5 - node_modules/lodash/fp/keys.js | 5 - node_modules/lodash/fp/keysIn.js | 5 - node_modules/lodash/fp/lang.js | 2 - node_modules/lodash/fp/last.js | 5 - node_modules/lodash/fp/lastIndexOf.js | 5 - node_modules/lodash/fp/lastIndexOfFrom.js | 5 - node_modules/lodash/fp/lowerCase.js | 5 - node_modules/lodash/fp/lowerFirst.js | 5 - node_modules/lodash/fp/lt.js | 5 - node_modules/lodash/fp/lte.js | 5 - node_modules/lodash/fp/map.js | 5 - node_modules/lodash/fp/mapKeys.js | 5 - node_modules/lodash/fp/mapValues.js | 5 - node_modules/lodash/fp/matches.js | 1 - node_modules/lodash/fp/matchesProperty.js | 5 - node_modules/lodash/fp/math.js | 2 - node_modules/lodash/fp/max.js | 5 - node_modules/lodash/fp/maxBy.js | 5 - node_modules/lodash/fp/mean.js | 5 - node_modules/lodash/fp/meanBy.js | 5 - node_modules/lodash/fp/memoize.js | 5 - node_modules/lodash/fp/merge.js | 5 - node_modules/lodash/fp/mergeAll.js | 5 - node_modules/lodash/fp/mergeAllWith.js | 5 - node_modules/lodash/fp/mergeWith.js | 5 - node_modules/lodash/fp/method.js | 5 - node_modules/lodash/fp/methodOf.js | 5 - node_modules/lodash/fp/min.js | 5 - node_modules/lodash/fp/minBy.js | 5 - node_modules/lodash/fp/mixin.js | 5 - node_modules/lodash/fp/multiply.js | 5 - node_modules/lodash/fp/nAry.js | 1 - node_modules/lodash/fp/negate.js | 5 - node_modules/lodash/fp/next.js | 5 - node_modules/lodash/fp/noop.js | 5 - node_modules/lodash/fp/now.js | 5 - node_modules/lodash/fp/nth.js | 5 - node_modules/lodash/fp/nthArg.js | 5 - node_modules/lodash/fp/number.js | 2 - node_modules/lodash/fp/object.js | 2 - node_modules/lodash/fp/omit.js | 5 - node_modules/lodash/fp/omitAll.js | 1 - node_modules/lodash/fp/omitBy.js | 5 - node_modules/lodash/fp/once.js | 5 - node_modules/lodash/fp/orderBy.js | 5 - node_modules/lodash/fp/over.js | 5 - node_modules/lodash/fp/overArgs.js | 5 - node_modules/lodash/fp/overEvery.js | 5 - node_modules/lodash/fp/overSome.js | 5 - node_modules/lodash/fp/pad.js | 5 - node_modules/lodash/fp/padChars.js | 5 - node_modules/lodash/fp/padCharsEnd.js | 5 - node_modules/lodash/fp/padCharsStart.js | 5 - node_modules/lodash/fp/padEnd.js | 5 - node_modules/lodash/fp/padStart.js | 5 - node_modules/lodash/fp/parseInt.js | 5 - node_modules/lodash/fp/partial.js | 5 - node_modules/lodash/fp/partialRight.js | 5 - node_modules/lodash/fp/partition.js | 5 - node_modules/lodash/fp/path.js | 1 - node_modules/lodash/fp/pathEq.js | 1 - node_modules/lodash/fp/pathOr.js | 1 - node_modules/lodash/fp/paths.js | 1 - node_modules/lodash/fp/pick.js | 5 - node_modules/lodash/fp/pickAll.js | 1 - node_modules/lodash/fp/pickBy.js | 5 - node_modules/lodash/fp/pipe.js | 1 - node_modules/lodash/fp/placeholder.js | 6 - node_modules/lodash/fp/plant.js | 5 - node_modules/lodash/fp/pluck.js | 1 - node_modules/lodash/fp/prop.js | 1 - node_modules/lodash/fp/propEq.js | 1 - node_modules/lodash/fp/propOr.js | 1 - node_modules/lodash/fp/property.js | 1 - node_modules/lodash/fp/propertyOf.js | 5 - node_modules/lodash/fp/props.js | 1 - node_modules/lodash/fp/pull.js | 5 - node_modules/lodash/fp/pullAll.js | 5 - node_modules/lodash/fp/pullAllBy.js | 5 - node_modules/lodash/fp/pullAllWith.js | 5 - node_modules/lodash/fp/pullAt.js | 5 - node_modules/lodash/fp/random.js | 5 - node_modules/lodash/fp/range.js | 5 - node_modules/lodash/fp/rangeRight.js | 5 - node_modules/lodash/fp/rangeStep.js | 5 - node_modules/lodash/fp/rangeStepRight.js | 5 - node_modules/lodash/fp/rearg.js | 5 - node_modules/lodash/fp/reduce.js | 5 - node_modules/lodash/fp/reduceRight.js | 5 - node_modules/lodash/fp/reject.js | 5 - node_modules/lodash/fp/remove.js | 5 - node_modules/lodash/fp/repeat.js | 5 - node_modules/lodash/fp/replace.js | 5 - node_modules/lodash/fp/rest.js | 5 - node_modules/lodash/fp/restFrom.js | 5 - node_modules/lodash/fp/result.js | 5 - node_modules/lodash/fp/reverse.js | 5 - node_modules/lodash/fp/round.js | 5 - node_modules/lodash/fp/sample.js | 5 - node_modules/lodash/fp/sampleSize.js | 5 - node_modules/lodash/fp/seq.js | 2 - node_modules/lodash/fp/set.js | 5 - node_modules/lodash/fp/setWith.js | 5 - node_modules/lodash/fp/shuffle.js | 5 - node_modules/lodash/fp/size.js | 5 - node_modules/lodash/fp/slice.js | 5 - node_modules/lodash/fp/snakeCase.js | 5 - node_modules/lodash/fp/some.js | 5 - node_modules/lodash/fp/sortBy.js | 5 - node_modules/lodash/fp/sortedIndex.js | 5 - node_modules/lodash/fp/sortedIndexBy.js | 5 - node_modules/lodash/fp/sortedIndexOf.js | 5 - node_modules/lodash/fp/sortedLastIndex.js | 5 - node_modules/lodash/fp/sortedLastIndexBy.js | 5 - node_modules/lodash/fp/sortedLastIndexOf.js | 5 - node_modules/lodash/fp/sortedUniq.js | 5 - node_modules/lodash/fp/sortedUniqBy.js | 5 - node_modules/lodash/fp/split.js | 5 - node_modules/lodash/fp/spread.js | 5 - node_modules/lodash/fp/spreadFrom.js | 5 - node_modules/lodash/fp/startCase.js | 5 - node_modules/lodash/fp/startsWith.js | 5 - node_modules/lodash/fp/string.js | 2 - node_modules/lodash/fp/stubArray.js | 5 - node_modules/lodash/fp/stubFalse.js | 5 - node_modules/lodash/fp/stubObject.js | 5 - node_modules/lodash/fp/stubString.js | 5 - node_modules/lodash/fp/stubTrue.js | 5 - node_modules/lodash/fp/subtract.js | 5 - node_modules/lodash/fp/sum.js | 5 - node_modules/lodash/fp/sumBy.js | 5 - node_modules/lodash/fp/symmetricDifference.js | 1 - .../lodash/fp/symmetricDifferenceBy.js | 1 - .../lodash/fp/symmetricDifferenceWith.js | 1 - node_modules/lodash/fp/tail.js | 5 - node_modules/lodash/fp/take.js | 5 - node_modules/lodash/fp/takeLast.js | 1 - node_modules/lodash/fp/takeLastWhile.js | 1 - node_modules/lodash/fp/takeRight.js | 5 - node_modules/lodash/fp/takeRightWhile.js | 5 - node_modules/lodash/fp/takeWhile.js | 5 - node_modules/lodash/fp/tap.js | 5 - node_modules/lodash/fp/template.js | 5 - node_modules/lodash/fp/templateSettings.js | 5 - node_modules/lodash/fp/throttle.js | 5 - node_modules/lodash/fp/thru.js | 5 - node_modules/lodash/fp/times.js | 5 - node_modules/lodash/fp/toArray.js | 5 - node_modules/lodash/fp/toFinite.js | 5 - node_modules/lodash/fp/toInteger.js | 5 - node_modules/lodash/fp/toIterator.js | 5 - node_modules/lodash/fp/toJSON.js | 5 - node_modules/lodash/fp/toLength.js | 5 - node_modules/lodash/fp/toLower.js | 5 - node_modules/lodash/fp/toNumber.js | 5 - node_modules/lodash/fp/toPairs.js | 5 - node_modules/lodash/fp/toPairsIn.js | 5 - node_modules/lodash/fp/toPath.js | 5 - node_modules/lodash/fp/toPlainObject.js | 5 - node_modules/lodash/fp/toSafeInteger.js | 5 - node_modules/lodash/fp/toString.js | 5 - node_modules/lodash/fp/toUpper.js | 5 - node_modules/lodash/fp/transform.js | 5 - node_modules/lodash/fp/trim.js | 5 - node_modules/lodash/fp/trimChars.js | 5 - node_modules/lodash/fp/trimCharsEnd.js | 5 - node_modules/lodash/fp/trimCharsStart.js | 5 - node_modules/lodash/fp/trimEnd.js | 5 - node_modules/lodash/fp/trimStart.js | 5 - node_modules/lodash/fp/truncate.js | 5 - node_modules/lodash/fp/unapply.js | 1 - node_modules/lodash/fp/unary.js | 5 - node_modules/lodash/fp/unescape.js | 5 - node_modules/lodash/fp/union.js | 5 - node_modules/lodash/fp/unionBy.js | 5 - node_modules/lodash/fp/unionWith.js | 5 - node_modules/lodash/fp/uniq.js | 5 - node_modules/lodash/fp/uniqBy.js | 5 - node_modules/lodash/fp/uniqWith.js | 5 - node_modules/lodash/fp/uniqueId.js | 5 - node_modules/lodash/fp/unnest.js | 1 - node_modules/lodash/fp/unset.js | 5 - node_modules/lodash/fp/unzip.js | 5 - node_modules/lodash/fp/unzipWith.js | 5 - node_modules/lodash/fp/update.js | 5 - node_modules/lodash/fp/updateWith.js | 5 - node_modules/lodash/fp/upperCase.js | 5 - node_modules/lodash/fp/upperFirst.js | 5 - node_modules/lodash/fp/useWith.js | 1 - node_modules/lodash/fp/util.js | 2 - node_modules/lodash/fp/value.js | 5 - node_modules/lodash/fp/valueOf.js | 5 - node_modules/lodash/fp/values.js | 5 - node_modules/lodash/fp/valuesIn.js | 5 - node_modules/lodash/fp/where.js | 1 - node_modules/lodash/fp/whereEq.js | 1 - node_modules/lodash/fp/without.js | 5 - node_modules/lodash/fp/words.js | 5 - node_modules/lodash/fp/wrap.js | 5 - node_modules/lodash/fp/wrapperAt.js | 5 - node_modules/lodash/fp/wrapperChain.js | 5 - node_modules/lodash/fp/wrapperLodash.js | 5 - node_modules/lodash/fp/wrapperReverse.js | 5 - node_modules/lodash/fp/wrapperValue.js | 5 - node_modules/lodash/fp/xor.js | 5 - node_modules/lodash/fp/xorBy.js | 5 - node_modules/lodash/fp/xorWith.js | 5 - node_modules/lodash/fp/zip.js | 5 - node_modules/lodash/fp/zipAll.js | 5 - node_modules/lodash/fp/zipObj.js | 1 - node_modules/lodash/fp/zipObject.js | 5 - node_modules/lodash/fp/zipObjectDeep.js | 5 - node_modules/lodash/fp/zipWith.js | 5 - node_modules/lodash/fromPairs.js | 28 - node_modules/lodash/function.js | 25 - node_modules/lodash/functions.js | 31 - node_modules/lodash/functionsIn.js | 31 - node_modules/lodash/get.js | 33 - node_modules/lodash/groupBy.js | 41 - node_modules/lodash/gt.js | 29 - node_modules/lodash/gte.js | 30 - node_modules/lodash/has.js | 35 - node_modules/lodash/hasIn.js | 34 - node_modules/lodash/head.js | 23 - node_modules/lodash/identity.js | 21 - node_modules/lodash/inRange.js | 55 - node_modules/lodash/includes.js | 53 - node_modules/lodash/index.js | 1 - node_modules/lodash/indexOf.js | 42 - node_modules/lodash/initial.js | 22 - node_modules/lodash/intersection.js | 30 - node_modules/lodash/intersectionBy.js | 45 - node_modules/lodash/intersectionWith.js | 41 - node_modules/lodash/invert.js | 42 - node_modules/lodash/invertBy.js | 56 - node_modules/lodash/invoke.js | 24 - node_modules/lodash/invokeMap.js | 41 - node_modules/lodash/isArguments.js | 36 - node_modules/lodash/isArray.js | 26 - node_modules/lodash/isArrayBuffer.js | 27 - node_modules/lodash/isArrayLike.js | 33 - node_modules/lodash/isArrayLikeObject.js | 33 - node_modules/lodash/isBoolean.js | 29 - node_modules/lodash/isBuffer.js | 38 - node_modules/lodash/isDate.js | 27 - node_modules/lodash/isElement.js | 25 - node_modules/lodash/isEmpty.js | 77 - node_modules/lodash/isEqual.js | 35 - node_modules/lodash/isEqualWith.js | 41 - node_modules/lodash/isError.js | 36 - node_modules/lodash/isFinite.js | 36 - node_modules/lodash/isFunction.js | 37 - node_modules/lodash/isInteger.js | 33 - node_modules/lodash/isLength.js | 35 - node_modules/lodash/isMap.js | 27 - node_modules/lodash/isMatch.js | 36 - node_modules/lodash/isMatchWith.js | 41 - node_modules/lodash/isNaN.js | 38 - node_modules/lodash/isNative.js | 40 - node_modules/lodash/isNil.js | 25 - node_modules/lodash/isNull.js | 22 - node_modules/lodash/isNumber.js | 38 - node_modules/lodash/isObject.js | 31 - node_modules/lodash/isObjectLike.js | 29 - node_modules/lodash/isPlainObject.js | 62 - node_modules/lodash/isRegExp.js | 27 - node_modules/lodash/isSafeInteger.js | 37 - node_modules/lodash/isSet.js | 27 - node_modules/lodash/isString.js | 30 - node_modules/lodash/isSymbol.js | 29 - node_modules/lodash/isTypedArray.js | 27 - node_modules/lodash/isUndefined.js | 22 - node_modules/lodash/isWeakMap.js | 28 - node_modules/lodash/isWeakSet.js | 28 - node_modules/lodash/iteratee.js | 53 - node_modules/lodash/join.js | 26 - node_modules/lodash/kebabCase.js | 28 - node_modules/lodash/keyBy.js | 36 - node_modules/lodash/keys.js | 37 - node_modules/lodash/keysIn.js | 32 - node_modules/lodash/lang.js | 58 - node_modules/lodash/last.js | 20 - node_modules/lodash/lastIndexOf.js | 46 - node_modules/lodash/lodash.js | 17107 ---------------- node_modules/lodash/lodash.min.js | 137 - node_modules/lodash/lowerCase.js | 27 - node_modules/lodash/lowerFirst.js | 22 - node_modules/lodash/lt.js | 29 - node_modules/lodash/lte.js | 30 - node_modules/lodash/map.js | 53 - node_modules/lodash/mapKeys.js | 36 - node_modules/lodash/mapValues.js | 43 - node_modules/lodash/matches.js | 39 - node_modules/lodash/matchesProperty.js | 37 - node_modules/lodash/math.js | 17 - node_modules/lodash/max.js | 29 - node_modules/lodash/maxBy.js | 34 - node_modules/lodash/mean.js | 22 - node_modules/lodash/meanBy.js | 31 - node_modules/lodash/memoize.js | 73 - node_modules/lodash/merge.js | 39 - node_modules/lodash/mergeWith.js | 39 - node_modules/lodash/method.js | 34 - node_modules/lodash/methodOf.js | 33 - node_modules/lodash/min.js | 29 - node_modules/lodash/minBy.js | 34 - node_modules/lodash/mixin.js | 74 - node_modules/lodash/multiply.js | 22 - node_modules/lodash/negate.js | 40 - node_modules/lodash/next.js | 35 - node_modules/lodash/noop.js | 17 - node_modules/lodash/now.js | 23 - node_modules/lodash/nth.js | 29 - node_modules/lodash/nthArg.js | 32 - node_modules/lodash/number.js | 5 - node_modules/lodash/object.js | 49 - node_modules/lodash/omit.js | 57 - node_modules/lodash/omitBy.js | 29 - node_modules/lodash/once.js | 25 - node_modules/lodash/orderBy.js | 47 - node_modules/lodash/over.js | 24 - node_modules/lodash/overArgs.js | 61 - node_modules/lodash/overEvery.js | 30 - node_modules/lodash/overSome.js | 30 - node_modules/lodash/package.json | 73 - node_modules/lodash/pad.js | 49 - node_modules/lodash/padEnd.js | 39 - node_modules/lodash/padStart.js | 39 - node_modules/lodash/parseInt.js | 43 - node_modules/lodash/partial.js | 50 - node_modules/lodash/partialRight.js | 49 - node_modules/lodash/partition.js | 43 - node_modules/lodash/pick.js | 25 - node_modules/lodash/pickBy.js | 37 - node_modules/lodash/plant.js | 48 - node_modules/lodash/property.js | 32 - node_modules/lodash/propertyOf.js | 30 - node_modules/lodash/pull.js | 29 - node_modules/lodash/pullAll.js | 29 - node_modules/lodash/pullAllBy.js | 33 - node_modules/lodash/pullAllWith.js | 32 - node_modules/lodash/pullAt.js | 43 - node_modules/lodash/random.js | 82 - node_modules/lodash/range.js | 46 - node_modules/lodash/rangeRight.js | 41 - node_modules/lodash/rearg.js | 33 - node_modules/lodash/reduce.js | 51 - node_modules/lodash/reduceRight.js | 36 - node_modules/lodash/reject.js | 46 - node_modules/lodash/remove.js | 53 - node_modules/lodash/repeat.js | 37 - node_modules/lodash/replace.js | 29 - node_modules/lodash/rest.js | 40 - node_modules/lodash/result.js | 56 - node_modules/lodash/reverse.js | 34 - node_modules/lodash/round.js | 26 - node_modules/lodash/sample.js | 24 - node_modules/lodash/sampleSize.js | 37 - node_modules/lodash/seq.js | 16 - node_modules/lodash/set.js | 35 - node_modules/lodash/setWith.js | 32 - node_modules/lodash/shuffle.js | 25 - node_modules/lodash/size.js | 46 - node_modules/lodash/slice.js | 37 - node_modules/lodash/snakeCase.js | 28 - node_modules/lodash/some.js | 51 - node_modules/lodash/sortBy.js | 48 - node_modules/lodash/sortedIndex.js | 24 - node_modules/lodash/sortedIndexBy.js | 33 - node_modules/lodash/sortedIndexOf.js | 31 - node_modules/lodash/sortedLastIndex.js | 25 - node_modules/lodash/sortedLastIndexBy.js | 33 - node_modules/lodash/sortedLastIndexOf.js | 31 - node_modules/lodash/sortedUniq.js | 24 - node_modules/lodash/sortedUniqBy.js | 26 - node_modules/lodash/split.js | 52 - node_modules/lodash/spread.js | 63 - node_modules/lodash/startCase.js | 29 - node_modules/lodash/startsWith.js | 39 - node_modules/lodash/string.js | 33 - node_modules/lodash/stubArray.js | 23 - node_modules/lodash/stubFalse.js | 18 - node_modules/lodash/stubObject.js | 23 - node_modules/lodash/stubString.js | 18 - node_modules/lodash/stubTrue.js | 18 - node_modules/lodash/subtract.js | 22 - node_modules/lodash/sum.js | 24 - node_modules/lodash/sumBy.js | 33 - node_modules/lodash/tail.js | 22 - node_modules/lodash/take.js | 37 - node_modules/lodash/takeRight.js | 39 - node_modules/lodash/takeRightWhile.js | 45 - node_modules/lodash/takeWhile.js | 45 - node_modules/lodash/tap.js | 29 - node_modules/lodash/template.js | 238 - node_modules/lodash/templateSettings.js | 67 - node_modules/lodash/throttle.js | 69 - node_modules/lodash/thru.js | 28 - node_modules/lodash/times.js | 51 - node_modules/lodash/toArray.js | 58 - node_modules/lodash/toFinite.js | 42 - node_modules/lodash/toInteger.js | 36 - node_modules/lodash/toIterator.js | 23 - node_modules/lodash/toJSON.js | 1 - node_modules/lodash/toLength.js | 38 - node_modules/lodash/toLower.js | 28 - node_modules/lodash/toNumber.js | 66 - node_modules/lodash/toPairs.js | 30 - node_modules/lodash/toPairsIn.js | 30 - node_modules/lodash/toPath.js | 33 - node_modules/lodash/toPlainObject.js | 32 - node_modules/lodash/toSafeInteger.js | 37 - node_modules/lodash/toString.js | 28 - node_modules/lodash/toUpper.js | 28 - node_modules/lodash/transform.js | 65 - node_modules/lodash/trim.js | 49 - node_modules/lodash/trimEnd.js | 43 - node_modules/lodash/trimStart.js | 43 - node_modules/lodash/truncate.js | 111 - node_modules/lodash/unary.js | 22 - node_modules/lodash/unescape.js | 34 - node_modules/lodash/union.js | 26 - node_modules/lodash/unionBy.js | 39 - node_modules/lodash/unionWith.js | 34 - node_modules/lodash/uniq.js | 25 - node_modules/lodash/uniqBy.js | 31 - node_modules/lodash/uniqWith.js | 28 - node_modules/lodash/uniqueId.js | 28 - node_modules/lodash/unset.js | 34 - node_modules/lodash/unzip.js | 45 - node_modules/lodash/unzipWith.js | 39 - node_modules/lodash/update.js | 35 - node_modules/lodash/updateWith.js | 33 - node_modules/lodash/upperCase.js | 27 - node_modules/lodash/upperFirst.js | 22 - node_modules/lodash/util.js | 34 - node_modules/lodash/value.js | 1 - node_modules/lodash/valueOf.js | 1 - node_modules/lodash/values.js | 34 - node_modules/lodash/valuesIn.js | 32 - node_modules/lodash/without.js | 31 - node_modules/lodash/words.js | 35 - node_modules/lodash/wrap.js | 30 - node_modules/lodash/wrapperAt.js | 48 - node_modules/lodash/wrapperChain.js | 34 - node_modules/lodash/wrapperLodash.js | 147 - node_modules/lodash/wrapperReverse.js | 44 - node_modules/lodash/wrapperValue.js | 21 - node_modules/lodash/xor.js | 28 - node_modules/lodash/xorBy.js | 39 - node_modules/lodash/xorWith.js | 34 - node_modules/lodash/zip.js | 22 - node_modules/lodash/zipObject.js | 24 - node_modules/lodash/zipObjectDeep.js | 23 - node_modules/lodash/zipWith.js | 32 - node_modules/log-symbols/index.js | 18 - node_modules/log-symbols/license | 21 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../log-symbols/node_modules/chalk/index.js | 116 - .../log-symbols/node_modules/chalk/license | 21 - .../node_modules/chalk/package.json | 114 - .../log-symbols/node_modules/chalk/readme.md | 213 - .../node_modules/supports-color/index.js | 50 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - node_modules/log-symbols/package.json | 114 - node_modules/log-symbols/readme.md | 39 - node_modules/loud-rejection/api.js | 11 - node_modules/loud-rejection/index.js | 36 - node_modules/loud-rejection/license | 21 - node_modules/loud-rejection/package.json | 130 - node_modules/loud-rejection/readme.md | 68 - node_modules/loud-rejection/register.js | 2 - node_modules/lru-cache/.npmignore | 1 - node_modules/lru-cache/.travis.yml | 8 - node_modules/lru-cache/CONTRIBUTORS | 14 - node_modules/lru-cache/LICENSE | 15 - node_modules/lru-cache/README.md | 132 - node_modules/lru-cache/lib/lru-cache.js | 356 - node_modules/lru-cache/package.json | 94 - node_modules/lru-cache/test/basic.js | 427 - node_modules/lru-cache/test/foreach.js | 130 - node_modules/lru-cache/test/memory-leak.js | 51 - node_modules/lru-cache/test/serialize.js | 224 - node_modules/map-obj/index.js | 13 - node_modules/map-obj/license | 21 - node_modules/map-obj/package.json | 101 - node_modules/map-obj/readme.md | 29 - node_modules/math-random/.npmignore | 1 - node_modules/math-random/.travis.yml | 6 - node_modules/math-random/browser.js | 17 - node_modules/math-random/node.js | 13 - node_modules/math-random/package.json | 58 - node_modules/math-random/readme.md | 26 - node_modules/math-random/test.js | 26 - node_modules/mathml-tag-names/LICENSE | 22 - node_modules/mathml-tag-names/index.json | 204 - node_modules/mathml-tag-names/package.json | 113 - node_modules/mathml-tag-names/readme.md | 92 - node_modules/meow/index.js | 82 - node_modules/meow/license | 21 - node_modules/meow/package.json | 121 - node_modules/meow/readme.md | 159 - node_modules/micromatch/LICENSE | 21 - node_modules/micromatch/README.md | 689 - node_modules/micromatch/index.js | 431 - node_modules/micromatch/lib/chars.js | 67 - node_modules/micromatch/lib/expand.js | 304 - node_modules/micromatch/lib/glob.js | 193 - node_modules/micromatch/lib/utils.js | 149 - node_modules/micromatch/package.json | 188 - node_modules/minimatch/LICENSE | 15 - node_modules/minimatch/README.md | 209 - node_modules/minimatch/minimatch.js | 923 - node_modules/minimatch/package.json | 100 - node_modules/minimist/.travis.yml | 8 - node_modules/minimist/LICENSE | 18 - node_modules/minimist/example/parse.js | 2 - node_modules/minimist/index.js | 236 - node_modules/minimist/package.json | 109 - node_modules/minimist/readme.markdown | 91 - node_modules/minimist/test/all_bool.js | 32 - node_modules/minimist/test/bool.js | 166 - node_modules/minimist/test/dash.js | 31 - node_modules/minimist/test/default_bool.js | 35 - node_modules/minimist/test/dotted.js | 22 - node_modules/minimist/test/kv_short.js | 16 - node_modules/minimist/test/long.js | 31 - node_modules/minimist/test/num.js | 36 - node_modules/minimist/test/parse.js | 197 - node_modules/minimist/test/parse_modified.js | 9 - node_modules/minimist/test/short.js | 67 - node_modules/minimist/test/stop_early.js | 15 - node_modules/minimist/test/unknown.js | 102 - node_modules/minimist/test/whitespace.js | 8 - node_modules/mkdirp/.travis.yml | 8 - node_modules/mkdirp/LICENSE | 21 - node_modules/mkdirp/bin/cmd.js | 33 - node_modules/mkdirp/bin/usage.txt | 12 - node_modules/mkdirp/examples/pow.js | 6 - node_modules/mkdirp/index.js | 98 - .../mkdirp/node_modules/minimist/.travis.yml | 4 - .../mkdirp/node_modules/minimist/LICENSE | 18 - .../node_modules/minimist/example/parse.js | 2 - .../mkdirp/node_modules/minimist/index.js | 187 - .../mkdirp/node_modules/minimist/package.json | 101 - .../node_modules/minimist/readme.markdown | 73 - node_modules/mkdirp/package.json | 93 - node_modules/mkdirp/readme.markdown | 100 - node_modules/ms/index.js | 152 - node_modules/ms/license.md | 21 - node_modules/ms/package.json | 109 - node_modules/ms/readme.md | 51 - node_modules/multimatch/index.js | 27 - node_modules/multimatch/license | 21 - node_modules/multimatch/package.json | 107 - node_modules/multimatch/readme.md | 62 - node_modules/normalize-package-data/AUTHORS | 4 - node_modules/normalize-package-data/LICENSE | 30 - node_modules/normalize-package-data/README.md | 106 - .../lib/extract_description.js | 14 - .../normalize-package-data/lib/fixer.js | 417 - .../lib/make_warning.js | 23 - .../normalize-package-data/lib/normalize.js | 39 - .../normalize-package-data/lib/safe_format.js | 9 - .../normalize-package-data/lib/typos.json | 25 - .../lib/warning_messages.json | 30 - .../normalize-package-data/package.json | 78 - node_modules/normalize-path/LICENSE | 21 - node_modules/normalize-path/README.md | 92 - node_modules/normalize-path/index.js | 19 - node_modules/normalize-path/package.json | 156 - node_modules/normalize-range/index.js | 54 - node_modules/normalize-range/license | 21 - node_modules/normalize-range/package.json | 109 - node_modules/normalize-range/readme.md | 148 - node_modules/normalize-selector/.npmignore | 1 - node_modules/normalize-selector/README.md | 34 - .../lib/normalize-selector.js | 163 - node_modules/normalize-selector/package.json | 93 - node_modules/normalize-selector/tests.js | 49 - node_modules/num2fraction/.editorconfig | 14 - node_modules/num2fraction/.npmignore | 8 - node_modules/num2fraction/LICENSE | 22 - node_modules/num2fraction/README.md | 87 - node_modules/num2fraction/index.js | 48 - node_modules/num2fraction/package.json | 92 - node_modules/number-is-nan/index.js | 4 - node_modules/number-is-nan/license | 21 - node_modules/number-is-nan/package.json | 104 - node_modules/number-is-nan/readme.md | 28 - node_modules/object-assign/index.js | 90 - node_modules/object-assign/license | 21 - node_modules/object-assign/package.json | 124 - node_modules/object-assign/readme.md | 61 - node_modules/object.omit/LICENSE | 21 - node_modules/object.omit/README.md | 118 - node_modules/object.omit/index.js | 40 - node_modules/object.omit/package.json | 137 - node_modules/once/LICENSE | 15 - node_modules/once/README.md | 79 - node_modules/once/once.js | 42 - node_modules/once/package.json | 101 - node_modules/onecolor/LICENSE | 24 - node_modules/onecolor/README.md | 314 - node_modules/onecolor/index.js | 24 - node_modules/onecolor/lib/CMYK.js | 30 - node_modules/onecolor/lib/HSL.js | 29 - node_modules/onecolor/lib/HSV.js | 93 - node_modules/onecolor/lib/LAB.js | 33 - node_modules/onecolor/lib/XYZ.js | 64 - node_modules/onecolor/lib/color.js | 254 - node_modules/onecolor/lib/plugins/clearer.js | 5 - node_modules/onecolor/lib/plugins/contrast.js | 15 - node_modules/onecolor/lib/plugins/darken.js | 7 - .../onecolor/lib/plugins/desaturate.js | 7 - .../onecolor/lib/plugins/grayscale.js | 11 - node_modules/onecolor/lib/plugins/isDark.js | 10 - node_modules/onecolor/lib/plugins/isLight.js | 8 - node_modules/onecolor/lib/plugins/lighten.js | 7 - .../onecolor/lib/plugins/luminance.js | 12 - node_modules/onecolor/lib/plugins/mix.js | 19 - .../onecolor/lib/plugins/namedColors.js | 152 - node_modules/onecolor/lib/plugins/negate.js | 6 - node_modules/onecolor/lib/plugins/opaquer.js | 5 - node_modules/onecolor/lib/plugins/rotate.js | 7 - node_modules/onecolor/lib/plugins/saturate.js | 7 - node_modules/onecolor/lib/plugins/toAlpha.js | 46 - node_modules/onecolor/minimal.js | 3 - node_modules/onecolor/one-color-all.js | 2 - node_modules/onecolor/one-color-all.map | 1 - node_modules/onecolor/one-color.js | 2 - node_modules/onecolor/one-color.map | 1 - node_modules/onecolor/package.json | 96 - node_modules/os-homedir/index.js | 24 - node_modules/os-homedir/license | 21 - node_modules/os-homedir/package.json | 109 - node_modules/os-homedir/readme.md | 31 - node_modules/os-locale/index.js | 127 - node_modules/os-locale/license | 21 - node_modules/os-locale/package.json | 114 - node_modules/os-locale/readme.md | 47 - node_modules/p-map/index.js | 67 - node_modules/p-map/license | 9 - node_modules/p-map/package.json | 79 - node_modules/p-map/readme.md | 81 - node_modules/parse-glob/LICENSE | 21 - node_modules/parse-glob/README.md | 115 - node_modules/parse-glob/index.js | 156 - node_modules/parse-glob/package.json | 124 - node_modules/parse-json/index.js | 35 - node_modules/parse-json/license | 21 - node_modules/parse-json/package.json | 110 - node_modules/parse-json/readme.md | 83 - node_modules/parse-json/vendor/parse.js | 752 - node_modules/parse-json/vendor/unicode.js | 71 - node_modules/path-exists/index.js | 24 - node_modules/path-exists/license | 21 - node_modules/path-exists/package.json | 103 - node_modules/path-exists/readme.md | 45 - node_modules/path-is-absolute/index.js | 20 - node_modules/path-is-absolute/license | 21 - node_modules/path-is-absolute/package.json | 111 - node_modules/path-is-absolute/readme.md | 59 - node_modules/path-is-inside/LICENSE.txt | 47 - .../path-is-inside/lib/path-is-inside.js | 28 - node_modules/path-is-inside/package.json | 99 - node_modules/path-type/index.js | 29 - node_modules/path-type/license | 21 - node_modules/path-type/package.json | 115 - node_modules/path-type/readme.md | 42 - node_modules/pify/index.js | 68 - node_modules/pify/license | 21 - node_modules/pify/package.json | 116 - node_modules/pify/readme.md | 119 - node_modules/pinkie-promise/index.js | 3 - node_modules/pinkie-promise/license | 21 - node_modules/pinkie-promise/package.json | 108 - node_modules/pinkie-promise/readme.md | 28 - node_modules/pinkie/index.js | 292 - node_modules/pinkie/license | 21 - node_modules/pinkie/package.json | 100 - node_modules/pinkie/readme.md | 83 - node_modules/pipetteur/.coveralls.yml | 2 - node_modules/pipetteur/.editorconfig | 19 - node_modules/pipetteur/.jshintignore | 2 - node_modules/pipetteur/.jshintrc | 95 - node_modules/pipetteur/.npmignore | 2 - node_modules/pipetteur/.travis.yml | 15 - node_modules/pipetteur/README.md | 87 - node_modules/pipetteur/package.json | 108 - node_modules/pipetteur/pipetteur.js | 32 - node_modules/plur/index.js | 20 - node_modules/plur/license | 21 - node_modules/plur/package.json | 106 - node_modules/plur/readme.md | 67 - node_modules/postcss-less/.npmignore | 17 - node_modules/postcss-less/CHANGELOG.md | 29 - node_modules/postcss-less/README.md | 190 - .../postcss-less/dist/find-extend-rule.js | 37 - .../postcss-less/dist/find-extend-rule.min.js | 1 - .../postcss-less/dist/is-mixin-token.js | 24 - .../postcss-less/dist/is-mixin-token.min.js | 1 - node_modules/postcss-less/dist/less-parse.js | 27 - .../postcss-less/dist/less-parse.min.js | 1 - node_modules/postcss-less/dist/less-parser.js | 351 - .../postcss-less/dist/less-parser.min.js | 1 - .../postcss-less/dist/less-stringifier.js | 77 - .../postcss-less/dist/less-stringifier.min.js | 1 - .../postcss-less/dist/less-stringify.js | 19 - .../postcss-less/dist/less-stringify.min.js | 1 - node_modules/postcss-less/dist/less-syntax.js | 18 - .../postcss-less/dist/less-syntax.min.js | 1 - .../postcss-less/dist/less-tokenize.js | 54 - .../postcss-less/dist/less-tokenize.min.js | 1 - node_modules/postcss-less/dist/rule.js | 53 - node_modules/postcss-less/dist/rule.min.js | 1 - .../dist/tokenizer/find-end-of-escaping.js | 38 - .../tokenizer/find-end-of-escaping.min.js | 1 - .../dist/tokenizer/find-end-of-expression.js | 46 - .../tokenizer/find-end-of-expression.min.js | 1 - .../postcss-less/dist/tokenizer/globals.js | 32 - .../dist/tokenizer/globals.min.js | 1 - .../dist/tokenizer/is-escaping.js | 17 - .../dist/tokenizer/is-escaping.min.js | 1 - .../dist/tokenizer/tokenize-at-rule.js | 73 - .../dist/tokenizer/tokenize-at-rule.min.js | 1 - .../dist/tokenizer/tokenize-backslash.js | 29 - .../dist/tokenizer/tokenize-backslash.min.js | 1 - .../dist/tokenizer/tokenize-basic-symbol.js | 10 - .../tokenizer/tokenize-basic-symbol.min.js | 1 - .../dist/tokenizer/tokenize-comma.js | 10 - .../dist/tokenizer/tokenize-comma.min.js | 1 - .../dist/tokenizer/tokenize-default.js | 66 - .../dist/tokenizer/tokenize-default.min.js | 1 - .../dist/tokenizer/tokenize-inline-comment.js | 18 - .../tokenizer/tokenize-inline-comment.min.js | 1 - .../tokenizer/tokenize-multiline-comment.js | 39 - .../tokenize-multiline-comment.min.js | 1 - .../tokenizer/tokenize-opened-parenthesis.js | 90 - .../tokenize-opened-parenthesis.min.js | 1 - .../dist/tokenizer/tokenize-quotes.js | 39 - .../dist/tokenizer/tokenize-quotes.min.js | 1 - .../dist/tokenizer/tokenize-symbol.js | 90 - .../dist/tokenizer/tokenize-symbol.min.js | 1 - .../dist/tokenizer/tokenize-whitespace.js | 26 - .../dist/tokenizer/tokenize-whitespace.min.js | 1 - .../postcss-less/dist/tokenizer/unclosed.js | 10 - .../dist/tokenizer/unclosed.min.js | 1 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../postcss-less/node_modules/chalk/index.js | 116 - .../postcss-less/node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../node_modules/chalk/package.json | 114 - .../postcss-less/node_modules/chalk/readme.md | 213 - .../node_modules/has-flag/index.js | 10 - .../node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../node_modules/postcss/CHANGELOG.md | 460 - .../postcss-less/node_modules/postcss/LICENSE | 20 - .../node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/postcss/package.json | 110 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/postcss-less/package.json | 130 - .../postcss-media-query-parser/CHANGELOG.md | 20 - .../postcss-media-query-parser/README.md | 173 - .../postcss-media-query-parser/dist/index.js | 43 - .../dist/nodes/Container.js | 94 - .../dist/nodes/Node.js | 18 - .../dist/parsers.js | 367 - .../postcss-media-query-parser/package.json | 123 - node_modules/postcss-reporter/CHANGELOG.md | 55 - node_modules/postcss-reporter/LICENSE | 22 - node_modules/postcss-reporter/README.md | 143 - node_modules/postcss-reporter/index.js | 4 - .../postcss-reporter/lib/formatter.js | 80 - node_modules/postcss-reporter/lib/reporter.js | 81 - node_modules/postcss-reporter/lib/util.js | 20 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../node_modules/chalk/index.js | 116 - .../node_modules/chalk/license | 21 - .../node_modules/chalk/package.json | 115 - .../node_modules/chalk/readme.md | 213 - .../node_modules/has-flag/index.js | 10 - .../node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../node_modules/postcss/CHANGELOG.md | 460 - .../node_modules/postcss/LICENSE | 20 - .../node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 110 - .../node_modules/supports-color/readme.md | 60 - .../node_modules/postcss/package.json | 112 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/index.js | 50 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - node_modules/postcss-reporter/package.json | 102 - .../postcss-resolve-nested-selector/LICENSE | 21 - .../postcss-resolve-nested-selector/README.md | 65 - .../postcss-resolve-nested-selector/index.js | 25 - .../package.json | 83 - node_modules/postcss-scss/CHANGELOG.md | 76 - node_modules/postcss-scss/LICENSE | 20 - node_modules/postcss-scss/README.md | 89 - .../postcss-scss/lib/nested-declaration.js | 36 - node_modules/postcss-scss/lib/scss-parse.js | 25 - node_modules/postcss-scss/lib/scss-parser.js | 215 - .../postcss-scss/lib/scss-stringifier.js | 78 - .../postcss-scss/lib/scss-stringify.js | 17 - node_modules/postcss-scss/lib/scss-syntax.js | 17 - .../postcss-scss/lib/scss-tokenize.js | 413 - node_modules/postcss-scss/package.json | 55 - node_modules/postcss-selector-parser/API.md | 624 - .../postcss-selector-parser/CHANGELOG.md | 157 - .../postcss-selector-parser/LICENSE-MIT | 22 - .../postcss-selector-parser/README.md | 46 - .../postcss-selector-parser/dist/index.js | 114 - .../postcss-selector-parser/dist/parser.js | 643 - .../postcss-selector-parser/dist/processor.js | 49 - .../dist/selectors/attribute.js | 54 - .../dist/selectors/className.js | 39 - .../dist/selectors/combinator.js | 35 - .../dist/selectors/comment.js | 35 - .../dist/selectors/container.js | 338 - .../dist/selectors/id.js | 39 - .../dist/selectors/namespace.js | 45 - .../dist/selectors/nesting.js | 36 - .../dist/selectors/node.js | 102 - .../dist/selectors/pseudo.js | 40 - .../dist/selectors/root.js | 43 - .../dist/selectors/selector.js | 35 - .../dist/selectors/string.js | 35 - .../dist/selectors/tag.js | 35 - .../dist/selectors/types.js | 15 - .../dist/selectors/universal.js | 36 - .../dist/sortAscending.js | 10 - .../postcss-selector-parser/dist/tokenize.js | 231 - .../postcss-selector-parser/package.json | 132 - node_modules/postcss-sorting/CHANGELOG.md | 96 - node_modules/postcss-sorting/LICENSE.md | 20 - node_modules/postcss-sorting/README.md | 265 - .../docs/at-rule-nested-empty-line-before.md | 339 - .../postcss-sorting/docs/clean-empty-lines.md | 58 - .../docs/comment-empty-line-before.md | 165 - .../docs/custom-property-empty-line-before.md | 213 - .../docs/declaration-empty-line-before.md | 266 - .../docs/dollar-variable-empty-line-before.md | 213 - node_modules/postcss-sorting/docs/order.md | 541 - .../postcss-sorting/docs/properties-order.md | 231 - .../docs/rule-nested-empty-line-before.md | 225 - .../docs/unspecified-properties-position.md | 151 - node_modules/postcss-sorting/index.js | 35 - .../lib/calcAtRulePatternPriority.js | 53 - .../lib/calcRulePatternPriority.js | 21 - .../postcss-sorting/lib/checkOption.js | 9 - .../postcss-sorting/lib/cleanEmptyLines.js | 5 - .../postcss-sorting/lib/countEmptyLines.js | 11 - .../postcss-sorting/lib/createEmptyLines.js | 5 - .../lib/createExpectedOrder.js | 94 - .../lib/createExpectedPropertiesOrder.js | 31 - .../lib/emptyLineBeforeGroup.js | 40 - .../at-rule-nested-empty-line-before.js | 100 - .../lib/features/clean-empty-lines.js | 26 - .../lib/features/comment-empty-line-before.js | 72 - .../custom-property-empty-line-before.js | 88 - .../features/declaration-empty-line-before.js | 96 - .../dollar-variable-empty-line-before.js | 87 - .../postcss-sorting/lib/features/index.js | 13 - .../postcss-sorting/lib/features/order.js | 39 - .../lib/features/properties-order.js | 89 - .../features/rule-nested-empty-line-before.js | 93 - .../postcss-sorting/lib/getComments.js | 101 - .../lib/getNextNonSharedLineCommentNode.js | 28 - .../postcss-sorting/lib/getOrderData.js | 89 - .../getPreviousNonSharedLineCommentNode.js | 28 - .../lib/getPropertiesOrderData.js | 5 - node_modules/postcss-sorting/lib/hasBlock.js | 11 - .../postcss-sorting/lib/hasEmptyLine.js | 14 - .../lib/hasSharedLineCommentBefore.js | 10 - .../postcss-sorting/lib/isAfterCommentLine.js | 13 - .../lib/isAfterStandardPropertyDeclaration.js | 15 - .../lib/isAtRuleAfterSameNameAtRule.js | 11 - .../isBlocklessAtRuleAfterBlocklessAtRule.js | 17 - ...klessAtRuleAfterSameNameBlocklessAtRule.js | 15 - .../postcss-sorting/lib/isCustomProperty.js | 5 - .../postcss-sorting/lib/isDollarVariable.js | 5 - .../postcss-sorting/lib/isFirstNested.js | 9 - .../postcss-sorting/lib/isRuleWithNodes.js | 5 - node_modules/postcss-sorting/lib/isSet.js | 7 - .../lib/isSharedLineComment.js | 39 - .../postcss-sorting/lib/isSingleLineBlock.js | 88 - .../postcss-sorting/lib/isSingleLineString.js | 12 - .../lib/isStandardSyntaxDeclaration.js | 31 - .../lib/isStandardSyntaxProperty.js | 20 - .../lib/isStandardSyntaxRule.js | 54 - .../postcss-sorting/lib/normalizeOptions.js | 17 - .../lib/processLastComments.js | 12 - .../postcss-sorting/lib/processMostNodes.js | 23 - node_modules/postcss-sorting/lib/sorting.js | 103 - .../postcss-sorting/lib/validateOptions.js | 415 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../node_modules/chalk/index.js | 116 - .../node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../node_modules/chalk/package.json | 114 - .../node_modules/chalk/readme.md | 213 - .../node_modules/has-flag/index.js | 10 - .../node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../node_modules/postcss/CHANGELOG.md | 460 - .../node_modules/postcss/LICENSE | 20 - .../node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/postcss/package.json | 110 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/postcss-sorting/package.json | 116 - node_modules/postcss-value-parser/LICENSE | 22 - node_modules/postcss-value-parser/README.md | 253 - .../postcss-value-parser/lib/index.js | 28 - .../postcss-value-parser/lib/parse.js | 251 - .../postcss-value-parser/lib/stringify.js | 48 - node_modules/postcss-value-parser/lib/unit.js | 49 - node_modules/postcss-value-parser/lib/walk.js | 22 - .../postcss-value-parser/package.json | 88 - node_modules/postcss/CHANGELOG.md | 552 - node_modules/postcss/CONTRIBUTING.md | 78 - node_modules/postcss/LICENSE | 20 - node_modules/postcss/README-cn.md | 349 - node_modules/postcss/README.md | 376 - node_modules/postcss/docs/architecture.md | 156 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - node_modules/postcss/docs/source-maps.md | 74 - node_modules/postcss/docs/syntax.md | 231 - node_modules/postcss/gulpfile.js | 97 - node_modules/postcss/lib/at-rule.js | 131 - node_modules/postcss/lib/comment.js | 61 - node_modules/postcss/lib/container.js | 907 - node_modules/postcss/lib/css-syntax-error.js | 256 - node_modules/postcss/lib/declaration.js | 101 - node_modules/postcss/lib/input.js | 204 - node_modules/postcss/lib/lazy-result.js | 435 - node_modules/postcss/lib/list.js | 95 - node_modules/postcss/lib/map-generator.js | 323 - node_modules/postcss/lib/node.js | 625 - node_modules/postcss/lib/parse.js | 41 - node_modules/postcss/lib/parser.js | 552 - node_modules/postcss/lib/postcss.d.ts | 1301 -- node_modules/postcss/lib/postcss.js | 292 - node_modules/postcss/lib/previous-map.js | 170 - node_modules/postcss/lib/processor.js | 240 - node_modules/postcss/lib/result.js | 206 - node_modules/postcss/lib/root.js | 129 - node_modules/postcss/lib/rule.js | 123 - node_modules/postcss/lib/stringifier.js | 344 - node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 83 - node_modules/postcss/lib/tokenize.js | 306 - node_modules/postcss/lib/vendor.js | 52 - node_modules/postcss/lib/warn-once.js | 14 - node_modules/postcss/lib/warning.js | 122 - node_modules/postcss/package.json | 70 - node_modules/preserve/.gitattributes | 14 - node_modules/preserve/.jshintrc | 24 - node_modules/preserve/.npmignore | 53 - node_modules/preserve/.travis.yml | 3 - node_modules/preserve/.verb.md | 59 - node_modules/preserve/LICENSE | 24 - node_modules/preserve/README.md | 90 - node_modules/preserve/index.js | 54 - node_modules/preserve/package.json | 104 - node_modules/preserve/test.js | 48 - node_modules/pseudomap/LICENSE | 15 - node_modules/pseudomap/README.md | 60 - node_modules/pseudomap/map.js | 9 - node_modules/pseudomap/package.json | 85 - node_modules/pseudomap/pseudomap.js | 113 - node_modules/punycode/LICENSE-MIT.txt | 20 - node_modules/punycode/README.md | 122 - node_modules/punycode/package.json | 85 - node_modules/punycode/punycode.es6.js | 441 - node_modules/punycode/punycode.js | 440 - node_modules/randomatic/LICENSE | 21 - node_modules/randomatic/README.md | 193 - node_modules/randomatic/index.js | 95 - .../randomatic/node_modules/is-number/LICENSE | 21 - .../node_modules/is-number/README.md | 135 - .../node_modules/is-number/index.js | 21 - .../node_modules/is-number/package.json | 113 - .../node_modules/kind-of/CHANGELOG.md | 157 - .../randomatic/node_modules/kind-of/LICENSE | 21 - .../randomatic/node_modules/kind-of/README.md | 365 - .../randomatic/node_modules/kind-of/index.js | 129 - .../node_modules/kind-of/package.json | 143 - node_modules/randomatic/package.json | 135 - node_modules/read-file-stdin/.npmignore | 1 - node_modules/read-file-stdin/History.md | 24 - node_modules/read-file-stdin/Makefile | 8 - node_modules/read-file-stdin/Readme.md | 18 - node_modules/read-file-stdin/index.js | 22 - node_modules/read-file-stdin/package.json | 87 - node_modules/read-pkg-up/index.js | 31 - node_modules/read-pkg-up/license | 21 - node_modules/read-pkg-up/package.json | 122 - node_modules/read-pkg-up/readme.md | 79 - node_modules/read-pkg/index.js | 48 - node_modules/read-pkg/license | 21 - node_modules/read-pkg/package.json | 105 - node_modules/read-pkg/readme.md | 79 - node_modules/readable-stream/.npmignore | 5 - node_modules/readable-stream/LICENSE | 18 - node_modules/readable-stream/README.md | 15 - node_modules/readable-stream/duplex.js | 1 - node_modules/readable-stream/float.patch | 923 - .../readable-stream/lib/_stream_duplex.js | 89 - .../lib/_stream_passthrough.js | 46 - .../readable-stream/lib/_stream_readable.js | 951 - .../readable-stream/lib/_stream_transform.js | 209 - .../readable-stream/lib/_stream_writable.js | 477 - node_modules/readable-stream/package.json | 113 - node_modules/readable-stream/passthrough.js | 1 - node_modules/readable-stream/readable.js | 10 - node_modules/readable-stream/transform.js | 1 - node_modules/readable-stream/writable.js | 1 - node_modules/redent/index.js | 7 - node_modules/redent/license | 21 - node_modules/redent/package.json | 106 - node_modules/redent/readme.md | 48 - node_modules/regex-cache/LICENSE | 21 - node_modules/regex-cache/README.md | 166 - node_modules/regex-cache/index.js | 68 - node_modules/regex-cache/package.json | 101 - .../remove-trailing-separator/history.md | 17 - .../remove-trailing-separator/index.js | 17 - .../remove-trailing-separator/license | 3 - .../remove-trailing-separator/package.json | 64 - .../remove-trailing-separator/readme.md | 51 - node_modules/repeat-element/LICENSE | 21 - node_modules/repeat-element/README.md | 99 - node_modules/repeat-element/index.js | 18 - node_modules/repeat-element/package.json | 81 - node_modules/repeat-string/LICENSE | 21 - node_modules/repeat-string/README.md | 136 - node_modules/repeat-string/index.js | 70 - node_modules/repeat-string/package.json | 168 - node_modules/repeating/index.js | 24 - node_modules/repeating/license | 21 - node_modules/repeating/package.json | 104 - node_modules/repeating/readme.md | 30 - node_modules/require-from-string/index.js | 30 - node_modules/require-from-string/license | 21 - node_modules/require-from-string/package.json | 93 - node_modules/require-from-string/readme.md | 56 - node_modules/resolve-from/index.js | 35 - node_modules/resolve-from/license | 21 - node_modules/resolve-from/package.json | 67 - node_modules/resolve-from/readme.md | 71 - node_modules/rimraf/LICENSE | 15 - node_modules/rimraf/README.md | 101 - node_modules/rimraf/bin.js | 50 - node_modules/rimraf/package.json | 64 - node_modules/rimraf/rimraf.js | 364 - node_modules/semver/LICENSE | 15 - node_modules/semver/README.md | 399 - node_modules/semver/bin/semver | 153 - node_modules/semver/package.json | 55 - node_modules/semver/range.bnf | 16 - node_modules/semver/semver.js | 1352 -- node_modules/sigmund/LICENSE | 15 - node_modules/sigmund/README.md | 53 - node_modules/sigmund/bench.js | 283 - node_modules/sigmund/package.json | 93 - node_modules/sigmund/sigmund.js | 39 - node_modules/sigmund/test/basic.js | 24 - node_modules/signal-exit/CHANGELOG.md | 27 - node_modules/signal-exit/LICENSE.txt | 16 - node_modules/signal-exit/README.md | 40 - node_modules/signal-exit/index.js | 157 - node_modules/signal-exit/package.json | 106 - node_modules/signal-exit/signals.js | 53 - node_modules/slice-ansi/index.js | 88 - node_modules/slice-ansi/license | 9 - .../is-fullwidth-code-point/index.js | 46 - .../is-fullwidth-code-point/license | 21 - .../is-fullwidth-code-point/package.json | 77 - .../is-fullwidth-code-point/readme.md | 39 - node_modules/slice-ansi/package.json | 85 - node_modules/slice-ansi/readme.md | 64 - node_modules/source-map/CHANGELOG.md | 301 - node_modules/source-map/LICENSE | 28 - node_modules/source-map/README.md | 742 - .../source-map/dist/source-map.debug.js | 3234 --- node_modules/source-map/dist/source-map.js | 3233 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - node_modules/source-map/lib/array-set.js | 121 - node_modules/source-map/lib/base64-vlq.js | 140 - node_modules/source-map/lib/base64.js | 67 - node_modules/source-map/lib/binary-search.js | 111 - node_modules/source-map/lib/mapping-list.js | 79 - node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1145 -- .../source-map/lib/source-map-generator.js | 425 - node_modules/source-map/lib/source-node.js | 413 - node_modules/source-map/lib/util.js | 488 - node_modules/source-map/package.json | 212 - node_modules/source-map/source-map.d.ts | 98 - node_modules/source-map/source-map.js | 8 - node_modules/spdx-correct/LICENSE | 202 - node_modules/spdx-correct/README.md | 10 - node_modules/spdx-correct/index.js | 338 - node_modules/spdx-correct/package.json | 84 - node_modules/spdx-exceptions/README.md | 36 - node_modules/spdx-exceptions/index.json | 34 - node_modules/spdx-exceptions/package.json | 49 - node_modules/spdx-exceptions/test.log | 8 - node_modules/spdx-expression-parse/AUTHORS | 4 - node_modules/spdx-expression-parse/LICENSE | 22 - node_modules/spdx-expression-parse/README.md | 91 - node_modules/spdx-expression-parse/index.js | 8 - .../spdx-expression-parse/package.json | 97 - node_modules/spdx-expression-parse/parse.js | 138 - node_modules/spdx-expression-parse/scan.js | 131 - node_modules/spdx-license-ids/README.md | 52 - node_modules/spdx-license-ids/deprecated.json | 24 - node_modules/spdx-license-ids/index.json | 355 - node_modules/spdx-license-ids/package.json | 75 - node_modules/specificity/LICENSE | 8 - node_modules/specificity/bin/specificity | 14 - node_modules/specificity/package.json | 58 - node_modules/specificity/readme.md | 107 - node_modules/specificity/specificity.d.ts | 56 - node_modules/specificity/specificity.js | 232 - node_modules/split2/.README.md.un~ | Bin 33830 -> 0 bytes node_modules/split2/.index.js.un~ | Bin 108894 -> 0 bytes node_modules/split2/.npmignore | 7 - node_modules/split2/.package.json.un~ | Bin 6123 -> 0 bytes node_modules/split2/.test.js.un~ | Bin 96451 -> 0 bytes node_modules/split2/.travis.yml | 3 - node_modules/split2/LICENSE | 13 - node_modules/split2/README.md | 74 - node_modules/split2/index.js | 83 - node_modules/split2/package.json | 88 - node_modules/split2/test.js | 149 - node_modules/sprintf-js/.npmignore | 1 - node_modules/sprintf-js/LICENSE | 24 - node_modules/sprintf-js/README.md | 88 - node_modules/sprintf-js/bower.json | 14 - node_modules/sprintf-js/demo/angular.html | 20 - .../sprintf-js/dist/angular-sprintf.min.js | 4 - .../dist/angular-sprintf.min.js.map | 1 - .../sprintf-js/dist/angular-sprintf.min.map | 1 - node_modules/sprintf-js/dist/sprintf.min.js | 4 - .../sprintf-js/dist/sprintf.min.js.map | 1 - node_modules/sprintf-js/dist/sprintf.min.map | 1 - node_modules/sprintf-js/gruntfile.js | 36 - node_modules/sprintf-js/package.json | 86 - .../sprintf-js/src/angular-sprintf.js | 18 - node_modules/sprintf-js/src/sprintf.js | 208 - node_modules/stdin/.npmignore | 4 - node_modules/stdin/History.md | 5 - node_modules/stdin/Makefile | 7 - node_modules/stdin/Readme.md | 36 - node_modules/stdin/index.js | 9 - node_modules/stdin/package.json | 71 - node_modules/stream-combiner/.npmignore | 3 - node_modules/stream-combiner/.travis.yml | 4 - node_modules/stream-combiner/LICENSE | 22 - node_modules/stream-combiner/README.md | 55 - node_modules/stream-combiner/index.js | 45 - node_modules/stream-combiner/package.json | 86 - node_modules/string-width/index.js | 36 - node_modules/string-width/license | 9 - .../node_modules/ansi-regex/index.js | 10 - .../node_modules/ansi-regex/license | 9 - .../node_modules/ansi-regex/package.json | 85 - .../node_modules/ansi-regex/readme.md | 46 - .../is-fullwidth-code-point/index.js | 46 - .../is-fullwidth-code-point/license | 21 - .../is-fullwidth-code-point/package.json | 113 - .../is-fullwidth-code-point/readme.md | 39 - .../node_modules/strip-ansi/index.js | 4 - .../node_modules/strip-ansi/license | 9 - .../node_modules/strip-ansi/package.json | 84 - .../node_modules/strip-ansi/readme.md | 39 - node_modules/string-width/package.json | 88 - node_modules/string-width/readme.md | 42 - node_modules/string_decoder/.npmignore | 2 - node_modules/string_decoder/LICENSE | 20 - node_modules/string_decoder/README.md | 7 - node_modules/string_decoder/index.js | 221 - node_modules/string_decoder/package.json | 88 - node_modules/strip-ansi/index.js | 6 - node_modules/strip-ansi/license | 21 - node_modules/strip-ansi/package.json | 129 - node_modules/strip-ansi/readme.md | 33 - node_modules/strip-bom/index.js | 17 - node_modules/strip-bom/license | 21 - node_modules/strip-bom/package.json | 105 - node_modules/strip-bom/readme.md | 39 - node_modules/strip-indent/cli.js | 49 - node_modules/strip-indent/index.js | 16 - node_modules/strip-indent/license | 21 - .../node_modules/get-stdin/index.js | 49 - .../node_modules/get-stdin/package.json | 98 - .../node_modules/get-stdin/readme.md | 44 - node_modules/strip-indent/package.json | 109 - node_modules/strip-indent/readme.md | 61 - node_modules/style-search/.npmignore | 1 - node_modules/style-search/CHANGELOG.md | 5 - node_modules/style-search/LICENSE | 13 - node_modules/style-search/README.md | 96 - node_modules/style-search/circle.yml | 5 - node_modules/style-search/index.js | 203 - node_modules/style-search/package.json | 90 - node_modules/style-search/test.js | 467 - node_modules/stylefmt/CHANGELOG.md | 484 - node_modules/stylefmt/LICENSE | 20 - node_modules/stylefmt/README.md | 420 - node_modules/stylefmt/bin/cli.js | 194 - node_modules/stylefmt/compositor.json | 90 - node_modules/stylefmt/index.js | 29 - .../stylefmt/lib/formatAtRuleParams.js | 98 - node_modules/stylefmt/lib/formatAtRules.js | 291 - node_modules/stylefmt/lib/formatColors.js | 57 - node_modules/stylefmt/lib/formatComments.js | 28 - node_modules/stylefmt/lib/formatDecls.js | 125 - node_modules/stylefmt/lib/formatOrder.js | 92 - node_modules/stylefmt/lib/formatRules.js | 185 - .../stylefmt/lib/formatSassVariables.js | 70 - node_modules/stylefmt/lib/formatSelectors.js | 135 - node_modules/stylefmt/lib/formatShorthand.js | 108 - node_modules/stylefmt/lib/formatTransforms.js | 27 - node_modules/stylefmt/lib/formatValues.js | 78 - node_modules/stylefmt/lib/formatZeros.js | 26 - node_modules/stylefmt/lib/getIndent.js | 13 - node_modules/stylefmt/lib/hasBlock.js | 5 - node_modules/stylefmt/lib/hasDecls.js | 12 - node_modules/stylefmt/lib/hasRules.js | 12 - node_modules/stylefmt/lib/params.js | 102 - node_modules/stylefmt/lib/util.js | 65 - node_modules/stylefmt/package.json | 81 - node_modules/stylehacks/CHANGELOG.md | 40 - node_modules/stylehacks/LICENSE-MIT | 22 - node_modules/stylehacks/README.md | 130 - node_modules/stylehacks/dist/cli.js | 69 - .../stylehacks/dist/dictionary/browsers.js | 9 - .../stylehacks/dist/dictionary/identifiers.js | 7 - .../stylehacks/dist/dictionary/postcss.js | 6 - .../stylehacks/dist/dictionary/tags.js | 5 - node_modules/stylehacks/dist/exists.js | 9 - node_modules/stylehacks/dist/formatter.js | 53 - node_modules/stylehacks/dist/index.js | 128 - node_modules/stylehacks/dist/isMixin.js | 14 - node_modules/stylehacks/dist/plugin.js | 85 - .../stylehacks/dist/plugins/bodyEmpty.js | 50 - .../dist/plugins/htmlCombinatorCommentBody.js | 52 - .../stylehacks/dist/plugins/htmlFirstChild.js | 50 - .../stylehacks/dist/plugins/important.js | 25 - .../stylehacks/dist/plugins/leadingStar.js | 61 - .../dist/plugins/leadingUnderscore.js | 30 - .../stylehacks/dist/plugins/mediaSlash0.js | 26 - .../stylehacks/dist/plugins/mediaSlash9.js | 26 - .../stylehacks/dist/plugins/slash9.js | 26 - .../stylehacks/dist/plugins/starHtml.js | 50 - .../dist/plugins/trailingSlashComma.js | 35 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../stylehacks/node_modules/chalk/index.js | 116 - .../stylehacks/node_modules/chalk/license | 21 - .../node_modules/chalk/package.json | 116 - .../stylehacks/node_modules/chalk/readme.md | 213 - .../stylehacks/node_modules/has-flag/index.js | 10 - .../stylehacks/node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../postcss-reporter/CHANGELOG.md | 47 - .../node_modules/postcss-reporter/LICENSE | 22 - .../node_modules/postcss-reporter/README.md | 134 - .../node_modules/postcss-reporter/index.js | 4 - .../postcss-reporter/lib/formatter.js | 80 - .../postcss-reporter/lib/reporter.js | 75 - .../node_modules/postcss-reporter/lib/util.js | 20 - .../postcss-reporter/package.json | 102 - .../node_modules/postcss/CHANGELOG.md | 460 - .../stylehacks/node_modules/postcss/LICENSE | 20 - .../stylehacks/node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 110 - .../node_modules/supports-color/readme.md | 60 - .../node_modules/postcss/package.json | 113 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/index.js | 50 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - node_modules/stylehacks/package.json | 152 - node_modules/stylehacks/usage.txt | 18 - node_modules/stylelint-order/CHANGELOG.md | 42 - node_modules/stylelint-order/LICENSE.md | 20 - node_modules/stylelint-order/README.md | 48 - node_modules/stylelint-order/index.js | 11 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../node_modules/chalk/index.js | 116 - .../node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../node_modules/chalk/package.json | 114 - .../node_modules/chalk/readme.md | 213 - .../node_modules/has-flag/index.js | 10 - .../node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../node_modules/has-flag/readme.md | 64 - .../node_modules/postcss/CHANGELOG.md | 460 - .../node_modules/postcss/LICENSE | 20 - .../node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../node_modules/postcss/package.json | 110 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/stylelint-order/package.json | 119 - .../rules/checkAlphabeticalOrder.js | 15 - ...ration-block-properties-specified-order.js | 23 - ...aration-block-property-groups-structure.js | 23 - node_modules/stylelint-order/rules/index.js | 12 - .../stylelint-order/rules/order/README.md | 702 - .../stylelint-order/rules/order/index.js | 545 - .../properties-alphabetical-order/README.md | 62 - .../properties-alphabetical-order/index.js | 105 - .../rules/properties-order/README.md | 590 - .../rules/properties-order/index.js | 437 - node_modules/stylelint-order/utils/index.js | 9 - .../stylelint-order/utils/isAtVariable.js | 10 - .../stylelint-order/utils/isCustomProperty.js | 10 - .../stylelint-order/utils/isDollarVariable.js | 10 - .../utils/isScssNestedPropertiesRoot.js | 13 - .../utils/isStandardSyntaxProperty.js | 25 - .../stylelint-order/utils/namespace.js | 5 - .../utils/renamedRuleWarning.js | 14 - node_modules/stylelint/CHANGELOG.md | 1086 - node_modules/stylelint/CONTRIBUTING.md | 20 - node_modules/stylelint/LICENSE | 20 - node_modules/stylelint/README.md | 72 - node_modules/stylelint/bin/stylelint.js | 5 - node_modules/stylelint/decls/postcss.js | 57 - node_modules/stylelint/decls/stylelint.js | 120 - .../stylelint/docs/developer-guide.md | 7 - .../docs/developer-guide/formatters.md | 37 - .../stylelint/docs/developer-guide/plugins.md | 177 - .../docs/developer-guide/processors.md | 39 - .../docs/developer-guide/rule-testers.md | 90 - .../stylelint/docs/developer-guide/rules.md | 292 - node_modules/stylelint/docs/user-guide.md | 15 - .../stylelint/docs/user-guide/about-rules.md | 388 - .../stylelint/docs/user-guide/articles.md | 12 - node_modules/stylelint/docs/user-guide/cli.md | 106 - .../docs/user-guide/complementary-tools.md | 34 - .../docs/user-guide/configuration.md | 310 - .../docs/user-guide/css-processors.md | 46 - .../docs/user-guide/example-config.md | 173 - node_modules/stylelint/docs/user-guide/faq.md | 163 - .../stylelint/docs/user-guide/node-api.md | 203 - .../stylelint/docs/user-guide/plugins.md | 16 - .../docs/user-guide/postcss-plugin.md | 123 - .../stylelint/docs/user-guide/processors.md | 9 - .../stylelint/docs/user-guide/rules.md | 278 - .../stylelint/lib/alwaysIgnoredGlobs.js | 6 - .../stylelint/lib/assignDisabledRanges.js | 181 - node_modules/stylelint/lib/augmentConfig.js | 333 - node_modules/stylelint/lib/cli.js | 263 - node_modules/stylelint/lib/createPlugin.js | 8 - node_modules/stylelint/lib/createStylelint.js | 41 - .../stylelint/lib/createStylelintResult.js | 64 - node_modules/stylelint/lib/dynamicRequire.js | 6 - .../stylelint/lib/formatters/index.js | 7 - .../stylelint/lib/formatters/jsonFormatter.js | 11 - .../needlessDisablesStringFormatter.js | 30 - .../lib/formatters/stringFormatter.js | 140 - .../lib/formatters/verboseFormatter.js | 49 - .../stylelint/lib/getConfigForFile.js | 43 - .../stylelint/lib/getPostcssResult.js | 99 - node_modules/stylelint/lib/index.js | 31 - node_modules/stylelint/lib/isPathIgnored.js | 43 - node_modules/stylelint/lib/lintSource.js | 148 - .../stylelint/lib/needlessDisables.js | 90 - .../stylelint/lib/normalizeRuleSettings.js | 69 - node_modules/stylelint/lib/postcssPlugin.js | 27 - .../stylelint/lib/reference/keywordSets.js | 656 - .../stylelint/lib/reference/namedColorData.js | 2858 --- .../stylelint/lib/reference/propertySets.js | 18 - .../lib/reference/punctuationSets.js | 22 - .../stylelint/lib/reference/shorthandData.js | 120 - .../lib/rules/at-rule-blacklist/README.md | 45 - .../lib/rules/at-rule-blacklist/index.js | 48 - .../rules/at-rule-empty-line-before/README.md | 355 - .../rules/at-rule-empty-line-before/index.js | 216 - .../lib/rules/at-rule-name-case/README.md | 93 - .../lib/rules/at-rule-name-case/index.js | 54 - .../at-rule-name-newline-after/README.md | 94 - .../rules/at-rule-name-newline-after/index.js | 39 - .../rules/at-rule-name-space-after/README.md | 98 - .../rules/at-rule-name-space-after/index.js | 39 - .../lib/rules/at-rule-no-unknown/README.md | 65 - .../lib/rules/at-rule-no-unknown/index.js | 58 - .../rules/at-rule-no-vendor-prefix/README.md | 33 - .../rules/at-rule-no-vendor-prefix/index.js | 49 - .../at-rule-semicolon-newline-after/README.md | 54 - .../at-rule-semicolon-newline-after/index.js | 63 - .../at-rule-semicolon-space-before/README.md | 45 - .../at-rule-semicolon-space-before/index.js | 57 - .../lib/rules/at-rule-whitelist/README.md | 57 - .../lib/rules/at-rule-whitelist/index.js | 48 - .../lib/rules/atRuleNameSpaceChecker.js | 29 - .../README.md | 62 - .../index.js | 89 - .../README.md | 174 - .../index.js | 110 - .../README.md | 81 - .../index.js | 103 - .../block-closing-brace-space-after/README.md | 158 - .../block-closing-brace-space-after/index.js | 86 - .../README.md | 151 - .../block-closing-brace-space-before/index.js | 81 - .../lib/rules/block-no-empty/README.md | 37 - .../lib/rules/block-no-empty/index.js | 51 - .../lib/rules/block-no-single-line/README.md | 78 - .../lib/rules/block-no-single-line/index.js | 61 - .../README.md | 109 - .../index.js | 77 - .../README.md | 153 - .../index.js | 81 - .../block-opening-brace-space-after/README.md | 151 - .../block-opening-brace-space-after/index.js | 73 - .../README.md | 172 - .../block-opening-brace-space-before/index.js | 95 - .../lib/rules/checkRuleEmptyLineBefore.js | 51 - .../lib/rules/color-hex-case/README.md | 51 - .../lib/rules/color-hex-case/index.js | 96 - .../lib/rules/color-hex-length/README.md | 61 - .../lib/rules/color-hex-length/index.js | 102 - .../stylelint/lib/rules/color-named/README.md | 159 - .../stylelint/lib/rules/color-named/index.js | 145 - .../lib/rules/color-no-hex/README.md | 51 - .../stylelint/lib/rules/color-no-hex/index.js | 52 - .../lib/rules/color-no-invalid-hex/README.md | 47 - .../lib/rules/color-no-invalid-hex/index.js | 57 - .../rules/comment-empty-line-before/README.md | 155 - .../rules/comment-empty-line-before/index.js | 148 - .../lib/rules/comment-no-empty/README.md | 43 - .../lib/rules/comment-no-empty/index.js | 49 - .../rules/comment-whitespace-inside/README.md | 84 - .../rules/comment-whitespace-inside/index.js | 96 - .../rules/comment-word-blacklist/README.md | 43 - .../lib/rules/comment-word-blacklist/index.js | 56 - .../lib/rules/custom-media-pattern/README.md | 33 - .../lib/rules/custom-media-pattern/index.js | 54 - .../README.md | 199 - .../index.js | 137 - .../custom-property-no-outside-root/README.md | 31 - .../custom-property-no-outside-root/index.js | 51 - .../rules/custom-property-pattern/README.md | 33 - .../rules/custom-property-pattern/index.js | 52 - .../declaration-bang-space-after/README.md | 61 - .../declaration-bang-space-after/index.js | 40 - .../declaration-bang-space-before/README.md | 57 - .../declaration-bang-space-before/index.js | 40 - .../README.md | 129 - .../index.js | 135 - .../README.md | 109 - .../index.js | 182 - .../README.md | 158 - .../index.js | 80 - .../README.md | 54 - .../index.js | 57 - .../README.md | 556 - .../index.js | 299 - .../README.md | 122 - .../index.js | 76 - .../README.md | 107 - .../index.js | 64 - .../README.md | 125 - .../index.js | 68 - .../README.md | 111 - .../index.js | 64 - .../README.md | 44 - .../index.js | 54 - .../README.md | 73 - .../index.js | 77 - .../declaration-colon-newline-after/README.md | 69 - .../declaration-colon-newline-after/index.js | 70 - .../declaration-colon-space-after/README.md | 96 - .../declaration-colon-space-after/index.js | 42 - .../declaration-colon-space-before/README.md | 61 - .../declaration-colon-space-before/index.js | 40 - .../declaration-empty-line-before/README.md | 244 - .../declaration-empty-line-before/index.js | 148 - .../rules/declaration-no-important/README.md | 35 - .../rules/declaration-no-important/index.js | 38 - .../README.md | 66 - .../index.js | 77 - .../README.md | 75 - .../index.js | 70 - .../README.md | 93 - .../index.js | 53 - .../README.md | 86 - .../index.js | 53 - .../lib/rules/declarationBangSpaceChecker.js | 31 - .../lib/rules/declarationColonSpaceChecker.js | 41 - .../stylelint/lib/rules/findMediaOperator.js | 15 - .../rules/font-family-name-quotes/README.md | 140 - .../rules/font-family-name-quotes/index.js | 142 - .../font-family-no-duplicate-names/README.md | 68 - .../font-family-no-duplicate-names/index.js | 83 - .../lib/rules/font-weight-notation/README.md | 84 - .../lib/rules/font-weight-notation/index.js | 125 - .../lib/rules/function-blacklist/README.md | 47 - .../lib/rules/function-blacklist/index.js | 58 - .../README.md | 49 - .../index.js | 115 - .../function-comma-newline-after/README.md | 98 - .../function-comma-newline-after/index.js | 42 - .../function-comma-newline-before/README.md | 112 - .../function-comma-newline-before/index.js | 42 - .../function-comma-space-after/README.md | 123 - .../rules/function-comma-space-after/index.js | 44 - .../function-comma-space-before/README.md | 123 - .../function-comma-space-before/index.js | 44 - .../README.md | 66 - .../index.js | 81 - .../rules/function-max-empty-lines/README.md | 71 - .../rules/function-max-empty-lines/index.js | 63 - .../lib/rules/function-name-case/README.md | 225 - .../lib/rules/function-name-case/index.js | 88 - .../README.md | 127 - .../index.js | 104 - .../README.md | 121 - .../index.js | 117 - .../rules/function-url-data-uris/README.md | 85 - .../lib/rules/function-url-data-uris/index.js | 71 - .../function-url-no-scheme-relative/README.md | 45 - .../function-url-no-scheme-relative/index.js | 45 - .../lib/rules/function-url-quotes/README.md | 103 - .../lib/rules/function-url-quotes/index.js | 113 - .../function-url-scheme-blacklist/README.md | 63 - .../function-url-scheme-blacklist/index.js | 61 - .../function-url-scheme-whitelist/README.md | 71 - .../function-url-scheme-whitelist/index.js | 61 - .../lib/rules/function-whitelist/README.md | 65 - .../lib/rules/function-whitelist/index.js | 58 - .../rules/function-whitespace-after/README.md | 83 - .../rules/function-whitespace-after/index.js | 90 - .../lib/rules/functionCommaSpaceChecker.js | 62 - .../stylelint/lib/rules/indentation/README.md | 296 - .../stylelint/lib/rules/indentation/index.js | 421 - node_modules/stylelint/lib/rules/index.js | 369 - .../README.md | 68 - .../index.js | 39 - .../lib/rules/length-zero-no-unit/README.md | 43 - .../lib/rules/length-zero-no-unit/index.js | 122 - .../lib/rules/max-empty-lines/README.md | 104 - .../lib/rules/max-empty-lines/index.js | 85 - .../lib/rules/max-line-length/README.md | 138 - .../lib/rules/max-line-length/index.js | 136 - .../lib/rules/max-nesting-depth/README.md | 221 - .../lib/rules/max-nesting-depth/index.js | 97 - .../media-feature-colon-space-after/README.md | 61 - .../media-feature-colon-space-after/index.js | 40 - .../README.md | 61 - .../media-feature-colon-space-before/index.js | 40 - .../media-feature-name-blacklist/README.md | 41 - .../media-feature-name-blacklist/index.js | 60 - .../rules/media-feature-name-case/README.md | 75 - .../rules/media-feature-name-case/index.js | 61 - .../media-feature-name-no-unknown/README.md | 79 - .../media-feature-name-no-unknown/index.js | 68 - .../README.md | 39 - .../index.js | 46 - .../media-feature-name-whitelist/README.md | 41 - .../media-feature-name-whitelist/index.js | 60 - .../README.md | 37 - .../index.js | 91 - .../README.md | 53 - .../index.js | 87 - .../README.md | 61 - .../index.js | 57 - .../README.md | 61 - .../index.js | 57 - .../README.md | 98 - .../index.js | 45 - .../README.md | 98 - .../index.js | 41 - .../README.md | 117 - .../index.js | 43 - .../README.md | 117 - .../index.js | 44 - .../rules/mediaFeatureColonSpaceChecker.js | 26 - .../mediaQueryListCommaWhitespaceChecker.js | 25 - .../lib/rules/no-browser-hacks/README.md | 41 - .../lib/rules/no-browser-hacks/index.js | 59 - .../rules/no-descending-specificity/README.md | 107 - .../rules/no-descending-specificity/index.js | 98 - .../rules/no-duplicate-selectors/README.md | 102 - .../lib/rules/no-duplicate-selectors/index.js | 83 - .../lib/rules/no-empty-source/README.md | 39 - .../lib/rules/no-empty-source/index.js | 35 - .../lib/rules/no-eol-whitespace/README.md | 68 - .../lib/rules/no-eol-whitespace/index.js | 72 - .../lib/rules/no-extra-semicolons/README.md | 67 - .../lib/rules/no-extra-semicolons/index.js | 127 - .../no-indistinguishable-colors/README.md | 93 - .../no-indistinguishable-colors/index.js | 56 - .../README.md | 35 - .../no-invalid-double-slash-comments/index.js | 47 - .../README.md | 29 - .../no-missing-end-of-source-newline/index.js | 37 - .../lib/rules/no-unknown-animations/README.md | 66 - .../lib/rules/no-unknown-animations/index.js | 59 - .../no-unsupported-browser-features/README.md | 45 - .../no-unsupported-browser-features/index.js | 80 - .../lib/rules/number-leading-zero/README.md | 61 - .../lib/rules/number-leading-zero/index.js | 99 - .../lib/rules/number-max-precision/README.md | 39 - .../lib/rules/number-max-precision/index.js | 79 - .../rules/number-no-trailing-zeros/README.md | 33 - .../rules/number-no-trailing-zeros/index.js | 70 - .../lib/rules/property-blacklist/README.md | 56 - .../lib/rules/property-blacklist/index.js | 55 - .../lib/rules/property-case/README.md | 145 - .../lib/rules/property-case/index.js | 55 - .../lib/rules/property-no-unknown/README.md | 129 - .../lib/rules/property-no-unknown/index.js | 74 - .../rules/property-no-vendor-prefix/README.md | 40 - .../rules/property-no-vendor-prefix/index.js | 46 - .../lib/rules/property-whitelist/README.md | 66 - .../lib/rules/property-whitelist/index.js | 55 - .../root-no-standard-properties/README.md | 37 - .../root-no-standard-properties/index.js | 80 - .../rules/rule-empty-line-before/README.md | 254 - .../lib/rules/rule-empty-line-before/index.js | 157 - .../rule-nested-empty-line-before/README.md | 205 - .../rule-nested-empty-line-before/index.js | 65 - .../README.md | 159 - .../index.js | 66 - .../README.md | 93 - .../index.js | 83 - .../README.md | 39 - .../index.js | 60 - .../README.md | 133 - .../index.js | 41 - .../README.md | 133 - .../index.js | 41 - .../README.md | 47 - .../index.js | 60 - .../rules/selector-attribute-quotes/README.md | 85 - .../rules/selector-attribute-quotes/index.js | 70 - .../rules/selector-class-pattern/README.md | 99 - .../lib/rules/selector-class-pattern/index.js | 114 - .../selector-combinator-space-after/README.md | 67 - .../selector-combinator-space-after/index.js | 41 - .../README.md | 67 - .../selector-combinator-space-before/index.js | 41 - .../README.md | 32 - .../index.js | 56 - .../lib/rules/selector-id-pattern/README.md | 55 - .../lib/rules/selector-id-pattern/index.js | 70 - .../README.md | 104 - .../index.js | 75 - .../README.md | 97 - .../index.js | 42 - .../selector-list-comma-space-after/README.md | 95 - .../selector-list-comma-space-after/index.js | 44 - .../README.md | 95 - .../selector-list-comma-space-before/index.js | 44 - .../rules/selector-max-attribute/README.md | 99 - .../lib/rules/selector-max-attribute/index.js | 92 - .../lib/rules/selector-max-class/README.md | 51 - .../lib/rules/selector-max-class/index.js | 75 - .../rules/selector-max-combinators/README.md | 63 - .../rules/selector-max-combinators/index.js | 75 - .../selector-max-compound-selectors/README.md | 52 - .../selector-max-compound-selectors/index.js | 85 - .../rules/selector-max-empty-lines/README.md | 91 - .../rules/selector-max-empty-lines/index.js | 55 - .../lib/rules/selector-max-id/README.md | 66 - .../lib/rules/selector-max-id/index.js | 75 - .../rules/selector-max-specificity/README.md | 81 - .../rules/selector-max-specificity/index.js | 77 - .../lib/rules/selector-max-type/README.md | 128 - .../lib/rules/selector-max-type/index.js | 129 - .../rules/selector-max-universal/README.md | 66 - .../lib/rules/selector-max-universal/index.js | 75 - .../rules/selector-nested-pattern/README.md | 70 - .../rules/selector-nested-pattern/index.js | 61 - .../lib/rules/selector-no-attribute/README.md | 48 - .../lib/rules/selector-no-attribute/index.js | 56 - .../rules/selector-no-combinator/README.md | 41 - .../lib/rules/selector-no-combinator/index.js | 56 - .../lib/rules/selector-no-empty/README.md | 49 - .../lib/rules/selector-no-empty/index.js | 51 - .../lib/rules/selector-no-id/README.md | 43 - .../lib/rules/selector-no-id/index.js | 64 - .../selector-no-qualifying-type/README.md | 95 - .../selector-no-qualifying-type/index.js | 135 - .../lib/rules/selector-no-type/README.md | 105 - .../lib/rules/selector-no-type/index.js | 128 - .../lib/rules/selector-no-universal/README.md | 51 - .../lib/rules/selector-no-universal/index.js | 56 - .../rules/selector-no-vendor-prefix/README.md | 35 - .../rules/selector-no-vendor-prefix/index.js | 52 - .../selector-pseudo-class-blacklist/README.md | 47 - .../selector-pseudo-class-blacklist/index.js | 77 - .../selector-pseudo-class-case/README.md | 89 - .../rules/selector-pseudo-class-case/index.js | 74 - .../README.md | 73 - .../selector-pseudo-class-no-unknown/index.js | 135 - .../README.md | 53 - .../index.js | 88 - .../selector-pseudo-class-whitelist/README.md | 47 - .../selector-pseudo-class-whitelist/index.js | 75 - .../selector-pseudo-element-case/README.md | 105 - .../selector-pseudo-element-case/index.js | 74 - .../README.md | 113 - .../index.js | 67 - .../README.md | 73 - .../index.js | 83 - .../selector-root-no-composition/README.md | 35 - .../selector-root-no-composition/index.js | 44 - .../lib/rules/selector-type-case/README.md | 57 - .../lib/rules/selector-type-case/index.js | 75 - .../rules/selector-type-no-unknown/README.md | 123 - .../rules/selector-type-no-unknown/index.js | 111 - .../selectorAttributeOperatorSpaceChecker.js | 48 - .../rules/selectorCombinatorSpaceChecker.js | 50 - .../selectorListCommaWhitespaceChecker.js | 32 - .../README.md | 62 - .../index.js | 155 - .../lib/rules/string-no-newline/README.md | 65 - .../lib/rules/string-no-newline/index.js | 46 - .../lib/rules/string-quotes/README.md | 68 - .../lib/rules/string-quotes/index.js | 44 - .../rules/stylelint-disable-reason/README.md | 142 - .../rules/stylelint-disable-reason/index.js | 93 - .../lib/rules/time-min-milliseconds/README.md | 53 - .../lib/rules/time-min-milliseconds/index.js | 85 - .../lib/rules/time-no-imperceptible/README.md | 53 - .../lib/rules/time-no-imperceptible/index.js | 79 - .../lib/rules/unit-blacklist/README.md | 96 - .../lib/rules/unit-blacklist/index.js | 73 - .../stylelint/lib/rules/unit-case/README.md | 109 - .../stylelint/lib/rules/unit-case/index.js | 66 - .../lib/rules/unit-no-unknown/README.md | 85 - .../lib/rules/unit-no-unknown/index.js | 71 - .../lib/rules/unit-whitelist/README.md | 100 - .../lib/rules/unit-whitelist/index.js | 73 - .../lib/rules/value-keyword-case/README.md | 231 - .../lib/rules/value-keyword-case/index.js | 148 - .../value-list-comma-newline-after/README.md | 88 - .../value-list-comma-newline-after/index.js | 42 - .../value-list-comma-newline-before/README.md | 88 - .../value-list-comma-newline-before/index.js | 42 - .../value-list-comma-space-after/README.md | 117 - .../value-list-comma-space-after/index.js | 44 - .../value-list-comma-space-before/README.md | 117 - .../value-list-comma-space-before/index.js | 44 - .../value-list-max-empty-lines/README.md | 108 - .../rules/value-list-max-empty-lines/index.js | 55 - .../rules/value-no-vendor-prefix/README.md | 43 - .../lib/rules/value-no-vendor-prefix/index.js | 61 - .../rules/valueListCommaWhitespaceChecker.js | 37 - node_modules/stylelint/lib/standalone.js | 217 - .../stylelint/lib/testUtils/basicChecks.js | 16 - .../lib/testUtils/createRuleTester.js | 259 - .../lib/testUtils/mergeTestDescriptions.js | 17 - node_modules/stylelint/lib/utils/FileCache.js | 48 - .../stylelint/lib/utils/addEmptyLineBefore.js | 23 - .../stylelint/lib/utils/atRuleParamIndex.js | 10 - .../stylelint/lib/utils/beforeBlockString.js | 43 - .../stylelint/lib/utils/blockString.js | 21 - .../stylelint/lib/utils/blurComments.js | 7 - .../lib/utils/blurFunctionArguments.js | 43 - .../stylelint/lib/utils/blurInterpolation.js | 7 - .../stylelint/lib/utils/checkAgainstRule.js | 31 - .../stylelint/lib/utils/configurationError.js | 11 - .../stylelint/lib/utils/containsString.js | 39 - .../lib/utils/declarationValueIndex.js | 11 - .../stylelint/lib/utils/findAnimationName.js | 55 - .../stylelint/lib/utils/findAtRuleContext.js | 21 - .../stylelint/lib/utils/findFontFamily.js | 99 - .../stylelint/lib/utils/findListStyleType.js | 49 - .../lib/utils/functionArgumentsSearch.js | 33 - .../stylelint/lib/utils/getCacheFile.js | 51 - .../stylelint/lib/utils/getIsFileIgnored.js | 17 - .../stylelint/lib/utils/getModulePath.js | 18 - node_modules/stylelint/lib/utils/getOsEol.js | 12 - .../stylelint/lib/utils/getSchemeFromUrl.js | 32 - .../lib/utils/getUnitFromValueNode.js | 36 - node_modules/stylelint/lib/utils/hasBlock.js | 14 - .../stylelint/lib/utils/hasEmptyBlock.js | 15 - .../stylelint/lib/utils/hasEmptyLine.js | 10 - .../stylelint/lib/utils/hasInterpolation.js | 20 - .../lib/utils/hasLessInterpolation.js | 16 - .../lib/utils/hasPsvInterpolation.js | 13 - .../lib/utils/hasScssInterpolation.js | 13 - node_modules/stylelint/lib/utils/hash.js | 11 - .../stylelint/lib/utils/isAutoprefixable.js | 50 - .../isCounterIncrementCustomIdentValue.js | 19 - .../utils/isCounterResetCustomIdentValue.js | 19 - .../stylelint/lib/utils/isCustomElement.js | 40 - .../stylelint/lib/utils/isCustomMediaQuery.js | 9 - .../stylelint/lib/utils/isCustomProperty.js | 9 - .../lib/utils/isCustomPropertySet.js | 14 - .../stylelint/lib/utils/isCustomSelector.js | 9 - .../stylelint/lib/utils/isKeyframeRule.js | 11 - .../stylelint/lib/utils/isKeyframeSelector.js | 20 - node_modules/stylelint/lib/utils/isNumbery.js | 10 - .../stylelint/lib/utils/isOnlyWhitespace.js | 18 - .../lib/utils/isRangeContextMediaFeature.js | 12 - .../stylelint/lib/utils/isSingleLineString.js | 13 - .../lib/utils/isStandardSyntaxAtRule.js | 22 - .../lib/utils/isStandardSyntaxDeclaration.js | 33 - .../lib/utils/isStandardSyntaxFunction.js | 14 - .../lib/utils/isStandardSyntaxMediaFeature.js | 23 - .../utils/isStandardSyntaxMediaFeatureName.js | 14 - .../lib/utils/isStandardSyntaxProperty.js | 31 - .../lib/utils/isStandardSyntaxRule.js | 51 - .../lib/utils/isStandardSyntaxSelector.js | 25 - .../lib/utils/isStandardSyntaxTypeSelector.js | 45 - .../lib/utils/isStandardSyntaxUrl.js | 45 - .../lib/utils/isStandardSyntaxValue.js | 32 - .../stylelint/lib/utils/isValidFontSize.js | 34 - .../stylelint/lib/utils/isValidHex.js | 10 - .../stylelint/lib/utils/isVariable.js | 9 - .../stylelint/lib/utils/isWhitespace.js | 9 - .../lib/utils/matchesStringOrRegExp.js | 53 - .../stylelint/lib/utils/nextNonCommentNode.js | 16 - .../stylelint/lib/utils/nodeContextLookup.js | 35 - .../stylelint/lib/utils/optionsMatches.js | 16 - .../stylelint/lib/utils/parseSelector.js | 17 - .../stylelint/lib/utils/rawNodeString.js | 14 - .../lib/utils/removeEmptyLinesBefore.js | 14 - node_modules/stylelint/lib/utils/report.js | 81 - .../stylelint/lib/utils/ruleMessages.js | 29 - .../validateObjectWithStringArrayProps.js | 29 - .../stylelint/lib/utils/validateOptions.js | 132 - .../stylelint/lib/utils/whitespaceChecker.js | 306 - .../node_modules/ansi-styles/index.js | 65 - .../node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../node_modules/balanced-match/.npmignore | 5 - .../node_modules/balanced-match/LICENSE.md | 21 - .../node_modules/balanced-match/README.md | 91 - .../node_modules/balanced-match/index.js | 58 - .../node_modules/balanced-match/package.json | 75 - .../stylelint/node_modules/has-flag/index.js | 10 - .../stylelint/node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../stylelint/node_modules/has-flag/readme.md | 64 - .../node_modules/postcss-scss/CHANGELOG.md | 50 - .../node_modules/postcss-scss/LICENSE | 20 - .../node_modules/postcss-scss/README.md | 65 - .../postcss-scss/lib/nested-declaration.js | 36 - .../postcss-scss/lib/scss-parse.js | 26 - .../postcss-scss/lib/scss-parser.js | 197 - .../postcss-scss/lib/scss-stringifier.js | 68 - .../postcss-scss/lib/scss-stringify.js | 17 - .../postcss-scss/lib/scss-syntax.js | 17 - .../postcss-scss/lib/scss-tokenize.js | 344 - .../node_modules/postcss-scss/package.json | 122 - .../node_modules/postcss/CHANGELOG.md | 460 - .../stylelint/node_modules/postcss/LICENSE | 20 - .../stylelint/node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../node_modules/postcss/lib/node.js | 672 - .../node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../node_modules/postcss/lib/root.js | 143 - .../node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../postcss/node_modules/chalk/index.js | 116 - .../postcss/node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../postcss/node_modules/chalk/package.json | 114 - .../postcss/node_modules/chalk/readme.md | 213 - .../node_modules/postcss/package.json | 116 - .../node_modules/source-map/CHANGELOG.md | 301 - .../stylelint/node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/stylelint/package.json | 203 - node_modules/sugarss/CHANGELOG.md | 31 - node_modules/sugarss/LICENSE | 20 - node_modules/sugarss/README.md | 232 - node_modules/sugarss/index.js | 17 - node_modules/sugarss/liner.js | 36 - .../sugarss/node_modules/ansi-styles/index.js | 65 - .../sugarss/node_modules/ansi-styles/license | 21 - .../node_modules/ansi-styles/package.json | 90 - .../node_modules/ansi-styles/readme.md | 86 - .../sugarss/node_modules/chalk/index.js | 116 - .../sugarss/node_modules/chalk/license | 21 - .../node_modules/supports-color/index.js | 50 - .../chalk/node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 89 - .../node_modules/supports-color/readme.md | 36 - .../sugarss/node_modules/chalk/package.json | 114 - .../sugarss/node_modules/chalk/readme.md | 213 - .../sugarss/node_modules/has-flag/index.js | 10 - .../sugarss/node_modules/has-flag/license | 21 - .../node_modules/has-flag/package.json | 92 - .../sugarss/node_modules/has-flag/readme.md | 64 - .../sugarss/node_modules/postcss/CHANGELOG.md | 460 - .../sugarss/node_modules/postcss/LICENSE | 20 - .../sugarss/node_modules/postcss/README.md | 379 - .../postcss/docs/guidelines/plugin.md | 195 - .../postcss/docs/guidelines/runner.md | 143 - .../node_modules/postcss/docs/source-maps.md | 72 - .../node_modules/postcss/docs/syntax.md | 231 - .../node_modules/postcss/lib/at-rule.js | 159 - .../node_modules/postcss/lib/comment.js | 89 - .../node_modules/postcss/lib/container.js | 935 - .../postcss/lib/css-syntax-error.js | 272 - .../node_modules/postcss/lib/declaration.js | 130 - .../sugarss/node_modules/postcss/lib/input.js | 198 - .../node_modules/postcss/lib/lazy-result.js | 432 - .../sugarss/node_modules/postcss/lib/list.js | 95 - .../node_modules/postcss/lib/map-generator.js | 312 - .../sugarss/node_modules/postcss/lib/node.js | 672 - .../sugarss/node_modules/postcss/lib/parse.js | 43 - .../node_modules/postcss/lib/parser.js | 514 - .../node_modules/postcss/lib/postcss.d.ts | 1305 -- .../node_modules/postcss/lib/postcss.js | 292 - .../node_modules/postcss/lib/previous-map.js | 162 - .../node_modules/postcss/lib/processor.js | 240 - .../node_modules/postcss/lib/result.js | 206 - .../sugarss/node_modules/postcss/lib/root.js | 143 - .../sugarss/node_modules/postcss/lib/rule.js | 136 - .../node_modules/postcss/lib/stringifier.js | 335 - .../node_modules/postcss/lib/stringify.js | 17 - .../postcss/lib/terminal-highlight.js | 76 - .../node_modules/postcss/lib/tokenize.js | 273 - .../node_modules/postcss/lib/vendor.js | 52 - .../node_modules/postcss/lib/warn-once.js | 14 - .../node_modules/postcss/lib/warning.js | 122 - .../sugarss/node_modules/postcss/package.json | 110 - .../node_modules/source-map/CHANGELOG.md | 301 - .../sugarss/node_modules/source-map/LICENSE | 28 - .../sugarss/node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 --- .../source-map/dist/source-map.js | 3090 --- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 211 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/supports-color/browser.js | 2 - .../node_modules/supports-color/index.js | 84 - .../node_modules/supports-color/license | 21 - .../node_modules/supports-color/package.json | 132 - .../node_modules/supports-color/readme.md | 60 - node_modules/sugarss/package.json | 119 - node_modules/sugarss/parse.js | 39 - node_modules/sugarss/parser.js | 438 - node_modules/sugarss/preprocess.js | 121 - node_modules/sugarss/stringifier.js | 124 - node_modules/sugarss/stringify.js | 17 - node_modules/sugarss/tokenize.js | 287 - node_modules/supports-color/browser.js | 5 - node_modules/supports-color/index.js | 131 - node_modules/supports-color/license | 9 - node_modules/supports-color/package.json | 86 - node_modules/supports-color/readme.md | 66 - node_modules/svg-tags/LICENSE | 21 - node_modules/svg-tags/README.md | 99 - node_modules/svg-tags/lib/index.js | 1 - node_modules/svg-tags/lib/svg-tags.json | 82 - node_modules/svg-tags/package.json | 102 - node_modules/synesthesia/README.md | 173 - node_modules/synesthesia/lib/channels.js | 17 - node_modules/synesthesia/lib/index.js | 47 - node_modules/synesthesia/lib/ranges.js | 6 - .../node_modules/css-color-names/Makefile | 8 - .../node_modules/css-color-names/README.md | 48 - .../css-color-names/css-color-names.json | 150 - .../node_modules/css-color-names/getcolors.sh | 6 - .../node_modules/css-color-names/package.json | 90 - .../node_modules/css-color-names/stringify.js | 17 - node_modules/synesthesia/package.json | 110 - node_modules/table/LICENSE | 24 - node_modules/table/README.md | 671 - node_modules/table/dist/alignString.js | 106 - node_modules/table/dist/alignTableData.js | 34 - .../table/dist/calculateCellHeight.js | 47 - .../table/dist/calculateCellWidthIndex.js | 23 - .../dist/calculateMaximumColumnWidthIndex.js | 37 - .../table/dist/calculateRowHeightIndex.js | 48 - node_modules/table/dist/createStream.js | 157 - node_modules/table/dist/drawBorder.js | 96 - node_modules/table/dist/drawRow.js | 21 - node_modules/table/dist/drawTable.js | 59 - .../table/dist/getBorderCharacters.js | 126 - node_modules/table/dist/index.js | 24 - node_modules/table/dist/makeConfig.js | 99 - node_modules/table/dist/makeStreamConfig.js | 107 - .../table/dist/mapDataUsingRowHeightIndex.js | 57 - node_modules/table/dist/padTableData.js | 20 - node_modules/table/dist/schemas/config.json | 114 - .../table/dist/schemas/streamConfig.json | 114 - node_modules/table/dist/stringifyTableData.js | 17 - node_modules/table/dist/table.js | 133 - node_modules/table/dist/truncateTableData.js | 27 - node_modules/table/dist/validateConfig.js | 753 - .../table/dist/validateStreamConfig.js | 740 - node_modules/table/dist/validateTableData.js | 51 - node_modules/table/dist/wrapString.js | 42 - node_modules/table/dist/wrapWord.js | 52 - node_modules/table/package.json | 100 - node_modules/text-table/.travis.yml | 4 - node_modules/text-table/LICENSE | 18 - node_modules/text-table/example/align.js | 8 - node_modules/text-table/example/center.js | 8 - node_modules/text-table/example/dotalign.js | 9 - node_modules/text-table/example/doubledot.js | 11 - node_modules/text-table/example/table.js | 6 - node_modules/text-table/index.js | 86 - node_modules/text-table/package.json | 105 - node_modules/text-table/readme.markdown | 134 - node_modules/through/.travis.yml | 5 - node_modules/through/LICENSE.APACHE2 | 15 - node_modules/through/LICENSE.MIT | 24 - node_modules/through/index.js | 108 - node_modules/through/package.json | 101 - node_modules/through/readme.markdown | 64 - node_modules/through2/.npmignore | 3 - node_modules/through2/LICENSE | 39 - node_modules/through2/README.md | 132 - .../node_modules/readable-stream/.npmignore | 5 - .../node_modules/readable-stream/LICENSE | 18 - .../node_modules/readable-stream/README.md | 15 - .../node_modules/readable-stream/duplex.js | 1 - .../readable-stream/lib/_stream_duplex.js | 89 - .../lib/_stream_passthrough.js | 46 - .../readable-stream/lib/_stream_readable.js | 982 - .../readable-stream/lib/_stream_transform.js | 210 - .../readable-stream/lib/_stream_writable.js | 386 - .../node_modules/readable-stream/package.json | 112 - .../readable-stream/passthrough.js | 1 - .../node_modules/readable-stream/readable.js | 11 - .../node_modules/readable-stream/transform.js | 1 - .../node_modules/readable-stream/writable.js | 1 - node_modules/through2/package.json | 107 - node_modules/through2/through2.js | 96 - node_modules/trim-newlines/index.js | 13 - node_modules/trim-newlines/license | 21 - node_modules/trim-newlines/package.json | 106 - node_modules/trim-newlines/readme.md | 46 - node_modules/uniq/.npmignore | 15 - node_modules/uniq/LICENSE | 22 - node_modules/uniq/README.md | 46 - node_modules/uniq/package.json | 94 - node_modules/uniq/uniq.js | 57 - node_modules/uri-js/README.md | 199 - node_modules/uri-js/bower.json | 47 - node_modules/uri-js/dist/es5/uri.all.d.ts | 59 - node_modules/uri-js/dist/es5/uri.all.js | 1389 -- node_modules/uri-js/dist/es5/uri.all.js.map | 1 - node_modules/uri-js/dist/es5/uri.all.min.d.ts | 59 - node_modules/uri-js/dist/es5/uri.all.min.js | 3 - .../uri-js/dist/es5/uri.all.min.js.map | 1 - node_modules/uri-js/dist/esnext/index.d.ts | 1 - node_modules/uri-js/dist/esnext/index.js | 13 - node_modules/uri-js/dist/esnext/index.js.map | 1 - .../uri-js/dist/esnext/regexps-iri.d.ts | 3 - .../uri-js/dist/esnext/regexps-iri.js | 3 - .../uri-js/dist/esnext/regexps-iri.js.map | 1 - .../uri-js/dist/esnext/regexps-uri.d.ts | 4 - .../uri-js/dist/esnext/regexps-uri.js | 42 - .../uri-js/dist/esnext/regexps-uri.js.map | 1 - .../uri-js/dist/esnext/schemes/http.d.ts | 3 - .../uri-js/dist/esnext/schemes/http.js | 27 - .../uri-js/dist/esnext/schemes/http.js.map | 1 - .../uri-js/dist/esnext/schemes/https.d.ts | 3 - .../uri-js/dist/esnext/schemes/https.js | 9 - .../uri-js/dist/esnext/schemes/https.js.map | 1 - .../uri-js/dist/esnext/schemes/mailto.d.ts | 12 - .../uri-js/dist/esnext/schemes/mailto.js | 148 - .../uri-js/dist/esnext/schemes/mailto.js.map | 1 - .../uri-js/dist/esnext/schemes/urn-uuid.d.ts | 7 - .../uri-js/dist/esnext/schemes/urn-uuid.js | 23 - .../dist/esnext/schemes/urn-uuid.js.map | 1 - .../uri-js/dist/esnext/schemes/urn.d.ts | 10 - .../uri-js/dist/esnext/schemes/urn.js | 49 - .../uri-js/dist/esnext/schemes/urn.js.map | 1 - node_modules/uri-js/dist/esnext/uri.d.ts | 59 - node_modules/uri-js/dist/esnext/uri.js | 480 - node_modules/uri-js/dist/esnext/uri.js.map | 1 - node_modules/uri-js/dist/esnext/util.d.ts | 6 - node_modules/uri-js/dist/esnext/util.js | 36 - node_modules/uri-js/dist/esnext/util.js.map | 1 - node_modules/uri-js/package.json | 93 - node_modules/uri-js/rollup.config.js | 32 - node_modules/uri-js/src/index.ts | 18 - node_modules/uri-js/src/punycode.d.ts | 24 - node_modules/uri-js/src/regexps-iri.ts | 4 - node_modules/uri-js/src/regexps-uri.ts | 89 - node_modules/uri-js/src/schemes/http.ts | 36 - node_modules/uri-js/src/schemes/https.ts | 11 - node_modules/uri-js/src/schemes/mailto.ts | 182 - node_modules/uri-js/src/schemes/urn-uuid.ts | 36 - node_modules/uri-js/src/schemes/urn.ts | 69 - node_modules/uri-js/src/uri.ts | 556 - node_modules/uri-js/src/util.ts | 40 - node_modules/uri-js/tests/qunit.css | 118 - node_modules/uri-js/tests/qunit.js | 1042 - node_modules/uri-js/tests/test-es5-min.html | 17 - node_modules/uri-js/tests/test-es5.html | 17 - node_modules/uri-js/tests/tests.js | 774 - node_modules/uri-js/tsconfig.json | 20 - node_modules/uri-js/yarn.lock | 1902 -- .../validate-npm-package-license/LICENSE | 202 - .../validate-npm-package-license/README.md | 113 - .../validate-npm-package-license/index.js | 86 - .../validate-npm-package-license/package.json | 67 - node_modules/window-size/LICENSE | 21 - node_modules/window-size/README.md | 45 - node_modules/window-size/cli.js | 30 - node_modules/window-size/index.js | 32 - node_modules/window-size/package.json | 117 - node_modules/wrap-ansi/index.js | 168 - node_modules/wrap-ansi/license | 21 - .../node_modules/string-width/index.js | 37 - .../node_modules/string-width/license | 21 - .../node_modules/string-width/package.json | 123 - .../node_modules/string-width/readme.md | 42 - node_modules/wrap-ansi/package.json | 145 - node_modules/wrap-ansi/readme.md | 73 - node_modules/wrappy/LICENSE | 15 - node_modules/wrappy/README.md | 36 - node_modules/wrappy/package.json | 97 - node_modules/wrappy/wrappy.js | 33 - node_modules/write-file-stdout/.npmignore | 1 - node_modules/write-file-stdout/History.md | 7 - node_modules/write-file-stdout/Makefile | 8 - node_modules/write-file-stdout/Readme.md | 17 - node_modules/write-file-stdout/index.js | 20 - node_modules/write-file-stdout/package.json | 78 - node_modules/write/LICENSE | 21 - node_modules/write/README.md | 101 - node_modules/write/index.js | 93 - node_modules/write/package.json | 105 - node_modules/xtend/.jshintrc | 30 - node_modules/xtend/.npmignore | 1 - node_modules/xtend/LICENCE | 19 - node_modules/xtend/Makefile | 4 - node_modules/xtend/README.md | 32 - node_modules/xtend/immutable.js | 19 - node_modules/xtend/mutable.js | 17 - node_modules/xtend/package.json | 117 - node_modules/xtend/test.js | 83 - node_modules/y18n/LICENSE | 13 - node_modules/y18n/README.md | 91 - node_modules/y18n/index.js | 172 - node_modules/y18n/package.json | 105 - node_modules/yargs/.npmignore | 3 - node_modules/yargs/.travis.yml | 3 - node_modules/yargs/LICENSE | 21 - node_modules/yargs/README.md | 681 - node_modules/yargs/example/bool.js | 10 - node_modules/yargs/example/boolean_double.js | 7 - node_modules/yargs/example/boolean_single.js | 7 - node_modules/yargs/example/count.js | 15 - node_modules/yargs/example/default_hash.js | 8 - node_modules/yargs/example/default_singles.js | 7 - node_modules/yargs/example/demand_count.js | 5 - node_modules/yargs/example/divide.js | 8 - node_modules/yargs/example/help.js | 27 - node_modules/yargs/example/implies.js | 10 - node_modules/yargs/example/implies_hash.js | 26 - node_modules/yargs/example/line_count.js | 20 - .../yargs/example/line_count_options.js | 29 - node_modules/yargs/example/line_count_wrap.js | 29 - node_modules/yargs/example/nonopt.js | 4 - node_modules/yargs/example/requires_arg.js | 19 - node_modules/yargs/example/short.js | 3 - node_modules/yargs/example/strict.js | 19 - node_modules/yargs/example/string.js | 11 - node_modules/yargs/example/usage-options.js | 19 - node_modules/yargs/example/xup.js | 9 - node_modules/yargs/index.js | 638 - node_modules/yargs/lib/minimist.js | 288 - node_modules/yargs/lib/wordwrap.js | 50 - node_modules/yargs/package.json | 113 - 5145 files changed, 1 insertion(+), 709521 deletions(-) delete mode 120000 node_modules/.bin/JSONStream delete mode 120000 node_modules/.bin/browserslist delete mode 120000 node_modules/.bin/colorguard delete mode 120000 node_modules/.bin/css-rule-stream delete mode 120000 node_modules/.bin/doiuse delete mode 120000 node_modules/.bin/editorconfig delete mode 120000 node_modules/.bin/esparse delete mode 120000 node_modules/.bin/esvalidate delete mode 120000 node_modules/.bin/js-yaml delete mode 120000 node_modules/.bin/jsonfilter delete mode 120000 node_modules/.bin/mkdirp delete mode 120000 node_modules/.bin/rimraf delete mode 120000 node_modules/.bin/semver delete mode 120000 node_modules/.bin/specificity delete mode 120000 node_modules/.bin/strip-indent delete mode 120000 node_modules/.bin/stylefmt delete mode 120000 node_modules/.bin/stylehacks delete mode 120000 node_modules/.bin/stylelint delete mode 120000 node_modules/.bin/window-size delete mode 100644 node_modules/JSONStream/.npmignore delete mode 100644 node_modules/JSONStream/.travis.yml delete mode 100644 node_modules/JSONStream/LICENSE.APACHE2 delete mode 100644 node_modules/JSONStream/LICENSE.MIT delete mode 100644 node_modules/JSONStream/examples/all_docs.js delete mode 100755 node_modules/JSONStream/index.js delete mode 100644 node_modules/JSONStream/package.json delete mode 100644 node_modules/JSONStream/readme.markdown delete mode 100644 node_modules/ajv-keywords/LICENSE delete mode 100644 node_modules/ajv-keywords/README.md delete mode 100644 node_modules/ajv-keywords/index.js delete mode 100644 node_modules/ajv-keywords/keywords/_formatLimit.js delete mode 100644 node_modules/ajv-keywords/keywords/_util.js delete mode 100644 node_modules/ajv-keywords/keywords/deepProperties.js delete mode 100644 node_modules/ajv-keywords/keywords/deepRequired.js delete mode 100644 node_modules/ajv-keywords/keywords/dot/_formatLimit.jst delete mode 100644 node_modules/ajv-keywords/keywords/dot/patternRequired.jst delete mode 100644 node_modules/ajv-keywords/keywords/dot/switch.jst delete mode 100644 node_modules/ajv-keywords/keywords/dotjs/README.md delete mode 100644 node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js delete mode 100644 node_modules/ajv-keywords/keywords/dotjs/patternRequired.js delete mode 100644 node_modules/ajv-keywords/keywords/dotjs/switch.js delete mode 100644 node_modules/ajv-keywords/keywords/dynamicDefaults.js delete mode 100644 node_modules/ajv-keywords/keywords/formatMaximum.js delete mode 100644 node_modules/ajv-keywords/keywords/formatMinimum.js delete mode 100644 node_modules/ajv-keywords/keywords/index.js delete mode 100644 node_modules/ajv-keywords/keywords/instanceof.js delete mode 100644 node_modules/ajv-keywords/keywords/patternRequired.js delete mode 100644 node_modules/ajv-keywords/keywords/prohibited.js delete mode 100644 node_modules/ajv-keywords/keywords/range.js delete mode 100644 node_modules/ajv-keywords/keywords/regexp.js delete mode 100644 node_modules/ajv-keywords/keywords/select.js delete mode 100644 node_modules/ajv-keywords/keywords/switch.js delete mode 100644 node_modules/ajv-keywords/keywords/transform.js delete mode 100644 node_modules/ajv-keywords/keywords/typeof.js delete mode 100644 node_modules/ajv-keywords/keywords/uniqueItemProperties.js delete mode 100644 node_modules/ajv-keywords/package.json delete mode 100644 node_modules/ajv/.tonic_example.js delete mode 100644 node_modules/ajv/LICENSE delete mode 100644 node_modules/ajv/README.md delete mode 100644 node_modules/ajv/dist/ajv.bundle.js delete mode 100644 node_modules/ajv/dist/ajv.min.js delete mode 100644 node_modules/ajv/dist/ajv.min.js.map delete mode 100644 node_modules/ajv/lib/ajv.d.ts delete mode 100644 node_modules/ajv/lib/ajv.js delete mode 100644 node_modules/ajv/lib/cache.js delete mode 100644 node_modules/ajv/lib/compile/async.js delete mode 100644 node_modules/ajv/lib/compile/equal.js delete mode 100644 node_modules/ajv/lib/compile/error_classes.js delete mode 100644 node_modules/ajv/lib/compile/formats.js delete mode 100644 node_modules/ajv/lib/compile/index.js delete mode 100644 node_modules/ajv/lib/compile/resolve.js delete mode 100644 node_modules/ajv/lib/compile/rules.js delete mode 100644 node_modules/ajv/lib/compile/schema_obj.js delete mode 100644 node_modules/ajv/lib/compile/ucs2length.js delete mode 100644 node_modules/ajv/lib/compile/util.js delete mode 100644 node_modules/ajv/lib/data.js delete mode 100644 node_modules/ajv/lib/dot/_limit.jst delete mode 100644 node_modules/ajv/lib/dot/_limitItems.jst delete mode 100644 node_modules/ajv/lib/dot/_limitLength.jst delete mode 100644 node_modules/ajv/lib/dot/_limitProperties.jst delete mode 100644 node_modules/ajv/lib/dot/allOf.jst delete mode 100644 node_modules/ajv/lib/dot/anyOf.jst delete mode 100644 node_modules/ajv/lib/dot/coerce.def delete mode 100644 node_modules/ajv/lib/dot/comment.jst delete mode 100644 node_modules/ajv/lib/dot/const.jst delete mode 100644 node_modules/ajv/lib/dot/contains.jst delete mode 100644 node_modules/ajv/lib/dot/custom.jst delete mode 100644 node_modules/ajv/lib/dot/defaults.def delete mode 100644 node_modules/ajv/lib/dot/definitions.def delete mode 100644 node_modules/ajv/lib/dot/dependencies.jst delete mode 100644 node_modules/ajv/lib/dot/enum.jst delete mode 100644 node_modules/ajv/lib/dot/errors.def delete mode 100644 node_modules/ajv/lib/dot/format.jst delete mode 100644 node_modules/ajv/lib/dot/if.jst delete mode 100644 node_modules/ajv/lib/dot/items.jst delete mode 100644 node_modules/ajv/lib/dot/missing.def delete mode 100644 node_modules/ajv/lib/dot/multipleOf.jst delete mode 100644 node_modules/ajv/lib/dot/not.jst delete mode 100644 node_modules/ajv/lib/dot/oneOf.jst delete mode 100644 node_modules/ajv/lib/dot/pattern.jst delete mode 100644 node_modules/ajv/lib/dot/properties.jst delete mode 100644 node_modules/ajv/lib/dot/propertyNames.jst delete mode 100644 node_modules/ajv/lib/dot/ref.jst delete mode 100644 node_modules/ajv/lib/dot/required.jst delete mode 100644 node_modules/ajv/lib/dot/uniqueItems.jst delete mode 100644 node_modules/ajv/lib/dot/validate.jst delete mode 100644 node_modules/ajv/lib/dotjs/README.md delete mode 100644 node_modules/ajv/lib/dotjs/_limit.js delete mode 100644 node_modules/ajv/lib/dotjs/_limitItems.js delete mode 100644 node_modules/ajv/lib/dotjs/_limitLength.js delete mode 100644 node_modules/ajv/lib/dotjs/_limitProperties.js delete mode 100644 node_modules/ajv/lib/dotjs/allOf.js delete mode 100644 node_modules/ajv/lib/dotjs/anyOf.js delete mode 100644 node_modules/ajv/lib/dotjs/comment.js delete mode 100644 node_modules/ajv/lib/dotjs/const.js delete mode 100644 node_modules/ajv/lib/dotjs/contains.js delete mode 100644 node_modules/ajv/lib/dotjs/custom.js delete mode 100644 node_modules/ajv/lib/dotjs/dependencies.js delete mode 100644 node_modules/ajv/lib/dotjs/enum.js delete mode 100644 node_modules/ajv/lib/dotjs/format.js delete mode 100644 node_modules/ajv/lib/dotjs/if.js delete mode 100644 node_modules/ajv/lib/dotjs/index.js delete mode 100644 node_modules/ajv/lib/dotjs/items.js delete mode 100644 node_modules/ajv/lib/dotjs/multipleOf.js delete mode 100644 node_modules/ajv/lib/dotjs/not.js delete mode 100644 node_modules/ajv/lib/dotjs/oneOf.js delete mode 100644 node_modules/ajv/lib/dotjs/pattern.js delete mode 100644 node_modules/ajv/lib/dotjs/properties.js delete mode 100644 node_modules/ajv/lib/dotjs/propertyNames.js delete mode 100644 node_modules/ajv/lib/dotjs/ref.js delete mode 100644 node_modules/ajv/lib/dotjs/required.js delete mode 100644 node_modules/ajv/lib/dotjs/uniqueItems.js delete mode 100644 node_modules/ajv/lib/dotjs/validate.js delete mode 100644 node_modules/ajv/lib/keyword.js delete mode 100644 node_modules/ajv/lib/refs/data.json delete mode 100644 node_modules/ajv/lib/refs/json-schema-draft-04.json delete mode 100644 node_modules/ajv/lib/refs/json-schema-draft-06.json delete mode 100644 node_modules/ajv/lib/refs/json-schema-draft-07.json delete mode 100644 node_modules/ajv/package.json delete mode 100644 node_modules/ajv/scripts/.eslintrc.yml delete mode 100644 node_modules/ajv/scripts/bundle.js delete mode 100644 node_modules/ajv/scripts/compile-dots.js delete mode 100755 node_modules/ajv/scripts/info delete mode 100755 node_modules/ajv/scripts/prepare-tests delete mode 100755 node_modules/ajv/scripts/publish-built-version delete mode 100755 node_modules/ajv/scripts/travis-gh-pages delete mode 100644 node_modules/amdefine/LICENSE delete mode 100644 node_modules/amdefine/README.md delete mode 100644 node_modules/amdefine/amdefine.js delete mode 100644 node_modules/amdefine/intercept.js delete mode 100644 node_modules/amdefine/package.json delete mode 100644 node_modules/ansi-regex/index.js delete mode 100644 node_modules/ansi-regex/license delete mode 100644 node_modules/ansi-regex/package.json delete mode 100644 node_modules/ansi-regex/readme.md delete mode 100644 node_modules/ansi-styles/index.js delete mode 100644 node_modules/ansi-styles/license delete mode 100644 node_modules/ansi-styles/package.json delete mode 100644 node_modules/ansi-styles/readme.md delete mode 100644 node_modules/argparse/CHANGELOG.md delete mode 100644 node_modules/argparse/LICENSE delete mode 100644 node_modules/argparse/README.md delete mode 100644 node_modules/argparse/index.js delete mode 100644 node_modules/argparse/lib/action.js delete mode 100644 node_modules/argparse/lib/action/append.js delete mode 100644 node_modules/argparse/lib/action/append/constant.js delete mode 100644 node_modules/argparse/lib/action/count.js delete mode 100644 node_modules/argparse/lib/action/help.js delete mode 100644 node_modules/argparse/lib/action/store.js delete mode 100644 node_modules/argparse/lib/action/store/constant.js delete mode 100644 node_modules/argparse/lib/action/store/false.js delete mode 100644 node_modules/argparse/lib/action/store/true.js delete mode 100644 node_modules/argparse/lib/action/subparsers.js delete mode 100644 node_modules/argparse/lib/action/version.js delete mode 100644 node_modules/argparse/lib/action_container.js delete mode 100644 node_modules/argparse/lib/argparse.js delete mode 100644 node_modules/argparse/lib/argument/error.js delete mode 100644 node_modules/argparse/lib/argument/exclusive.js delete mode 100644 node_modules/argparse/lib/argument/group.js delete mode 100644 node_modules/argparse/lib/argument_parser.js delete mode 100644 node_modules/argparse/lib/const.js delete mode 100644 node_modules/argparse/lib/help/added_formatters.js delete mode 100644 node_modules/argparse/lib/help/formatter.js delete mode 100644 node_modules/argparse/lib/namespace.js delete mode 100644 node_modules/argparse/lib/utils.js delete mode 100644 node_modules/argparse/package.json delete mode 100755 node_modules/arr-diff/LICENSE delete mode 100644 node_modules/arr-diff/README.md delete mode 100644 node_modules/arr-diff/index.js delete mode 100644 node_modules/arr-diff/package.json delete mode 100755 node_modules/arr-flatten/LICENSE delete mode 100755 node_modules/arr-flatten/README.md delete mode 100644 node_modules/arr-flatten/index.js delete mode 100644 node_modules/arr-flatten/package.json delete mode 100644 node_modules/array-differ/index.js delete mode 100644 node_modules/array-differ/package.json delete mode 100644 node_modules/array-differ/readme.md delete mode 100644 node_modules/array-find-index/index.js delete mode 100644 node_modules/array-find-index/license delete mode 100644 node_modules/array-find-index/package.json delete mode 100644 node_modules/array-find-index/readme.md delete mode 100644 node_modules/array-union/index.js delete mode 100644 node_modules/array-union/license delete mode 100644 node_modules/array-union/package.json delete mode 100644 node_modules/array-union/readme.md delete mode 100644 node_modules/array-uniq/index.js delete mode 100644 node_modules/array-uniq/license delete mode 100644 node_modules/array-uniq/package.json delete mode 100644 node_modules/array-uniq/readme.md delete mode 100755 node_modules/array-unique/LICENSE delete mode 100755 node_modules/array-unique/README.md delete mode 100755 node_modules/array-unique/index.js delete mode 100755 node_modules/array-unique/package.json delete mode 100644 node_modules/arrify/index.js delete mode 100644 node_modules/arrify/license delete mode 100644 node_modules/arrify/package.json delete mode 100644 node_modules/arrify/readme.md delete mode 100644 node_modules/autoprefixer/AUTHORS delete mode 100644 node_modules/autoprefixer/CHANGELOG.md delete mode 100644 node_modules/autoprefixer/LICENSE delete mode 100644 node_modules/autoprefixer/README.md delete mode 100644 node_modules/autoprefixer/data/prefixes.js delete mode 100644 node_modules/autoprefixer/lib/at-rule.js delete mode 100644 node_modules/autoprefixer/lib/autoprefixer.js delete mode 100644 node_modules/autoprefixer/lib/brackets.js delete mode 100644 node_modules/autoprefixer/lib/browsers.js delete mode 100644 node_modules/autoprefixer/lib/declaration.js delete mode 100644 node_modules/autoprefixer/lib/hacks/align-content.js delete mode 100644 node_modules/autoprefixer/lib/hacks/align-items.js delete mode 100644 node_modules/autoprefixer/lib/hacks/align-self.js delete mode 100644 node_modules/autoprefixer/lib/hacks/background-size.js delete mode 100644 node_modules/autoprefixer/lib/hacks/block-logical.js delete mode 100644 node_modules/autoprefixer/lib/hacks/border-image.js delete mode 100644 node_modules/autoprefixer/lib/hacks/border-radius.js delete mode 100644 node_modules/autoprefixer/lib/hacks/break-props.js delete mode 100644 node_modules/autoprefixer/lib/hacks/cross-fade.js delete mode 100644 node_modules/autoprefixer/lib/hacks/display-flex.js delete mode 100644 node_modules/autoprefixer/lib/hacks/display-grid.js delete mode 100644 node_modules/autoprefixer/lib/hacks/filter-value.js delete mode 100644 node_modules/autoprefixer/lib/hacks/filter.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-basis.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-direction.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-flow.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-grow.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-shrink.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-spec.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-values.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex-wrap.js delete mode 100644 node_modules/autoprefixer/lib/hacks/flex.js delete mode 100644 node_modules/autoprefixer/lib/hacks/fullscreen.js delete mode 100644 node_modules/autoprefixer/lib/hacks/gradient.js delete mode 100644 node_modules/autoprefixer/lib/hacks/grid-end.js delete mode 100644 node_modules/autoprefixer/lib/hacks/grid-row-align.js delete mode 100644 node_modules/autoprefixer/lib/hacks/grid-start.js delete mode 100644 node_modules/autoprefixer/lib/hacks/grid-template.js delete mode 100644 node_modules/autoprefixer/lib/hacks/image-rendering.js delete mode 100644 node_modules/autoprefixer/lib/hacks/image-set.js delete mode 100644 node_modules/autoprefixer/lib/hacks/inline-logical.js delete mode 100644 node_modules/autoprefixer/lib/hacks/justify-content.js delete mode 100644 node_modules/autoprefixer/lib/hacks/justify-items.js delete mode 100644 node_modules/autoprefixer/lib/hacks/mask-border.js delete mode 100644 node_modules/autoprefixer/lib/hacks/order.js delete mode 100644 node_modules/autoprefixer/lib/hacks/pixelated.js delete mode 100644 node_modules/autoprefixer/lib/hacks/placeholder.js delete mode 100644 node_modules/autoprefixer/lib/hacks/stretch.js delete mode 100644 node_modules/autoprefixer/lib/hacks/text-emphasis-position.js delete mode 100644 node_modules/autoprefixer/lib/hacks/transform-decl.js delete mode 100644 node_modules/autoprefixer/lib/hacks/writing-mode.js delete mode 100644 node_modules/autoprefixer/lib/info.js delete mode 100644 node_modules/autoprefixer/lib/old-selector.js delete mode 100644 node_modules/autoprefixer/lib/old-value.js delete mode 100644 node_modules/autoprefixer/lib/prefixer.js delete mode 100644 node_modules/autoprefixer/lib/prefixes.js delete mode 100644 node_modules/autoprefixer/lib/processor.js delete mode 100644 node_modules/autoprefixer/lib/resolution.js delete mode 100644 node_modules/autoprefixer/lib/selector.js delete mode 100644 node_modules/autoprefixer/lib/supports.js delete mode 100644 node_modules/autoprefixer/lib/transition.js delete mode 100644 node_modules/autoprefixer/lib/utils.js delete mode 100644 node_modules/autoprefixer/lib/value.js delete mode 100644 node_modules/autoprefixer/node_modules/ansi-styles/index.js delete mode 100644 node_modules/autoprefixer/node_modules/ansi-styles/license delete mode 100644 node_modules/autoprefixer/node_modules/ansi-styles/package.json delete mode 100644 node_modules/autoprefixer/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/autoprefixer/node_modules/chalk/index.js delete mode 100644 node_modules/autoprefixer/node_modules/chalk/license delete mode 100644 node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/autoprefixer/node_modules/chalk/package.json delete mode 100644 node_modules/autoprefixer/node_modules/chalk/readme.md delete mode 100644 node_modules/autoprefixer/node_modules/has-flag/index.js delete mode 100644 node_modules/autoprefixer/node_modules/has-flag/license delete mode 100644 node_modules/autoprefixer/node_modules/has-flag/package.json delete mode 100644 node_modules/autoprefixer/node_modules/has-flag/readme.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/LICENSE delete mode 100644 node_modules/autoprefixer/node_modules/postcss/README.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/container.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/input.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/list.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/node.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/result.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/root.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/autoprefixer/node_modules/postcss/package.json delete mode 100644 node_modules/autoprefixer/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/autoprefixer/node_modules/source-map/LICENSE delete mode 100644 node_modules/autoprefixer/node_modules/source-map/README.md delete mode 100644 node_modules/autoprefixer/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/lib/util.js delete mode 100644 node_modules/autoprefixer/node_modules/source-map/package.json delete mode 100644 node_modules/autoprefixer/node_modules/source-map/source-map.js delete mode 100644 node_modules/autoprefixer/node_modules/supports-color/browser.js delete mode 100644 node_modules/autoprefixer/node_modules/supports-color/index.js delete mode 100644 node_modules/autoprefixer/node_modules/supports-color/license delete mode 100644 node_modules/autoprefixer/node_modules/supports-color/package.json delete mode 100644 node_modules/autoprefixer/node_modules/supports-color/readme.md delete mode 100644 node_modules/autoprefixer/package.json delete mode 100644 node_modules/balanced-match/.npmignore delete mode 100644 node_modules/balanced-match/LICENSE.md delete mode 100644 node_modules/balanced-match/README.md delete mode 100644 node_modules/balanced-match/index.js delete mode 100644 node_modules/balanced-match/package.json delete mode 100644 node_modules/bluebird/LICENSE delete mode 100644 node_modules/bluebird/README.md delete mode 100644 node_modules/bluebird/changelog.md delete mode 100644 node_modules/bluebird/js/browser/bluebird.core.js delete mode 100644 node_modules/bluebird/js/browser/bluebird.core.min.js delete mode 100644 node_modules/bluebird/js/browser/bluebird.js delete mode 100644 node_modules/bluebird/js/browser/bluebird.min.js delete mode 100644 node_modules/bluebird/js/release/any.js delete mode 100644 node_modules/bluebird/js/release/assert.js delete mode 100644 node_modules/bluebird/js/release/async.js delete mode 100644 node_modules/bluebird/js/release/bind.js delete mode 100644 node_modules/bluebird/js/release/bluebird.js delete mode 100644 node_modules/bluebird/js/release/call_get.js delete mode 100644 node_modules/bluebird/js/release/cancel.js delete mode 100644 node_modules/bluebird/js/release/catch_filter.js delete mode 100644 node_modules/bluebird/js/release/context.js delete mode 100644 node_modules/bluebird/js/release/debuggability.js delete mode 100644 node_modules/bluebird/js/release/direct_resolve.js delete mode 100644 node_modules/bluebird/js/release/each.js delete mode 100644 node_modules/bluebird/js/release/errors.js delete mode 100644 node_modules/bluebird/js/release/es5.js delete mode 100644 node_modules/bluebird/js/release/filter.js delete mode 100644 node_modules/bluebird/js/release/finally.js delete mode 100644 node_modules/bluebird/js/release/generators.js delete mode 100644 node_modules/bluebird/js/release/join.js delete mode 100644 node_modules/bluebird/js/release/map.js delete mode 100644 node_modules/bluebird/js/release/method.js delete mode 100644 node_modules/bluebird/js/release/nodeback.js delete mode 100644 node_modules/bluebird/js/release/nodeify.js delete mode 100644 node_modules/bluebird/js/release/promise.js delete mode 100644 node_modules/bluebird/js/release/promise_array.js delete mode 100644 node_modules/bluebird/js/release/promisify.js delete mode 100644 node_modules/bluebird/js/release/props.js delete mode 100644 node_modules/bluebird/js/release/queue.js delete mode 100644 node_modules/bluebird/js/release/race.js delete mode 100644 node_modules/bluebird/js/release/reduce.js delete mode 100644 node_modules/bluebird/js/release/schedule.js delete mode 100644 node_modules/bluebird/js/release/settle.js delete mode 100644 node_modules/bluebird/js/release/some.js delete mode 100644 node_modules/bluebird/js/release/synchronous_inspection.js delete mode 100644 node_modules/bluebird/js/release/thenables.js delete mode 100644 node_modules/bluebird/js/release/timers.js delete mode 100644 node_modules/bluebird/js/release/using.js delete mode 100644 node_modules/bluebird/js/release/util.js delete mode 100644 node_modules/bluebird/package.json delete mode 100644 node_modules/brace-expansion/LICENSE delete mode 100644 node_modules/brace-expansion/README.md delete mode 100644 node_modules/brace-expansion/index.js delete mode 100644 node_modules/brace-expansion/package.json delete mode 100644 node_modules/braces/LICENSE delete mode 100644 node_modules/braces/README.md delete mode 100644 node_modules/braces/index.js delete mode 100644 node_modules/braces/package.json delete mode 100644 node_modules/browserslist/CHANGELOG.md delete mode 100644 node_modules/browserslist/LICENSE delete mode 100644 node_modules/browserslist/README.md delete mode 100755 node_modules/browserslist/cli.js delete mode 100644 node_modules/browserslist/index.js delete mode 100644 node_modules/browserslist/package.json delete mode 100644 node_modules/builtin-modules/builtin-modules.json delete mode 100644 node_modules/builtin-modules/index.js delete mode 100644 node_modules/builtin-modules/license delete mode 100644 node_modules/builtin-modules/package.json delete mode 100644 node_modules/builtin-modules/readme.md delete mode 100644 node_modules/builtin-modules/static.js delete mode 100644 node_modules/camelcase-keys/index.js delete mode 100644 node_modules/camelcase-keys/license delete mode 100644 node_modules/camelcase-keys/package.json delete mode 100644 node_modules/camelcase-keys/readme.md delete mode 100644 node_modules/camelcase/index.js delete mode 100644 node_modules/camelcase/license delete mode 100644 node_modules/camelcase/package.json delete mode 100644 node_modules/camelcase/readme.md delete mode 100644 node_modules/caniuse-db/.editorconfig delete mode 100644 node_modules/caniuse-db/.npmignore delete mode 100644 node_modules/caniuse-db/CONTRIBUTING.md delete mode 100644 node_modules/caniuse-db/LICENSE delete mode 100644 node_modules/caniuse-db/README.md delete mode 100644 node_modules/caniuse-db/data.json delete mode 100644 node_modules/caniuse-db/features-json/aac.json delete mode 100644 node_modules/caniuse-db/features-json/abortcontroller.json delete mode 100644 node_modules/caniuse-db/features-json/ac3-ec3.json delete mode 100644 node_modules/caniuse-db/features-json/accelerometer.json delete mode 100644 node_modules/caniuse-db/features-json/addeventlistener.json delete mode 100644 node_modules/caniuse-db/features-json/alternate-stylesheet.json delete mode 100644 node_modules/caniuse-db/features-json/ambient-light.json delete mode 100644 node_modules/caniuse-db/features-json/apng.json delete mode 100644 node_modules/caniuse-db/features-json/array-find-index.json delete mode 100644 node_modules/caniuse-db/features-json/array-find.json delete mode 100644 node_modules/caniuse-db/features-json/array-includes.json delete mode 100644 node_modules/caniuse-db/features-json/arrow-functions.json delete mode 100644 node_modules/caniuse-db/features-json/asmjs.json delete mode 100644 node_modules/caniuse-db/features-json/async-clipboard.json delete mode 100644 node_modules/caniuse-db/features-json/async-functions.json delete mode 100644 node_modules/caniuse-db/features-json/async-iterations-and-generators.json delete mode 100644 node_modules/caniuse-db/features-json/atob-btoa.json delete mode 100644 node_modules/caniuse-db/features-json/audio-api.json delete mode 100644 node_modules/caniuse-db/features-json/audio.json delete mode 100644 node_modules/caniuse-db/features-json/audiotracks.json delete mode 100644 node_modules/caniuse-db/features-json/autofocus.json delete mode 100644 node_modules/caniuse-db/features-json/auxclick.json delete mode 100644 node_modules/caniuse-db/features-json/av1.json delete mode 100644 node_modules/caniuse-db/features-json/background-attachment.json delete mode 100644 node_modules/caniuse-db/features-json/background-clip-text.json delete mode 100644 node_modules/caniuse-db/features-json/background-img-opts.json delete mode 100644 node_modules/caniuse-db/features-json/background-position-x-y.json delete mode 100644 node_modules/caniuse-db/features-json/background-repeat-round-space.json delete mode 100644 node_modules/caniuse-db/features-json/background-sync.json delete mode 100644 node_modules/caniuse-db/features-json/battery-status.json delete mode 100644 node_modules/caniuse-db/features-json/beacon.json delete mode 100644 node_modules/caniuse-db/features-json/beforeafterprint.json delete mode 100644 node_modules/caniuse-db/features-json/bigint.json delete mode 100644 node_modules/caniuse-db/features-json/blobbuilder.json delete mode 100644 node_modules/caniuse-db/features-json/bloburls.json delete mode 100644 node_modules/caniuse-db/features-json/border-image.json delete mode 100644 node_modules/caniuse-db/features-json/border-radius.json delete mode 100644 node_modules/caniuse-db/features-json/broadcastchannel.json delete mode 100644 node_modules/caniuse-db/features-json/brotli.json delete mode 100644 node_modules/caniuse-db/features-json/calc.json delete mode 100644 node_modules/caniuse-db/features-json/canvas-blending.json delete mode 100644 node_modules/caniuse-db/features-json/canvas-text.json delete mode 100644 node_modules/caniuse-db/features-json/canvas.json delete mode 100644 node_modules/caniuse-db/features-json/ch-unit.json delete mode 100644 node_modules/caniuse-db/features-json/chacha20-poly1305.json delete mode 100644 node_modules/caniuse-db/features-json/channel-messaging.json delete mode 100644 node_modules/caniuse-db/features-json/childnode-remove.json delete mode 100644 node_modules/caniuse-db/features-json/classlist.json delete mode 100644 node_modules/caniuse-db/features-json/client-hints-dpr-width-viewport.json delete mode 100644 node_modules/caniuse-db/features-json/clipboard.json delete mode 100644 node_modules/caniuse-db/features-json/comparedocumentposition.json delete mode 100644 node_modules/caniuse-db/features-json/console-basic.json delete mode 100644 node_modules/caniuse-db/features-json/console-time.json delete mode 100644 node_modules/caniuse-db/features-json/const.json delete mode 100644 node_modules/caniuse-db/features-json/constraint-validation.json delete mode 100644 node_modules/caniuse-db/features-json/contenteditable.json delete mode 100644 node_modules/caniuse-db/features-json/contentsecuritypolicy.json delete mode 100644 node_modules/caniuse-db/features-json/contentsecuritypolicy2.json delete mode 100644 node_modules/caniuse-db/features-json/cors.json delete mode 100644 node_modules/caniuse-db/features-json/createimagebitmap.json delete mode 100644 node_modules/caniuse-db/features-json/credential-management.json delete mode 100644 node_modules/caniuse-db/features-json/cryptography.json delete mode 100644 node_modules/caniuse-db/features-json/css-all.json delete mode 100644 node_modules/caniuse-db/features-json/css-animation.json delete mode 100644 node_modules/caniuse-db/features-json/css-any-link.json delete mode 100644 node_modules/caniuse-db/features-json/css-appearance.json delete mode 100644 node_modules/caniuse-db/features-json/css-apply-rule.json delete mode 100644 node_modules/caniuse-db/features-json/css-at-counter-style.json delete mode 100644 node_modules/caniuse-db/features-json/css-backdrop-filter.json delete mode 100644 node_modules/caniuse-db/features-json/css-background-offsets.json delete mode 100644 node_modules/caniuse-db/features-json/css-backgroundblendmode.json delete mode 100644 node_modules/caniuse-db/features-json/css-boxdecorationbreak.json delete mode 100644 node_modules/caniuse-db/features-json/css-boxshadow.json delete mode 100644 node_modules/caniuse-db/features-json/css-canvas.json delete mode 100644 node_modules/caniuse-db/features-json/css-caret-color.json delete mode 100644 node_modules/caniuse-db/features-json/css-case-insensitive.json delete mode 100644 node_modules/caniuse-db/features-json/css-clip-path.json delete mode 100644 node_modules/caniuse-db/features-json/css-color-adjust.json delete mode 100644 node_modules/caniuse-db/features-json/css-conic-gradients.json delete mode 100644 node_modules/caniuse-db/features-json/css-containment.json delete mode 100644 node_modules/caniuse-db/features-json/css-counters.json delete mode 100644 node_modules/caniuse-db/features-json/css-crisp-edges.json delete mode 100644 node_modules/caniuse-db/features-json/css-cross-fade.json delete mode 100644 node_modules/caniuse-db/features-json/css-default-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-descendant-gtgt.json delete mode 100644 node_modules/caniuse-db/features-json/css-deviceadaptation.json delete mode 100644 node_modules/caniuse-db/features-json/css-dir-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-display-contents.json delete mode 100644 node_modules/caniuse-db/features-json/css-element-function.json delete mode 100644 node_modules/caniuse-db/features-json/css-env-function.json delete mode 100644 node_modules/caniuse-db/features-json/css-exclusions.json delete mode 100644 node_modules/caniuse-db/features-json/css-featurequeries.json delete mode 100644 node_modules/caniuse-db/features-json/css-filter-function.json delete mode 100644 node_modules/caniuse-db/features-json/css-filters.json delete mode 100644 node_modules/caniuse-db/features-json/css-first-letter.json delete mode 100644 node_modules/caniuse-db/features-json/css-first-line.json delete mode 100644 node_modules/caniuse-db/features-json/css-fixed.json delete mode 100644 node_modules/caniuse-db/features-json/css-focus-visible.json delete mode 100644 node_modules/caniuse-db/features-json/css-focus-within.json delete mode 100644 node_modules/caniuse-db/features-json/css-font-rendering-controls.json delete mode 100644 node_modules/caniuse-db/features-json/css-font-stretch.json delete mode 100644 node_modules/caniuse-db/features-json/css-gencontent.json delete mode 100644 node_modules/caniuse-db/features-json/css-gradients.json delete mode 100644 node_modules/caniuse-db/features-json/css-grid.json delete mode 100644 node_modules/caniuse-db/features-json/css-hanging-punctuation.json delete mode 100644 node_modules/caniuse-db/features-json/css-has.json delete mode 100644 node_modules/caniuse-db/features-json/css-hyphenate.json delete mode 100644 node_modules/caniuse-db/features-json/css-hyphens.json delete mode 100644 node_modules/caniuse-db/features-json/css-image-orientation.json delete mode 100644 node_modules/caniuse-db/features-json/css-image-set.json delete mode 100644 node_modules/caniuse-db/features-json/css-in-out-of-range.json delete mode 100644 node_modules/caniuse-db/features-json/css-indeterminate-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-initial-letter.json delete mode 100644 node_modules/caniuse-db/features-json/css-initial-value.json delete mode 100644 node_modules/caniuse-db/features-json/css-letter-spacing.json delete mode 100644 node_modules/caniuse-db/features-json/css-line-clamp.json delete mode 100644 node_modules/caniuse-db/features-json/css-logical-props.json delete mode 100644 node_modules/caniuse-db/features-json/css-marker-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-masks.json delete mode 100644 node_modules/caniuse-db/features-json/css-matches-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-math-functions.json delete mode 100644 node_modules/caniuse-db/features-json/css-media-interaction.json delete mode 100644 node_modules/caniuse-db/features-json/css-media-resolution.json delete mode 100644 node_modules/caniuse-db/features-json/css-media-scripting.json delete mode 100644 node_modules/caniuse-db/features-json/css-mediaqueries.json delete mode 100644 node_modules/caniuse-db/features-json/css-mixblendmode.json delete mode 100644 node_modules/caniuse-db/features-json/css-motion-paths.json delete mode 100644 node_modules/caniuse-db/features-json/css-namespaces.json delete mode 100644 node_modules/caniuse-db/features-json/css-not-sel-list.json delete mode 100644 node_modules/caniuse-db/features-json/css-nth-child-of.json delete mode 100644 node_modules/caniuse-db/features-json/css-opacity.json delete mode 100644 node_modules/caniuse-db/features-json/css-optional-pseudo.json delete mode 100644 node_modules/caniuse-db/features-json/css-overflow-anchor.json delete mode 100644 node_modules/caniuse-db/features-json/css-overflow.json delete mode 100644 node_modules/caniuse-db/features-json/css-overscroll-behavior.json delete mode 100644 node_modules/caniuse-db/features-json/css-page-break.json delete mode 100644 node_modules/caniuse-db/features-json/css-paged-media.json delete mode 100644 node_modules/caniuse-db/features-json/css-paint-api.json delete mode 100644 node_modules/caniuse-db/features-json/css-placeholder-shown.json delete mode 100644 node_modules/caniuse-db/features-json/css-placeholder.json delete mode 100644 node_modules/caniuse-db/features-json/css-read-only-write.json delete mode 100644 node_modules/caniuse-db/features-json/css-rebeccapurple.json delete mode 100644 node_modules/caniuse-db/features-json/css-reflections.json delete mode 100644 node_modules/caniuse-db/features-json/css-regions.json delete mode 100644 node_modules/caniuse-db/features-json/css-repeating-gradients.json delete mode 100644 node_modules/caniuse-db/features-json/css-resize.json delete mode 100644 node_modules/caniuse-db/features-json/css-revert-value.json delete mode 100644 node_modules/caniuse-db/features-json/css-rrggbbaa.json delete mode 100644 node_modules/caniuse-db/features-json/css-scroll-behavior.json delete mode 100644 node_modules/caniuse-db/features-json/css-scrollbar.json delete mode 100644 node_modules/caniuse-db/features-json/css-sel2.json delete mode 100644 node_modules/caniuse-db/features-json/css-sel3.json delete mode 100644 node_modules/caniuse-db/features-json/css-selection.json delete mode 100644 node_modules/caniuse-db/features-json/css-shapes.json delete mode 100644 node_modules/caniuse-db/features-json/css-snappoints.json delete mode 100644 node_modules/caniuse-db/features-json/css-sticky.json delete mode 100644 node_modules/caniuse-db/features-json/css-supports-api.json delete mode 100644 node_modules/caniuse-db/features-json/css-table.json delete mode 100644 node_modules/caniuse-db/features-json/css-text-align-last.json delete mode 100644 node_modules/caniuse-db/features-json/css-text-indent.json delete mode 100644 node_modules/caniuse-db/features-json/css-text-justify.json delete mode 100644 node_modules/caniuse-db/features-json/css-text-orientation.json delete mode 100644 node_modules/caniuse-db/features-json/css-text-spacing.json delete mode 100644 node_modules/caniuse-db/features-json/css-textshadow.json delete mode 100644 node_modules/caniuse-db/features-json/css-touch-action-2.json delete mode 100644 node_modules/caniuse-db/features-json/css-touch-action.json delete mode 100644 node_modules/caniuse-db/features-json/css-transitions.json delete mode 100644 node_modules/caniuse-db/features-json/css-unicode-bidi.json delete mode 100644 node_modules/caniuse-db/features-json/css-unset-value.json delete mode 100644 node_modules/caniuse-db/features-json/css-variables.json delete mode 100644 node_modules/caniuse-db/features-json/css-widows-orphans.json delete mode 100644 node_modules/caniuse-db/features-json/css-writing-mode.json delete mode 100644 node_modules/caniuse-db/features-json/css-zoom.json delete mode 100644 node_modules/caniuse-db/features-json/css3-attr.json delete mode 100644 node_modules/caniuse-db/features-json/css3-boxsizing.json delete mode 100644 node_modules/caniuse-db/features-json/css3-colors.json delete mode 100644 node_modules/caniuse-db/features-json/css3-cursors-grab.json delete mode 100644 node_modules/caniuse-db/features-json/css3-cursors-newer.json delete mode 100644 node_modules/caniuse-db/features-json/css3-cursors.json delete mode 100644 node_modules/caniuse-db/features-json/css3-tabsize.json delete mode 100644 node_modules/caniuse-db/features-json/currentcolor.json delete mode 100644 node_modules/caniuse-db/features-json/custom-elements.json delete mode 100644 node_modules/caniuse-db/features-json/custom-elementsv1.json delete mode 100644 node_modules/caniuse-db/features-json/customevent.json delete mode 100644 node_modules/caniuse-db/features-json/datalist.json delete mode 100644 node_modules/caniuse-db/features-json/dataset.json delete mode 100644 node_modules/caniuse-db/features-json/datauri.json delete mode 100644 node_modules/caniuse-db/features-json/details.json delete mode 100644 node_modules/caniuse-db/features-json/deviceorientation.json delete mode 100644 node_modules/caniuse-db/features-json/devicepixelratio.json delete mode 100644 node_modules/caniuse-db/features-json/dialog.json delete mode 100644 node_modules/caniuse-db/features-json/dispatchevent.json delete mode 100644 node_modules/caniuse-db/features-json/do-not-track.json delete mode 100644 node_modules/caniuse-db/features-json/document-currentscript.json delete mode 100644 node_modules/caniuse-db/features-json/document-evaluate-xpath.json delete mode 100644 node_modules/caniuse-db/features-json/document-execcommand.json delete mode 100644 node_modules/caniuse-db/features-json/document-scrollingelement.json delete mode 100644 node_modules/caniuse-db/features-json/documenthead.json delete mode 100644 node_modules/caniuse-db/features-json/dom-manip-convenience.json delete mode 100644 node_modules/caniuse-db/features-json/dom-range.json delete mode 100644 node_modules/caniuse-db/features-json/domcontentloaded.json delete mode 100644 node_modules/caniuse-db/features-json/domfocusin-domfocusout-events.json delete mode 100644 node_modules/caniuse-db/features-json/dommatrix.json delete mode 100644 node_modules/caniuse-db/features-json/download.json delete mode 100644 node_modules/caniuse-db/features-json/dragndrop.json delete mode 100644 node_modules/caniuse-db/features-json/element-closest.json delete mode 100644 node_modules/caniuse-db/features-json/element-from-point.json delete mode 100644 node_modules/caniuse-db/features-json/eme.json delete mode 100644 node_modules/caniuse-db/features-json/eot.json delete mode 100644 node_modules/caniuse-db/features-json/es5.json delete mode 100644 node_modules/caniuse-db/features-json/es6-class.json delete mode 100644 node_modules/caniuse-db/features-json/es6-generators.json delete mode 100644 node_modules/caniuse-db/features-json/es6-module-dynamic-import.json delete mode 100644 node_modules/caniuse-db/features-json/es6-module.json delete mode 100644 node_modules/caniuse-db/features-json/es6-number.json delete mode 100644 node_modules/caniuse-db/features-json/es6-string-includes.json delete mode 100644 node_modules/caniuse-db/features-json/eventsource.json delete mode 100644 node_modules/caniuse-db/features-json/feature-policy.json delete mode 100644 node_modules/caniuse-db/features-json/fetch.json delete mode 100644 node_modules/caniuse-db/features-json/fieldset-disabled.json delete mode 100644 node_modules/caniuse-db/features-json/fileapi.json delete mode 100644 node_modules/caniuse-db/features-json/filereader.json delete mode 100644 node_modules/caniuse-db/features-json/filereadersync.json delete mode 100644 node_modules/caniuse-db/features-json/filesystem.json delete mode 100644 node_modules/caniuse-db/features-json/flac.json delete mode 100644 node_modules/caniuse-db/features-json/flexbox.json delete mode 100644 node_modules/caniuse-db/features-json/flow-root.json delete mode 100644 node_modules/caniuse-db/features-json/focusin-focusout-events.json delete mode 100644 node_modules/caniuse-db/features-json/focusoptions-preventscroll.json delete mode 100644 node_modules/caniuse-db/features-json/font-family-system-ui.json delete mode 100644 node_modules/caniuse-db/features-json/font-feature.json delete mode 100644 node_modules/caniuse-db/features-json/font-kerning.json delete mode 100644 node_modules/caniuse-db/features-json/font-loading.json delete mode 100644 node_modules/caniuse-db/features-json/font-size-adjust.json delete mode 100644 node_modules/caniuse-db/features-json/font-smooth.json delete mode 100644 node_modules/caniuse-db/features-json/font-unicode-range.json delete mode 100644 node_modules/caniuse-db/features-json/font-variant-alternates.json delete mode 100644 node_modules/caniuse-db/features-json/font-variant-east-asian.json delete mode 100644 node_modules/caniuse-db/features-json/fontface.json delete mode 100644 node_modules/caniuse-db/features-json/form-attribute.json delete mode 100644 node_modules/caniuse-db/features-json/form-submit-attributes.json delete mode 100644 node_modules/caniuse-db/features-json/form-validation.json delete mode 100644 node_modules/caniuse-db/features-json/forms.json delete mode 100644 node_modules/caniuse-db/features-json/fullscreen.json delete mode 100644 node_modules/caniuse-db/features-json/gamepad.json delete mode 100644 node_modules/caniuse-db/features-json/geolocation.json delete mode 100644 node_modules/caniuse-db/features-json/getboundingclientrect.json delete mode 100644 node_modules/caniuse-db/features-json/getcomputedstyle.json delete mode 100644 node_modules/caniuse-db/features-json/getelementsbyclassname.json delete mode 100644 node_modules/caniuse-db/features-json/getrandomvalues.json delete mode 100644 node_modules/caniuse-db/features-json/gyroscope.json delete mode 100644 node_modules/caniuse-db/features-json/hardwareconcurrency.json delete mode 100644 node_modules/caniuse-db/features-json/hashchange.json delete mode 100644 node_modules/caniuse-db/features-json/heif.json delete mode 100644 node_modules/caniuse-db/features-json/hevc.json delete mode 100644 node_modules/caniuse-db/features-json/hidden.json delete mode 100644 node_modules/caniuse-db/features-json/high-resolution-time.json delete mode 100644 node_modules/caniuse-db/features-json/history.json delete mode 100644 node_modules/caniuse-db/features-json/html-media-capture.json delete mode 100644 node_modules/caniuse-db/features-json/html5semantic.json delete mode 100644 node_modules/caniuse-db/features-json/http-live-streaming.json delete mode 100644 node_modules/caniuse-db/features-json/http2.json delete mode 100644 node_modules/caniuse-db/features-json/iframe-sandbox.json delete mode 100644 node_modules/caniuse-db/features-json/iframe-seamless.json delete mode 100644 node_modules/caniuse-db/features-json/iframe-srcdoc.json delete mode 100644 node_modules/caniuse-db/features-json/imagecapture.json delete mode 100644 node_modules/caniuse-db/features-json/ime.json delete mode 100644 node_modules/caniuse-db/features-json/img-naturalwidth-naturalheight.json delete mode 100644 node_modules/caniuse-db/features-json/imports.json delete mode 100644 node_modules/caniuse-db/features-json/indeterminate-checkbox.json delete mode 100644 node_modules/caniuse-db/features-json/indexeddb.json delete mode 100644 node_modules/caniuse-db/features-json/indexeddb2.json delete mode 100644 node_modules/caniuse-db/features-json/inline-block.json delete mode 100644 node_modules/caniuse-db/features-json/innertext.json delete mode 100644 node_modules/caniuse-db/features-json/input-autocomplete-onoff.json delete mode 100644 node_modules/caniuse-db/features-json/input-color.json delete mode 100644 node_modules/caniuse-db/features-json/input-datetime.json delete mode 100644 node_modules/caniuse-db/features-json/input-email-tel-url.json delete mode 100644 node_modules/caniuse-db/features-json/input-event.json delete mode 100644 node_modules/caniuse-db/features-json/input-file-accept.json delete mode 100644 node_modules/caniuse-db/features-json/input-file-directory.json delete mode 100644 node_modules/caniuse-db/features-json/input-file-multiple.json delete mode 100644 node_modules/caniuse-db/features-json/input-inputmode.json delete mode 100644 node_modules/caniuse-db/features-json/input-minlength.json delete mode 100644 node_modules/caniuse-db/features-json/input-number.json delete mode 100644 node_modules/caniuse-db/features-json/input-pattern.json delete mode 100644 node_modules/caniuse-db/features-json/input-placeholder.json delete mode 100644 node_modules/caniuse-db/features-json/input-range.json delete mode 100644 node_modules/caniuse-db/features-json/input-search.json delete mode 100644 node_modules/caniuse-db/features-json/input-selection.json delete mode 100644 node_modules/caniuse-db/features-json/insert-adjacent.json delete mode 100644 node_modules/caniuse-db/features-json/insertadjacenthtml.json delete mode 100644 node_modules/caniuse-db/features-json/internationalization-plural-rul.json delete mode 100644 node_modules/caniuse-db/features-json/internationalization.json delete mode 100644 node_modules/caniuse-db/features-json/intersectionobserver.json delete mode 100644 node_modules/caniuse-db/features-json/intrinsic-width.json delete mode 100644 node_modules/caniuse-db/features-json/jpeg2000.json delete mode 100644 node_modules/caniuse-db/features-json/jpegxr.json delete mode 100644 node_modules/caniuse-db/features-json/json.json delete mode 100644 node_modules/caniuse-db/features-json/justify-content-space-evenly.json delete mode 100644 node_modules/caniuse-db/features-json/kerning-pairs-ligatures.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-charcode.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-code.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-getmodifierstate.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-key.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-location.json delete mode 100644 node_modules/caniuse-db/features-json/keyboardevent-which.json delete mode 100644 node_modules/caniuse-db/features-json/lazyload.json delete mode 100644 node_modules/caniuse-db/features-json/let.json delete mode 100644 node_modules/caniuse-db/features-json/link-icon-png.json delete mode 100644 node_modules/caniuse-db/features-json/link-icon-svg.json delete mode 100644 node_modules/caniuse-db/features-json/link-rel-dns-prefetch.json delete mode 100644 node_modules/caniuse-db/features-json/link-rel-preconnect.json delete mode 100644 node_modules/caniuse-db/features-json/link-rel-prefetch.json delete mode 100644 node_modules/caniuse-db/features-json/link-rel-preload.json delete mode 100644 node_modules/caniuse-db/features-json/link-rel-prerender.json delete mode 100644 node_modules/caniuse-db/features-json/localecompare.json delete mode 100644 node_modules/caniuse-db/features-json/magnetometer.json delete mode 100644 node_modules/caniuse-db/features-json/matchesselector.json delete mode 100644 node_modules/caniuse-db/features-json/matchmedia.json delete mode 100644 node_modules/caniuse-db/features-json/mathml.json delete mode 100644 node_modules/caniuse-db/features-json/maxlength.json delete mode 100644 node_modules/caniuse-db/features-json/media-attribute.json delete mode 100644 node_modules/caniuse-db/features-json/media-fragments.json delete mode 100644 node_modules/caniuse-db/features-json/media-session-api.json delete mode 100644 node_modules/caniuse-db/features-json/mediacapture-fromelement.json delete mode 100644 node_modules/caniuse-db/features-json/mediarecorder.json delete mode 100644 node_modules/caniuse-db/features-json/mediasource.json delete mode 100644 node_modules/caniuse-db/features-json/menu.json delete mode 100644 node_modules/caniuse-db/features-json/meta-theme-color.json delete mode 100644 node_modules/caniuse-db/features-json/meter.json delete mode 100644 node_modules/caniuse-db/features-json/midi.json delete mode 100644 node_modules/caniuse-db/features-json/minmaxwh.json delete mode 100644 node_modules/caniuse-db/features-json/mp3.json delete mode 100644 node_modules/caniuse-db/features-json/mpeg-dash.json delete mode 100644 node_modules/caniuse-db/features-json/mpeg4.json delete mode 100644 node_modules/caniuse-db/features-json/multibackgrounds.json delete mode 100644 node_modules/caniuse-db/features-json/multicolumn.json delete mode 100644 node_modules/caniuse-db/features-json/mutation-events.json delete mode 100644 node_modules/caniuse-db/features-json/mutationobserver.json delete mode 100644 node_modules/caniuse-db/features-json/namevalue-storage.json delete mode 100644 node_modules/caniuse-db/features-json/nav-timing.json delete mode 100644 node_modules/caniuse-db/features-json/navigator-language.json delete mode 100644 node_modules/caniuse-db/features-json/netinfo.json delete mode 100644 node_modules/caniuse-db/features-json/node-contains.json delete mode 100644 node_modules/caniuse-db/features-json/node-parentelement.json delete mode 100644 node_modules/caniuse-db/features-json/notifications.json delete mode 100644 node_modules/caniuse-db/features-json/object-fit.json delete mode 100644 node_modules/caniuse-db/features-json/object-observe.json delete mode 100644 node_modules/caniuse-db/features-json/object-values.json delete mode 100644 node_modules/caniuse-db/features-json/objectrtc.json delete mode 100644 node_modules/caniuse-db/features-json/offline-apps.json delete mode 100644 node_modules/caniuse-db/features-json/offscreencanvas.json delete mode 100644 node_modules/caniuse-db/features-json/ogg-vorbis.json delete mode 100644 node_modules/caniuse-db/features-json/ogv.json delete mode 100644 node_modules/caniuse-db/features-json/ol-reversed.json delete mode 100644 node_modules/caniuse-db/features-json/once-event-listener.json delete mode 100644 node_modules/caniuse-db/features-json/online-status.json delete mode 100644 node_modules/caniuse-db/features-json/opus.json delete mode 100644 node_modules/caniuse-db/features-json/orientation-sensor.json delete mode 100644 node_modules/caniuse-db/features-json/outline.json delete mode 100644 node_modules/caniuse-db/features-json/pad-start-end.json delete mode 100644 node_modules/caniuse-db/features-json/page-transition-events.json delete mode 100644 node_modules/caniuse-db/features-json/pagevisibility.json delete mode 100644 node_modules/caniuse-db/features-json/passive-event-listener.json delete mode 100644 node_modules/caniuse-db/features-json/passwordrules.json delete mode 100644 node_modules/caniuse-db/features-json/path2d.json delete mode 100644 node_modules/caniuse-db/features-json/payment-request.json delete mode 100644 node_modules/caniuse-db/features-json/permissions-api.json delete mode 100644 node_modules/caniuse-db/features-json/picture-in-picture.json delete mode 100644 node_modules/caniuse-db/features-json/picture.json delete mode 100644 node_modules/caniuse-db/features-json/ping.json delete mode 100644 node_modules/caniuse-db/features-json/png-alpha.json delete mode 100644 node_modules/caniuse-db/features-json/pointer-events.json delete mode 100644 node_modules/caniuse-db/features-json/pointer.json delete mode 100644 node_modules/caniuse-db/features-json/pointerlock.json delete mode 100644 node_modules/caniuse-db/features-json/prefers-reduced-motion.json delete mode 100644 node_modules/caniuse-db/features-json/progress.json delete mode 100644 node_modules/caniuse-db/features-json/promise-finally.json delete mode 100644 node_modules/caniuse-db/features-json/promises.json delete mode 100644 node_modules/caniuse-db/features-json/proximity.json delete mode 100644 node_modules/caniuse-db/features-json/proxy.json delete mode 100644 node_modules/caniuse-db/features-json/publickeypinning.json delete mode 100644 node_modules/caniuse-db/features-json/push-api.json delete mode 100644 node_modules/caniuse-db/features-json/queryselector.json delete mode 100644 node_modules/caniuse-db/features-json/readonly-attr.json delete mode 100644 node_modules/caniuse-db/features-json/referrer-policy.json delete mode 100644 node_modules/caniuse-db/features-json/registerprotocolhandler.json delete mode 100644 node_modules/caniuse-db/features-json/rel-noopener.json delete mode 100644 node_modules/caniuse-db/features-json/rel-noreferrer.json delete mode 100644 node_modules/caniuse-db/features-json/rellist.json delete mode 100644 node_modules/caniuse-db/features-json/rem.json delete mode 100644 node_modules/caniuse-db/features-json/requestanimationframe.json delete mode 100644 node_modules/caniuse-db/features-json/requestidlecallback.json delete mode 100644 node_modules/caniuse-db/features-json/resizeobserver.json delete mode 100644 node_modules/caniuse-db/features-json/resource-timing.json delete mode 100644 node_modules/caniuse-db/features-json/rest-parameters.json delete mode 100644 node_modules/caniuse-db/features-json/rtcpeerconnection.json delete mode 100644 node_modules/caniuse-db/features-json/ruby.json delete mode 100644 node_modules/caniuse-db/features-json/run-in.json delete mode 100644 node_modules/caniuse-db/features-json/same-site-cookie-attribute.json delete mode 100644 node_modules/caniuse-db/features-json/screen-orientation.json delete mode 100644 node_modules/caniuse-db/features-json/script-async.json delete mode 100644 node_modules/caniuse-db/features-json/script-defer.json delete mode 100644 node_modules/caniuse-db/features-json/scrollintoview.json delete mode 100644 node_modules/caniuse-db/features-json/scrollintoviewifneeded.json delete mode 100644 node_modules/caniuse-db/features-json/sdch.json delete mode 100644 node_modules/caniuse-db/features-json/selection-api.json delete mode 100644 node_modules/caniuse-db/features-json/server-timing.json delete mode 100644 node_modules/caniuse-db/features-json/serviceworkers.json delete mode 100644 node_modules/caniuse-db/features-json/setimmediate.json delete mode 100644 node_modules/caniuse-db/features-json/sha-2.json delete mode 100644 node_modules/caniuse-db/features-json/shadowdom.json delete mode 100644 node_modules/caniuse-db/features-json/shadowdomv1.json delete mode 100644 node_modules/caniuse-db/features-json/sharedarraybuffer.json delete mode 100644 node_modules/caniuse-db/features-json/sharedworkers.json delete mode 100644 node_modules/caniuse-db/features-json/sni.json delete mode 100644 node_modules/caniuse-db/features-json/spdy.json delete mode 100644 node_modules/caniuse-db/features-json/speech-recognition.json delete mode 100644 node_modules/caniuse-db/features-json/speech-synthesis.json delete mode 100644 node_modules/caniuse-db/features-json/spellcheck-attribute.json delete mode 100644 node_modules/caniuse-db/features-json/sql-storage.json delete mode 100644 node_modules/caniuse-db/features-json/srcset.json delete mode 100644 node_modules/caniuse-db/features-json/stopimmediatepropagation.json delete mode 100644 node_modules/caniuse-db/features-json/stream.json delete mode 100644 node_modules/caniuse-db/features-json/streams.json delete mode 100644 node_modules/caniuse-db/features-json/stricttransportsecurity.json delete mode 100644 node_modules/caniuse-db/features-json/style-scoped.json delete mode 100644 node_modules/caniuse-db/features-json/subresource-integrity.json delete mode 100644 node_modules/caniuse-db/features-json/svg-css.json delete mode 100644 node_modules/caniuse-db/features-json/svg-filters.json delete mode 100644 node_modules/caniuse-db/features-json/svg-fonts.json delete mode 100644 node_modules/caniuse-db/features-json/svg-fragment.json delete mode 100644 node_modules/caniuse-db/features-json/svg-html.json delete mode 100644 node_modules/caniuse-db/features-json/svg-html5.json delete mode 100644 node_modules/caniuse-db/features-json/svg-img.json delete mode 100644 node_modules/caniuse-db/features-json/svg-smil.json delete mode 100644 node_modules/caniuse-db/features-json/svg.json delete mode 100644 node_modules/caniuse-db/features-json/symbols.json delete mode 100644 node_modules/caniuse-db/features-json/tabindex-attr.json delete mode 100644 node_modules/caniuse-db/features-json/template-literals.json delete mode 100644 node_modules/caniuse-db/features-json/template.json delete mode 100644 node_modules/caniuse-db/features-json/testfeat.json delete mode 100644 node_modules/caniuse-db/features-json/text-decoration.json delete mode 100644 node_modules/caniuse-db/features-json/text-emphasis.json delete mode 100644 node_modules/caniuse-db/features-json/text-overflow.json delete mode 100644 node_modules/caniuse-db/features-json/text-size-adjust.json delete mode 100644 node_modules/caniuse-db/features-json/text-stroke.json delete mode 100644 node_modules/caniuse-db/features-json/textcontent.json delete mode 100644 node_modules/caniuse-db/features-json/textencoder.json delete mode 100644 node_modules/caniuse-db/features-json/tls1-1.json delete mode 100644 node_modules/caniuse-db/features-json/tls1-2.json delete mode 100644 node_modules/caniuse-db/features-json/tls1-3.json delete mode 100644 node_modules/caniuse-db/features-json/token-binding.json delete mode 100644 node_modules/caniuse-db/features-json/touch.json delete mode 100644 node_modules/caniuse-db/features-json/transforms2d.json delete mode 100644 node_modules/caniuse-db/features-json/transforms3d.json delete mode 100644 node_modules/caniuse-db/features-json/ttf.json delete mode 100644 node_modules/caniuse-db/features-json/typedarrays.json delete mode 100644 node_modules/caniuse-db/features-json/u2f.json delete mode 100644 node_modules/caniuse-db/features-json/unhandledrejection.json delete mode 100644 node_modules/caniuse-db/features-json/upgradeinsecurerequests.json delete mode 100644 node_modules/caniuse-db/features-json/url.json delete mode 100644 node_modules/caniuse-db/features-json/urlsearchparams.json delete mode 100644 node_modules/caniuse-db/features-json/use-strict.json delete mode 100644 node_modules/caniuse-db/features-json/user-select-none.json delete mode 100644 node_modules/caniuse-db/features-json/user-timing.json delete mode 100644 node_modules/caniuse-db/features-json/variable-fonts.json delete mode 100644 node_modules/caniuse-db/features-json/vibration.json delete mode 100644 node_modules/caniuse-db/features-json/video.json delete mode 100644 node_modules/caniuse-db/features-json/videotracks.json delete mode 100644 node_modules/caniuse-db/features-json/viewport-units.json delete mode 100644 node_modules/caniuse-db/features-json/wai-aria.json delete mode 100644 node_modules/caniuse-db/features-json/wasm.json delete mode 100644 node_modules/caniuse-db/features-json/wav.json delete mode 100644 node_modules/caniuse-db/features-json/wbr-element.json delete mode 100644 node_modules/caniuse-db/features-json/web-animation.json delete mode 100644 node_modules/caniuse-db/features-json/web-app-manifest.json delete mode 100644 node_modules/caniuse-db/features-json/web-bluetooth.json delete mode 100644 node_modules/caniuse-db/features-json/web-share.json delete mode 100644 node_modules/caniuse-db/features-json/webauthn.json delete mode 100644 node_modules/caniuse-db/features-json/webgl.json delete mode 100644 node_modules/caniuse-db/features-json/webgl2.json delete mode 100644 node_modules/caniuse-db/features-json/webm.json delete mode 100644 node_modules/caniuse-db/features-json/webp.json delete mode 100644 node_modules/caniuse-db/features-json/websockets.json delete mode 100644 node_modules/caniuse-db/features-json/webusb.json delete mode 100644 node_modules/caniuse-db/features-json/webvr.json delete mode 100644 node_modules/caniuse-db/features-json/webvtt.json delete mode 100644 node_modules/caniuse-db/features-json/webworkers.json delete mode 100644 node_modules/caniuse-db/features-json/will-change.json delete mode 100644 node_modules/caniuse-db/features-json/woff.json delete mode 100644 node_modules/caniuse-db/features-json/woff2.json delete mode 100644 node_modules/caniuse-db/features-json/word-break.json delete mode 100644 node_modules/caniuse-db/features-json/wordwrap.json delete mode 100644 node_modules/caniuse-db/features-json/x-doc-messaging.json delete mode 100644 node_modules/caniuse-db/features-json/x-frame-options.json delete mode 100644 node_modules/caniuse-db/features-json/xhr2.json delete mode 100644 node_modules/caniuse-db/features-json/xhtml.json delete mode 100644 node_modules/caniuse-db/features-json/xhtmlsmil.json delete mode 100644 node_modules/caniuse-db/features-json/xml-serializer.json delete mode 100644 node_modules/caniuse-db/fulldata-json/data-1.0.json delete mode 100644 node_modules/caniuse-db/fulldata-json/data-2.0.json delete mode 100644 node_modules/caniuse-db/package.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AX.json delete mode 100644 node_modules/caniuse-db/region-usage-json/AZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BB.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BJ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/BZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CV.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CX.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/CZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DJ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/DZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/EC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/EE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/EG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ER.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ES.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ET.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FJ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/FR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GB.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GP.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GQ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/GY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/HK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/HN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/HR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/HT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/HU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ID.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IQ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/IT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/JE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/JM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/JO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/JP.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KP.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/KZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LB.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LV.json delete mode 100644 node_modules/caniuse-db/region-usage-json/LY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ME.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ML.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MP.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MQ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MV.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MX.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/MZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NP.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/NZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/OM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/PY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/QA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/RE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/RO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/RS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/RU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/RW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SB.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ST.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SV.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/SZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TD.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TH.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TJ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TK.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TL.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TO.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TR.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TV.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/TZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/UA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/UG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/US.json delete mode 100644 node_modules/caniuse-db/region-usage-json/UY.json delete mode 100644 node_modules/caniuse-db/region-usage-json/UZ.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VC.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VG.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VI.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VN.json delete mode 100644 node_modules/caniuse-db/region-usage-json/VU.json delete mode 100644 node_modules/caniuse-db/region-usage-json/WF.json delete mode 100644 node_modules/caniuse-db/region-usage-json/WS.json delete mode 100644 node_modules/caniuse-db/region-usage-json/YE.json delete mode 100644 node_modules/caniuse-db/region-usage-json/YT.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ZA.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ZM.json delete mode 100644 node_modules/caniuse-db/region-usage-json/ZW.json delete mode 100644 node_modules/caniuse-db/region-usage-json/alt-an.json delete mode 100644 node_modules/chalk/index.js delete mode 100644 node_modules/chalk/index.js.flow delete mode 100644 node_modules/chalk/license delete mode 100644 node_modules/chalk/package.json delete mode 100644 node_modules/chalk/readme.md delete mode 100644 node_modules/chalk/templates.js delete mode 100644 node_modules/chalk/types/index.d.ts delete mode 100644 node_modules/circular-json/.npmignore delete mode 100644 node_modules/circular-json/LICENSE.txt delete mode 100644 node_modules/circular-json/README.md delete mode 100644 node_modules/circular-json/build/circular-json.js delete mode 100644 node_modules/circular-json/build/circular-json.max.js delete mode 100644 node_modules/circular-json/build/circular-json.node.js delete mode 100644 node_modules/circular-json/package.json delete mode 100644 node_modules/circular-json/template/license.after delete mode 100644 node_modules/circular-json/template/license.before delete mode 100644 node_modules/cliui/CHANGELOG.md delete mode 100644 node_modules/cliui/LICENSE.txt delete mode 100644 node_modules/cliui/README.md delete mode 100644 node_modules/cliui/index.js delete mode 100644 node_modules/cliui/node_modules/string-width/index.js delete mode 100644 node_modules/cliui/node_modules/string-width/license delete mode 100644 node_modules/cliui/node_modules/string-width/package.json delete mode 100644 node_modules/cliui/node_modules/string-width/readme.md delete mode 100644 node_modules/cliui/package.json delete mode 100644 node_modules/clone-regexp/index.js delete mode 100644 node_modules/clone-regexp/license delete mode 100644 node_modules/clone-regexp/package.json delete mode 100644 node_modules/clone-regexp/readme.md delete mode 100644 node_modules/code-point-at/index.js delete mode 100644 node_modules/code-point-at/license delete mode 100644 node_modules/code-point-at/package.json delete mode 100644 node_modules/code-point-at/readme.md delete mode 100644 node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/color-convert/LICENSE delete mode 100644 node_modules/color-convert/README.md delete mode 100644 node_modules/color-convert/conversions.js delete mode 100644 node_modules/color-convert/index.js delete mode 100644 node_modules/color-convert/package.json delete mode 100644 node_modules/color-convert/route.js delete mode 100644 node_modules/color-diff/.npmignore delete mode 100644 node_modules/color-diff/.travis.yml delete mode 100644 node_modules/color-diff/COPYING delete mode 100644 node_modules/color-diff/README.md delete mode 100644 node_modules/color-diff/lib/convert.js delete mode 100644 node_modules/color-diff/lib/diff.js delete mode 100644 node_modules/color-diff/lib/index.js delete mode 100644 node_modules/color-diff/lib/palette.js delete mode 100644 node_modules/color-diff/package.json delete mode 100644 node_modules/color-name/.eslintrc.json delete mode 100644 node_modules/color-name/.npmignore delete mode 100644 node_modules/color-name/LICENSE delete mode 100644 node_modules/color-name/README.md delete mode 100644 node_modules/color-name/index.js delete mode 100644 node_modules/color-name/package.json delete mode 100644 node_modules/color-name/test.js delete mode 100644 node_modules/colorette/LICENSE.md delete mode 100644 node_modules/colorette/README.md delete mode 100644 node_modules/colorette/colorette.d.ts delete mode 100644 node_modules/colorette/index.js delete mode 100644 node_modules/colorette/package.json delete mode 100644 node_modules/colorguard/CHANGELOG.md delete mode 100644 node_modules/colorguard/README.md delete mode 100755 node_modules/colorguard/bin/colorguard delete mode 100644 node_modules/colorguard/index.js delete mode 100644 node_modules/colorguard/lib/colorguard.js delete mode 100644 node_modules/colorguard/lib/formatter.js delete mode 100644 node_modules/colorguard/node_modules/ansi-styles/index.js delete mode 100644 node_modules/colorguard/node_modules/ansi-styles/license delete mode 100644 node_modules/colorguard/node_modules/ansi-styles/package.json delete mode 100644 node_modules/colorguard/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/colorguard/node_modules/chalk/index.js delete mode 100644 node_modules/colorguard/node_modules/chalk/license delete mode 100644 node_modules/colorguard/node_modules/chalk/package.json delete mode 100644 node_modules/colorguard/node_modules/chalk/readme.md delete mode 100644 node_modules/colorguard/node_modules/has-flag/index.js delete mode 100644 node_modules/colorguard/node_modules/has-flag/license delete mode 100644 node_modules/colorguard/node_modules/has-flag/package.json delete mode 100644 node_modules/colorguard/node_modules/has-flag/readme.md delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/CHANGELOG.md delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/LICENSE delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/README.md delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/index.js delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/lib/formatter.js delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/lib/reporter.js delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/lib/util.js delete mode 100644 node_modules/colorguard/node_modules/postcss-reporter/package.json delete mode 100644 node_modules/colorguard/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/colorguard/node_modules/postcss/LICENSE delete mode 100644 node_modules/colorguard/node_modules/postcss/README.md delete mode 100644 node_modules/colorguard/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/colorguard/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/colorguard/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/colorguard/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/container.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/input.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/list.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/node.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/result.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/root.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/colorguard/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/colorguard/node_modules/postcss/node_modules/supports-color/browser.js delete mode 100644 node_modules/colorguard/node_modules/postcss/node_modules/supports-color/index.js delete mode 100644 node_modules/colorguard/node_modules/postcss/node_modules/supports-color/license delete mode 100644 node_modules/colorguard/node_modules/postcss/node_modules/supports-color/package.json delete mode 100644 node_modules/colorguard/node_modules/postcss/node_modules/supports-color/readme.md delete mode 100644 node_modules/colorguard/node_modules/postcss/package.json delete mode 100644 node_modules/colorguard/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/colorguard/node_modules/source-map/LICENSE delete mode 100644 node_modules/colorguard/node_modules/source-map/README.md delete mode 100644 node_modules/colorguard/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/colorguard/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/colorguard/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/colorguard/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/colorguard/node_modules/source-map/lib/util.js delete mode 100644 node_modules/colorguard/node_modules/source-map/package.json delete mode 100644 node_modules/colorguard/node_modules/source-map/source-map.js delete mode 100644 node_modules/colorguard/node_modules/supports-color/index.js delete mode 100644 node_modules/colorguard/node_modules/supports-color/license delete mode 100644 node_modules/colorguard/node_modules/supports-color/package.json delete mode 100644 node_modules/colorguard/node_modules/supports-color/readme.md delete mode 100644 node_modules/colorguard/package.json delete mode 100644 node_modules/commander/CHANGELOG.md delete mode 100644 node_modules/commander/LICENSE delete mode 100644 node_modules/commander/Readme.md delete mode 100644 node_modules/commander/index.js delete mode 100644 node_modules/commander/package.json delete mode 100644 node_modules/commander/typings/index.d.ts delete mode 100644 node_modules/concat-map/.travis.yml delete mode 100644 node_modules/concat-map/LICENSE delete mode 100644 node_modules/concat-map/README.markdown delete mode 100644 node_modules/concat-map/example/map.js delete mode 100644 node_modules/concat-map/index.js delete mode 100644 node_modules/concat-map/package.json delete mode 100644 node_modules/core-util-is/LICENSE delete mode 100644 node_modules/core-util-is/README.md delete mode 100644 node_modules/core-util-is/float.patch delete mode 100644 node_modules/core-util-is/lib/util.js delete mode 100644 node_modules/core-util-is/package.json delete mode 100644 node_modules/core-util-is/test.js delete mode 100644 node_modules/cosmiconfig/CHANGELOG.md delete mode 100644 node_modules/cosmiconfig/LICENSE delete mode 100644 node_modules/cosmiconfig/README.md delete mode 100644 node_modules/cosmiconfig/index.js delete mode 100644 node_modules/cosmiconfig/lib/createExplorer.js delete mode 100644 node_modules/cosmiconfig/lib/loadDefinedFile.js delete mode 100644 node_modules/cosmiconfig/lib/loadJs.js delete mode 100644 node_modules/cosmiconfig/lib/loadPackageProp.js delete mode 100644 node_modules/cosmiconfig/lib/loadRc.js delete mode 100644 node_modules/cosmiconfig/lib/parseJson.js delete mode 100644 node_modules/cosmiconfig/lib/readFile.js delete mode 100644 node_modules/cosmiconfig/package.json delete mode 100644 node_modules/css-color-list/.editorconfig delete mode 100644 node_modules/css-color-list/.npmignore delete mode 100644 node_modules/css-color-list/.travis.yml delete mode 100644 node_modules/css-color-list/LICENSE.md delete mode 100644 node_modules/css-color-list/README.md delete mode 100644 node_modules/css-color-list/index.js delete mode 100644 node_modules/css-color-list/package.json delete mode 100644 node_modules/css-color-names/Makefile delete mode 100644 node_modules/css-color-names/README.md delete mode 100644 node_modules/css-color-names/css-color-names.json delete mode 100755 node_modules/css-color-names/getcolors.sh delete mode 100644 node_modules/css-color-names/package.json delete mode 100755 node_modules/css-color-names/stringify.js delete mode 100644 node_modules/css-rule-stream/.npmignore delete mode 100644 node_modules/css-rule-stream/.travis.yml delete mode 100644 node_modules/css-rule-stream/LICENSE delete mode 100644 node_modules/css-rule-stream/README.md delete mode 100644 node_modules/css-rule-stream/example.js delete mode 100755 node_modules/css-rule-stream/index.js delete mode 100644 node_modules/css-rule-stream/lib/match.js delete mode 100644 node_modules/css-rule-stream/package.json delete mode 100644 node_modules/css-tokenize/.npmignore delete mode 100644 node_modules/css-tokenize/.travis.yml delete mode 100644 node_modules/css-tokenize/LICENSE delete mode 100644 node_modules/css-tokenize/README.md delete mode 100644 node_modules/css-tokenize/example.js delete mode 100644 node_modules/css-tokenize/index.js delete mode 100644 node_modules/css-tokenize/package.json delete mode 100644 node_modules/currently-unhandled/browser.js delete mode 100644 node_modules/currently-unhandled/core.js delete mode 100644 node_modules/currently-unhandled/index.js delete mode 100644 node_modules/currently-unhandled/license delete mode 100644 node_modules/currently-unhandled/package.json delete mode 100644 node_modules/currently-unhandled/readme.md delete mode 100644 node_modules/debug/.coveralls.yml delete mode 100644 node_modules/debug/.eslintrc delete mode 100644 node_modules/debug/.npmignore delete mode 100644 node_modules/debug/.travis.yml delete mode 100644 node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/debug/LICENSE delete mode 100644 node_modules/debug/Makefile delete mode 100644 node_modules/debug/README.md delete mode 100644 node_modules/debug/component.json delete mode 100644 node_modules/debug/karma.conf.js delete mode 100644 node_modules/debug/node.js delete mode 100644 node_modules/debug/package.json delete mode 100644 node_modules/debug/src/browser.js delete mode 100644 node_modules/debug/src/debug.js delete mode 100644 node_modules/debug/src/index.js delete mode 100644 node_modules/debug/src/inspector-log.js delete mode 100644 node_modules/debug/src/node.js delete mode 100644 node_modules/decamelize/index.js delete mode 100644 node_modules/decamelize/license delete mode 100644 node_modules/decamelize/package.json delete mode 100644 node_modules/decamelize/readme.md delete mode 100644 node_modules/del/index.js delete mode 100644 node_modules/del/license delete mode 100644 node_modules/del/node_modules/pify/index.js delete mode 100644 node_modules/del/node_modules/pify/license delete mode 100644 node_modules/del/node_modules/pify/package.json delete mode 100644 node_modules/del/node_modules/pify/readme.md delete mode 100644 node_modules/del/package.json delete mode 100644 node_modules/del/readme.md delete mode 100644 node_modules/diff/CONTRIBUTING.md delete mode 100644 node_modules/diff/LICENSE delete mode 100644 node_modules/diff/README.md delete mode 100644 node_modules/diff/dist/diff.js delete mode 100644 node_modules/diff/dist/diff.min.js delete mode 100644 node_modules/diff/lib/convert/dmp.js delete mode 100644 node_modules/diff/lib/convert/xml.js delete mode 100644 node_modules/diff/lib/diff/array.js delete mode 100644 node_modules/diff/lib/diff/base.js delete mode 100644 node_modules/diff/lib/diff/character.js delete mode 100644 node_modules/diff/lib/diff/css.js delete mode 100644 node_modules/diff/lib/diff/json.js delete mode 100644 node_modules/diff/lib/diff/line.js delete mode 100644 node_modules/diff/lib/diff/sentence.js delete mode 100644 node_modules/diff/lib/diff/word.js delete mode 100644 node_modules/diff/lib/index.js delete mode 100644 node_modules/diff/lib/patch/apply.js delete mode 100644 node_modules/diff/lib/patch/create.js delete mode 100644 node_modules/diff/lib/patch/merge.js delete mode 100644 node_modules/diff/lib/patch/parse.js delete mode 100644 node_modules/diff/lib/util/array.js delete mode 100644 node_modules/diff/lib/util/distance-iterator.js delete mode 100644 node_modules/diff/lib/util/params.js delete mode 100644 node_modules/diff/package.json delete mode 100644 node_modules/diff/release-notes.md delete mode 100644 node_modules/diff/runtime.js delete mode 100644 node_modules/diff/yarn.lock delete mode 100644 node_modules/doiuse/.editorconfig delete mode 100644 node_modules/doiuse/.npmignore delete mode 100644 node_modules/doiuse/.travis.yml delete mode 100644 node_modules/doiuse/CHANGELOG delete mode 100644 node_modules/doiuse/CONTRIBUTING.md delete mode 100644 node_modules/doiuse/LICENSE delete mode 100644 node_modules/doiuse/README.md delete mode 100755 node_modules/doiuse/cli.js delete mode 100644 node_modules/doiuse/data/features.js delete mode 100644 node_modules/doiuse/lib/browsers.js delete mode 100644 node_modules/doiuse/lib/detect-feature-use.js delete mode 100644 node_modules/doiuse/lib/doiuse.js delete mode 100644 node_modules/doiuse/lib/missing-support.js delete mode 100644 node_modules/doiuse/lib/util.js delete mode 100644 node_modules/doiuse/node_modules/ansi-styles/index.js delete mode 100644 node_modules/doiuse/node_modules/ansi-styles/license delete mode 100644 node_modules/doiuse/node_modules/ansi-styles/package.json delete mode 100644 node_modules/doiuse/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/doiuse/node_modules/chalk/index.js delete mode 100644 node_modules/doiuse/node_modules/chalk/license delete mode 100644 node_modules/doiuse/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/doiuse/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/doiuse/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/doiuse/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/doiuse/node_modules/chalk/package.json delete mode 100644 node_modules/doiuse/node_modules/chalk/readme.md delete mode 100644 node_modules/doiuse/node_modules/has-flag/index.js delete mode 100644 node_modules/doiuse/node_modules/has-flag/license delete mode 100644 node_modules/doiuse/node_modules/has-flag/package.json delete mode 100644 node_modules/doiuse/node_modules/has-flag/readme.md delete mode 100644 node_modules/doiuse/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/doiuse/node_modules/postcss/LICENSE delete mode 100644 node_modules/doiuse/node_modules/postcss/README.md delete mode 100644 node_modules/doiuse/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/doiuse/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/doiuse/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/doiuse/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/container.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/input.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/list.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/node.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/result.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/root.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/doiuse/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/LICENSE delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/README.md delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/lib/util.js delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/package.json delete mode 100644 node_modules/doiuse/node_modules/postcss/node_modules/source-map/source-map.js delete mode 100644 node_modules/doiuse/node_modules/postcss/package.json delete mode 100644 node_modules/doiuse/node_modules/source-map/README.md delete mode 100644 node_modules/doiuse/node_modules/source-map/build/assert-shim.js delete mode 100644 node_modules/doiuse/node_modules/source-map/build/mini-require.js delete mode 100644 node_modules/doiuse/node_modules/source-map/build/prefix-source-map.jsm delete mode 100644 node_modules/doiuse/node_modules/source-map/build/prefix-utils.jsm delete mode 100644 node_modules/doiuse/node_modules/source-map/build/suffix-browser.js delete mode 100644 node_modules/doiuse/node_modules/source-map/build/suffix-source-map.jsm delete mode 100644 node_modules/doiuse/node_modules/source-map/build/suffix-utils.jsm delete mode 100644 node_modules/doiuse/node_modules/source-map/build/test-prefix.js delete mode 100644 node_modules/doiuse/node_modules/source-map/build/test-suffix.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/array-set.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/base64-vlq.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/base64.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/binary-search.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/mapping-list.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/quick-sort.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/source-map-consumer.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/source-map-generator.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/source-node.js delete mode 100644 node_modules/doiuse/node_modules/source-map/lib/source-map/util.js delete mode 100644 node_modules/doiuse/node_modules/source-map/package.json delete mode 100644 node_modules/doiuse/node_modules/string-width/index.js delete mode 100644 node_modules/doiuse/node_modules/string-width/license delete mode 100644 node_modules/doiuse/node_modules/string-width/package.json delete mode 100644 node_modules/doiuse/node_modules/string-width/readme.md delete mode 100644 node_modules/doiuse/node_modules/supports-color/browser.js delete mode 100644 node_modules/doiuse/node_modules/supports-color/index.js delete mode 100644 node_modules/doiuse/node_modules/supports-color/license delete mode 100644 node_modules/doiuse/node_modules/supports-color/package.json delete mode 100644 node_modules/doiuse/node_modules/supports-color/readme.md delete mode 100644 node_modules/doiuse/node_modules/yargs/CHANGELOG.md delete mode 100644 node_modules/doiuse/node_modules/yargs/LICENSE delete mode 100644 node_modules/doiuse/node_modules/yargs/README.md delete mode 100644 node_modules/doiuse/node_modules/yargs/completion.sh.hbs delete mode 100644 node_modules/doiuse/node_modules/yargs/index.js delete mode 100644 node_modules/doiuse/node_modules/yargs/lib/completion.js delete mode 100644 node_modules/doiuse/node_modules/yargs/lib/parser.js delete mode 100644 node_modules/doiuse/node_modules/yargs/lib/tokenize-arg-string.js delete mode 100644 node_modules/doiuse/node_modules/yargs/lib/usage.js delete mode 100644 node_modules/doiuse/node_modules/yargs/lib/validation.js delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/de.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/en.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/es.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/fr.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/id.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/ja.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/ko.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/nb.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/pirate.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/pl.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/pt.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/pt_BR.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/tr.json delete mode 100644 node_modules/doiuse/node_modules/yargs/locales/zh.json delete mode 100644 node_modules/doiuse/node_modules/yargs/package.json delete mode 100644 node_modules/doiuse/package.json delete mode 100644 node_modules/doiuse/stream.js delete mode 100644 node_modules/duplexer/.npmignore delete mode 100644 node_modules/duplexer/.travis.yml delete mode 100644 node_modules/duplexer/LICENCE delete mode 100644 node_modules/duplexer/README.md delete mode 100644 node_modules/duplexer/index.js delete mode 100644 node_modules/duplexer/package.json delete mode 100644 node_modules/duplexer2/.npmignore delete mode 100644 node_modules/duplexer2/.travis.yml delete mode 100644 node_modules/duplexer2/LICENSE.md delete mode 100644 node_modules/duplexer2/README.md delete mode 100755 node_modules/duplexer2/example.js delete mode 100644 node_modules/duplexer2/index.js delete mode 100644 node_modules/duplexer2/package.json delete mode 100644 node_modules/editorconfig/.gitmodules delete mode 100644 node_modules/editorconfig/LICENSE delete mode 100644 node_modules/editorconfig/README.md delete mode 100755 node_modules/editorconfig/bin/editorconfig delete mode 100644 node_modules/editorconfig/editorconfig.js delete mode 100644 node_modules/editorconfig/lib/fnmatch.js delete mode 100644 node_modules/editorconfig/lib/ini.js delete mode 100644 node_modules/editorconfig/package.json delete mode 100644 node_modules/electron-to-chromium/CHANGELOG.md delete mode 100644 node_modules/electron-to-chromium/LICENSE delete mode 100644 node_modules/electron-to-chromium/README.md delete mode 100644 node_modules/electron-to-chromium/chromium-versions.js delete mode 100644 node_modules/electron-to-chromium/full-chromium-versions.js delete mode 100644 node_modules/electron-to-chromium/full-versions.js delete mode 100644 node_modules/electron-to-chromium/index.js delete mode 100644 node_modules/electron-to-chromium/package.json delete mode 100644 node_modules/electron-to-chromium/versions.js delete mode 100644 node_modules/error-ex/LICENSE delete mode 100644 node_modules/error-ex/README.md delete mode 100644 node_modules/error-ex/index.js delete mode 100644 node_modules/error-ex/package.json delete mode 100644 node_modules/escape-string-regexp/index.js delete mode 100644 node_modules/escape-string-regexp/license delete mode 100644 node_modules/escape-string-regexp/package.json delete mode 100644 node_modules/escape-string-regexp/readme.md delete mode 100644 node_modules/esprima/ChangeLog delete mode 100644 node_modules/esprima/LICENSE.BSD delete mode 100644 node_modules/esprima/README.md delete mode 100755 node_modules/esprima/bin/esparse.js delete mode 100755 node_modules/esprima/bin/esvalidate.js delete mode 100644 node_modules/esprima/dist/esprima.js delete mode 100644 node_modules/esprima/package.json delete mode 100644 node_modules/execall/index.js delete mode 100644 node_modules/execall/license delete mode 100644 node_modules/execall/package.json delete mode 100644 node_modules/execall/readme.md delete mode 100644 node_modules/expand-brackets/LICENSE delete mode 100644 node_modules/expand-brackets/README.md delete mode 100644 node_modules/expand-brackets/index.js delete mode 100644 node_modules/expand-brackets/package.json delete mode 100644 node_modules/expand-range/LICENSE delete mode 100644 node_modules/expand-range/README.md delete mode 100644 node_modules/expand-range/index.js delete mode 100644 node_modules/expand-range/package.json delete mode 100644 node_modules/extglob/LICENSE delete mode 100644 node_modules/extglob/README.md delete mode 100644 node_modules/extglob/index.js delete mode 100644 node_modules/extglob/package.json delete mode 100644 node_modules/fast-deep-equal/LICENSE delete mode 100644 node_modules/fast-deep-equal/README.md delete mode 100644 node_modules/fast-deep-equal/index.d.ts delete mode 100644 node_modules/fast-deep-equal/index.js delete mode 100644 node_modules/fast-deep-equal/package.json delete mode 100644 node_modules/fast-json-stable-stringify/.eslintrc.yml delete mode 100644 node_modules/fast-json-stable-stringify/.npmignore delete mode 100644 node_modules/fast-json-stable-stringify/.travis.yml delete mode 100644 node_modules/fast-json-stable-stringify/LICENSE delete mode 100644 node_modules/fast-json-stable-stringify/README.md delete mode 100644 node_modules/fast-json-stable-stringify/benchmark/index.js delete mode 100644 node_modules/fast-json-stable-stringify/benchmark/test.json delete mode 100644 node_modules/fast-json-stable-stringify/example/key_cmp.js delete mode 100644 node_modules/fast-json-stable-stringify/example/nested.js delete mode 100644 node_modules/fast-json-stable-stringify/example/str.js delete mode 100644 node_modules/fast-json-stable-stringify/example/value_cmp.js delete mode 100644 node_modules/fast-json-stable-stringify/index.js delete mode 100644 node_modules/fast-json-stable-stringify/package.json delete mode 100644 node_modules/file-entry-cache/LICENSE delete mode 100644 node_modules/file-entry-cache/README.md delete mode 100644 node_modules/file-entry-cache/cache.js delete mode 100644 node_modules/file-entry-cache/changelog.md delete mode 100644 node_modules/file-entry-cache/package.json delete mode 100644 node_modules/filename-regex/LICENSE delete mode 100644 node_modules/filename-regex/README.md delete mode 100644 node_modules/filename-regex/index.js delete mode 100644 node_modules/filename-regex/package.json delete mode 100644 node_modules/fill-range/LICENSE delete mode 100644 node_modules/fill-range/README.md delete mode 100644 node_modules/fill-range/index.js delete mode 100644 node_modules/fill-range/package.json delete mode 100644 node_modules/find-up/index.js delete mode 100644 node_modules/find-up/license delete mode 100644 node_modules/find-up/package.json delete mode 100644 node_modules/find-up/readme.md delete mode 100644 node_modules/flat-cache/LICENSE delete mode 100644 node_modules/flat-cache/README.md delete mode 100644 node_modules/flat-cache/cache.js delete mode 100644 node_modules/flat-cache/changelog.md delete mode 100644 node_modules/flat-cache/package.json delete mode 100644 node_modules/flat-cache/utils.js delete mode 100644 node_modules/flatten/LICENSE delete mode 100644 node_modules/flatten/README.md delete mode 100644 node_modules/flatten/index.js delete mode 100644 node_modules/flatten/package.json delete mode 100644 node_modules/flatten/test.js delete mode 100644 node_modules/for-in/LICENSE delete mode 100644 node_modules/for-in/README.md delete mode 100644 node_modules/for-in/index.js delete mode 100644 node_modules/for-in/package.json delete mode 100644 node_modules/for-own/LICENSE delete mode 100644 node_modules/for-own/README.md delete mode 100644 node_modules/for-own/index.js delete mode 100644 node_modules/for-own/package.json delete mode 100644 node_modules/fs.realpath/LICENSE delete mode 100644 node_modules/fs.realpath/README.md delete mode 100644 node_modules/fs.realpath/index.js delete mode 100644 node_modules/fs.realpath/old.js delete mode 100644 node_modules/fs.realpath/package.json delete mode 100644 node_modules/gather-stream/README.md delete mode 100644 node_modules/gather-stream/index.js delete mode 100644 node_modules/gather-stream/package.json delete mode 100644 node_modules/get-stdin/index.js delete mode 100644 node_modules/get-stdin/license delete mode 100644 node_modules/get-stdin/package.json delete mode 100644 node_modules/get-stdin/readme.md delete mode 100644 node_modules/getopts/LICENSE.md delete mode 100644 node_modules/getopts/README.md delete mode 100644 node_modules/getopts/getopts.d.ts delete mode 100644 node_modules/getopts/index.js delete mode 100644 node_modules/getopts/package.json delete mode 100644 node_modules/glob-base/LICENSE delete mode 100644 node_modules/glob-base/README.md delete mode 100644 node_modules/glob-base/index.js delete mode 100644 node_modules/glob-base/package.json delete mode 100644 node_modules/glob-parent/.npmignore delete mode 100644 node_modules/glob-parent/.travis.yml delete mode 100644 node_modules/glob-parent/LICENSE delete mode 100644 node_modules/glob-parent/README.md delete mode 100644 node_modules/glob-parent/index.js delete mode 100644 node_modules/glob-parent/package.json delete mode 100644 node_modules/glob-parent/test.js delete mode 100644 node_modules/glob/LICENSE delete mode 100644 node_modules/glob/README.md delete mode 100644 node_modules/glob/changelog.md delete mode 100644 node_modules/glob/common.js delete mode 100644 node_modules/glob/glob.js delete mode 100644 node_modules/glob/package.json delete mode 100644 node_modules/glob/sync.js delete mode 100644 node_modules/globby/index.js delete mode 100644 node_modules/globby/license delete mode 100644 node_modules/globby/package.json delete mode 100644 node_modules/globby/readme.md delete mode 100644 node_modules/globjoin/CHANGELOG.md delete mode 100644 node_modules/globjoin/LICENSE delete mode 100644 node_modules/globjoin/README.md delete mode 100644 node_modules/globjoin/index.js delete mode 100644 node_modules/globjoin/package.json delete mode 100644 node_modules/graceful-fs/LICENSE delete mode 100644 node_modules/graceful-fs/README.md delete mode 100644 node_modules/graceful-fs/clone.js delete mode 100644 node_modules/graceful-fs/graceful-fs.js delete mode 100644 node_modules/graceful-fs/legacy-streams.js delete mode 100644 node_modules/graceful-fs/package.json delete mode 100644 node_modules/graceful-fs/polyfills.js delete mode 100644 node_modules/has-ansi/index.js delete mode 100644 node_modules/has-ansi/license delete mode 100644 node_modules/has-ansi/package.json delete mode 100644 node_modules/has-ansi/readme.md delete mode 100644 node_modules/has-flag/index.js delete mode 100644 node_modules/has-flag/license delete mode 100644 node_modules/has-flag/package.json delete mode 100644 node_modules/has-flag/readme.md delete mode 100644 node_modules/hosted-git-info/CHANGELOG.md delete mode 100644 node_modules/hosted-git-info/LICENSE delete mode 100644 node_modules/hosted-git-info/README.md delete mode 100644 node_modules/hosted-git-info/git-host-info.js delete mode 100644 node_modules/hosted-git-info/git-host.js delete mode 100644 node_modules/hosted-git-info/index.js delete mode 100644 node_modules/hosted-git-info/package.json delete mode 100644 node_modules/html-tags/html-tags-void.json delete mode 100644 node_modules/html-tags/html-tags.json delete mode 100644 node_modules/html-tags/index.js delete mode 100644 node_modules/html-tags/license delete mode 100644 node_modules/html-tags/package.json delete mode 100644 node_modules/html-tags/readme.md delete mode 100644 node_modules/html-tags/void.js delete mode 100755 node_modules/ignore/README.md delete mode 100644 node_modules/ignore/ignore.js delete mode 100644 node_modules/ignore/index.d.ts delete mode 100644 node_modules/ignore/package.json delete mode 100644 node_modules/imurmurhash/README.md delete mode 100644 node_modules/imurmurhash/imurmurhash.js delete mode 100644 node_modules/imurmurhash/imurmurhash.min.js delete mode 100644 node_modules/imurmurhash/package.json delete mode 100644 node_modules/indent-string/index.js delete mode 100644 node_modules/indent-string/license delete mode 100644 node_modules/indent-string/package.json delete mode 100644 node_modules/indent-string/readme.md delete mode 100644 node_modules/indexes-of/.npmignore delete mode 100644 node_modules/indexes-of/LICENSE delete mode 100644 node_modules/indexes-of/README.md delete mode 100644 node_modules/indexes-of/index.js delete mode 100644 node_modules/indexes-of/package.json delete mode 100644 node_modules/indexes-of/test.js delete mode 100644 node_modules/inflight/LICENSE delete mode 100644 node_modules/inflight/README.md delete mode 100644 node_modules/inflight/inflight.js delete mode 100644 node_modules/inflight/package.json delete mode 100644 node_modules/inherits/LICENSE delete mode 100644 node_modules/inherits/README.md delete mode 100644 node_modules/inherits/inherits.js delete mode 100644 node_modules/inherits/inherits_browser.js delete mode 100644 node_modules/inherits/package.json delete mode 100644 node_modules/invert-kv/index.js delete mode 100644 node_modules/invert-kv/package.json delete mode 100644 node_modules/invert-kv/readme.md delete mode 100644 node_modules/irregular-plurals/irregular-plurals.json delete mode 100644 node_modules/irregular-plurals/license delete mode 100644 node_modules/irregular-plurals/package.json delete mode 100644 node_modules/irregular-plurals/readme.md delete mode 100644 node_modules/is-arrayish/.editorconfig delete mode 100644 node_modules/is-arrayish/.istanbul.yml delete mode 100644 node_modules/is-arrayish/.npmignore delete mode 100644 node_modules/is-arrayish/.travis.yml delete mode 100644 node_modules/is-arrayish/LICENSE delete mode 100644 node_modules/is-arrayish/README.md delete mode 100644 node_modules/is-arrayish/index.js delete mode 100644 node_modules/is-arrayish/package.json delete mode 100644 node_modules/is-buffer/LICENSE delete mode 100644 node_modules/is-buffer/README.md delete mode 100644 node_modules/is-buffer/index.js delete mode 100644 node_modules/is-buffer/package.json delete mode 100644 node_modules/is-builtin-module/index.js delete mode 100644 node_modules/is-builtin-module/license delete mode 100644 node_modules/is-builtin-module/package.json delete mode 100644 node_modules/is-builtin-module/readme.md delete mode 100644 node_modules/is-directory/LICENSE delete mode 100644 node_modules/is-directory/README.md delete mode 100644 node_modules/is-directory/index.js delete mode 100644 node_modules/is-directory/package.json delete mode 100644 node_modules/is-dotfile/LICENSE delete mode 100644 node_modules/is-dotfile/README.md delete mode 100644 node_modules/is-dotfile/index.js delete mode 100644 node_modules/is-dotfile/package.json delete mode 100644 node_modules/is-equal-shallow/LICENSE delete mode 100644 node_modules/is-equal-shallow/README.md delete mode 100644 node_modules/is-equal-shallow/index.js delete mode 100644 node_modules/is-equal-shallow/package.json delete mode 100644 node_modules/is-extendable/LICENSE delete mode 100644 node_modules/is-extendable/README.md delete mode 100644 node_modules/is-extendable/index.js delete mode 100644 node_modules/is-extendable/package.json delete mode 100644 node_modules/is-extglob/LICENSE delete mode 100644 node_modules/is-extglob/README.md delete mode 100644 node_modules/is-extglob/index.js delete mode 100644 node_modules/is-extglob/package.json delete mode 100644 node_modules/is-finite/index.js delete mode 100644 node_modules/is-finite/license delete mode 100644 node_modules/is-finite/package.json delete mode 100644 node_modules/is-finite/readme.md delete mode 100644 node_modules/is-fullwidth-code-point/index.js delete mode 100644 node_modules/is-fullwidth-code-point/license delete mode 100644 node_modules/is-fullwidth-code-point/package.json delete mode 100644 node_modules/is-fullwidth-code-point/readme.md delete mode 100644 node_modules/is-glob/LICENSE delete mode 100644 node_modules/is-glob/README.md delete mode 100644 node_modules/is-glob/index.js delete mode 100644 node_modules/is-glob/package.json delete mode 100644 node_modules/is-number/LICENSE delete mode 100644 node_modules/is-number/README.md delete mode 100644 node_modules/is-number/index.js delete mode 100644 node_modules/is-number/package.json delete mode 100644 node_modules/is-path-cwd/index.js delete mode 100644 node_modules/is-path-cwd/package.json delete mode 100644 node_modules/is-path-cwd/readme.md delete mode 100644 node_modules/is-path-in-cwd/index.js delete mode 100644 node_modules/is-path-in-cwd/license delete mode 100644 node_modules/is-path-in-cwd/package.json delete mode 100644 node_modules/is-path-in-cwd/readme.md delete mode 100644 node_modules/is-path-inside/index.js delete mode 100644 node_modules/is-path-inside/license delete mode 100644 node_modules/is-path-inside/package.json delete mode 100644 node_modules/is-path-inside/readme.md delete mode 100644 node_modules/is-posix-bracket/LICENSE delete mode 100644 node_modules/is-posix-bracket/README.md delete mode 100644 node_modules/is-posix-bracket/index.js delete mode 100644 node_modules/is-posix-bracket/package.json delete mode 100644 node_modules/is-primitive/LICENSE delete mode 100644 node_modules/is-primitive/README.md delete mode 100644 node_modules/is-primitive/index.js delete mode 100644 node_modules/is-primitive/package.json delete mode 100644 node_modules/is-regexp/index.js delete mode 100644 node_modules/is-regexp/package.json delete mode 100644 node_modules/is-regexp/readme.md delete mode 100644 node_modules/is-supported-regexp-flag/index.js delete mode 100644 node_modules/is-supported-regexp-flag/license delete mode 100644 node_modules/is-supported-regexp-flag/package.json delete mode 100644 node_modules/is-supported-regexp-flag/readme.md delete mode 100644 node_modules/is-utf8/LICENSE delete mode 100644 node_modules/is-utf8/README.md delete mode 100644 node_modules/is-utf8/is-utf8.js delete mode 100644 node_modules/is-utf8/package.json delete mode 100644 node_modules/isarray/README.md delete mode 100644 node_modules/isarray/build/build.js delete mode 100644 node_modules/isarray/component.json delete mode 100644 node_modules/isarray/index.js delete mode 100644 node_modules/isarray/package.json delete mode 100644 node_modules/isobject/LICENSE delete mode 100644 node_modules/isobject/README.md delete mode 100644 node_modules/isobject/index.js delete mode 100644 node_modules/isobject/node_modules/isarray/.npmignore delete mode 100644 node_modules/isobject/node_modules/isarray/.travis.yml delete mode 100644 node_modules/isobject/node_modules/isarray/Makefile delete mode 100644 node_modules/isobject/node_modules/isarray/README.md delete mode 100644 node_modules/isobject/node_modules/isarray/component.json delete mode 100644 node_modules/isobject/node_modules/isarray/index.js delete mode 100644 node_modules/isobject/node_modules/isarray/package.json delete mode 100644 node_modules/isobject/node_modules/isarray/test.js delete mode 100644 node_modules/isobject/package.json delete mode 100644 node_modules/js-base64/.attic/test-moment/dankogai.js delete mode 100644 node_modules/js-base64/.attic/test-moment/es5.js delete mode 100644 node_modules/js-base64/.attic/test-moment/es6.js delete mode 100644 node_modules/js-base64/.attic/test-moment/index.html delete mode 100644 node_modules/js-base64/.attic/test-moment/large.js delete mode 100644 node_modules/js-base64/.attic/test-moment/moment.js delete mode 100644 node_modules/js-base64/.attic/test-moment/yoshinoya.js delete mode 100644 node_modules/js-base64/1x1.png delete mode 100644 node_modules/js-base64/LICENSE.md delete mode 100644 node_modules/js-base64/README.md delete mode 100644 node_modules/js-base64/base64.html delete mode 100644 node_modules/js-base64/base64.js delete mode 100644 node_modules/js-base64/base64.min.js delete mode 100644 node_modules/js-base64/bower.json delete mode 100644 node_modules/js-base64/package.js delete mode 100644 node_modules/js-base64/package.json delete mode 100644 node_modules/js-base64/test/dankogai.js delete mode 100644 node_modules/js-base64/test/es5.js delete mode 100644 node_modules/js-base64/test/index.html delete mode 100644 node_modules/js-base64/test/large.js delete mode 100644 node_modules/js-base64/test/yoshinoya.js delete mode 100644 node_modules/js-yaml/CHANGELOG.md delete mode 100644 node_modules/js-yaml/LICENSE delete mode 100644 node_modules/js-yaml/README.md delete mode 100755 node_modules/js-yaml/bin/js-yaml.js delete mode 100644 node_modules/js-yaml/dist/js-yaml.js delete mode 100644 node_modules/js-yaml/dist/js-yaml.min.js delete mode 100644 node_modules/js-yaml/index.js delete mode 100644 node_modules/js-yaml/lib/js-yaml.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/common.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/dumper.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/exception.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/loader.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/mark.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema/core.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema/default_full.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema/default_safe.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema/failsafe.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/schema/json.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/binary.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/bool.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/float.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/int.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/js/function.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/js/regexp.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/js/undefined.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/map.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/merge.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/null.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/omap.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/pairs.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/seq.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/set.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/str.js delete mode 100644 node_modules/js-yaml/lib/js-yaml/type/timestamp.js delete mode 100644 node_modules/js-yaml/package.json delete mode 100644 node_modules/json-schema-traverse/.eslintrc.yml delete mode 100644 node_modules/json-schema-traverse/.travis.yml delete mode 100644 node_modules/json-schema-traverse/LICENSE delete mode 100644 node_modules/json-schema-traverse/README.md delete mode 100644 node_modules/json-schema-traverse/index.js delete mode 100644 node_modules/json-schema-traverse/package.json delete mode 100644 node_modules/json-schema-traverse/spec/.eslintrc.yml delete mode 100644 node_modules/json-schema-traverse/spec/fixtures/schema.js delete mode 100644 node_modules/json-schema-traverse/spec/index.spec.js delete mode 100644 node_modules/jsonfilter/.npmignore delete mode 100755 node_modules/jsonfilter/cli.js delete mode 100644 node_modules/jsonfilter/collaborators.md delete mode 100644 node_modules/jsonfilter/index.js delete mode 100644 node_modules/jsonfilter/package.json delete mode 100644 node_modules/jsonfilter/readme.md delete mode 100644 node_modules/jsonfilter/test.json delete mode 100644 node_modules/jsonparse/LICENSE delete mode 100644 node_modules/jsonparse/README.markdown delete mode 100644 node_modules/jsonparse/bench.js delete mode 100644 node_modules/jsonparse/examples/twitterfeed.js delete mode 100644 node_modules/jsonparse/jsonparse.js delete mode 100644 node_modules/jsonparse/package.json delete mode 100644 node_modules/jsonparse/samplejson/basic.json delete mode 100644 node_modules/jsonparse/samplejson/basic2.json delete mode 100644 node_modules/kind-of/LICENSE delete mode 100644 node_modules/kind-of/README.md delete mode 100644 node_modules/kind-of/index.js delete mode 100644 node_modules/kind-of/package.json delete mode 100644 node_modules/known-css-properties/.eslintrc.js delete mode 100644 node_modules/known-css-properties/.npmignore delete mode 100644 node_modules/known-css-properties/README.md delete mode 100644 node_modules/known-css-properties/data/all.json delete mode 100644 node_modules/known-css-properties/index.js delete mode 100644 node_modules/known-css-properties/package.json delete mode 100644 node_modules/known-css-properties/yarn.lock delete mode 100644 node_modules/lcid/index.js delete mode 100644 node_modules/lcid/lcid.json delete mode 100644 node_modules/lcid/license delete mode 100644 node_modules/lcid/package.json delete mode 100644 node_modules/lcid/readme.md delete mode 100644 node_modules/ldjson-stream/.npmignore delete mode 100644 node_modules/ldjson-stream/index.js delete mode 100644 node_modules/ldjson-stream/package.json delete mode 100644 node_modules/ldjson-stream/readme.md delete mode 100644 node_modules/ldjson-stream/test.js delete mode 100644 node_modules/load-json-file/index.js delete mode 100644 node_modules/load-json-file/license delete mode 100644 node_modules/load-json-file/package.json delete mode 100644 node_modules/load-json-file/readme.md delete mode 100644 node_modules/lodash/LICENSE delete mode 100644 node_modules/lodash/README.md delete mode 100644 node_modules/lodash/_DataView.js delete mode 100644 node_modules/lodash/_Hash.js delete mode 100644 node_modules/lodash/_LazyWrapper.js delete mode 100644 node_modules/lodash/_ListCache.js delete mode 100644 node_modules/lodash/_LodashWrapper.js delete mode 100644 node_modules/lodash/_Map.js delete mode 100644 node_modules/lodash/_MapCache.js delete mode 100644 node_modules/lodash/_Promise.js delete mode 100644 node_modules/lodash/_Set.js delete mode 100644 node_modules/lodash/_SetCache.js delete mode 100644 node_modules/lodash/_Stack.js delete mode 100644 node_modules/lodash/_Symbol.js delete mode 100644 node_modules/lodash/_Uint8Array.js delete mode 100644 node_modules/lodash/_WeakMap.js delete mode 100644 node_modules/lodash/_apply.js delete mode 100644 node_modules/lodash/_arrayAggregator.js delete mode 100644 node_modules/lodash/_arrayEach.js delete mode 100644 node_modules/lodash/_arrayEachRight.js delete mode 100644 node_modules/lodash/_arrayEvery.js delete mode 100644 node_modules/lodash/_arrayFilter.js delete mode 100644 node_modules/lodash/_arrayIncludes.js delete mode 100644 node_modules/lodash/_arrayIncludesWith.js delete mode 100644 node_modules/lodash/_arrayLikeKeys.js delete mode 100644 node_modules/lodash/_arrayMap.js delete mode 100644 node_modules/lodash/_arrayPush.js delete mode 100644 node_modules/lodash/_arrayReduce.js delete mode 100644 node_modules/lodash/_arrayReduceRight.js delete mode 100644 node_modules/lodash/_arraySample.js delete mode 100644 node_modules/lodash/_arraySampleSize.js delete mode 100644 node_modules/lodash/_arrayShuffle.js delete mode 100644 node_modules/lodash/_arraySome.js delete mode 100644 node_modules/lodash/_asciiSize.js delete mode 100644 node_modules/lodash/_asciiToArray.js delete mode 100644 node_modules/lodash/_asciiWords.js delete mode 100644 node_modules/lodash/_assignMergeValue.js delete mode 100644 node_modules/lodash/_assignValue.js delete mode 100644 node_modules/lodash/_assocIndexOf.js delete mode 100644 node_modules/lodash/_baseAggregator.js delete mode 100644 node_modules/lodash/_baseAssign.js delete mode 100644 node_modules/lodash/_baseAssignIn.js delete mode 100644 node_modules/lodash/_baseAssignValue.js delete mode 100644 node_modules/lodash/_baseAt.js delete mode 100644 node_modules/lodash/_baseClamp.js delete mode 100644 node_modules/lodash/_baseClone.js delete mode 100644 node_modules/lodash/_baseConforms.js delete mode 100644 node_modules/lodash/_baseConformsTo.js delete mode 100644 node_modules/lodash/_baseCreate.js delete mode 100644 node_modules/lodash/_baseDelay.js delete mode 100644 node_modules/lodash/_baseDifference.js delete mode 100644 node_modules/lodash/_baseEach.js delete mode 100644 node_modules/lodash/_baseEachRight.js delete mode 100644 node_modules/lodash/_baseEvery.js delete mode 100644 node_modules/lodash/_baseExtremum.js delete mode 100644 node_modules/lodash/_baseFill.js delete mode 100644 node_modules/lodash/_baseFilter.js delete mode 100644 node_modules/lodash/_baseFindIndex.js delete mode 100644 node_modules/lodash/_baseFindKey.js delete mode 100644 node_modules/lodash/_baseFlatten.js delete mode 100644 node_modules/lodash/_baseFor.js delete mode 100644 node_modules/lodash/_baseForOwn.js delete mode 100644 node_modules/lodash/_baseForOwnRight.js delete mode 100644 node_modules/lodash/_baseForRight.js delete mode 100644 node_modules/lodash/_baseFunctions.js delete mode 100644 node_modules/lodash/_baseGet.js delete mode 100644 node_modules/lodash/_baseGetAllKeys.js delete mode 100644 node_modules/lodash/_baseGetTag.js delete mode 100644 node_modules/lodash/_baseGt.js delete mode 100644 node_modules/lodash/_baseHas.js delete mode 100644 node_modules/lodash/_baseHasIn.js delete mode 100644 node_modules/lodash/_baseInRange.js delete mode 100644 node_modules/lodash/_baseIndexOf.js delete mode 100644 node_modules/lodash/_baseIndexOfWith.js delete mode 100644 node_modules/lodash/_baseIntersection.js delete mode 100644 node_modules/lodash/_baseInverter.js delete mode 100644 node_modules/lodash/_baseInvoke.js delete mode 100644 node_modules/lodash/_baseIsArguments.js delete mode 100644 node_modules/lodash/_baseIsArrayBuffer.js delete mode 100644 node_modules/lodash/_baseIsDate.js delete mode 100644 node_modules/lodash/_baseIsEqual.js delete mode 100644 node_modules/lodash/_baseIsEqualDeep.js delete mode 100644 node_modules/lodash/_baseIsMap.js delete mode 100644 node_modules/lodash/_baseIsMatch.js delete mode 100644 node_modules/lodash/_baseIsNaN.js delete mode 100644 node_modules/lodash/_baseIsNative.js delete mode 100644 node_modules/lodash/_baseIsRegExp.js delete mode 100644 node_modules/lodash/_baseIsSet.js delete mode 100644 node_modules/lodash/_baseIsTypedArray.js delete mode 100644 node_modules/lodash/_baseIteratee.js delete mode 100644 node_modules/lodash/_baseKeys.js delete mode 100644 node_modules/lodash/_baseKeysIn.js delete mode 100644 node_modules/lodash/_baseLodash.js delete mode 100644 node_modules/lodash/_baseLt.js delete mode 100644 node_modules/lodash/_baseMap.js delete mode 100644 node_modules/lodash/_baseMatches.js delete mode 100644 node_modules/lodash/_baseMatchesProperty.js delete mode 100644 node_modules/lodash/_baseMean.js delete mode 100644 node_modules/lodash/_baseMerge.js delete mode 100644 node_modules/lodash/_baseMergeDeep.js delete mode 100644 node_modules/lodash/_baseNth.js delete mode 100644 node_modules/lodash/_baseOrderBy.js delete mode 100644 node_modules/lodash/_basePick.js delete mode 100644 node_modules/lodash/_basePickBy.js delete mode 100644 node_modules/lodash/_baseProperty.js delete mode 100644 node_modules/lodash/_basePropertyDeep.js delete mode 100644 node_modules/lodash/_basePropertyOf.js delete mode 100644 node_modules/lodash/_basePullAll.js delete mode 100644 node_modules/lodash/_basePullAt.js delete mode 100644 node_modules/lodash/_baseRandom.js delete mode 100644 node_modules/lodash/_baseRange.js delete mode 100644 node_modules/lodash/_baseReduce.js delete mode 100644 node_modules/lodash/_baseRepeat.js delete mode 100644 node_modules/lodash/_baseRest.js delete mode 100644 node_modules/lodash/_baseSample.js delete mode 100644 node_modules/lodash/_baseSampleSize.js delete mode 100644 node_modules/lodash/_baseSet.js delete mode 100644 node_modules/lodash/_baseSetData.js delete mode 100644 node_modules/lodash/_baseSetToString.js delete mode 100644 node_modules/lodash/_baseShuffle.js delete mode 100644 node_modules/lodash/_baseSlice.js delete mode 100644 node_modules/lodash/_baseSome.js delete mode 100644 node_modules/lodash/_baseSortBy.js delete mode 100644 node_modules/lodash/_baseSortedIndex.js delete mode 100644 node_modules/lodash/_baseSortedIndexBy.js delete mode 100644 node_modules/lodash/_baseSortedUniq.js delete mode 100644 node_modules/lodash/_baseSum.js delete mode 100644 node_modules/lodash/_baseTimes.js delete mode 100644 node_modules/lodash/_baseToNumber.js delete mode 100644 node_modules/lodash/_baseToPairs.js delete mode 100644 node_modules/lodash/_baseToString.js delete mode 100644 node_modules/lodash/_baseUnary.js delete mode 100644 node_modules/lodash/_baseUniq.js delete mode 100644 node_modules/lodash/_baseUnset.js delete mode 100644 node_modules/lodash/_baseUpdate.js delete mode 100644 node_modules/lodash/_baseValues.js delete mode 100644 node_modules/lodash/_baseWhile.js delete mode 100644 node_modules/lodash/_baseWrapperValue.js delete mode 100644 node_modules/lodash/_baseXor.js delete mode 100644 node_modules/lodash/_baseZipObject.js delete mode 100644 node_modules/lodash/_cacheHas.js delete mode 100644 node_modules/lodash/_castArrayLikeObject.js delete mode 100644 node_modules/lodash/_castFunction.js delete mode 100644 node_modules/lodash/_castPath.js delete mode 100644 node_modules/lodash/_castRest.js delete mode 100644 node_modules/lodash/_castSlice.js delete mode 100644 node_modules/lodash/_charsEndIndex.js delete mode 100644 node_modules/lodash/_charsStartIndex.js delete mode 100644 node_modules/lodash/_cloneArrayBuffer.js delete mode 100644 node_modules/lodash/_cloneBuffer.js delete mode 100644 node_modules/lodash/_cloneDataView.js delete mode 100644 node_modules/lodash/_cloneRegExp.js delete mode 100644 node_modules/lodash/_cloneSymbol.js delete mode 100644 node_modules/lodash/_cloneTypedArray.js delete mode 100644 node_modules/lodash/_compareAscending.js delete mode 100644 node_modules/lodash/_compareMultiple.js delete mode 100644 node_modules/lodash/_composeArgs.js delete mode 100644 node_modules/lodash/_composeArgsRight.js delete mode 100644 node_modules/lodash/_copyArray.js delete mode 100644 node_modules/lodash/_copyObject.js delete mode 100644 node_modules/lodash/_copySymbols.js delete mode 100644 node_modules/lodash/_copySymbolsIn.js delete mode 100644 node_modules/lodash/_coreJsData.js delete mode 100644 node_modules/lodash/_countHolders.js delete mode 100644 node_modules/lodash/_createAggregator.js delete mode 100644 node_modules/lodash/_createAssigner.js delete mode 100644 node_modules/lodash/_createBaseEach.js delete mode 100644 node_modules/lodash/_createBaseFor.js delete mode 100644 node_modules/lodash/_createBind.js delete mode 100644 node_modules/lodash/_createCaseFirst.js delete mode 100644 node_modules/lodash/_createCompounder.js delete mode 100644 node_modules/lodash/_createCtor.js delete mode 100644 node_modules/lodash/_createCurry.js delete mode 100644 node_modules/lodash/_createFind.js delete mode 100644 node_modules/lodash/_createFlow.js delete mode 100644 node_modules/lodash/_createHybrid.js delete mode 100644 node_modules/lodash/_createInverter.js delete mode 100644 node_modules/lodash/_createMathOperation.js delete mode 100644 node_modules/lodash/_createOver.js delete mode 100644 node_modules/lodash/_createPadding.js delete mode 100644 node_modules/lodash/_createPartial.js delete mode 100644 node_modules/lodash/_createRange.js delete mode 100644 node_modules/lodash/_createRecurry.js delete mode 100644 node_modules/lodash/_createRelationalOperation.js delete mode 100644 node_modules/lodash/_createRound.js delete mode 100644 node_modules/lodash/_createSet.js delete mode 100644 node_modules/lodash/_createToPairs.js delete mode 100644 node_modules/lodash/_createWrap.js delete mode 100644 node_modules/lodash/_customDefaultsAssignIn.js delete mode 100644 node_modules/lodash/_customDefaultsMerge.js delete mode 100644 node_modules/lodash/_customOmitClone.js delete mode 100644 node_modules/lodash/_deburrLetter.js delete mode 100644 node_modules/lodash/_defineProperty.js delete mode 100644 node_modules/lodash/_equalArrays.js delete mode 100644 node_modules/lodash/_equalByTag.js delete mode 100644 node_modules/lodash/_equalObjects.js delete mode 100644 node_modules/lodash/_escapeHtmlChar.js delete mode 100644 node_modules/lodash/_escapeStringChar.js delete mode 100644 node_modules/lodash/_flatRest.js delete mode 100644 node_modules/lodash/_freeGlobal.js delete mode 100644 node_modules/lodash/_getAllKeys.js delete mode 100644 node_modules/lodash/_getAllKeysIn.js delete mode 100644 node_modules/lodash/_getData.js delete mode 100644 node_modules/lodash/_getFuncName.js delete mode 100644 node_modules/lodash/_getHolder.js delete mode 100644 node_modules/lodash/_getMapData.js delete mode 100644 node_modules/lodash/_getMatchData.js delete mode 100644 node_modules/lodash/_getNative.js delete mode 100644 node_modules/lodash/_getPrototype.js delete mode 100644 node_modules/lodash/_getRawTag.js delete mode 100644 node_modules/lodash/_getSymbols.js delete mode 100644 node_modules/lodash/_getSymbolsIn.js delete mode 100644 node_modules/lodash/_getTag.js delete mode 100644 node_modules/lodash/_getValue.js delete mode 100644 node_modules/lodash/_getView.js delete mode 100644 node_modules/lodash/_getWrapDetails.js delete mode 100644 node_modules/lodash/_hasPath.js delete mode 100644 node_modules/lodash/_hasUnicode.js delete mode 100644 node_modules/lodash/_hasUnicodeWord.js delete mode 100644 node_modules/lodash/_hashClear.js delete mode 100644 node_modules/lodash/_hashDelete.js delete mode 100644 node_modules/lodash/_hashGet.js delete mode 100644 node_modules/lodash/_hashHas.js delete mode 100644 node_modules/lodash/_hashSet.js delete mode 100644 node_modules/lodash/_initCloneArray.js delete mode 100644 node_modules/lodash/_initCloneByTag.js delete mode 100644 node_modules/lodash/_initCloneObject.js delete mode 100644 node_modules/lodash/_insertWrapDetails.js delete mode 100644 node_modules/lodash/_isFlattenable.js delete mode 100644 node_modules/lodash/_isIndex.js delete mode 100644 node_modules/lodash/_isIterateeCall.js delete mode 100644 node_modules/lodash/_isKey.js delete mode 100644 node_modules/lodash/_isKeyable.js delete mode 100644 node_modules/lodash/_isLaziable.js delete mode 100644 node_modules/lodash/_isMaskable.js delete mode 100644 node_modules/lodash/_isMasked.js delete mode 100644 node_modules/lodash/_isPrototype.js delete mode 100644 node_modules/lodash/_isStrictComparable.js delete mode 100644 node_modules/lodash/_iteratorToArray.js delete mode 100644 node_modules/lodash/_lazyClone.js delete mode 100644 node_modules/lodash/_lazyReverse.js delete mode 100644 node_modules/lodash/_lazyValue.js delete mode 100644 node_modules/lodash/_listCacheClear.js delete mode 100644 node_modules/lodash/_listCacheDelete.js delete mode 100644 node_modules/lodash/_listCacheGet.js delete mode 100644 node_modules/lodash/_listCacheHas.js delete mode 100644 node_modules/lodash/_listCacheSet.js delete mode 100644 node_modules/lodash/_mapCacheClear.js delete mode 100644 node_modules/lodash/_mapCacheDelete.js delete mode 100644 node_modules/lodash/_mapCacheGet.js delete mode 100644 node_modules/lodash/_mapCacheHas.js delete mode 100644 node_modules/lodash/_mapCacheSet.js delete mode 100644 node_modules/lodash/_mapToArray.js delete mode 100644 node_modules/lodash/_matchesStrictComparable.js delete mode 100644 node_modules/lodash/_memoizeCapped.js delete mode 100644 node_modules/lodash/_mergeData.js delete mode 100644 node_modules/lodash/_metaMap.js delete mode 100644 node_modules/lodash/_nativeCreate.js delete mode 100644 node_modules/lodash/_nativeKeys.js delete mode 100644 node_modules/lodash/_nativeKeysIn.js delete mode 100644 node_modules/lodash/_nodeUtil.js delete mode 100644 node_modules/lodash/_objectToString.js delete mode 100644 node_modules/lodash/_overArg.js delete mode 100644 node_modules/lodash/_overRest.js delete mode 100644 node_modules/lodash/_parent.js delete mode 100644 node_modules/lodash/_reEscape.js delete mode 100644 node_modules/lodash/_reEvaluate.js delete mode 100644 node_modules/lodash/_reInterpolate.js delete mode 100644 node_modules/lodash/_realNames.js delete mode 100644 node_modules/lodash/_reorder.js delete mode 100644 node_modules/lodash/_replaceHolders.js delete mode 100644 node_modules/lodash/_root.js delete mode 100644 node_modules/lodash/_safeGet.js delete mode 100644 node_modules/lodash/_setCacheAdd.js delete mode 100644 node_modules/lodash/_setCacheHas.js delete mode 100644 node_modules/lodash/_setData.js delete mode 100644 node_modules/lodash/_setToArray.js delete mode 100644 node_modules/lodash/_setToPairs.js delete mode 100644 node_modules/lodash/_setToString.js delete mode 100644 node_modules/lodash/_setWrapToString.js delete mode 100644 node_modules/lodash/_shortOut.js delete mode 100644 node_modules/lodash/_shuffleSelf.js delete mode 100644 node_modules/lodash/_stackClear.js delete mode 100644 node_modules/lodash/_stackDelete.js delete mode 100644 node_modules/lodash/_stackGet.js delete mode 100644 node_modules/lodash/_stackHas.js delete mode 100644 node_modules/lodash/_stackSet.js delete mode 100644 node_modules/lodash/_strictIndexOf.js delete mode 100644 node_modules/lodash/_strictLastIndexOf.js delete mode 100644 node_modules/lodash/_stringSize.js delete mode 100644 node_modules/lodash/_stringToArray.js delete mode 100644 node_modules/lodash/_stringToPath.js delete mode 100644 node_modules/lodash/_toKey.js delete mode 100644 node_modules/lodash/_toSource.js delete mode 100644 node_modules/lodash/_unescapeHtmlChar.js delete mode 100644 node_modules/lodash/_unicodeSize.js delete mode 100644 node_modules/lodash/_unicodeToArray.js delete mode 100644 node_modules/lodash/_unicodeWords.js delete mode 100644 node_modules/lodash/_updateWrapDetails.js delete mode 100644 node_modules/lodash/_wrapperClone.js delete mode 100644 node_modules/lodash/add.js delete mode 100644 node_modules/lodash/after.js delete mode 100644 node_modules/lodash/array.js delete mode 100644 node_modules/lodash/ary.js delete mode 100644 node_modules/lodash/assign.js delete mode 100644 node_modules/lodash/assignIn.js delete mode 100644 node_modules/lodash/assignInWith.js delete mode 100644 node_modules/lodash/assignWith.js delete mode 100644 node_modules/lodash/at.js delete mode 100644 node_modules/lodash/attempt.js delete mode 100644 node_modules/lodash/before.js delete mode 100644 node_modules/lodash/bind.js delete mode 100644 node_modules/lodash/bindAll.js delete mode 100644 node_modules/lodash/bindKey.js delete mode 100644 node_modules/lodash/camelCase.js delete mode 100644 node_modules/lodash/capitalize.js delete mode 100644 node_modules/lodash/castArray.js delete mode 100644 node_modules/lodash/ceil.js delete mode 100644 node_modules/lodash/chain.js delete mode 100644 node_modules/lodash/chunk.js delete mode 100644 node_modules/lodash/clamp.js delete mode 100644 node_modules/lodash/clone.js delete mode 100644 node_modules/lodash/cloneDeep.js delete mode 100644 node_modules/lodash/cloneDeepWith.js delete mode 100644 node_modules/lodash/cloneWith.js delete mode 100644 node_modules/lodash/collection.js delete mode 100644 node_modules/lodash/commit.js delete mode 100644 node_modules/lodash/compact.js delete mode 100644 node_modules/lodash/concat.js delete mode 100644 node_modules/lodash/cond.js delete mode 100644 node_modules/lodash/conforms.js delete mode 100644 node_modules/lodash/conformsTo.js delete mode 100644 node_modules/lodash/constant.js delete mode 100644 node_modules/lodash/core.js delete mode 100644 node_modules/lodash/core.min.js delete mode 100644 node_modules/lodash/countBy.js delete mode 100644 node_modules/lodash/create.js delete mode 100644 node_modules/lodash/curry.js delete mode 100644 node_modules/lodash/curryRight.js delete mode 100644 node_modules/lodash/date.js delete mode 100644 node_modules/lodash/debounce.js delete mode 100644 node_modules/lodash/deburr.js delete mode 100644 node_modules/lodash/defaultTo.js delete mode 100644 node_modules/lodash/defaults.js delete mode 100644 node_modules/lodash/defaultsDeep.js delete mode 100644 node_modules/lodash/defer.js delete mode 100644 node_modules/lodash/delay.js delete mode 100644 node_modules/lodash/difference.js delete mode 100644 node_modules/lodash/differenceBy.js delete mode 100644 node_modules/lodash/differenceWith.js delete mode 100644 node_modules/lodash/divide.js delete mode 100644 node_modules/lodash/drop.js delete mode 100644 node_modules/lodash/dropRight.js delete mode 100644 node_modules/lodash/dropRightWhile.js delete mode 100644 node_modules/lodash/dropWhile.js delete mode 100644 node_modules/lodash/each.js delete mode 100644 node_modules/lodash/eachRight.js delete mode 100644 node_modules/lodash/endsWith.js delete mode 100644 node_modules/lodash/entries.js delete mode 100644 node_modules/lodash/entriesIn.js delete mode 100644 node_modules/lodash/eq.js delete mode 100644 node_modules/lodash/escape.js delete mode 100644 node_modules/lodash/escapeRegExp.js delete mode 100644 node_modules/lodash/every.js delete mode 100644 node_modules/lodash/extend.js delete mode 100644 node_modules/lodash/extendWith.js delete mode 100644 node_modules/lodash/fill.js delete mode 100644 node_modules/lodash/filter.js delete mode 100644 node_modules/lodash/find.js delete mode 100644 node_modules/lodash/findIndex.js delete mode 100644 node_modules/lodash/findKey.js delete mode 100644 node_modules/lodash/findLast.js delete mode 100644 node_modules/lodash/findLastIndex.js delete mode 100644 node_modules/lodash/findLastKey.js delete mode 100644 node_modules/lodash/first.js delete mode 100644 node_modules/lodash/flatMap.js delete mode 100644 node_modules/lodash/flatMapDeep.js delete mode 100644 node_modules/lodash/flatMapDepth.js delete mode 100644 node_modules/lodash/flatten.js delete mode 100644 node_modules/lodash/flattenDeep.js delete mode 100644 node_modules/lodash/flattenDepth.js delete mode 100644 node_modules/lodash/flip.js delete mode 100644 node_modules/lodash/floor.js delete mode 100644 node_modules/lodash/flow.js delete mode 100644 node_modules/lodash/flowRight.js delete mode 100644 node_modules/lodash/forEach.js delete mode 100644 node_modules/lodash/forEachRight.js delete mode 100644 node_modules/lodash/forIn.js delete mode 100644 node_modules/lodash/forInRight.js delete mode 100644 node_modules/lodash/forOwn.js delete mode 100644 node_modules/lodash/forOwnRight.js delete mode 100644 node_modules/lodash/fp.js delete mode 100644 node_modules/lodash/fp/F.js delete mode 100644 node_modules/lodash/fp/T.js delete mode 100644 node_modules/lodash/fp/__.js delete mode 100644 node_modules/lodash/fp/_baseConvert.js delete mode 100644 node_modules/lodash/fp/_convertBrowser.js delete mode 100644 node_modules/lodash/fp/_falseOptions.js delete mode 100644 node_modules/lodash/fp/_mapping.js delete mode 100644 node_modules/lodash/fp/_util.js delete mode 100644 node_modules/lodash/fp/add.js delete mode 100644 node_modules/lodash/fp/after.js delete mode 100644 node_modules/lodash/fp/all.js delete mode 100644 node_modules/lodash/fp/allPass.js delete mode 100644 node_modules/lodash/fp/always.js delete mode 100644 node_modules/lodash/fp/any.js delete mode 100644 node_modules/lodash/fp/anyPass.js delete mode 100644 node_modules/lodash/fp/apply.js delete mode 100644 node_modules/lodash/fp/array.js delete mode 100644 node_modules/lodash/fp/ary.js delete mode 100644 node_modules/lodash/fp/assign.js delete mode 100644 node_modules/lodash/fp/assignAll.js delete mode 100644 node_modules/lodash/fp/assignAllWith.js delete mode 100644 node_modules/lodash/fp/assignIn.js delete mode 100644 node_modules/lodash/fp/assignInAll.js delete mode 100644 node_modules/lodash/fp/assignInAllWith.js delete mode 100644 node_modules/lodash/fp/assignInWith.js delete mode 100644 node_modules/lodash/fp/assignWith.js delete mode 100644 node_modules/lodash/fp/assoc.js delete mode 100644 node_modules/lodash/fp/assocPath.js delete mode 100644 node_modules/lodash/fp/at.js delete mode 100644 node_modules/lodash/fp/attempt.js delete mode 100644 node_modules/lodash/fp/before.js delete mode 100644 node_modules/lodash/fp/bind.js delete mode 100644 node_modules/lodash/fp/bindAll.js delete mode 100644 node_modules/lodash/fp/bindKey.js delete mode 100644 node_modules/lodash/fp/camelCase.js delete mode 100644 node_modules/lodash/fp/capitalize.js delete mode 100644 node_modules/lodash/fp/castArray.js delete mode 100644 node_modules/lodash/fp/ceil.js delete mode 100644 node_modules/lodash/fp/chain.js delete mode 100644 node_modules/lodash/fp/chunk.js delete mode 100644 node_modules/lodash/fp/clamp.js delete mode 100644 node_modules/lodash/fp/clone.js delete mode 100644 node_modules/lodash/fp/cloneDeep.js delete mode 100644 node_modules/lodash/fp/cloneDeepWith.js delete mode 100644 node_modules/lodash/fp/cloneWith.js delete mode 100644 node_modules/lodash/fp/collection.js delete mode 100644 node_modules/lodash/fp/commit.js delete mode 100644 node_modules/lodash/fp/compact.js delete mode 100644 node_modules/lodash/fp/complement.js delete mode 100644 node_modules/lodash/fp/compose.js delete mode 100644 node_modules/lodash/fp/concat.js delete mode 100644 node_modules/lodash/fp/cond.js delete mode 100644 node_modules/lodash/fp/conforms.js delete mode 100644 node_modules/lodash/fp/conformsTo.js delete mode 100644 node_modules/lodash/fp/constant.js delete mode 100644 node_modules/lodash/fp/contains.js delete mode 100644 node_modules/lodash/fp/convert.js delete mode 100644 node_modules/lodash/fp/countBy.js delete mode 100644 node_modules/lodash/fp/create.js delete mode 100644 node_modules/lodash/fp/curry.js delete mode 100644 node_modules/lodash/fp/curryN.js delete mode 100644 node_modules/lodash/fp/curryRight.js delete mode 100644 node_modules/lodash/fp/curryRightN.js delete mode 100644 node_modules/lodash/fp/date.js delete mode 100644 node_modules/lodash/fp/debounce.js delete mode 100644 node_modules/lodash/fp/deburr.js delete mode 100644 node_modules/lodash/fp/defaultTo.js delete mode 100644 node_modules/lodash/fp/defaults.js delete mode 100644 node_modules/lodash/fp/defaultsAll.js delete mode 100644 node_modules/lodash/fp/defaultsDeep.js delete mode 100644 node_modules/lodash/fp/defaultsDeepAll.js delete mode 100644 node_modules/lodash/fp/defer.js delete mode 100644 node_modules/lodash/fp/delay.js delete mode 100644 node_modules/lodash/fp/difference.js delete mode 100644 node_modules/lodash/fp/differenceBy.js delete mode 100644 node_modules/lodash/fp/differenceWith.js delete mode 100644 node_modules/lodash/fp/dissoc.js delete mode 100644 node_modules/lodash/fp/dissocPath.js delete mode 100644 node_modules/lodash/fp/divide.js delete mode 100644 node_modules/lodash/fp/drop.js delete mode 100644 node_modules/lodash/fp/dropLast.js delete mode 100644 node_modules/lodash/fp/dropLastWhile.js delete mode 100644 node_modules/lodash/fp/dropRight.js delete mode 100644 node_modules/lodash/fp/dropRightWhile.js delete mode 100644 node_modules/lodash/fp/dropWhile.js delete mode 100644 node_modules/lodash/fp/each.js delete mode 100644 node_modules/lodash/fp/eachRight.js delete mode 100644 node_modules/lodash/fp/endsWith.js delete mode 100644 node_modules/lodash/fp/entries.js delete mode 100644 node_modules/lodash/fp/entriesIn.js delete mode 100644 node_modules/lodash/fp/eq.js delete mode 100644 node_modules/lodash/fp/equals.js delete mode 100644 node_modules/lodash/fp/escape.js delete mode 100644 node_modules/lodash/fp/escapeRegExp.js delete mode 100644 node_modules/lodash/fp/every.js delete mode 100644 node_modules/lodash/fp/extend.js delete mode 100644 node_modules/lodash/fp/extendAll.js delete mode 100644 node_modules/lodash/fp/extendAllWith.js delete mode 100644 node_modules/lodash/fp/extendWith.js delete mode 100644 node_modules/lodash/fp/fill.js delete mode 100644 node_modules/lodash/fp/filter.js delete mode 100644 node_modules/lodash/fp/find.js delete mode 100644 node_modules/lodash/fp/findFrom.js delete mode 100644 node_modules/lodash/fp/findIndex.js delete mode 100644 node_modules/lodash/fp/findIndexFrom.js delete mode 100644 node_modules/lodash/fp/findKey.js delete mode 100644 node_modules/lodash/fp/findLast.js delete mode 100644 node_modules/lodash/fp/findLastFrom.js delete mode 100644 node_modules/lodash/fp/findLastIndex.js delete mode 100644 node_modules/lodash/fp/findLastIndexFrom.js delete mode 100644 node_modules/lodash/fp/findLastKey.js delete mode 100644 node_modules/lodash/fp/first.js delete mode 100644 node_modules/lodash/fp/flatMap.js delete mode 100644 node_modules/lodash/fp/flatMapDeep.js delete mode 100644 node_modules/lodash/fp/flatMapDepth.js delete mode 100644 node_modules/lodash/fp/flatten.js delete mode 100644 node_modules/lodash/fp/flattenDeep.js delete mode 100644 node_modules/lodash/fp/flattenDepth.js delete mode 100644 node_modules/lodash/fp/flip.js delete mode 100644 node_modules/lodash/fp/floor.js delete mode 100644 node_modules/lodash/fp/flow.js delete mode 100644 node_modules/lodash/fp/flowRight.js delete mode 100644 node_modules/lodash/fp/forEach.js delete mode 100644 node_modules/lodash/fp/forEachRight.js delete mode 100644 node_modules/lodash/fp/forIn.js delete mode 100644 node_modules/lodash/fp/forInRight.js delete mode 100644 node_modules/lodash/fp/forOwn.js delete mode 100644 node_modules/lodash/fp/forOwnRight.js delete mode 100644 node_modules/lodash/fp/fromPairs.js delete mode 100644 node_modules/lodash/fp/function.js delete mode 100644 node_modules/lodash/fp/functions.js delete mode 100644 node_modules/lodash/fp/functionsIn.js delete mode 100644 node_modules/lodash/fp/get.js delete mode 100644 node_modules/lodash/fp/getOr.js delete mode 100644 node_modules/lodash/fp/groupBy.js delete mode 100644 node_modules/lodash/fp/gt.js delete mode 100644 node_modules/lodash/fp/gte.js delete mode 100644 node_modules/lodash/fp/has.js delete mode 100644 node_modules/lodash/fp/hasIn.js delete mode 100644 node_modules/lodash/fp/head.js delete mode 100644 node_modules/lodash/fp/identical.js delete mode 100644 node_modules/lodash/fp/identity.js delete mode 100644 node_modules/lodash/fp/inRange.js delete mode 100644 node_modules/lodash/fp/includes.js delete mode 100644 node_modules/lodash/fp/includesFrom.js delete mode 100644 node_modules/lodash/fp/indexBy.js delete mode 100644 node_modules/lodash/fp/indexOf.js delete mode 100644 node_modules/lodash/fp/indexOfFrom.js delete mode 100644 node_modules/lodash/fp/init.js delete mode 100644 node_modules/lodash/fp/initial.js delete mode 100644 node_modules/lodash/fp/intersection.js delete mode 100644 node_modules/lodash/fp/intersectionBy.js delete mode 100644 node_modules/lodash/fp/intersectionWith.js delete mode 100644 node_modules/lodash/fp/invert.js delete mode 100644 node_modules/lodash/fp/invertBy.js delete mode 100644 node_modules/lodash/fp/invertObj.js delete mode 100644 node_modules/lodash/fp/invoke.js delete mode 100644 node_modules/lodash/fp/invokeArgs.js delete mode 100644 node_modules/lodash/fp/invokeArgsMap.js delete mode 100644 node_modules/lodash/fp/invokeMap.js delete mode 100644 node_modules/lodash/fp/isArguments.js delete mode 100644 node_modules/lodash/fp/isArray.js delete mode 100644 node_modules/lodash/fp/isArrayBuffer.js delete mode 100644 node_modules/lodash/fp/isArrayLike.js delete mode 100644 node_modules/lodash/fp/isArrayLikeObject.js delete mode 100644 node_modules/lodash/fp/isBoolean.js delete mode 100644 node_modules/lodash/fp/isBuffer.js delete mode 100644 node_modules/lodash/fp/isDate.js delete mode 100644 node_modules/lodash/fp/isElement.js delete mode 100644 node_modules/lodash/fp/isEmpty.js delete mode 100644 node_modules/lodash/fp/isEqual.js delete mode 100644 node_modules/lodash/fp/isEqualWith.js delete mode 100644 node_modules/lodash/fp/isError.js delete mode 100644 node_modules/lodash/fp/isFinite.js delete mode 100644 node_modules/lodash/fp/isFunction.js delete mode 100644 node_modules/lodash/fp/isInteger.js delete mode 100644 node_modules/lodash/fp/isLength.js delete mode 100644 node_modules/lodash/fp/isMap.js delete mode 100644 node_modules/lodash/fp/isMatch.js delete mode 100644 node_modules/lodash/fp/isMatchWith.js delete mode 100644 node_modules/lodash/fp/isNaN.js delete mode 100644 node_modules/lodash/fp/isNative.js delete mode 100644 node_modules/lodash/fp/isNil.js delete mode 100644 node_modules/lodash/fp/isNull.js delete mode 100644 node_modules/lodash/fp/isNumber.js delete mode 100644 node_modules/lodash/fp/isObject.js delete mode 100644 node_modules/lodash/fp/isObjectLike.js delete mode 100644 node_modules/lodash/fp/isPlainObject.js delete mode 100644 node_modules/lodash/fp/isRegExp.js delete mode 100644 node_modules/lodash/fp/isSafeInteger.js delete mode 100644 node_modules/lodash/fp/isSet.js delete mode 100644 node_modules/lodash/fp/isString.js delete mode 100644 node_modules/lodash/fp/isSymbol.js delete mode 100644 node_modules/lodash/fp/isTypedArray.js delete mode 100644 node_modules/lodash/fp/isUndefined.js delete mode 100644 node_modules/lodash/fp/isWeakMap.js delete mode 100644 node_modules/lodash/fp/isWeakSet.js delete mode 100644 node_modules/lodash/fp/iteratee.js delete mode 100644 node_modules/lodash/fp/join.js delete mode 100644 node_modules/lodash/fp/juxt.js delete mode 100644 node_modules/lodash/fp/kebabCase.js delete mode 100644 node_modules/lodash/fp/keyBy.js delete mode 100644 node_modules/lodash/fp/keys.js delete mode 100644 node_modules/lodash/fp/keysIn.js delete mode 100644 node_modules/lodash/fp/lang.js delete mode 100644 node_modules/lodash/fp/last.js delete mode 100644 node_modules/lodash/fp/lastIndexOf.js delete mode 100644 node_modules/lodash/fp/lastIndexOfFrom.js delete mode 100644 node_modules/lodash/fp/lowerCase.js delete mode 100644 node_modules/lodash/fp/lowerFirst.js delete mode 100644 node_modules/lodash/fp/lt.js delete mode 100644 node_modules/lodash/fp/lte.js delete mode 100644 node_modules/lodash/fp/map.js delete mode 100644 node_modules/lodash/fp/mapKeys.js delete mode 100644 node_modules/lodash/fp/mapValues.js delete mode 100644 node_modules/lodash/fp/matches.js delete mode 100644 node_modules/lodash/fp/matchesProperty.js delete mode 100644 node_modules/lodash/fp/math.js delete mode 100644 node_modules/lodash/fp/max.js delete mode 100644 node_modules/lodash/fp/maxBy.js delete mode 100644 node_modules/lodash/fp/mean.js delete mode 100644 node_modules/lodash/fp/meanBy.js delete mode 100644 node_modules/lodash/fp/memoize.js delete mode 100644 node_modules/lodash/fp/merge.js delete mode 100644 node_modules/lodash/fp/mergeAll.js delete mode 100644 node_modules/lodash/fp/mergeAllWith.js delete mode 100644 node_modules/lodash/fp/mergeWith.js delete mode 100644 node_modules/lodash/fp/method.js delete mode 100644 node_modules/lodash/fp/methodOf.js delete mode 100644 node_modules/lodash/fp/min.js delete mode 100644 node_modules/lodash/fp/minBy.js delete mode 100644 node_modules/lodash/fp/mixin.js delete mode 100644 node_modules/lodash/fp/multiply.js delete mode 100644 node_modules/lodash/fp/nAry.js delete mode 100644 node_modules/lodash/fp/negate.js delete mode 100644 node_modules/lodash/fp/next.js delete mode 100644 node_modules/lodash/fp/noop.js delete mode 100644 node_modules/lodash/fp/now.js delete mode 100644 node_modules/lodash/fp/nth.js delete mode 100644 node_modules/lodash/fp/nthArg.js delete mode 100644 node_modules/lodash/fp/number.js delete mode 100644 node_modules/lodash/fp/object.js delete mode 100644 node_modules/lodash/fp/omit.js delete mode 100644 node_modules/lodash/fp/omitAll.js delete mode 100644 node_modules/lodash/fp/omitBy.js delete mode 100644 node_modules/lodash/fp/once.js delete mode 100644 node_modules/lodash/fp/orderBy.js delete mode 100644 node_modules/lodash/fp/over.js delete mode 100644 node_modules/lodash/fp/overArgs.js delete mode 100644 node_modules/lodash/fp/overEvery.js delete mode 100644 node_modules/lodash/fp/overSome.js delete mode 100644 node_modules/lodash/fp/pad.js delete mode 100644 node_modules/lodash/fp/padChars.js delete mode 100644 node_modules/lodash/fp/padCharsEnd.js delete mode 100644 node_modules/lodash/fp/padCharsStart.js delete mode 100644 node_modules/lodash/fp/padEnd.js delete mode 100644 node_modules/lodash/fp/padStart.js delete mode 100644 node_modules/lodash/fp/parseInt.js delete mode 100644 node_modules/lodash/fp/partial.js delete mode 100644 node_modules/lodash/fp/partialRight.js delete mode 100644 node_modules/lodash/fp/partition.js delete mode 100644 node_modules/lodash/fp/path.js delete mode 100644 node_modules/lodash/fp/pathEq.js delete mode 100644 node_modules/lodash/fp/pathOr.js delete mode 100644 node_modules/lodash/fp/paths.js delete mode 100644 node_modules/lodash/fp/pick.js delete mode 100644 node_modules/lodash/fp/pickAll.js delete mode 100644 node_modules/lodash/fp/pickBy.js delete mode 100644 node_modules/lodash/fp/pipe.js delete mode 100644 node_modules/lodash/fp/placeholder.js delete mode 100644 node_modules/lodash/fp/plant.js delete mode 100644 node_modules/lodash/fp/pluck.js delete mode 100644 node_modules/lodash/fp/prop.js delete mode 100644 node_modules/lodash/fp/propEq.js delete mode 100644 node_modules/lodash/fp/propOr.js delete mode 100644 node_modules/lodash/fp/property.js delete mode 100644 node_modules/lodash/fp/propertyOf.js delete mode 100644 node_modules/lodash/fp/props.js delete mode 100644 node_modules/lodash/fp/pull.js delete mode 100644 node_modules/lodash/fp/pullAll.js delete mode 100644 node_modules/lodash/fp/pullAllBy.js delete mode 100644 node_modules/lodash/fp/pullAllWith.js delete mode 100644 node_modules/lodash/fp/pullAt.js delete mode 100644 node_modules/lodash/fp/random.js delete mode 100644 node_modules/lodash/fp/range.js delete mode 100644 node_modules/lodash/fp/rangeRight.js delete mode 100644 node_modules/lodash/fp/rangeStep.js delete mode 100644 node_modules/lodash/fp/rangeStepRight.js delete mode 100644 node_modules/lodash/fp/rearg.js delete mode 100644 node_modules/lodash/fp/reduce.js delete mode 100644 node_modules/lodash/fp/reduceRight.js delete mode 100644 node_modules/lodash/fp/reject.js delete mode 100644 node_modules/lodash/fp/remove.js delete mode 100644 node_modules/lodash/fp/repeat.js delete mode 100644 node_modules/lodash/fp/replace.js delete mode 100644 node_modules/lodash/fp/rest.js delete mode 100644 node_modules/lodash/fp/restFrom.js delete mode 100644 node_modules/lodash/fp/result.js delete mode 100644 node_modules/lodash/fp/reverse.js delete mode 100644 node_modules/lodash/fp/round.js delete mode 100644 node_modules/lodash/fp/sample.js delete mode 100644 node_modules/lodash/fp/sampleSize.js delete mode 100644 node_modules/lodash/fp/seq.js delete mode 100644 node_modules/lodash/fp/set.js delete mode 100644 node_modules/lodash/fp/setWith.js delete mode 100644 node_modules/lodash/fp/shuffle.js delete mode 100644 node_modules/lodash/fp/size.js delete mode 100644 node_modules/lodash/fp/slice.js delete mode 100644 node_modules/lodash/fp/snakeCase.js delete mode 100644 node_modules/lodash/fp/some.js delete mode 100644 node_modules/lodash/fp/sortBy.js delete mode 100644 node_modules/lodash/fp/sortedIndex.js delete mode 100644 node_modules/lodash/fp/sortedIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedLastIndex.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedUniq.js delete mode 100644 node_modules/lodash/fp/sortedUniqBy.js delete mode 100644 node_modules/lodash/fp/split.js delete mode 100644 node_modules/lodash/fp/spread.js delete mode 100644 node_modules/lodash/fp/spreadFrom.js delete mode 100644 node_modules/lodash/fp/startCase.js delete mode 100644 node_modules/lodash/fp/startsWith.js delete mode 100644 node_modules/lodash/fp/string.js delete mode 100644 node_modules/lodash/fp/stubArray.js delete mode 100644 node_modules/lodash/fp/stubFalse.js delete mode 100644 node_modules/lodash/fp/stubObject.js delete mode 100644 node_modules/lodash/fp/stubString.js delete mode 100644 node_modules/lodash/fp/stubTrue.js delete mode 100644 node_modules/lodash/fp/subtract.js delete mode 100644 node_modules/lodash/fp/sum.js delete mode 100644 node_modules/lodash/fp/sumBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifference.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceWith.js delete mode 100644 node_modules/lodash/fp/tail.js delete mode 100644 node_modules/lodash/fp/take.js delete mode 100644 node_modules/lodash/fp/takeLast.js delete mode 100644 node_modules/lodash/fp/takeLastWhile.js delete mode 100644 node_modules/lodash/fp/takeRight.js delete mode 100644 node_modules/lodash/fp/takeRightWhile.js delete mode 100644 node_modules/lodash/fp/takeWhile.js delete mode 100644 node_modules/lodash/fp/tap.js delete mode 100644 node_modules/lodash/fp/template.js delete mode 100644 node_modules/lodash/fp/templateSettings.js delete mode 100644 node_modules/lodash/fp/throttle.js delete mode 100644 node_modules/lodash/fp/thru.js delete mode 100644 node_modules/lodash/fp/times.js delete mode 100644 node_modules/lodash/fp/toArray.js delete mode 100644 node_modules/lodash/fp/toFinite.js delete mode 100644 node_modules/lodash/fp/toInteger.js delete mode 100644 node_modules/lodash/fp/toIterator.js delete mode 100644 node_modules/lodash/fp/toJSON.js delete mode 100644 node_modules/lodash/fp/toLength.js delete mode 100644 node_modules/lodash/fp/toLower.js delete mode 100644 node_modules/lodash/fp/toNumber.js delete mode 100644 node_modules/lodash/fp/toPairs.js delete mode 100644 node_modules/lodash/fp/toPairsIn.js delete mode 100644 node_modules/lodash/fp/toPath.js delete mode 100644 node_modules/lodash/fp/toPlainObject.js delete mode 100644 node_modules/lodash/fp/toSafeInteger.js delete mode 100644 node_modules/lodash/fp/toString.js delete mode 100644 node_modules/lodash/fp/toUpper.js delete mode 100644 node_modules/lodash/fp/transform.js delete mode 100644 node_modules/lodash/fp/trim.js delete mode 100644 node_modules/lodash/fp/trimChars.js delete mode 100644 node_modules/lodash/fp/trimCharsEnd.js delete mode 100644 node_modules/lodash/fp/trimCharsStart.js delete mode 100644 node_modules/lodash/fp/trimEnd.js delete mode 100644 node_modules/lodash/fp/trimStart.js delete mode 100644 node_modules/lodash/fp/truncate.js delete mode 100644 node_modules/lodash/fp/unapply.js delete mode 100644 node_modules/lodash/fp/unary.js delete mode 100644 node_modules/lodash/fp/unescape.js delete mode 100644 node_modules/lodash/fp/union.js delete mode 100644 node_modules/lodash/fp/unionBy.js delete mode 100644 node_modules/lodash/fp/unionWith.js delete mode 100644 node_modules/lodash/fp/uniq.js delete mode 100644 node_modules/lodash/fp/uniqBy.js delete mode 100644 node_modules/lodash/fp/uniqWith.js delete mode 100644 node_modules/lodash/fp/uniqueId.js delete mode 100644 node_modules/lodash/fp/unnest.js delete mode 100644 node_modules/lodash/fp/unset.js delete mode 100644 node_modules/lodash/fp/unzip.js delete mode 100644 node_modules/lodash/fp/unzipWith.js delete mode 100644 node_modules/lodash/fp/update.js delete mode 100644 node_modules/lodash/fp/updateWith.js delete mode 100644 node_modules/lodash/fp/upperCase.js delete mode 100644 node_modules/lodash/fp/upperFirst.js delete mode 100644 node_modules/lodash/fp/useWith.js delete mode 100644 node_modules/lodash/fp/util.js delete mode 100644 node_modules/lodash/fp/value.js delete mode 100644 node_modules/lodash/fp/valueOf.js delete mode 100644 node_modules/lodash/fp/values.js delete mode 100644 node_modules/lodash/fp/valuesIn.js delete mode 100644 node_modules/lodash/fp/where.js delete mode 100644 node_modules/lodash/fp/whereEq.js delete mode 100644 node_modules/lodash/fp/without.js delete mode 100644 node_modules/lodash/fp/words.js delete mode 100644 node_modules/lodash/fp/wrap.js delete mode 100644 node_modules/lodash/fp/wrapperAt.js delete mode 100644 node_modules/lodash/fp/wrapperChain.js delete mode 100644 node_modules/lodash/fp/wrapperLodash.js delete mode 100644 node_modules/lodash/fp/wrapperReverse.js delete mode 100644 node_modules/lodash/fp/wrapperValue.js delete mode 100644 node_modules/lodash/fp/xor.js delete mode 100644 node_modules/lodash/fp/xorBy.js delete mode 100644 node_modules/lodash/fp/xorWith.js delete mode 100644 node_modules/lodash/fp/zip.js delete mode 100644 node_modules/lodash/fp/zipAll.js delete mode 100644 node_modules/lodash/fp/zipObj.js delete mode 100644 node_modules/lodash/fp/zipObject.js delete mode 100644 node_modules/lodash/fp/zipObjectDeep.js delete mode 100644 node_modules/lodash/fp/zipWith.js delete mode 100644 node_modules/lodash/fromPairs.js delete mode 100644 node_modules/lodash/function.js delete mode 100644 node_modules/lodash/functions.js delete mode 100644 node_modules/lodash/functionsIn.js delete mode 100644 node_modules/lodash/get.js delete mode 100644 node_modules/lodash/groupBy.js delete mode 100644 node_modules/lodash/gt.js delete mode 100644 node_modules/lodash/gte.js delete mode 100644 node_modules/lodash/has.js delete mode 100644 node_modules/lodash/hasIn.js delete mode 100644 node_modules/lodash/head.js delete mode 100644 node_modules/lodash/identity.js delete mode 100644 node_modules/lodash/inRange.js delete mode 100644 node_modules/lodash/includes.js delete mode 100644 node_modules/lodash/index.js delete mode 100644 node_modules/lodash/indexOf.js delete mode 100644 node_modules/lodash/initial.js delete mode 100644 node_modules/lodash/intersection.js delete mode 100644 node_modules/lodash/intersectionBy.js delete mode 100644 node_modules/lodash/intersectionWith.js delete mode 100644 node_modules/lodash/invert.js delete mode 100644 node_modules/lodash/invertBy.js delete mode 100644 node_modules/lodash/invoke.js delete mode 100644 node_modules/lodash/invokeMap.js delete mode 100644 node_modules/lodash/isArguments.js delete mode 100644 node_modules/lodash/isArray.js delete mode 100644 node_modules/lodash/isArrayBuffer.js delete mode 100644 node_modules/lodash/isArrayLike.js delete mode 100644 node_modules/lodash/isArrayLikeObject.js delete mode 100644 node_modules/lodash/isBoolean.js delete mode 100644 node_modules/lodash/isBuffer.js delete mode 100644 node_modules/lodash/isDate.js delete mode 100644 node_modules/lodash/isElement.js delete mode 100644 node_modules/lodash/isEmpty.js delete mode 100644 node_modules/lodash/isEqual.js delete mode 100644 node_modules/lodash/isEqualWith.js delete mode 100644 node_modules/lodash/isError.js delete mode 100644 node_modules/lodash/isFinite.js delete mode 100644 node_modules/lodash/isFunction.js delete mode 100644 node_modules/lodash/isInteger.js delete mode 100644 node_modules/lodash/isLength.js delete mode 100644 node_modules/lodash/isMap.js delete mode 100644 node_modules/lodash/isMatch.js delete mode 100644 node_modules/lodash/isMatchWith.js delete mode 100644 node_modules/lodash/isNaN.js delete mode 100644 node_modules/lodash/isNative.js delete mode 100644 node_modules/lodash/isNil.js delete mode 100644 node_modules/lodash/isNull.js delete mode 100644 node_modules/lodash/isNumber.js delete mode 100644 node_modules/lodash/isObject.js delete mode 100644 node_modules/lodash/isObjectLike.js delete mode 100644 node_modules/lodash/isPlainObject.js delete mode 100644 node_modules/lodash/isRegExp.js delete mode 100644 node_modules/lodash/isSafeInteger.js delete mode 100644 node_modules/lodash/isSet.js delete mode 100644 node_modules/lodash/isString.js delete mode 100644 node_modules/lodash/isSymbol.js delete mode 100644 node_modules/lodash/isTypedArray.js delete mode 100644 node_modules/lodash/isUndefined.js delete mode 100644 node_modules/lodash/isWeakMap.js delete mode 100644 node_modules/lodash/isWeakSet.js delete mode 100644 node_modules/lodash/iteratee.js delete mode 100644 node_modules/lodash/join.js delete mode 100644 node_modules/lodash/kebabCase.js delete mode 100644 node_modules/lodash/keyBy.js delete mode 100644 node_modules/lodash/keys.js delete mode 100644 node_modules/lodash/keysIn.js delete mode 100644 node_modules/lodash/lang.js delete mode 100644 node_modules/lodash/last.js delete mode 100644 node_modules/lodash/lastIndexOf.js delete mode 100644 node_modules/lodash/lodash.js delete mode 100644 node_modules/lodash/lodash.min.js delete mode 100644 node_modules/lodash/lowerCase.js delete mode 100644 node_modules/lodash/lowerFirst.js delete mode 100644 node_modules/lodash/lt.js delete mode 100644 node_modules/lodash/lte.js delete mode 100644 node_modules/lodash/map.js delete mode 100644 node_modules/lodash/mapKeys.js delete mode 100644 node_modules/lodash/mapValues.js delete mode 100644 node_modules/lodash/matches.js delete mode 100644 node_modules/lodash/matchesProperty.js delete mode 100644 node_modules/lodash/math.js delete mode 100644 node_modules/lodash/max.js delete mode 100644 node_modules/lodash/maxBy.js delete mode 100644 node_modules/lodash/mean.js delete mode 100644 node_modules/lodash/meanBy.js delete mode 100644 node_modules/lodash/memoize.js delete mode 100644 node_modules/lodash/merge.js delete mode 100644 node_modules/lodash/mergeWith.js delete mode 100644 node_modules/lodash/method.js delete mode 100644 node_modules/lodash/methodOf.js delete mode 100644 node_modules/lodash/min.js delete mode 100644 node_modules/lodash/minBy.js delete mode 100644 node_modules/lodash/mixin.js delete mode 100644 node_modules/lodash/multiply.js delete mode 100644 node_modules/lodash/negate.js delete mode 100644 node_modules/lodash/next.js delete mode 100644 node_modules/lodash/noop.js delete mode 100644 node_modules/lodash/now.js delete mode 100644 node_modules/lodash/nth.js delete mode 100644 node_modules/lodash/nthArg.js delete mode 100644 node_modules/lodash/number.js delete mode 100644 node_modules/lodash/object.js delete mode 100644 node_modules/lodash/omit.js delete mode 100644 node_modules/lodash/omitBy.js delete mode 100644 node_modules/lodash/once.js delete mode 100644 node_modules/lodash/orderBy.js delete mode 100644 node_modules/lodash/over.js delete mode 100644 node_modules/lodash/overArgs.js delete mode 100644 node_modules/lodash/overEvery.js delete mode 100644 node_modules/lodash/overSome.js delete mode 100644 node_modules/lodash/package.json delete mode 100644 node_modules/lodash/pad.js delete mode 100644 node_modules/lodash/padEnd.js delete mode 100644 node_modules/lodash/padStart.js delete mode 100644 node_modules/lodash/parseInt.js delete mode 100644 node_modules/lodash/partial.js delete mode 100644 node_modules/lodash/partialRight.js delete mode 100644 node_modules/lodash/partition.js delete mode 100644 node_modules/lodash/pick.js delete mode 100644 node_modules/lodash/pickBy.js delete mode 100644 node_modules/lodash/plant.js delete mode 100644 node_modules/lodash/property.js delete mode 100644 node_modules/lodash/propertyOf.js delete mode 100644 node_modules/lodash/pull.js delete mode 100644 node_modules/lodash/pullAll.js delete mode 100644 node_modules/lodash/pullAllBy.js delete mode 100644 node_modules/lodash/pullAllWith.js delete mode 100644 node_modules/lodash/pullAt.js delete mode 100644 node_modules/lodash/random.js delete mode 100644 node_modules/lodash/range.js delete mode 100644 node_modules/lodash/rangeRight.js delete mode 100644 node_modules/lodash/rearg.js delete mode 100644 node_modules/lodash/reduce.js delete mode 100644 node_modules/lodash/reduceRight.js delete mode 100644 node_modules/lodash/reject.js delete mode 100644 node_modules/lodash/remove.js delete mode 100644 node_modules/lodash/repeat.js delete mode 100644 node_modules/lodash/replace.js delete mode 100644 node_modules/lodash/rest.js delete mode 100644 node_modules/lodash/result.js delete mode 100644 node_modules/lodash/reverse.js delete mode 100644 node_modules/lodash/round.js delete mode 100644 node_modules/lodash/sample.js delete mode 100644 node_modules/lodash/sampleSize.js delete mode 100644 node_modules/lodash/seq.js delete mode 100644 node_modules/lodash/set.js delete mode 100644 node_modules/lodash/setWith.js delete mode 100644 node_modules/lodash/shuffle.js delete mode 100644 node_modules/lodash/size.js delete mode 100644 node_modules/lodash/slice.js delete mode 100644 node_modules/lodash/snakeCase.js delete mode 100644 node_modules/lodash/some.js delete mode 100644 node_modules/lodash/sortBy.js delete mode 100644 node_modules/lodash/sortedIndex.js delete mode 100644 node_modules/lodash/sortedIndexBy.js delete mode 100644 node_modules/lodash/sortedIndexOf.js delete mode 100644 node_modules/lodash/sortedLastIndex.js delete mode 100644 node_modules/lodash/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/sortedUniq.js delete mode 100644 node_modules/lodash/sortedUniqBy.js delete mode 100644 node_modules/lodash/split.js delete mode 100644 node_modules/lodash/spread.js delete mode 100644 node_modules/lodash/startCase.js delete mode 100644 node_modules/lodash/startsWith.js delete mode 100644 node_modules/lodash/string.js delete mode 100644 node_modules/lodash/stubArray.js delete mode 100644 node_modules/lodash/stubFalse.js delete mode 100644 node_modules/lodash/stubObject.js delete mode 100644 node_modules/lodash/stubString.js delete mode 100644 node_modules/lodash/stubTrue.js delete mode 100644 node_modules/lodash/subtract.js delete mode 100644 node_modules/lodash/sum.js delete mode 100644 node_modules/lodash/sumBy.js delete mode 100644 node_modules/lodash/tail.js delete mode 100644 node_modules/lodash/take.js delete mode 100644 node_modules/lodash/takeRight.js delete mode 100644 node_modules/lodash/takeRightWhile.js delete mode 100644 node_modules/lodash/takeWhile.js delete mode 100644 node_modules/lodash/tap.js delete mode 100644 node_modules/lodash/template.js delete mode 100644 node_modules/lodash/templateSettings.js delete mode 100644 node_modules/lodash/throttle.js delete mode 100644 node_modules/lodash/thru.js delete mode 100644 node_modules/lodash/times.js delete mode 100644 node_modules/lodash/toArray.js delete mode 100644 node_modules/lodash/toFinite.js delete mode 100644 node_modules/lodash/toInteger.js delete mode 100644 node_modules/lodash/toIterator.js delete mode 100644 node_modules/lodash/toJSON.js delete mode 100644 node_modules/lodash/toLength.js delete mode 100644 node_modules/lodash/toLower.js delete mode 100644 node_modules/lodash/toNumber.js delete mode 100644 node_modules/lodash/toPairs.js delete mode 100644 node_modules/lodash/toPairsIn.js delete mode 100644 node_modules/lodash/toPath.js delete mode 100644 node_modules/lodash/toPlainObject.js delete mode 100644 node_modules/lodash/toSafeInteger.js delete mode 100644 node_modules/lodash/toString.js delete mode 100644 node_modules/lodash/toUpper.js delete mode 100644 node_modules/lodash/transform.js delete mode 100644 node_modules/lodash/trim.js delete mode 100644 node_modules/lodash/trimEnd.js delete mode 100644 node_modules/lodash/trimStart.js delete mode 100644 node_modules/lodash/truncate.js delete mode 100644 node_modules/lodash/unary.js delete mode 100644 node_modules/lodash/unescape.js delete mode 100644 node_modules/lodash/union.js delete mode 100644 node_modules/lodash/unionBy.js delete mode 100644 node_modules/lodash/unionWith.js delete mode 100644 node_modules/lodash/uniq.js delete mode 100644 node_modules/lodash/uniqBy.js delete mode 100644 node_modules/lodash/uniqWith.js delete mode 100644 node_modules/lodash/uniqueId.js delete mode 100644 node_modules/lodash/unset.js delete mode 100644 node_modules/lodash/unzip.js delete mode 100644 node_modules/lodash/unzipWith.js delete mode 100644 node_modules/lodash/update.js delete mode 100644 node_modules/lodash/updateWith.js delete mode 100644 node_modules/lodash/upperCase.js delete mode 100644 node_modules/lodash/upperFirst.js delete mode 100644 node_modules/lodash/util.js delete mode 100644 node_modules/lodash/value.js delete mode 100644 node_modules/lodash/valueOf.js delete mode 100644 node_modules/lodash/values.js delete mode 100644 node_modules/lodash/valuesIn.js delete mode 100644 node_modules/lodash/without.js delete mode 100644 node_modules/lodash/words.js delete mode 100644 node_modules/lodash/wrap.js delete mode 100644 node_modules/lodash/wrapperAt.js delete mode 100644 node_modules/lodash/wrapperChain.js delete mode 100644 node_modules/lodash/wrapperLodash.js delete mode 100644 node_modules/lodash/wrapperReverse.js delete mode 100644 node_modules/lodash/wrapperValue.js delete mode 100644 node_modules/lodash/xor.js delete mode 100644 node_modules/lodash/xorBy.js delete mode 100644 node_modules/lodash/xorWith.js delete mode 100644 node_modules/lodash/zip.js delete mode 100644 node_modules/lodash/zipObject.js delete mode 100644 node_modules/lodash/zipObjectDeep.js delete mode 100644 node_modules/lodash/zipWith.js delete mode 100644 node_modules/log-symbols/index.js delete mode 100644 node_modules/log-symbols/license delete mode 100644 node_modules/log-symbols/node_modules/ansi-styles/index.js delete mode 100644 node_modules/log-symbols/node_modules/ansi-styles/license delete mode 100644 node_modules/log-symbols/node_modules/ansi-styles/package.json delete mode 100644 node_modules/log-symbols/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/log-symbols/node_modules/chalk/index.js delete mode 100644 node_modules/log-symbols/node_modules/chalk/license delete mode 100644 node_modules/log-symbols/node_modules/chalk/package.json delete mode 100644 node_modules/log-symbols/node_modules/chalk/readme.md delete mode 100644 node_modules/log-symbols/node_modules/supports-color/index.js delete mode 100644 node_modules/log-symbols/node_modules/supports-color/license delete mode 100644 node_modules/log-symbols/node_modules/supports-color/package.json delete mode 100644 node_modules/log-symbols/node_modules/supports-color/readme.md delete mode 100644 node_modules/log-symbols/package.json delete mode 100644 node_modules/log-symbols/readme.md delete mode 100644 node_modules/loud-rejection/api.js delete mode 100644 node_modules/loud-rejection/index.js delete mode 100644 node_modules/loud-rejection/license delete mode 100644 node_modules/loud-rejection/package.json delete mode 100644 node_modules/loud-rejection/readme.md delete mode 100644 node_modules/loud-rejection/register.js delete mode 100644 node_modules/lru-cache/.npmignore delete mode 100644 node_modules/lru-cache/.travis.yml delete mode 100644 node_modules/lru-cache/CONTRIBUTORS delete mode 100644 node_modules/lru-cache/LICENSE delete mode 100644 node_modules/lru-cache/README.md delete mode 100644 node_modules/lru-cache/lib/lru-cache.js delete mode 100644 node_modules/lru-cache/package.json delete mode 100644 node_modules/lru-cache/test/basic.js delete mode 100644 node_modules/lru-cache/test/foreach.js delete mode 100644 node_modules/lru-cache/test/memory-leak.js delete mode 100644 node_modules/lru-cache/test/serialize.js delete mode 100644 node_modules/map-obj/index.js delete mode 100644 node_modules/map-obj/license delete mode 100644 node_modules/map-obj/package.json delete mode 100644 node_modules/map-obj/readme.md delete mode 100644 node_modules/math-random/.npmignore delete mode 100644 node_modules/math-random/.travis.yml delete mode 100644 node_modules/math-random/browser.js delete mode 100644 node_modules/math-random/node.js delete mode 100644 node_modules/math-random/package.json delete mode 100644 node_modules/math-random/readme.md delete mode 100644 node_modules/math-random/test.js delete mode 100644 node_modules/mathml-tag-names/LICENSE delete mode 100644 node_modules/mathml-tag-names/index.json delete mode 100644 node_modules/mathml-tag-names/package.json delete mode 100644 node_modules/mathml-tag-names/readme.md delete mode 100644 node_modules/meow/index.js delete mode 100644 node_modules/meow/license delete mode 100644 node_modules/meow/package.json delete mode 100644 node_modules/meow/readme.md delete mode 100755 node_modules/micromatch/LICENSE delete mode 100644 node_modules/micromatch/README.md delete mode 100755 node_modules/micromatch/index.js delete mode 100644 node_modules/micromatch/lib/chars.js delete mode 100644 node_modules/micromatch/lib/expand.js delete mode 100644 node_modules/micromatch/lib/glob.js delete mode 100644 node_modules/micromatch/lib/utils.js delete mode 100644 node_modules/micromatch/package.json delete mode 100644 node_modules/minimatch/LICENSE delete mode 100644 node_modules/minimatch/README.md delete mode 100644 node_modules/minimatch/minimatch.js delete mode 100644 node_modules/minimatch/package.json delete mode 100644 node_modules/minimist/.travis.yml delete mode 100644 node_modules/minimist/LICENSE delete mode 100644 node_modules/minimist/example/parse.js delete mode 100644 node_modules/minimist/index.js delete mode 100644 node_modules/minimist/package.json delete mode 100644 node_modules/minimist/readme.markdown delete mode 100644 node_modules/minimist/test/all_bool.js delete mode 100644 node_modules/minimist/test/bool.js delete mode 100644 node_modules/minimist/test/dash.js delete mode 100644 node_modules/minimist/test/default_bool.js delete mode 100644 node_modules/minimist/test/dotted.js delete mode 100644 node_modules/minimist/test/kv_short.js delete mode 100644 node_modules/minimist/test/long.js delete mode 100644 node_modules/minimist/test/num.js delete mode 100644 node_modules/minimist/test/parse.js delete mode 100644 node_modules/minimist/test/parse_modified.js delete mode 100644 node_modules/minimist/test/short.js delete mode 100644 node_modules/minimist/test/stop_early.js delete mode 100644 node_modules/minimist/test/unknown.js delete mode 100644 node_modules/minimist/test/whitespace.js delete mode 100644 node_modules/mkdirp/.travis.yml delete mode 100644 node_modules/mkdirp/LICENSE delete mode 100755 node_modules/mkdirp/bin/cmd.js delete mode 100644 node_modules/mkdirp/bin/usage.txt delete mode 100644 node_modules/mkdirp/examples/pow.js delete mode 100644 node_modules/mkdirp/index.js delete mode 100644 node_modules/mkdirp/node_modules/minimist/.travis.yml delete mode 100644 node_modules/mkdirp/node_modules/minimist/LICENSE delete mode 100644 node_modules/mkdirp/node_modules/minimist/example/parse.js delete mode 100644 node_modules/mkdirp/node_modules/minimist/index.js delete mode 100644 node_modules/mkdirp/node_modules/minimist/package.json delete mode 100644 node_modules/mkdirp/node_modules/minimist/readme.markdown delete mode 100644 node_modules/mkdirp/package.json delete mode 100644 node_modules/mkdirp/readme.markdown delete mode 100644 node_modules/ms/index.js delete mode 100644 node_modules/ms/license.md delete mode 100644 node_modules/ms/package.json delete mode 100644 node_modules/ms/readme.md delete mode 100644 node_modules/multimatch/index.js delete mode 100644 node_modules/multimatch/license delete mode 100644 node_modules/multimatch/package.json delete mode 100644 node_modules/multimatch/readme.md delete mode 100644 node_modules/normalize-package-data/AUTHORS delete mode 100644 node_modules/normalize-package-data/LICENSE delete mode 100644 node_modules/normalize-package-data/README.md delete mode 100644 node_modules/normalize-package-data/lib/extract_description.js delete mode 100644 node_modules/normalize-package-data/lib/fixer.js delete mode 100644 node_modules/normalize-package-data/lib/make_warning.js delete mode 100644 node_modules/normalize-package-data/lib/normalize.js delete mode 100644 node_modules/normalize-package-data/lib/safe_format.js delete mode 100644 node_modules/normalize-package-data/lib/typos.json delete mode 100644 node_modules/normalize-package-data/lib/warning_messages.json delete mode 100644 node_modules/normalize-package-data/package.json delete mode 100644 node_modules/normalize-path/LICENSE delete mode 100644 node_modules/normalize-path/README.md delete mode 100644 node_modules/normalize-path/index.js delete mode 100644 node_modules/normalize-path/package.json delete mode 100644 node_modules/normalize-range/index.js delete mode 100644 node_modules/normalize-range/license delete mode 100644 node_modules/normalize-range/package.json delete mode 100644 node_modules/normalize-range/readme.md delete mode 100644 node_modules/normalize-selector/.npmignore delete mode 100644 node_modules/normalize-selector/README.md delete mode 100644 node_modules/normalize-selector/lib/normalize-selector.js delete mode 100644 node_modules/normalize-selector/package.json delete mode 100644 node_modules/normalize-selector/tests.js delete mode 100644 node_modules/num2fraction/.editorconfig delete mode 100644 node_modules/num2fraction/.npmignore delete mode 100644 node_modules/num2fraction/LICENSE delete mode 100644 node_modules/num2fraction/README.md delete mode 100644 node_modules/num2fraction/index.js delete mode 100644 node_modules/num2fraction/package.json delete mode 100644 node_modules/number-is-nan/index.js delete mode 100644 node_modules/number-is-nan/license delete mode 100644 node_modules/number-is-nan/package.json delete mode 100644 node_modules/number-is-nan/readme.md delete mode 100644 node_modules/object-assign/index.js delete mode 100644 node_modules/object-assign/license delete mode 100644 node_modules/object-assign/package.json delete mode 100644 node_modules/object-assign/readme.md delete mode 100644 node_modules/object.omit/LICENSE delete mode 100644 node_modules/object.omit/README.md delete mode 100644 node_modules/object.omit/index.js delete mode 100644 node_modules/object.omit/package.json delete mode 100644 node_modules/once/LICENSE delete mode 100644 node_modules/once/README.md delete mode 100644 node_modules/once/once.js delete mode 100644 node_modules/once/package.json delete mode 100644 node_modules/onecolor/LICENSE delete mode 100644 node_modules/onecolor/README.md delete mode 100644 node_modules/onecolor/index.js delete mode 100644 node_modules/onecolor/lib/CMYK.js delete mode 100644 node_modules/onecolor/lib/HSL.js delete mode 100644 node_modules/onecolor/lib/HSV.js delete mode 100644 node_modules/onecolor/lib/LAB.js delete mode 100644 node_modules/onecolor/lib/XYZ.js delete mode 100644 node_modules/onecolor/lib/color.js delete mode 100644 node_modules/onecolor/lib/plugins/clearer.js delete mode 100644 node_modules/onecolor/lib/plugins/contrast.js delete mode 100644 node_modules/onecolor/lib/plugins/darken.js delete mode 100644 node_modules/onecolor/lib/plugins/desaturate.js delete mode 100644 node_modules/onecolor/lib/plugins/grayscale.js delete mode 100644 node_modules/onecolor/lib/plugins/isDark.js delete mode 100644 node_modules/onecolor/lib/plugins/isLight.js delete mode 100644 node_modules/onecolor/lib/plugins/lighten.js delete mode 100644 node_modules/onecolor/lib/plugins/luminance.js delete mode 100644 node_modules/onecolor/lib/plugins/mix.js delete mode 100644 node_modules/onecolor/lib/plugins/namedColors.js delete mode 100644 node_modules/onecolor/lib/plugins/negate.js delete mode 100644 node_modules/onecolor/lib/plugins/opaquer.js delete mode 100644 node_modules/onecolor/lib/plugins/rotate.js delete mode 100644 node_modules/onecolor/lib/plugins/saturate.js delete mode 100644 node_modules/onecolor/lib/plugins/toAlpha.js delete mode 100644 node_modules/onecolor/minimal.js delete mode 100644 node_modules/onecolor/one-color-all.js delete mode 100644 node_modules/onecolor/one-color-all.map delete mode 100644 node_modules/onecolor/one-color.js delete mode 100644 node_modules/onecolor/one-color.map delete mode 100644 node_modules/onecolor/package.json delete mode 100644 node_modules/os-homedir/index.js delete mode 100644 node_modules/os-homedir/license delete mode 100644 node_modules/os-homedir/package.json delete mode 100644 node_modules/os-homedir/readme.md delete mode 100644 node_modules/os-locale/index.js delete mode 100644 node_modules/os-locale/license delete mode 100644 node_modules/os-locale/package.json delete mode 100644 node_modules/os-locale/readme.md delete mode 100644 node_modules/p-map/index.js delete mode 100644 node_modules/p-map/license delete mode 100644 node_modules/p-map/package.json delete mode 100644 node_modules/p-map/readme.md delete mode 100644 node_modules/parse-glob/LICENSE delete mode 100644 node_modules/parse-glob/README.md delete mode 100644 node_modules/parse-glob/index.js delete mode 100644 node_modules/parse-glob/package.json delete mode 100644 node_modules/parse-json/index.js delete mode 100644 node_modules/parse-json/license delete mode 100644 node_modules/parse-json/package.json delete mode 100644 node_modules/parse-json/readme.md delete mode 100644 node_modules/parse-json/vendor/parse.js delete mode 100644 node_modules/parse-json/vendor/unicode.js delete mode 100644 node_modules/path-exists/index.js delete mode 100644 node_modules/path-exists/license delete mode 100644 node_modules/path-exists/package.json delete mode 100644 node_modules/path-exists/readme.md delete mode 100644 node_modules/path-is-absolute/index.js delete mode 100644 node_modules/path-is-absolute/license delete mode 100644 node_modules/path-is-absolute/package.json delete mode 100644 node_modules/path-is-absolute/readme.md delete mode 100644 node_modules/path-is-inside/LICENSE.txt delete mode 100644 node_modules/path-is-inside/lib/path-is-inside.js delete mode 100644 node_modules/path-is-inside/package.json delete mode 100644 node_modules/path-type/index.js delete mode 100644 node_modules/path-type/license delete mode 100644 node_modules/path-type/package.json delete mode 100644 node_modules/path-type/readme.md delete mode 100644 node_modules/pify/index.js delete mode 100644 node_modules/pify/license delete mode 100644 node_modules/pify/package.json delete mode 100644 node_modules/pify/readme.md delete mode 100644 node_modules/pinkie-promise/index.js delete mode 100644 node_modules/pinkie-promise/license delete mode 100644 node_modules/pinkie-promise/package.json delete mode 100644 node_modules/pinkie-promise/readme.md delete mode 100644 node_modules/pinkie/index.js delete mode 100644 node_modules/pinkie/license delete mode 100644 node_modules/pinkie/package.json delete mode 100644 node_modules/pinkie/readme.md delete mode 100644 node_modules/pipetteur/.coveralls.yml delete mode 100644 node_modules/pipetteur/.editorconfig delete mode 100644 node_modules/pipetteur/.jshintignore delete mode 100644 node_modules/pipetteur/.jshintrc delete mode 100644 node_modules/pipetteur/.npmignore delete mode 100644 node_modules/pipetteur/.travis.yml delete mode 100644 node_modules/pipetteur/README.md delete mode 100644 node_modules/pipetteur/package.json delete mode 100644 node_modules/pipetteur/pipetteur.js delete mode 100644 node_modules/plur/index.js delete mode 100644 node_modules/plur/license delete mode 100644 node_modules/plur/package.json delete mode 100644 node_modules/plur/readme.md delete mode 100644 node_modules/postcss-less/.npmignore delete mode 100644 node_modules/postcss-less/CHANGELOG.md delete mode 100644 node_modules/postcss-less/README.md delete mode 100644 node_modules/postcss-less/dist/find-extend-rule.js delete mode 100644 node_modules/postcss-less/dist/find-extend-rule.min.js delete mode 100644 node_modules/postcss-less/dist/is-mixin-token.js delete mode 100644 node_modules/postcss-less/dist/is-mixin-token.min.js delete mode 100755 node_modules/postcss-less/dist/less-parse.js delete mode 100755 node_modules/postcss-less/dist/less-parse.min.js delete mode 100755 node_modules/postcss-less/dist/less-parser.js delete mode 100755 node_modules/postcss-less/dist/less-parser.min.js delete mode 100755 node_modules/postcss-less/dist/less-stringifier.js delete mode 100755 node_modules/postcss-less/dist/less-stringifier.min.js delete mode 100755 node_modules/postcss-less/dist/less-stringify.js delete mode 100755 node_modules/postcss-less/dist/less-stringify.min.js delete mode 100755 node_modules/postcss-less/dist/less-syntax.js delete mode 100755 node_modules/postcss-less/dist/less-syntax.min.js delete mode 100755 node_modules/postcss-less/dist/less-tokenize.js delete mode 100755 node_modules/postcss-less/dist/less-tokenize.min.js delete mode 100644 node_modules/postcss-less/dist/rule.js delete mode 100644 node_modules/postcss-less/dist/rule.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/find-end-of-escaping.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/find-end-of-escaping.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/find-end-of-expression.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/find-end-of-expression.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/globals.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/globals.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/is-escaping.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/is-escaping.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-at-rule.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-at-rule.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-backslash.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-backslash.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-basic-symbol.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-basic-symbol.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-comma.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-comma.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-default.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-default.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-inline-comment.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-inline-comment.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-multiline-comment.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-multiline-comment.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-opened-parenthesis.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-opened-parenthesis.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-quotes.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-quotes.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-symbol.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-symbol.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-whitespace.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/tokenize-whitespace.min.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/unclosed.js delete mode 100644 node_modules/postcss-less/dist/tokenizer/unclosed.min.js delete mode 100644 node_modules/postcss-less/node_modules/ansi-styles/index.js delete mode 100644 node_modules/postcss-less/node_modules/ansi-styles/license delete mode 100644 node_modules/postcss-less/node_modules/ansi-styles/package.json delete mode 100644 node_modules/postcss-less/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/postcss-less/node_modules/chalk/index.js delete mode 100644 node_modules/postcss-less/node_modules/chalk/license delete mode 100644 node_modules/postcss-less/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-less/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/postcss-less/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-less/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-less/node_modules/chalk/package.json delete mode 100644 node_modules/postcss-less/node_modules/chalk/readme.md delete mode 100644 node_modules/postcss-less/node_modules/has-flag/index.js delete mode 100644 node_modules/postcss-less/node_modules/has-flag/license delete mode 100644 node_modules/postcss-less/node_modules/has-flag/package.json delete mode 100644 node_modules/postcss-less/node_modules/has-flag/readme.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/LICENSE delete mode 100644 node_modules/postcss-less/node_modules/postcss/README.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/container.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/input.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/list.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/node.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/result.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/root.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/postcss-less/node_modules/postcss/package.json delete mode 100644 node_modules/postcss-less/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/postcss-less/node_modules/source-map/LICENSE delete mode 100644 node_modules/postcss-less/node_modules/source-map/README.md delete mode 100644 node_modules/postcss-less/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/lib/util.js delete mode 100644 node_modules/postcss-less/node_modules/source-map/package.json delete mode 100644 node_modules/postcss-less/node_modules/source-map/source-map.js delete mode 100644 node_modules/postcss-less/node_modules/supports-color/browser.js delete mode 100644 node_modules/postcss-less/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-less/node_modules/supports-color/license delete mode 100644 node_modules/postcss-less/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-less/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-less/package.json delete mode 100644 node_modules/postcss-media-query-parser/CHANGELOG.md delete mode 100644 node_modules/postcss-media-query-parser/README.md delete mode 100644 node_modules/postcss-media-query-parser/dist/index.js delete mode 100644 node_modules/postcss-media-query-parser/dist/nodes/Container.js delete mode 100644 node_modules/postcss-media-query-parser/dist/nodes/Node.js delete mode 100644 node_modules/postcss-media-query-parser/dist/parsers.js delete mode 100644 node_modules/postcss-media-query-parser/package.json delete mode 100644 node_modules/postcss-reporter/CHANGELOG.md delete mode 100644 node_modules/postcss-reporter/LICENSE delete mode 100644 node_modules/postcss-reporter/README.md delete mode 100644 node_modules/postcss-reporter/index.js delete mode 100644 node_modules/postcss-reporter/lib/formatter.js delete mode 100644 node_modules/postcss-reporter/lib/reporter.js delete mode 100644 node_modules/postcss-reporter/lib/util.js delete mode 100644 node_modules/postcss-reporter/node_modules/ansi-styles/index.js delete mode 100644 node_modules/postcss-reporter/node_modules/ansi-styles/license delete mode 100644 node_modules/postcss-reporter/node_modules/ansi-styles/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/postcss-reporter/node_modules/chalk/index.js delete mode 100644 node_modules/postcss-reporter/node_modules/chalk/license delete mode 100644 node_modules/postcss-reporter/node_modules/chalk/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/chalk/readme.md delete mode 100644 node_modules/postcss-reporter/node_modules/has-flag/index.js delete mode 100644 node_modules/postcss-reporter/node_modules/has-flag/license delete mode 100644 node_modules/postcss-reporter/node_modules/has-flag/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/has-flag/readme.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/LICENSE delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/README.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/container.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/input.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/list.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/node.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/result.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/root.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/node_modules/supports-color/browser.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/node_modules/supports-color/license delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-reporter/node_modules/postcss/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/LICENSE delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/README.md delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/lib/util.js delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/source-map/source-map.js delete mode 100644 node_modules/postcss-reporter/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-reporter/node_modules/supports-color/license delete mode 100644 node_modules/postcss-reporter/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-reporter/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-reporter/package.json delete mode 100644 node_modules/postcss-resolve-nested-selector/LICENSE delete mode 100644 node_modules/postcss-resolve-nested-selector/README.md delete mode 100644 node_modules/postcss-resolve-nested-selector/index.js delete mode 100644 node_modules/postcss-resolve-nested-selector/package.json delete mode 100644 node_modules/postcss-scss/CHANGELOG.md delete mode 100644 node_modules/postcss-scss/LICENSE delete mode 100644 node_modules/postcss-scss/README.md delete mode 100644 node_modules/postcss-scss/lib/nested-declaration.js delete mode 100644 node_modules/postcss-scss/lib/scss-parse.js delete mode 100644 node_modules/postcss-scss/lib/scss-parser.js delete mode 100644 node_modules/postcss-scss/lib/scss-stringifier.js delete mode 100644 node_modules/postcss-scss/lib/scss-stringify.js delete mode 100644 node_modules/postcss-scss/lib/scss-syntax.js delete mode 100644 node_modules/postcss-scss/lib/scss-tokenize.js delete mode 100644 node_modules/postcss-scss/package.json delete mode 100644 node_modules/postcss-selector-parser/API.md delete mode 100644 node_modules/postcss-selector-parser/CHANGELOG.md delete mode 100644 node_modules/postcss-selector-parser/LICENSE-MIT delete mode 100644 node_modules/postcss-selector-parser/README.md delete mode 100644 node_modules/postcss-selector-parser/dist/index.js delete mode 100644 node_modules/postcss-selector-parser/dist/parser.js delete mode 100644 node_modules/postcss-selector-parser/dist/processor.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/attribute.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/className.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/combinator.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/comment.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/container.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/id.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/namespace.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/nesting.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/node.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/pseudo.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/root.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/selector.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/string.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/tag.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/types.js delete mode 100644 node_modules/postcss-selector-parser/dist/selectors/universal.js delete mode 100644 node_modules/postcss-selector-parser/dist/sortAscending.js delete mode 100644 node_modules/postcss-selector-parser/dist/tokenize.js delete mode 100644 node_modules/postcss-selector-parser/package.json delete mode 100644 node_modules/postcss-sorting/CHANGELOG.md delete mode 100644 node_modules/postcss-sorting/LICENSE.md delete mode 100644 node_modules/postcss-sorting/README.md delete mode 100644 node_modules/postcss-sorting/docs/at-rule-nested-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/clean-empty-lines.md delete mode 100644 node_modules/postcss-sorting/docs/comment-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/custom-property-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/declaration-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/dollar-variable-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/order.md delete mode 100644 node_modules/postcss-sorting/docs/properties-order.md delete mode 100644 node_modules/postcss-sorting/docs/rule-nested-empty-line-before.md delete mode 100644 node_modules/postcss-sorting/docs/unspecified-properties-position.md delete mode 100644 node_modules/postcss-sorting/index.js delete mode 100644 node_modules/postcss-sorting/lib/calcAtRulePatternPriority.js delete mode 100644 node_modules/postcss-sorting/lib/calcRulePatternPriority.js delete mode 100644 node_modules/postcss-sorting/lib/checkOption.js delete mode 100644 node_modules/postcss-sorting/lib/cleanEmptyLines.js delete mode 100644 node_modules/postcss-sorting/lib/countEmptyLines.js delete mode 100644 node_modules/postcss-sorting/lib/createEmptyLines.js delete mode 100644 node_modules/postcss-sorting/lib/createExpectedOrder.js delete mode 100644 node_modules/postcss-sorting/lib/createExpectedPropertiesOrder.js delete mode 100644 node_modules/postcss-sorting/lib/emptyLineBeforeGroup.js delete mode 100644 node_modules/postcss-sorting/lib/features/at-rule-nested-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/features/clean-empty-lines.js delete mode 100644 node_modules/postcss-sorting/lib/features/comment-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/features/custom-property-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/features/declaration-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/features/dollar-variable-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/features/index.js delete mode 100644 node_modules/postcss-sorting/lib/features/order.js delete mode 100644 node_modules/postcss-sorting/lib/features/properties-order.js delete mode 100644 node_modules/postcss-sorting/lib/features/rule-nested-empty-line-before.js delete mode 100644 node_modules/postcss-sorting/lib/getComments.js delete mode 100644 node_modules/postcss-sorting/lib/getNextNonSharedLineCommentNode.js delete mode 100644 node_modules/postcss-sorting/lib/getOrderData.js delete mode 100644 node_modules/postcss-sorting/lib/getPreviousNonSharedLineCommentNode.js delete mode 100644 node_modules/postcss-sorting/lib/getPropertiesOrderData.js delete mode 100644 node_modules/postcss-sorting/lib/hasBlock.js delete mode 100644 node_modules/postcss-sorting/lib/hasEmptyLine.js delete mode 100644 node_modules/postcss-sorting/lib/hasSharedLineCommentBefore.js delete mode 100644 node_modules/postcss-sorting/lib/isAfterCommentLine.js delete mode 100644 node_modules/postcss-sorting/lib/isAfterStandardPropertyDeclaration.js delete mode 100644 node_modules/postcss-sorting/lib/isAtRuleAfterSameNameAtRule.js delete mode 100644 node_modules/postcss-sorting/lib/isBlocklessAtRuleAfterBlocklessAtRule.js delete mode 100644 node_modules/postcss-sorting/lib/isBlocklessAtRuleAfterSameNameBlocklessAtRule.js delete mode 100644 node_modules/postcss-sorting/lib/isCustomProperty.js delete mode 100644 node_modules/postcss-sorting/lib/isDollarVariable.js delete mode 100644 node_modules/postcss-sorting/lib/isFirstNested.js delete mode 100644 node_modules/postcss-sorting/lib/isRuleWithNodes.js delete mode 100644 node_modules/postcss-sorting/lib/isSet.js delete mode 100644 node_modules/postcss-sorting/lib/isSharedLineComment.js delete mode 100644 node_modules/postcss-sorting/lib/isSingleLineBlock.js delete mode 100644 node_modules/postcss-sorting/lib/isSingleLineString.js delete mode 100644 node_modules/postcss-sorting/lib/isStandardSyntaxDeclaration.js delete mode 100644 node_modules/postcss-sorting/lib/isStandardSyntaxProperty.js delete mode 100644 node_modules/postcss-sorting/lib/isStandardSyntaxRule.js delete mode 100644 node_modules/postcss-sorting/lib/normalizeOptions.js delete mode 100644 node_modules/postcss-sorting/lib/processLastComments.js delete mode 100644 node_modules/postcss-sorting/lib/processMostNodes.js delete mode 100644 node_modules/postcss-sorting/lib/sorting.js delete mode 100644 node_modules/postcss-sorting/lib/validateOptions.js delete mode 100644 node_modules/postcss-sorting/node_modules/ansi-styles/index.js delete mode 100644 node_modules/postcss-sorting/node_modules/ansi-styles/license delete mode 100644 node_modules/postcss-sorting/node_modules/ansi-styles/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/index.js delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/license delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/chalk/readme.md delete mode 100644 node_modules/postcss-sorting/node_modules/has-flag/index.js delete mode 100644 node_modules/postcss-sorting/node_modules/has-flag/license delete mode 100644 node_modules/postcss-sorting/node_modules/has-flag/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/has-flag/readme.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/LICENSE delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/README.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/container.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/input.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/list.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/node.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/result.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/root.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/postcss-sorting/node_modules/postcss/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/LICENSE delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/README.md delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/lib/util.js delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/source-map/source-map.js delete mode 100644 node_modules/postcss-sorting/node_modules/supports-color/browser.js delete mode 100644 node_modules/postcss-sorting/node_modules/supports-color/index.js delete mode 100644 node_modules/postcss-sorting/node_modules/supports-color/license delete mode 100644 node_modules/postcss-sorting/node_modules/supports-color/package.json delete mode 100644 node_modules/postcss-sorting/node_modules/supports-color/readme.md delete mode 100644 node_modules/postcss-sorting/package.json delete mode 100644 node_modules/postcss-value-parser/LICENSE delete mode 100644 node_modules/postcss-value-parser/README.md delete mode 100644 node_modules/postcss-value-parser/lib/index.js delete mode 100644 node_modules/postcss-value-parser/lib/parse.js delete mode 100644 node_modules/postcss-value-parser/lib/stringify.js delete mode 100644 node_modules/postcss-value-parser/lib/unit.js delete mode 100644 node_modules/postcss-value-parser/lib/walk.js delete mode 100644 node_modules/postcss-value-parser/package.json delete mode 100644 node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/postcss/CONTRIBUTING.md delete mode 100644 node_modules/postcss/LICENSE delete mode 100644 node_modules/postcss/README-cn.md delete mode 100644 node_modules/postcss/README.md delete mode 100644 node_modules/postcss/docs/architecture.md delete mode 100644 node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/postcss/gulpfile.js delete mode 100644 node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/postcss/lib/comment.js delete mode 100644 node_modules/postcss/lib/container.js delete mode 100644 node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/postcss/lib/input.js delete mode 100644 node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/postcss/lib/list.js delete mode 100644 node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/postcss/lib/node.js delete mode 100644 node_modules/postcss/lib/parse.js delete mode 100644 node_modules/postcss/lib/parser.js delete mode 100644 node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/postcss/lib/processor.js delete mode 100644 node_modules/postcss/lib/result.js delete mode 100644 node_modules/postcss/lib/root.js delete mode 100644 node_modules/postcss/lib/rule.js delete mode 100644 node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/postcss/lib/warning.js delete mode 100644 node_modules/postcss/package.json delete mode 100644 node_modules/preserve/.gitattributes delete mode 100644 node_modules/preserve/.jshintrc delete mode 100644 node_modules/preserve/.npmignore delete mode 100644 node_modules/preserve/.travis.yml delete mode 100644 node_modules/preserve/.verb.md delete mode 100644 node_modules/preserve/LICENSE delete mode 100644 node_modules/preserve/README.md delete mode 100644 node_modules/preserve/index.js delete mode 100644 node_modules/preserve/package.json delete mode 100644 node_modules/preserve/test.js delete mode 100644 node_modules/pseudomap/LICENSE delete mode 100644 node_modules/pseudomap/README.md delete mode 100644 node_modules/pseudomap/map.js delete mode 100644 node_modules/pseudomap/package.json delete mode 100644 node_modules/pseudomap/pseudomap.js delete mode 100644 node_modules/punycode/LICENSE-MIT.txt delete mode 100644 node_modules/punycode/README.md delete mode 100644 node_modules/punycode/package.json delete mode 100644 node_modules/punycode/punycode.es6.js delete mode 100644 node_modules/punycode/punycode.js delete mode 100644 node_modules/randomatic/LICENSE delete mode 100644 node_modules/randomatic/README.md delete mode 100644 node_modules/randomatic/index.js delete mode 100644 node_modules/randomatic/node_modules/is-number/LICENSE delete mode 100644 node_modules/randomatic/node_modules/is-number/README.md delete mode 100644 node_modules/randomatic/node_modules/is-number/index.js delete mode 100644 node_modules/randomatic/node_modules/is-number/package.json delete mode 100644 node_modules/randomatic/node_modules/kind-of/CHANGELOG.md delete mode 100644 node_modules/randomatic/node_modules/kind-of/LICENSE delete mode 100644 node_modules/randomatic/node_modules/kind-of/README.md delete mode 100644 node_modules/randomatic/node_modules/kind-of/index.js delete mode 100644 node_modules/randomatic/node_modules/kind-of/package.json delete mode 100644 node_modules/randomatic/package.json delete mode 100644 node_modules/read-file-stdin/.npmignore delete mode 100644 node_modules/read-file-stdin/History.md delete mode 100644 node_modules/read-file-stdin/Makefile delete mode 100644 node_modules/read-file-stdin/Readme.md delete mode 100644 node_modules/read-file-stdin/index.js delete mode 100644 node_modules/read-file-stdin/package.json delete mode 100644 node_modules/read-pkg-up/index.js delete mode 100644 node_modules/read-pkg-up/license delete mode 100644 node_modules/read-pkg-up/package.json delete mode 100644 node_modules/read-pkg-up/readme.md delete mode 100644 node_modules/read-pkg/index.js delete mode 100644 node_modules/read-pkg/license delete mode 100644 node_modules/read-pkg/package.json delete mode 100644 node_modules/read-pkg/readme.md delete mode 100644 node_modules/readable-stream/.npmignore delete mode 100644 node_modules/readable-stream/LICENSE delete mode 100644 node_modules/readable-stream/README.md delete mode 100644 node_modules/readable-stream/duplex.js delete mode 100644 node_modules/readable-stream/float.patch delete mode 100644 node_modules/readable-stream/lib/_stream_duplex.js delete mode 100644 node_modules/readable-stream/lib/_stream_passthrough.js delete mode 100644 node_modules/readable-stream/lib/_stream_readable.js delete mode 100644 node_modules/readable-stream/lib/_stream_transform.js delete mode 100644 node_modules/readable-stream/lib/_stream_writable.js delete mode 100644 node_modules/readable-stream/package.json delete mode 100644 node_modules/readable-stream/passthrough.js delete mode 100644 node_modules/readable-stream/readable.js delete mode 100644 node_modules/readable-stream/transform.js delete mode 100644 node_modules/readable-stream/writable.js delete mode 100644 node_modules/redent/index.js delete mode 100644 node_modules/redent/license delete mode 100644 node_modules/redent/package.json delete mode 100644 node_modules/redent/readme.md delete mode 100644 node_modules/regex-cache/LICENSE delete mode 100644 node_modules/regex-cache/README.md delete mode 100644 node_modules/regex-cache/index.js delete mode 100644 node_modules/regex-cache/package.json delete mode 100644 node_modules/remove-trailing-separator/history.md delete mode 100644 node_modules/remove-trailing-separator/index.js delete mode 100644 node_modules/remove-trailing-separator/license delete mode 100644 node_modules/remove-trailing-separator/package.json delete mode 100644 node_modules/remove-trailing-separator/readme.md delete mode 100644 node_modules/repeat-element/LICENSE delete mode 100644 node_modules/repeat-element/README.md delete mode 100644 node_modules/repeat-element/index.js delete mode 100644 node_modules/repeat-element/package.json delete mode 100644 node_modules/repeat-string/LICENSE delete mode 100644 node_modules/repeat-string/README.md delete mode 100644 node_modules/repeat-string/index.js delete mode 100644 node_modules/repeat-string/package.json delete mode 100644 node_modules/repeating/index.js delete mode 100644 node_modules/repeating/license delete mode 100644 node_modules/repeating/package.json delete mode 100644 node_modules/repeating/readme.md delete mode 100644 node_modules/require-from-string/index.js delete mode 100644 node_modules/require-from-string/license delete mode 100644 node_modules/require-from-string/package.json delete mode 100644 node_modules/require-from-string/readme.md delete mode 100644 node_modules/resolve-from/index.js delete mode 100644 node_modules/resolve-from/license delete mode 100644 node_modules/resolve-from/package.json delete mode 100644 node_modules/resolve-from/readme.md delete mode 100644 node_modules/rimraf/LICENSE delete mode 100644 node_modules/rimraf/README.md delete mode 100755 node_modules/rimraf/bin.js delete mode 100644 node_modules/rimraf/package.json delete mode 100644 node_modules/rimraf/rimraf.js delete mode 100644 node_modules/semver/LICENSE delete mode 100644 node_modules/semver/README.md delete mode 100755 node_modules/semver/bin/semver delete mode 100644 node_modules/semver/package.json delete mode 100644 node_modules/semver/range.bnf delete mode 100644 node_modules/semver/semver.js delete mode 100644 node_modules/sigmund/LICENSE delete mode 100644 node_modules/sigmund/README.md delete mode 100644 node_modules/sigmund/bench.js delete mode 100644 node_modules/sigmund/package.json delete mode 100644 node_modules/sigmund/sigmund.js delete mode 100644 node_modules/sigmund/test/basic.js delete mode 100644 node_modules/signal-exit/CHANGELOG.md delete mode 100644 node_modules/signal-exit/LICENSE.txt delete mode 100644 node_modules/signal-exit/README.md delete mode 100644 node_modules/signal-exit/index.js delete mode 100644 node_modules/signal-exit/package.json delete mode 100644 node_modules/signal-exit/signals.js delete mode 100755 node_modules/slice-ansi/index.js delete mode 100644 node_modules/slice-ansi/license delete mode 100644 node_modules/slice-ansi/node_modules/is-fullwidth-code-point/index.js delete mode 100644 node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license delete mode 100644 node_modules/slice-ansi/node_modules/is-fullwidth-code-point/package.json delete mode 100644 node_modules/slice-ansi/node_modules/is-fullwidth-code-point/readme.md delete mode 100644 node_modules/slice-ansi/package.json delete mode 100755 node_modules/slice-ansi/readme.md delete mode 100644 node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/source-map/LICENSE delete mode 100644 node_modules/source-map/README.md delete mode 100644 node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/source-map/lib/base64.js delete mode 100644 node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/source-map/lib/util.js delete mode 100644 node_modules/source-map/package.json delete mode 100644 node_modules/source-map/source-map.d.ts delete mode 100644 node_modules/source-map/source-map.js delete mode 100755 node_modules/spdx-correct/LICENSE delete mode 100755 node_modules/spdx-correct/README.md delete mode 100755 node_modules/spdx-correct/index.js delete mode 100755 node_modules/spdx-correct/package.json delete mode 100644 node_modules/spdx-exceptions/README.md delete mode 100644 node_modules/spdx-exceptions/index.json delete mode 100644 node_modules/spdx-exceptions/package.json delete mode 100644 node_modules/spdx-exceptions/test.log delete mode 100644 node_modules/spdx-expression-parse/AUTHORS delete mode 100644 node_modules/spdx-expression-parse/LICENSE delete mode 100644 node_modules/spdx-expression-parse/README.md delete mode 100644 node_modules/spdx-expression-parse/index.js delete mode 100644 node_modules/spdx-expression-parse/package.json delete mode 100644 node_modules/spdx-expression-parse/parse.js delete mode 100644 node_modules/spdx-expression-parse/scan.js delete mode 100644 node_modules/spdx-license-ids/README.md delete mode 100644 node_modules/spdx-license-ids/deprecated.json delete mode 100644 node_modules/spdx-license-ids/index.json delete mode 100644 node_modules/spdx-license-ids/package.json delete mode 100644 node_modules/specificity/LICENSE delete mode 100755 node_modules/specificity/bin/specificity delete mode 100644 node_modules/specificity/package.json delete mode 100644 node_modules/specificity/readme.md delete mode 100644 node_modules/specificity/specificity.d.ts delete mode 100644 node_modules/specificity/specificity.js delete mode 100644 node_modules/split2/.README.md.un~ delete mode 100644 node_modules/split2/.index.js.un~ delete mode 100644 node_modules/split2/.npmignore delete mode 100644 node_modules/split2/.package.json.un~ delete mode 100644 node_modules/split2/.test.js.un~ delete mode 100644 node_modules/split2/.travis.yml delete mode 100644 node_modules/split2/LICENSE delete mode 100644 node_modules/split2/README.md delete mode 100644 node_modules/split2/index.js delete mode 100644 node_modules/split2/package.json delete mode 100644 node_modules/split2/test.js delete mode 100644 node_modules/sprintf-js/.npmignore delete mode 100644 node_modules/sprintf-js/LICENSE delete mode 100644 node_modules/sprintf-js/README.md delete mode 100644 node_modules/sprintf-js/bower.json delete mode 100644 node_modules/sprintf-js/demo/angular.html delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.js delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.js.map delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.map delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.js delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.js.map delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.map delete mode 100644 node_modules/sprintf-js/gruntfile.js delete mode 100644 node_modules/sprintf-js/package.json delete mode 100644 node_modules/sprintf-js/src/angular-sprintf.js delete mode 100644 node_modules/sprintf-js/src/sprintf.js delete mode 100644 node_modules/stdin/.npmignore delete mode 100644 node_modules/stdin/History.md delete mode 100644 node_modules/stdin/Makefile delete mode 100644 node_modules/stdin/Readme.md delete mode 100644 node_modules/stdin/index.js delete mode 100644 node_modules/stdin/package.json delete mode 100644 node_modules/stream-combiner/.npmignore delete mode 100644 node_modules/stream-combiner/.travis.yml delete mode 100644 node_modules/stream-combiner/LICENSE delete mode 100644 node_modules/stream-combiner/README.md delete mode 100644 node_modules/stream-combiner/index.js delete mode 100644 node_modules/stream-combiner/package.json delete mode 100644 node_modules/string-width/index.js delete mode 100644 node_modules/string-width/license delete mode 100644 node_modules/string-width/node_modules/ansi-regex/index.js delete mode 100644 node_modules/string-width/node_modules/ansi-regex/license delete mode 100644 node_modules/string-width/node_modules/ansi-regex/package.json delete mode 100644 node_modules/string-width/node_modules/ansi-regex/readme.md delete mode 100644 node_modules/string-width/node_modules/is-fullwidth-code-point/index.js delete mode 100644 node_modules/string-width/node_modules/is-fullwidth-code-point/license delete mode 100644 node_modules/string-width/node_modules/is-fullwidth-code-point/package.json delete mode 100644 node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md delete mode 100644 node_modules/string-width/node_modules/strip-ansi/index.js delete mode 100644 node_modules/string-width/node_modules/strip-ansi/license delete mode 100644 node_modules/string-width/node_modules/strip-ansi/package.json delete mode 100644 node_modules/string-width/node_modules/strip-ansi/readme.md delete mode 100644 node_modules/string-width/package.json delete mode 100644 node_modules/string-width/readme.md delete mode 100644 node_modules/string_decoder/.npmignore delete mode 100644 node_modules/string_decoder/LICENSE delete mode 100644 node_modules/string_decoder/README.md delete mode 100644 node_modules/string_decoder/index.js delete mode 100644 node_modules/string_decoder/package.json delete mode 100644 node_modules/strip-ansi/index.js delete mode 100644 node_modules/strip-ansi/license delete mode 100644 node_modules/strip-ansi/package.json delete mode 100644 node_modules/strip-ansi/readme.md delete mode 100644 node_modules/strip-bom/index.js delete mode 100644 node_modules/strip-bom/license delete mode 100644 node_modules/strip-bom/package.json delete mode 100644 node_modules/strip-bom/readme.md delete mode 100755 node_modules/strip-indent/cli.js delete mode 100644 node_modules/strip-indent/index.js delete mode 100644 node_modules/strip-indent/license delete mode 100644 node_modules/strip-indent/node_modules/get-stdin/index.js delete mode 100644 node_modules/strip-indent/node_modules/get-stdin/package.json delete mode 100644 node_modules/strip-indent/node_modules/get-stdin/readme.md delete mode 100644 node_modules/strip-indent/package.json delete mode 100644 node_modules/strip-indent/readme.md delete mode 100644 node_modules/style-search/.npmignore delete mode 100644 node_modules/style-search/CHANGELOG.md delete mode 100644 node_modules/style-search/LICENSE delete mode 100644 node_modules/style-search/README.md delete mode 100644 node_modules/style-search/circle.yml delete mode 100644 node_modules/style-search/index.js delete mode 100644 node_modules/style-search/package.json delete mode 100644 node_modules/style-search/test.js delete mode 100644 node_modules/stylefmt/CHANGELOG.md delete mode 100644 node_modules/stylefmt/LICENSE delete mode 100644 node_modules/stylefmt/README.md delete mode 100755 node_modules/stylefmt/bin/cli.js delete mode 100644 node_modules/stylefmt/compositor.json delete mode 100644 node_modules/stylefmt/index.js delete mode 100644 node_modules/stylefmt/lib/formatAtRuleParams.js delete mode 100644 node_modules/stylefmt/lib/formatAtRules.js delete mode 100644 node_modules/stylefmt/lib/formatColors.js delete mode 100644 node_modules/stylefmt/lib/formatComments.js delete mode 100644 node_modules/stylefmt/lib/formatDecls.js delete mode 100644 node_modules/stylefmt/lib/formatOrder.js delete mode 100644 node_modules/stylefmt/lib/formatRules.js delete mode 100644 node_modules/stylefmt/lib/formatSassVariables.js delete mode 100644 node_modules/stylefmt/lib/formatSelectors.js delete mode 100644 node_modules/stylefmt/lib/formatShorthand.js delete mode 100644 node_modules/stylefmt/lib/formatTransforms.js delete mode 100644 node_modules/stylefmt/lib/formatValues.js delete mode 100644 node_modules/stylefmt/lib/formatZeros.js delete mode 100644 node_modules/stylefmt/lib/getIndent.js delete mode 100644 node_modules/stylefmt/lib/hasBlock.js delete mode 100644 node_modules/stylefmt/lib/hasDecls.js delete mode 100644 node_modules/stylefmt/lib/hasRules.js delete mode 100644 node_modules/stylefmt/lib/params.js delete mode 100644 node_modules/stylefmt/lib/util.js delete mode 100644 node_modules/stylefmt/package.json delete mode 100755 node_modules/stylehacks/CHANGELOG.md delete mode 100755 node_modules/stylehacks/LICENSE-MIT delete mode 100755 node_modules/stylehacks/README.md delete mode 100755 node_modules/stylehacks/dist/cli.js delete mode 100644 node_modules/stylehacks/dist/dictionary/browsers.js delete mode 100644 node_modules/stylehacks/dist/dictionary/identifiers.js delete mode 100644 node_modules/stylehacks/dist/dictionary/postcss.js delete mode 100644 node_modules/stylehacks/dist/dictionary/tags.js delete mode 100644 node_modules/stylehacks/dist/exists.js delete mode 100644 node_modules/stylehacks/dist/formatter.js delete mode 100755 node_modules/stylehacks/dist/index.js delete mode 100644 node_modules/stylehacks/dist/isMixin.js delete mode 100755 node_modules/stylehacks/dist/plugin.js delete mode 100644 node_modules/stylehacks/dist/plugins/bodyEmpty.js delete mode 100644 node_modules/stylehacks/dist/plugins/htmlCombinatorCommentBody.js delete mode 100644 node_modules/stylehacks/dist/plugins/htmlFirstChild.js delete mode 100755 node_modules/stylehacks/dist/plugins/important.js delete mode 100755 node_modules/stylehacks/dist/plugins/leadingStar.js delete mode 100755 node_modules/stylehacks/dist/plugins/leadingUnderscore.js delete mode 100755 node_modules/stylehacks/dist/plugins/mediaSlash0.js delete mode 100755 node_modules/stylehacks/dist/plugins/mediaSlash9.js delete mode 100644 node_modules/stylehacks/dist/plugins/slash9.js delete mode 100755 node_modules/stylehacks/dist/plugins/starHtml.js delete mode 100755 node_modules/stylehacks/dist/plugins/trailingSlashComma.js delete mode 100644 node_modules/stylehacks/node_modules/ansi-styles/index.js delete mode 100644 node_modules/stylehacks/node_modules/ansi-styles/license delete mode 100644 node_modules/stylehacks/node_modules/ansi-styles/package.json delete mode 100644 node_modules/stylehacks/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/stylehacks/node_modules/chalk/index.js delete mode 100644 node_modules/stylehacks/node_modules/chalk/license delete mode 100644 node_modules/stylehacks/node_modules/chalk/package.json delete mode 100644 node_modules/stylehacks/node_modules/chalk/readme.md delete mode 100644 node_modules/stylehacks/node_modules/has-flag/index.js delete mode 100644 node_modules/stylehacks/node_modules/has-flag/license delete mode 100644 node_modules/stylehacks/node_modules/has-flag/package.json delete mode 100644 node_modules/stylehacks/node_modules/has-flag/readme.md delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/CHANGELOG.md delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/LICENSE delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/README.md delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/index.js delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/lib/formatter.js delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/lib/reporter.js delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/lib/util.js delete mode 100644 node_modules/stylehacks/node_modules/postcss-reporter/package.json delete mode 100644 node_modules/stylehacks/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/LICENSE delete mode 100644 node_modules/stylehacks/node_modules/postcss/README.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/container.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/input.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/list.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/node.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/result.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/root.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/node_modules/supports-color/browser.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/node_modules/supports-color/index.js delete mode 100644 node_modules/stylehacks/node_modules/postcss/node_modules/supports-color/license delete mode 100644 node_modules/stylehacks/node_modules/postcss/node_modules/supports-color/package.json delete mode 100644 node_modules/stylehacks/node_modules/postcss/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylehacks/node_modules/postcss/package.json delete mode 100644 node_modules/stylehacks/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/stylehacks/node_modules/source-map/LICENSE delete mode 100644 node_modules/stylehacks/node_modules/source-map/README.md delete mode 100644 node_modules/stylehacks/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/lib/util.js delete mode 100644 node_modules/stylehacks/node_modules/source-map/package.json delete mode 100644 node_modules/stylehacks/node_modules/source-map/source-map.js delete mode 100644 node_modules/stylehacks/node_modules/supports-color/index.js delete mode 100644 node_modules/stylehacks/node_modules/supports-color/license delete mode 100644 node_modules/stylehacks/node_modules/supports-color/package.json delete mode 100644 node_modules/stylehacks/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylehacks/package.json delete mode 100644 node_modules/stylehacks/usage.txt delete mode 100644 node_modules/stylelint-order/CHANGELOG.md delete mode 100644 node_modules/stylelint-order/LICENSE.md delete mode 100644 node_modules/stylelint-order/README.md delete mode 100644 node_modules/stylelint-order/index.js delete mode 100644 node_modules/stylelint-order/node_modules/ansi-styles/index.js delete mode 100644 node_modules/stylelint-order/node_modules/ansi-styles/license delete mode 100644 node_modules/stylelint-order/node_modules/ansi-styles/package.json delete mode 100644 node_modules/stylelint-order/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/stylelint-order/node_modules/chalk/index.js delete mode 100644 node_modules/stylelint-order/node_modules/chalk/license delete mode 100644 node_modules/stylelint-order/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/stylelint-order/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/stylelint-order/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/stylelint-order/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylelint-order/node_modules/chalk/package.json delete mode 100644 node_modules/stylelint-order/node_modules/chalk/readme.md delete mode 100644 node_modules/stylelint-order/node_modules/has-flag/index.js delete mode 100644 node_modules/stylelint-order/node_modules/has-flag/license delete mode 100644 node_modules/stylelint-order/node_modules/has-flag/package.json delete mode 100644 node_modules/stylelint-order/node_modules/has-flag/readme.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/LICENSE delete mode 100644 node_modules/stylelint-order/node_modules/postcss/README.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/container.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/input.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/list.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/node.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/result.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/root.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/stylelint-order/node_modules/postcss/package.json delete mode 100644 node_modules/stylelint-order/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/stylelint-order/node_modules/source-map/LICENSE delete mode 100644 node_modules/stylelint-order/node_modules/source-map/README.md delete mode 100644 node_modules/stylelint-order/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/lib/util.js delete mode 100644 node_modules/stylelint-order/node_modules/source-map/package.json delete mode 100644 node_modules/stylelint-order/node_modules/source-map/source-map.js delete mode 100644 node_modules/stylelint-order/node_modules/supports-color/browser.js delete mode 100644 node_modules/stylelint-order/node_modules/supports-color/index.js delete mode 100644 node_modules/stylelint-order/node_modules/supports-color/license delete mode 100644 node_modules/stylelint-order/node_modules/supports-color/package.json delete mode 100644 node_modules/stylelint-order/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylelint-order/package.json delete mode 100644 node_modules/stylelint-order/rules/checkAlphabeticalOrder.js delete mode 100644 node_modules/stylelint-order/rules/deprecated/declaration-block-properties-specified-order.js delete mode 100644 node_modules/stylelint-order/rules/deprecated/declaration-block-property-groups-structure.js delete mode 100644 node_modules/stylelint-order/rules/index.js delete mode 100644 node_modules/stylelint-order/rules/order/README.md delete mode 100644 node_modules/stylelint-order/rules/order/index.js delete mode 100644 node_modules/stylelint-order/rules/properties-alphabetical-order/README.md delete mode 100644 node_modules/stylelint-order/rules/properties-alphabetical-order/index.js delete mode 100644 node_modules/stylelint-order/rules/properties-order/README.md delete mode 100644 node_modules/stylelint-order/rules/properties-order/index.js delete mode 100644 node_modules/stylelint-order/utils/index.js delete mode 100644 node_modules/stylelint-order/utils/isAtVariable.js delete mode 100644 node_modules/stylelint-order/utils/isCustomProperty.js delete mode 100644 node_modules/stylelint-order/utils/isDollarVariable.js delete mode 100644 node_modules/stylelint-order/utils/isScssNestedPropertiesRoot.js delete mode 100644 node_modules/stylelint-order/utils/isStandardSyntaxProperty.js delete mode 100644 node_modules/stylelint-order/utils/namespace.js delete mode 100644 node_modules/stylelint-order/utils/renamedRuleWarning.js delete mode 100644 node_modules/stylelint/CHANGELOG.md delete mode 100644 node_modules/stylelint/CONTRIBUTING.md delete mode 100644 node_modules/stylelint/LICENSE delete mode 100644 node_modules/stylelint/README.md delete mode 100755 node_modules/stylelint/bin/stylelint.js delete mode 100644 node_modules/stylelint/decls/postcss.js delete mode 100644 node_modules/stylelint/decls/stylelint.js delete mode 100644 node_modules/stylelint/docs/developer-guide.md delete mode 100644 node_modules/stylelint/docs/developer-guide/formatters.md delete mode 100644 node_modules/stylelint/docs/developer-guide/plugins.md delete mode 100644 node_modules/stylelint/docs/developer-guide/processors.md delete mode 100644 node_modules/stylelint/docs/developer-guide/rule-testers.md delete mode 100644 node_modules/stylelint/docs/developer-guide/rules.md delete mode 100644 node_modules/stylelint/docs/user-guide.md delete mode 100644 node_modules/stylelint/docs/user-guide/about-rules.md delete mode 100644 node_modules/stylelint/docs/user-guide/articles.md delete mode 100644 node_modules/stylelint/docs/user-guide/cli.md delete mode 100644 node_modules/stylelint/docs/user-guide/complementary-tools.md delete mode 100644 node_modules/stylelint/docs/user-guide/configuration.md delete mode 100644 node_modules/stylelint/docs/user-guide/css-processors.md delete mode 100644 node_modules/stylelint/docs/user-guide/example-config.md delete mode 100644 node_modules/stylelint/docs/user-guide/faq.md delete mode 100644 node_modules/stylelint/docs/user-guide/node-api.md delete mode 100644 node_modules/stylelint/docs/user-guide/plugins.md delete mode 100644 node_modules/stylelint/docs/user-guide/postcss-plugin.md delete mode 100644 node_modules/stylelint/docs/user-guide/processors.md delete mode 100644 node_modules/stylelint/docs/user-guide/rules.md delete mode 100644 node_modules/stylelint/lib/alwaysIgnoredGlobs.js delete mode 100644 node_modules/stylelint/lib/assignDisabledRanges.js delete mode 100644 node_modules/stylelint/lib/augmentConfig.js delete mode 100644 node_modules/stylelint/lib/cli.js delete mode 100644 node_modules/stylelint/lib/createPlugin.js delete mode 100644 node_modules/stylelint/lib/createStylelint.js delete mode 100644 node_modules/stylelint/lib/createStylelintResult.js delete mode 100644 node_modules/stylelint/lib/dynamicRequire.js delete mode 100644 node_modules/stylelint/lib/formatters/index.js delete mode 100644 node_modules/stylelint/lib/formatters/jsonFormatter.js delete mode 100644 node_modules/stylelint/lib/formatters/needlessDisablesStringFormatter.js delete mode 100644 node_modules/stylelint/lib/formatters/stringFormatter.js delete mode 100644 node_modules/stylelint/lib/formatters/verboseFormatter.js delete mode 100644 node_modules/stylelint/lib/getConfigForFile.js delete mode 100644 node_modules/stylelint/lib/getPostcssResult.js delete mode 100644 node_modules/stylelint/lib/index.js delete mode 100644 node_modules/stylelint/lib/isPathIgnored.js delete mode 100644 node_modules/stylelint/lib/lintSource.js delete mode 100644 node_modules/stylelint/lib/needlessDisables.js delete mode 100644 node_modules/stylelint/lib/normalizeRuleSettings.js delete mode 100644 node_modules/stylelint/lib/postcssPlugin.js delete mode 100644 node_modules/stylelint/lib/reference/keywordSets.js delete mode 100644 node_modules/stylelint/lib/reference/namedColorData.js delete mode 100644 node_modules/stylelint/lib/reference/propertySets.js delete mode 100644 node_modules/stylelint/lib/reference/punctuationSets.js delete mode 100644 node_modules/stylelint/lib/reference/shorthandData.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-name-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-no-vendor-prefix/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-semicolon-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-semicolon-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/at-rule-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/at-rule-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/atRuleNameSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-closing-brace-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-no-empty/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-no-empty/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-no-single-line/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-no-single-line/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/block-opening-brace-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/checkRuleEmptyLineBefore.js delete mode 100644 node_modules/stylelint/lib/rules/color-hex-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/color-hex-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/color-hex-length/README.md delete mode 100644 node_modules/stylelint/lib/rules/color-hex-length/index.js delete mode 100644 node_modules/stylelint/lib/rules/color-named/README.md delete mode 100644 node_modules/stylelint/lib/rules/color-named/index.js delete mode 100644 node_modules/stylelint/lib/rules/color-no-hex/README.md delete mode 100644 node_modules/stylelint/lib/rules/color-no-hex/index.js delete mode 100644 node_modules/stylelint/lib/rules/color-no-invalid-hex/README.md delete mode 100644 node_modules/stylelint/lib/rules/color-no-invalid-hex/index.js delete mode 100644 node_modules/stylelint/lib/rules/comment-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/comment-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/comment-no-empty/README.md delete mode 100644 node_modules/stylelint/lib/rules/comment-no-empty/index.js delete mode 100644 node_modules/stylelint/lib/rules/comment-whitespace-inside/README.md delete mode 100755 node_modules/stylelint/lib/rules/comment-whitespace-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/comment-word-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/comment-word-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/custom-media-pattern/README.md delete mode 100644 node_modules/stylelint/lib/rules/custom-media-pattern/index.js delete mode 100644 node_modules/stylelint/lib/rules/custom-property-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/custom-property-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/custom-property-no-outside-root/README.md delete mode 100644 node_modules/stylelint/lib/rules/custom-property-no-outside-root/index.js delete mode 100644 node_modules/stylelint/lib/rules/custom-property-pattern/README.md delete mode 100644 node_modules/stylelint/lib/rules/custom-property-pattern/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-bang-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-bang-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-bang-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-bang-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-duplicate-properties/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-ignored-properties/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-ignored-properties/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-redundant-longhand-properties/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-no-shorthand-property-overrides/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-properties-order/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-properties-order/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-semicolon-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-single-line-max-declarations/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-block-trailing-semicolon/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-colon-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-no-important/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-no-important/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-unit-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-unit-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-value-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-value-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-value-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/declaration-property-value-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/declarationBangSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/declarationColonSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/findMediaOperator.js delete mode 100644 node_modules/stylelint/lib/rules/font-family-name-quotes/README.md delete mode 100644 node_modules/stylelint/lib/rules/font-family-name-quotes/index.js delete mode 100644 node_modules/stylelint/lib/rules/font-family-no-duplicate-names/README.md delete mode 100644 node_modules/stylelint/lib/rules/font-family-no-duplicate-names/index.js delete mode 100644 node_modules/stylelint/lib/rules/font-weight-notation/README.md delete mode 100644 node_modules/stylelint/lib/rules/font-weight-notation/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-calc-no-unspaced-operator/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-comma-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-comma-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-comma-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-comma-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-comma-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-comma-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-comma-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-comma-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-max-empty-lines/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-max-empty-lines/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-name-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-name-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-parentheses-newline-inside/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-parentheses-newline-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-parentheses-space-inside/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-parentheses-space-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-url-data-uris/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-url-data-uris/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-url-no-scheme-relative/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-url-no-scheme-relative/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-url-quotes/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-url-quotes/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-url-scheme-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-url-scheme-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-url-scheme-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-url-scheme-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/function-whitespace-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/function-whitespace-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/functionCommaSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/indentation/README.md delete mode 100644 node_modules/stylelint/lib/rules/indentation/index.js delete mode 100644 node_modules/stylelint/lib/rules/index.js delete mode 100644 node_modules/stylelint/lib/rules/keyframe-declaration-no-important/README.md delete mode 100644 node_modules/stylelint/lib/rules/keyframe-declaration-no-important/index.js delete mode 100644 node_modules/stylelint/lib/rules/length-zero-no-unit/README.md delete mode 100644 node_modules/stylelint/lib/rules/length-zero-no-unit/index.js delete mode 100644 node_modules/stylelint/lib/rules/max-empty-lines/README.md delete mode 100644 node_modules/stylelint/lib/rules/max-empty-lines/index.js delete mode 100644 node_modules/stylelint/lib/rules/max-line-length/README.md delete mode 100644 node_modules/stylelint/lib/rules/max-line-length/index.js delete mode 100644 node_modules/stylelint/lib/rules/max-nesting-depth/README.md delete mode 100644 node_modules/stylelint/lib/rules/max-nesting-depth/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-colon-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-colon-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-colon-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-colon-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-name-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-no-missing-punctuation/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-no-missing-punctuation/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-parentheses-space-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-range-operator-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-feature-range-operator-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/media-query-list-comma-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/mediaFeatureColonSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/mediaQueryListCommaWhitespaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/no-browser-hacks/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-browser-hacks/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-descending-specificity/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-descending-specificity/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-duplicate-selectors/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-duplicate-selectors/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-empty-source/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-empty-source/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-eol-whitespace/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-eol-whitespace/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-extra-semicolons/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-extra-semicolons/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-indistinguishable-colors/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-indistinguishable-colors/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-invalid-double-slash-comments/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-unknown-animations/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-unknown-animations/index.js delete mode 100644 node_modules/stylelint/lib/rules/no-unsupported-browser-features/README.md delete mode 100644 node_modules/stylelint/lib/rules/no-unsupported-browser-features/index.js delete mode 100644 node_modules/stylelint/lib/rules/number-leading-zero/README.md delete mode 100644 node_modules/stylelint/lib/rules/number-leading-zero/index.js delete mode 100644 node_modules/stylelint/lib/rules/number-max-precision/README.md delete mode 100644 node_modules/stylelint/lib/rules/number-max-precision/index.js delete mode 100644 node_modules/stylelint/lib/rules/number-no-trailing-zeros/README.md delete mode 100644 node_modules/stylelint/lib/rules/number-no-trailing-zeros/index.js delete mode 100644 node_modules/stylelint/lib/rules/property-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/property-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/property-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/property-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/property-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/property-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/property-no-vendor-prefix/README.md delete mode 100644 node_modules/stylelint/lib/rules/property-no-vendor-prefix/index.js delete mode 100644 node_modules/stylelint/lib/rules/property-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/property-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/root-no-standard-properties/README.md delete mode 100644 node_modules/stylelint/lib/rules/root-no-standard-properties/index.js delete mode 100644 node_modules/stylelint/lib/rules/rule-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/rule-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/rule-nested-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/rule-nested-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/rule-non-nested-empty-line-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/rule-non-nested-empty-line-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-brackets-space-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-operator-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-quotes/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-attribute-quotes/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-class-pattern/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-class-pattern/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-combinator-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-combinator-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-combinator-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-combinator-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-descendant-combinator-no-non-space/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-id-pattern/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-id-pattern/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-list-comma-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-attribute/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-attribute/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-class/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-class/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-combinators/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-combinators/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-compound-selectors/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-compound-selectors/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-empty-lines/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-empty-lines/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-id/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-id/index.js delete mode 100755 node_modules/stylelint/lib/rules/selector-max-specificity/README.md delete mode 100755 node_modules/stylelint/lib/rules/selector-max-specificity/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-type/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-type/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-max-universal/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-max-universal/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-nested-pattern/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-nested-pattern/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-attribute/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-attribute/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-combinator/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-combinator/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-empty/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-empty/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-id/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-id/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-qualifying-type/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-qualifying-type/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-type/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-type/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-universal/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-universal/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-no-vendor-prefix/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-no-vendor-prefix/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-class-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-colon-notation/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-pseudo-element-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-root-no-composition/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-root-no-composition/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-type-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-type-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/selector-type-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/selector-type-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/selectorAttributeOperatorSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/selectorCombinatorSpaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/selectorListCommaWhitespaceChecker.js delete mode 100644 node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/README.md delete mode 100644 node_modules/stylelint/lib/rules/shorthand-property-no-redundant-values/index.js delete mode 100644 node_modules/stylelint/lib/rules/string-no-newline/README.md delete mode 100644 node_modules/stylelint/lib/rules/string-no-newline/index.js delete mode 100644 node_modules/stylelint/lib/rules/string-quotes/README.md delete mode 100644 node_modules/stylelint/lib/rules/string-quotes/index.js delete mode 100644 node_modules/stylelint/lib/rules/stylelint-disable-reason/README.md delete mode 100644 node_modules/stylelint/lib/rules/stylelint-disable-reason/index.js delete mode 100644 node_modules/stylelint/lib/rules/time-min-milliseconds/README.md delete mode 100644 node_modules/stylelint/lib/rules/time-min-milliseconds/index.js delete mode 100644 node_modules/stylelint/lib/rules/time-no-imperceptible/README.md delete mode 100644 node_modules/stylelint/lib/rules/time-no-imperceptible/index.js delete mode 100644 node_modules/stylelint/lib/rules/unit-blacklist/README.md delete mode 100644 node_modules/stylelint/lib/rules/unit-blacklist/index.js delete mode 100644 node_modules/stylelint/lib/rules/unit-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/unit-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/unit-no-unknown/README.md delete mode 100644 node_modules/stylelint/lib/rules/unit-no-unknown/index.js delete mode 100644 node_modules/stylelint/lib/rules/unit-whitelist/README.md delete mode 100644 node_modules/stylelint/lib/rules/unit-whitelist/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-keyword-case/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-keyword-case/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-newline-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-newline-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-newline-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-newline-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-space-after/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-space-after/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-space-before/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-list-comma-space-before/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-list-max-empty-lines/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-list-max-empty-lines/index.js delete mode 100644 node_modules/stylelint/lib/rules/value-no-vendor-prefix/README.md delete mode 100644 node_modules/stylelint/lib/rules/value-no-vendor-prefix/index.js delete mode 100644 node_modules/stylelint/lib/rules/valueListCommaWhitespaceChecker.js delete mode 100644 node_modules/stylelint/lib/standalone.js delete mode 100644 node_modules/stylelint/lib/testUtils/basicChecks.js delete mode 100644 node_modules/stylelint/lib/testUtils/createRuleTester.js delete mode 100644 node_modules/stylelint/lib/testUtils/mergeTestDescriptions.js delete mode 100644 node_modules/stylelint/lib/utils/FileCache.js delete mode 100644 node_modules/stylelint/lib/utils/addEmptyLineBefore.js delete mode 100644 node_modules/stylelint/lib/utils/atRuleParamIndex.js delete mode 100644 node_modules/stylelint/lib/utils/beforeBlockString.js delete mode 100644 node_modules/stylelint/lib/utils/blockString.js delete mode 100644 node_modules/stylelint/lib/utils/blurComments.js delete mode 100644 node_modules/stylelint/lib/utils/blurFunctionArguments.js delete mode 100644 node_modules/stylelint/lib/utils/blurInterpolation.js delete mode 100644 node_modules/stylelint/lib/utils/checkAgainstRule.js delete mode 100644 node_modules/stylelint/lib/utils/configurationError.js delete mode 100644 node_modules/stylelint/lib/utils/containsString.js delete mode 100644 node_modules/stylelint/lib/utils/declarationValueIndex.js delete mode 100644 node_modules/stylelint/lib/utils/findAnimationName.js delete mode 100644 node_modules/stylelint/lib/utils/findAtRuleContext.js delete mode 100644 node_modules/stylelint/lib/utils/findFontFamily.js delete mode 100644 node_modules/stylelint/lib/utils/findListStyleType.js delete mode 100644 node_modules/stylelint/lib/utils/functionArgumentsSearch.js delete mode 100644 node_modules/stylelint/lib/utils/getCacheFile.js delete mode 100644 node_modules/stylelint/lib/utils/getIsFileIgnored.js delete mode 100644 node_modules/stylelint/lib/utils/getModulePath.js delete mode 100644 node_modules/stylelint/lib/utils/getOsEol.js delete mode 100644 node_modules/stylelint/lib/utils/getSchemeFromUrl.js delete mode 100644 node_modules/stylelint/lib/utils/getUnitFromValueNode.js delete mode 100644 node_modules/stylelint/lib/utils/hasBlock.js delete mode 100644 node_modules/stylelint/lib/utils/hasEmptyBlock.js delete mode 100644 node_modules/stylelint/lib/utils/hasEmptyLine.js delete mode 100644 node_modules/stylelint/lib/utils/hasInterpolation.js delete mode 100644 node_modules/stylelint/lib/utils/hasLessInterpolation.js delete mode 100644 node_modules/stylelint/lib/utils/hasPsvInterpolation.js delete mode 100644 node_modules/stylelint/lib/utils/hasScssInterpolation.js delete mode 100644 node_modules/stylelint/lib/utils/hash.js delete mode 100644 node_modules/stylelint/lib/utils/isAutoprefixable.js delete mode 100644 node_modules/stylelint/lib/utils/isCounterIncrementCustomIdentValue.js delete mode 100644 node_modules/stylelint/lib/utils/isCounterResetCustomIdentValue.js delete mode 100644 node_modules/stylelint/lib/utils/isCustomElement.js delete mode 100644 node_modules/stylelint/lib/utils/isCustomMediaQuery.js delete mode 100644 node_modules/stylelint/lib/utils/isCustomProperty.js delete mode 100644 node_modules/stylelint/lib/utils/isCustomPropertySet.js delete mode 100644 node_modules/stylelint/lib/utils/isCustomSelector.js delete mode 100644 node_modules/stylelint/lib/utils/isKeyframeRule.js delete mode 100644 node_modules/stylelint/lib/utils/isKeyframeSelector.js delete mode 100644 node_modules/stylelint/lib/utils/isNumbery.js delete mode 100644 node_modules/stylelint/lib/utils/isOnlyWhitespace.js delete mode 100644 node_modules/stylelint/lib/utils/isRangeContextMediaFeature.js delete mode 100644 node_modules/stylelint/lib/utils/isSingleLineString.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxAtRule.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxFunction.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeature.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxMediaFeatureName.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxProperty.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxRule.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxSelector.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxTypeSelector.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxUrl.js delete mode 100644 node_modules/stylelint/lib/utils/isStandardSyntaxValue.js delete mode 100644 node_modules/stylelint/lib/utils/isValidFontSize.js delete mode 100644 node_modules/stylelint/lib/utils/isValidHex.js delete mode 100644 node_modules/stylelint/lib/utils/isVariable.js delete mode 100644 node_modules/stylelint/lib/utils/isWhitespace.js delete mode 100644 node_modules/stylelint/lib/utils/matchesStringOrRegExp.js delete mode 100644 node_modules/stylelint/lib/utils/nextNonCommentNode.js delete mode 100644 node_modules/stylelint/lib/utils/nodeContextLookup.js delete mode 100644 node_modules/stylelint/lib/utils/optionsMatches.js delete mode 100644 node_modules/stylelint/lib/utils/parseSelector.js delete mode 100644 node_modules/stylelint/lib/utils/rawNodeString.js delete mode 100644 node_modules/stylelint/lib/utils/removeEmptyLinesBefore.js delete mode 100644 node_modules/stylelint/lib/utils/report.js delete mode 100644 node_modules/stylelint/lib/utils/ruleMessages.js delete mode 100644 node_modules/stylelint/lib/utils/validateObjectWithStringArrayProps.js delete mode 100644 node_modules/stylelint/lib/utils/validateOptions.js delete mode 100644 node_modules/stylelint/lib/utils/whitespaceChecker.js delete mode 100644 node_modules/stylelint/node_modules/ansi-styles/index.js delete mode 100644 node_modules/stylelint/node_modules/ansi-styles/license delete mode 100644 node_modules/stylelint/node_modules/ansi-styles/package.json delete mode 100644 node_modules/stylelint/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/stylelint/node_modules/balanced-match/.npmignore delete mode 100644 node_modules/stylelint/node_modules/balanced-match/LICENSE.md delete mode 100644 node_modules/stylelint/node_modules/balanced-match/README.md delete mode 100644 node_modules/stylelint/node_modules/balanced-match/index.js delete mode 100644 node_modules/stylelint/node_modules/balanced-match/package.json delete mode 100644 node_modules/stylelint/node_modules/has-flag/index.js delete mode 100644 node_modules/stylelint/node_modules/has-flag/license delete mode 100644 node_modules/stylelint/node_modules/has-flag/package.json delete mode 100644 node_modules/stylelint/node_modules/has-flag/readme.md delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/CHANGELOG.md delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/LICENSE delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/README.md delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/nested-declaration.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-parse.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-parser.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-stringifier.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-stringify.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-syntax.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/lib/scss-tokenize.js delete mode 100644 node_modules/stylelint/node_modules/postcss-scss/package.json delete mode 100644 node_modules/stylelint/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/stylelint/node_modules/postcss/LICENSE delete mode 100644 node_modules/stylelint/node_modules/postcss/README.md delete mode 100644 node_modules/stylelint/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/stylelint/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/stylelint/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/stylelint/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/container.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/input.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/list.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/node.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/result.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/root.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/stylelint/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/index.js delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/license delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/package.json delete mode 100644 node_modules/stylelint/node_modules/postcss/node_modules/chalk/readme.md delete mode 100644 node_modules/stylelint/node_modules/postcss/package.json delete mode 100644 node_modules/stylelint/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/stylelint/node_modules/source-map/LICENSE delete mode 100644 node_modules/stylelint/node_modules/source-map/README.md delete mode 100644 node_modules/stylelint/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/stylelint/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/stylelint/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/stylelint/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/stylelint/node_modules/source-map/lib/util.js delete mode 100644 node_modules/stylelint/node_modules/source-map/package.json delete mode 100644 node_modules/stylelint/node_modules/source-map/source-map.js delete mode 100644 node_modules/stylelint/node_modules/supports-color/browser.js delete mode 100644 node_modules/stylelint/node_modules/supports-color/index.js delete mode 100644 node_modules/stylelint/node_modules/supports-color/license delete mode 100644 node_modules/stylelint/node_modules/supports-color/package.json delete mode 100644 node_modules/stylelint/node_modules/supports-color/readme.md delete mode 100644 node_modules/stylelint/package.json delete mode 100644 node_modules/sugarss/CHANGELOG.md delete mode 100644 node_modules/sugarss/LICENSE delete mode 100644 node_modules/sugarss/README.md delete mode 100644 node_modules/sugarss/index.js delete mode 100644 node_modules/sugarss/liner.js delete mode 100644 node_modules/sugarss/node_modules/ansi-styles/index.js delete mode 100644 node_modules/sugarss/node_modules/ansi-styles/license delete mode 100644 node_modules/sugarss/node_modules/ansi-styles/package.json delete mode 100644 node_modules/sugarss/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/sugarss/node_modules/chalk/index.js delete mode 100644 node_modules/sugarss/node_modules/chalk/license delete mode 100644 node_modules/sugarss/node_modules/chalk/node_modules/supports-color/index.js delete mode 100644 node_modules/sugarss/node_modules/chalk/node_modules/supports-color/license delete mode 100644 node_modules/sugarss/node_modules/chalk/node_modules/supports-color/package.json delete mode 100644 node_modules/sugarss/node_modules/chalk/node_modules/supports-color/readme.md delete mode 100644 node_modules/sugarss/node_modules/chalk/package.json delete mode 100644 node_modules/sugarss/node_modules/chalk/readme.md delete mode 100644 node_modules/sugarss/node_modules/has-flag/index.js delete mode 100644 node_modules/sugarss/node_modules/has-flag/license delete mode 100644 node_modules/sugarss/node_modules/has-flag/package.json delete mode 100644 node_modules/sugarss/node_modules/has-flag/readme.md delete mode 100644 node_modules/sugarss/node_modules/postcss/CHANGELOG.md delete mode 100644 node_modules/sugarss/node_modules/postcss/LICENSE delete mode 100644 node_modules/sugarss/node_modules/postcss/README.md delete mode 100644 node_modules/sugarss/node_modules/postcss/docs/guidelines/plugin.md delete mode 100644 node_modules/sugarss/node_modules/postcss/docs/guidelines/runner.md delete mode 100644 node_modules/sugarss/node_modules/postcss/docs/source-maps.md delete mode 100644 node_modules/sugarss/node_modules/postcss/docs/syntax.md delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/at-rule.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/comment.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/container.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/declaration.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/input.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/lazy-result.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/list.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/map-generator.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/node.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/parse.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/parser.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/postcss.d.ts delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/postcss.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/previous-map.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/processor.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/result.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/root.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/rule.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/stringifier.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/stringify.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/tokenize.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/vendor.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/warn-once.js delete mode 100644 node_modules/sugarss/node_modules/postcss/lib/warning.js delete mode 100644 node_modules/sugarss/node_modules/postcss/package.json delete mode 100644 node_modules/sugarss/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/sugarss/node_modules/source-map/LICENSE delete mode 100644 node_modules/sugarss/node_modules/source-map/README.md delete mode 100644 node_modules/sugarss/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/sugarss/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/sugarss/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/sugarss/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/sugarss/node_modules/source-map/lib/util.js delete mode 100644 node_modules/sugarss/node_modules/source-map/package.json delete mode 100644 node_modules/sugarss/node_modules/source-map/source-map.js delete mode 100644 node_modules/sugarss/node_modules/supports-color/browser.js delete mode 100644 node_modules/sugarss/node_modules/supports-color/index.js delete mode 100644 node_modules/sugarss/node_modules/supports-color/license delete mode 100644 node_modules/sugarss/node_modules/supports-color/package.json delete mode 100644 node_modules/sugarss/node_modules/supports-color/readme.md delete mode 100644 node_modules/sugarss/package.json delete mode 100644 node_modules/sugarss/parse.js delete mode 100644 node_modules/sugarss/parser.js delete mode 100644 node_modules/sugarss/preprocess.js delete mode 100644 node_modules/sugarss/stringifier.js delete mode 100644 node_modules/sugarss/stringify.js delete mode 100644 node_modules/sugarss/tokenize.js delete mode 100644 node_modules/supports-color/browser.js delete mode 100644 node_modules/supports-color/index.js delete mode 100644 node_modules/supports-color/license delete mode 100644 node_modules/supports-color/package.json delete mode 100644 node_modules/supports-color/readme.md delete mode 100644 node_modules/svg-tags/LICENSE delete mode 100644 node_modules/svg-tags/README.md delete mode 100644 node_modules/svg-tags/lib/index.js delete mode 100644 node_modules/svg-tags/lib/svg-tags.json delete mode 100644 node_modules/svg-tags/package.json delete mode 100644 node_modules/synesthesia/README.md delete mode 100644 node_modules/synesthesia/lib/channels.js delete mode 100644 node_modules/synesthesia/lib/index.js delete mode 100644 node_modules/synesthesia/lib/ranges.js delete mode 100644 node_modules/synesthesia/node_modules/css-color-names/Makefile delete mode 100644 node_modules/synesthesia/node_modules/css-color-names/README.md delete mode 100644 node_modules/synesthesia/node_modules/css-color-names/css-color-names.json delete mode 100755 node_modules/synesthesia/node_modules/css-color-names/getcolors.sh delete mode 100644 node_modules/synesthesia/node_modules/css-color-names/package.json delete mode 100755 node_modules/synesthesia/node_modules/css-color-names/stringify.js delete mode 100644 node_modules/synesthesia/package.json delete mode 100644 node_modules/table/LICENSE delete mode 100644 node_modules/table/README.md delete mode 100644 node_modules/table/dist/alignString.js delete mode 100644 node_modules/table/dist/alignTableData.js delete mode 100644 node_modules/table/dist/calculateCellHeight.js delete mode 100644 node_modules/table/dist/calculateCellWidthIndex.js delete mode 100644 node_modules/table/dist/calculateMaximumColumnWidthIndex.js delete mode 100644 node_modules/table/dist/calculateRowHeightIndex.js delete mode 100644 node_modules/table/dist/createStream.js delete mode 100644 node_modules/table/dist/drawBorder.js delete mode 100644 node_modules/table/dist/drawRow.js delete mode 100644 node_modules/table/dist/drawTable.js delete mode 100644 node_modules/table/dist/getBorderCharacters.js delete mode 100644 node_modules/table/dist/index.js delete mode 100644 node_modules/table/dist/makeConfig.js delete mode 100644 node_modules/table/dist/makeStreamConfig.js delete mode 100644 node_modules/table/dist/mapDataUsingRowHeightIndex.js delete mode 100644 node_modules/table/dist/padTableData.js delete mode 100644 node_modules/table/dist/schemas/config.json delete mode 100644 node_modules/table/dist/schemas/streamConfig.json delete mode 100644 node_modules/table/dist/stringifyTableData.js delete mode 100644 node_modules/table/dist/table.js delete mode 100644 node_modules/table/dist/truncateTableData.js delete mode 100644 node_modules/table/dist/validateConfig.js delete mode 100644 node_modules/table/dist/validateStreamConfig.js delete mode 100644 node_modules/table/dist/validateTableData.js delete mode 100644 node_modules/table/dist/wrapString.js delete mode 100644 node_modules/table/dist/wrapWord.js delete mode 100644 node_modules/table/package.json delete mode 100644 node_modules/text-table/.travis.yml delete mode 100644 node_modules/text-table/LICENSE delete mode 100644 node_modules/text-table/example/align.js delete mode 100644 node_modules/text-table/example/center.js delete mode 100644 node_modules/text-table/example/dotalign.js delete mode 100644 node_modules/text-table/example/doubledot.js delete mode 100644 node_modules/text-table/example/table.js delete mode 100644 node_modules/text-table/index.js delete mode 100644 node_modules/text-table/package.json delete mode 100644 node_modules/text-table/readme.markdown delete mode 100644 node_modules/through/.travis.yml delete mode 100644 node_modules/through/LICENSE.APACHE2 delete mode 100644 node_modules/through/LICENSE.MIT delete mode 100644 node_modules/through/index.js delete mode 100644 node_modules/through/package.json delete mode 100644 node_modules/through/readme.markdown delete mode 100644 node_modules/through2/.npmignore delete mode 100644 node_modules/through2/LICENSE delete mode 100644 node_modules/through2/README.md delete mode 100644 node_modules/through2/node_modules/readable-stream/.npmignore delete mode 100644 node_modules/through2/node_modules/readable-stream/LICENSE delete mode 100644 node_modules/through2/node_modules/readable-stream/README.md delete mode 100644 node_modules/through2/node_modules/readable-stream/duplex.js delete mode 100644 node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js delete mode 100644 node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js delete mode 100644 node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js delete mode 100644 node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js delete mode 100644 node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js delete mode 100644 node_modules/through2/node_modules/readable-stream/package.json delete mode 100644 node_modules/through2/node_modules/readable-stream/passthrough.js delete mode 100644 node_modules/through2/node_modules/readable-stream/readable.js delete mode 100644 node_modules/through2/node_modules/readable-stream/transform.js delete mode 100644 node_modules/through2/node_modules/readable-stream/writable.js delete mode 100644 node_modules/through2/package.json delete mode 100644 node_modules/through2/through2.js delete mode 100644 node_modules/trim-newlines/index.js delete mode 100644 node_modules/trim-newlines/license delete mode 100644 node_modules/trim-newlines/package.json delete mode 100644 node_modules/trim-newlines/readme.md delete mode 100644 node_modules/uniq/.npmignore delete mode 100644 node_modules/uniq/LICENSE delete mode 100644 node_modules/uniq/README.md delete mode 100644 node_modules/uniq/package.json delete mode 100644 node_modules/uniq/uniq.js delete mode 100644 node_modules/uri-js/README.md delete mode 100644 node_modules/uri-js/bower.json delete mode 100644 node_modules/uri-js/dist/es5/uri.all.d.ts delete mode 100644 node_modules/uri-js/dist/es5/uri.all.js delete mode 100644 node_modules/uri-js/dist/es5/uri.all.js.map delete mode 100644 node_modules/uri-js/dist/es5/uri.all.min.d.ts delete mode 100644 node_modules/uri-js/dist/es5/uri.all.min.js delete mode 100644 node_modules/uri-js/dist/es5/uri.all.min.js.map delete mode 100644 node_modules/uri-js/dist/esnext/index.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/index.js delete mode 100644 node_modules/uri-js/dist/esnext/index.js.map delete mode 100644 node_modules/uri-js/dist/esnext/regexps-iri.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/regexps-iri.js delete mode 100644 node_modules/uri-js/dist/esnext/regexps-iri.js.map delete mode 100644 node_modules/uri-js/dist/esnext/regexps-uri.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/regexps-uri.js delete mode 100644 node_modules/uri-js/dist/esnext/regexps-uri.js.map delete mode 100644 node_modules/uri-js/dist/esnext/schemes/http.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/schemes/http.js delete mode 100644 node_modules/uri-js/dist/esnext/schemes/http.js.map delete mode 100644 node_modules/uri-js/dist/esnext/schemes/https.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/schemes/https.js delete mode 100644 node_modules/uri-js/dist/esnext/schemes/https.js.map delete mode 100644 node_modules/uri-js/dist/esnext/schemes/mailto.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/schemes/mailto.js delete mode 100644 node_modules/uri-js/dist/esnext/schemes/mailto.js.map delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn-uuid.js delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn.js delete mode 100644 node_modules/uri-js/dist/esnext/schemes/urn.js.map delete mode 100644 node_modules/uri-js/dist/esnext/uri.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/uri.js delete mode 100644 node_modules/uri-js/dist/esnext/uri.js.map delete mode 100644 node_modules/uri-js/dist/esnext/util.d.ts delete mode 100644 node_modules/uri-js/dist/esnext/util.js delete mode 100644 node_modules/uri-js/dist/esnext/util.js.map delete mode 100644 node_modules/uri-js/package.json delete mode 100644 node_modules/uri-js/rollup.config.js delete mode 100644 node_modules/uri-js/src/index.ts delete mode 100644 node_modules/uri-js/src/punycode.d.ts delete mode 100644 node_modules/uri-js/src/regexps-iri.ts delete mode 100644 node_modules/uri-js/src/regexps-uri.ts delete mode 100644 node_modules/uri-js/src/schemes/http.ts delete mode 100644 node_modules/uri-js/src/schemes/https.ts delete mode 100644 node_modules/uri-js/src/schemes/mailto.ts delete mode 100644 node_modules/uri-js/src/schemes/urn-uuid.ts delete mode 100644 node_modules/uri-js/src/schemes/urn.ts delete mode 100644 node_modules/uri-js/src/uri.ts delete mode 100644 node_modules/uri-js/src/util.ts delete mode 100644 node_modules/uri-js/tests/qunit.css delete mode 100644 node_modules/uri-js/tests/qunit.js delete mode 100644 node_modules/uri-js/tests/test-es5-min.html delete mode 100644 node_modules/uri-js/tests/test-es5.html delete mode 100644 node_modules/uri-js/tests/tests.js delete mode 100644 node_modules/uri-js/tsconfig.json delete mode 100644 node_modules/uri-js/yarn.lock delete mode 100644 node_modules/validate-npm-package-license/LICENSE delete mode 100644 node_modules/validate-npm-package-license/README.md delete mode 100644 node_modules/validate-npm-package-license/index.js delete mode 100644 node_modules/validate-npm-package-license/package.json delete mode 100644 node_modules/window-size/LICENSE delete mode 100644 node_modules/window-size/README.md delete mode 100755 node_modules/window-size/cli.js delete mode 100644 node_modules/window-size/index.js delete mode 100644 node_modules/window-size/package.json delete mode 100755 node_modules/wrap-ansi/index.js delete mode 100644 node_modules/wrap-ansi/license delete mode 100644 node_modules/wrap-ansi/node_modules/string-width/index.js delete mode 100644 node_modules/wrap-ansi/node_modules/string-width/license delete mode 100644 node_modules/wrap-ansi/node_modules/string-width/package.json delete mode 100644 node_modules/wrap-ansi/node_modules/string-width/readme.md delete mode 100644 node_modules/wrap-ansi/package.json delete mode 100644 node_modules/wrap-ansi/readme.md delete mode 100644 node_modules/wrappy/LICENSE delete mode 100644 node_modules/wrappy/README.md delete mode 100644 node_modules/wrappy/package.json delete mode 100644 node_modules/wrappy/wrappy.js delete mode 100644 node_modules/write-file-stdout/.npmignore delete mode 100644 node_modules/write-file-stdout/History.md delete mode 100644 node_modules/write-file-stdout/Makefile delete mode 100644 node_modules/write-file-stdout/Readme.md delete mode 100644 node_modules/write-file-stdout/index.js delete mode 100644 node_modules/write-file-stdout/package.json delete mode 100644 node_modules/write/LICENSE delete mode 100644 node_modules/write/README.md delete mode 100644 node_modules/write/index.js delete mode 100644 node_modules/write/package.json delete mode 100644 node_modules/xtend/.jshintrc delete mode 100644 node_modules/xtend/.npmignore delete mode 100644 node_modules/xtend/LICENCE delete mode 100644 node_modules/xtend/Makefile delete mode 100644 node_modules/xtend/README.md delete mode 100644 node_modules/xtend/immutable.js delete mode 100644 node_modules/xtend/mutable.js delete mode 100644 node_modules/xtend/package.json delete mode 100644 node_modules/xtend/test.js delete mode 100644 node_modules/y18n/LICENSE delete mode 100644 node_modules/y18n/README.md delete mode 100644 node_modules/y18n/index.js delete mode 100644 node_modules/y18n/package.json delete mode 100644 node_modules/yargs/.npmignore delete mode 100644 node_modules/yargs/.travis.yml delete mode 100644 node_modules/yargs/LICENSE delete mode 100644 node_modules/yargs/README.md delete mode 100644 node_modules/yargs/example/bool.js delete mode 100644 node_modules/yargs/example/boolean_double.js delete mode 100644 node_modules/yargs/example/boolean_single.js delete mode 100644 node_modules/yargs/example/count.js delete mode 100644 node_modules/yargs/example/default_hash.js delete mode 100644 node_modules/yargs/example/default_singles.js delete mode 100644 node_modules/yargs/example/demand_count.js delete mode 100644 node_modules/yargs/example/divide.js delete mode 100644 node_modules/yargs/example/help.js delete mode 100644 node_modules/yargs/example/implies.js delete mode 100644 node_modules/yargs/example/implies_hash.js delete mode 100644 node_modules/yargs/example/line_count.js delete mode 100644 node_modules/yargs/example/line_count_options.js delete mode 100644 node_modules/yargs/example/line_count_wrap.js delete mode 100644 node_modules/yargs/example/nonopt.js delete mode 100644 node_modules/yargs/example/requires_arg.js delete mode 100644 node_modules/yargs/example/short.js delete mode 100644 node_modules/yargs/example/strict.js delete mode 100644 node_modules/yargs/example/string.js delete mode 100644 node_modules/yargs/example/usage-options.js delete mode 100644 node_modules/yargs/example/xup.js delete mode 100644 node_modules/yargs/index.js delete mode 100644 node_modules/yargs/lib/minimist.js delete mode 100644 node_modules/yargs/lib/wordwrap.js delete mode 100644 node_modules/yargs/package.json diff --git a/.gitignore b/.gitignore index 65e3ba2..624c53c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ test/ +node_modules diff --git a/node_modules/.bin/JSONStream b/node_modules/.bin/JSONStream deleted file mode 120000 index 4490737..0000000 --- a/node_modules/.bin/JSONStream +++ /dev/null @@ -1 +0,0 @@ -../JSONStream/index.js \ No newline at end of file diff --git a/node_modules/.bin/browserslist b/node_modules/.bin/browserslist deleted file mode 120000 index 3cd991b..0000000 --- a/node_modules/.bin/browserslist +++ /dev/null @@ -1 +0,0 @@ -../browserslist/cli.js \ No newline at end of file diff --git a/node_modules/.bin/colorguard b/node_modules/.bin/colorguard deleted file mode 120000 index 3d0fd4b..0000000 --- a/node_modules/.bin/colorguard +++ /dev/null @@ -1 +0,0 @@ -../colorguard/bin/colorguard \ No newline at end of file diff --git a/node_modules/.bin/css-rule-stream b/node_modules/.bin/css-rule-stream deleted file mode 120000 index 1f09542..0000000 --- a/node_modules/.bin/css-rule-stream +++ /dev/null @@ -1 +0,0 @@ -../css-rule-stream/index.js \ No newline at end of file diff --git a/node_modules/.bin/doiuse b/node_modules/.bin/doiuse deleted file mode 120000 index 6c0ddf9..0000000 --- a/node_modules/.bin/doiuse +++ /dev/null @@ -1 +0,0 @@ -../doiuse/cli.js \ No newline at end of file diff --git a/node_modules/.bin/editorconfig b/node_modules/.bin/editorconfig deleted file mode 120000 index a151e0b..0000000 --- a/node_modules/.bin/editorconfig +++ /dev/null @@ -1 +0,0 @@ -../editorconfig/bin/editorconfig \ No newline at end of file diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse deleted file mode 120000 index 7423b18..0000000 --- a/node_modules/.bin/esparse +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esparse.js \ No newline at end of file diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate deleted file mode 120000 index 16069ef..0000000 --- a/node_modules/.bin/esvalidate +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esvalidate.js \ No newline at end of file diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010..0000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.bin/jsonfilter b/node_modules/.bin/jsonfilter deleted file mode 120000 index 469854b..0000000 --- a/node_modules/.bin/jsonfilter +++ /dev/null @@ -1 +0,0 @@ -../jsonfilter/cli.js \ No newline at end of file diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp deleted file mode 120000 index 017896c..0000000 --- a/node_modules/.bin/mkdirp +++ /dev/null @@ -1 +0,0 @@ -../mkdirp/bin/cmd.js \ No newline at end of file diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf deleted file mode 120000 index 4cd49a4..0000000 --- a/node_modules/.bin/rimraf +++ /dev/null @@ -1 +0,0 @@ -../rimraf/bin.js \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 120000 index 317eb29..0000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver \ No newline at end of file diff --git a/node_modules/.bin/specificity b/node_modules/.bin/specificity deleted file mode 120000 index 5916de9..0000000 --- a/node_modules/.bin/specificity +++ /dev/null @@ -1 +0,0 @@ -../specificity/bin/specificity \ No newline at end of file diff --git a/node_modules/.bin/strip-indent b/node_modules/.bin/strip-indent deleted file mode 120000 index dddee7e..0000000 --- a/node_modules/.bin/strip-indent +++ /dev/null @@ -1 +0,0 @@ -../strip-indent/cli.js \ No newline at end of file diff --git a/node_modules/.bin/stylefmt b/node_modules/.bin/stylefmt deleted file mode 120000 index 3a2bafa..0000000 --- a/node_modules/.bin/stylefmt +++ /dev/null @@ -1 +0,0 @@ -../stylefmt/bin/cli.js \ No newline at end of file diff --git a/node_modules/.bin/stylehacks b/node_modules/.bin/stylehacks deleted file mode 120000 index 79dc8ab..0000000 --- a/node_modules/.bin/stylehacks +++ /dev/null @@ -1 +0,0 @@ -../stylehacks/dist/cli.js \ No newline at end of file diff --git a/node_modules/.bin/stylelint b/node_modules/.bin/stylelint deleted file mode 120000 index 15f569e..0000000 --- a/node_modules/.bin/stylelint +++ /dev/null @@ -1 +0,0 @@ -../stylelint/bin/stylelint.js \ No newline at end of file diff --git a/node_modules/.bin/window-size b/node_modules/.bin/window-size deleted file mode 120000 index e84c8ec..0000000 --- a/node_modules/.bin/window-size +++ /dev/null @@ -1 +0,0 @@ -../window-size/cli.js \ No newline at end of file diff --git a/node_modules/JSONStream/.npmignore b/node_modules/JSONStream/.npmignore deleted file mode 100644 index a9a9d58..0000000 --- a/node_modules/JSONStream/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/* -node_modules diff --git a/node_modules/JSONStream/.travis.yml b/node_modules/JSONStream/.travis.yml deleted file mode 100644 index cc4dba2..0000000 --- a/node_modules/JSONStream/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - "0.8" - - "0.10" diff --git a/node_modules/JSONStream/LICENSE.APACHE2 b/node_modules/JSONStream/LICENSE.APACHE2 deleted file mode 100644 index 6366c04..0000000 --- a/node_modules/JSONStream/LICENSE.APACHE2 +++ /dev/null @@ -1,15 +0,0 @@ -Apache License, Version 2.0 - -Copyright (c) 2011 Dominic Tarr - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/node_modules/JSONStream/LICENSE.MIT b/node_modules/JSONStream/LICENSE.MIT deleted file mode 100644 index 6eafbd7..0000000 --- a/node_modules/JSONStream/LICENSE.MIT +++ /dev/null @@ -1,24 +0,0 @@ -The MIT License - -Copyright (c) 2011 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/JSONStream/examples/all_docs.js b/node_modules/JSONStream/examples/all_docs.js deleted file mode 100644 index fa87fe5..0000000 --- a/node_modules/JSONStream/examples/all_docs.js +++ /dev/null @@ -1,13 +0,0 @@ -var request = require('request') - , JSONStream = require('JSONStream') - , es = require('event-stream') - -var parser = JSONStream.parse(['rows', true]) //emit parts that match this path (any element of the rows array) - , req = request({url: 'http://isaacs.couchone.com/registry/_all_docs'}) - , logger = es.mapSync(function (data) { //create a stream that logs to stderr, - console.error(data) - return data - }) - -req.pipe(parser) -parser.pipe(logger) diff --git a/node_modules/JSONStream/index.js b/node_modules/JSONStream/index.js deleted file mode 100755 index 4302c6b..0000000 --- a/node_modules/JSONStream/index.js +++ /dev/null @@ -1,192 +0,0 @@ -#! /usr/bin/env node - -var Parser = require('jsonparse') - , through = require('through') - -/* - - the value of this.stack that creationix's jsonparse has is weird. - - it makes this code ugly, but his problem is way harder that mine, - so i'll forgive him. - -*/ - -exports.parse = function (path, map) { - - var parser = new Parser() - var stream = through(function (chunk) { - if('string' === typeof chunk) - chunk = new Buffer(chunk) - parser.write(chunk) - }, - function (data) { - if(data) - stream.write(data) - stream.queue(null) - }) - - if('string' === typeof path) - path = path.split('.').map(function (e) { - if (e === '*') - return true - else if (e === '') // '..'.split('.') returns an empty string - return {recurse: true} - else - return e - }) - - - var count = 0, _key - if(!path || !path.length) - path = null - - parser.onValue = function () { - if (!this.root && this.stack.length == 1) - stream.root = this.value - - if(! path) return - - var i = 0 // iterates on path - var j = 0 // iterates on stack - while (i < path.length) { - var key = path[i] - var c - j++ - - if (key && !key.recurse) { - c = (j === this.stack.length) ? this : this.stack[j] - if (!c) return - if (! check(key, c.key)) return - i++ - } else { - i++ - var nextKey = path[i] - if (! nextKey) return - while (true) { - c = (j === this.stack.length) ? this : this.stack[j] - if (!c) return - if (check(nextKey, c.key)) { i++; break} - j++ - } - } - } - if (j !== this.stack.length) return - - count ++ - var data = this.value[this.key] - if(null != data) - if(null != (data = map ? map(data) : data)) - stream.queue(data) - delete this.value[this.key] - } - parser._onToken = parser.onToken; - - parser.onToken = function (token, value) { - parser._onToken(token, value); - if (this.stack.length === 0) { - if (stream.root) { - if(!path) - stream.queue(stream.root) - stream.emit('root', stream.root, count) - count = 0; - stream.root = null; - } - } - } - - parser.onError = function (err) { - stream.emit('error', err) - } - - - return stream -} - -function check (x, y) { - if ('string' === typeof x) - return y == x - else if (x && 'function' === typeof x.exec) - return x.exec(y) - else if ('boolean' === typeof x) - return x - else if ('function' === typeof x) - return x(y) - return false -} - -exports.stringify = function (op, sep, cl, indent) { - indent = indent || 0 - if (op === false){ - op = '' - sep = '\n' - cl = '' - } else if (op == null) { - - op = '[\n' - sep = '\n,\n' - cl = '\n]\n' - - } - - //else, what ever you like - - var stream - , first = true - , anyData = false - stream = through(function (data) { - anyData = true - var json = JSON.stringify(data, null, indent) - if(first) { first = false ; stream.queue(op + json)} - else stream.queue(sep + json) - }, - function (data) { - if(!anyData) - stream.queue(op) - stream.queue(cl) - stream.queue(null) - }) - - return stream -} - -exports.stringifyObject = function (op, sep, cl, indent) { - indent = indent || 0 - if (op === false){ - op = '' - sep = '\n' - cl = '' - } else if (op == null) { - - op = '{\n' - sep = '\n,\n' - cl = '\n}\n' - - } - - //else, what ever you like - - var first = true - , anyData = false - stream = through(function (data) { - anyData = true - var json = JSON.stringify(data[0]) + ':' + JSON.stringify(data[1], null, indent) - if(first) { first = false ; this.queue(op + json)} - else this.queue(sep + json) - }, - function (data) { - if(!anyData) this.queue(op) - this.queue(cl) - - this.queue(null) - }) - - return stream -} - -if(!module.parent && process.title !== 'browser') { - process.stdin - .pipe(exports.parse(process.argv[2])) - .pipe(exports.stringify('[', ',\n', ']\n', 2)) - .pipe(process.stdout) -} diff --git a/node_modules/JSONStream/package.json b/node_modules/JSONStream/package.json deleted file mode 100644 index b88cf3d..0000000 --- a/node_modules/JSONStream/package.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "JSONStream@^0.8.4", - "scope": null, - "escapedName": "JSONStream", - "name": "JSONStream", - "rawSpec": "^0.8.4", - "spec": ">=0.8.4 <0.9.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/jsonfilter" - ] - ], - "_from": "JSONStream@>=0.8.4 <0.9.0", - "_id": "JSONStream@0.8.4", - "_inCache": true, - "_location": "/JSONStream", - "_npmUser": { - "name": "dominictarr", - "email": "dominic.tarr@gmail.com" - }, - "_npmVersion": "1.4.9", - "_phantomChildren": {}, - "_requested": { - "raw": "JSONStream@^0.8.4", - "scope": null, - "escapedName": "JSONStream", - "name": "JSONStream", - "rawSpec": "^0.8.4", - "spec": ">=0.8.4 <0.9.0", - "type": "range" - }, - "_requiredBy": [ - "/jsonfilter" - ], - "_resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", - "_shasum": "91657dfe6ff857483066132b4618b62e8f4887bd", - "_shrinkwrap": null, - "_spec": "JSONStream@^0.8.4", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/jsonfilter", - "author": { - "name": "Dominic Tarr", - "email": "dominic.tarr@gmail.com", - "url": "http://bit.ly/dominictarr" - }, - "bin": { - "JSONStream": "./index.js" - }, - "bugs": { - "url": "https://github.com/dominictarr/JSONStream/issues" - }, - "dependencies": { - "jsonparse": "0.0.5", - "through": ">=2.2.7 <3" - }, - "description": "rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)", - "devDependencies": { - "assertions": "~2.2.2", - "event-stream": "~0.7.0", - "it-is": "~1", - "render": "~0.1.1", - "tape": "~2.12.3", - "trees": "~0.0.3" - }, - "directories": {}, - "dist": { - "shasum": "91657dfe6ff857483066132b4618b62e8f4887bd", - "tarball": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz" - }, - "engines": { - "node": "*" - }, - "homepage": "http://github.com/dominictarr/JSONStream", - "keywords": [ - "json", - "stream", - "streaming", - "parser", - "async", - "parsing" - ], - "maintainers": [ - { - "name": "dominictarr", - "email": "dominic.tarr@gmail.com" - } - ], - "name": "JSONStream", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/dominictarr/JSONStream.git" - }, - "scripts": { - "test": "set -e; for t in test/*.js; do echo '***' $t '***'; node $t; done" - }, - "version": "0.8.4" -} diff --git a/node_modules/JSONStream/readme.markdown b/node_modules/JSONStream/readme.markdown deleted file mode 100644 index ffc743a..0000000 --- a/node_modules/JSONStream/readme.markdown +++ /dev/null @@ -1,178 +0,0 @@ -# JSONStream - -streaming JSON.parse and stringify - - - -## example - -``` js - -var request = require('request') - , JSONStream = require('JSONStream') - , es = require('event-stream') - -request({url: 'http://isaacs.couchone.com/registry/_all_docs'}) - .pipe(JSONStream.parse('rows.*')) - .pipe(es.mapSync(function (data) { - console.error(data) - return data - })) -``` - -## JSONStream.parse(path) - -parse stream of values that match a path - -``` js - JSONStream.parse('rows.*.doc') -``` - -The `..` operator is the recursive descent operator from [JSONPath](http://goessner.net/articles/JsonPath/), which will match a child at any depth (see examples below). - -If your keys have keys that include `.` or `*` etc, use an array instead. -`['row', true, /^doc/]`. - -If you use an array, `RegExp`s, booleans, and/or functions. The `..` operator is also available in array representation, using `{recurse: true}`. -any object that matches the path will be emitted as 'data' (and `pipe`d down stream) - -If `path` is empty or null, no 'data' events are emitted. - -### Examples - -query a couchdb view: - -``` bash -curl -sS localhost:5984/tests/_all_docs&include_docs=true -``` -you will get something like this: - -``` js -{"total_rows":129,"offset":0,"rows":[ - { "id":"change1_0.6995461115147918" - , "key":"change1_0.6995461115147918" - , "value":{"rev":"1-e240bae28c7bb3667f02760f6398d508"} - , "doc":{ - "_id": "change1_0.6995461115147918" - , "_rev": "1-e240bae28c7bb3667f02760f6398d508","hello":1} - }, - { "id":"change2_0.6995461115147918" - , "key":"change2_0.6995461115147918" - , "value":{"rev":"1-13677d36b98c0c075145bb8975105153"} - , "doc":{ - "_id":"change2_0.6995461115147918" - , "_rev":"1-13677d36b98c0c075145bb8975105153" - , "hello":2 - } - }, -]} - -``` - -we are probably most interested in the `rows.*.docs` - -create a `Stream` that parses the documents from the feed like this: - -``` js -var stream = JSONStream.parse(['rows', true, 'doc']) //rows, ANYTHING, doc - -stream.on('data', function(data) { - console.log('received:', data); -}); - -stream.on('root', function(root, count) { - if (!count) { - console.log('no matches found:', root); - } -}); -``` -awesome! - -### recursive patterns (..) - -`JSONStream.parser('docs..value')` -(or `JSONStream.parser(['docs', {recurse: true}, 'value'])` using an array) -will emit every `value` object that is a child, grand-child, etc. of the -`docs` object. In this example, it will match exactly 5 times at various depth -levels, emitting 0, 1, 2, 3 and 4 as results. - -```js -{ - "total": 5, - "docs": [ - { - "key": { - "value": 0, - "some": "property" - } - }, - {"value": 1}, - {"value": 2}, - {"blbl": [{}, {"a":0, "b":1, "value":3}, 10]}, - {"value": 4} - ] -} -``` - -## JSONStream.parse(pattern, map) - -provide a function that can be used to map or filter -the json output. `map` is passed the value at that node of the pattern, -if `map` return non-nullish (anything but `null` or `undefined`) -that value will be emitted in the stream. If it returns a nullish value, -nothing will be emitted. - -## JSONStream.stringify(open, sep, close) - -Create a writable stream. - -you may pass in custom `open`, `close`, and `seperator` strings. -But, by default, `JSONStream.stringify()` will create an array, -(with default options `open='[\n', sep='\n,\n', close='\n]\n'`) - -If you call `JSONStream.stringify(false)` -the elements will only be seperated by a newline. - -If you only write one item this will be valid JSON. - -If you write many items, -you can use a `RegExp` to split it into valid chunks. - -## JSONStream.stringifyObject(open, sep, close) - -Very much like `JSONStream.stringify`, -but creates a writable stream for objects instead of arrays. - -Accordingly, `open='{\n', sep='\n,\n', close='\n}\n'`. - -When you `.write()` to the stream you must supply an array with `[ key, data ]` -as the first argument. - -## unix tool - -query npm to see all the modules that browserify has ever depended on. - -``` bash -curl https://registry.npmjs.org/browserify | JSONStream 'versions.*.dependencies' -``` - -## numbers - -There are occasional problems parsing and unparsing very precise numbers. - -I have opened an issue here: - -https://github.com/creationix/jsonparse/issues/2 - -+1 - -## Acknowlegements - -this module depends on https://github.com/creationix/jsonparse -by Tim Caswell -and also thanks to Florent Jaby for teaching me about parsing with: -https://github.com/Floby/node-json-streams - -## license - -MIT / APACHE2 diff --git a/node_modules/ajv-keywords/LICENSE b/node_modules/ajv-keywords/LICENSE deleted file mode 100644 index 90139aa..0000000 --- a/node_modules/ajv-keywords/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/ajv-keywords/README.md b/node_modules/ajv-keywords/README.md deleted file mode 100644 index 6b630be..0000000 --- a/node_modules/ajv-keywords/README.md +++ /dev/null @@ -1,683 +0,0 @@ -# ajv-keywords - -Custom JSON-Schema keywords for [Ajv](https://github.com/epoberezkin/ajv) validator - -[![Build Status](https://travis-ci.org/epoberezkin/ajv-keywords.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv-keywords) -[![npm](https://img.shields.io/npm/v/ajv-keywords.svg)](https://www.npmjs.com/package/ajv-keywords) -[![npm downloads](https://img.shields.io/npm/dm/ajv-keywords.svg)](https://www.npmjs.com/package/ajv-keywords) -[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/ajv-keywords/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/ajv-keywords?branch=master) -[![Greenkeeper badge](https://badges.greenkeeper.io/epoberezkin/ajv-keywords.svg)](https://greenkeeper.io/) -[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv) - - -## Contents - -- [Install](#install) -- [Usage](#usage) -- [Keywords](#keywords) - - [typeof](#typeof) - - [instanceof](#instanceof) - - [range and exclusiveRange](#range-and-exclusiverange) - - [switch](#switch) - - [select/selectCases/selectDefault](#selectselectcasesselectdefault) (BETA) - - [patternRequired](#patternrequired) - - [prohibited](#prohibited) - - [deepProperties](#deepproperties) - - [deepRequired](#deeprequired) - - [uniqueItemProperties](#uniqueitemproperties) - - [regexp](#regexp) - - [formatMaximum / formatMinimum and formatExclusiveMaximum / formatExclusiveMinimum](#formatmaximum--formatminimum-and-formatexclusivemaximum--formatexclusiveminimum) - - [dynamicDefaults](#dynamicdefaults) - - [transform](#transform) -- [License](#license) - - -## Install - -``` -npm install ajv-keywords -``` - - -## Usage - -To add all available keywords: - -```javascript -var Ajv = require('ajv'); -var ajv = new Ajv; -require('ajv-keywords')(ajv); - -ajv.validate({ instanceof: 'RegExp' }, /.*/); // true -ajv.validate({ instanceof: 'RegExp' }, '.*'); // false -``` - -To add a single keyword: - -```javascript -require('ajv-keywords')(ajv, 'instanceof'); -``` - -To add multiple keywords: - -```javascript -require('ajv-keywords')(ajv, ['typeof', 'instanceof']); -``` - -To add a single keyword in browser (to avoid adding unused code): - -```javascript -require('ajv-keywords/keywords/instanceof')(ajv); -``` - - -## Keywords - -### `typeof` - -Based on JavaScript `typeof` operation. - -The value of the keyword should be a string (`"undefined"`, `"string"`, `"number"`, `"object"`, `"function"`, `"boolean"` or `"symbol"`) or array of strings. - -To pass validation the result of `typeof` operation on the value should be equal to the string (or one of the strings in the array). - -``` -ajv.validate({ typeof: 'undefined' }, undefined); // true -ajv.validate({ typeof: 'undefined' }, null); // false -ajv.validate({ typeof: ['undefined', 'object'] }, null); // true -``` - - -### `instanceof` - -Based on JavaScript `instanceof` operation. - -The value of the keyword should be a string (`"Object"`, `"Array"`, `"Function"`, `"Number"`, `"String"`, `"Date"`, `"RegExp"`, `"Promise"` or `"Buffer"`) or array of strings. - -To pass validation the result of `data instanceof ...` operation on the value should be true: - -``` -ajv.validate({ instanceof: 'Array' }, []); // true -ajv.validate({ instanceof: 'Array' }, {}); // false -ajv.validate({ instanceof: ['Array', 'Function'] }, function(){}); // true -``` - -You can add your own constructor function to be recognised by this keyword: - -```javascript -function MyClass() {} -var instanceofDefinition = require('ajv-keywords').get('instanceof').definition; -// or require('ajv-keywords/keywords/instanceof').definition; -instanceofDefinition.CONSTRUCTORS.MyClass = MyClass; - -ajv.validate({ instanceof: 'MyClass' }, new MyClass); // true -``` - - -### `range` and `exclusiveRange` - -Syntax sugar for the combination of minimum and maximum keywords, also fails schema compilation if there are no numbers in the range. - -The value of this keyword must be the array consisting of two numbers, the second must be greater or equal than the first one. - -If the validated value is not a number the validation passes, otherwise to pass validation the value should be greater (or equal) than the first number and smaller (or equal) than the second number in the array. If `exclusiveRange` keyword is present in the same schema and its value is true, the validated value must not be equal to the range boundaries. - -```javascript -var schema = { range: [1, 3] }; -ajv.validate(schema, 1); // true -ajv.validate(schema, 2); // true -ajv.validate(schema, 3); // true -ajv.validate(schema, 0.99); // false -ajv.validate(schema, 3.01); // false - -var schema = { range: [1, 3], exclusiveRange: true }; -ajv.validate(schema, 1.01); // true -ajv.validate(schema, 2); // true -ajv.validate(schema, 2.99); // true -ajv.validate(schema, 1); // false -ajv.validate(schema, 3); // false -``` - - -### `switch` - -This keyword allows to perform advanced conditional validation. - -The value of the keyword is the array of if/then clauses. Each clause is the object with the following properties: - -- `if` (optional) - the value is JSON-schema -- `then` (required) - the value is JSON-schema or boolean -- `continue` (optional) - the value is boolean - -The validation process is dynamic; all clauses are executed sequentially in the following way: - -1. `if`: - 1. `if` property is JSON-schema according to which the data is: - 1. valid => go to step 2. - 2. invalid => go to the NEXT clause, if this was the last clause the validation of `switch` SUCCEEDS. - 2. `if` property is absent => go to step 2. -2. `then`: - 1. `then` property is `true` or it is JSON-schema according to which the data is valid => go to step 3. - 2. `then` property is `false` or it is JSON-schema according to which the data is invalid => the validation of `switch` FAILS. -3. `continue`: - 1. `continue` property is `true` => go to the NEXT clause, if this was the last clause the validation of `switch` SUCCEEDS. - 2. `continue` property is `false` or absent => validation of `switch` SUCCEEDS. - -```javascript -require('ajv-keywords')(ajv, 'switch'); - -var schema = { - type: 'array', - items: { - type: 'integer', - 'switch': [ - { if: { not: { minimum: 1 } }, then: false }, - { if: { maximum: 10 }, then: true }, - { if: { maximum: 100 }, then: { multipleOf: 10 } }, - { if: { maximum: 1000 }, then: { multipleOf: 100 } }, - { then: false } - ] - } -}; - -var validItems = [1, 5, 10, 20, 50, 100, 200, 500, 1000]; - -var invalidItems = [1, 0, 2000, 11, 57, 123, 'foo']; -``` - -__Please note__: this keyword is moved here from Ajv, mainly to preserve backward compatibility. It is unlikely to become a standard. It's preferable to use `if`/`then`/`else` keywords if possible, as they are likely to be added to the standard. The above schema is equivalent to (for example): - -```javascript -{ - type: 'array', - items: { - type: 'integer', - if: { minimum: 1, maximum: 10 }, - then: true, - else: { - if: { maximum: 100 }, - then: { multipleOf: 10 }, - else: { - if: { maximum: 1000 }, - then: { multipleOf: 100 }, - else: false - } - } - } -} -``` - - -### `select`/`selectCases`/`selectDefault` - -These keywords allow to choose the schema to validate the data based on the value of some property in the validated data. - -These keywords must be present in the same schema object (`selectDefault` is optional). - -The value of `select` keyword should be a [$data reference](https://github.com/epoberezkin/ajv/tree/5.0.2-beta.0#data-reference) that points to any primitive JSON type (string, number, boolean or null) in the data that is validated. You can also use a constant of primitive type as the value of this keyword (e.g., for debugging purposes). - -The value of `selectCases` keyword must be an object where each property name is a possible string representation of the value of `select` keyword and each property value is a corresponding schema (from draft-06 it can be boolean) that must be used to validate the data. - -The value of `selectDefault` keyword is a schema (from draft-06 it can be boolean) that must be used to validate the data in case `selectCases` has no key equal to the stringified value of `select` keyword. - -The validation succeeds in one of the following cases: -- the validation of data using selected schema succeeds, -- none of the schemas is selected for validation, -- the value of select is undefined (no property in the data that the data reference points to). - -If `select` value (in data) is not a primitive type the validation fails. - -__Please note__: these keywords require Ajv `$data` option to support [$data reference](https://github.com/epoberezkin/ajv/tree/5.0.2-beta.0#data-reference). - - -```javascript -require('ajv-keywords')(ajv, 'select'); - -var schema = { - type: object, - required: ['kind'], - properties: { - kind: { type: 'string' } - }, - select: { $data: '0/kind' }, - selectCases: { - foo: { - required: ['foo'], - properties: { - kind: {}, - foo: { type: 'string' } - }, - additionalProperties: false - }, - bar: { - required: ['bar'], - properties: { - kind: {}, - bar: { type: 'number' } - }, - additionalProperties: false - } - }, - selectDefault: { - propertyNames: { - not: { enum: ['foo', 'bar'] } - } - } -}; - -var validDataList = [ - { kind: 'foo', foo: 'any' }, - { kind: 'bar', bar: 1 }, - { kind: 'anything_else', not_bar_or_foo: 'any value' } -]; - -var invalidDataList = [ - { kind: 'foo' }, // no propery foo - { kind: 'bar' }, // no propery bar - { kind: 'foo', foo: 'any', another: 'any value' }, // additional property - { kind: 'bar', bar: 1, another: 'any value' }, // additional property - { kind: 'anything_else', foo: 'any' } // property foo not allowed - { kind: 'anything_else', bar: 1 } // property bar not allowed -]; -``` - -__Please note__: the current implementation is BETA. It does not allow using relative URIs in $ref keywords in schemas in `selectCases` and `selectDefault` that point outside of these schemas. The workaround is to use absolute URIs (that can point to any (sub-)schema added to Ajv, including those inside the current root schema where `select` is used). See [tests](https://github.com/epoberezkin/ajv-keywords/blob/v2.0.0/spec/tests/select.json#L314). - - -### `patternRequired` - -This keyword allows to require the presence of properties that match some pattern(s). - -This keyword applies only to objects. If the data is not an object, the validation succeeds. - -The value of this keyword should be an array of strings, each string being a regular expression. For data object to be valid each regular expression in this array should match at least one property name in the data object. - -If the array contains multiple regular expressions, more than one expression can match the same property name. - -```javascript -var schema = { patternRequired: [ 'f.*o', 'b.*r' ] }; - -var validData = { foo: 1, bar: 2 }; -var alsoValidData = { foobar: 3 }; - -var invalidDataList = [ {}, { foo: 1 }, { bar: 2 } ]; -``` - - -### `prohibited` - -This keyword allows to prohibit that any of the properties in the list is present in the object. - -This keyword applies only to objects. If the data is not an object, the validation succeeds. - -The value of this keyword should be an array of strings, each string being a property name. For data object to be valid none of the properties in this array should be present in the object. - -``` -var schema = { prohibited: ['foo', 'bar']}; - -var validData = { baz: 1 }; -var alsoValidData = {}; - -var invalidDataList = [ - { foo: 1 }, - { bar: 2 }, - { foo: 1, bar: 2} -]; -``` - - -### `deepProperties` - -This keyword allows to validate deep properties (identified by JSON pointers). - -This keyword applies only to objects. If the data is not an object, the validation succeeds. - -The value should be an object, where keys are JSON pointers to the data, starting from the current position in data, and the values are JSON schemas. For data object to be valid the value of each JSON pointer should be valid according to the corresponding schema. - -```javascript -var schema = { - type: 'object', - deepProperties: { - "/users/1/role": { "enum": ["admin"] } - } -}; - -var validData = { - users: [ - {}, - { - id: 123, - role: 'admin' - } - ] -}; - -var alsoValidData = { - users: { - "1": { - id: 123, - role: 'admin' - } - } -}; - -var invalidData = { - users: [ - {}, - { - id: 123, - role: 'user' - } - ] -}; - -var alsoInvalidData = { - users: { - "1": { - id: 123, - role: 'user' - } - } -}; -``` - - -### `deepRequired` - -This keyword allows to check that some deep properties (identified by JSON pointers) are available. - -This keyword applies only to objects. If the data is not an object, the validation succeeds. - -The value should be an array of JSON pointers to the data, starting from the current position in data. For data object to be valid each JSON pointer should be some existing part of the data. - -```javascript -var schema = { - type: 'object', - deepRequired: ["/users/1/role"] -}; - -var validData = { - users: [ - {}, - { - id: 123, - role: 'admin' - } - ] -}; - -var invalidData = { - users: [ - {}, - { - id: 123 - } - ] -}; -``` - -See [json-schema-org/json-schema-spec#203](https://github.com/json-schema-org/json-schema-spec/issues/203#issue-197211916) for an example of the equivalent schema without `deepRequired` keyword. - - -### `uniqueItemProperties` - -The keyword allows to check that some properties in array items are unique. - -This keyword applies only to arrays. If the data is not an array, the validation succeeds. - -The value of this keyword must be an array of strings - property names that should have unique values across all items. - -```javascript -var schema = { uniqueItemProperties: [ "id", "name" ] }; - -var validData = [ - { id: 1 }, - { id: 2 }, - { id: 3 } -]; - -var invalidData1 = [ - { id: 1 }, - { id: 1 }, - { id: 3 } -]; - -var invalidData2 = [ - { id: 1, name: "taco" }, - { id: 2, name: "taco" }, // duplicate "name" - { id: 3, name: "salsa" } -]; -``` - -This keyword is contributed by [@blainesch](https://github.com/blainesch). - - -### `regexp` - -This keyword allows to use regular expressions with flags in schemas (the standard `pattern` keyword does not support flags). - -This keyword applies only to strings. If the data is not a string, the validation succeeds. - -The value of this keyword can be either a string (the result of `regexp.toString()`) or an object with the properties `pattern` and `flags` (the same strings that should be passed to RegExp constructor). - -```javascript -var schema = { - type: 'object', - properties: { - foo: { regexp: '/foo/i' }, - bar: { regexp: { pattern: 'bar', flags: 'i' } } - } -}; - -var validData = { - foo: 'Food', - bar: 'Barmen' -}; - -var invalidData = { - foo: 'fog', - bar: 'bad' -}; -``` - - -### `formatMaximum` / `formatMinimum` and `formatExclusiveMaximum` / `formatExclusiveMinimum` - -These keywords allow to define minimum/maximum constraints when the format keyword defines ordering. - -These keywords apply only to strings. If the data is not a string, the validation succeeds. - -The value of keyword `formatMaximum` (`formatMinimum`) should be a string. This value is the maximum (minimum) allowed value for the data to be valid as determined by `format` keyword. - -When this keyword is added, it defines comparison rules for formats `"date"`, `"time"` and `"date-time". Custom formats also can have comparison rules. See [addFormat](https://github.com/epoberezkin/ajv#api-addformat) method. - -The value of keyword `formatExclusiveMaximum` (`formatExclusiveMinimum`) should be a boolean value. These keyword cannot be used without `formatMaximum` (`formatMinimum`). If this keyword value is equal to `true`, the data to be valid should not be equal to the value in `formatMaximum` (`formatMinimum`) keyword. - -```javascript -require('ajv-keywords')(ajv, ['formatMinimum', 'formatMaximum']); - -var schema = { - format: 'date', - formatMinimum: '2016-02-06', - formatMaximum: '2016-12-27', - formatExclusiveMaximum: true -} - -var validDataList = ['2016-02-06', '2016-12-26', 1]; - -var invalidDataList = ['2016-02-05', '2016-12-27', 'abc']; -``` - - -### `dynamicDefaults` - -This keyword allows to assign dynamic defaults to properties, such as timestamps, unique IDs etc. - -This keyword only works if `useDefaults` options is used and not inside `anyOf` keywrods etc., in the same way as [default keyword treated by Ajv](https://github.com/epoberezkin/ajv#assigning-defaults). - -The keyword should be added on the object level. Its value should be an object with each property corresponding to a property name, in the same way as in standard `properties` keyword. The value of each property can be: - -- an identifier of default function (a string) -- an object with properties `func` (an identifier) and `args` (an object with parameters that will be passed to this function during schema compilation - see examples). - -The properties used in `dynamicDefaults` should not be added to `required` keyword (or validation will fail), because unlike `default` this keyword is processed after validation. - -There are several predefined dynamic default functions: - -- `"timestamp"` - current timestamp in milliseconds -- `"datetime"` - current date and time as string (ISO, valid according to `date-time` format) -- `"date"` - current date as string (ISO, valid according to `date` format) -- `"time"` - current time as string (ISO, valid according to `time` format) -- `"random"` - pseudo-random number in [0, 1) interval -- `"randomint"` - pseudo-random integer number. If string is used as a property value, the function will randomly return 0 or 1. If object `{func: 'randomint', max: N}` is used then the default will be an integer number in [0, N) interval. -- `"seq"` - sequential integer number starting from 0. If string is used as a property value, the default sequence will be used. If object `{func: 'seq', name: 'foo'}` is used then the sequence with name `"foo"` will be used. Sequences are global, even if different ajv instances are used. - -```javascript -var schema = { - type: 'object', - dynamicDefaults: { - ts: 'datetime', - r: { func: 'randomint', max: 100 }, - id: { func: 'seq', name: 'id' } - }, - properties: { - ts: { - type: 'string', - format: 'datetime' - }, - r: { - type: 'integer', - minimum: 0, - maximum: 100, - exclusiveMaximum: true - }, - id: { - type: 'integer', - minimum: 0 - } - } -}; - -var data = {}; -ajv.validate(data); // true -data; // { ts: '2016-12-01T22:07:28.829Z', r: 25, id: 0 } - -var data1 = {}; -ajv.validate(data1); // true -data1; // { ts: '2016-12-01T22:07:29.832Z', r: 68, id: 1 } - -ajv.validate(data1); // true -data1; // didn't change, as all properties were defined -``` - -You can add your own dynamic default function to be recognised by this keyword: - -```javascript -var uuid = require('uuid'); - -function uuidV4() { return uuid.v4(); } - -var definition = require('ajv-keywords').get('dynamicDefaults').definition; -// or require('ajv-keywords/keywords/dynamicDefaults').definition; -definition.DEFAULTS.uuid = uuidV4; - -var schema = { - dynamicDefaults: { id: 'uuid' }, - properties: { id: { type: 'string', format: 'uuid' } } -}; - -var data = {}; -ajv.validate(schema, data); // true -data; // { id: 'a1183fbe-697b-4030-9bcc-cfeb282a9150' }; - -var data1 = {}; -ajv.validate(schema, data1); // true -data1; // { id: '5b008de7-1669-467a-a5c6-70fa244d7209' } -``` - -You also can define dynamic default that accepts parameters, e.g. version of uuid: - -```javascript -var uuid = require('uuid'); - -function getUuid(args) { - var version = 'v' + (arvs && args.v || 4); - return function() { - return uuid[version](); - }; -} - -var definition = require('ajv-keywords').get('dynamicDefaults').definition; -definition.DEFAULTS.uuid = getUuid; - -var schema = { - dynamicDefaults: { - id1: 'uuid', // v4 - id2: { func: 'uuid', v: 4 }, // v4 - id3: { func: 'uuid', v: 1 } // v1 - } -}; -``` - -### `transform` - -This keyword allows a string to be modified before validation. - -These keywords apply only to strings. If the data is not a string, the transform is skipped. - -There are limitation due to how ajv is written: -- a stand alone string cannot be transformed. ie `data = 'a'; ajv.validate(schema, data);` -- currently cannot work with `ajv-pack` - -**Supported options:** -- `trim`: remove whitespace from start and end -- `trimLeft`: remove whitespace from start -- `trimRight`: remove whitespace from end -- `toLowerCase`: case string to all lower case -- `toUpperCase`: case string to all upper case -- `toEnumCase`: case string to match case in schema - -Options are applied in the order they are listed. - -Note: `toEnumCase` requires that all allowed values are unique when case insensitive. - -**Example: multiple options** -```javascript -require('ajv-keywords')(ajv, ['transform']); - -var schema = { - type: 'array', - items: { - type:'string', - transform:['trim','lowercase'] - } -}; - -var data = [' MixCase ']; -avj.validate(schema, data); -console.log(data); // ['mixcase'] - -``` - -**Example: `enumcase`** -```javascript -require('ajv-keywords')(ajv, ['transform']); - -var schema = { - type: 'array', - items: { - type:'string', - transform:['trim','enumcase'], - enum:['pH'] - } -}; - -var data = ['ph',' Ph','PH','pH ']; -avj.validate(schema, data); -console.log(data); // ['pH','pH','pH','pH'] -``` - - -## License - -[MIT](https://github.com/epoberezkin/ajv-keywords/blob/master/LICENSE) diff --git a/node_modules/ajv-keywords/index.js b/node_modules/ajv-keywords/index.js deleted file mode 100644 index 07a8eda..0000000 --- a/node_modules/ajv-keywords/index.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -var KEYWORDS = require('./keywords'); - -module.exports = defineKeywords; - - -/** - * Defines one or several keywords in ajv instance - * @param {Ajv} ajv validator instance - * @param {String|Array|undefined} keyword keyword(s) to define - * @return {Ajv} ajv instance (for chaining) - */ -function defineKeywords(ajv, keyword) { - if (Array.isArray(keyword)) { - for (var i=0; i d2) return 1; - if (d1 < d2) return -1; - if (d1 === d2) return 0; -} - - -function compareTime(t1, t2) { - if (!(t1 && t2)) return; - t1 = t1.match(TIME); - t2 = t2.match(TIME); - if (!(t1 && t2)) return; - t1 = t1[1] + t1[2] + t1[3] + (t1[4]||''); - t2 = t2[1] + t2[2] + t2[3] + (t2[4]||''); - if (t1 > t2) return 1; - if (t1 < t2) return -1; - if (t1 === t2) return 0; -} - - -function compareDateTime(dt1, dt2) { - if (!(dt1 && dt2)) return; - dt1 = dt1.split(DATE_TIME_SEPARATOR); - dt2 = dt2.split(DATE_TIME_SEPARATOR); - var res = compareDate(dt1[0], dt2[0]); - if (res === undefined) return; - return res || compareTime(dt1[1], dt2[1]); -} diff --git a/node_modules/ajv-keywords/keywords/_util.js b/node_modules/ajv-keywords/keywords/_util.js deleted file mode 100644 index eebd07a..0000000 --- a/node_modules/ajv-keywords/keywords/_util.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -module.exports = { - metaSchemaRef: metaSchemaRef -}; - -var META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema'; - -function metaSchemaRef(ajv) { - var defaultMeta = ajv._opts.defaultMeta; - if (typeof defaultMeta == 'string') return { $ref: defaultMeta }; - if (ajv.getSchema(META_SCHEMA_ID)) return { $ref: META_SCHEMA_ID }; - console.warn('meta schema not defined'); - return {}; -} diff --git a/node_modules/ajv-keywords/keywords/deepProperties.js b/node_modules/ajv-keywords/keywords/deepProperties.js deleted file mode 100644 index 3dac5fb..0000000 --- a/node_modules/ajv-keywords/keywords/deepProperties.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var util = require('./_util'); - -module.exports = function defFunc(ajv) { - defFunc.definition = { - type: 'object', - macro: function (schema) { - var schemas = []; - for (var pointer in schema) - schemas.push(getSchema(pointer, schema[pointer])); - return { 'allOf': schemas }; - }, - metaSchema: { - type: 'object', - propertyNames: { - type: 'string', - format: 'json-pointer' - }, - additionalProperties: util.metaSchemaRef(ajv) - } - }; - - ajv.addKeyword('deepProperties', defFunc.definition); - return ajv; -}; - - -function getSchema(jsonPointer, schema) { - var segments = jsonPointer.split('/'); - var rootSchema = {}; - var pointerSchema = rootSchema; - for (var i=1; i' - , $result = 'result' + $lvl; -}} - -{{# def.$data }} - - -{{? $isDataExcl }} - {{ - var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr) - , $exclusive = 'exclusive' + $lvl - , $opExpr = 'op' + $lvl - , $opStr = '\' + ' + $opExpr + ' + \''; - }} - var schemaExcl{{=$lvl}} = {{=$schemaValueExcl}}; - {{ $schemaValueExcl = 'schemaExcl' + $lvl; }} - - if (typeof {{=$schemaValueExcl}} != 'boolean' && {{=$schemaValueExcl}} !== undefined) { - {{=$valid}} = false; - {{ var $errorKeyword = $exclusiveKeyword; }} - {{# def.error:'_formatExclusiveLimit' }} - } - - {{# def.elseIfValid }} - - {{# def.compareFormat }} - var {{=$exclusive}} = {{=$schemaValueExcl}} === true; - - if ({{=$valid}} === undefined) { - {{=$valid}} = {{=$exclusive}} - ? {{=$result}} {{=$op}} 0 - : {{=$result}} {{=$op}}= 0; - } - - if (!{{=$valid}}) var op{{=$lvl}} = {{=$exclusive}} ? '{{=$op}}' : '{{=$op}}='; -{{??}} - {{ - var $exclusive = $schemaExcl === true - , $opStr = $op; /*used in error*/ - if (!$exclusive) $opStr += '='; - var $opExpr = '\'' + $opStr + '\''; /*used in error*/ - }} - - {{# def.compareFormat }} - - if ({{=$valid}} === undefined) - {{=$valid}} = {{=$result}} {{=$op}}{{?!$exclusive}}={{?}} 0; -{{?}} - -{{= $closingBraces }} - -if (!{{=$valid}}) { - {{ var $errorKeyword = $keyword; }} - {{# def.error:'_formatLimit' }} -} diff --git a/node_modules/ajv-keywords/keywords/dot/patternRequired.jst b/node_modules/ajv-keywords/keywords/dot/patternRequired.jst deleted file mode 100644 index 6f82f62..0000000 --- a/node_modules/ajv-keywords/keywords/dot/patternRequired.jst +++ /dev/null @@ -1,33 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} - -{{ - var $key = 'key' + $lvl - , $idx = 'idx' + $lvl - , $matched = 'patternMatched' + $lvl - , $dataProperties = 'dataProperties' + $lvl - , $closingBraces = '' - , $ownProperties = it.opts.ownProperties; -}} - -var {{=$valid}} = true; -{{? $ownProperties }} - var {{=$dataProperties}} = undefined; -{{?}} - -{{~ $schema:$pProperty }} - var {{=$matched}} = false; - {{# def.iterateProperties }} - {{=$matched}} = {{= it.usePattern($pProperty) }}.test({{=$key}}); - if ({{=$matched}}) break; - } - - {{ var $missingPattern = it.util.escapeQuotes($pProperty); }} - if (!{{=$matched}}) { - {{=$valid}} = false; - {{# def.addError:'patternRequired' }} - } {{# def.elseIfValid }} -{{~}} - -{{= $closingBraces }} diff --git a/node_modules/ajv-keywords/keywords/dot/switch.jst b/node_modules/ajv-keywords/keywords/dot/switch.jst deleted file mode 100644 index 389678e..0000000 --- a/node_modules/ajv-keywords/keywords/dot/switch.jst +++ /dev/null @@ -1,73 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - - -{{## def.validateIf: - {{# def.setCompositeRule }} - {{ $it.createErrors = false; }} - {{# def._validateSwitchRule:if }} - {{ $it.createErrors = true; }} - {{# def.resetCompositeRule }} - {{=$ifPassed}} = {{=$nextValid}}; -#}} - -{{## def.validateThen: - {{? typeof $sch.then == 'boolean' }} - {{? $sch.then === false }} - {{# def.error:'switch' }} - {{?}} - var {{=$nextValid}} = {{= $sch.then }}; - {{??}} - {{# def._validateSwitchRule:then }} - {{?}} -#}} - -{{## def._validateSwitchRule:_clause: - {{ - $it.schema = $sch._clause; - $it.schemaPath = $schemaPath + '[' + $caseIndex + ']._clause'; - $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/_clause'; - }} - {{# def.insertSubschemaCode }} -#}} - -{{## def.switchCase: - {{? $sch.if && {{# def.nonEmptySchema:$sch.if }} }} - var {{=$errs}} = errors; - {{# def.validateIf }} - if ({{=$ifPassed}}) { - {{# def.validateThen }} - } else { - {{# def.resetErrors }} - } - {{??}} - {{=$ifPassed}} = true; - {{# def.validateThen }} - {{?}} -#}} - - -{{ - var $ifPassed = 'ifPassed' + it.level - , $currentBaseId = $it.baseId - , $shouldContinue; -}} -var {{=$ifPassed}}; - -{{~ $schema:$sch:$caseIndex }} - {{? $caseIndex && !$shouldContinue }} - if (!{{=$ifPassed}}) { - {{ $closingBraces+= '}'; }} - {{?}} - - {{# def.switchCase }} - {{ $shouldContinue = $sch.continue }} -{{~}} - -{{= $closingBraces }} - -var {{=$valid}} = {{=$nextValid}}; - -{{# def.cleanUp }} diff --git a/node_modules/ajv-keywords/keywords/dotjs/README.md b/node_modules/ajv-keywords/keywords/dotjs/README.md deleted file mode 100644 index e2846c8..0000000 --- a/node_modules/ajv-keywords/keywords/dotjs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -These files are compiled dot templates from dot folder. - -Do NOT edit them directly, edit the templates and run `npm run build` from main ajv-keywords folder. diff --git a/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js b/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js deleted file mode 100644 index fc56e20..0000000 --- a/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js +++ /dev/null @@ -1,176 +0,0 @@ -'use strict'; -module.exports = function generate__formatLimit(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - out += 'var ' + ($valid) + ' = undefined;'; - if (it.opts.format === false) { - out += ' ' + ($valid) + ' = true; '; - return out; - } - var $schemaFormat = it.schema.format, - $isDataFormat = it.opts.$data && $schemaFormat.$data, - $closingBraces = ''; - if ($isDataFormat) { - var $schemaValueFormat = it.util.getData($schemaFormat.$data, $dataLvl, it.dataPathArr), - $format = 'format' + $lvl, - $compare = 'compare' + $lvl; - out += ' var ' + ($format) + ' = formats[' + ($schemaValueFormat) + '] , ' + ($compare) + ' = ' + ($format) + ' && ' + ($format) + '.compare;'; - } else { - var $format = it.formats[$schemaFormat]; - if (!($format && $format.compare)) { - out += ' ' + ($valid) + ' = true; '; - return out; - } - var $compare = 'formats' + it.util.getProperty($schemaFormat) + '.compare'; - } - var $isMax = $keyword == 'formatMaximum', - $exclusiveKeyword = 'formatExclusive' + ($isMax ? 'Maximum' : 'Minimum'), - $schemaExcl = it.schema[$exclusiveKeyword], - $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data, - $op = $isMax ? '<' : '>', - $result = 'result' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - if ($isDataExcl) { - var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr), - $exclusive = 'exclusive' + $lvl, - $opExpr = 'op' + $lvl, - $opStr = '\' + ' + $opExpr + ' + \''; - out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; '; - $schemaValueExcl = 'schemaExcl' + $lvl; - out += ' if (typeof ' + ($schemaValueExcl) + ' != \'boolean\' && ' + ($schemaValueExcl) + ' !== undefined) { ' + ($valid) + ' = false; '; - var $errorKeyword = $exclusiveKeyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_formatExclusiveLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'' + ($exclusiveKeyword) + ' should be boolean\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - $closingBraces += '}'; - out += ' else { '; - } - if ($isData) { - out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'string\') ' + ($valid) + ' = false; else { '; - $closingBraces += '}'; - } - if ($isDataFormat) { - out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { '; - $closingBraces += '}'; - } - out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ', '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; var ' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true; if (' + ($valid) + ' === undefined) { ' + ($valid) + ' = ' + ($exclusive) + ' ? ' + ($result) + ' ' + ($op) + ' 0 : ' + ($result) + ' ' + ($op) + '= 0; } if (!' + ($valid) + ') var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \'' + ($op) + '\' : \'' + ($op) + '=\';'; - } else { - var $exclusive = $schemaExcl === true, - $opStr = $op; - if (!$exclusive) $opStr += '='; - var $opExpr = '\'' + $opStr + '\''; - if ($isData) { - out += ' if (' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'string\') ' + ($valid) + ' = false; else { '; - $closingBraces += '}'; - } - if ($isDataFormat) { - out += ' if (!' + ($compare) + ') ' + ($valid) + ' = true; else { '; - $closingBraces += '}'; - } - out += ' var ' + ($result) + ' = ' + ($compare) + '(' + ($data) + ', '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' ); if (' + ($result) + ' === undefined) ' + ($valid) + ' = false; if (' + ($valid) + ' === undefined) ' + ($valid) + ' = ' + ($result) + ' ' + ($op); - if (!$exclusive) { - out += '='; - } - out += ' 0;'; - } - out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_formatLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , exclusive: ' + ($exclusive) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be ' + ($opStr) + ' "'; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + (it.util.escapeQuotes($schema)); - } - out += '"\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '}'; - return out; -} diff --git a/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js b/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js deleted file mode 100644 index 31bd0b6..0000000 --- a/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; -module.exports = function generate_patternRequired(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $key = 'key' + $lvl, - $idx = 'idx' + $lvl, - $matched = 'patternMatched' + $lvl, - $dataProperties = 'dataProperties' + $lvl, - $closingBraces = '', - $ownProperties = it.opts.ownProperties; - out += 'var ' + ($valid) + ' = true;'; - if ($ownProperties) { - out += ' var ' + ($dataProperties) + ' = undefined;'; - } - var arr1 = $schema; - if (arr1) { - var $pProperty, i1 = -1, - l1 = arr1.length - 1; - while (i1 < l1) { - $pProperty = arr1[i1 += 1]; - out += ' var ' + ($matched) + ' = false; '; - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - out += ' ' + ($matched) + ' = ' + (it.usePattern($pProperty)) + '.test(' + ($key) + '); if (' + ($matched) + ') break; } '; - var $missingPattern = it.util.escapeQuotes($pProperty); - out += ' if (!' + ($matched) + ') { ' + ($valid) + ' = false; var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('patternRequired') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingPattern: \'' + ($missingPattern) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should have property matching pattern \\\'' + ($missingPattern) + '\\\'\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } '; - if ($breakOnError) { - $closingBraces += '}'; - out += ' else { '; - } - } - } - out += '' + ($closingBraces); - return out; -} diff --git a/node_modules/ajv-keywords/keywords/dotjs/switch.js b/node_modules/ajv-keywords/keywords/dotjs/switch.js deleted file mode 100644 index d6de28b..0000000 --- a/node_modules/ajv-keywords/keywords/dotjs/switch.js +++ /dev/null @@ -1,128 +0,0 @@ -'use strict'; -module.exports = function generate_switch(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $ifPassed = 'ifPassed' + it.level, - $currentBaseId = $it.baseId, - $shouldContinue; - out += 'var ' + ($ifPassed) + ';'; - var arr1 = $schema; - if (arr1) { - var $sch, $caseIndex = -1, - l1 = arr1.length - 1; - while ($caseIndex < l1) { - $sch = arr1[$caseIndex += 1]; - if ($caseIndex && !$shouldContinue) { - out += ' if (!' + ($ifPassed) + ') { '; - $closingBraces += '}'; - } - if ($sch.if && it.util.schemaHasRules($sch.if, it.RULES.all)) { - out += ' var ' + ($errs) + ' = errors; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.createErrors = false; - $it.schema = $sch.if; - $it.schemaPath = $schemaPath + '[' + $caseIndex + '].if'; - $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/if'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - $it.createErrors = true; - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($ifPassed) + ' = ' + ($nextValid) + '; if (' + ($ifPassed) + ') { '; - if (typeof $sch.then == 'boolean') { - if ($sch.then === false) { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('switch') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should pass "switch" keyword validation\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } - out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; '; - } else { - $it.schema = $sch.then; - $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then'; - $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - } - out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } } '; - } else { - out += ' ' + ($ifPassed) + ' = true; '; - if (typeof $sch.then == 'boolean') { - if ($sch.then === false) { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('switch') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { caseIndex: ' + ($caseIndex) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should pass "switch" keyword validation\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } - out += ' var ' + ($nextValid) + ' = ' + ($sch.then) + '; '; - } else { - $it.schema = $sch.then; - $it.schemaPath = $schemaPath + '[' + $caseIndex + '].then'; - $it.errSchemaPath = $errSchemaPath + '/' + $caseIndex + '/then'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - } - } - $shouldContinue = $sch.continue - } - } - out += '' + ($closingBraces) + 'var ' + ($valid) + ' = ' + ($nextValid) + '; '; - out = it.util.cleanUpCode(out); - return out; -} diff --git a/node_modules/ajv-keywords/keywords/dynamicDefaults.js b/node_modules/ajv-keywords/keywords/dynamicDefaults.js deleted file mode 100644 index e6766d1..0000000 --- a/node_modules/ajv-keywords/keywords/dynamicDefaults.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -var sequences = {}; - -var DEFAULTS = { - timestamp: function() { return Date.now(); }, - datetime: function() { return (new Date).toISOString(); }, - date: function() { return (new Date).toISOString().slice(0, 10); }, - time: function() { return (new Date).toISOString().slice(11); }, - random: function() { return Math.random(); }, - randomint: function (args) { - var limit = args && args.max || 2; - return function() { return Math.floor(Math.random() * limit); }; - }, - seq: function (args) { - var name = args && args.name || ''; - sequences[name] = sequences[name] || 0; - return function() { return sequences[name]++; }; - } -}; - -module.exports = function defFunc(ajv) { - defFunc.definition = { - compile: function (schema, parentSchema, it) { - var funcs = {}; - - for (var key in schema) { - var d = schema[key]; - var func = getDefault(typeof d == 'string' ? d : d.func); - funcs[key] = func.length ? func(d.args) : func; - } - - return it.opts.useDefaults && !it.compositeRule - ? assignDefaults - : noop; - - function assignDefaults(data) { - for (var prop in schema) - if (data[prop] === undefined) data[prop] = funcs[prop](); - return true; - } - - function noop() { return true; } - }, - DEFAULTS: DEFAULTS, - metaSchema: { - type: 'object', - additionalProperties: { - type: ['string', 'object'], - additionalProperties: false, - required: ['func', 'args'], - properties: { - func: { type: 'string' }, - args: { type: 'object' } - } - } - } - }; - - ajv.addKeyword('dynamicDefaults', defFunc.definition); - return ajv; - - function getDefault(d) { - var def = DEFAULTS[d]; - if (def) return def; - throw new Error('invalid "dynamicDefaults" keyword property value: ' + d); - } -}; diff --git a/node_modules/ajv-keywords/keywords/formatMaximum.js b/node_modules/ajv-keywords/keywords/formatMaximum.js deleted file mode 100644 index e7daabf..0000000 --- a/node_modules/ajv-keywords/keywords/formatMaximum.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./_formatLimit')('Maximum'); diff --git a/node_modules/ajv-keywords/keywords/formatMinimum.js b/node_modules/ajv-keywords/keywords/formatMinimum.js deleted file mode 100644 index eddd6e4..0000000 --- a/node_modules/ajv-keywords/keywords/formatMinimum.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./_formatLimit')('Minimum'); diff --git a/node_modules/ajv-keywords/keywords/index.js b/node_modules/ajv-keywords/keywords/index.js deleted file mode 100644 index 618ed02..0000000 --- a/node_modules/ajv-keywords/keywords/index.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -module.exports = { - 'instanceof': require('./instanceof'), - range: require('./range'), - regexp: require('./regexp'), - 'typeof': require('./typeof'), - dynamicDefaults: require('./dynamicDefaults'), - prohibited: require('./prohibited'), - uniqueItemProperties: require('./uniqueItemProperties'), - deepProperties: require('./deepProperties'), - deepRequired: require('./deepRequired'), - formatMinimum: require('./formatMinimum'), - formatMaximum: require('./formatMaximum'), - patternRequired: require('./patternRequired'), - 'switch': require('./switch'), - select: require('./select'), - transform: require('./transform') -}; diff --git a/node_modules/ajv-keywords/keywords/instanceof.js b/node_modules/ajv-keywords/keywords/instanceof.js deleted file mode 100644 index ea88f5c..0000000 --- a/node_modules/ajv-keywords/keywords/instanceof.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict'; - -var CONSTRUCTORS = { - Object: Object, - Array: Array, - Function: Function, - Number: Number, - String: String, - Date: Date, - RegExp: RegExp -}; - -module.exports = function defFunc(ajv) { - /* istanbul ignore else */ - if (typeof Buffer != 'undefined') - CONSTRUCTORS.Buffer = Buffer; - - /* istanbul ignore else */ - if (typeof Promise != 'undefined') - CONSTRUCTORS.Promise = Promise; - - defFunc.definition = { - compile: function (schema) { - if (typeof schema == 'string') { - var Constructor = getConstructor(schema); - return function (data) { - return data instanceof Constructor; - }; - } - - var constructors = schema.map(getConstructor); - return function (data) { - for (var i=0; i max || (exclusive && min == max)) - throw new Error('There are no numbers in range'); - } -}; diff --git a/node_modules/ajv-keywords/keywords/regexp.js b/node_modules/ajv-keywords/keywords/regexp.js deleted file mode 100644 index 84efbd6..0000000 --- a/node_modules/ajv-keywords/keywords/regexp.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -module.exports = function defFunc(ajv) { - defFunc.definition = { - type: 'string', - inline: function (it, keyword, schema) { - return getRegExp() + '.test(data' + (it.dataLevel || '') + ')'; - - function getRegExp() { - try { - if (typeof schema == 'object') - return new RegExp(schema.pattern, schema.flags); - - var rx = schema.match(/^\/(.*)\/([gimy]*)$/); - if (rx) return new RegExp(rx[1], rx[2]); - throw new Error('cannot parse string into RegExp'); - } catch(e) { - console.error('regular expression', schema, 'is invalid'); - throw e; - } - } - }, - metaSchema: { - type: ['string', 'object'], - properties: { - pattern: { type: 'string' }, - flags: { type: 'string' } - }, - required: ['pattern'], - additionalProperties: false - } - }; - - ajv.addKeyword('regexp', defFunc.definition); - return ajv; -}; diff --git a/node_modules/ajv-keywords/keywords/select.js b/node_modules/ajv-keywords/keywords/select.js deleted file mode 100644 index f79c6c7..0000000 --- a/node_modules/ajv-keywords/keywords/select.js +++ /dev/null @@ -1,79 +0,0 @@ -'use strict'; - -var util = require('./_util'); - -module.exports = function defFunc(ajv) { - if (!ajv._opts.$data) { - console.warn('keyword select requires $data option'); - return ajv; - } - var metaSchemaRef = util.metaSchemaRef(ajv); - var compiledCaseSchemas = []; - - defFunc.definition = { - validate: function v(schema, data, parentSchema) { - if (parentSchema.selectCases === undefined) - throw new Error('keyword "selectCases" is absent'); - var compiled = getCompiledSchemas(parentSchema, false); - var validate = compiled.cases[schema]; - if (validate === undefined) validate = compiled.default; - if (typeof validate == 'boolean') return validate; - var valid = validate(data); - if (!valid) v.errors = validate.errors; - return valid; - }, - $data: true, - metaSchema: { type: ['string', 'number', 'boolean', 'null'] } - }; - - ajv.addKeyword('select', defFunc.definition); - ajv.addKeyword('selectCases', { - compile: function (schemas, parentSchema) { - var compiled = getCompiledSchemas(parentSchema); - for (var value in schemas) - compiled.cases[value] = compileOrBoolean(schemas[value]); - return function() { return true; }; - }, - valid: true, - metaSchema: { - type: 'object', - additionalProperties: metaSchemaRef - } - }); - ajv.addKeyword('selectDefault', { - compile: function (schema, parentSchema) { - var compiled = getCompiledSchemas(parentSchema); - compiled.default = compileOrBoolean(schema); - return function() { return true; }; - }, - valid: true, - metaSchema: metaSchemaRef - }); - return ajv; - - - function getCompiledSchemas(parentSchema, create) { - var compiled; - compiledCaseSchemas.some(function (c) { - if (c.parentSchema === parentSchema) { - compiled = c; - return true; - } - }); - if (!compiled && create !== false) { - compiled = { - parentSchema: parentSchema, - cases: {}, - default: true - }; - compiledCaseSchemas.push(compiled); - } - return compiled; - } - - function compileOrBoolean(schema) { - return typeof schema == 'boolean' - ? schema - : ajv.compile(schema); - } -}; diff --git a/node_modules/ajv-keywords/keywords/switch.js b/node_modules/ajv-keywords/keywords/switch.js deleted file mode 100644 index 5b0f3f8..0000000 --- a/node_modules/ajv-keywords/keywords/switch.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var util = require('./_util'); - -module.exports = function defFunc(ajv) { - if (ajv.RULES.keywords.switch && ajv.RULES.keywords.if) return; - - var metaSchemaRef = util.metaSchemaRef(ajv); - - defFunc.definition = { - inline: require('./dotjs/switch'), - statements: true, - errors: 'full', - metaSchema: { - type: 'array', - items: { - required: [ 'then' ], - properties: { - 'if': metaSchemaRef, - 'then': { - anyOf: [ - { type: 'boolean' }, - metaSchemaRef - ] - }, - 'continue': { type: 'boolean' } - }, - additionalProperties: false, - dependencies: { - 'continue': [ 'if' ] - } - } - } - }; - - ajv.addKeyword('switch', defFunc.definition); - return ajv; -}; diff --git a/node_modules/ajv-keywords/keywords/transform.js b/node_modules/ajv-keywords/keywords/transform.js deleted file mode 100644 index 7ea0690..0000000 --- a/node_modules/ajv-keywords/keywords/transform.js +++ /dev/null @@ -1,79 +0,0 @@ -'use strict'; - -module.exports = function defFunc (ajv) { - defFunc.definition = { - type: 'string', - errors: false, - modifying: true, - valid: true, - compile: function (schema, parentSchema) { - - // build hash table to enum values - var hashtable = {}; - - if (schema.indexOf('toEnumCase') !== -1) { - // requires `enum` in schema - if (!parentSchema.enum) - throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.'); - for (var i = parentSchema.enum.length; i--; i) { - var v = parentSchema.enum[i]; - if (typeof v !== 'string') continue; - var k = makeHashTableKey(v); - // requires all `enum` values have unique keys - if (hashtable[k]) - throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.'); - hashtable[k] = v; - } - } - - var transform = { - trimLeft: function (value) { - return value.replace(/^[\s]+/, ''); - }, - trimRight: function (value) { - return value.replace(/[\s]+$/, ''); - }, - trim: function (value) { - return value.trim(); - }, - toLowerCase: function (value) { - return value.toLowerCase(); - }, - toUpperCase: function (value) { - return value.toUpperCase(); - }, - toEnumCase: function (value) { - return hashtable[makeHashTableKey(value)] || value; - } - }; - - return function (value, objectKey, object, key) { - // skip if value only - if (!object) return; - - // apply transform in order provided - for (var j = 0, l = schema.length; j < l; j++) { - if (typeof object[key] !== 'string') continue; - object[key] = transform[schema[j]](object[key]); - } - }; - }, - metaSchema: { - type: 'array', - items: { - type: 'string', - enum: [ - 'trimLeft', 'trimRight', 'trim', - 'toLowerCase', 'toUpperCase', 'toEnumCase' - ] - } - } - }; - - ajv.addKeyword('transform', defFunc.definition); - return ajv; - - function makeHashTableKey (value) { - return value.toLowerCase(); - } -}; diff --git a/node_modules/ajv-keywords/keywords/typeof.js b/node_modules/ajv-keywords/keywords/typeof.js deleted file mode 100644 index 3a3574d..0000000 --- a/node_modules/ajv-keywords/keywords/typeof.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -var KNOWN_TYPES = ['undefined', 'string', 'number', 'object', 'function', 'boolean', 'symbol']; - -module.exports = function defFunc(ajv) { - defFunc.definition = { - inline: function (it, keyword, schema) { - var data = 'data' + (it.dataLevel || ''); - if (typeof schema == 'string') return 'typeof ' + data + ' == "' + schema + '"'; - schema = 'validate.schema' + it.schemaPath + '.' + keyword; - return schema + '.indexOf(typeof ' + data + ') >= 0'; - }, - metaSchema: { - anyOf: [ - { - type: 'string', - enum: KNOWN_TYPES - }, - { - type: 'array', - items: { - type: 'string', - enum: KNOWN_TYPES - } - } - ] - } - }; - - ajv.addKeyword('typeof', defFunc.definition); - return ajv; -}; diff --git a/node_modules/ajv-keywords/keywords/uniqueItemProperties.js b/node_modules/ajv-keywords/keywords/uniqueItemProperties.js deleted file mode 100644 index 2a8e7e8..0000000 --- a/node_modules/ajv-keywords/keywords/uniqueItemProperties.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -module.exports = function defFunc(ajv) { - defFunc.definition = { - type: 'array', - compile: function(keys, parentSchema, it) { - var equal = it.util.equal; - return function(data) { - if (data.length > 1) { - for (var k=0; k < keys.length; k++) { - var key = keys[k]; - for (var i = data.length; i--;) { - if (typeof data[i] != 'object') continue; - for (var j = i; j--;) { - if (typeof data[j] == 'object' && equal(data[i][key], data[j][key])) - return false; - } - } - } - } - return true; - }; - }, - metaSchema: { - type: 'array', - items: {type: 'string'} - } - }; - - ajv.addKeyword('uniqueItemProperties', defFunc.definition); - return ajv; -}; diff --git a/node_modules/ajv-keywords/package.json b/node_modules/ajv-keywords/package.json deleted file mode 100644 index 3111549..0000000 --- a/node_modules/ajv-keywords/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "_from": "ajv-keywords@^3.0.0", - "_id": "ajv-keywords@3.2.0", - "_inBundle": false, - "_integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=", - "_location": "/ajv-keywords", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ajv-keywords@^3.0.0", - "name": "ajv-keywords", - "escapedName": "ajv-keywords", - "rawSpec": "^3.0.0", - "saveSpec": null, - "fetchSpec": "^3.0.0" - }, - "_requiredBy": [ - "/table" - ], - "_resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", - "_shasum": "e86b819c602cf8821ad637413698f1dec021847a", - "_spec": "ajv-keywords@^3.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/table", - "author": { - "name": "Evgeny Poberezkin" - }, - "bugs": { - "url": "https://github.com/epoberezkin/ajv-keywords/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Custom JSON-Schema keywords for Ajv validator", - "devDependencies": { - "ajv": "^6.0.0", - "ajv-pack": "^0.3.0", - "chai": "^4.0.2", - "coveralls": "^3.0.0", - "dot": "^1.1.1", - "eslint": "^4.9.0", - "glob": "^7.1.1", - "istanbul": "^0.4.3", - "js-beautify": "^1.7.4", - "json-schema-test": "^2.0.0", - "mocha": "^5.0.0", - "pre-commit": "^1.1.3", - "uuid": "^3.0.1" - }, - "files": [ - "index.js", - "keywords" - ], - "homepage": "https://github.com/epoberezkin/ajv-keywords#readme", - "keywords": [ - "JSON-Schema", - "ajv", - "keywords" - ], - "license": "MIT", - "main": "index.js", - "name": "ajv-keywords", - "peerDependencies": { - "ajv": "^6.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/epoberezkin/ajv-keywords.git" - }, - "scripts": { - "build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib keywords", - "eslint": "eslint index.js keywords/*.js", - "prepublish": "npm run build", - "test": "npm run build && npm run eslint && npm run test-cov", - "test-cov": "istanbul cover -x 'spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec", - "test-spec": "mocha spec/*.spec.js -R spec" - }, - "version": "3.2.0" -} diff --git a/node_modules/ajv/.tonic_example.js b/node_modules/ajv/.tonic_example.js deleted file mode 100644 index aa11812..0000000 --- a/node_modules/ajv/.tonic_example.js +++ /dev/null @@ -1,20 +0,0 @@ -var Ajv = require('ajv'); -var ajv = new Ajv({allErrors: true}); - -var schema = { - "properties": { - "foo": { "type": "string" }, - "bar": { "type": "number", "maximum": 3 } - } -}; - -var validate = ajv.compile(schema); - -test({"foo": "abc", "bar": 2}); -test({"foo": 2, "bar": 4}); - -function test(data) { - var valid = validate(data); - if (valid) console.log('Valid!'); - else console.log('Invalid: ' + ajv.errorsText(validate.errors)); -} \ No newline at end of file diff --git a/node_modules/ajv/LICENSE b/node_modules/ajv/LICENSE deleted file mode 100644 index 96ee719..0000000 --- a/node_modules/ajv/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2017 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/node_modules/ajv/README.md b/node_modules/ajv/README.md deleted file mode 100644 index 97dc4da..0000000 --- a/node_modules/ajv/README.md +++ /dev/null @@ -1,1295 +0,0 @@ -Ajv logo - -# Ajv: Another JSON Schema Validator - -The fastest JSON Schema validator for Node.js and browser. Supports draft-04/06/07. - - -[![Build Status](https://travis-ci.org/epoberezkin/ajv.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv) -[![npm](https://img.shields.io/npm/v/ajv.svg)](https://www.npmjs.com/package/ajv) -[![npm downloads](https://img.shields.io/npm/dm/ajv.svg)](https://www.npmjs.com/package/ajv) -[![Coverage Status](https://coveralls.io/repos/epoberezkin/ajv/badge.svg?branch=master&service=github)](https://coveralls.io/github/epoberezkin/ajv?branch=master) -[![Greenkeeper badge](https://badges.greenkeeper.io/epoberezkin/ajv.svg)](https://greenkeeper.io/) -[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv) - - -## Using version 6 - -[JSON Schema draft-07](http://json-schema.org/latest/json-schema-validation.html) is published. - -[Ajv version 6.0.0](https://github.com/epoberezkin/ajv/releases/tag/v6.0.0) that supports draft-07 is released. It may require either migrating your schemas or updating your code (to continue using draft-04 and v5 schemas, draft-06 schemas will be supported without changes). - -__Please note__: To use Ajv with draft-06 schemas you need to explicitly add the meta-schema to the validator instance: - -```javascript -ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-06.json')); -``` - -To use Ajv with draft-04 schemas in addition to explicitly adding meta-schema you also need to use option schemaId: - -```javascript -var ajv = new Ajv({schemaId: 'id'}); -// If you want to use both draft-04 and draft-06/07 schemas: -// var ajv = new Ajv({schemaId: 'auto'}); -ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-04.json')); -``` - - -## Contents - -- [Performance](#performance) -- [Features](#features) -- [Getting started](#getting-started) -- [Frequently Asked Questions](https://github.com/epoberezkin/ajv/blob/master/FAQ.md) -- [Using in browser](#using-in-browser) -- [Command line interface](#command-line-interface) -- Validation - - [Keywords](#validation-keywords) - - [Annotation keywords](#annotation-keywords) - - [Formats](#formats) - - [Combining schemas with $ref](#ref) - - [$data reference](#data-reference) - - NEW: [$merge and $patch keywords](#merge-and-patch-keywords) - - [Defining custom keywords](#defining-custom-keywords) - - [Asynchronous schema compilation](#asynchronous-schema-compilation) - - [Asynchronous validation](#asynchronous-validation) -- Modifying data during validation - - [Filtering data](#filtering-data) - - [Assigning defaults](#assigning-defaults) - - [Coercing data types](#coercing-data-types) -- API - - [Methods](#api) - - [Options](#options) - - [Validation errors](#validation-errors) -- [Plugins](#plugins) -- [Related packages](#related-packages) -- [Packages using Ajv](#some-packages-using-ajv) -- [Tests, Contributing, History, License](#tests) - - -## Performance - -Ajv generates code using [doT templates](https://github.com/olado/doT) to turn JSON Schemas into super-fast validation functions that are efficient for v8 optimization. - -Currently Ajv is the fastest and the most standard compliant validator according to these benchmarks: - -- [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark) - 50% faster than the second place -- [jsck benchmark](https://github.com/pandastrike/jsck#benchmarks) - 20-190% faster -- [z-schema benchmark](https://rawgit.com/zaggino/z-schema/master/benchmark/results.html) -- [themis benchmark](https://cdn.rawgit.com/playlyfe/themis/master/benchmark/results.html) - - -Performance of different validators by [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark): - -[![performance](https://chart.googleapis.com/chart?chxt=x,y&cht=bhs&chco=76A4FB&chls=2.0&chbh=32,4,1&chs=600x416&chxl=-1:|djv|ajv|json-schema-validator-generator|jsen|is-my-json-valid|themis|z-schema|jsck|skeemas|json-schema-library|tv4&chd=t:100,98,72.1,66.8,50.1,15.1,6.1,3.8,1.2,0.7,0.2)](https://github.com/ebdrup/json-schema-benchmark/blob/master/README.md#performance) - - -## Features - -- Ajv implements full JSON Schema [draft-06/07](http://json-schema.org/) and draft-04 standards: - - all validation keywords (see [JSON Schema validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md)) - - full support of remote refs (remote schemas have to be added with `addSchema` or compiled to be available) - - support of circular references between schemas - - correct string lengths for strings with unicode pairs (can be turned off) - - [formats](#formats) defined by JSON Schema draft-07 standard and custom formats (can be turned off) - - [validates schemas against meta-schema](#api-validateschema) -- supports [browsers](#using-in-browser) and Node.js 0.10-8.x -- [asynchronous loading](#asynchronous-schema-compilation) of referenced schemas during compilation -- "All errors" validation mode with [option allErrors](#options) -- [error messages with parameters](#validation-errors) describing error reasons to allow creating custom error messages -- i18n error messages support with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package -- [filtering data](#filtering-data) from additional properties -- [assigning defaults](#assigning-defaults) to missing properties and items -- [coercing data](#coercing-data-types) to the types specified in `type` keywords -- [custom keywords](#defining-custom-keywords) -- draft-06/07 keywords `const`, `contains`, `propertyNames` and `if/then/else` -- draft-06 boolean schemas (`true`/`false` as a schema to always pass/fail). -- keywords `switch`, `patternRequired`, `formatMaximum` / `formatMinimum` and `formatExclusiveMaximum` / `formatExclusiveMinimum` from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) with [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package -- [$data reference](#data-reference) to use values from the validated data as values for the schema keywords -- [asynchronous validation](#asynchronous-validation) of custom formats and keywords - -Currently Ajv is the only validator that passes all the tests from [JSON Schema Test Suite](https://github.com/json-schema/JSON-Schema-Test-Suite) (according to [json-schema-benchmark](https://github.com/ebdrup/json-schema-benchmark), apart from the test that requires that `1.0` is not an integer that is impossible to satisfy in JavaScript). - - -## Install - -``` -npm install ajv -``` - - -## Getting started - -Try it in the Node.js REPL: https://tonicdev.com/npm/ajv - - -The fastest validation call: - -```javascript -var Ajv = require('ajv'); -var ajv = new Ajv(); // options can be passed, e.g. {allErrors: true} -var validate = ajv.compile(schema); -var valid = validate(data); -if (!valid) console.log(validate.errors); -``` - -or with less code - -```javascript -// ... -var valid = ajv.validate(schema, data); -if (!valid) console.log(ajv.errors); -// ... -``` - -or - -```javascript -// ... -var valid = ajv.addSchema(schema, 'mySchema') - .validate('mySchema', data); -if (!valid) console.log(ajv.errorsText()); -// ... -``` - -See [API](#api) and [Options](#options) for more details. - -Ajv compiles schemas to functions and caches them in all cases (using schema serialized with [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) or a custom function as a key), so that the next time the same schema is used (not necessarily the same object instance) it won't be compiled again. - -The best performance is achieved when using compiled functions returned by `compile` or `getSchema` methods (there is no additional function call). - -__Please note__: every time a validation function or `ajv.validate` are called `errors` property is overwritten. You need to copy `errors` array reference to another variable if you want to use it later (e.g., in the callback). See [Validation errors](#validation-errors) - - -## Using in browser - -You can require Ajv directly from the code you browserify - in this case Ajv will be a part of your bundle. - -If you need to use Ajv in several bundles you can create a separate UMD bundle using `npm run bundle` script (thanks to [siddo420](https://github.com/siddo420)). - -Then you need to load Ajv in the browser: -```html - -``` - -This bundle can be used with different module systems; it creates global `Ajv` if no module system is found. - -The browser bundle is available on [cdnjs](https://cdnjs.com/libraries/ajv). - -Ajv is tested with these browsers: - -[![Sauce Test Status](https://saucelabs.com/browser-matrix/epoberezkin.svg)](https://saucelabs.com/u/epoberezkin) - -__Please note__: some frameworks, e.g. Dojo, may redefine global require in such way that is not compatible with CommonJS module format. In such case Ajv bundle has to be loaded before the framework and then you can use global Ajv (see issue [#234](https://github.com/epoberezkin/ajv/issues/234)). - - -## Command line interface - -CLI is available as a separate npm package [ajv-cli](https://github.com/jessedc/ajv-cli). It supports: - -- compiling JSON Schemas to test their validity -- BETA: generating standalone module exporting a validation function to be used without Ajv (using [ajv-pack](https://github.com/epoberezkin/ajv-pack)) -- migrate schemas to draft-07 (using [json-schema-migrate](https://github.com/epoberezkin/json-schema-migrate)) -- validating data file(s) against JSON Schema -- testing expected validity of data against JSON Schema -- referenced schemas -- custom meta-schemas -- files in JSON and JavaScript format -- all Ajv options -- reporting changes in data after validation in [JSON-patch](https://tools.ietf.org/html/rfc6902) format - - -## Validation keywords - -Ajv supports all validation keywords from draft-07 of JSON Schema standard: - -- [type](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#type) -- [for numbers](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-numbers) - maximum, minimum, exclusiveMaximum, exclusiveMinimum, multipleOf -- [for strings](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-strings) - maxLength, minLength, pattern, format -- [for arrays](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-arrays) - maxItems, minItems, uniqueItems, items, additionalItems, [contains](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#contains) -- [for objects](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-objects) - maxProperties, minProperties, required, properties, patternProperties, additionalProperties, dependencies, [propertyNames](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#propertynames) -- [for all types](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-all-types) - enum, [const](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#const) -- [compound keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#compound-keywords) - not, oneOf, anyOf, allOf, [if/then/else](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#ifthenelse) - -With [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package Ajv also supports validation keywords from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) for JSON Schema standard: - -- [patternRequired](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#patternrequired-proposed) - like `required` but with patterns that some property should match. -- [formatMaximum, formatMinimum, formatExclusiveMaximum, formatExclusiveMinimum](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#formatmaximum--formatminimum-and-exclusiveformatmaximum--exclusiveformatminimum-proposed) - setting limits for date, time, etc. - -See [JSON Schema validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md) for more details. - - -## Annotation keywords - -JSON Schema specification defines several annotation keywords that describe schema itself but do not perform any validation. - -- `title` and `description`: information about the data represented by that schema -- `$comment` (NEW in draft-07): information for developers. With option `$comment` Ajv logs or passes the comment string to the user-supplied function. See [Options](#options). -- `default`: a default value of the data instance, see [Assigning defaults](#assigning-defaults). -- `examples` (NEW in draft-07): an array of data instances. Ajv does not check the validity of these instances against the schema. -- `readOnly` and `writeOnly` (NEW in draft-07): marks data-instance as read-only or write-only in relation to the source of the data (database, api, etc.). -- `contentEncoding`: [RFC 2045](https://tools.ietf.org/html/rfc2045#section-6.1 ), e.g., "base64". -- `contentMediaType`: [RFC 2046](https://tools.ietf.org/html/rfc2046), e.g., "image/png". - -__Please note__: Ajv does not implement validation of the keywords `examples`, `contentEncoding` and `contentMediaType` but it reserves them. If you want to create a plugin that implements some of them, it should remove these keywords from the instance. - - -## Formats - -The following formats are supported for string validation with "format" keyword: - -- _date_: full-date according to [RFC3339](http://tools.ietf.org/html/rfc3339#section-5.6). -- _time_: time with optional time-zone. -- _date-time_: date-time from the same source (time-zone is mandatory). `date`, `time` and `date-time` validate ranges in `full` mode and only regexp in `fast` mode (see [options](#options)). -- _uri_: full URI. -- _uri-reference_: URI reference, including full and relative URIs. -- _uri-template_: URI template according to [RFC6570](https://tools.ietf.org/html/rfc6570) -- _url_: [URL record](https://url.spec.whatwg.org/#concept-url). -- _email_: email address. -- _hostname_: host name according to [RFC1034](http://tools.ietf.org/html/rfc1034#section-3.5). -- _ipv4_: IP address v4. -- _ipv6_: IP address v6. -- _regex_: tests whether a string is a valid regular expression by passing it to RegExp constructor. -- _uuid_: Universally Unique IDentifier according to [RFC4122](http://tools.ietf.org/html/rfc4122). -- _json-pointer_: JSON-pointer according to [RFC6901](https://tools.ietf.org/html/rfc6901). -- _relative-json-pointer_: relative JSON-pointer according to [this draft](http://tools.ietf.org/html/draft-luff-relative-json-pointer-00). - -__Please note__: JSON Schema draft-07 also defines formats `iri`, `iri-reference`, `idn-hostname` and `idn-email` for URLs, hostnames and emails with international characters. Ajv does not implement these formats. If you create Ajv plugin that implements them please make a PR to mention this plugin here. - -There are two modes of format validation: `fast` and `full`. This mode affects formats `date`, `time`, `date-time`, `uri`, `uri-reference`, `email`, and `hostname`. See [Options](#options) for details. - -You can add additional formats and replace any of the formats above using [addFormat](#api-addformat) method. - -The option `unknownFormats` allows changing the default behaviour when an unknown format is encountered. In this case Ajv can either fail schema compilation (default) or ignore it (default in versions before 5.0.0). You also can whitelist specific format(s) to be ignored. See [Options](#options) for details. - -You can find patterns used for format validation and the sources that were used in [formats.js](https://github.com/epoberezkin/ajv/blob/master/lib/compile/formats.js). - - -## Combining schemas with $ref - -You can structure your validation logic across multiple schema files and have schemas reference each other using `$ref` keyword. - -Example: - -```javascript -var schema = { - "$id": "http://example.com/schemas/schema.json", - "type": "object", - "properties": { - "foo": { "$ref": "defs.json#/definitions/int" }, - "bar": { "$ref": "defs.json#/definitions/str" } - } -}; - -var defsSchema = { - "$id": "http://example.com/schemas/defs.json", - "definitions": { - "int": { "type": "integer" }, - "str": { "type": "string" } - } -}; -``` - -Now to compile your schema you can either pass all schemas to Ajv instance: - -```javascript -var ajv = new Ajv({schemas: [schema, defsSchema]}); -var validate = ajv.getSchema('http://example.com/schemas/schema.json'); -``` - -or use `addSchema` method: - -```javascript -var ajv = new Ajv; -var validate = ajv.addSchema(defsSchema) - .compile(schema); -``` - -See [Options](#options) and [addSchema](#api) method. - -__Please note__: -- `$ref` is resolved as the uri-reference using schema $id as the base URI (see the example). -- References can be recursive (and mutually recursive) to implement the schemas for different data structures (such as linked lists, trees, graphs, etc.). -- You don't have to host your schema files at the URIs that you use as schema $id. These URIs are only used to identify the schemas, and according to JSON Schema specification validators should not expect to be able to download the schemas from these URIs. -- The actual location of the schema file in the file system is not used. -- You can pass the identifier of the schema as the second parameter of `addSchema` method or as a property name in `schemas` option. This identifier can be used instead of (or in addition to) schema $id. -- You cannot have the same $id (or the schema identifier) used for more than one schema - the exception will be thrown. -- You can implement dynamic resolution of the referenced schemas using `compileAsync` method. In this way you can store schemas in any system (files, web, database, etc.) and reference them without explicitly adding to Ajv instance. See [Asynchronous schema compilation](#asynchronous-schema-compilation). - - -## $data reference - -With `$data` option you can use values from the validated data as the values for the schema keywords. See [proposal](https://github.com/json-schema/json-schema/wiki/$data-(v5-proposal)) for more information about how it works. - -`$data` reference is supported in the keywords: const, enum, format, maximum/minimum, exclusiveMaximum / exclusiveMinimum, maxLength / minLength, maxItems / minItems, maxProperties / minProperties, formatMaximum / formatMinimum, formatExclusiveMaximum / formatExclusiveMinimum, multipleOf, pattern, required, uniqueItems. - -The value of "$data" should be a [JSON-pointer](https://tools.ietf.org/html/rfc6901) to the data (the root is always the top level data object, even if the $data reference is inside a referenced subschema) or a [relative JSON-pointer](http://tools.ietf.org/html/draft-luff-relative-json-pointer-00) (it is relative to the current point in data; if the $data reference is inside a referenced subschema it cannot point to the data outside of the root level for this subschema). - -Examples. - -This schema requires that the value in property `smaller` is less or equal than the value in the property larger: - -```javascript -var ajv = new Ajv({$data: true}); - -var schema = { - "properties": { - "smaller": { - "type": "number", - "maximum": { "$data": "1/larger" } - }, - "larger": { "type": "number" } - } -}; - -var validData = { - smaller: 5, - larger: 7 -}; - -ajv.validate(schema, validData); // true -``` - -This schema requires that the properties have the same format as their field names: - -```javascript -var schema = { - "additionalProperties": { - "type": "string", - "format": { "$data": "0#" } - } -}; - -var validData = { - 'date-time': '1963-06-19T08:30:06.283185Z', - email: 'joe.bloggs@example.com' -} -``` - -`$data` reference is resolved safely - it won't throw even if some property is undefined. If `$data` resolves to `undefined` the validation succeeds (with the exclusion of `const` keyword). If `$data` resolves to incorrect type (e.g. not "number" for maximum keyword) the validation fails. - - -## $merge and $patch keywords - -With the package [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) you can use the keywords `$merge` and `$patch` that allow extending JSON Schemas with patches using formats [JSON Merge Patch (RFC 7396)](https://tools.ietf.org/html/rfc7396) and [JSON Patch (RFC 6902)](https://tools.ietf.org/html/rfc6902). - -To add keywords `$merge` and `$patch` to Ajv instance use this code: - -```javascript -require('ajv-merge-patch')(ajv); -``` - -Examples. - -Using `$merge`: - -```json -{ - "$merge": { - "source": { - "type": "object", - "properties": { "p": { "type": "string" } }, - "additionalProperties": false - }, - "with": { - "properties": { "q": { "type": "number" } } - } - } -} -``` - -Using `$patch`: - -```json -{ - "$patch": { - "source": { - "type": "object", - "properties": { "p": { "type": "string" } }, - "additionalProperties": false - }, - "with": [ - { "op": "add", "path": "/properties/q", "value": { "type": "number" } } - ] - } -} -``` - -The schemas above are equivalent to this schema: - -```json -{ - "type": "object", - "properties": { - "p": { "type": "string" }, - "q": { "type": "number" } - }, - "additionalProperties": false -} -``` - -The properties `source` and `with` in the keywords `$merge` and `$patch` can use absolute or relative `$ref` to point to other schemas previously added to the Ajv instance or to the fragments of the current schema. - -See the package [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) for more information. - - -## Defining custom keywords - -The advantages of using custom keywords are: - -- allow creating validation scenarios that cannot be expressed using JSON Schema -- simplify your schemas -- help bringing a bigger part of the validation logic to your schemas -- make your schemas more expressive, less verbose and closer to your application domain -- implement custom data processors that modify your data (`modifying` option MUST be used in keyword definition) and/or create side effects while the data is being validated - -If a keyword is used only for side-effects and its validation result is pre-defined, use option `valid: true/false` in keyword definition to simplify both generated code (no error handling in case of `valid: true`) and your keyword functions (no need to return any validation result). - -The concerns you have to be aware of when extending JSON Schema standard with custom keywords are the portability and understanding of your schemas. You will have to support these custom keywords on other platforms and to properly document these keywords so that everybody can understand them in your schemas. - -You can define custom keywords with [addKeyword](#api-addkeyword) method. Keywords are defined on the `ajv` instance level - new instances will not have previously defined keywords. - -Ajv allows defining keywords with: -- validation function -- compilation function -- macro function -- inline compilation function that should return code (as string) that will be inlined in the currently compiled schema. - -Example. `range` and `exclusiveRange` keywords using compiled schema: - -```javascript -ajv.addKeyword('range', { - type: 'number', - compile: function (sch, parentSchema) { - var min = sch[0]; - var max = sch[1]; - - return parentSchema.exclusiveRange === true - ? function (data) { return data > min && data < max; } - : function (data) { return data >= min && data <= max; } - } -}); - -var schema = { "range": [2, 4], "exclusiveRange": true }; -var validate = ajv.compile(schema); -console.log(validate(2.01)); // true -console.log(validate(3.99)); // true -console.log(validate(2)); // false -console.log(validate(4)); // false -``` - -Several custom keywords (typeof, instanceof, range and propertyNames) are defined in [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package - they can be used for your schemas and as a starting point for your own custom keywords. - -See [Defining custom keywords](https://github.com/epoberezkin/ajv/blob/master/CUSTOM.md) for more details. - - -## Asynchronous schema compilation - -During asynchronous compilation remote references are loaded using supplied function. See `compileAsync` [method](#api-compileAsync) and `loadSchema` [option](#options). - -Example: - -```javascript -var ajv = new Ajv({ loadSchema: loadSchema }); - -ajv.compileAsync(schema).then(function (validate) { - var valid = validate(data); - // ... -}); - -function loadSchema(uri) { - return request.json(uri).then(function (res) { - if (res.statusCode >= 400) - throw new Error('Loading error: ' + res.statusCode); - return res.body; - }); -} -``` - -__Please note__: [Option](#options) `missingRefs` should NOT be set to `"ignore"` or `"fail"` for asynchronous compilation to work. - - -## Asynchronous validation - -Example in Node.js REPL: https://tonicdev.com/esp/ajv-asynchronous-validation - -You can define custom formats and keywords that perform validation asynchronously by accessing database or some other service. You should add `async: true` in the keyword or format definition (see [addFormat](#api-addformat), [addKeyword](#api-addkeyword) and [Defining custom keywords](#defining-custom-keywords)). - -If your schema uses asynchronous formats/keywords or refers to some schema that contains them it should have `"$async": true` keyword so that Ajv can compile it correctly. If asynchronous format/keyword or reference to asynchronous schema is used in the schema without `$async` keyword Ajv will throw an exception during schema compilation. - -__Please note__: all asynchronous subschemas that are referenced from the current or other schemas should have `"$async": true` keyword as well, otherwise the schema compilation will fail. - -Validation function for an asynchronous custom format/keyword should return a promise that resolves with `true` or `false` (or rejects with `new Ajv.ValidationError(errors)` if you want to return custom errors from the keyword function). - -Ajv compiles asynchronous schemas to [es7 async functions](http://tc39.github.io/ecmascript-asyncawait/) that can optionally be transpiled with [nodent](https://github.com/MatAtBread/nodent). Async functions are supported in Node.js 7+ and all modern browsers. You can also supply any other transpiler as a function via `processCode` option. See [Options](#options). - -The compiled validation function has `$async: true` property (if the schema is asynchronous), so you can differentiate these functions if you are using both synchronous and asynchronous schemas. - -Validation result will be a promise that resolves with validated data or rejects with an exception `Ajv.ValidationError` that contains the array of validation errors in `errors` property. - - -Example: - -```javascript -var ajv = new Ajv; -// require('ajv-async')(ajv); - -ajv.addKeyword('idExists', { - async: true, - type: 'number', - validate: checkIdExists -}); - - -function checkIdExists(schema, data) { - return knex(schema.table) - .select('id') - .where('id', data) - .then(function (rows) { - return !!rows.length; // true if record is found - }); -} - -var schema = { - "$async": true, - "properties": { - "userId": { - "type": "integer", - "idExists": { "table": "users" } - }, - "postId": { - "type": "integer", - "idExists": { "table": "posts" } - } - } -}; - -var validate = ajv.compile(schema); - -validate({ userId: 1, postId: 19 }) -.then(function (data) { - console.log('Data is valid', data); // { userId: 1, postId: 19 } -}) -.catch(function (err) { - if (!(err instanceof Ajv.ValidationError)) throw err; - // data is invalid - console.log('Validation errors:', err.errors); -}); -``` - -### Using transpilers with asynchronous validation functions. - -[ajv-async](https://github.com/epoberezkin/ajv-async) uses [nodent](https://github.com/MatAtBread/nodent) to transpile async functions. To use another transpiler you should separately install it (or load its bundle in the browser). - - -#### Using nodent - -```javascript -var ajv = new Ajv; -require('ajv-async')(ajv); -// in the browser if you want to load ajv-async bundle separately you can: -// window.ajvAsync(ajv); -var validate = ajv.compile(schema); // transpiled es7 async function -validate(data).then(successFunc).catch(errorFunc); -``` - - -#### Using other transpilers - -```javascript -var ajv = new Ajv({ processCode: transpileFunc }); -var validate = ajv.compile(schema); // transpiled es7 async function -validate(data).then(successFunc).catch(errorFunc); -``` - -See [Options](#options). - - -## Filtering data - -With [option `removeAdditional`](#options) (added by [andyscott](https://github.com/andyscott)) you can filter data during the validation. - -This option modifies original data. - -Example: - -```javascript -var ajv = new Ajv({ removeAdditional: true }); -var schema = { - "additionalProperties": false, - "properties": { - "foo": { "type": "number" }, - "bar": { - "additionalProperties": { "type": "number" }, - "properties": { - "baz": { "type": "string" } - } - } - } -} - -var data = { - "foo": 0, - "additional1": 1, // will be removed; `additionalProperties` == false - "bar": { - "baz": "abc", - "additional2": 2 // will NOT be removed; `additionalProperties` != false - }, -} - -var validate = ajv.compile(schema); - -console.log(validate(data)); // true -console.log(data); // { "foo": 0, "bar": { "baz": "abc", "additional2": 2 } -``` - -If `removeAdditional` option in the example above were `"all"` then both `additional1` and `additional2` properties would have been removed. - -If the option were `"failing"` then property `additional1` would have been removed regardless of its value and property `additional2` would have been removed only if its value were failing the schema in the inner `additionalProperties` (so in the example above it would have stayed because it passes the schema, but any non-number would have been removed). - -__Please note__: If you use `removeAdditional` option with `additionalProperties` keyword inside `anyOf`/`oneOf` keywords your validation can fail with this schema, for example: - -```json -{ - "type": "object", - "oneOf": [ - { - "properties": { - "foo": { "type": "string" } - }, - "required": [ "foo" ], - "additionalProperties": false - }, - { - "properties": { - "bar": { "type": "integer" } - }, - "required": [ "bar" ], - "additionalProperties": false - } - ] -} -``` - -The intention of the schema above is to allow objects with either the string property "foo" or the integer property "bar", but not with both and not with any other properties. - -With the option `removeAdditional: true` the validation will pass for the object `{ "foo": "abc"}` but will fail for the object `{"bar": 1}`. It happens because while the first subschema in `oneOf` is validated, the property `bar` is removed because it is an additional property according to the standard (because it is not included in `properties` keyword in the same schema). - -While this behaviour is unexpected (issues [#129](https://github.com/epoberezkin/ajv/issues/129), [#134](https://github.com/epoberezkin/ajv/issues/134)), it is correct. To have the expected behaviour (both objects are allowed and additional properties are removed) the schema has to be refactored in this way: - -```json -{ - "type": "object", - "properties": { - "foo": { "type": "string" }, - "bar": { "type": "integer" } - }, - "additionalProperties": false, - "oneOf": [ - { "required": [ "foo" ] }, - { "required": [ "bar" ] } - ] -} -``` - -The schema above is also more efficient - it will compile into a faster function. - - -## Assigning defaults - -With [option `useDefaults`](#options) Ajv will assign values from `default` keyword in the schemas of `properties` and `items` (when it is the array of schemas) to the missing properties and items. - -This option modifies original data. - -__Please note__: by default the default value is inserted in the generated validation code as a literal (starting from v4.0), so the value inserted in the data will be the deep clone of the default in the schema. - -If you need to insert the default value in the data by reference pass the option `useDefaults: "shared"`. - -Inserting defaults by reference can be faster (in case you have an object in `default`) and it allows to have dynamic values in defaults, e.g. timestamp, without recompiling the schema. The side effect is that modifying the default value in any validated data instance will change the default in the schema and in other validated data instances. See example 3 below. - - -Example 1 (`default` in `properties`): - -```javascript -var ajv = new Ajv({ useDefaults: true }); -var schema = { - "type": "object", - "properties": { - "foo": { "type": "number" }, - "bar": { "type": "string", "default": "baz" } - }, - "required": [ "foo", "bar" ] -}; - -var data = { "foo": 1 }; - -var validate = ajv.compile(schema); - -console.log(validate(data)); // true -console.log(data); // { "foo": 1, "bar": "baz" } -``` - -Example 2 (`default` in `items`): - -```javascript -var schema = { - "type": "array", - "items": [ - { "type": "number" }, - { "type": "string", "default": "foo" } - ] -} - -var data = [ 1 ]; - -var validate = ajv.compile(schema); - -console.log(validate(data)); // true -console.log(data); // [ 1, "foo" ] -``` - -Example 3 (inserting "defaults" by reference): - -```javascript -var ajv = new Ajv({ useDefaults: 'shared' }); - -var schema = { - properties: { - foo: { - default: { bar: 1 } - } - } -} - -var validate = ajv.compile(schema); - -var data = {}; -console.log(validate(data)); // true -console.log(data); // { foo: { bar: 1 } } - -data.foo.bar = 2; - -var data2 = {}; -console.log(validate(data2)); // true -console.log(data2); // { foo: { bar: 2 } } -``` - -`default` keywords in other cases are ignored: - -- not in `properties` or `items` subschemas -- in schemas inside `anyOf`, `oneOf` and `not` (see [#42](https://github.com/epoberezkin/ajv/issues/42)) -- in `if` subschema of `switch` keyword -- in schemas generated by custom macro keywords - - -## Coercing data types - -When you are validating user inputs all your data properties are usually strings. The option `coerceTypes` allows you to have your data types coerced to the types specified in your schema `type` keywords, both to pass the validation and to use the correctly typed data afterwards. - -This option modifies original data. - -__Please note__: if you pass a scalar value to the validating function its type will be coerced and it will pass the validation, but the value of the variable you pass won't be updated because scalars are passed by value. - - -Example 1: - -```javascript -var ajv = new Ajv({ coerceTypes: true }); -var schema = { - "type": "object", - "properties": { - "foo": { "type": "number" }, - "bar": { "type": "boolean" } - }, - "required": [ "foo", "bar" ] -}; - -var data = { "foo": "1", "bar": "false" }; - -var validate = ajv.compile(schema); - -console.log(validate(data)); // true -console.log(data); // { "foo": 1, "bar": false } -``` - -Example 2 (array coercions): - -```javascript -var ajv = new Ajv({ coerceTypes: 'array' }); -var schema = { - "properties": { - "foo": { "type": "array", "items": { "type": "number" } }, - "bar": { "type": "boolean" } - } -}; - -var data = { "foo": "1", "bar": ["false"] }; - -var validate = ajv.compile(schema); - -console.log(validate(data)); // true -console.log(data); // { "foo": [1], "bar": false } -``` - -The coercion rules, as you can see from the example, are different from JavaScript both to validate user input as expected and to have the coercion reversible (to correctly validate cases where different types are defined in subschemas of "anyOf" and other compound keywords). - -See [Coercion rules](https://github.com/epoberezkin/ajv/blob/master/COERCION.md) for details. - - -## API - -##### new Ajv(Object options) -> Object - -Create Ajv instance. - - -##### .compile(Object schema) -> Function<Object data> - -Generate validating function and cache the compiled schema for future use. - -Validating function returns a boolean value. This function has properties `errors` and `schema`. Errors encountered during the last validation are assigned to `errors` property (it is assigned `null` if there was no errors). `schema` property contains the reference to the original schema. - -The schema passed to this method will be validated against meta-schema unless `validateSchema` option is false. If schema is invalid, an error will be thrown. See [options](#options). - - -##### .compileAsync(Object schema [, Boolean meta] [, Function callback]) -> Promise - -Asynchronous version of `compile` method that loads missing remote schemas using asynchronous function in `options.loadSchema`. This function returns a Promise that resolves to a validation function. An optional callback passed to `compileAsync` will be called with 2 parameters: error (or null) and validating function. The returned promise will reject (and the callback will be called with an error) when: - -- missing schema can't be loaded (`loadSchema` returns a Promise that rejects). -- a schema containing a missing reference is loaded, but the reference cannot be resolved. -- schema (or some loaded/referenced schema) is invalid. - -The function compiles schema and loads the first missing schema (or meta-schema) until all missing schemas are loaded. - -You can asynchronously compile meta-schema by passing `true` as the second parameter. - -See example in [Asynchronous compilation](#asynchronous-schema-compilation). - - -##### .validate(Object schema|String key|String ref, data) -> Boolean - -Validate data using passed schema (it will be compiled and cached). - -Instead of the schema you can use the key that was previously passed to `addSchema`, the schema id if it was present in the schema or any previously resolved reference. - -Validation errors will be available in the `errors` property of Ajv instance (`null` if there were no errors). - -__Please note__: every time this method is called the errors are overwritten so you need to copy them to another variable if you want to use them later. - -If the schema is asynchronous (has `$async` keyword on the top level) this method returns a Promise. See [Asynchronous validation](#asynchronous-validation). - - -##### .addSchema(Array<Object>|Object schema [, String key]) -> Ajv - -Add schema(s) to validator instance. This method does not compile schemas (but it still validates them). Because of that dependencies can be added in any order and circular dependencies are supported. It also prevents unnecessary compilation of schemas that are containers for other schemas but not used as a whole. - -Array of schemas can be passed (schemas should have ids), the second parameter will be ignored. - -Key can be passed that can be used to reference the schema and will be used as the schema id if there is no id inside the schema. If the key is not passed, the schema id will be used as the key. - - -Once the schema is added, it (and all the references inside it) can be referenced in other schemas and used to validate data. - -Although `addSchema` does not compile schemas, explicit compilation is not required - the schema will be compiled when it is used first time. - -By default the schema is validated against meta-schema before it is added, and if the schema does not pass validation the exception is thrown. This behaviour is controlled by `validateSchema` option. - -__Please note__: Ajv uses the [method chaining syntax](https://en.wikipedia.org/wiki/Method_chaining) for all methods with the prefix `add*` and `remove*`. -This allows you to do nice things like the following. - -```javascript -var validate = new Ajv().addSchema(schema).addFormat(name, regex).getSchema(uri); -``` - -##### .addMetaSchema(Array<Object>|Object schema [, String key]) -> Ajv - -Adds meta schema(s) that can be used to validate other schemas. That function should be used instead of `addSchema` because there may be instance options that would compile a meta schema incorrectly (at the moment it is `removeAdditional` option). - -There is no need to explicitly add draft-07 meta schema (http://json-schema.org/draft-07/schema) - it is added by default, unless option `meta` is set to `false`. You only need to use it if you have a changed meta-schema that you want to use to validate your schemas. See `validateSchema`. - - -##### .validateSchema(Object schema) -> Boolean - -Validates schema. This method should be used to validate schemas rather than `validate` due to the inconsistency of `uri` format in JSON Schema standard. - -By default this method is called automatically when the schema is added, so you rarely need to use it directly. - -If schema doesn't have `$schema` property, it is validated against draft 6 meta-schema (option `meta` should not be false). - -If schema has `$schema` property, then the schema with this id (that should be previously added) is used to validate passed schema. - -Errors will be available at `ajv.errors`. - - -##### .getSchema(String key) -> Function<Object data> - -Retrieve compiled schema previously added with `addSchema` by the key passed to `addSchema` or by its full reference (id). The returned validating function has `schema` property with the reference to the original schema. - - -##### .removeSchema([Object schema|String key|String ref|RegExp pattern]) -> Ajv - -Remove added/cached schema. Even if schema is referenced by other schemas it can be safely removed as dependent schemas have local references. - -Schema can be removed using: -- key passed to `addSchema` -- it's full reference (id) -- RegExp that should match schema id or key (meta-schemas won't be removed) -- actual schema object that will be stable-stringified to remove schema from cache - -If no parameter is passed all schemas but meta-schemas will be removed and the cache will be cleared. - - -##### .addFormat(String name, String|RegExp|Function|Object format) -> Ajv - -Add custom format to validate strings or numbers. It can also be used to replace pre-defined formats for Ajv instance. - -Strings are converted to RegExp. - -Function should return validation result as `true` or `false`. - -If object is passed it should have properties `validate`, `compare` and `async`: - -- _validate_: a string, RegExp or a function as described above. -- _compare_: an optional comparison function that accepts two strings and compares them according to the format meaning. This function is used with keywords `formatMaximum`/`formatMinimum` (defined in [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package). It should return `1` if the first value is bigger than the second value, `-1` if it is smaller and `0` if it is equal. -- _async_: an optional `true` value if `validate` is an asynchronous function; in this case it should return a promise that resolves with a value `true` or `false`. -- _type_: an optional type of data that the format applies to. It can be `"string"` (default) or `"number"` (see https://github.com/epoberezkin/ajv/issues/291#issuecomment-259923858). If the type of data is different, the validation will pass. - -Custom formats can be also added via `formats` option. - - -##### .addKeyword(String keyword, Object definition) -> Ajv - -Add custom validation keyword to Ajv instance. - -Keyword should be different from all standard JSON Schema keywords and different from previously defined keywords. There is no way to redefine keywords or to remove keyword definition from the instance. - -Keyword must start with a letter, `_` or `$`, and may continue with letters, numbers, `_`, `$`, or `-`. -It is recommended to use an application-specific prefix for keywords to avoid current and future name collisions. - -Example Keywords: -- `"xyz-example"`: valid, and uses prefix for the xyz project to avoid name collisions. -- `"example"`: valid, but not recommended as it could collide with future versions of JSON Schema etc. -- `"3-example"`: invalid as numbers are not allowed to be the first character in a keyword - -Keyword definition is an object with the following properties: - -- _type_: optional string or array of strings with data type(s) that the keyword applies to. If not present, the keyword will apply to all types. -- _validate_: validating function -- _compile_: compiling function -- _macro_: macro function -- _inline_: compiling function that returns code (as string) -- _schema_: an optional `false` value used with "validate" keyword to not pass schema -- _metaSchema_: an optional meta-schema for keyword schema -- _modifying_: `true` MUST be passed if keyword modifies data -- _valid_: pass `true`/`false` to pre-define validation result, the result returned from validation function will be ignored. This option cannot be used with macro keywords. -- _$data_: an optional `true` value to support [$data reference](#data-reference) as the value of custom keyword. The reference will be resolved at validation time. If the keyword has meta-schema it would be extended to allow $data and it will be used to validate the resolved value. Supporting $data reference requires that keyword has validating function (as the only option or in addition to compile, macro or inline function). -- _async_: an optional `true` value if the validation function is asynchronous (whether it is compiled or passed in _validate_ property); in this case it should return a promise that resolves with a value `true` or `false`. This option is ignored in case of "macro" and "inline" keywords. -- _errors_: an optional boolean indicating whether keyword returns errors. If this property is not set Ajv will determine if the errors were set in case of failed validation. - -_compile_, _macro_ and _inline_ are mutually exclusive, only one should be used at a time. _validate_ can be used separately or in addition to them to support $data reference. - -__Please note__: If the keyword is validating data type that is different from the type(s) in its definition, the validation function will not be called (and expanded macro will not be used), so there is no need to check for data type inside validation function or inside schema returned by macro function (unless you want to enforce a specific type and for some reason do not want to use a separate `type` keyword for that). In the same way as standard keywords work, if the keyword does not apply to the data type being validated, the validation of this keyword will succeed. - -See [Defining custom keywords](#defining-custom-keywords) for more details. - - -##### .getKeyword(String keyword) -> Object|Boolean - -Returns custom keyword definition, `true` for pre-defined keywords and `false` if the keyword is unknown. - - -##### .removeKeyword(String keyword) -> Ajv - -Removes custom or pre-defined keyword so you can redefine them. - -While this method can be used to extend pre-defined keywords, it can also be used to completely change their meaning - it may lead to unexpected results. - -__Please note__: schemas compiled before the keyword is removed will continue to work without changes. To recompile schemas use `removeSchema` method and compile them again. - - -##### .errorsText([Array<Object> errors [, Object options]]) -> String - -Returns the text with all errors in a String. - -Options can have properties `separator` (string used to separate errors, ", " by default) and `dataVar` (the variable name that dataPaths are prefixed with, "data" by default). - - -## Options - -Defaults: - -```javascript -{ - // validation and reporting options: - $data: false, - allErrors: false, - verbose: false, - $comment: false, // NEW in Ajv version 6.0 - jsonPointers: false, - uniqueItems: true, - unicode: true, - format: 'fast', - formats: {}, - unknownFormats: true, - schemas: {}, - logger: undefined, - // referenced schema options: - schemaId: '$id', - missingRefs: true, - extendRefs: 'ignore', // recommended 'fail' - loadSchema: undefined, // function(uri: string): Promise {} - // options to modify validated data: - removeAdditional: false, - useDefaults: false, - coerceTypes: false, - // asynchronous validation options: - transpile: undefined, // requires ajv-async package - // advanced options: - meta: true, - validateSchema: true, - addUsedSchema: true, - inlineRefs: true, - passContext: false, - loopRequired: Infinity, - ownProperties: false, - multipleOfPrecision: false, - errorDataPath: 'object', // deprecated - messages: true, - sourceCode: false, - processCode: undefined, // function (str: string): string {} - cache: new Cache, - serialize: undefined -} -``` - -##### Validation and reporting options - -- _$data_: support [$data references](#data-reference). Draft 6 meta-schema that is added by default will be extended to allow them. If you want to use another meta-schema you need to use $dataMetaSchema method to add support for $data reference. See [API](#api). -- _allErrors_: check all rules collecting all errors. Default is to return after the first error. -- _verbose_: include the reference to the part of the schema (`schema` and `parentSchema`) and validated data in errors (false by default). -- _$comment_ (NEW in Ajv version 6.0): log or pass the value of `$comment` keyword to a function. Option values: - - `false` (default): ignore $comment keyword. - - `true`: log the keyword value to console. - - function: pass the keyword value, its schema path and root schema to the specified function -- _jsonPointers_: set `dataPath` property of errors using [JSON Pointers](https://tools.ietf.org/html/rfc6901) instead of JavaScript property access notation. -- _uniqueItems_: validate `uniqueItems` keyword (true by default). -- _unicode_: calculate correct length of strings with unicode pairs (true by default). Pass `false` to use `.length` of strings that is faster, but gives "incorrect" lengths of strings with unicode pairs - each unicode pair is counted as two characters. -- _format_: formats validation mode ('fast' by default). Pass 'full' for more correct and slow validation or `false` not to validate formats at all. E.g., 25:00:00 and 2015/14/33 will be invalid time and date in 'full' mode but it will be valid in 'fast' mode. -- _formats_: an object with custom formats. Keys and values will be passed to `addFormat` method. -- _unknownFormats_: handling of unknown formats. Option values: - - `true` (default) - if an unknown format is encountered the exception is thrown during schema compilation. If `format` keyword value is [$data reference](#data-reference) and it is unknown the validation will fail. - - `[String]` - an array of unknown format names that will be ignored. This option can be used to allow usage of third party schemas with format(s) for which you don't have definitions, but still fail if another unknown format is used. If `format` keyword value is [$data reference](#data-reference) and it is not in this array the validation will fail. - - `"ignore"` - to log warning during schema compilation and always pass validation (the default behaviour in versions before 5.0.0). This option is not recommended, as it allows to mistype format name and it won't be validated without any error message. This behaviour is required by JSON Schema specification. -- _schemas_: an array or object of schemas that will be added to the instance. In case you pass the array the schemas must have IDs in them. When the object is passed the method `addSchema(value, key)` will be called for each schema in this object. -- _logger_: sets the logging method. Default is the global `console` object that should have methods `log`, `warn` and `error`. Option values: - - custom logger - it should have methods `log`, `warn` and `error`. If any of these methods is missing an exception will be thrown. - - `false` - logging is disabled. - - -##### Referenced schema options - -- _schemaId_: this option defines which keywords are used as schema URI. Option value: - - `"$id"` (default) - only use `$id` keyword as schema URI (as specified in JSON Schema draft-06/07), ignore `id` keyword (if it is present a warning will be logged). - - `"id"` - only use `id` keyword as schema URI (as specified in JSON Schema draft-04), ignore `$id` keyword (if it is present a warning will be logged). - - `"auto"` - use both `$id` and `id` keywords as schema URI. If both are present (in the same schema object) and different the exception will be thrown during schema compilation. -- _missingRefs_: handling of missing referenced schemas. Option values: - - `true` (default) - if the reference cannot be resolved during compilation the exception is thrown. The thrown error has properties `missingRef` (with hash fragment) and `missingSchema` (without it). Both properties are resolved relative to the current base id (usually schema id, unless it was substituted). - - `"ignore"` - to log error during compilation and always pass validation. - - `"fail"` - to log error and successfully compile schema but fail validation if this rule is checked. -- _extendRefs_: validation of other keywords when `$ref` is present in the schema. Option values: - - `"ignore"` (default) - when `$ref` is used other keywords are ignored (as per [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03#section-3) standard). A warning will be logged during the schema compilation. - - `"fail"` (recommended) - if other validation keywords are used together with `$ref` the exception will be thrown when the schema is compiled. This option is recommended to make sure schema has no keywords that are ignored, which can be confusing. - - `true` - validate all keywords in the schemas with `$ref` (the default behaviour in versions before 5.0.0). -- _loadSchema_: asynchronous function that will be used to load remote schemas when `compileAsync` [method](#api-compileAsync) is used and some reference is missing (option `missingRefs` should NOT be 'fail' or 'ignore'). This function should accept remote schema uri as a parameter and return a Promise that resolves to a schema. See example in [Asynchronous compilation](#asynchronous-schema-compilation). - - -##### Options to modify validated data - -- _removeAdditional_: remove additional properties - see example in [Filtering data](#filtering-data). This option is not used if schema is added with `addMetaSchema` method. Option values: - - `false` (default) - not to remove additional properties - - `"all"` - all additional properties are removed, regardless of `additionalProperties` keyword in schema (and no validation is made for them). - - `true` - only additional properties with `additionalProperties` keyword equal to `false` are removed. - - `"failing"` - additional properties that fail schema validation will be removed (where `additionalProperties` keyword is `false` or schema). -- _useDefaults_: replace missing properties and items with the values from corresponding `default` keywords. Default behaviour is to ignore `default` keywords. This option is not used if schema is added with `addMetaSchema` method. See examples in [Assigning defaults](#assigning-defaults). Option values: - - `false` (default) - do not use defaults - - `true` - insert defaults by value (safer and slower, object literal is used). - - `"shared"` - insert defaults by reference (faster). If the default is an object, it will be shared by all instances of validated data. If you modify the inserted default in the validated data, it will be modified in the schema as well. -- _coerceTypes_: change data type of data to match `type` keyword. See the example in [Coercing data types](#coercing-data-types) and [coercion rules](https://github.com/epoberezkin/ajv/blob/master/COERCION.md). Option values: - - `false` (default) - no type coercion. - - `true` - coerce scalar data types. - - `"array"` - in addition to coercions between scalar types, coerce scalar data to an array with one element and vice versa (as required by the schema). - - -##### Asynchronous validation options - -- _transpile_: Requires [ajv-async](https://github.com/epoberezkin/ajv-async) package. It determines whether Ajv transpiles compiled asynchronous validation function. Option values: - - `undefined` (default) - transpile with [nodent](https://github.com/MatAtBread/nodent) if async functions are not supported. - - `true` - always transpile with nodent. - - `false` - do not transpile; if async functions are not supported an exception will be thrown. - - -##### Advanced options - -- _meta_: add [meta-schema](http://json-schema.org/documentation.html) so it can be used by other schemas (true by default). If an object is passed, it will be used as the default meta-schema for schemas that have no `$schema` keyword. This default meta-schema MUST have `$schema` keyword. -- _validateSchema_: validate added/compiled schemas against meta-schema (true by default). `$schema` property in the schema can be http://json-schema.org/draft-07/schema or absent (draft-07 meta-schema will be used) or can be a reference to the schema previously added with `addMetaSchema` method. Option values: - - `true` (default) - if the validation fails, throw the exception. - - `"log"` - if the validation fails, log error. - - `false` - skip schema validation. -- _addUsedSchema_: by default methods `compile` and `validate` add schemas to the instance if they have `$id` (or `id`) property that doesn't start with "#". If `$id` is present and it is not unique the exception will be thrown. Set this option to `false` to skip adding schemas to the instance and the `$id` uniqueness check when these methods are used. This option does not affect `addSchema` method. -- _inlineRefs_: Affects compilation of referenced schemas. Option values: - - `true` (default) - the referenced schemas that don't have refs in them are inlined, regardless of their size - that substantially improves performance at the cost of the bigger size of compiled schema functions. - - `false` - to not inline referenced schemas (they will be compiled as separate functions). - - integer number - to limit the maximum number of keywords of the schema that will be inlined. -- _passContext_: pass validation context to custom keyword functions. If this option is `true` and you pass some context to the compiled validation function with `validate.call(context, data)`, the `context` will be available as `this` in your custom keywords. By default `this` is Ajv instance. -- _loopRequired_: by default `required` keyword is compiled into a single expression (or a sequence of statements in `allErrors` mode). In case of a very large number of properties in this keyword it may result in a very big validation function. Pass integer to set the number of properties above which `required` keyword will be validated in a loop - smaller validation function size but also worse performance. -- _ownProperties_: by default Ajv iterates over all enumerable object properties; when this option is `true` only own enumerable object properties (i.e. found directly on the object rather than on its prototype) are iterated. Contributed by @mbroadst. -- _multipleOfPrecision_: by default `multipleOf` keyword is validated by comparing the result of division with parseInt() of that result. It works for dividers that are bigger than 1. For small dividers such as 0.01 the result of the division is usually not integer (even when it should be integer, see issue [#84](https://github.com/epoberezkin/ajv/issues/84)). If you need to use fractional dividers set this option to some positive integer N to have `multipleOf` validated using this formula: `Math.abs(Math.round(division) - division) < 1e-N` (it is slower but allows for float arithmetics deviations). -- _errorDataPath_ (deprecated): set `dataPath` to point to 'object' (default) or to 'property' when validating keywords `required`, `additionalProperties` and `dependencies`. -- _messages_: Include human-readable messages in errors. `true` by default. `false` can be passed when custom messages are used (e.g. with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n)). -- _sourceCode_: add `sourceCode` property to validating function (for debugging; this code can be different from the result of toString call). -- _processCode_: an optional function to process generated code before it is passed to Function constructor. It can be used to either beautify (the validating function is generated without line-breaks) or to transpile code. Starting from version 5.0.0 this option replaced options: - - `beautify` that formatted the generated function using [js-beautify](https://github.com/beautify-web/js-beautify). If you want to beautify the generated code pass `require('js-beautify').js_beautify`. - - `transpile` that transpiled asynchronous validation function. You can still use `transpile` option with [ajv-async](https://github.com/epoberezkin/ajv-async) package. See [Asynchronous validation](#asynchronous-validation) for more information. -- _cache_: an optional instance of cache to store compiled schemas using stable-stringified schema as a key. For example, set-associative cache [sacjs](https://github.com/epoberezkin/sacjs) can be used. If not passed then a simple hash is used which is good enough for the common use case (a limited number of statically defined schemas). Cache should have methods `put(key, value)`, `get(key)`, `del(key)` and `clear()`. -- _serialize_: an optional function to serialize schema to cache key. Pass `false` to use schema itself as a key (e.g., if WeakMap used as a cache). By default [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used. - - -## Validation errors - -In case of validation failure, Ajv assigns the array of errors to `errors` property of validation function (or to `errors` property of Ajv instance when `validate` or `validateSchema` methods were called). In case of [asynchronous validation](#asynchronous-validation), the returned promise is rejected with exception `Ajv.ValidationError` that has `errors` property. - - -### Error objects - -Each error is an object with the following properties: - -- _keyword_: validation keyword. -- _dataPath_: the path to the part of the data that was validated. By default `dataPath` uses JavaScript property access notation (e.g., `".prop[1].subProp"`). When the option `jsonPointers` is true (see [Options](#options)) `dataPath` will be set using JSON pointer standard (e.g., `"/prop/1/subProp"`). -- _schemaPath_: the path (JSON-pointer as a URI fragment) to the schema of the keyword that failed validation. -- _params_: the object with the additional information about error that can be used to create custom error messages (e.g., using [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package). See below for parameters set by all keywords. -- _message_: the standard error message (can be excluded with option `messages` set to false). -- _schema_: the schema of the keyword (added with `verbose` option). -- _parentSchema_: the schema containing the keyword (added with `verbose` option) -- _data_: the data validated by the keyword (added with `verbose` option). - -__Please note__: `propertyNames` keyword schema validation errors have an additional property `propertyName`, `dataPath` points to the object. After schema validation for each property name, if it is invalid an additional error is added with the property `keyword` equal to `"propertyNames"`. - - -### Error parameters - -Properties of `params` object in errors depend on the keyword that failed validation. - -- `maxItems`, `minItems`, `maxLength`, `minLength`, `maxProperties`, `minProperties` - property `limit` (number, the schema of the keyword). -- `additionalItems` - property `limit` (the maximum number of allowed items in case when `items` keyword is an array of schemas and `additionalItems` is false). -- `additionalProperties` - property `additionalProperty` (the property not used in `properties` and `patternProperties` keywords). -- `dependencies` - properties: - - `property` (dependent property), - - `missingProperty` (required missing dependency - only the first one is reported currently) - - `deps` (required dependencies, comma separated list as a string), - - `depsCount` (the number of required dependencies). -- `format` - property `format` (the schema of the keyword). -- `maximum`, `minimum` - properties: - - `limit` (number, the schema of the keyword), - - `exclusive` (boolean, the schema of `exclusiveMaximum` or `exclusiveMinimum`), - - `comparison` (string, comparison operation to compare the data to the limit, with the data on the left and the limit on the right; can be "<", "<=", ">", ">=") -- `multipleOf` - property `multipleOf` (the schema of the keyword) -- `pattern` - property `pattern` (the schema of the keyword) -- `required` - property `missingProperty` (required property that is missing). -- `propertyNames` - property `propertyName` (an invalid property name). -- `patternRequired` (in ajv-keywords) - property `missingPattern` (required pattern that did not match any property). -- `type` - property `type` (required type(s), a string, can be a comma-separated list) -- `uniqueItems` - properties `i` and `j` (indices of duplicate items). -- `const` - property `allowedValue` pointing to the value (the schema of the keyword). -- `enum` - property `allowedValues` pointing to the array of values (the schema of the keyword). -- `$ref` - property `ref` with the referenced schema URI. -- `oneOf` - property `passingSchemas` (array of indices of passing schemas, null if no schema passes). -- custom keywords (in case keyword definition doesn't create errors) - property `keyword` (the keyword name). - - -## Plugins - -Ajv can be extended with plugins that add custom keywords, formats or functions to process generated code. When such plugin is published as npm package it is recommended that it follows these conventions: - -- it exports a function -- this function accepts ajv instance as the first parameter and returns the same instance to allow chaining -- this function can accept an optional configuration as the second parameter - -If you have published a useful plugin please submit a PR to add it to the next section. - - -## Related packages - -- [ajv-async](https://github.com/epoberezkin/ajv-async) - plugin to configure async validation mode -- [ajv-bsontype](https://github.com/BoLaMN/ajv-bsontype) - plugin to validate mongodb's bsonType formats -- [ajv-cli](https://github.com/jessedc/ajv-cli) - command line interface -- [ajv-errors](https://github.com/epoberezkin/ajv-errors) - plugin for custom error messages -- [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) - internationalised error messages -- [ajv-istanbul](https://github.com/epoberezkin/ajv-istanbul) - plugin to instrument generated validation code to measure test coverage of your schemas -- [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) - plugin with custom validation keywords (if/then/else, select, typeof, etc.) -- [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) - plugin with keywords $merge and $patch -- [ajv-pack](https://github.com/epoberezkin/ajv-pack) - produces a compact module exporting validation functions - - -## Some packages using Ajv - -- [webpack](https://github.com/webpack/webpack) - a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser -- [jsonscript-js](https://github.com/JSONScript/jsonscript-js) - the interpreter for [JSONScript](http://www.jsonscript.org) - scripted processing of existing endpoints and services -- [osprey-method-handler](https://github.com/mulesoft-labs/osprey-method-handler) - Express middleware for validating requests and responses based on a RAML method object, used in [osprey](https://github.com/mulesoft/osprey) - validating API proxy generated from a RAML definition -- [har-validator](https://github.com/ahmadnassri/har-validator) - HTTP Archive (HAR) validator -- [jsoneditor](https://github.com/josdejong/jsoneditor) - a web-based tool to view, edit, format, and validate JSON http://jsoneditoronline.org -- [JSON Schema Lint](https://github.com/nickcmaynard/jsonschemalint) - a web tool to validate JSON/YAML document against a single JSON Schema http://jsonschemalint.com -- [objection](https://github.com/vincit/objection.js) - SQL-friendly ORM for Node.js -- [table](https://github.com/gajus/table) - formats data into a string table -- [ripple-lib](https://github.com/ripple/ripple-lib) - a JavaScript API for interacting with [Ripple](https://ripple.com) in Node.js and the browser -- [restbase](https://github.com/wikimedia/restbase) - distributed storage with REST API & dispatcher for backend services built to provide a low-latency & high-throughput API for Wikipedia / Wikimedia content -- [hippie-swagger](https://github.com/CacheControl/hippie-swagger) - [Hippie](https://github.com/vesln/hippie) wrapper that provides end to end API testing with swagger validation -- [react-form-controlled](https://github.com/seeden/react-form-controlled) - React controlled form components with validation -- [rabbitmq-schema](https://github.com/tjmehta/rabbitmq-schema) - a schema definition module for RabbitMQ graphs and messages -- [@query/schema](https://www.npmjs.com/package/@query/schema) - stream filtering with a URI-safe query syntax parsing to JSON Schema -- [chai-ajv-json-schema](https://github.com/peon374/chai-ajv-json-schema) - chai plugin to us JSON Schema with expect in mocha tests -- [grunt-jsonschema-ajv](https://github.com/SignpostMarv/grunt-jsonschema-ajv) - Grunt plugin for validating files against JSON Schema -- [extract-text-webpack-plugin](https://github.com/webpack-contrib/extract-text-webpack-plugin) - extract text from bundle into a file -- [electron-builder](https://github.com/electron-userland/electron-builder) - a solution to package and build a ready for distribution Electron app -- [addons-linter](https://github.com/mozilla/addons-linter) - Mozilla Add-ons Linter -- [gh-pages-generator](https://github.com/epoberezkin/gh-pages-generator) - multi-page site generator converting markdown files to GitHub pages -- [ESLint](https://github.com/eslint/eslint) - the pluggable linting utility for JavaScript and JSX - - -## Tests - -``` -npm install -git submodule update --init -npm test -``` - -## Contributing - -All validation functions are generated using doT templates in [dot](https://github.com/epoberezkin/ajv/tree/master/lib/dot) folder. Templates are precompiled so doT is not a run-time dependency. - -`npm run build` - compiles templates to [dotjs](https://github.com/epoberezkin/ajv/tree/master/lib/dotjs) folder. - -`npm run watch` - automatically compiles templates when files in dot folder change - -Please see [Contributing guidelines](https://github.com/epoberezkin/ajv/blob/master/CONTRIBUTING.md) - - -## Changes history - -See https://github.com/epoberezkin/ajv/releases - -__Please note__: [Changes in version 6.0.0](https://github.com/epoberezkin/ajv/releases/tag/v6.0.0). - -[Version 5.0.0](https://github.com/epoberezkin/ajv/releases/tag/5.0.0). - -[Version 4.0.0](https://github.com/epoberezkin/ajv/releases/tag/4.0.0). - -[Version 3.0.0](https://github.com/epoberezkin/ajv/releases/tag/3.0.0). - -[Version 2.0.0](https://github.com/epoberezkin/ajv/releases/tag/2.0.0). - - -## License - -[MIT](https://github.com/epoberezkin/ajv/blob/master/LICENSE) diff --git a/node_modules/ajv/dist/ajv.bundle.js b/node_modules/ajv/dist/ajv.bundle.js deleted file mode 100644 index 5953a47..0000000 --- a/node_modules/ajv/dist/ajv.bundle.js +++ /dev/null @@ -1,7030 +0,0 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Ajv = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i; -// For the source: https://gist.github.com/dperini/729294 -// For test cases: https://mathiasbynens.be/demo/url-regex -// @todo Delete current URL in favour of the commented out URL rule when this issue is fixed https://github.com/eslint/eslint/issues/7983. -// var URL = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu; -var URL = /^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i; -var UUID = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i; -var JSON_POINTER = /^(?:\/(?:[^~/]|~0|~1)*)*$/; -var JSON_POINTER_URI_FRAGMENT = /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i; -var RELATIVE_JSON_POINTER = /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/; - - -module.exports = formats; - -function formats(mode) { - mode = mode == 'full' ? 'full' : 'fast'; - return util.copy(formats[mode]); -} - - -formats.fast = { - // date: http://tools.ietf.org/html/rfc3339#section-5.6 - date: /^\d\d\d\d-[0-1]\d-[0-3]\d$/, - // date-time: http://tools.ietf.org/html/rfc3339#section-5.6 - time: /^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i, - 'date-time': /^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i, - // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js - uri: /^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i, - 'uri-reference': /^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i, - 'uri-template': URITEMPLATE, - url: URL, - // email (sources from jsen validator): - // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363 - // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'willful violation') - email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i, - hostname: HOSTNAME, - // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html - ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/, - // optimized http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses - ipv6: /^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i, - regex: regex, - // uuid: http://tools.ietf.org/html/rfc4122 - uuid: UUID, - // JSON-pointer: https://tools.ietf.org/html/rfc6901 - // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A - 'json-pointer': JSON_POINTER, - 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT, - // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00 - 'relative-json-pointer': RELATIVE_JSON_POINTER -}; - - -formats.full = { - date: date, - time: time, - 'date-time': date_time, - uri: uri, - 'uri-reference': URIREF, - 'uri-template': URITEMPLATE, - url: URL, - email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i, - hostname: hostname, - ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/, - ipv6: /^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i, - regex: regex, - uuid: UUID, - 'json-pointer': JSON_POINTER, - 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT, - 'relative-json-pointer': RELATIVE_JSON_POINTER -}; - - -function isLeapYear(year) { - // https://tools.ietf.org/html/rfc3339#appendix-C - return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); -} - - -function date(str) { - // full-date from http://tools.ietf.org/html/rfc3339#section-5.6 - var matches = str.match(DATE); - if (!matches) return false; - - var year = +matches[1]; - var month = +matches[2]; - var day = +matches[3]; - - return month >= 1 && month <= 12 && day >= 1 && - day <= (month == 2 && isLeapYear(year) ? 29 : DAYS[month]); -} - - -function time(str, full) { - var matches = str.match(TIME); - if (!matches) return false; - - var hour = matches[1]; - var minute = matches[2]; - var second = matches[3]; - var timeZone = matches[5]; - return ((hour <= 23 && minute <= 59 && second <= 59) || - (hour == 23 && minute == 59 && second == 60)) && - (!full || timeZone); -} - - -var DATE_TIME_SEPARATOR = /t|\s/i; -function date_time(str) { - // http://tools.ietf.org/html/rfc3339#section-5.6 - var dateTime = str.split(DATE_TIME_SEPARATOR); - return dateTime.length == 2 && date(dateTime[0]) && time(dateTime[1], true); -} - - -function hostname(str) { - // https://tools.ietf.org/html/rfc1034#section-3.5 - // https://tools.ietf.org/html/rfc1123#section-2 - return str.length <= 255 && HOSTNAME.test(str); -} - - -var NOT_URI_FRAGMENT = /\/|:/; -function uri(str) { - // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required "." - return NOT_URI_FRAGMENT.test(str) && URI.test(str); -} - - -var Z_ANCHOR = /[^\\]\\Z/; -function regex(str) { - if (Z_ANCHOR.test(str)) return false; - try { - new RegExp(str); - return true; - } catch(e) { - return false; - } -} - -},{"./util":10}],5:[function(require,module,exports){ -'use strict'; - -var resolve = require('./resolve') - , util = require('./util') - , errorClasses = require('./error_classes') - , stableStringify = require('fast-json-stable-stringify'); - -var validateGenerator = require('../dotjs/validate'); - -/** - * Functions below are used inside compiled validations function - */ - -var ucs2length = util.ucs2length; -var equal = require('fast-deep-equal'); - -// this error is thrown by async schemas to return validation errors via exception -var ValidationError = errorClasses.Validation; - -module.exports = compile; - - -/** - * Compiles schema to validation function - * @this Ajv - * @param {Object} schema schema object - * @param {Object} root object with information about the root schema for this schema - * @param {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution - * @param {String} baseId base ID for IDs in the schema - * @return {Function} validation function - */ -function compile(schema, root, localRefs, baseId) { - /* jshint validthis: true, evil: true */ - /* eslint no-shadow: 0 */ - var self = this - , opts = this._opts - , refVal = [ undefined ] - , refs = {} - , patterns = [] - , patternsHash = {} - , defaults = [] - , defaultsHash = {} - , customRules = []; - - root = root || { schema: schema, refVal: refVal, refs: refs }; - - var c = checkCompiling.call(this, schema, root, baseId); - var compilation = this._compilations[c.index]; - if (c.compiling) return (compilation.callValidate = callValidate); - - var formats = this._formats; - var RULES = this.RULES; - - try { - var v = localCompile(schema, root, localRefs, baseId); - compilation.validate = v; - var cv = compilation.callValidate; - if (cv) { - cv.schema = v.schema; - cv.errors = null; - cv.refs = v.refs; - cv.refVal = v.refVal; - cv.root = v.root; - cv.$async = v.$async; - if (opts.sourceCode) cv.source = v.source; - } - return v; - } finally { - endCompiling.call(this, schema, root, baseId); - } - - /* @this {*} - custom context, see passContext option */ - function callValidate() { - /* jshint validthis: true */ - var validate = compilation.validate; - var result = validate.apply(this, arguments); - callValidate.errors = validate.errors; - return result; - } - - function localCompile(_schema, _root, localRefs, baseId) { - var isRoot = !_root || (_root && _root.schema == _schema); - if (_root.schema != root.schema) - return compile.call(self, _schema, _root, localRefs, baseId); - - var $async = _schema.$async === true; - - var sourceCode = validateGenerator({ - isTop: true, - schema: _schema, - isRoot: isRoot, - baseId: baseId, - root: _root, - schemaPath: '', - errSchemaPath: '#', - errorPath: '""', - MissingRefError: errorClasses.MissingRef, - RULES: RULES, - validate: validateGenerator, - util: util, - resolve: resolve, - resolveRef: resolveRef, - usePattern: usePattern, - useDefault: useDefault, - useCustomRule: useCustomRule, - opts: opts, - formats: formats, - logger: self.logger, - self: self - }); - - sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode) - + vars(defaults, defaultCode) + vars(customRules, customRuleCode) - + sourceCode; - - if (opts.processCode) sourceCode = opts.processCode(sourceCode); - // console.log('\n\n\n *** \n', JSON.stringify(sourceCode)); - var validate; - try { - var makeValidate = new Function( - 'self', - 'RULES', - 'formats', - 'root', - 'refVal', - 'defaults', - 'customRules', - 'equal', - 'ucs2length', - 'ValidationError', - sourceCode - ); - - validate = makeValidate( - self, - RULES, - formats, - root, - refVal, - defaults, - customRules, - equal, - ucs2length, - ValidationError - ); - - refVal[0] = validate; - } catch(e) { - self.logger.error('Error compiling schema, function code:', sourceCode); - throw e; - } - - validate.schema = _schema; - validate.errors = null; - validate.refs = refs; - validate.refVal = refVal; - validate.root = isRoot ? validate : _root; - if ($async) validate.$async = true; - if (opts.sourceCode === true) { - validate.source = { - code: sourceCode, - patterns: patterns, - defaults: defaults - }; - } - - return validate; - } - - function resolveRef(baseId, ref, isRoot) { - ref = resolve.url(baseId, ref); - var refIndex = refs[ref]; - var _refVal, refCode; - if (refIndex !== undefined) { - _refVal = refVal[refIndex]; - refCode = 'refVal[' + refIndex + ']'; - return resolvedRef(_refVal, refCode); - } - if (!isRoot && root.refs) { - var rootRefId = root.refs[ref]; - if (rootRefId !== undefined) { - _refVal = root.refVal[rootRefId]; - refCode = addLocalRef(ref, _refVal); - return resolvedRef(_refVal, refCode); - } - } - - refCode = addLocalRef(ref); - var v = resolve.call(self, localCompile, root, ref); - if (v === undefined) { - var localSchema = localRefs && localRefs[ref]; - if (localSchema) { - v = resolve.inlineRef(localSchema, opts.inlineRefs) - ? localSchema - : compile.call(self, localSchema, root, localRefs, baseId); - } - } - - if (v === undefined) { - removeLocalRef(ref); - } else { - replaceLocalRef(ref, v); - return resolvedRef(v, refCode); - } - } - - function addLocalRef(ref, v) { - var refId = refVal.length; - refVal[refId] = v; - refs[ref] = refId; - return 'refVal' + refId; - } - - function removeLocalRef(ref) { - delete refs[ref]; - } - - function replaceLocalRef(ref, v) { - var refId = refs[ref]; - refVal[refId] = v; - } - - function resolvedRef(refVal, code) { - return typeof refVal == 'object' || typeof refVal == 'boolean' - ? { code: code, schema: refVal, inline: true } - : { code: code, $async: refVal && !!refVal.$async }; - } - - function usePattern(regexStr) { - var index = patternsHash[regexStr]; - if (index === undefined) { - index = patternsHash[regexStr] = patterns.length; - patterns[index] = regexStr; - } - return 'pattern' + index; - } - - function useDefault(value) { - switch (typeof value) { - case 'boolean': - case 'number': - return '' + value; - case 'string': - return util.toQuotedString(value); - case 'object': - if (value === null) return 'null'; - var valueStr = stableStringify(value); - var index = defaultsHash[valueStr]; - if (index === undefined) { - index = defaultsHash[valueStr] = defaults.length; - defaults[index] = value; - } - return 'default' + index; - } - } - - function useCustomRule(rule, schema, parentSchema, it) { - var validateSchema = rule.definition.validateSchema; - if (validateSchema && self._opts.validateSchema !== false) { - var valid = validateSchema(schema); - if (!valid) { - var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors); - if (self._opts.validateSchema == 'log') self.logger.error(message); - else throw new Error(message); - } - } - - var compile = rule.definition.compile - , inline = rule.definition.inline - , macro = rule.definition.macro; - - var validate; - if (compile) { - validate = compile.call(self, schema, parentSchema, it); - } else if (macro) { - validate = macro.call(self, schema, parentSchema, it); - if (opts.validateSchema !== false) self.validateSchema(validate, true); - } else if (inline) { - validate = inline.call(self, it, rule.keyword, schema, parentSchema); - } else { - validate = rule.definition.validate; - if (!validate) return; - } - - if (validate === undefined) - throw new Error('custom keyword "' + rule.keyword + '"failed to compile'); - - var index = customRules.length; - customRules[index] = validate; - - return { - code: 'customRule' + index, - validate: validate - }; - } -} - - -/** - * Checks if the schema is currently compiled - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - * @return {Object} object with properties "index" (compilation index) and "compiling" (boolean) - */ -function checkCompiling(schema, root, baseId) { - /* jshint validthis: true */ - var index = compIndex.call(this, schema, root, baseId); - if (index >= 0) return { index: index, compiling: true }; - index = this._compilations.length; - this._compilations[index] = { - schema: schema, - root: root, - baseId: baseId - }; - return { index: index, compiling: false }; -} - - -/** - * Removes the schema from the currently compiled list - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - */ -function endCompiling(schema, root, baseId) { - /* jshint validthis: true */ - var i = compIndex.call(this, schema, root, baseId); - if (i >= 0) this._compilations.splice(i, 1); -} - - -/** - * Index of schema compilation in the currently compiled list - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - * @return {Integer} compilation index - */ -function compIndex(schema, root, baseId) { - /* jshint validthis: true */ - for (var i=0; i= 0xD800 && value <= 0xDBFF && pos < len) { - // high surrogate, and there is a next character - value = str.charCodeAt(pos); - if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate - } - } - return length; -}; - -},{}],10:[function(require,module,exports){ -'use strict'; - - -module.exports = { - copy: copy, - checkDataType: checkDataType, - checkDataTypes: checkDataTypes, - coerceToTypes: coerceToTypes, - toHash: toHash, - getProperty: getProperty, - escapeQuotes: escapeQuotes, - equal: require('fast-deep-equal'), - ucs2length: require('./ucs2length'), - varOccurences: varOccurences, - varReplace: varReplace, - cleanUpCode: cleanUpCode, - finalCleanUpCode: finalCleanUpCode, - schemaHasRules: schemaHasRules, - schemaHasRulesExcept: schemaHasRulesExcept, - toQuotedString: toQuotedString, - getPathExpr: getPathExpr, - getPath: getPath, - getData: getData, - unescapeFragment: unescapeFragment, - unescapeJsonPointer: unescapeJsonPointer, - escapeFragment: escapeFragment, - escapeJsonPointer: escapeJsonPointer -}; - - -function copy(o, to) { - to = to || {}; - for (var key in o) to[key] = o[key]; - return to; -} - - -function checkDataType(dataType, data, negate) { - var EQUAL = negate ? ' !== ' : ' === ' - , AND = negate ? ' || ' : ' && ' - , OK = negate ? '!' : '' - , NOT = negate ? '' : '!'; - switch (dataType) { - case 'null': return data + EQUAL + 'null'; - case 'array': return OK + 'Array.isArray(' + data + ')'; - case 'object': return '(' + OK + data + AND + - 'typeof ' + data + EQUAL + '"object"' + AND + - NOT + 'Array.isArray(' + data + '))'; - case 'integer': return '(typeof ' + data + EQUAL + '"number"' + AND + - NOT + '(' + data + ' % 1)' + - AND + data + EQUAL + data + ')'; - default: return 'typeof ' + data + EQUAL + '"' + dataType + '"'; - } -} - - -function checkDataTypes(dataTypes, data) { - switch (dataTypes.length) { - case 1: return checkDataType(dataTypes[0], data, true); - default: - var code = ''; - var types = toHash(dataTypes); - if (types.array && types.object) { - code = types.null ? '(': '(!' + data + ' || '; - code += 'typeof ' + data + ' !== "object")'; - delete types.null; - delete types.array; - delete types.object; - } - if (types.number) delete types.integer; - for (var t in types) - code += (code ? ' && ' : '' ) + checkDataType(t, data, true); - - return code; - } -} - - -var COERCE_TO_TYPES = toHash([ 'string', 'number', 'integer', 'boolean', 'null' ]); -function coerceToTypes(optionCoerceTypes, dataTypes) { - if (Array.isArray(dataTypes)) { - var types = []; - for (var i=0; i= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl); - return paths[lvl - up]; - } - - if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl); - data = 'data' + ((lvl - up) || ''); - if (!jsonPointer) return data; - } - - var expr = data; - var segments = jsonPointer.split('/'); - for (var i=0; i', - $notOp = $isMax ? '>' : '<', - $errorKeyword = undefined; - if ($isDataExcl) { - var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr), - $exclusive = 'exclusive' + $lvl, - $exclType = 'exclType' + $lvl, - $exclIsNumber = 'exclIsNumber' + $lvl, - $opExpr = 'op' + $lvl, - $opStr = '\' + ' + $opExpr + ' + \''; - out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; '; - $schemaValueExcl = 'schemaExcl' + $lvl; - out += ' var ' + ($exclusive) + '; var ' + ($exclType) + ' = typeof ' + ($schemaValueExcl) + '; if (' + ($exclType) + ' != \'boolean\' && ' + ($exclType) + ' != \'undefined\' && ' + ($exclType) + ' != \'number\') { '; - var $errorKeyword = $exclusiveKeyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_exclusiveLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'' + ($exclusiveKeyword) + ' should be boolean\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($exclType) + ' == \'number\' ? ( (' + ($exclusive) + ' = ' + ($schemaValue) + ' === undefined || ' + ($schemaValueExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ') ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValueExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) : ( (' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true) ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValue) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \'' + ($op) + '\' : \'' + ($op) + '=\'; '; - if ($schema === undefined) { - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $schemaValue = $schemaValueExcl; - $isData = $isDataExcl; - } - } else { - var $exclIsNumber = typeof $schemaExcl == 'number', - $opStr = $op; - if ($exclIsNumber && $isData) { - var $opExpr = '\'' + $opStr + '\''; - out += ' if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ( ' + ($schemaValue) + ' === undefined || ' + ($schemaExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ' ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { '; - } else { - if ($exclIsNumber && $schema === undefined) { - $exclusive = true; - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $schemaValue = $schemaExcl; - $notOp += '='; - } else { - if ($exclIsNumber) $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema); - if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) { - $exclusive = true; - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $notOp += '='; - } else { - $exclusive = false; - $opStr += '='; - } - } - var $opExpr = '\'' + $opStr + '\''; - out += ' if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' || ' + ($data) + ' !== ' + ($data) + ') { '; - } - } - $errorKeyword = $errorKeyword || $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: ' + ($schemaValue) + ', exclusive: ' + ($exclusive) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be ' + ($opStr) + ' '; - if ($isData) { - out += '\' + ' + ($schemaValue); - } else { - out += '' + ($schemaValue) + '\''; - } - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],13:[function(require,module,exports){ -'use strict'; -module.exports = function generate__limitItems(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxItems' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have '; - if ($keyword == 'maxItems') { - out += 'more'; - } else { - out += 'fewer'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' items\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],14:[function(require,module,exports){ -'use strict'; -module.exports = function generate__limitLength(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxLength' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - if (it.opts.unicode === false) { - out += ' ' + ($data) + '.length '; - } else { - out += ' ucs2length(' + ($data) + ') '; - } - out += ' ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitLength') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be '; - if ($keyword == 'maxLength') { - out += 'longer'; - } else { - out += 'shorter'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' characters\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],15:[function(require,module,exports){ -'use strict'; -module.exports = function generate__limitProperties(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxProperties' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have '; - if ($keyword == 'maxProperties') { - out += 'more'; - } else { - out += 'fewer'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' properties\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],16:[function(require,module,exports){ -'use strict'; -module.exports = function generate_allOf(it, $keyword, $ruleType) { - var out = ' '; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $currentBaseId = $it.baseId, - $allSchemasEmpty = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $allSchemasEmpty = false; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if ($breakOnError) { - if ($allSchemasEmpty) { - out += ' if (true) { '; - } else { - out += ' ' + ($closingBraces.slice(0, -1)) + ' '; - } - } - out = it.util.cleanUpCode(out); - return out; -} - -},{}],17:[function(require,module,exports){ -'use strict'; -module.exports = function generate_anyOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $noEmptySchema = $schema.every(function($sch) { - return it.util.schemaHasRules($sch, it.RULES.all); - }); - if ($noEmptySchema) { - var $currentBaseId = $it.baseId; - out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { '; - $closingBraces += '}'; - } - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('anyOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should match some schema in anyOf\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - if (it.opts.allErrors) { - out += ' } '; - } - out = it.util.cleanUpCode(out); - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} - -},{}],18:[function(require,module,exports){ -'use strict'; -module.exports = function generate_comment(it, $keyword, $ruleType) { - var out = ' '; - var $schema = it.schema[$keyword]; - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $comment = it.util.toQuotedString($schema); - if (it.opts.$comment === true) { - out += ' console.log(' + ($comment) + ');'; - } else if (typeof it.opts.$comment == 'function') { - out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);'; - } - return out; -} - -},{}],19:[function(require,module,exports){ -'use strict'; -module.exports = function generate_const(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - if (!$isData) { - out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';'; - } - out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('const') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValue: schema' + ($lvl) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be equal to constant\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' }'; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],20:[function(require,module,exports){ -'use strict'; -module.exports = function generate_contains(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $idx = 'i' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $currentBaseId = it.baseId, - $nonEmptySchema = it.util.schemaHasRules($schema, it.RULES.all); - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if ($nonEmptySchema) { - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' if (' + ($nextValid) + ') break; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {'; - } else { - out += ' if (' + ($data) + '.length == 0) {'; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('contains') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should contain a valid item\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - if ($nonEmptySchema) { - out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - } - if (it.opts.allErrors) { - out += ' } '; - } - out = it.util.cleanUpCode(out); - return out; -} - -},{}],21:[function(require,module,exports){ -'use strict'; -module.exports = function generate_custom(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $rule = this, - $definition = 'definition' + $lvl, - $rDef = $rule.definition, - $closingBraces = ''; - var $compile, $inline, $macro, $ruleValidate, $validateCode; - if ($isData && $rDef.$data) { - $validateCode = 'keywordValidate' + $lvl; - var $validateSchema = $rDef.validateSchema; - out += ' var ' + ($definition) + ' = RULES.custom[\'' + ($keyword) + '\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;'; - } else { - $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it); - if (!$ruleValidate) return; - $schemaValue = 'validate.schema' + $schemaPath; - $validateCode = $ruleValidate.code; - $compile = $rDef.compile; - $inline = $rDef.inline; - $macro = $rDef.macro; - } - var $ruleErrs = $validateCode + '.errors', - $i = 'i' + $lvl, - $ruleErr = 'ruleErr' + $lvl, - $asyncKeyword = $rDef.async; - if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema'); - if (!($inline || $macro)) { - out += '' + ($ruleErrs) + ' = null;'; - } - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if ($isData && $rDef.$data) { - $closingBraces += '}'; - out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { '; - if ($validateSchema) { - $closingBraces += '}'; - out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { '; - } - } - if ($inline) { - if ($rDef.statements) { - out += ' ' + ($ruleValidate.validate) + ' '; - } else { - out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; '; - } - } else if ($macro) { - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - $it.schema = $ruleValidate.validate; - $it.schemaPath = ''; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var $code = it.validate($it).replace(/validate\.schema/g, $validateCode); - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($code); - } else { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; - out += ' ' + ($validateCode) + '.call( '; - if (it.opts.passContext) { - out += 'this'; - } else { - out += 'self'; - } - if ($compile || $rDef.schema === false) { - out += ' , ' + ($data) + ' '; - } else { - out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' '; - } - out += ' , (dataPath || \'\')'; - if (it.errorPath != '""') { - out += ' + ' + (it.errorPath); - } - var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData', - $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty'; - out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) '; - var def_callRuleValidate = out; - out = $$outStack.pop(); - if ($rDef.errors === false) { - out += ' ' + ($valid) + ' = '; - if ($asyncKeyword) { - out += 'await '; - } - out += '' + (def_callRuleValidate) + '; '; - } else { - if ($asyncKeyword) { - $ruleErrs = 'customErrors' + $lvl; - out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = await ' + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } '; - } else { - out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; '; - } - } - } - if ($rDef.modifying) { - out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];'; - } - out += '' + ($closingBraces); - if ($rDef.valid) { - if ($breakOnError) { - out += ' if (true) { '; - } - } else { - out += ' if ( '; - if ($rDef.valid === undefined) { - out += ' !'; - if ($macro) { - out += '' + ($nextValid); - } else { - out += '' + ($valid); - } - } else { - out += ' ' + (!$rDef.valid) + ' '; - } - out += ') { '; - $errorKeyword = $rule.keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'custom') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \'' + ($rule.keyword) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should pass "' + ($rule.keyword) + '" keyword validation\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - var def_customError = out; - out = $$outStack.pop(); - if ($inline) { - if ($rDef.errors) { - if ($rDef.errors != 'full') { - out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '= 0) { - if ($breakOnError) { - out += ' if (true) { '; - } - return out; - } else { - throw new Error('unknown format "' + $schema + '" is used in schema at path "' + it.errSchemaPath + '"'); - } - } - var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate; - var $formatType = $isObject && $format.type || 'string'; - if ($isObject) { - var $async = $format.async === true; - $format = $format.validate; - } - if ($formatType != $ruleType) { - if ($breakOnError) { - out += ' if (true) { '; - } - return out; - } - if ($async) { - if (!it.async) throw new Error('async format in sync schema'); - var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate'; - out += ' if (!(await ' + ($formatRef) + '(' + ($data) + '))) { '; - } else { - out += ' if (! '; - var $formatRef = 'formats' + it.util.getProperty($schema); - if ($isObject) $formatRef += '.validate'; - if (typeof $format == 'function') { - out += ' ' + ($formatRef) + '(' + ($data) + ') '; - } else { - out += ' ' + ($formatRef) + '.test(' + ($data) + ') '; - } - out += ') { '; - } - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('format') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match format "'; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + (it.util.escapeQuotes($schema)); - } - out += '"\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],25:[function(require,module,exports){ -'use strict'; -module.exports = function generate_if(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - $it.level++; - var $nextValid = 'valid' + $it.level; - var $thenSch = it.schema['then'], - $elseSch = it.schema['else'], - $thenPresent = $thenSch !== undefined && it.util.schemaHasRules($thenSch, it.RULES.all), - $elsePresent = $elseSch !== undefined && it.util.schemaHasRules($elseSch, it.RULES.all), - $currentBaseId = $it.baseId; - if ($thenPresent || $elsePresent) { - var $ifClause; - $it.createErrors = false; - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = true; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - $it.createErrors = true; - out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - if ($thenPresent) { - out += ' if (' + ($nextValid) + ') { '; - $it.schema = it.schema['then']; - $it.schemaPath = it.schemaPath + '.then'; - $it.errSchemaPath = it.errSchemaPath + '/then'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($nextValid) + '; '; - if ($thenPresent && $elsePresent) { - $ifClause = 'ifClause' + $lvl; - out += ' var ' + ($ifClause) + ' = \'then\'; '; - } else { - $ifClause = '\'then\''; - } - out += ' } '; - if ($elsePresent) { - out += ' else { '; - } - } else { - out += ' if (!' + ($nextValid) + ') { '; - } - if ($elsePresent) { - $it.schema = it.schema['else']; - $it.schemaPath = it.schemaPath + '.else'; - $it.errSchemaPath = it.errSchemaPath + '/else'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($nextValid) + '; '; - if ($thenPresent && $elsePresent) { - $ifClause = 'ifClause' + $lvl; - out += ' var ' + ($ifClause) + ' = \'else\'; '; - } else { - $ifClause = '\'else\''; - } - out += ' } '; - } - out += ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('if') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { failingKeyword: ' + ($ifClause) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match "\' + ' + ($ifClause) + ' + \'" schema\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - out = it.util.cleanUpCode(out); - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} - -},{}],26:[function(require,module,exports){ -'use strict'; - -//all requires must be explicit because browserify won't work with dynamic requires -module.exports = { - '$ref': require('./ref'), - allOf: require('./allOf'), - anyOf: require('./anyOf'), - '$comment': require('./comment'), - const: require('./const'), - contains: require('./contains'), - dependencies: require('./dependencies'), - 'enum': require('./enum'), - format: require('./format'), - 'if': require('./if'), - items: require('./items'), - maximum: require('./_limit'), - minimum: require('./_limit'), - maxItems: require('./_limitItems'), - minItems: require('./_limitItems'), - maxLength: require('./_limitLength'), - minLength: require('./_limitLength'), - maxProperties: require('./_limitProperties'), - minProperties: require('./_limitProperties'), - multipleOf: require('./multipleOf'), - not: require('./not'), - oneOf: require('./oneOf'), - pattern: require('./pattern'), - properties: require('./properties'), - propertyNames: require('./propertyNames'), - required: require('./required'), - uniqueItems: require('./uniqueItems'), - validate: require('./validate') -}; - -},{"./_limit":12,"./_limitItems":13,"./_limitLength":14,"./_limitProperties":15,"./allOf":16,"./anyOf":17,"./comment":18,"./const":19,"./contains":20,"./dependencies":22,"./enum":23,"./format":24,"./if":25,"./items":27,"./multipleOf":28,"./not":29,"./oneOf":30,"./pattern":31,"./properties":32,"./propertyNames":33,"./ref":34,"./required":35,"./uniqueItems":36,"./validate":37}],27:[function(require,module,exports){ -'use strict'; -module.exports = function generate_items(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $idx = 'i' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $currentBaseId = it.baseId; - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if (Array.isArray($schema)) { - var $additionalItems = it.schema.additionalItems; - if ($additionalItems === false) { - out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; '; - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalItems'; - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('additionalItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have more than ' + ($schema.length) + ' items\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - $errSchemaPath = $currErrSchemaPath; - if ($breakOnError) { - $closingBraces += '}'; - out += ' else { '; - } - } - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { '; - var $passData = $data + '[' + $i + ']'; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true); - $it.dataPathArr[$dataNxt] = $i; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if (typeof $additionalItems == 'object' && it.util.schemaHasRules($additionalItems, it.RULES.all)) { - $it.schema = $additionalItems; - $it.schemaPath = it.schemaPath + '.additionalItems'; - $it.errSchemaPath = it.errSchemaPath + '/additionalItems'; - out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' } } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } else if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' }'; - } - if ($breakOnError) { - out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; - } - out = it.util.cleanUpCode(out); - return out; -} - -},{}],28:[function(require,module,exports){ -'use strict'; -module.exports = function generate_multipleOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - out += 'var division' + ($lvl) + ';if ('; - if ($isData) { - out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \'number\' || '; - } - out += ' (division' + ($lvl) + ' = ' + ($data) + ' / ' + ($schemaValue) + ', '; - if (it.opts.multipleOfPrecision) { - out += ' Math.abs(Math.round(division' + ($lvl) + ') - division' + ($lvl) + ') > 1e-' + (it.opts.multipleOfPrecision) + ' '; - } else { - out += ' division' + ($lvl) + ' !== parseInt(division' + ($lvl) + ') '; - } - out += ' ) '; - if ($isData) { - out += ' ) '; - } - out += ' ) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('multipleOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { multipleOf: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be multiple of '; - if ($isData) { - out += '\' + ' + ($schemaValue); - } else { - out += '' + ($schemaValue) + '\''; - } - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],29:[function(require,module,exports){ -'use strict'; -module.exports = function generate_not(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - $it.level++; - var $nextValid = 'valid' + $it.level; - if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($errs) + ' = errors; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.createErrors = false; - var $allErrorsOption; - if ($it.opts.allErrors) { - $allErrorsOption = $it.opts.allErrors; - $it.opts.allErrors = false; - } - out += ' ' + (it.validate($it)) + ' '; - $it.createErrors = true; - if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption; - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' if (' + ($nextValid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('not') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be valid\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - if (it.opts.allErrors) { - out += ' } '; - } - } else { - out += ' var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('not') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be valid\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if ($breakOnError) { - out += ' if (false) { '; - } - } - return out; -} - -},{}],30:[function(require,module,exports){ -'use strict'; -module.exports = function generate_oneOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $currentBaseId = $it.baseId, - $prevValid = 'prevValid' + $lvl, - $passingSchemas = 'passingSchemas' + $lvl; - out += 'var ' + ($errs) + ' = errors , ' + ($prevValid) + ' = false , ' + ($valid) + ' = false , ' + ($passingSchemas) + ' = null; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - } else { - out += ' var ' + ($nextValid) + ' = true; '; - } - if ($i) { - out += ' if (' + ($nextValid) + ' && ' + ($prevValid) + ') { ' + ($valid) + ' = false; ' + ($passingSchemas) + ' = [' + ($passingSchemas) + ', ' + ($i) + ']; } else { '; - $closingBraces += '}'; - } - out += ' if (' + ($nextValid) + ') { ' + ($valid) + ' = ' + ($prevValid) + ' = true; ' + ($passingSchemas) + ' = ' + ($i) + '; }'; - } - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('oneOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { passingSchemas: ' + ($passingSchemas) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match exactly one schema in oneOf\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += '} else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; }'; - if (it.opts.allErrors) { - out += ' } '; - } - return out; -} - -},{}],31:[function(require,module,exports){ -'use strict'; -module.exports = function generate_pattern(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema); - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'string\') || '; - } - out += ' !' + ($regexp) + '.test(' + ($data) + ') ) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('pattern') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { pattern: '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match pattern "'; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + (it.util.escapeQuotes($schema)); - } - out += '"\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} - -},{}],32:[function(require,module,exports){ -'use strict'; -module.exports = function generate_properties(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $key = 'key' + $lvl, - $idx = 'idx' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $dataProperties = 'dataProperties' + $lvl; - var $schemaKeys = Object.keys($schema || {}), - $pProperties = it.schema.patternProperties || {}, - $pPropertyKeys = Object.keys($pProperties), - $aProperties = it.schema.additionalProperties, - $someProperties = $schemaKeys.length || $pPropertyKeys.length, - $noAdditional = $aProperties === false, - $additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length, - $removeAdditional = it.opts.removeAdditional, - $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional, - $ownProperties = it.opts.ownProperties, - $currentBaseId = it.baseId; - var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required); - out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;'; - if ($ownProperties) { - out += ' var ' + ($dataProperties) + ' = undefined;'; - } - if ($checkAdditional) { - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - if ($someProperties) { - out += ' var isAdditional' + ($lvl) + ' = !(false '; - if ($schemaKeys.length) { - if ($schemaKeys.length > 8) { - out += ' || validate.schema' + ($schemaPath) + '.hasOwnProperty(' + ($key) + ') '; - } else { - var arr1 = $schemaKeys; - if (arr1) { - var $propertyKey, i1 = -1, - l1 = arr1.length - 1; - while (i1 < l1) { - $propertyKey = arr1[i1 += 1]; - out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' '; - } - } - } - } - if ($pPropertyKeys.length) { - var arr2 = $pPropertyKeys; - if (arr2) { - var $pProperty, $i = -1, - l2 = arr2.length - 1; - while ($i < l2) { - $pProperty = arr2[$i += 1]; - out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') '; - } - } - } - out += ' ); if (isAdditional' + ($lvl) + ') { '; - } - if ($removeAdditional == 'all') { - out += ' delete ' + ($data) + '[' + ($key) + ']; '; - } else { - var $currentErrorPath = it.errorPath; - var $additionalProperty = '\' + ' + $key + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - } - if ($noAdditional) { - if ($removeAdditional) { - out += ' delete ' + ($data) + '[' + ($key) + ']; '; - } else { - out += ' ' + ($nextValid) + ' = false; '; - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalProperties'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('additionalProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \'' + ($additionalProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is an invalid additional property'; - } else { - out += 'should NOT have additional properties'; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - $errSchemaPath = $currErrSchemaPath; - if ($breakOnError) { - out += ' break; '; - } - } - } else if ($additionalIsSchema) { - if ($removeAdditional == 'failing') { - out += ' var ' + ($errs) + ' = errors; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.schema = $aProperties; - $it.schemaPath = it.schemaPath + '.additionalProperties'; - $it.errSchemaPath = it.errSchemaPath + '/additionalProperties'; - $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - } else { - $it.schema = $aProperties; - $it.schemaPath = it.schemaPath + '.additionalProperties'; - $it.errSchemaPath = it.errSchemaPath + '/additionalProperties'; - $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - } - } - it.errorPath = $currentErrorPath; - } - if ($someProperties) { - out += ' } '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - var $useDefaults = it.opts.useDefaults && !it.compositeRule; - if ($schemaKeys.length) { - var arr3 = $schemaKeys; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $sch = $schema[$propertyKey]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - var $prop = it.util.getProperty($propertyKey), - $passData = $data + $prop, - $hasDefault = $useDefaults && $sch.default !== undefined; - $it.schema = $sch; - $it.schemaPath = $schemaPath + $prop; - $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey); - $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers); - $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey); - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - $code = it.util.varReplace($code, $nextData, $passData); - var $useData = $passData; - } else { - var $useData = $nextData; - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; '; - } - if ($hasDefault) { - out += ' ' + ($code) + ' '; - } else { - if ($requiredHash && $requiredHash[$propertyKey]) { - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { ' + ($nextValid) + ' = false; '; - var $currentErrorPath = it.errorPath, - $currErrSchemaPath = $errSchemaPath, - $missingProperty = it.util.escapeQuotes($propertyKey); - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - $errSchemaPath = it.errSchemaPath + '/required'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - $errSchemaPath = $currErrSchemaPath; - it.errorPath = $currentErrorPath; - out += ' } else { '; - } else { - if ($breakOnError) { - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { ' + ($nextValid) + ' = true; } else { '; - } else { - out += ' if (' + ($useData) + ' !== undefined '; - if ($ownProperties) { - out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ' ) { '; - } - } - out += ' ' + ($code) + ' } '; - } - } - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if ($pPropertyKeys.length) { - var arr4 = $pPropertyKeys; - if (arr4) { - var $pProperty, i4 = -1, - l4 = arr4.length - 1; - while (i4 < l4) { - $pProperty = arr4[i4 += 1]; - var $sch = $pProperties[$pProperty]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $it.schema = $sch; - $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty); - $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty); - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else ' + ($nextValid) + ' = true; '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; - } - out = it.util.cleanUpCode(out); - return out; -} - -},{}],33:[function(require,module,exports){ -'use strict'; -module.exports = function generate_propertyNames(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - out += 'var ' + ($errs) + ' = errors;'; - if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - var $key = 'key' + $lvl, - $idx = 'idx' + $lvl, - $i = 'i' + $lvl, - $invalidName = '\' + ' + $key + ' + \'', - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $dataProperties = 'dataProperties' + $lvl, - $ownProperties = it.opts.ownProperties, - $currentBaseId = it.baseId; - if ($ownProperties) { - out += ' var ' + ($dataProperties) + ' = undefined; '; - } - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - out += ' var startErrs' + ($lvl) + ' = errors; '; - var $passData = $key; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '= it.opts.loopRequired, - $ownProperties = it.opts.ownProperties; - if ($breakOnError) { - out += ' var missing' + ($lvl) + '; '; - if ($loopRequired) { - if (!$isData) { - out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; '; - } - var $i = 'i' + $lvl, - $propertyPath = 'schema' + $lvl + '[' + $i + ']', - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers); - } - out += ' var ' + ($valid) + ' = true; '; - if ($isData) { - out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {'; - } - out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { ' + ($valid) + ' = ' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] !== undefined '; - if ($ownProperties) { - out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) '; - } - out += '; if (!' + ($valid) + ') break; } '; - if ($isData) { - out += ' } '; - } - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - } else { - out += ' if ( '; - var arr2 = $required; - if (arr2) { - var $propertyKey, $i = -1, - l2 = arr2.length - 1; - while ($i < l2) { - $propertyKey = arr2[$i += 1]; - if ($i) { - out += ' || '; - } - var $prop = it.util.getProperty($propertyKey), - $useData = $data + $prop; - out += ' ( ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) '; - } - } - out += ') { '; - var $propertyPath = 'missing' + $lvl, - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - } - } else { - if ($loopRequired) { - if (!$isData) { - out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; '; - } - var $i = 'i' + $lvl, - $propertyPath = 'schema' + $lvl + '[' + $i + ']', - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers); - } - if ($isData) { - out += ' if (' + ($vSchema) + ' && !Array.isArray(' + ($vSchema) + ')) { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (' + ($vSchema) + ' !== undefined) { '; - } - out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { if (' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) '; - } - out += ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } '; - if ($isData) { - out += ' } '; - } - } else { - var arr3 = $required; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $prop = it.util.getProperty($propertyKey), - $missingProperty = it.util.escapeQuotes($propertyKey), - $useData = $data + $prop; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } '; - } - } - } - } - it.errorPath = $currentErrorPath; - } else if ($breakOnError) { - out += ' if (true) {'; - } - return out; -} - -},{}],36:[function(require,module,exports){ -'use strict'; -module.exports = function generate_uniqueItems(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - if (($schema || $isData) && it.opts.uniqueItems !== false) { - if ($isData) { - out += ' var ' + ($valid) + '; if (' + ($schemaValue) + ' === false || ' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'boolean\') ' + ($valid) + ' = false; else { '; - } - out += ' var i = ' + ($data) + '.length , ' + ($valid) + ' = true , j; if (i > 1) { '; - var $itemType = it.schema.items && it.schema.items.type, - $typeIsArray = Array.isArray($itemType); - if (!$itemType || $itemType == 'object' || $itemType == 'array' || ($typeIsArray && ($itemType.indexOf('object') >= 0 || $itemType.indexOf('array') >= 0))) { - out += ' outer: for (;i--;) { for (j = i; j--;) { if (equal(' + ($data) + '[i], ' + ($data) + '[j])) { ' + ($valid) + ' = false; break outer; } } } '; - } else { - out += ' var itemIndices = {}, item; for (;i--;) { var item = ' + ($data) + '[i]; '; - var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); - out += ' if (' + (it.util[$method]($itemType, 'item', true)) + ') continue; '; - if ($typeIsArray) { - out += ' if (typeof item == \'string\') item = \'"\' + item; '; - } - out += ' if (typeof itemIndices[item] == \'number\') { ' + ($valid) + ' = false; j = itemIndices[item]; break; } itemIndices[item] = i; } '; - } - out += ' } '; - if ($isData) { - out += ' } '; - } - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('uniqueItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { i: i, j: j } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have duplicate items (items ## \' + j + \' and \' + i + \' are identical)\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} - -},{}],37:[function(require,module,exports){ -'use strict'; -module.exports = function generate_validate(it, $keyword, $ruleType) { - var out = ''; - var $async = it.schema.$async === true, - $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'), - $id = it.self._getId(it.schema); - if (it.isTop) { - out += ' var validate = '; - if ($async) { - it.async = true; - out += 'async '; - } - out += 'function(data, dataPath, parentData, parentDataProperty, rootData) { \'use strict\'; '; - if ($id && (it.opts.sourceCode || it.opts.processCode)) { - out += ' ' + ('/\*# sourceURL=' + $id + ' */') + ' '; - } - } - if (typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref)) { - var $keyword = 'false schema'; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - if (it.schema === false) { - if (it.isTop) { - $breakOnError = true; - } else { - out += ' var ' + ($valid) + ' = false; '; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'false schema') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'boolean schema is false\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } else { - if (it.isTop) { - if ($async) { - out += ' return data; '; - } else { - out += ' validate.errors = null; return true; '; - } - } else { - out += ' var ' + ($valid) + ' = true; '; - } - } - if (it.isTop) { - out += ' }; return validate; '; - } - return out; - } - if (it.isTop) { - var $top = it.isTop, - $lvl = it.level = 0, - $dataLvl = it.dataLevel = 0, - $data = 'data'; - it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema)); - it.baseId = it.baseId || it.rootId; - delete it.isTop; - it.dataPathArr = [undefined]; - out += ' var vErrors = null; '; - out += ' var errors = 0; '; - out += ' if (rootData === undefined) rootData = data; '; - } else { - var $lvl = it.level, - $dataLvl = it.dataLevel, - $data = 'data' + ($dataLvl || ''); - if ($id) it.baseId = it.resolve.url(it.baseId, $id); - if ($async && !it.async) throw new Error('async schema in sync schema'); - out += ' var errs_' + ($lvl) + ' = errors;'; - } - var $valid = 'valid' + $lvl, - $breakOnError = !it.opts.allErrors, - $closingBraces1 = '', - $closingBraces2 = ''; - var $errorKeyword; - var $typeSchema = it.schema.type, - $typeIsArray = Array.isArray($typeSchema); - if ($typeIsArray && $typeSchema.length == 1) { - $typeSchema = $typeSchema[0]; - $typeIsArray = false; - } - if (it.schema.$ref && $refKeywords) { - if (it.opts.extendRefs == 'fail') { - throw new Error('$ref: validation keywords used in schema at path "' + it.errSchemaPath + '" (see option extendRefs)'); - } else if (it.opts.extendRefs !== true) { - $refKeywords = false; - it.logger.warn('$ref: keywords ignored in schema at path "' + it.errSchemaPath + '"'); - } - } - if (it.schema.$comment && it.opts.$comment) { - out += ' ' + (it.RULES.all.$comment.code(it, '$comment')); - } - if ($typeSchema) { - if (it.opts.coerceTypes) { - var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema); - } - var $rulesGroup = it.RULES.types[$typeSchema]; - if ($coerceToTypes || $typeIsArray || $rulesGroup === true || ($rulesGroup && !$shouldUseGroup($rulesGroup))) { - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type'; - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type', - $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; - out += ' if (' + (it.util[$method]($typeSchema, $data, true)) + ') { '; - if ($coerceToTypes) { - var $dataType = 'dataType' + $lvl, - $coerced = 'coerced' + $lvl; - out += ' var ' + ($dataType) + ' = typeof ' + ($data) + '; '; - if (it.opts.coerceTypes == 'array') { - out += ' if (' + ($dataType) + ' == \'object\' && Array.isArray(' + ($data) + ')) ' + ($dataType) + ' = \'array\'; '; - } - out += ' var ' + ($coerced) + ' = undefined; '; - var $bracesCoercion = ''; - var arr1 = $coerceToTypes; - if (arr1) { - var $type, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $type = arr1[$i += 1]; - if ($i) { - out += ' if (' + ($coerced) + ' === undefined) { '; - $bracesCoercion += '}'; - } - if (it.opts.coerceTypes == 'array' && $type != 'array') { - out += ' if (' + ($dataType) + ' == \'array\' && ' + ($data) + '.length == 1) { ' + ($coerced) + ' = ' + ($data) + ' = ' + ($data) + '[0]; ' + ($dataType) + ' = typeof ' + ($data) + '; } '; - } - if ($type == 'string') { - out += ' if (' + ($dataType) + ' == \'number\' || ' + ($dataType) + ' == \'boolean\') ' + ($coerced) + ' = \'\' + ' + ($data) + '; else if (' + ($data) + ' === null) ' + ($coerced) + ' = \'\'; '; - } else if ($type == 'number' || $type == 'integer') { - out += ' if (' + ($dataType) + ' == \'boolean\' || ' + ($data) + ' === null || (' + ($dataType) + ' == \'string\' && ' + ($data) + ' && ' + ($data) + ' == +' + ($data) + ' '; - if ($type == 'integer') { - out += ' && !(' + ($data) + ' % 1)'; - } - out += ')) ' + ($coerced) + ' = +' + ($data) + '; '; - } else if ($type == 'boolean') { - out += ' if (' + ($data) + ' === \'false\' || ' + ($data) + ' === 0 || ' + ($data) + ' === null) ' + ($coerced) + ' = false; else if (' + ($data) + ' === \'true\' || ' + ($data) + ' === 1) ' + ($coerced) + ' = true; '; - } else if ($type == 'null') { - out += ' if (' + ($data) + ' === \'\' || ' + ($data) + ' === 0 || ' + ($data) + ' === false) ' + ($coerced) + ' = null; '; - } else if (it.opts.coerceTypes == 'array' && $type == 'array') { - out += ' if (' + ($dataType) + ' == \'string\' || ' + ($dataType) + ' == \'number\' || ' + ($dataType) + ' == \'boolean\' || ' + ($data) + ' == null) ' + ($coerced) + ' = [' + ($data) + ']; '; - } - } - } - out += ' ' + ($bracesCoercion) + ' if (' + ($coerced) + ' === undefined) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData', - $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty'; - out += ' ' + ($data) + ' = ' + ($coerced) + '; '; - if (!$dataLvl) { - out += 'if (' + ($parentData) + ' !== undefined)'; - } - out += ' ' + ($parentData) + '[' + ($parentDataProperty) + '] = ' + ($coerced) + '; } '; - } else { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } - out += ' } '; - } - } - if (it.schema.$ref && !$refKeywords) { - out += ' ' + (it.RULES.all.$ref.code(it, '$ref')) + ' '; - if ($breakOnError) { - out += ' } if (errors === '; - if ($top) { - out += '0'; - } else { - out += 'errs_' + ($lvl); - } - out += ') { '; - $closingBraces2 += '}'; - } - } else { - var arr2 = it.RULES; - if (arr2) { - var $rulesGroup, i2 = -1, - l2 = arr2.length - 1; - while (i2 < l2) { - $rulesGroup = arr2[i2 += 1]; - if ($shouldUseGroup($rulesGroup)) { - if ($rulesGroup.type) { - out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data)) + ') { '; - } - if (it.opts.useDefaults && !it.compositeRule) { - if ($rulesGroup.type == 'object' && it.schema.properties) { - var $schema = it.schema.properties, - $schemaKeys = Object.keys($schema); - var arr3 = $schemaKeys; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $sch = $schema[$propertyKey]; - if ($sch.default !== undefined) { - var $passData = $data + it.util.getProperty($propertyKey); - out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = '; - if (it.opts.useDefaults == 'shared') { - out += ' ' + (it.useDefault($sch.default)) + ' '; - } else { - out += ' ' + (JSON.stringify($sch.default)) + ' '; - } - out += '; '; - } - } - } - } else if ($rulesGroup.type == 'array' && Array.isArray(it.schema.items)) { - var arr4 = it.schema.items; - if (arr4) { - var $sch, $i = -1, - l4 = arr4.length - 1; - while ($i < l4) { - $sch = arr4[$i += 1]; - if ($sch.default !== undefined) { - var $passData = $data + '[' + $i + ']'; - out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = '; - if (it.opts.useDefaults == 'shared') { - out += ' ' + (it.useDefault($sch.default)) + ' '; - } else { - out += ' ' + (JSON.stringify($sch.default)) + ' '; - } - out += '; '; - } - } - } - } - } - var arr5 = $rulesGroup.rules; - if (arr5) { - var $rule, i5 = -1, - l5 = arr5.length - 1; - while (i5 < l5) { - $rule = arr5[i5 += 1]; - if ($shouldUseRule($rule)) { - var $code = $rule.code(it, $rule.keyword, $rulesGroup.type); - if ($code) { - out += ' ' + ($code) + ' '; - if ($breakOnError) { - $closingBraces1 += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces1) + ' '; - $closingBraces1 = ''; - } - if ($rulesGroup.type) { - out += ' } '; - if ($typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes) { - out += ' else { '; - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - } - } - if ($breakOnError) { - out += ' if (errors === '; - if ($top) { - out += '0'; - } else { - out += 'errs_' + ($lvl); - } - out += ') { '; - $closingBraces2 += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces2) + ' '; - } - if ($top) { - if ($async) { - out += ' if (errors === 0) return data; '; - out += ' else throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; '; - out += ' return errors === 0; '; - } - out += ' }; return validate;'; - } else { - out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';'; - } - out = it.util.cleanUpCode(out); - if ($top) { - out = it.util.finalCleanUpCode(out, $async); - } - - function $shouldUseGroup($rulesGroup) { - var rules = $rulesGroup.rules; - for (var i = 0; i < rules.length; i++) - if ($shouldUseRule(rules[i])) return true; - } - - function $shouldUseRule($rule) { - return it.schema[$rule.keyword] !== undefined || ($rule.implements && $ruleImplementsSomeKeyword($rule)); - } - - function $ruleImplementsSomeKeyword($rule) { - var impl = $rule.implements; - for (var i = 0; i < impl.length; i++) - if (it.schema[impl[i]] !== undefined) return true; - } - return out; -} - -},{}],38:[function(require,module,exports){ -'use strict'; - -var IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i; -var customRuleCode = require('./dotjs/custom'); - -module.exports = { - add: addKeyword, - get: getKeyword, - remove: removeKeyword -}; - -/** - * Define custom keyword - * @this Ajv - * @param {String} keyword custom keyword, should be unique (including different from all standard, custom and macro keywords). - * @param {Object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`. - * @return {Ajv} this for method chaining - */ -function addKeyword(keyword, definition) { - /* jshint validthis: true */ - /* eslint no-shadow: 0 */ - var RULES = this.RULES; - - if (RULES.keywords[keyword]) - throw new Error('Keyword ' + keyword + ' is already defined'); - - if (!IDENTIFIER.test(keyword)) - throw new Error('Keyword ' + keyword + ' is not a valid identifier'); - - if (definition) { - if (definition.macro && definition.valid !== undefined) - throw new Error('"valid" option cannot be used with macro keywords'); - - var dataType = definition.type; - if (Array.isArray(dataType)) { - var i, len = dataType.length; - for (i=0; i 1) { - sets[0] = sets[0].slice(0, -1); - var xl = sets.length - 1; - for (var x = 1; x < xl; ++x) { - sets[x] = sets[x].slice(1, -1); - } - sets[xl] = sets[xl].slice(1); - return sets.join(''); - } else { - return sets[0]; - } -} -function subexp(str) { - return "(?:" + str + ")"; -} -function typeOf(o) { - return o === undefined ? "undefined" : o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase(); -} -function toUpperCase(str) { - return str.toUpperCase(); -} -function toArray(obj) { - return obj !== undefined && obj !== null ? obj instanceof Array ? obj : typeof obj.length !== "number" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj) : []; -} -function assign(target, source) { - var obj = target; - if (source) { - for (var key in source) { - obj[key] = source[key]; - } - } - return obj; -} - -function buildExps(isIRI) { - var ALPHA$$ = "[A-Za-z]", - CR$ = "[\\x0D]", - DIGIT$$ = "[0-9]", - DQUOTE$$ = "[\\x22]", - HEXDIG$$ = merge(DIGIT$$, "[A-Fa-f]"), - //case-insensitive - LF$$ = "[\\x0A]", - SP$$ = "[\\x20]", - PCT_ENCODED$ = subexp(subexp("%[EFef]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%[89A-Fa-f]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%" + HEXDIG$$ + HEXDIG$$)), - //expanded - GEN_DELIMS$$ = "[\\:\\/\\?\\#\\[\\]\\@]", - SUB_DELIMS$$ = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", - RESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$), - UCSCHAR$$ = isIRI ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", - //subset, excludes bidi control characters - IPRIVATE$$ = isIRI ? "[\\uE000-\\uF8FF]" : "[]", - //subset - UNRESERVED$$ = merge(ALPHA$$, DIGIT$$, "[\\-\\.\\_\\~]", UCSCHAR$$), - SCHEME$ = subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, "[\\+\\-\\.]") + "*"), - USERINFO$ = subexp(subexp(PCT_ENCODED$ + "|" + merge(UNRESERVED$$, SUB_DELIMS$$, "[\\:]")) + "*"), - DEC_OCTET$ = subexp(subexp("25[0-5]") + "|" + subexp("2[0-4]" + DIGIT$$) + "|" + subexp("1" + DIGIT$$ + DIGIT$$) + "|" + subexp("[1-9]" + DIGIT$$) + "|" + DIGIT$$), - DEC_OCTET_RELAXED$ = subexp(subexp("25[0-5]") + "|" + subexp("2[0-4]" + DIGIT$$) + "|" + subexp("1" + DIGIT$$ + DIGIT$$) + "|" + subexp("0?[1-9]" + DIGIT$$) + "|0?0?" + DIGIT$$), - //relaxed parsing rules - IPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$ + "\\." + DEC_OCTET_RELAXED$), - H16$ = subexp(HEXDIG$$ + "{1,4}"), - LS32$ = subexp(subexp(H16$ + "\\:" + H16$) + "|" + IPV4ADDRESS$), - IPV6ADDRESS1$ = subexp(subexp(H16$ + "\\:") + "{6}" + LS32$), - // 6( h16 ":" ) ls32 - IPV6ADDRESS2$ = subexp("\\:\\:" + subexp(H16$ + "\\:") + "{5}" + LS32$), - // "::" 5( h16 ":" ) ls32 - IPV6ADDRESS3$ = subexp(subexp(H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{4}" + LS32$), - //[ h16 ] "::" 4( h16 ":" ) ls32 - IPV6ADDRESS4$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,1}" + H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{3}" + LS32$), - //[ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32 - IPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,2}" + H16$) + "?\\:\\:" + subexp(H16$ + "\\:") + "{2}" + LS32$), - //[ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32 - IPV6ADDRESS6$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,3}" + H16$) + "?\\:\\:" + H16$ + "\\:" + LS32$), - //[ *3( h16 ":" ) h16 ] "::" h16 ":" ls32 - IPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,4}" + H16$) + "?\\:\\:" + LS32$), - //[ *4( h16 ":" ) h16 ] "::" ls32 - IPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,5}" + H16$) + "?\\:\\:" + H16$), - //[ *5( h16 ":" ) h16 ] "::" h16 - IPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + "\\:") + "{0,6}" + H16$) + "?\\:\\:"), - //[ *6( h16 ":" ) h16 ] "::" - IPV6ADDRESS$ = subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join("|")), - ZONEID$ = subexp(subexp(UNRESERVED$$ + "|" + PCT_ENCODED$) + "+"), - //RFC 6874 - IPV6ADDRZ$ = subexp(IPV6ADDRESS$ + "\\%25" + ZONEID$), - //RFC 6874 - IPV6ADDRZ_RELAXED$ = subexp(IPV6ADDRESS$ + subexp("\\%25|\\%(?!" + HEXDIG$$ + "{2})") + ZONEID$), - //RFC 6874, with relaxed parsing rules - IPVFUTURE$ = subexp("[vV]" + HEXDIG$$ + "+\\." + merge(UNRESERVED$$, SUB_DELIMS$$, "[\\:]") + "+"), - IP_LITERAL$ = subexp("\\[" + subexp(IPV6ADDRZ_RELAXED$ + "|" + IPV6ADDRESS$ + "|" + IPVFUTURE$) + "\\]"), - //RFC 6874 - REG_NAME$ = subexp(subexp(PCT_ENCODED$ + "|" + merge(UNRESERVED$$, SUB_DELIMS$$)) + "*"), - HOST$ = subexp(IP_LITERAL$ + "|" + IPV4ADDRESS$ + "(?!" + REG_NAME$ + ")" + "|" + REG_NAME$), - PORT$ = subexp(DIGIT$$ + "*"), - AUTHORITY$ = subexp(subexp(USERINFO$ + "@") + "?" + HOST$ + subexp("\\:" + PORT$) + "?"), - PCHAR$ = subexp(PCT_ENCODED$ + "|" + merge(UNRESERVED$$, SUB_DELIMS$$, "[\\:\\@]")), - SEGMENT$ = subexp(PCHAR$ + "*"), - SEGMENT_NZ$ = subexp(PCHAR$ + "+"), - SEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + "|" + merge(UNRESERVED$$, SUB_DELIMS$$, "[\\@]")) + "+"), - PATH_ABEMPTY$ = subexp(subexp("\\/" + SEGMENT$) + "*"), - PATH_ABSOLUTE$ = subexp("\\/" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + "?"), - //simplified - PATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$), - //simplified - PATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$), - //simplified - PATH_EMPTY$ = "(?!" + PCHAR$ + ")", - PATH$ = subexp(PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$), - QUERY$ = subexp(subexp(PCHAR$ + "|" + merge("[\\/\\?]", IPRIVATE$$)) + "*"), - FRAGMENT$ = subexp(subexp(PCHAR$ + "|[\\/\\?]") + "*"), - HIER_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$), - URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"), - RELATIVE_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$), - RELATIVE$ = subexp(RELATIVE_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"), - URI_REFERENCE$ = subexp(URI$ + "|" + RELATIVE$), - ABSOLUTE_URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?"), - GENERIC_REF$ = "^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", - RELATIVE_REF$ = "^(){0}" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", - ABSOLUTE_REF$ = "^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?$", - SAMEDOC_REF$ = "^" + subexp("\\#(" + FRAGMENT$ + ")") + "?$", - AUTHORITY_REF$ = "^" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?$"; - return { - NOT_SCHEME: new RegExp(merge("[^]", ALPHA$$, DIGIT$$, "[\\+\\-\\.]"), "g"), - NOT_USERINFO: new RegExp(merge("[^\\%\\:]", UNRESERVED$$, SUB_DELIMS$$), "g"), - NOT_HOST: new RegExp(merge("[^\\%\\[\\]\\:]", UNRESERVED$$, SUB_DELIMS$$), "g"), - NOT_PATH: new RegExp(merge("[^\\%\\/\\:\\@]", UNRESERVED$$, SUB_DELIMS$$), "g"), - NOT_PATH_NOSCHEME: new RegExp(merge("[^\\%\\/\\@]", UNRESERVED$$, SUB_DELIMS$$), "g"), - NOT_QUERY: new RegExp(merge("[^\\%]", UNRESERVED$$, SUB_DELIMS$$, "[\\:\\@\\/\\?]", IPRIVATE$$), "g"), - NOT_FRAGMENT: new RegExp(merge("[^\\%]", UNRESERVED$$, SUB_DELIMS$$, "[\\:\\@\\/\\?]"), "g"), - ESCAPE: new RegExp(merge("[^]", UNRESERVED$$, SUB_DELIMS$$), "g"), - UNRESERVED: new RegExp(UNRESERVED$$, "g"), - OTHER_CHARS: new RegExp(merge("[^\\%]", UNRESERVED$$, RESERVED$$), "g"), - PCT_ENCODED: new RegExp(PCT_ENCODED$, "g"), - IPV4ADDRESS: new RegExp("^(" + IPV4ADDRESS$ + ")$"), - IPV6ADDRESS: new RegExp("^\\[?(" + IPV6ADDRESS$ + ")" + subexp(subexp("\\%25|\\%(?!" + HEXDIG$$ + "{2})") + "(" + ZONEID$ + ")") + "?\\]?$") //RFC 6874, with relaxed parsing rules - }; -} -var URI_PROTOCOL = buildExps(false); - -var IRI_PROTOCOL = buildExps(true); - -var slicedToArray = function () { - function sliceIterator(arr, i) { - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"]) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; - } - - return function (arr, i) { - if (Array.isArray(arr)) { - return arr; - } else if (Symbol.iterator in Object(arr)) { - return sliceIterator(arr, i); - } else { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); - } - }; -}(); - - - - - - - - - - - - - -var toConsumableArray = function (arr) { - if (Array.isArray(arr)) { - for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; - - return arr2; - } else { - return Array.from(arr); - } -}; - -/** Highest positive signed 32-bit float value */ - -var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 - -/** Bootstring parameters */ -var base = 36; -var tMin = 1; -var tMax = 26; -var skew = 38; -var damp = 700; -var initialBias = 72; -var initialN = 128; // 0x80 -var delimiter = '-'; // '\x2D' - -/** Regular expressions */ -var regexPunycode = /^xn--/; -var regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars -var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators - -/** Error messages */ -var errors = { - 'overflow': 'Overflow: input needs wider integers to process', - 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', - 'invalid-input': 'Invalid input' -}; - -/** Convenience shortcuts */ -var baseMinusTMin = base - tMin; -var floor = Math.floor; -var stringFromCharCode = String.fromCharCode; - -/*--------------------------------------------------------------------------*/ - -/** - * A generic error utility function. - * @private - * @param {String} type The error type. - * @returns {Error} Throws a `RangeError` with the applicable error message. - */ -function error$1(type) { - throw new RangeError(errors[type]); -} - -/** - * A generic `Array#map` utility function. - * @private - * @param {Array} array The array to iterate over. - * @param {Function} callback The function that gets called for every array - * item. - * @returns {Array} A new array of values returned by the callback function. - */ -function map(array, fn) { - var result = []; - var length = array.length; - while (length--) { - result[length] = fn(array[length]); - } - return result; -} - -/** - * A simple `Array#map`-like wrapper to work with domain name strings or email - * addresses. - * @private - * @param {String} domain The domain name or email address. - * @param {Function} callback The function that gets called for every - * character. - * @returns {Array} A new string of characters returned by the callback - * function. - */ -function mapDomain(string, fn) { - var parts = string.split('@'); - var result = ''; - if (parts.length > 1) { - // In email addresses, only the domain name should be punycoded. Leave - // the local part (i.e. everything up to `@`) intact. - result = parts[0] + '@'; - string = parts[1]; - } - // Avoid `split(regex)` for IE8 compatibility. See #17. - string = string.replace(regexSeparators, '\x2E'); - var labels = string.split('.'); - var encoded = map(labels, fn).join('.'); - return result + encoded; -} - -/** - * Creates an array containing the numeric code points of each Unicode - * character in the string. While JavaScript uses UCS-2 internally, - * this function will convert a pair of surrogate halves (each of which - * UCS-2 exposes as separate characters) into a single code point, - * matching UTF-16. - * @see `punycode.ucs2.encode` - * @see - * @memberOf punycode.ucs2 - * @name decode - * @param {String} string The Unicode input string (UCS-2). - * @returns {Array} The new array of code points. - */ -function ucs2decode(string) { - var output = []; - var counter = 0; - var length = string.length; - while (counter < length) { - var value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // It's a high surrogate, and there is a next character. - var extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { - // Low surrogate. - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // It's an unmatched surrogate; only append this code unit, in case the - // next code unit is the high surrogate of a surrogate pair. - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; -} - -/** - * Creates a string based on an array of numeric code points. - * @see `punycode.ucs2.decode` - * @memberOf punycode.ucs2 - * @name encode - * @param {Array} codePoints The array of numeric code points. - * @returns {String} The new Unicode string (UCS-2). - */ -var ucs2encode = function ucs2encode(array) { - return String.fromCodePoint.apply(String, toConsumableArray(array)); -}; - -/** - * Converts a basic code point into a digit/integer. - * @see `digitToBasic()` - * @private - * @param {Number} codePoint The basic numeric code point value. - * @returns {Number} The numeric value of a basic code point (for use in - * representing integers) in the range `0` to `base - 1`, or `base` if - * the code point does not represent a value. - */ -var basicToDigit = function basicToDigit(codePoint) { - if (codePoint - 0x30 < 0x0A) { - return codePoint - 0x16; - } - if (codePoint - 0x41 < 0x1A) { - return codePoint - 0x41; - } - if (codePoint - 0x61 < 0x1A) { - return codePoint - 0x61; - } - return base; -}; - -/** - * Converts a digit/integer into a basic code point. - * @see `basicToDigit()` - * @private - * @param {Number} digit The numeric value of a basic code point. - * @returns {Number} The basic code point whose value (when used for - * representing integers) is `digit`, which needs to be in the range - * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is - * used; else, the lowercase form is used. The behavior is undefined - * if `flag` is non-zero and `digit` has no uppercase form. - */ -var digitToBasic = function digitToBasic(digit, flag) { - // 0..25 map to ASCII a..z or A..Z - // 26..35 map to ASCII 0..9 - return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); -}; - -/** - * Bias adaptation function as per section 3.4 of RFC 3492. - * https://tools.ietf.org/html/rfc3492#section-3.4 - * @private - */ -var adapt = function adapt(delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (; /* no initialization */delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); -}; - -/** - * Converts a Punycode string of ASCII-only symbols to a string of Unicode - * symbols. - * @memberOf punycode - * @param {String} input The Punycode string of ASCII-only symbols. - * @returns {String} The resulting string of Unicode symbols. - */ -var decode = function decode(input) { - // Don't use UCS-2. - var output = []; - var inputLength = input.length; - var i = 0; - var n = initialN; - var bias = initialBias; - - // Handle the basic code points: let `basic` be the number of input code - // points before the last delimiter, or `0` if there is none, then copy - // the first basic code points to the output. - - var basic = input.lastIndexOf(delimiter); - if (basic < 0) { - basic = 0; - } - - for (var j = 0; j < basic; ++j) { - // if it's not a basic code point - if (input.charCodeAt(j) >= 0x80) { - error$1('not-basic'); - } - output.push(input.charCodeAt(j)); - } - - // Main decoding loop: start just after the last delimiter if any basic code - // points were copied; start at the beginning otherwise. - - for (var index = basic > 0 ? basic + 1 : 0; index < inputLength;) /* no final expression */{ - - // `index` is the index of the next character to be consumed. - // Decode a generalized variable-length integer into `delta`, - // which gets added to `i`. The overflow checking is easier - // if we increase `i` as we go, then subtract off its starting - // value at the end to obtain `delta`. - var oldi = i; - for (var w = 1, k = base;; /* no condition */k += base) { - - if (index >= inputLength) { - error$1('invalid-input'); - } - - var digit = basicToDigit(input.charCodeAt(index++)); - - if (digit >= base || digit > floor((maxInt - i) / w)) { - error$1('overflow'); - } - - i += digit * w; - var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias; - - if (digit < t) { - break; - } - - var baseMinusT = base - t; - if (w > floor(maxInt / baseMinusT)) { - error$1('overflow'); - } - - w *= baseMinusT; - } - - var out = output.length + 1; - bias = adapt(i - oldi, out, oldi == 0); - - // `i` was supposed to wrap around from `out` to `0`, - // incrementing `n` each time, so we'll fix that now: - if (floor(i / out) > maxInt - n) { - error$1('overflow'); - } - - n += floor(i / out); - i %= out; - - // Insert `n` at position `i` of the output. - output.splice(i++, 0, n); - } - - return String.fromCodePoint.apply(String, output); -}; - -/** - * Converts a string of Unicode symbols (e.g. a domain name label) to a - * Punycode string of ASCII-only symbols. - * @memberOf punycode - * @param {String} input The string of Unicode symbols. - * @returns {String} The resulting Punycode string of ASCII-only symbols. - */ -var encode = function encode(input) { - var output = []; - - // Convert the input in UCS-2 to an array of Unicode code points. - input = ucs2decode(input); - - // Cache the length. - var inputLength = input.length; - - // Initialize the state. - var n = initialN; - var delta = 0; - var bias = initialBias; - - // Handle the basic code points. - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = input[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var _currentValue2 = _step.value; - - if (_currentValue2 < 0x80) { - output.push(stringFromCharCode(_currentValue2)); - } - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - var basicLength = output.length; - var handledCPCount = basicLength; - - // `handledCPCount` is the number of code points that have been handled; - // `basicLength` is the number of basic code points. - - // Finish the basic string with a delimiter unless it's empty. - if (basicLength) { - output.push(delimiter); - } - - // Main encoding loop: - while (handledCPCount < inputLength) { - - // All non-basic code points < n have been handled already. Find the next - // larger one: - var m = maxInt; - var _iteratorNormalCompletion2 = true; - var _didIteratorError2 = false; - var _iteratorError2 = undefined; - - try { - for (var _iterator2 = input[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) { - var currentValue = _step2.value; - - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - // Increase `delta` enough to advance the decoder's state to , - // but guard against overflow. - } catch (err) { - _didIteratorError2 = true; - _iteratorError2 = err; - } finally { - try { - if (!_iteratorNormalCompletion2 && _iterator2.return) { - _iterator2.return(); - } - } finally { - if (_didIteratorError2) { - throw _iteratorError2; - } - } - } - - var handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - error$1('overflow'); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - var _iteratorNormalCompletion3 = true; - var _didIteratorError3 = false; - var _iteratorError3 = undefined; - - try { - for (var _iterator3 = input[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) { - var _currentValue = _step3.value; - - if (_currentValue < n && ++delta > maxInt) { - error$1('overflow'); - } - if (_currentValue == n) { - // Represent delta as a generalized variable-length integer. - var q = delta; - for (var k = base;; /* no condition */k += base) { - var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias; - if (q < t) { - break; - } - var qMinusT = q - t; - var baseMinusT = base - t; - output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q, 0))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - } catch (err) { - _didIteratorError3 = true; - _iteratorError3 = err; - } finally { - try { - if (!_iteratorNormalCompletion3 && _iterator3.return) { - _iterator3.return(); - } - } finally { - if (_didIteratorError3) { - throw _iteratorError3; - } - } - } - - ++delta; - ++n; - } - return output.join(''); -}; - -/** - * Converts a Punycode string representing a domain name or an email address - * to Unicode. Only the Punycoded parts of the input will be converted, i.e. - * it doesn't matter if you call it on a string that has already been - * converted to Unicode. - * @memberOf punycode - * @param {String} input The Punycoded domain name or email address to - * convert to Unicode. - * @returns {String} The Unicode representation of the given Punycode - * string. - */ -var toUnicode = function toUnicode(input) { - return mapDomain(input, function (string) { - return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; - }); -}; - -/** - * Converts a Unicode string representing a domain name or an email address to - * Punycode. Only the non-ASCII parts of the domain name will be converted, - * i.e. it doesn't matter if you call it with a domain that's already in - * ASCII. - * @memberOf punycode - * @param {String} input The domain name or email address to convert, as a - * Unicode string. - * @returns {String} The Punycode representation of the given domain name or - * email address. - */ -var toASCII = function toASCII(input) { - return mapDomain(input, function (string) { - return regexNonASCII.test(string) ? 'xn--' + encode(string) : string; - }); -}; - -/*--------------------------------------------------------------------------*/ - -/** Define the public API */ -var punycode = { - /** - * A string representing the current Punycode.js version number. - * @memberOf punycode - * @type String - */ - 'version': '2.1.0', - /** - * An object of methods to convert from JavaScript's internal character - * representation (UCS-2) to Unicode code points, and back. - * @see - * @memberOf punycode - * @type Object - */ - 'ucs2': { - 'decode': ucs2decode, - 'encode': ucs2encode - }, - 'decode': decode, - 'encode': encode, - 'toASCII': toASCII, - 'toUnicode': toUnicode -}; - -/** - * URI.js - * - * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript. - * @author Gary Court - * @see http://github.com/garycourt/uri-js - */ -/** - * Copyright 2011 Gary Court. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are - * permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The views and conclusions contained in the software and documentation are those of the - * authors and should not be interpreted as representing official policies, either expressed - * or implied, of Gary Court. - */ -var SCHEMES = {}; -function pctEncChar(chr) { - var c = chr.charCodeAt(0); - var e = void 0; - if (c < 16) e = "%0" + c.toString(16).toUpperCase();else if (c < 128) e = "%" + c.toString(16).toUpperCase();else if (c < 2048) e = "%" + (c >> 6 | 192).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();else e = "%" + (c >> 12 | 224).toString(16).toUpperCase() + "%" + (c >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase(); - return e; -} -function pctDecChars(str) { - var newStr = ""; - var i = 0; - var il = str.length; - while (i < il) { - var c = parseInt(str.substr(i + 1, 2), 16); - if (c < 128) { - newStr += String.fromCharCode(c); - i += 3; - } else if (c >= 194 && c < 224) { - if (il - i >= 6) { - var c2 = parseInt(str.substr(i + 4, 2), 16); - newStr += String.fromCharCode((c & 31) << 6 | c2 & 63); - } else { - newStr += str.substr(i, 6); - } - i += 6; - } else if (c >= 224) { - if (il - i >= 9) { - var _c = parseInt(str.substr(i + 4, 2), 16); - var c3 = parseInt(str.substr(i + 7, 2), 16); - newStr += String.fromCharCode((c & 15) << 12 | (_c & 63) << 6 | c3 & 63); - } else { - newStr += str.substr(i, 9); - } - i += 9; - } else { - newStr += str.substr(i, 3); - i += 3; - } - } - return newStr; -} -function _normalizeComponentEncoding(components, protocol) { - function decodeUnreserved(str) { - var decStr = pctDecChars(str); - return !decStr.match(protocol.UNRESERVED) ? str : decStr; - } - if (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, ""); - if (components.userinfo !== undefined) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase); - if (components.host !== undefined) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase); - if (components.path !== undefined) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase); - if (components.query !== undefined) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase); - if (components.fragment !== undefined) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase); - return components; -} - -function _stripLeadingZeros(str) { - return str.replace(/^0*(.*)/, "$1") || "0"; -} -function _normalizeIPv4(host, protocol) { - var matches = host.match(protocol.IPV4ADDRESS) || []; - - var _matches = slicedToArray(matches, 2), - address = _matches[1]; - - if (address) { - return address.split(".").map(_stripLeadingZeros).join("."); - } else { - return host; - } -} -function _normalizeIPv6(host, protocol) { - var matches = host.match(protocol.IPV6ADDRESS) || []; - - var _matches2 = slicedToArray(matches, 3), - address = _matches2[1], - zone = _matches2[2]; - - if (address) { - var _address$toLowerCase$ = address.toLowerCase().split('::').reverse(), - _address$toLowerCase$2 = slicedToArray(_address$toLowerCase$, 2), - last = _address$toLowerCase$2[0], - first = _address$toLowerCase$2[1]; - - var firstFields = first ? first.split(":").map(_stripLeadingZeros) : []; - var lastFields = last.split(":").map(_stripLeadingZeros); - var isLastFieldIPv4Address = protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]); - var fieldCount = isLastFieldIPv4Address ? 7 : 8; - var lastFieldsStart = lastFields.length - fieldCount; - var fields = Array(fieldCount); - for (var x = 0; x < fieldCount; ++x) { - fields[x] = firstFields[x] || lastFields[lastFieldsStart + x] || ''; - } - if (isLastFieldIPv4Address) { - fields[fieldCount - 1] = _normalizeIPv4(fields[fieldCount - 1], protocol); - } - var allZeroFields = fields.reduce(function (acc, field, index) { - if (!field || field === "0") { - var lastLongest = acc[acc.length - 1]; - if (lastLongest && lastLongest.index + lastLongest.length === index) { - lastLongest.length++; - } else { - acc.push({ index: index, length: 1 }); - } - } - return acc; - }, []); - var longestZeroFields = allZeroFields.sort(function (a, b) { - return b.length - a.length; - })[0]; - var newHost = void 0; - if (longestZeroFields && longestZeroFields.length > 1) { - var newFirst = fields.slice(0, longestZeroFields.index); - var newLast = fields.slice(longestZeroFields.index + longestZeroFields.length); - newHost = newFirst.join(":") + "::" + newLast.join(":"); - } else { - newHost = fields.join(":"); - } - if (zone) { - newHost += "%" + zone; - } - return newHost; - } else { - return host; - } -} -var URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i; -var NO_MATCH_IS_UNDEFINED = "".match(/(){0}/)[1] === undefined; -function parse(uriString) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var components = {}; - var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; - if (options.reference === "suffix") uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString; - var matches = uriString.match(URI_PARSE); - if (matches) { - if (NO_MATCH_IS_UNDEFINED) { - //store each component - components.scheme = matches[1]; - components.userinfo = matches[3]; - components.host = matches[4]; - components.port = parseInt(matches[5], 10); - components.path = matches[6] || ""; - components.query = matches[7]; - components.fragment = matches[8]; - //fix port number - if (isNaN(components.port)) { - components.port = matches[5]; - } - } else { - //IE FIX for improper RegExp matching - //store each component - components.scheme = matches[1] || undefined; - components.userinfo = uriString.indexOf("@") !== -1 ? matches[3] : undefined; - components.host = uriString.indexOf("//") !== -1 ? matches[4] : undefined; - components.port = parseInt(matches[5], 10); - components.path = matches[6] || ""; - components.query = uriString.indexOf("?") !== -1 ? matches[7] : undefined; - components.fragment = uriString.indexOf("#") !== -1 ? matches[8] : undefined; - //fix port number - if (isNaN(components.port)) { - components.port = uriString.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/) ? matches[4] : undefined; - } - } - if (components.host) { - //normalize IP hosts - components.host = _normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol); - } - //determine reference type - if (components.scheme === undefined && components.userinfo === undefined && components.host === undefined && components.port === undefined && !components.path && components.query === undefined) { - components.reference = "same-document"; - } else if (components.scheme === undefined) { - components.reference = "relative"; - } else if (components.fragment === undefined) { - components.reference = "absolute"; - } else { - components.reference = "uri"; - } - //check for reference errors - if (options.reference && options.reference !== "suffix" && options.reference !== components.reference) { - components.error = components.error || "URI is not a " + options.reference + " reference."; - } - //find scheme handler - var schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()]; - //check if scheme can't handle IRIs - if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) { - //if host component is a domain name - if (components.host && (options.domainHost || schemeHandler && schemeHandler.domainHost)) { - //convert Unicode IDN -> ASCII IDN - try { - components.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()); - } catch (e) { - components.error = components.error || "Host's domain name can not be converted to ASCII via punycode: " + e; - } - } - //convert IRI -> URI - _normalizeComponentEncoding(components, URI_PROTOCOL); - } else { - //normalize encodings - _normalizeComponentEncoding(components, protocol); - } - //perform scheme specific parsing - if (schemeHandler && schemeHandler.parse) { - schemeHandler.parse(components, options); - } - } else { - components.error = components.error || "URI can not be parsed."; - } - return components; -} - -function _recomposeAuthority(components, options) { - var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; - var uriTokens = []; - if (components.userinfo !== undefined) { - uriTokens.push(components.userinfo); - uriTokens.push("@"); - } - if (components.host !== undefined) { - //normalize IP hosts, add brackets and escape zone separator for IPv6 - uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), protocol).replace(protocol.IPV6ADDRESS, function (_, $1, $2) { - return "[" + $1 + ($2 ? "%25" + $2 : "") + "]"; - })); - } - if (typeof components.port === "number") { - uriTokens.push(":"); - uriTokens.push(components.port.toString(10)); - } - return uriTokens.length ? uriTokens.join("") : undefined; -} - -var RDS1 = /^\.\.?\//; -var RDS2 = /^\/\.(\/|$)/; -var RDS3 = /^\/\.\.(\/|$)/; -var RDS5 = /^\/?(?:.|\n)*?(?=\/|$)/; -function removeDotSegments(input) { - var output = []; - while (input.length) { - if (input.match(RDS1)) { - input = input.replace(RDS1, ""); - } else if (input.match(RDS2)) { - input = input.replace(RDS2, "/"); - } else if (input.match(RDS3)) { - input = input.replace(RDS3, "/"); - output.pop(); - } else if (input === "." || input === "..") { - input = ""; - } else { - var im = input.match(RDS5); - if (im) { - var s = im[0]; - input = input.slice(s.length); - output.push(s); - } else { - throw new Error("Unexpected dot segment condition"); - } - } - } - return output.join(""); -} - -function serialize(components) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL; - var uriTokens = []; - //find scheme handler - var schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()]; - //perform scheme specific serialization - if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options); - if (components.host) { - //if host component is an IPv6 address - if (protocol.IPV6ADDRESS.test(components.host)) {} - //TODO: normalize IPv6 address as per RFC 5952 - - //if host component is a domain name - else if (options.domainHost || schemeHandler && schemeHandler.domainHost) { - //convert IDN via punycode - try { - components.host = !options.iri ? punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, pctDecChars).toLowerCase()) : punycode.toUnicode(components.host); - } catch (e) { - components.error = components.error || "Host's domain name can not be converted to " + (!options.iri ? "ASCII" : "Unicode") + " via punycode: " + e; - } - } - } - //normalize encoding - _normalizeComponentEncoding(components, protocol); - if (options.reference !== "suffix" && components.scheme) { - uriTokens.push(components.scheme); - uriTokens.push(":"); - } - var authority = _recomposeAuthority(components, options); - if (authority !== undefined) { - if (options.reference !== "suffix") { - uriTokens.push("//"); - } - uriTokens.push(authority); - if (components.path && components.path.charAt(0) !== "/") { - uriTokens.push("/"); - } - } - if (components.path !== undefined) { - var s = components.path; - if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) { - s = removeDotSegments(s); - } - if (authority === undefined) { - s = s.replace(/^\/\//, "/%2F"); //don't allow the path to start with "//" - } - uriTokens.push(s); - } - if (components.query !== undefined) { - uriTokens.push("?"); - uriTokens.push(components.query); - } - if (components.fragment !== undefined) { - uriTokens.push("#"); - uriTokens.push(components.fragment); - } - return uriTokens.join(""); //merge tokens into a string -} - -function resolveComponents(base, relative) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var skipNormalization = arguments[3]; - - var target = {}; - if (!skipNormalization) { - base = parse(serialize(base, options), options); //normalize base components - relative = parse(serialize(relative, options), options); //normalize relative components - } - options = options || {}; - if (!options.tolerant && relative.scheme) { - target.scheme = relative.scheme; - //target.authority = relative.authority; - target.userinfo = relative.userinfo; - target.host = relative.host; - target.port = relative.port; - target.path = removeDotSegments(relative.path || ""); - target.query = relative.query; - } else { - if (relative.userinfo !== undefined || relative.host !== undefined || relative.port !== undefined) { - //target.authority = relative.authority; - target.userinfo = relative.userinfo; - target.host = relative.host; - target.port = relative.port; - target.path = removeDotSegments(relative.path || ""); - target.query = relative.query; - } else { - if (!relative.path) { - target.path = base.path; - if (relative.query !== undefined) { - target.query = relative.query; - } else { - target.query = base.query; - } - } else { - if (relative.path.charAt(0) === "/") { - target.path = removeDotSegments(relative.path); - } else { - if ((base.userinfo !== undefined || base.host !== undefined || base.port !== undefined) && !base.path) { - target.path = "/" + relative.path; - } else if (!base.path) { - target.path = relative.path; - } else { - target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path; - } - target.path = removeDotSegments(target.path); - } - target.query = relative.query; - } - //target.authority = base.authority; - target.userinfo = base.userinfo; - target.host = base.host; - target.port = base.port; - } - target.scheme = base.scheme; - } - target.fragment = relative.fragment; - return target; -} - -function resolve(baseURI, relativeURI, options) { - var schemelessOptions = assign({ scheme: 'null' }, options); - return serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions); -} - -function normalize(uri, options) { - if (typeof uri === "string") { - uri = serialize(parse(uri, options), options); - } else if (typeOf(uri) === "object") { - uri = parse(serialize(uri, options), options); - } - return uri; -} - -function equal(uriA, uriB, options) { - if (typeof uriA === "string") { - uriA = serialize(parse(uriA, options), options); - } else if (typeOf(uriA) === "object") { - uriA = serialize(uriA, options); - } - if (typeof uriB === "string") { - uriB = serialize(parse(uriB, options), options); - } else if (typeOf(uriB) === "object") { - uriB = serialize(uriB, options); - } - return uriA === uriB; -} - -function escapeComponent(str, options) { - return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE, pctEncChar); -} - -function unescapeComponent(str, options) { - return str && str.toString().replace(!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : IRI_PROTOCOL.PCT_ENCODED, pctDecChars); -} - -var handler = { - scheme: "http", - domainHost: true, - parse: function parse(components, options) { - //report missing host - if (!components.host) { - components.error = components.error || "HTTP URIs must have a host."; - } - return components; - }, - serialize: function serialize(components, options) { - //normalize the default port - if (components.port === (String(components.scheme).toLowerCase() !== "https" ? 80 : 443) || components.port === "") { - components.port = undefined; - } - //normalize the empty path - if (!components.path) { - components.path = "/"; - } - //NOTE: We do not parse query strings for HTTP URIs - //as WWW Form Url Encoded query strings are part of the HTML4+ spec, - //and not the HTTP spec. - return components; - } -}; - -var handler$1 = { - scheme: "https", - domainHost: handler.domainHost, - parse: handler.parse, - serialize: handler.serialize -}; - -var O = {}; -var isIRI = true; -//RFC 3986 -var UNRESERVED$$ = "[A-Za-z0-9\\-\\.\\_\\~" + (isIRI ? "\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF" : "") + "]"; -var HEXDIG$$ = "[0-9A-Fa-f]"; //case-insensitive -var PCT_ENCODED$ = subexp(subexp("%[EFef]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%[89A-Fa-f]" + HEXDIG$$ + "%" + HEXDIG$$ + HEXDIG$$) + "|" + subexp("%" + HEXDIG$$ + HEXDIG$$)); //expanded -//RFC 5322, except these symbols as per RFC 6068: @ : / ? # [ ] & ; = -//const ATEXT$$ = "[A-Za-z0-9\\!\\#\\$\\%\\&\\'\\*\\+\\-\\/\\=\\?\\^\\_\\`\\{\\|\\}\\~]"; -//const WSP$$ = "[\\x20\\x09]"; -//const OBS_QTEXT$$ = "[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F]"; //(%d1-8 / %d11-12 / %d14-31 / %d127) -//const QTEXT$$ = merge("[\\x21\\x23-\\x5B\\x5D-\\x7E]", OBS_QTEXT$$); //%d33 / %d35-91 / %d93-126 / obs-qtext -//const VCHAR$$ = "[\\x21-\\x7E]"; -//const WSP$$ = "[\\x20\\x09]"; -//const OBS_QP$ = subexp("\\\\" + merge("[\\x00\\x0D\\x0A]", OBS_QTEXT$$)); //%d0 / CR / LF / obs-qtext -//const FWS$ = subexp(subexp(WSP$$ + "*" + "\\x0D\\x0A") + "?" + WSP$$ + "+"); -//const QUOTED_PAIR$ = subexp(subexp("\\\\" + subexp(VCHAR$$ + "|" + WSP$$)) + "|" + OBS_QP$); -//const QUOTED_STRING$ = subexp('\\"' + subexp(FWS$ + "?" + QCONTENT$) + "*" + FWS$ + "?" + '\\"'); -var ATEXT$$ = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]"; -var QTEXT$$ = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]"; -var VCHAR$$ = merge(QTEXT$$, "[\\\"\\\\]"); -var SOME_DELIMS$$ = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"; -var UNRESERVED = new RegExp(UNRESERVED$$, "g"); -var PCT_ENCODED = new RegExp(PCT_ENCODED$, "g"); -var NOT_LOCAL_PART = new RegExp(merge("[^]", ATEXT$$, "[\\.]", '[\\"]', VCHAR$$), "g"); -var NOT_HFNAME = new RegExp(merge("[^]", UNRESERVED$$, SOME_DELIMS$$), "g"); -var NOT_HFVALUE = NOT_HFNAME; -function decodeUnreserved(str) { - var decStr = pctDecChars(str); - return !decStr.match(UNRESERVED) ? str : decStr; -} -var handler$2 = { - scheme: "mailto", - parse: function parse$$1(components, options) { - var mailtoComponents = components; - var to = mailtoComponents.to = mailtoComponents.path ? mailtoComponents.path.split(",") : []; - mailtoComponents.path = undefined; - if (mailtoComponents.query) { - var unknownHeaders = false; - var headers = {}; - var hfields = mailtoComponents.query.split("&"); - for (var x = 0, xl = hfields.length; x < xl; ++x) { - var hfield = hfields[x].split("="); - switch (hfield[0]) { - case "to": - var toAddrs = hfield[1].split(","); - for (var _x = 0, _xl = toAddrs.length; _x < _xl; ++_x) { - to.push(toAddrs[_x]); - } - break; - case "subject": - mailtoComponents.subject = unescapeComponent(hfield[1], options); - break; - case "body": - mailtoComponents.body = unescapeComponent(hfield[1], options); - break; - default: - unknownHeaders = true; - headers[unescapeComponent(hfield[0], options)] = unescapeComponent(hfield[1], options); - break; - } - } - if (unknownHeaders) mailtoComponents.headers = headers; - } - mailtoComponents.query = undefined; - for (var _x2 = 0, _xl2 = to.length; _x2 < _xl2; ++_x2) { - var addr = to[_x2].split("@"); - addr[0] = unescapeComponent(addr[0]); - if (!options.unicodeSupport) { - //convert Unicode IDN -> ASCII IDN - try { - addr[1] = punycode.toASCII(unescapeComponent(addr[1], options).toLowerCase()); - } catch (e) { - mailtoComponents.error = mailtoComponents.error || "Email address's domain name can not be converted to ASCII via punycode: " + e; - } - } else { - addr[1] = unescapeComponent(addr[1], options).toLowerCase(); - } - to[_x2] = addr.join("@"); - } - return mailtoComponents; - }, - serialize: function serialize$$1(mailtoComponents, options) { - var components = mailtoComponents; - var to = toArray(mailtoComponents.to); - if (to) { - for (var x = 0, xl = to.length; x < xl; ++x) { - var toAddr = String(to[x]); - var atIdx = toAddr.lastIndexOf("@"); - var localPart = toAddr.slice(0, atIdx).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_LOCAL_PART, pctEncChar); - var domain = toAddr.slice(atIdx + 1); - //convert IDN via punycode - try { - domain = !options.iri ? punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : punycode.toUnicode(domain); - } catch (e) { - components.error = components.error || "Email address's domain name can not be converted to " + (!options.iri ? "ASCII" : "Unicode") + " via punycode: " + e; - } - to[x] = localPart + "@" + domain; - } - components.path = to.join(","); - } - var headers = mailtoComponents.headers = mailtoComponents.headers || {}; - if (mailtoComponents.subject) headers["subject"] = mailtoComponents.subject; - if (mailtoComponents.body) headers["body"] = mailtoComponents.body; - var fields = []; - for (var name in headers) { - if (headers[name] !== O[name]) { - fields.push(name.replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) + "=" + headers[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFVALUE, pctEncChar)); - } - } - if (fields.length) { - components.query = fields.join("&"); - } - return components; - } -}; - -var URN_PARSE = /^([^\:]+)\:(.*)/; -//RFC 2141 -var handler$3 = { - scheme: "urn", - parse: function parse$$1(components, options) { - var matches = components.path && components.path.match(URN_PARSE); - var urnComponents = components; - if (matches) { - var scheme = options.scheme || urnComponents.scheme || "urn"; - var nid = matches[1].toLowerCase(); - var nss = matches[2]; - var urnScheme = scheme + ":" + (options.nid || nid); - var schemeHandler = SCHEMES[urnScheme]; - urnComponents.nid = nid; - urnComponents.nss = nss; - urnComponents.path = undefined; - if (schemeHandler) { - urnComponents = schemeHandler.parse(urnComponents, options); - } - } else { - urnComponents.error = urnComponents.error || "URN can not be parsed."; - } - return urnComponents; - }, - serialize: function serialize$$1(urnComponents, options) { - var scheme = options.scheme || urnComponents.scheme || "urn"; - var nid = urnComponents.nid; - var urnScheme = scheme + ":" + (options.nid || nid); - var schemeHandler = SCHEMES[urnScheme]; - if (schemeHandler) { - urnComponents = schemeHandler.serialize(urnComponents, options); - } - var uriComponents = urnComponents; - var nss = urnComponents.nss; - uriComponents.path = (nid || options.nid) + ":" + nss; - return uriComponents; - } -}; - -var UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/; -//RFC 4122 -var handler$4 = { - scheme: "urn:uuid", - parse: function parse(urnComponents, options) { - var uuidComponents = urnComponents; - uuidComponents.uuid = uuidComponents.nss; - uuidComponents.nss = undefined; - if (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) { - uuidComponents.error = uuidComponents.error || "UUID is not valid."; - } - return uuidComponents; - }, - serialize: function serialize(uuidComponents, options) { - var urnComponents = uuidComponents; - //normalize UUID - urnComponents.nss = (uuidComponents.uuid || "").toLowerCase(); - return urnComponents; - } -}; - -SCHEMES[handler.scheme] = handler; -SCHEMES[handler$1.scheme] = handler$1; -SCHEMES[handler$2.scheme] = handler$2; -SCHEMES[handler$3.scheme] = handler$3; -SCHEMES[handler$4.scheme] = handler$4; - -exports.SCHEMES = SCHEMES; -exports.pctEncChar = pctEncChar; -exports.pctDecChars = pctDecChars; -exports.parse = parse; -exports.removeDotSegments = removeDotSegments; -exports.serialize = serialize; -exports.resolveComponents = resolveComponents; -exports.resolve = resolve; -exports.normalize = normalize; -exports.equal = equal; -exports.escapeComponent = escapeComponent; -exports.unescapeComponent = unescapeComponent; - -Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -},{}],"ajv":[function(require,module,exports){ -'use strict'; - -var compileSchema = require('./compile') - , resolve = require('./compile/resolve') - , Cache = require('./cache') - , SchemaObject = require('./compile/schema_obj') - , stableStringify = require('fast-json-stable-stringify') - , formats = require('./compile/formats') - , rules = require('./compile/rules') - , $dataMetaSchema = require('./data') - , util = require('./compile/util'); - -module.exports = Ajv; - -Ajv.prototype.validate = validate; -Ajv.prototype.compile = compile; -Ajv.prototype.addSchema = addSchema; -Ajv.prototype.addMetaSchema = addMetaSchema; -Ajv.prototype.validateSchema = validateSchema; -Ajv.prototype.getSchema = getSchema; -Ajv.prototype.removeSchema = removeSchema; -Ajv.prototype.addFormat = addFormat; -Ajv.prototype.errorsText = errorsText; - -Ajv.prototype._addSchema = _addSchema; -Ajv.prototype._compile = _compile; - -Ajv.prototype.compileAsync = require('./compile/async'); -var customKeyword = require('./keyword'); -Ajv.prototype.addKeyword = customKeyword.add; -Ajv.prototype.getKeyword = customKeyword.get; -Ajv.prototype.removeKeyword = customKeyword.remove; - -var errorClasses = require('./compile/error_classes'); -Ajv.ValidationError = errorClasses.Validation; -Ajv.MissingRefError = errorClasses.MissingRef; -Ajv.$dataMetaSchema = $dataMetaSchema; - -var META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema'; - -var META_IGNORE_OPTIONS = [ 'removeAdditional', 'useDefaults', 'coerceTypes' ]; -var META_SUPPORT_DATA = ['/properties']; - -/** - * Creates validator instance. - * Usage: `Ajv(opts)` - * @param {Object} opts optional options - * @return {Object} ajv instance - */ -function Ajv(opts) { - if (!(this instanceof Ajv)) return new Ajv(opts); - opts = this._opts = util.copy(opts) || {}; - setLogger(this); - this._schemas = {}; - this._refs = {}; - this._fragments = {}; - this._formats = formats(opts.format); - var schemaUriFormat = this._schemaUriFormat = this._formats['uri-reference']; - this._schemaUriFormatFunc = function (str) { return schemaUriFormat.test(str); }; - - this._cache = opts.cache || new Cache; - this._loadingSchemas = {}; - this._compilations = []; - this.RULES = rules(); - this._getId = chooseGetId(opts); - - opts.loopRequired = opts.loopRequired || Infinity; - if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true; - if (opts.serialize === undefined) opts.serialize = stableStringify; - this._metaOpts = getMetaSchemaOptions(this); - - if (opts.formats) addInitialFormats(this); - addDraft6MetaSchema(this); - if (typeof opts.meta == 'object') this.addMetaSchema(opts.meta); - addInitialSchemas(this); -} - - - -/** - * Validate data using schema - * Schema will be compiled and cached (using serialized JSON as key. [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used to serialize. - * @this Ajv - * @param {String|Object} schemaKeyRef key, ref or schema object - * @param {Any} data to be validated - * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`). - */ -function validate(schemaKeyRef, data) { - var v; - if (typeof schemaKeyRef == 'string') { - v = this.getSchema(schemaKeyRef); - if (!v) throw new Error('no schema with key or ref "' + schemaKeyRef + '"'); - } else { - var schemaObj = this._addSchema(schemaKeyRef); - v = schemaObj.validate || this._compile(schemaObj); - } - - var valid = v(data); - if (v.$async !== true) this.errors = v.errors; - return valid; -} - - -/** - * Create validating function for passed schema. - * @this Ajv - * @param {Object} schema schema object - * @param {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords. - * @return {Function} validating function - */ -function compile(schema, _meta) { - var schemaObj = this._addSchema(schema, undefined, _meta); - return schemaObj.validate || this._compile(schemaObj); -} - - -/** - * Adds schema to the instance. - * @this Ajv - * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored. - * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`. - * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead. - * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead. - * @return {Ajv} this for method chaining - */ -function addSchema(schema, key, _skipValidation, _meta) { - if (Array.isArray(schema)){ - for (var i=0; i} errors optional array of validation errors, if not passed errors from the instance are used. - * @param {Object} options optional options with properties `separator` and `dataVar`. - * @return {String} human readable string with all errors descriptions - */ -function errorsText(errors, options) { - errors = errors || this.errors; - if (!errors) return 'No errors'; - options = options || {}; - var separator = options.separator === undefined ? ', ' : options.separator; - var dataVar = options.dataVar === undefined ? 'data' : options.dataVar; - - var text = ''; - for (var i=0; i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,f=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return a.copy(m[e="full"==e?"full":"fast"])}function v(e){var r=e.match(o);if(!r)return!1;var t,a=+r[2],s=+r[3];return 1<=a&&a<=12&&1<=s&&s<=(2!=a||((t=+r[1])%4!=0||t%100==0&&t%400!=0)?i[a]:29)}function g(e,r){var t=e.match(n);if(!t)return!1;var a=t[1],s=t[2],o=t[3];return(a<=23&&s<=59&&o<=59||23==a&&59==s&&60==o)&&(!r||t[5])}(r.exports=m).fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p},m.full={date:v,time:g,"date-time":function(e){var r=e.split(y);return 2==r.length&&v(r[0])&&g(r[1],!0)},uri:function(e){return P.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:function(e){return e.length<=255&&s.test(e)},ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p};var y=/t|\s/i;var P=/\/|:/;var E=/[^\\]\\Z/;function w(e){if(E.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},{"./util":10}],5:[function(e,r,t){"use strict";var $=e("./resolve"),D=e("./util"),j=e("./error_classes"),l=e("fast-json-stable-stringify"),O=e("../dotjs/validate"),I=D.ucs2length,A=e("fast-deep-equal"),C=j.Validation;function k(e,r,t){for(var a=0;a",y=f?">":"<",P=void 0;if(v){var E=e.util.getData(m.$data,i,e.dataPathArr),w="exclusive"+o,S="exclType"+o,b="exclIsNumber"+o,_="' + "+(R="op"+o)+" + '";s+=" var schemaExcl"+o+" = "+E+"; ";var F;P=p;(F=F||[]).push(s+=" var "+w+"; var "+S+" = typeof "+(E="schemaExcl"+o)+"; if ("+S+" != 'boolean' && "+S+" != 'undefined' && "+S+" != 'number') { "),s="",!1!==e.createErrors?(s+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(s+=" , message: '"+p+" should be boolean' "),e.opts.verbose&&(s+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var x=s;s=F.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+x+"]); ":" validate.errors = ["+x+"]; return false; ":" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } else if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),s+=" "+S+" == 'number' ? ( ("+w+" = "+a+" === undefined || "+E+" "+g+"= "+a+") ? "+h+" "+y+"= "+E+" : "+h+" "+y+" "+a+" ) : ( ("+w+" = "+E+" === true) ? "+h+" "+y+"= "+a+" : "+h+" "+y+" "+a+" ) || "+h+" !== "+h+") { var op"+o+" = "+w+" ? '"+g+"' : '"+g+"='; ",void 0===n&&(c=e.errSchemaPath+"/"+(P=p),a=E,d=v)}else{_=g;if((b="number"==typeof m)&&d){var R="'"+_+"'";s+=" if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),s+=" ( "+a+" === undefined || "+m+" "+g+"= "+a+" ? "+h+" "+y+"= "+m+" : "+h+" "+y+" "+a+" ) || "+h+" !== "+h+") { "}else{b&&void 0===n?(w=!0,c=e.errSchemaPath+"/"+(P=p),a=m,y+="="):(b&&(a=Math[f?"min":"max"](m,n)),m===(!b||a)?(w=!0,c=e.errSchemaPath+"/"+(P=p),y+="="):(w=!1,_+="="));R="'"+_+"'";s+=" if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),s+=" "+h+" "+y+" "+a+" || "+h+" !== "+h+") { "}}P=P||r,(F=F||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+R+", limit: "+a+", exclusive: "+w+" } ",!1!==e.opts.messages&&(s+=" , message: 'should be "+_+" ",s+=d?"' + "+a:a+"'"),e.opts.verbose&&(s+=" , schema: ",s+=d?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";x=s;return s=F.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+x+"]); ":" validate.errors = ["+x+"]; return false; ":" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } ",u&&(s+=" else { "),s}},{}],13:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a,s=" ",o=e.level,i=e.dataLevel,n=e.schema[r],l=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,h="data"+(i||""),d=e.opts.$data&&n&&n.$data;d?(s+=" var schema"+o+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=n,s+="if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || ");var f=r,p=p||[];p.push(s+=" "+h+".length "+("maxItems"==r?">":"<")+" "+a+") { "),s="",!1!==e.createErrors?(s+=" { keyword: '"+(f||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT have ",s+="maxItems"==r?"more":"fewer",s+=" than ",s+=d?"' + "+a+" + '":""+n,s+=" items' "),e.opts.verbose&&(s+=" , schema: ",s+=d?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var m=s;return s=p.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",u&&(s+=" else { "),s}},{}],14:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a,s=" ",o=e.level,i=e.dataLevel,n=e.schema[r],l=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,h="data"+(i||""),d=e.opts.$data&&n&&n.$data;d?(s+=" var schema"+o+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=n,s+="if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),s+=!1===e.opts.unicode?" "+h+".length ":" ucs2length("+h+") ";var f=r,p=p||[];p.push(s+=" "+("maxLength"==r?">":"<")+" "+a+") { "),s="",!1!==e.createErrors?(s+=" { keyword: '"+(f||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT be ",s+="maxLength"==r?"longer":"shorter",s+=" than ",s+=d?"' + "+a+" + '":""+n,s+=" characters' "),e.opts.verbose&&(s+=" , schema: ",s+=d?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var m=s;return s=p.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",u&&(s+=" else { "),s}},{}],15:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a,s=" ",o=e.level,i=e.dataLevel,n=e.schema[r],l=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,h="data"+(i||""),d=e.opts.$data&&n&&n.$data;d?(s+=" var schema"+o+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=n,s+="if ( ",d&&(s+=" ("+a+" !== undefined && typeof "+a+" != 'number') || ");var f=r,p=p||[];p.push(s+=" Object.keys("+h+").length "+("maxProperties"==r?">":"<")+" "+a+") { "),s="",!1!==e.createErrors?(s+=" { keyword: '"+(f||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT have ",s+="maxProperties"==r?"more":"fewer",s+=" than ",s+=d?"' + "+a+" + '":""+n,s+=" properties' "),e.opts.verbose&&(s+=" , schema: ",s+=d?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var m=s;return s=p.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",u&&(s+=" else { "),s}},{}],16:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a=" ",s=e.schema[r],o=e.schemaPath+e.util.getProperty(r),i=e.errSchemaPath+"/"+r,n=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var u="valid"+l.level,h=l.baseId,d=!0,f=s;if(f)for(var p,m=-1,v=f.length-1;m "+x+") { ";var $=u+"["+x+"]";f.schema=F,f.schemaPath=n+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[g]=x;var D=e.validate(f);f.baseId=P,e.util.varOccurences(D,y)<2?a+=" "+e.util.varReplace(D,y,$)+" ":a+=" var "+y+" = "+$+"; "+D+" ",a+=" } ",c&&(a+=" if ("+m+") { ",p+="}")}if("object"==typeof E&&e.util.schemaHasRules(E,e.RULES.all)){f.schema=E,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",a+=" "+m+" = true; if ("+u+".length > "+i.length+") { for (var "+v+" = "+i.length+"; "+v+" < "+u+".length; "+v+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);$=u+"["+v+"]";f.dataPathArr[g]=v;D=e.validate(f);f.baseId=P,e.util.varOccurences(D,y)<2?a+=" "+e.util.varReplace(D,y,$)+" ":a+=" var "+y+" = "+$+"; "+D+" ",c&&(a+=" if (!"+m+") break; "),a+=" } } ",c&&(a+=" if ("+m+") { ",p+="}")}}else if(e.util.schemaHasRules(i,e.RULES.all)){f.schema=i,f.schemaPath=n,f.errSchemaPath=l,a+=" for (var "+v+" = 0; "+v+" < "+u+".length; "+v+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);$=u+"["+v+"]";f.dataPathArr[g]=v;D=e.validate(f);f.baseId=P,e.util.varOccurences(D,y)<2?a+=" "+e.util.varReplace(D,y,$)+" ":a+=" var "+y+" = "+$+"; "+D+" ",c&&(a+=" if (!"+m+") break; "),a+=" }"}return c&&(a+=" "+p+" if ("+d+" == errors) {"),a=e.util.cleanUpCode(a)}},{}],28:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a,s=" ",o=e.level,i=e.dataLevel,n=e.schema[r],l=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,h="data"+(i||""),d=e.opts.$data&&n&&n.$data;d?(s+=" var schema"+o+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=n,s+="var division"+o+";if (",d&&(s+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),s+=" (division"+o+" = "+h+" / "+a+", ",s+=e.opts.multipleOfPrecision?" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":" division"+o+" !== parseInt(division"+o+") ",s+=" ) ",d&&(s+=" ) ");var f=f||[];f.push(s+=" ) { "),s="",!1!==e.createErrors?(s+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+a+" } ",!1!==e.opts.messages&&(s+=" , message: 'should be multiple of ",s+=d?"' + "+a:a+"'"),e.opts.verbose&&(s+=" , schema: ",s+=d?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var p=s;return s=f.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+p+"]); ":" validate.errors = ["+p+"]; return false; ":" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",u&&(s+=" else { "),s}},{}],29:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a=" ",s=e.level,o=e.dataLevel,i=e.schema[r],n=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,u="data"+(o||""),h="errs__"+s,d=e.util.copy(e);d.level++;var f="valid"+d.level;if(e.util.schemaHasRules(i,e.RULES.all)){d.schema=i,d.schemaPath=n,d.errSchemaPath=l,a+=" var "+h+" = errors; ";var p,m=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(p=d.opts.allErrors,d.opts.allErrors=!1),a+=" "+e.validate(d)+" ",d.createErrors=!0,p&&(d.opts.allErrors=p),e.compositeRule=d.compositeRule=m;var v=v||[];v.push(a+=" if ("+f+") { "),a="",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var g=a;a=v.pop(),a+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else a+=" var err = ",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(a+=" if (false) { ");return a}},{}],30:[function(e,r,t){"use strict";r.exports=function(e,r,t){var a=" ",s=e.level,o=e.dataLevel,i=e.schema[r],n=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+s,d="errs__"+s,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level,v=f.baseId,g="prevValid"+s,y="passingSchemas"+s;a+="var "+d+" = errors , "+g+" = false , "+h+" = false , "+y+" = null; ";var P=e.compositeRule;e.compositeRule=f.compositeRule=!0;var E=i;if(E)for(var w,S=-1,b=E.length-1;S 1) { ";var p=e.schema.items&&e.schema.items.type,m=Array.isArray(p);if(!p||"object"==p||"array"==p||m&&(0<=p.indexOf("object")||0<=p.indexOf("array")))s+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+h+"[i], "+h+"[j])) { "+d+" = false; break outer; } } } ";else s+=" var itemIndices = {}, item; for (;i--;) { var item = "+h+"[i]; ",s+=" if ("+e.util["checkDataType"+(m?"s":"")](p,"item",!0)+") continue; ",m&&(s+=" if (typeof item == 'string') item = '\"' + item; "),s+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } ";s+=" } ",f&&(s+=" } ");var v=v||[];v.push(s+=" if (!"+d+") { "),s="",!1!==e.createErrors?(s+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(s+=" , schema: ",s+=f?"validate.schema"+l:""+n,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),s+=" } "):s+=" {} ";var g=s;s=v.pop(),s+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+g+"]); ":" validate.errors = ["+g+"]; return false; ":" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } ",u&&(s+=" else { ")}else u&&(s+=" if (true) { ");return s}},{}],37:[function(e,r,t){"use strict";r.exports=function(a,e,r){var t="",s=!0===a.schema.$async,o=a.util.schemaHasRulesExcept(a.schema,a.RULES.all,"$ref"),i=a.self._getId(a.schema);if(a.isTop&&(t+=" var validate = ",s&&(a.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",i&&(a.opts.sourceCode||a.opts.processCode)&&(t+=" /*# sourceURL="+i+" */ ")),"boolean"==typeof a.schema||!o&&!a.schema.$ref){var n=a.level,l=a.dataLevel,c=a.schema[e="false schema"],u=a.schemaPath+a.util.getProperty(e),h=a.errSchemaPath+"/"+e,d=!a.opts.allErrors,f="data"+(l||""),p="valid"+n;if(!1===a.schema){a.isTop?d=!0:t+=" var "+p+" = false; ",(K=K||[]).push(t),t="",!1!==a.createErrors?(t+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+a.errorPath+" , schemaPath: "+a.util.toQuotedString(h)+" , params: {} ",!1!==a.opts.messages&&(t+=" , message: 'boolean schema is false' "),a.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+a.schemaPath+" , data: "+f+" "),t+=" } "):t+=" {} ";var m=t;t=K.pop(),t+=!a.compositeRule&&d?a.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else t+=a.isTop?s?" return data; ":" validate.errors = null; return true; ":" var "+p+" = true; ";return a.isTop&&(t+=" }; return validate; "),t}if(a.isTop){var v=a.isTop;n=a.level=0,l=a.dataLevel=0,f="data";a.rootId=a.resolve.fullPath(a.self._getId(a.root.schema)),a.baseId=a.baseId||a.rootId,delete a.isTop,a.dataPathArr=[void 0],t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{n=a.level,f="data"+((l=a.dataLevel)||"");if(i&&(a.baseId=a.resolve.url(a.baseId,i)),s&&!a.async)throw new Error("async schema in sync schema");t+=" var errs_"+n+" = errors;"}p="valid"+n,d=!a.opts.allErrors;var g="",y="",P=a.schema.type,E=Array.isArray(P);if(E&&1==P.length&&(P=P[0],E=!1),a.schema.$ref&&o){if("fail"==a.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+a.errSchemaPath+'" (see option extendRefs)');!0!==a.opts.extendRefs&&(o=!1,a.logger.warn('$ref: keywords ignored in schema at path "'+a.errSchemaPath+'"'))}if(a.schema.$comment&&a.opts.$comment&&(t+=" "+a.RULES.all.$comment.code(a,"$comment")),P){if(a.opts.coerceTypes)var w=a.util.coerceToTypes(a.opts.coerceTypes,P);var S=a.RULES.types[P];if(w||E||!0===S||S&&!J(S)){u=a.schemaPath+".type",h=a.errSchemaPath+"/type",u=a.schemaPath+".type",h=a.errSchemaPath+"/type";if(t+=" if ("+a.util[E?"checkDataTypes":"checkDataType"](P,f,!0)+") { ",w){var b="dataType"+n,_="coerced"+n;t+=" var "+b+" = typeof "+f+"; ","array"==a.opts.coerceTypes&&(t+=" if ("+b+" == 'object' && Array.isArray("+f+")) "+b+" = 'array'; "),t+=" var "+_+" = undefined; ";var F="",x=w;if(x)for(var R,$=-1,D=x.length-1;$= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=Math.floor,z=String.fromCharCode;function T(e){throw new RangeError(i[e])}function n(e,r){var t=e.split("@"),a="";return 1>1,e+=L(e/r);455L((A-s)/h))&&T("overflow"),s+=f*h;var p=d<=i?1:i+26<=d?26:d-i;if(fL(A/m)&&T("overflow"),h*=m}var v=t.length+1;i=U(s-u,v,0==u),L(s/v)>A-o&&T("overflow"),o+=L(s/v),s%=v,t.splice(s++,0,o)}return String.fromCodePoint.apply(String,t)},c=function(e){var r=[],t=(e=N(e)).length,a=128,s=0,o=72,i=!0,n=!1,l=void 0;try{for(var c,u=e[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var h=c.value;h<128&&r.push(z(h))}}catch(e){n=!0,l=e}finally{try{!i&&u.return&&u.return()}finally{if(n)throw l}}var d=r.length,f=d;for(d&&r.push("-");fL((A-s)/w)&&T("overflow"),s+=(p-a)*w,a=p;var S=!0,b=!1,_=void 0;try{for(var F,x=e[Symbol.iterator]();!(S=(F=x.next()).done);S=!0){var R=F.value;if(RA&&T("overflow"),R==a){for(var $=s,D=36;;D+=36){var j=D<=o?1:o+26<=D?26:D-o;if($>6|192).toString(16).toUpperCase()+"%"+(63&r|128).toString(16).toUpperCase():"%"+(r>>12|224).toString(16).toUpperCase()+"%"+(r>>6&63|128).toString(16).toUpperCase()+"%"+(63&r|128).toString(16).toUpperCase()}function f(e){for(var r="",t=0,a=e.length;tA-Z\\x5E-\\x7E]",'[\\"\\\\]'),Z=new RegExp(M,"g"),G=new RegExp(K,"g"),Y=new RegExp(C("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',J),"g"),W=new RegExp(C("[^]",M,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),X=W;function ee(e){var r=f(e);return r.match(Z)?r:e}var re={scheme:"mailto",parse:function(e,r){var t=e,a=t.to=t.path?t.path.split(","):[];if(t.path=void 0,t.query){for(var s=!1,o={},i=t.query.split("&"),n=0,l=i.length;n; - /** - * Create validating function for passed schema. - * @param {object|Boolean} schema schema object - * @return {Function} validating function - */ - compile(schema: object | boolean): ValidateFunction; - /** - * Creates validating function for passed schema with asynchronous loading of missing schemas. - * `loadSchema` option should be a function that accepts schema uri and node-style callback. - * @this Ajv - * @param {object|Boolean} schema schema object - * @param {Boolean} meta optional true to compile meta-schema; this parameter can be skipped - * @param {Function} callback optional node-style callback, it is always called with 2 parameters: error (or null) and validating function. - * @return {PromiseLike} validating function - */ - compileAsync(schema: object | boolean, meta?: Boolean, callback?: (err: Error, validate: ValidateFunction) => any): PromiseLike; - /** - * Adds schema to the instance. - * @param {object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored. - * @param {string} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`. - * @return {Ajv} this for method chaining - */ - addSchema(schema: Array | object, key?: string): Ajv; - /** - * Add schema that will be used to validate other schemas - * options in META_IGNORE_OPTIONS are alway set to false - * @param {object} schema schema object - * @param {string} key optional schema key - * @return {Ajv} this for method chaining - */ - addMetaSchema(schema: object, key?: string): Ajv; - /** - * Validate schema - * @param {object|Boolean} schema schema to validate - * @return {Boolean} true if schema is valid - */ - validateSchema(schema: object | boolean): boolean; - /** - * Get compiled schema from the instance by `key` or `ref`. - * @param {string} keyRef `key` that was passed to `addSchema` or full schema reference (`schema.id` or resolved id). - * @return {Function} schema validating function (with property `schema`). - */ - getSchema(keyRef: string): ValidateFunction; - /** - * Remove cached schema(s). - * If no parameter is passed all schemas but meta-schemas are removed. - * If RegExp is passed all schemas with key/id matching pattern but meta-schemas are removed. - * Even if schema is referenced by other schemas it still can be removed as other schemas have local references. - * @param {string|object|RegExp|Boolean} schemaKeyRef key, ref, pattern to match key/ref or schema object - * @return {Ajv} this for method chaining - */ - removeSchema(schemaKeyRef?: object | string | RegExp | boolean): Ajv; - /** - * Add custom format - * @param {string} name format name - * @param {string|RegExp|Function} format string is converted to RegExp; function should return boolean (true when valid) - * @return {Ajv} this for method chaining - */ - addFormat(name: string, format: FormatValidator | FormatDefinition): Ajv; - /** - * Define custom keyword - * @this Ajv - * @param {string} keyword custom keyword, should be a valid identifier, should be different from all standard, custom and macro keywords. - * @param {object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`. - * @return {Ajv} this for method chaining - */ - addKeyword(keyword: string, definition: KeywordDefinition): Ajv; - /** - * Get keyword definition - * @this Ajv - * @param {string} keyword pre-defined or custom keyword. - * @return {object|Boolean} custom keyword definition, `true` if it is a predefined keyword, `false` otherwise. - */ - getKeyword(keyword: string): object | boolean; - /** - * Remove keyword - * @this Ajv - * @param {string} keyword pre-defined or custom keyword. - * @return {Ajv} this for method chaining - */ - removeKeyword(keyword: string): Ajv; - /** - * Convert array of error message objects to string - * @param {Array} errors optional array of validation errors, if not passed errors from the instance are used. - * @param {object} options optional options with properties `separator` and `dataVar`. - * @return {string} human readable string with all errors descriptions - */ - errorsText(errors?: Array | null, options?: ErrorsTextOptions): string; - errors?: Array; - } - - interface CustomLogger { - log(...args: any[]): any; - warn(...args: any[]): any; - error(...args: any[]): any; - } - - interface ValidateFunction { - ( - data: any, - dataPath?: string, - parentData?: object | Array, - parentDataProperty?: string | number, - rootData?: object | Array - ): boolean | PromiseLike; - schema?: object | boolean; - errors?: null | Array; - refs?: object; - refVal?: Array; - root?: ValidateFunction | object; - $async?: true; - source?: object; - } - - interface Options { - $data?: boolean; - allErrors?: boolean; - verbose?: boolean; - jsonPointers?: boolean; - uniqueItems?: boolean; - unicode?: boolean; - format?: string; - formats?: object; - unknownFormats?: true | string[] | 'ignore'; - schemas?: Array | object; - schemaId?: '$id' | 'id' | 'auto'; - missingRefs?: true | 'ignore' | 'fail'; - extendRefs?: true | 'ignore' | 'fail'; - loadSchema?: (uri: string, cb?: (err: Error, schema: object) => void) => PromiseLike; - removeAdditional?: boolean | 'all' | 'failing'; - useDefaults?: boolean | 'shared'; - coerceTypes?: boolean | 'array'; - async?: boolean | string; - transpile?: string | ((code: string) => string); - meta?: boolean | object; - validateSchema?: boolean | 'log'; - addUsedSchema?: boolean; - inlineRefs?: boolean | number; - passContext?: boolean; - loopRequired?: number; - ownProperties?: boolean; - multipleOfPrecision?: boolean | number; - errorDataPath?: string, - messages?: boolean; - sourceCode?: boolean; - processCode?: (code: string) => string; - cache?: object; - logger?: CustomLogger | false - } - - type FormatValidator = string | RegExp | ((data: string) => boolean | PromiseLike); - type NumberFormatValidator = ((data: number) => boolean | PromiseLike); - - interface NumberFormatDefinition { - type: "number", - validate: NumberFormatValidator; - compare?: (data1: number, data2: number) => number; - async?: boolean; - } - - interface StringFormatDefinition { - type?: "string", - validate: FormatValidator; - compare?: (data1: string, data2: string) => number; - async?: boolean; - } - - type FormatDefinition = NumberFormatDefinition | StringFormatDefinition; - - interface KeywordDefinition { - type?: string | Array; - async?: boolean; - $data?: boolean; - errors?: boolean | string; - metaSchema?: object; - // schema: false makes validate not to expect schema (ValidateFunction) - schema?: boolean; - modifying?: boolean; - valid?: boolean; - // one and only one of the following properties should be present - validate?: SchemaValidateFunction | ValidateFunction; - compile?: (schema: any, parentSchema: object, it: CompilationContext) => ValidateFunction; - macro?: (schema: any, parentSchema: object, it: CompilationContext) => object | boolean; - inline?: (it: CompilationContext, keyword: string, schema: any, parentSchema: object) => string; - } - - interface CompilationContext { - level: number; - dataLevel: number; - schema: any; - schemaPath: string; - baseId: string; - async: boolean; - opts: Options; - formats: { - [index: string]: FormatDefinition | undefined; - }; - compositeRule: boolean; - validate: (schema: object) => boolean; - util: { - copy(obj: any, target?: any): any; - toHash(source: string[]): { [index: string]: true | undefined }; - equal(obj: any, target: any): boolean; - getProperty(str: string): string; - schemaHasRules(schema: object, rules: any): string; - escapeQuotes(str: string): string; - toQuotedString(str: string): string; - getData(jsonPointer: string, dataLevel: number, paths: string[]): string; - escapeJsonPointer(str: string): string; - unescapeJsonPointer(str: string): string; - escapeFragment(str: string): string; - unescapeFragment(str: string): string; - }; - self: Ajv; - } - - interface SchemaValidateFunction { - ( - schema: any, - data: any, - parentSchema?: object, - dataPath?: string, - parentData?: object | Array, - parentDataProperty?: string | number, - rootData?: object | Array - ): boolean | PromiseLike; - errors?: Array; - } - - interface ErrorsTextOptions { - separator?: string; - dataVar?: string; - } - - interface ErrorObject { - keyword: string; - dataPath: string; - schemaPath: string; - params: ErrorParameters; - // Added to validation errors of propertyNames keyword schema - propertyName?: string; - // Excluded if messages set to false. - message?: string; - // These are added with the `verbose` option. - schema?: any; - parentSchema?: object; - data?: any; - } - - type ErrorParameters = RefParams | LimitParams | AdditionalPropertiesParams | - DependenciesParams | FormatParams | ComparisonParams | - MultipleOfParams | PatternParams | RequiredParams | - TypeParams | UniqueItemsParams | CustomParams | - PatternRequiredParams | PropertyNamesParams | - IfParams | SwitchParams | NoParams | EnumParams; - - interface RefParams { - ref: string; - } - - interface LimitParams { - limit: number; - } - - interface AdditionalPropertiesParams { - additionalProperty: string; - } - - interface DependenciesParams { - property: string; - missingProperty: string; - depsCount: number; - deps: string; - } - - interface FormatParams { - format: string - } - - interface ComparisonParams { - comparison: string; - limit: number | string; - exclusive: boolean; - } - - interface MultipleOfParams { - multipleOf: number; - } - - interface PatternParams { - pattern: string; - } - - interface RequiredParams { - missingProperty: string; - } - - interface TypeParams { - type: string; - } - - interface UniqueItemsParams { - i: number; - j: number; - } - - interface CustomParams { - keyword: string; - } - - interface PatternRequiredParams { - missingPattern: string; - } - - interface PropertyNamesParams { - propertyName: string; - } - - interface IfParams { - failingKeyword: string; - } - - interface SwitchParams { - caseIndex: number; - } - - interface NoParams {} - - interface EnumParams { - allowedValues: Array; - } -} - -declare class ValidationError extends Error { - constructor(errors: Array); - - message: string; - errors: Array; - ajv: true; - validation: true; -} - -declare class MissingRefError extends Error { - constructor(baseId: string, ref: string, message?: string); - static message: (baseId: string, ref: string) => string; - - message: string; - missingRef: string; - missingSchema: string; -} - -export = ajv; diff --git a/node_modules/ajv/lib/ajv.js b/node_modules/ajv/lib/ajv.js deleted file mode 100644 index 4740eb6..0000000 --- a/node_modules/ajv/lib/ajv.js +++ /dev/null @@ -1,503 +0,0 @@ -'use strict'; - -var compileSchema = require('./compile') - , resolve = require('./compile/resolve') - , Cache = require('./cache') - , SchemaObject = require('./compile/schema_obj') - , stableStringify = require('fast-json-stable-stringify') - , formats = require('./compile/formats') - , rules = require('./compile/rules') - , $dataMetaSchema = require('./data') - , util = require('./compile/util'); - -module.exports = Ajv; - -Ajv.prototype.validate = validate; -Ajv.prototype.compile = compile; -Ajv.prototype.addSchema = addSchema; -Ajv.prototype.addMetaSchema = addMetaSchema; -Ajv.prototype.validateSchema = validateSchema; -Ajv.prototype.getSchema = getSchema; -Ajv.prototype.removeSchema = removeSchema; -Ajv.prototype.addFormat = addFormat; -Ajv.prototype.errorsText = errorsText; - -Ajv.prototype._addSchema = _addSchema; -Ajv.prototype._compile = _compile; - -Ajv.prototype.compileAsync = require('./compile/async'); -var customKeyword = require('./keyword'); -Ajv.prototype.addKeyword = customKeyword.add; -Ajv.prototype.getKeyword = customKeyword.get; -Ajv.prototype.removeKeyword = customKeyword.remove; - -var errorClasses = require('./compile/error_classes'); -Ajv.ValidationError = errorClasses.Validation; -Ajv.MissingRefError = errorClasses.MissingRef; -Ajv.$dataMetaSchema = $dataMetaSchema; - -var META_SCHEMA_ID = 'http://json-schema.org/draft-07/schema'; - -var META_IGNORE_OPTIONS = [ 'removeAdditional', 'useDefaults', 'coerceTypes' ]; -var META_SUPPORT_DATA = ['/properties']; - -/** - * Creates validator instance. - * Usage: `Ajv(opts)` - * @param {Object} opts optional options - * @return {Object} ajv instance - */ -function Ajv(opts) { - if (!(this instanceof Ajv)) return new Ajv(opts); - opts = this._opts = util.copy(opts) || {}; - setLogger(this); - this._schemas = {}; - this._refs = {}; - this._fragments = {}; - this._formats = formats(opts.format); - var schemaUriFormat = this._schemaUriFormat = this._formats['uri-reference']; - this._schemaUriFormatFunc = function (str) { return schemaUriFormat.test(str); }; - - this._cache = opts.cache || new Cache; - this._loadingSchemas = {}; - this._compilations = []; - this.RULES = rules(); - this._getId = chooseGetId(opts); - - opts.loopRequired = opts.loopRequired || Infinity; - if (opts.errorDataPath == 'property') opts._errorDataPathProperty = true; - if (opts.serialize === undefined) opts.serialize = stableStringify; - this._metaOpts = getMetaSchemaOptions(this); - - if (opts.formats) addInitialFormats(this); - addDraft6MetaSchema(this); - if (typeof opts.meta == 'object') this.addMetaSchema(opts.meta); - addInitialSchemas(this); -} - - - -/** - * Validate data using schema - * Schema will be compiled and cached (using serialized JSON as key. [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used to serialize. - * @this Ajv - * @param {String|Object} schemaKeyRef key, ref or schema object - * @param {Any} data to be validated - * @return {Boolean} validation result. Errors from the last validation will be available in `ajv.errors` (and also in compiled schema: `schema.errors`). - */ -function validate(schemaKeyRef, data) { - var v; - if (typeof schemaKeyRef == 'string') { - v = this.getSchema(schemaKeyRef); - if (!v) throw new Error('no schema with key or ref "' + schemaKeyRef + '"'); - } else { - var schemaObj = this._addSchema(schemaKeyRef); - v = schemaObj.validate || this._compile(schemaObj); - } - - var valid = v(data); - if (v.$async !== true) this.errors = v.errors; - return valid; -} - - -/** - * Create validating function for passed schema. - * @this Ajv - * @param {Object} schema schema object - * @param {Boolean} _meta true if schema is a meta-schema. Used internally to compile meta schemas of custom keywords. - * @return {Function} validating function - */ -function compile(schema, _meta) { - var schemaObj = this._addSchema(schema, undefined, _meta); - return schemaObj.validate || this._compile(schemaObj); -} - - -/** - * Adds schema to the instance. - * @this Ajv - * @param {Object|Array} schema schema or array of schemas. If array is passed, `key` and other parameters will be ignored. - * @param {String} key Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`. - * @param {Boolean} _skipValidation true to skip schema validation. Used internally, option validateSchema should be used instead. - * @param {Boolean} _meta true if schema is a meta-schema. Used internally, addMetaSchema should be used instead. - * @return {Ajv} this for method chaining - */ -function addSchema(schema, key, _skipValidation, _meta) { - if (Array.isArray(schema)){ - for (var i=0; i} errors optional array of validation errors, if not passed errors from the instance are used. - * @param {Object} options optional options with properties `separator` and `dataVar`. - * @return {String} human readable string with all errors descriptions - */ -function errorsText(errors, options) { - errors = errors || this.errors; - if (!errors) return 'No errors'; - options = options || {}; - var separator = options.separator === undefined ? ', ' : options.separator; - var dataVar = options.dataVar === undefined ? 'data' : options.dataVar; - - var text = ''; - for (var i=0; i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i; -// For the source: https://gist.github.com/dperini/729294 -// For test cases: https://mathiasbynens.be/demo/url-regex -// @todo Delete current URL in favour of the commented out URL rule when this issue is fixed https://github.com/eslint/eslint/issues/7983. -// var URL = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu; -var URL = /^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i; -var UUID = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i; -var JSON_POINTER = /^(?:\/(?:[^~/]|~0|~1)*)*$/; -var JSON_POINTER_URI_FRAGMENT = /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i; -var RELATIVE_JSON_POINTER = /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/; - - -module.exports = formats; - -function formats(mode) { - mode = mode == 'full' ? 'full' : 'fast'; - return util.copy(formats[mode]); -} - - -formats.fast = { - // date: http://tools.ietf.org/html/rfc3339#section-5.6 - date: /^\d\d\d\d-[0-1]\d-[0-3]\d$/, - // date-time: http://tools.ietf.org/html/rfc3339#section-5.6 - time: /^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i, - 'date-time': /^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i, - // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js - uri: /^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i, - 'uri-reference': /^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i, - 'uri-template': URITEMPLATE, - url: URL, - // email (sources from jsen validator): - // http://stackoverflow.com/questions/201323/using-a-regular-expression-to-validate-an-email-address#answer-8829363 - // http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'willful violation') - email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i, - hostname: HOSTNAME, - // optimized https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9780596802837/ch07s16.html - ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/, - // optimized http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses - ipv6: /^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i, - regex: regex, - // uuid: http://tools.ietf.org/html/rfc4122 - uuid: UUID, - // JSON-pointer: https://tools.ietf.org/html/rfc6901 - // uri fragment: https://tools.ietf.org/html/rfc3986#appendix-A - 'json-pointer': JSON_POINTER, - 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT, - // relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00 - 'relative-json-pointer': RELATIVE_JSON_POINTER -}; - - -formats.full = { - date: date, - time: time, - 'date-time': date_time, - uri: uri, - 'uri-reference': URIREF, - 'uri-template': URITEMPLATE, - url: URL, - email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i, - hostname: hostname, - ipv4: /^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/, - ipv6: /^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i, - regex: regex, - uuid: UUID, - 'json-pointer': JSON_POINTER, - 'json-pointer-uri-fragment': JSON_POINTER_URI_FRAGMENT, - 'relative-json-pointer': RELATIVE_JSON_POINTER -}; - - -function isLeapYear(year) { - // https://tools.ietf.org/html/rfc3339#appendix-C - return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); -} - - -function date(str) { - // full-date from http://tools.ietf.org/html/rfc3339#section-5.6 - var matches = str.match(DATE); - if (!matches) return false; - - var year = +matches[1]; - var month = +matches[2]; - var day = +matches[3]; - - return month >= 1 && month <= 12 && day >= 1 && - day <= (month == 2 && isLeapYear(year) ? 29 : DAYS[month]); -} - - -function time(str, full) { - var matches = str.match(TIME); - if (!matches) return false; - - var hour = matches[1]; - var minute = matches[2]; - var second = matches[3]; - var timeZone = matches[5]; - return ((hour <= 23 && minute <= 59 && second <= 59) || - (hour == 23 && minute == 59 && second == 60)) && - (!full || timeZone); -} - - -var DATE_TIME_SEPARATOR = /t|\s/i; -function date_time(str) { - // http://tools.ietf.org/html/rfc3339#section-5.6 - var dateTime = str.split(DATE_TIME_SEPARATOR); - return dateTime.length == 2 && date(dateTime[0]) && time(dateTime[1], true); -} - - -function hostname(str) { - // https://tools.ietf.org/html/rfc1034#section-3.5 - // https://tools.ietf.org/html/rfc1123#section-2 - return str.length <= 255 && HOSTNAME.test(str); -} - - -var NOT_URI_FRAGMENT = /\/|:/; -function uri(str) { - // http://jmrware.com/articles/2009/uri_regexp/URI_regex.html + optional protocol + required "." - return NOT_URI_FRAGMENT.test(str) && URI.test(str); -} - - -var Z_ANCHOR = /[^\\]\\Z/; -function regex(str) { - if (Z_ANCHOR.test(str)) return false; - try { - new RegExp(str); - return true; - } catch(e) { - return false; - } -} diff --git a/node_modules/ajv/lib/compile/index.js b/node_modules/ajv/lib/compile/index.js deleted file mode 100644 index 8e369db..0000000 --- a/node_modules/ajv/lib/compile/index.js +++ /dev/null @@ -1,379 +0,0 @@ -'use strict'; - -var resolve = require('./resolve') - , util = require('./util') - , errorClasses = require('./error_classes') - , stableStringify = require('fast-json-stable-stringify'); - -var validateGenerator = require('../dotjs/validate'); - -/** - * Functions below are used inside compiled validations function - */ - -var ucs2length = util.ucs2length; -var equal = require('fast-deep-equal'); - -// this error is thrown by async schemas to return validation errors via exception -var ValidationError = errorClasses.Validation; - -module.exports = compile; - - -/** - * Compiles schema to validation function - * @this Ajv - * @param {Object} schema schema object - * @param {Object} root object with information about the root schema for this schema - * @param {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution - * @param {String} baseId base ID for IDs in the schema - * @return {Function} validation function - */ -function compile(schema, root, localRefs, baseId) { - /* jshint validthis: true, evil: true */ - /* eslint no-shadow: 0 */ - var self = this - , opts = this._opts - , refVal = [ undefined ] - , refs = {} - , patterns = [] - , patternsHash = {} - , defaults = [] - , defaultsHash = {} - , customRules = []; - - root = root || { schema: schema, refVal: refVal, refs: refs }; - - var c = checkCompiling.call(this, schema, root, baseId); - var compilation = this._compilations[c.index]; - if (c.compiling) return (compilation.callValidate = callValidate); - - var formats = this._formats; - var RULES = this.RULES; - - try { - var v = localCompile(schema, root, localRefs, baseId); - compilation.validate = v; - var cv = compilation.callValidate; - if (cv) { - cv.schema = v.schema; - cv.errors = null; - cv.refs = v.refs; - cv.refVal = v.refVal; - cv.root = v.root; - cv.$async = v.$async; - if (opts.sourceCode) cv.source = v.source; - } - return v; - } finally { - endCompiling.call(this, schema, root, baseId); - } - - /* @this {*} - custom context, see passContext option */ - function callValidate() { - /* jshint validthis: true */ - var validate = compilation.validate; - var result = validate.apply(this, arguments); - callValidate.errors = validate.errors; - return result; - } - - function localCompile(_schema, _root, localRefs, baseId) { - var isRoot = !_root || (_root && _root.schema == _schema); - if (_root.schema != root.schema) - return compile.call(self, _schema, _root, localRefs, baseId); - - var $async = _schema.$async === true; - - var sourceCode = validateGenerator({ - isTop: true, - schema: _schema, - isRoot: isRoot, - baseId: baseId, - root: _root, - schemaPath: '', - errSchemaPath: '#', - errorPath: '""', - MissingRefError: errorClasses.MissingRef, - RULES: RULES, - validate: validateGenerator, - util: util, - resolve: resolve, - resolveRef: resolveRef, - usePattern: usePattern, - useDefault: useDefault, - useCustomRule: useCustomRule, - opts: opts, - formats: formats, - logger: self.logger, - self: self - }); - - sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode) - + vars(defaults, defaultCode) + vars(customRules, customRuleCode) - + sourceCode; - - if (opts.processCode) sourceCode = opts.processCode(sourceCode); - // console.log('\n\n\n *** \n', JSON.stringify(sourceCode)); - var validate; - try { - var makeValidate = new Function( - 'self', - 'RULES', - 'formats', - 'root', - 'refVal', - 'defaults', - 'customRules', - 'equal', - 'ucs2length', - 'ValidationError', - sourceCode - ); - - validate = makeValidate( - self, - RULES, - formats, - root, - refVal, - defaults, - customRules, - equal, - ucs2length, - ValidationError - ); - - refVal[0] = validate; - } catch(e) { - self.logger.error('Error compiling schema, function code:', sourceCode); - throw e; - } - - validate.schema = _schema; - validate.errors = null; - validate.refs = refs; - validate.refVal = refVal; - validate.root = isRoot ? validate : _root; - if ($async) validate.$async = true; - if (opts.sourceCode === true) { - validate.source = { - code: sourceCode, - patterns: patterns, - defaults: defaults - }; - } - - return validate; - } - - function resolveRef(baseId, ref, isRoot) { - ref = resolve.url(baseId, ref); - var refIndex = refs[ref]; - var _refVal, refCode; - if (refIndex !== undefined) { - _refVal = refVal[refIndex]; - refCode = 'refVal[' + refIndex + ']'; - return resolvedRef(_refVal, refCode); - } - if (!isRoot && root.refs) { - var rootRefId = root.refs[ref]; - if (rootRefId !== undefined) { - _refVal = root.refVal[rootRefId]; - refCode = addLocalRef(ref, _refVal); - return resolvedRef(_refVal, refCode); - } - } - - refCode = addLocalRef(ref); - var v = resolve.call(self, localCompile, root, ref); - if (v === undefined) { - var localSchema = localRefs && localRefs[ref]; - if (localSchema) { - v = resolve.inlineRef(localSchema, opts.inlineRefs) - ? localSchema - : compile.call(self, localSchema, root, localRefs, baseId); - } - } - - if (v === undefined) { - removeLocalRef(ref); - } else { - replaceLocalRef(ref, v); - return resolvedRef(v, refCode); - } - } - - function addLocalRef(ref, v) { - var refId = refVal.length; - refVal[refId] = v; - refs[ref] = refId; - return 'refVal' + refId; - } - - function removeLocalRef(ref) { - delete refs[ref]; - } - - function replaceLocalRef(ref, v) { - var refId = refs[ref]; - refVal[refId] = v; - } - - function resolvedRef(refVal, code) { - return typeof refVal == 'object' || typeof refVal == 'boolean' - ? { code: code, schema: refVal, inline: true } - : { code: code, $async: refVal && !!refVal.$async }; - } - - function usePattern(regexStr) { - var index = patternsHash[regexStr]; - if (index === undefined) { - index = patternsHash[regexStr] = patterns.length; - patterns[index] = regexStr; - } - return 'pattern' + index; - } - - function useDefault(value) { - switch (typeof value) { - case 'boolean': - case 'number': - return '' + value; - case 'string': - return util.toQuotedString(value); - case 'object': - if (value === null) return 'null'; - var valueStr = stableStringify(value); - var index = defaultsHash[valueStr]; - if (index === undefined) { - index = defaultsHash[valueStr] = defaults.length; - defaults[index] = value; - } - return 'default' + index; - } - } - - function useCustomRule(rule, schema, parentSchema, it) { - var validateSchema = rule.definition.validateSchema; - if (validateSchema && self._opts.validateSchema !== false) { - var valid = validateSchema(schema); - if (!valid) { - var message = 'keyword schema is invalid: ' + self.errorsText(validateSchema.errors); - if (self._opts.validateSchema == 'log') self.logger.error(message); - else throw new Error(message); - } - } - - var compile = rule.definition.compile - , inline = rule.definition.inline - , macro = rule.definition.macro; - - var validate; - if (compile) { - validate = compile.call(self, schema, parentSchema, it); - } else if (macro) { - validate = macro.call(self, schema, parentSchema, it); - if (opts.validateSchema !== false) self.validateSchema(validate, true); - } else if (inline) { - validate = inline.call(self, it, rule.keyword, schema, parentSchema); - } else { - validate = rule.definition.validate; - if (!validate) return; - } - - if (validate === undefined) - throw new Error('custom keyword "' + rule.keyword + '"failed to compile'); - - var index = customRules.length; - customRules[index] = validate; - - return { - code: 'customRule' + index, - validate: validate - }; - } -} - - -/** - * Checks if the schema is currently compiled - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - * @return {Object} object with properties "index" (compilation index) and "compiling" (boolean) - */ -function checkCompiling(schema, root, baseId) { - /* jshint validthis: true */ - var index = compIndex.call(this, schema, root, baseId); - if (index >= 0) return { index: index, compiling: true }; - index = this._compilations.length; - this._compilations[index] = { - schema: schema, - root: root, - baseId: baseId - }; - return { index: index, compiling: false }; -} - - -/** - * Removes the schema from the currently compiled list - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - */ -function endCompiling(schema, root, baseId) { - /* jshint validthis: true */ - var i = compIndex.call(this, schema, root, baseId); - if (i >= 0) this._compilations.splice(i, 1); -} - - -/** - * Index of schema compilation in the currently compiled list - * @this Ajv - * @param {Object} schema schema to compile - * @param {Object} root root object - * @param {String} baseId base schema ID - * @return {Integer} compilation index - */ -function compIndex(schema, root, baseId) { - /* jshint validthis: true */ - for (var i=0; i= 0xD800 && value <= 0xDBFF && pos < len) { - // high surrogate, and there is a next character - value = str.charCodeAt(pos); - if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate - } - } - return length; -}; diff --git a/node_modules/ajv/lib/compile/util.js b/node_modules/ajv/lib/compile/util.js deleted file mode 100644 index 263891c..0000000 --- a/node_modules/ajv/lib/compile/util.js +++ /dev/null @@ -1,267 +0,0 @@ -'use strict'; - - -module.exports = { - copy: copy, - checkDataType: checkDataType, - checkDataTypes: checkDataTypes, - coerceToTypes: coerceToTypes, - toHash: toHash, - getProperty: getProperty, - escapeQuotes: escapeQuotes, - equal: require('fast-deep-equal'), - ucs2length: require('./ucs2length'), - varOccurences: varOccurences, - varReplace: varReplace, - cleanUpCode: cleanUpCode, - finalCleanUpCode: finalCleanUpCode, - schemaHasRules: schemaHasRules, - schemaHasRulesExcept: schemaHasRulesExcept, - toQuotedString: toQuotedString, - getPathExpr: getPathExpr, - getPath: getPath, - getData: getData, - unescapeFragment: unescapeFragment, - unescapeJsonPointer: unescapeJsonPointer, - escapeFragment: escapeFragment, - escapeJsonPointer: escapeJsonPointer -}; - - -function copy(o, to) { - to = to || {}; - for (var key in o) to[key] = o[key]; - return to; -} - - -function checkDataType(dataType, data, negate) { - var EQUAL = negate ? ' !== ' : ' === ' - , AND = negate ? ' || ' : ' && ' - , OK = negate ? '!' : '' - , NOT = negate ? '' : '!'; - switch (dataType) { - case 'null': return data + EQUAL + 'null'; - case 'array': return OK + 'Array.isArray(' + data + ')'; - case 'object': return '(' + OK + data + AND + - 'typeof ' + data + EQUAL + '"object"' + AND + - NOT + 'Array.isArray(' + data + '))'; - case 'integer': return '(typeof ' + data + EQUAL + '"number"' + AND + - NOT + '(' + data + ' % 1)' + - AND + data + EQUAL + data + ')'; - default: return 'typeof ' + data + EQUAL + '"' + dataType + '"'; - } -} - - -function checkDataTypes(dataTypes, data) { - switch (dataTypes.length) { - case 1: return checkDataType(dataTypes[0], data, true); - default: - var code = ''; - var types = toHash(dataTypes); - if (types.array && types.object) { - code = types.null ? '(': '(!' + data + ' || '; - code += 'typeof ' + data + ' !== "object")'; - delete types.null; - delete types.array; - delete types.object; - } - if (types.number) delete types.integer; - for (var t in types) - code += (code ? ' && ' : '' ) + checkDataType(t, data, true); - - return code; - } -} - - -var COERCE_TO_TYPES = toHash([ 'string', 'number', 'integer', 'boolean', 'null' ]); -function coerceToTypes(optionCoerceTypes, dataTypes) { - if (Array.isArray(dataTypes)) { - var types = []; - for (var i=0; i= lvl) throw new Error('Cannot access property/index ' + up + ' levels up, current level is ' + lvl); - return paths[lvl - up]; - } - - if (up > lvl) throw new Error('Cannot access data ' + up + ' levels up, current level is ' + lvl); - data = 'data' + ((lvl - up) || ''); - if (!jsonPointer) return data; - } - - var expr = data; - var segments = jsonPointer.split('/'); - for (var i=0; i' - , $notOp = $isMax ? '>' : '<' - , $errorKeyword = undefined; -}} - -{{? $isDataExcl }} - {{ - var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr) - , $exclusive = 'exclusive' + $lvl - , $exclType = 'exclType' + $lvl - , $exclIsNumber = 'exclIsNumber' + $lvl - , $opExpr = 'op' + $lvl - , $opStr = '\' + ' + $opExpr + ' + \''; - }} - var schemaExcl{{=$lvl}} = {{=$schemaValueExcl}}; - {{ $schemaValueExcl = 'schemaExcl' + $lvl; }} - - var {{=$exclusive}}; - var {{=$exclType}} = typeof {{=$schemaValueExcl}}; - if ({{=$exclType}} != 'boolean' && {{=$exclType}} != 'undefined' && {{=$exclType}} != 'number') { - {{ var $errorKeyword = $exclusiveKeyword; }} - {{# def.error:'_exclusiveLimit' }} - } else if ({{# def.$dataNotType:'number' }} - {{=$exclType}} == 'number' - ? ( - ({{=$exclusive}} = {{=$schemaValue}} === undefined || {{=$schemaValueExcl}} {{=$op}}= {{=$schemaValue}}) - ? {{=$data}} {{=$notOp}}= {{=$schemaValueExcl}} - : {{=$data}} {{=$notOp}} {{=$schemaValue}} - ) - : ( - ({{=$exclusive}} = {{=$schemaValueExcl}} === true) - ? {{=$data}} {{=$notOp}}= {{=$schemaValue}} - : {{=$data}} {{=$notOp}} {{=$schemaValue}} - ) - || {{=$data}} !== {{=$data}}) { - var op{{=$lvl}} = {{=$exclusive}} ? '{{=$op}}' : '{{=$op}}='; - {{ - if ($schema === undefined) { - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $schemaValue = $schemaValueExcl; - $isData = $isDataExcl; - } - }} -{{??}} - {{ - var $exclIsNumber = typeof $schemaExcl == 'number' - , $opStr = $op; /*used in error*/ - }} - - {{? $exclIsNumber && $isData }} - {{ var $opExpr = '\'' + $opStr + '\''; /*used in error*/ }} - if ({{# def.$dataNotType:'number' }} - ( {{=$schemaValue}} === undefined - || {{=$schemaExcl}} {{=$op}}= {{=$schemaValue}} - ? {{=$data}} {{=$notOp}}= {{=$schemaExcl}} - : {{=$data}} {{=$notOp}} {{=$schemaValue}} ) - || {{=$data}} !== {{=$data}}) { - {{??}} - {{ - if ($exclIsNumber && $schema === undefined) { - {{# def.setExclusiveLimit }} - $schemaValue = $schemaExcl; - $notOp += '='; - } else { - if ($exclIsNumber) - $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema); - - if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) { - {{# def.setExclusiveLimit }} - $notOp += '='; - } else { - $exclusive = false; - $opStr += '='; - } - } - - var $opExpr = '\'' + $opStr + '\''; /*used in error*/ - }} - - if ({{# def.$dataNotType:'number' }} - {{=$data}} {{=$notOp}} {{=$schemaValue}} - || {{=$data}} !== {{=$data}}) { - {{?}} -{{?}} - {{ $errorKeyword = $errorKeyword || $keyword; }} - {{# def.error:'_limit' }} - } {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/_limitItems.jst b/node_modules/ajv/lib/dot/_limitItems.jst deleted file mode 100644 index a3e078e..0000000 --- a/node_modules/ajv/lib/dot/_limitItems.jst +++ /dev/null @@ -1,10 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{ var $op = $keyword == 'maxItems' ? '>' : '<'; }} -if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) { - {{ var $errorKeyword = $keyword; }} - {{# def.error:'_limitItems' }} -} {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/_limitLength.jst b/node_modules/ajv/lib/dot/_limitLength.jst deleted file mode 100644 index cfc8dbb..0000000 --- a/node_modules/ajv/lib/dot/_limitLength.jst +++ /dev/null @@ -1,10 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }} -if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) { - {{ var $errorKeyword = $keyword; }} - {{# def.error:'_limitLength' }} -} {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/_limitProperties.jst b/node_modules/ajv/lib/dot/_limitProperties.jst deleted file mode 100644 index da7ea77..0000000 --- a/node_modules/ajv/lib/dot/_limitProperties.jst +++ /dev/null @@ -1,10 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }} -if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) { - {{ var $errorKeyword = $keyword; }} - {{# def.error:'_limitProperties' }} -} {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/allOf.jst b/node_modules/ajv/lib/dot/allOf.jst deleted file mode 100644 index 4c28363..0000000 --- a/node_modules/ajv/lib/dot/allOf.jst +++ /dev/null @@ -1,34 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - -{{ - var $currentBaseId = $it.baseId - , $allSchemasEmpty = true; -}} - -{{~ $schema:$sch:$i }} - {{? {{# def.nonEmptySchema:$sch }} }} - {{ - $allSchemasEmpty = false; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - }} - - {{# def.insertSubschemaCode }} - - {{# def.ifResultValid }} - {{?}} -{{~}} - -{{? $breakOnError }} - {{? $allSchemasEmpty }} - if (true) { - {{??}} - {{= $closingBraces.slice(0,-1) }} - {{?}} -{{?}} - -{{# def.cleanUp }} diff --git a/node_modules/ajv/lib/dot/anyOf.jst b/node_modules/ajv/lib/dot/anyOf.jst deleted file mode 100644 index 086cf2b..0000000 --- a/node_modules/ajv/lib/dot/anyOf.jst +++ /dev/null @@ -1,48 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - -{{ - var $noEmptySchema = $schema.every(function($sch) { - return {{# def.nonEmptySchema:$sch }}; - }); -}} -{{? $noEmptySchema }} - {{ var $currentBaseId = $it.baseId; }} - var {{=$errs}} = errors; - var {{=$valid}} = false; - - {{# def.setCompositeRule }} - - {{~ $schema:$sch:$i }} - {{ - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - }} - - {{# def.insertSubschemaCode }} - - {{=$valid}} = {{=$valid}} || {{=$nextValid}}; - - if (!{{=$valid}}) { - {{ $closingBraces += '}'; }} - {{~}} - - {{# def.resetCompositeRule }} - - {{= $closingBraces }} - - if (!{{=$valid}}) { - {{# def.extraError:'anyOf' }} - } else { - {{# def.resetErrors }} - {{? it.opts.allErrors }} } {{?}} - - {{# def.cleanUp }} -{{??}} - {{? $breakOnError }} - if (true) { - {{?}} -{{?}} diff --git a/node_modules/ajv/lib/dot/coerce.def b/node_modules/ajv/lib/dot/coerce.def deleted file mode 100644 index 86e0e18..0000000 --- a/node_modules/ajv/lib/dot/coerce.def +++ /dev/null @@ -1,61 +0,0 @@ -{{## def.coerceType: - {{ - var $dataType = 'dataType' + $lvl - , $coerced = 'coerced' + $lvl; - }} - var {{=$dataType}} = typeof {{=$data}}; - {{? it.opts.coerceTypes == 'array'}} - if ({{=$dataType}} == 'object' && Array.isArray({{=$data}})) {{=$dataType}} = 'array'; - {{?}} - - var {{=$coerced}} = undefined; - - {{ var $bracesCoercion = ''; }} - {{~ $coerceToTypes:$type:$i }} - {{? $i }} - if ({{=$coerced}} === undefined) { - {{ $bracesCoercion += '}'; }} - {{?}} - - {{? it.opts.coerceTypes == 'array' && $type != 'array' }} - if ({{=$dataType}} == 'array' && {{=$data}}.length == 1) { - {{=$coerced}} = {{=$data}} = {{=$data}}[0]; - {{=$dataType}} = typeof {{=$data}}; - /*if ({{=$dataType}} == 'object' && Array.isArray({{=$data}})) {{=$dataType}} = 'array';*/ - } - {{?}} - - {{? $type == 'string' }} - if ({{=$dataType}} == 'number' || {{=$dataType}} == 'boolean') - {{=$coerced}} = '' + {{=$data}}; - else if ({{=$data}} === null) {{=$coerced}} = ''; - {{?? $type == 'number' || $type == 'integer' }} - if ({{=$dataType}} == 'boolean' || {{=$data}} === null - || ({{=$dataType}} == 'string' && {{=$data}} && {{=$data}} == +{{=$data}} - {{? $type == 'integer' }} && !({{=$data}} % 1){{?}})) - {{=$coerced}} = +{{=$data}}; - {{?? $type == 'boolean' }} - if ({{=$data}} === 'false' || {{=$data}} === 0 || {{=$data}} === null) - {{=$coerced}} = false; - else if ({{=$data}} === 'true' || {{=$data}} === 1) - {{=$coerced}} = true; - {{?? $type == 'null' }} - if ({{=$data}} === '' || {{=$data}} === 0 || {{=$data}} === false) - {{=$coerced}} = null; - {{?? it.opts.coerceTypes == 'array' && $type == 'array' }} - if ({{=$dataType}} == 'string' || {{=$dataType}} == 'number' || {{=$dataType}} == 'boolean' || {{=$data}} == null) - {{=$coerced}} = [{{=$data}}]; - {{?}} - {{~}} - - {{= $bracesCoercion }} - - if ({{=$coerced}} === undefined) { - {{# def.error:'type' }} - } else { - {{# def.setParentData }} - {{=$data}} = {{=$coerced}}; - {{? !$dataLvl }}if ({{=$parentData}} !== undefined){{?}} - {{=$parentData}}[{{=$parentDataProperty}}] = {{=$coerced}}; - } -#}} diff --git a/node_modules/ajv/lib/dot/comment.jst b/node_modules/ajv/lib/dot/comment.jst deleted file mode 100644 index f959150..0000000 --- a/node_modules/ajv/lib/dot/comment.jst +++ /dev/null @@ -1,9 +0,0 @@ -{{# def.definitions }} -{{# def.setupKeyword }} - -{{ var $comment = it.util.toQuotedString($schema); }} -{{? it.opts.$comment === true }} - console.log({{=$comment}}); -{{?? typeof it.opts.$comment == 'function' }} - self._opts.$comment({{=$comment}}, {{=it.util.toQuotedString($errSchemaPath)}}, validate.root.schema); -{{?}} diff --git a/node_modules/ajv/lib/dot/const.jst b/node_modules/ajv/lib/dot/const.jst deleted file mode 100644 index 2aa2298..0000000 --- a/node_modules/ajv/lib/dot/const.jst +++ /dev/null @@ -1,11 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{? !$isData }} - var schema{{=$lvl}} = validate.schema{{=$schemaPath}}; -{{?}} -var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}}); -{{# def.checkError:'const' }} -{{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/contains.jst b/node_modules/ajv/lib/dot/contains.jst deleted file mode 100644 index 925d2c8..0000000 --- a/node_modules/ajv/lib/dot/contains.jst +++ /dev/null @@ -1,57 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - - -{{ - var $idx = 'i' + $lvl - , $dataNxt = $it.dataLevel = it.dataLevel + 1 - , $nextData = 'data' + $dataNxt - , $currentBaseId = it.baseId - , $nonEmptySchema = {{# def.nonEmptySchema:$schema }}; -}} - -var {{=$errs}} = errors; -var {{=$valid}}; - -{{? $nonEmptySchema }} - {{# def.setCompositeRule }} - - {{ - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - }} - - var {{=$nextValid}} = false; - - for (var {{=$idx}} = 0; {{=$idx}} < {{=$data}}.length; {{=$idx}}++) { - {{ - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - }} - - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} - - if ({{=$nextValid}}) break; - } - - {{# def.resetCompositeRule }} - {{= $closingBraces }} - - if (!{{=$nextValid}}) { -{{??}} - if ({{=$data}}.length == 0) { -{{?}} - - {{# def.error:'contains' }} - } else { - {{? $nonEmptySchema }} - {{# def.resetErrors }} - {{?}} - {{? it.opts.allErrors }} } {{?}} - -{{# def.cleanUp }} diff --git a/node_modules/ajv/lib/dot/custom.jst b/node_modules/ajv/lib/dot/custom.jst deleted file mode 100644 index d30588f..0000000 --- a/node_modules/ajv/lib/dot/custom.jst +++ /dev/null @@ -1,191 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{ - var $rule = this - , $definition = 'definition' + $lvl - , $rDef = $rule.definition - , $closingBraces = ''; - var $validate = $rDef.validate; - var $compile, $inline, $macro, $ruleValidate, $validateCode; -}} - -{{? $isData && $rDef.$data }} - {{ - $validateCode = 'keywordValidate' + $lvl; - var $validateSchema = $rDef.validateSchema; - }} - var {{=$definition}} = RULES.custom['{{=$keyword}}'].definition; - var {{=$validateCode}} = {{=$definition}}.validate; -{{??}} - {{ - $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it); - if (!$ruleValidate) return; - $schemaValue = 'validate.schema' + $schemaPath; - $validateCode = $ruleValidate.code; - $compile = $rDef.compile; - $inline = $rDef.inline; - $macro = $rDef.macro; - }} -{{?}} - -{{ - var $ruleErrs = $validateCode + '.errors' - , $i = 'i' + $lvl - , $ruleErr = 'ruleErr' + $lvl - , $asyncKeyword = $rDef.async; - - if ($asyncKeyword && !it.async) - throw new Error('async keyword in sync schema'); -}} - - -{{? !($inline || $macro) }}{{=$ruleErrs}} = null;{{?}} -var {{=$errs}} = errors; -var {{=$valid}}; - -{{## def.callRuleValidate: - {{=$validateCode}}.call( - {{? it.opts.passContext }}this{{??}}self{{?}} - {{? $compile || $rDef.schema === false }} - , {{=$data}} - {{??}} - , {{=$schemaValue}} - , {{=$data}} - , validate.schema{{=it.schemaPath}} - {{?}} - , {{# def.dataPath }} - {{# def.passParentData }} - , rootData - ) -#}} - -{{## def.extendErrors:_inline: - for (var {{=$i}}={{=$errs}}; {{=$i}}= 0 }} - {{# def.skipFormat }} - {{??}} - {{ throw new Error('unknown format "' + $schema + '" is used in schema at path "' + it.errSchemaPath + '"'); }} - {{?}} - {{?}} - {{ - var $isObject = typeof $format == 'object' - && !($format instanceof RegExp) - && $format.validate; - var $formatType = $isObject && $format.type || 'string'; - if ($isObject) { - var $async = $format.async === true; - $format = $format.validate; - } - }} - {{? $formatType != $ruleType }} - {{# def.skipFormat }} - {{?}} - {{? $async }} - {{ - if (!it.async) throw new Error('async format in sync schema'); - var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate'; - }} - if (!(await {{=$formatRef}}({{=$data}}))) { - {{??}} - if (!{{# def.checkFormat }}) { - {{?}} -{{?}} - {{# def.error:'format' }} - } {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/if.jst b/node_modules/ajv/lib/dot/if.jst deleted file mode 100644 index 7ccc9b7..0000000 --- a/node_modules/ajv/lib/dot/if.jst +++ /dev/null @@ -1,75 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - - -{{## def.validateIfClause:_clause: - {{ - $it.schema = it.schema['_clause']; - $it.schemaPath = it.schemaPath + '._clause'; - $it.errSchemaPath = it.errSchemaPath + '/_clause'; - }} - {{# def.insertSubschemaCode }} - {{=$valid}} = {{=$nextValid}}; - {{? $thenPresent && $elsePresent }} - {{ $ifClause = 'ifClause' + $lvl; }} - var {{=$ifClause}} = '_clause'; - {{??}} - {{ $ifClause = '\'_clause\''; }} - {{?}} -#}} - -{{ - var $thenSch = it.schema['then'] - , $elseSch = it.schema['else'] - , $thenPresent = $thenSch !== undefined && {{# def.nonEmptySchema:$thenSch }} - , $elsePresent = $elseSch !== undefined && {{# def.nonEmptySchema:$elseSch }} - , $currentBaseId = $it.baseId; -}} - -{{? $thenPresent || $elsePresent }} - {{ - var $ifClause; - $it.createErrors = false; - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - }} - var {{=$errs}} = errors; - var {{=$valid}} = true; - - {{# def.setCompositeRule }} - {{# def.insertSubschemaCode }} - {{ $it.createErrors = true; }} - {{# def.resetErrors }} - {{# def.resetCompositeRule }} - - {{? $thenPresent }} - if ({{=$nextValid}}) { - {{# def.validateIfClause:then }} - } - {{? $elsePresent }} - else { - {{?}} - {{??}} - if (!{{=$nextValid}}) { - {{?}} - - {{? $elsePresent }} - {{# def.validateIfClause:else }} - } - {{?}} - - if (!{{=$valid}}) { - {{# def.extraError:'if' }} - } - {{? $breakOnError }} else { {{?}} - - {{# def.cleanUp }} -{{??}} - {{? $breakOnError }} - if (true) { - {{?}} -{{?}} - diff --git a/node_modules/ajv/lib/dot/items.jst b/node_modules/ajv/lib/dot/items.jst deleted file mode 100644 index 8c0f5ac..0000000 --- a/node_modules/ajv/lib/dot/items.jst +++ /dev/null @@ -1,100 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - - -{{## def.validateItems:startFrom: - for (var {{=$idx}} = {{=startFrom}}; {{=$idx}} < {{=$data}}.length; {{=$idx}}++) { - {{ - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - }} - - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} - - {{? $breakOnError }} - if (!{{=$nextValid}}) break; - {{?}} - } -#}} - -{{ - var $idx = 'i' + $lvl - , $dataNxt = $it.dataLevel = it.dataLevel + 1 - , $nextData = 'data' + $dataNxt - , $currentBaseId = it.baseId; -}} - -var {{=$errs}} = errors; -var {{=$valid}}; - -{{? Array.isArray($schema) }} - {{ /* 'items' is an array of schemas */}} - {{ var $additionalItems = it.schema.additionalItems; }} - {{? $additionalItems === false }} - {{=$valid}} = {{=$data}}.length <= {{= $schema.length }}; - {{ - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalItems'; - }} - {{# def.checkError:'additionalItems' }} - {{ $errSchemaPath = $currErrSchemaPath; }} - {{# def.elseIfValid}} - {{?}} - - {{~ $schema:$sch:$i }} - {{? {{# def.nonEmptySchema:$sch }} }} - {{=$nextValid}} = true; - - if ({{=$data}}.length > {{=$i}}) { - {{ - var $passData = $data + '[' + $i + ']'; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true); - $it.dataPathArr[$dataNxt] = $i; - }} - - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} - } - - {{# def.ifResultValid }} - {{?}} - {{~}} - - {{? typeof $additionalItems == 'object' && {{# def.nonEmptySchema:$additionalItems }} }} - {{ - $it.schema = $additionalItems; - $it.schemaPath = it.schemaPath + '.additionalItems'; - $it.errSchemaPath = it.errSchemaPath + '/additionalItems'; - }} - {{=$nextValid}} = true; - - if ({{=$data}}.length > {{= $schema.length }}) { - {{# def.validateItems: $schema.length }} - } - - {{# def.ifResultValid }} - {{?}} - -{{?? {{# def.nonEmptySchema:$schema }} }} - {{ /* 'items' is a single schema */}} - {{ - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - }} - {{# def.validateItems: 0 }} -{{?}} - -{{? $breakOnError }} - {{= $closingBraces }} - if ({{=$errs}} == errors) { -{{?}} - -{{# def.cleanUp }} diff --git a/node_modules/ajv/lib/dot/missing.def b/node_modules/ajv/lib/dot/missing.def deleted file mode 100644 index a73b9f9..0000000 --- a/node_modules/ajv/lib/dot/missing.def +++ /dev/null @@ -1,39 +0,0 @@ -{{## def.checkMissingProperty:_properties: - {{~ _properties:$propertyKey:$i }} - {{?$i}} || {{?}} - {{ - var $prop = it.util.getProperty($propertyKey) - , $useData = $data + $prop; - }} - ( ({{# def.noPropertyInData }}) && (missing{{=$lvl}} = {{= it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop) }}) ) - {{~}} -#}} - - -{{## def.errorMissingProperty:_error: - {{ - var $propertyPath = 'missing' + $lvl - , $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.opts.jsonPointers - ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) - : $currentErrorPath + ' + ' + $propertyPath; - } - }} - {{# def.error:_error }} -#}} - - -{{## def.allErrorsMissingProperty:_error: - {{ - var $prop = it.util.getProperty($propertyKey) - , $missingProperty = it.util.escapeQuotes($propertyKey) - , $useData = $data + $prop; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - }} - if ({{# def.noPropertyInData }}) { - {{# def.addError:_error }} - } -#}} diff --git a/node_modules/ajv/lib/dot/multipleOf.jst b/node_modules/ajv/lib/dot/multipleOf.jst deleted file mode 100644 index 5f8dd33..0000000 --- a/node_modules/ajv/lib/dot/multipleOf.jst +++ /dev/null @@ -1,20 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -var division{{=$lvl}}; -if ({{?$isData}} - {{=$schemaValue}} !== undefined && ( - typeof {{=$schemaValue}} != 'number' || - {{?}} - (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}}, - {{? it.opts.multipleOfPrecision }} - Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}} - {{??}} - division{{=$lvl}} !== parseInt(division{{=$lvl}}) - {{?}} - ) - {{?$isData}} ) {{?}} ) { - {{# def.error:'multipleOf' }} -} {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/not.jst b/node_modules/ajv/lib/dot/not.jst deleted file mode 100644 index e03185a..0000000 --- a/node_modules/ajv/lib/dot/not.jst +++ /dev/null @@ -1,43 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - -{{? {{# def.nonEmptySchema:$schema }} }} - {{ - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - }} - - var {{=$errs}} = errors; - - {{# def.setCompositeRule }} - - {{ - $it.createErrors = false; - var $allErrorsOption; - if ($it.opts.allErrors) { - $allErrorsOption = $it.opts.allErrors; - $it.opts.allErrors = false; - } - }} - {{= it.validate($it) }} - {{ - $it.createErrors = true; - if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption; - }} - - {{# def.resetCompositeRule }} - - if ({{=$nextValid}}) { - {{# def.error:'not' }} - } else { - {{# def.resetErrors }} - {{? it.opts.allErrors }} } {{?}} -{{??}} - {{# def.addError:'not' }} - {{? $breakOnError}} - if (false) { - {{?}} -{{?}} diff --git a/node_modules/ajv/lib/dot/oneOf.jst b/node_modules/ajv/lib/dot/oneOf.jst deleted file mode 100644 index bcce2c6..0000000 --- a/node_modules/ajv/lib/dot/oneOf.jst +++ /dev/null @@ -1,54 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - -{{ - var $currentBaseId = $it.baseId - , $prevValid = 'prevValid' + $lvl - , $passingSchemas = 'passingSchemas' + $lvl; -}} - -var {{=$errs}} = errors - , {{=$prevValid}} = false - , {{=$valid}} = false - , {{=$passingSchemas}} = null; - -{{# def.setCompositeRule }} - -{{~ $schema:$sch:$i }} - {{? {{# def.nonEmptySchema:$sch }} }} - {{ - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - }} - - {{# def.insertSubschemaCode }} - {{??}} - var {{=$nextValid}} = true; - {{?}} - - {{? $i }} - if ({{=$nextValid}} && {{=$prevValid}}) { - {{=$valid}} = false; - {{=$passingSchemas}} = [{{=$passingSchemas}}, {{=$i}}]; - } else { - {{ $closingBraces += '}'; }} - {{?}} - - if ({{=$nextValid}}) { - {{=$valid}} = {{=$prevValid}} = true; - {{=$passingSchemas}} = {{=$i}}; - } -{{~}} - -{{# def.resetCompositeRule }} - -{{= $closingBraces }} - -if (!{{=$valid}}) { - {{# def.extraError:'oneOf' }} -} else { - {{# def.resetErrors }} -{{? it.opts.allErrors }} } {{?}} diff --git a/node_modules/ajv/lib/dot/pattern.jst b/node_modules/ajv/lib/dot/pattern.jst deleted file mode 100644 index 3a37ef6..0000000 --- a/node_modules/ajv/lib/dot/pattern.jst +++ /dev/null @@ -1,14 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - -{{ - var $regexp = $isData - ? '(new RegExp(' + $schemaValue + '))' - : it.usePattern($schema); -}} - -if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) { - {{# def.error:'pattern' }} -} {{? $breakOnError }} else { {{?}} diff --git a/node_modules/ajv/lib/dot/properties.jst b/node_modules/ajv/lib/dot/properties.jst deleted file mode 100644 index 862067e..0000000 --- a/node_modules/ajv/lib/dot/properties.jst +++ /dev/null @@ -1,244 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - - -{{## def.validateAdditional: - {{ /* additionalProperties is schema */ - $it.schema = $aProperties; - $it.schemaPath = it.schemaPath + '.additionalProperties'; - $it.errSchemaPath = it.errSchemaPath + '/additionalProperties'; - $it.errorPath = it.opts._errorDataPathProperty - ? it.errorPath - : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - }} - - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} -#}} - - -{{ - var $key = 'key' + $lvl - , $idx = 'idx' + $lvl - , $dataNxt = $it.dataLevel = it.dataLevel + 1 - , $nextData = 'data' + $dataNxt - , $dataProperties = 'dataProperties' + $lvl; - - var $schemaKeys = Object.keys($schema || {}) - , $pProperties = it.schema.patternProperties || {} - , $pPropertyKeys = Object.keys($pProperties) - , $aProperties = it.schema.additionalProperties - , $someProperties = $schemaKeys.length || $pPropertyKeys.length - , $noAdditional = $aProperties === false - , $additionalIsSchema = typeof $aProperties == 'object' - && Object.keys($aProperties).length - , $removeAdditional = it.opts.removeAdditional - , $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional - , $ownProperties = it.opts.ownProperties - , $currentBaseId = it.baseId; - - var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) - var $requiredHash = it.util.toHash($required); -}} - - -var {{=$errs}} = errors; -var {{=$nextValid}} = true; -{{? $ownProperties }} - var {{=$dataProperties}} = undefined; -{{?}} - -{{? $checkAdditional }} - {{# def.iterateProperties }} - {{? $someProperties }} - var isAdditional{{=$lvl}} = !(false - {{? $schemaKeys.length }} - {{? $schemaKeys.length > 8 }} - || validate.schema{{=$schemaPath}}.hasOwnProperty({{=$key}}) - {{??}} - {{~ $schemaKeys:$propertyKey }} - || {{=$key}} == {{= it.util.toQuotedString($propertyKey) }} - {{~}} - {{?}} - {{?}} - {{? $pPropertyKeys.length }} - {{~ $pPropertyKeys:$pProperty:$i }} - || {{= it.usePattern($pProperty) }}.test({{=$key}}) - {{~}} - {{?}} - ); - - if (isAdditional{{=$lvl}}) { - {{?}} - {{? $removeAdditional == 'all' }} - delete {{=$data}}[{{=$key}}]; - {{??}} - {{ - var $currentErrorPath = it.errorPath; - var $additionalProperty = '\' + ' + $key + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - } - }} - {{? $noAdditional }} - {{? $removeAdditional }} - delete {{=$data}}[{{=$key}}]; - {{??}} - {{=$nextValid}} = false; - {{ - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalProperties'; - }} - {{# def.error:'additionalProperties' }} - {{ $errSchemaPath = $currErrSchemaPath; }} - {{? $breakOnError }} break; {{?}} - {{?}} - {{?? $additionalIsSchema }} - {{? $removeAdditional == 'failing' }} - var {{=$errs}} = errors; - {{# def.setCompositeRule }} - - {{# def.validateAdditional }} - - if (!{{=$nextValid}}) { - errors = {{=$errs}}; - if (validate.errors !== null) { - if (errors) validate.errors.length = errors; - else validate.errors = null; - } - delete {{=$data}}[{{=$key}}]; - } - - {{# def.resetCompositeRule }} - {{??}} - {{# def.validateAdditional }} - {{? $breakOnError }} if (!{{=$nextValid}}) break; {{?}} - {{?}} - {{?}} - {{ it.errorPath = $currentErrorPath; }} - {{?}} - {{? $someProperties }} - } - {{?}} - } - - {{# def.ifResultValid }} -{{?}} - -{{ var $useDefaults = it.opts.useDefaults && !it.compositeRule; }} - -{{? $schemaKeys.length }} - {{~ $schemaKeys:$propertyKey }} - {{ var $sch = $schema[$propertyKey]; }} - - {{? {{# def.nonEmptySchema:$sch}} }} - {{ - var $prop = it.util.getProperty($propertyKey) - , $passData = $data + $prop - , $hasDefault = $useDefaults && $sch.default !== undefined; - $it.schema = $sch; - $it.schemaPath = $schemaPath + $prop; - $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey); - $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers); - $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey); - }} - - {{# def.generateSubschemaCode }} - - {{? {{# def.willOptimize }} }} - {{ - $code = {{# def._optimizeValidate }}; - var $useData = $passData; - }} - {{??}} - {{ var $useData = $nextData; }} - var {{=$nextData}} = {{=$passData}}; - {{?}} - - {{? $hasDefault }} - {{= $code }} - {{??}} - {{? $requiredHash && $requiredHash[$propertyKey] }} - if ({{# def.noPropertyInData }}) { - {{=$nextValid}} = false; - {{ - var $currentErrorPath = it.errorPath - , $currErrSchemaPath = $errSchemaPath - , $missingProperty = it.util.escapeQuotes($propertyKey); - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - $errSchemaPath = it.errSchemaPath + '/required'; - }} - {{# def.error:'required' }} - {{ $errSchemaPath = $currErrSchemaPath; }} - {{ it.errorPath = $currentErrorPath; }} - } else { - {{??}} - {{? $breakOnError }} - if ({{# def.noPropertyInData }}) { - {{=$nextValid}} = true; - } else { - {{??}} - if ({{=$useData}} !== undefined - {{? $ownProperties }} - && {{# def.isOwnProperty }} - {{?}} - ) { - {{?}} - {{?}} - - {{= $code }} - } - {{?}} {{ /* $hasDefault */ }} - {{?}} {{ /* def.nonEmptySchema */ }} - - {{# def.ifResultValid }} - {{~}} -{{?}} - -{{? $pPropertyKeys.length }} - {{~ $pPropertyKeys:$pProperty }} - {{ var $sch = $pProperties[$pProperty]; }} - - {{? {{# def.nonEmptySchema:$sch}} }} - {{ - $it.schema = $sch; - $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty); - $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' - + it.util.escapeFragment($pProperty); - }} - - {{# def.iterateProperties }} - if ({{= it.usePattern($pProperty) }}.test({{=$key}})) { - {{ - $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - }} - - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} - - {{? $breakOnError }} if (!{{=$nextValid}}) break; {{?}} - } - {{? $breakOnError }} else {{=$nextValid}} = true; {{?}} - } - - {{# def.ifResultValid }} - {{?}} {{ /* def.nonEmptySchema */ }} - {{~}} -{{?}} - - -{{? $breakOnError }} - {{= $closingBraces }} - if ({{=$errs}} == errors) { -{{?}} - -{{# def.cleanUp }} diff --git a/node_modules/ajv/lib/dot/propertyNames.jst b/node_modules/ajv/lib/dot/propertyNames.jst deleted file mode 100644 index ee52b21..0000000 --- a/node_modules/ajv/lib/dot/propertyNames.jst +++ /dev/null @@ -1,54 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.setupNextLevel }} - -var {{=$errs}} = errors; - -{{? {{# def.nonEmptySchema:$schema }} }} - {{ - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - }} - - {{ - var $key = 'key' + $lvl - , $idx = 'idx' + $lvl - , $i = 'i' + $lvl - , $invalidName = '\' + ' + $key + ' + \'' - , $dataNxt = $it.dataLevel = it.dataLevel + 1 - , $nextData = 'data' + $dataNxt - , $dataProperties = 'dataProperties' + $lvl - , $ownProperties = it.opts.ownProperties - , $currentBaseId = it.baseId; - }} - - {{? $ownProperties }} - var {{=$dataProperties}} = undefined; - {{?}} - {{# def.iterateProperties }} - var startErrs{{=$lvl}} = errors; - - {{ var $passData = $key; }} - {{# def.setCompositeRule }} - {{# def.generateSubschemaCode }} - {{# def.optimizeValidate }} - {{# def.resetCompositeRule }} - - if (!{{=$nextValid}}) { - for (var {{=$i}}=startErrs{{=$lvl}}; {{=$i}}= it.opts.loopRequired - , $ownProperties = it.opts.ownProperties; - }} - - {{? $breakOnError }} - var missing{{=$lvl}}; - {{? $loopRequired }} - {{# def.setupLoop }} - var {{=$valid}} = true; - - {{?$isData}}{{# def.check$dataIsArray }}{{?}} - - for (var {{=$i}} = 0; {{=$i}} < {{=$vSchema}}.length; {{=$i}}++) { - {{=$valid}} = {{=$data}}[{{=$vSchema}}[{{=$i}}]] !== undefined - {{? $ownProperties }} - && {{# def.isRequiredOwnProperty }} - {{?}}; - if (!{{=$valid}}) break; - } - - {{? $isData }} } {{?}} - - {{# def.checkError:'required' }} - else { - {{??}} - if ({{# def.checkMissingProperty:$required }}) { - {{# def.errorMissingProperty:'required' }} - } else { - {{?}} - {{??}} - {{? $loopRequired }} - {{# def.setupLoop }} - {{? $isData }} - if ({{=$vSchema}} && !Array.isArray({{=$vSchema}})) { - {{# def.addError:'required' }} - } else if ({{=$vSchema}} !== undefined) { - {{?}} - - for (var {{=$i}} = 0; {{=$i}} < {{=$vSchema}}.length; {{=$i}}++) { - if ({{=$data}}[{{=$vSchema}}[{{=$i}}]] === undefined - {{? $ownProperties }} - || !{{# def.isRequiredOwnProperty }} - {{?}}) { - {{# def.addError:'required' }} - } - } - - {{? $isData }} } {{?}} - {{??}} - {{~ $required:$propertyKey }} - {{# def.allErrorsMissingProperty:'required' }} - {{~}} - {{?}} - {{?}} - - {{ it.errorPath = $currentErrorPath; }} - -{{?? $breakOnError }} - if (true) { -{{?}} diff --git a/node_modules/ajv/lib/dot/uniqueItems.jst b/node_modules/ajv/lib/dot/uniqueItems.jst deleted file mode 100644 index 22f82f9..0000000 --- a/node_modules/ajv/lib/dot/uniqueItems.jst +++ /dev/null @@ -1,62 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.setupKeyword }} -{{# def.$data }} - - -{{? ($schema || $isData) && it.opts.uniqueItems !== false }} - {{? $isData }} - var {{=$valid}}; - if ({{=$schemaValue}} === false || {{=$schemaValue}} === undefined) - {{=$valid}} = true; - else if (typeof {{=$schemaValue}} != 'boolean') - {{=$valid}} = false; - else { - {{?}} - - var i = {{=$data}}.length - , {{=$valid}} = true - , j; - if (i > 1) { - {{ - var $itemType = it.schema.items && it.schema.items.type - , $typeIsArray = Array.isArray($itemType); - }} - {{? !$itemType || $itemType == 'object' || $itemType == 'array' || - ($typeIsArray && ($itemType.indexOf('object') >= 0 || $itemType.indexOf('array') >= 0)) }} - outer: - for (;i--;) { - for (j = i; j--;) { - if (equal({{=$data}}[i], {{=$data}}[j])) { - {{=$valid}} = false; - break outer; - } - } - } - {{??}} - var itemIndices = {}, item; - for (;i--;) { - var item = {{=$data}}[i]; - {{ var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); }} - if ({{= it.util[$method]($itemType, 'item', true) }}) continue; - {{? $typeIsArray}} - if (typeof item == 'string') item = '"' + item; - {{?}} - if (typeof itemIndices[item] == 'number') { - {{=$valid}} = false; - j = itemIndices[item]; - break; - } - itemIndices[item] = i; - } - {{?}} - } - - {{? $isData }} } {{?}} - - if (!{{=$valid}}) { - {{# def.error:'uniqueItems' }} - } {{? $breakOnError }} else { {{?}} -{{??}} - {{? $breakOnError }} if (true) { {{?}} -{{?}} diff --git a/node_modules/ajv/lib/dot/validate.jst b/node_modules/ajv/lib/dot/validate.jst deleted file mode 100644 index 27393cf..0000000 --- a/node_modules/ajv/lib/dot/validate.jst +++ /dev/null @@ -1,255 +0,0 @@ -{{# def.definitions }} -{{# def.errors }} -{{# def.defaults }} -{{# def.coerce }} - -{{ /** - * schema compilation (render) time: - * it = { schema, RULES, _validate, opts } - * it.validate - this template function, - * it is used recursively to generate code for subschemas - * - * runtime: - * "validate" is a variable name to which this function will be assigned - * validateRef etc. are defined in the parent scope in index.js - */ }} - -{{ - var $async = it.schema.$async === true - , $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref') - , $id = it.self._getId(it.schema); -}} - -{{? it.isTop }} - var validate = {{?$async}}{{it.async = true;}}async {{?}}function(data, dataPath, parentData, parentDataProperty, rootData) { - 'use strict'; - {{? $id && (it.opts.sourceCode || it.opts.processCode) }} - {{= '/\*# sourceURL=' + $id + ' */' }} - {{?}} -{{?}} - -{{? typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref) }} - {{ var $keyword = 'false schema'; }} - {{# def.setupKeyword }} - {{? it.schema === false}} - {{? it.isTop}} - {{ $breakOnError = true; }} - {{??}} - var {{=$valid}} = false; - {{?}} - {{# def.error:'false schema' }} - {{??}} - {{? it.isTop}} - {{? $async }} - return data; - {{??}} - validate.errors = null; - return true; - {{?}} - {{??}} - var {{=$valid}} = true; - {{?}} - {{?}} - - {{? it.isTop}} - }; - return validate; - {{?}} - - {{ return out; }} -{{?}} - - -{{? it.isTop }} - {{ - var $top = it.isTop - , $lvl = it.level = 0 - , $dataLvl = it.dataLevel = 0 - , $data = 'data'; - it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema)); - it.baseId = it.baseId || it.rootId; - delete it.isTop; - - it.dataPathArr = [undefined]; - }} - - var vErrors = null; {{ /* don't edit, used in replace */ }} - var errors = 0; {{ /* don't edit, used in replace */ }} - if (rootData === undefined) rootData = data; {{ /* don't edit, used in replace */ }} -{{??}} - {{ - var $lvl = it.level - , $dataLvl = it.dataLevel - , $data = 'data' + ($dataLvl || ''); - - if ($id) it.baseId = it.resolve.url(it.baseId, $id); - - if ($async && !it.async) throw new Error('async schema in sync schema'); - }} - - var errs_{{=$lvl}} = errors; -{{?}} - -{{ - var $valid = 'valid' + $lvl - , $breakOnError = !it.opts.allErrors - , $closingBraces1 = '' - , $closingBraces2 = ''; - - var $errorKeyword; - var $typeSchema = it.schema.type - , $typeIsArray = Array.isArray($typeSchema); - - if ($typeIsArray && $typeSchema.length == 1) { - $typeSchema = $typeSchema[0]; - $typeIsArray = false; - } -}} - -{{## def.checkType: - {{ - var $schemaPath = it.schemaPath + '.type' - , $errSchemaPath = it.errSchemaPath + '/type' - , $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; - }} - - if ({{= it.util[$method]($typeSchema, $data, true) }}) { -#}} - -{{? it.schema.$ref && $refKeywords }} - {{? it.opts.extendRefs == 'fail' }} - {{ throw new Error('$ref: validation keywords used in schema at path "' + it.errSchemaPath + '" (see option extendRefs)'); }} - {{?? it.opts.extendRefs !== true }} - {{ - $refKeywords = false; - it.logger.warn('$ref: keywords ignored in schema at path "' + it.errSchemaPath + '"'); - }} - {{?}} -{{?}} - -{{? it.schema.$comment && it.opts.$comment }} - {{= it.RULES.all.$comment.code(it, '$comment') }} -{{?}} - -{{? $typeSchema }} - {{? it.opts.coerceTypes }} - {{ var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema); }} - {{?}} - - {{ var $rulesGroup = it.RULES.types[$typeSchema]; }} - {{? $coerceToTypes || $typeIsArray || $rulesGroup === true || - ($rulesGroup && !$shouldUseGroup($rulesGroup)) }} - {{ - var $schemaPath = it.schemaPath + '.type' - , $errSchemaPath = it.errSchemaPath + '/type'; - }} - {{# def.checkType }} - {{? $coerceToTypes }} - {{# def.coerceType }} - {{??}} - {{# def.error:'type' }} - {{?}} - } - {{?}} -{{?}} - - -{{? it.schema.$ref && !$refKeywords }} - {{= it.RULES.all.$ref.code(it, '$ref') }} - {{? $breakOnError }} - } - if (errors === {{?$top}}0{{??}}errs_{{=$lvl}}{{?}}) { - {{ $closingBraces2 += '}'; }} - {{?}} -{{??}} - {{~ it.RULES:$rulesGroup }} - {{? $shouldUseGroup($rulesGroup) }} - {{? $rulesGroup.type }} - if ({{= it.util.checkDataType($rulesGroup.type, $data) }}) { - {{?}} - {{? it.opts.useDefaults && !it.compositeRule }} - {{? $rulesGroup.type == 'object' && it.schema.properties }} - {{# def.defaultProperties }} - {{?? $rulesGroup.type == 'array' && Array.isArray(it.schema.items) }} - {{# def.defaultItems }} - {{?}} - {{?}} - {{~ $rulesGroup.rules:$rule }} - {{? $shouldUseRule($rule) }} - {{ var $code = $rule.code(it, $rule.keyword, $rulesGroup.type); }} - {{? $code }} - {{= $code }} - {{? $breakOnError }} - {{ $closingBraces1 += '}'; }} - {{?}} - {{?}} - {{?}} - {{~}} - {{? $breakOnError }} - {{= $closingBraces1 }} - {{ $closingBraces1 = ''; }} - {{?}} - {{? $rulesGroup.type }} - } - {{? $typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes }} - else { - {{ - var $schemaPath = it.schemaPath + '.type' - , $errSchemaPath = it.errSchemaPath + '/type'; - }} - {{# def.error:'type' }} - } - {{?}} - {{?}} - - {{? $breakOnError }} - if (errors === {{?$top}}0{{??}}errs_{{=$lvl}}{{?}}) { - {{ $closingBraces2 += '}'; }} - {{?}} - {{?}} - {{~}} -{{?}} - -{{? $breakOnError }} {{= $closingBraces2 }} {{?}} - -{{? $top }} - {{? $async }} - if (errors === 0) return data; {{ /* don't edit, used in replace */ }} - else throw new ValidationError(vErrors); {{ /* don't edit, used in replace */ }} - {{??}} - validate.errors = vErrors; {{ /* don't edit, used in replace */ }} - return errors === 0; {{ /* don't edit, used in replace */ }} - {{?}} - }; - - return validate; -{{??}} - var {{=$valid}} = errors === errs_{{=$lvl}}; -{{?}} - -{{# def.cleanUp }} - -{{? $top }} - {{# def.finalCleanUp }} -{{?}} - -{{ - function $shouldUseGroup($rulesGroup) { - var rules = $rulesGroup.rules; - for (var i=0; i < rules.length; i++) - if ($shouldUseRule(rules[i])) - return true; - } - - function $shouldUseRule($rule) { - return it.schema[$rule.keyword] !== undefined || - ($rule.implements && $ruleImplementsSomeKeyword($rule)); - } - - function $ruleImplementsSomeKeyword($rule) { - var impl = $rule.implements; - for (var i=0; i < impl.length; i++) - if (it.schema[impl[i]] !== undefined) - return true; - } -}} diff --git a/node_modules/ajv/lib/dotjs/README.md b/node_modules/ajv/lib/dotjs/README.md deleted file mode 100644 index 4d99484..0000000 --- a/node_modules/ajv/lib/dotjs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -These files are compiled dot templates from dot folder. - -Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder. diff --git a/node_modules/ajv/lib/dotjs/_limit.js b/node_modules/ajv/lib/dotjs/_limit.js deleted file mode 100644 index 20485c8..0000000 --- a/node_modules/ajv/lib/dotjs/_limit.js +++ /dev/null @@ -1,155 +0,0 @@ -'use strict'; -module.exports = function generate__limit(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $isMax = $keyword == 'maximum', - $exclusiveKeyword = $isMax ? 'exclusiveMaximum' : 'exclusiveMinimum', - $schemaExcl = it.schema[$exclusiveKeyword], - $isDataExcl = it.opts.$data && $schemaExcl && $schemaExcl.$data, - $op = $isMax ? '<' : '>', - $notOp = $isMax ? '>' : '<', - $errorKeyword = undefined; - if ($isDataExcl) { - var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr), - $exclusive = 'exclusive' + $lvl, - $exclType = 'exclType' + $lvl, - $exclIsNumber = 'exclIsNumber' + $lvl, - $opExpr = 'op' + $lvl, - $opStr = '\' + ' + $opExpr + ' + \''; - out += ' var schemaExcl' + ($lvl) + ' = ' + ($schemaValueExcl) + '; '; - $schemaValueExcl = 'schemaExcl' + $lvl; - out += ' var ' + ($exclusive) + '; var ' + ($exclType) + ' = typeof ' + ($schemaValueExcl) + '; if (' + ($exclType) + ' != \'boolean\' && ' + ($exclType) + ' != \'undefined\' && ' + ($exclType) + ' != \'number\') { '; - var $errorKeyword = $exclusiveKeyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_exclusiveLimit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'' + ($exclusiveKeyword) + ' should be boolean\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($exclType) + ' == \'number\' ? ( (' + ($exclusive) + ' = ' + ($schemaValue) + ' === undefined || ' + ($schemaValueExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ') ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValueExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) : ( (' + ($exclusive) + ' = ' + ($schemaValueExcl) + ' === true) ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaValue) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { var op' + ($lvl) + ' = ' + ($exclusive) + ' ? \'' + ($op) + '\' : \'' + ($op) + '=\'; '; - if ($schema === undefined) { - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $schemaValue = $schemaValueExcl; - $isData = $isDataExcl; - } - } else { - var $exclIsNumber = typeof $schemaExcl == 'number', - $opStr = $op; - if ($exclIsNumber && $isData) { - var $opExpr = '\'' + $opStr + '\''; - out += ' if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ( ' + ($schemaValue) + ' === undefined || ' + ($schemaExcl) + ' ' + ($op) + '= ' + ($schemaValue) + ' ? ' + ($data) + ' ' + ($notOp) + '= ' + ($schemaExcl) + ' : ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' ) || ' + ($data) + ' !== ' + ($data) + ') { '; - } else { - if ($exclIsNumber && $schema === undefined) { - $exclusive = true; - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $schemaValue = $schemaExcl; - $notOp += '='; - } else { - if ($exclIsNumber) $schemaValue = Math[$isMax ? 'min' : 'max']($schemaExcl, $schema); - if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) { - $exclusive = true; - $errorKeyword = $exclusiveKeyword; - $errSchemaPath = it.errSchemaPath + '/' + $exclusiveKeyword; - $notOp += '='; - } else { - $exclusive = false; - $opStr += '='; - } - } - var $opExpr = '\'' + $opStr + '\''; - out += ' if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($data) + ' ' + ($notOp) + ' ' + ($schemaValue) + ' || ' + ($data) + ' !== ' + ($data) + ') { '; - } - } - $errorKeyword = $errorKeyword || $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limit') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { comparison: ' + ($opExpr) + ', limit: ' + ($schemaValue) + ', exclusive: ' + ($exclusive) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be ' + ($opStr) + ' '; - if ($isData) { - out += '\' + ' + ($schemaValue); - } else { - out += '' + ($schemaValue) + '\''; - } - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/_limitItems.js b/node_modules/ajv/lib/dotjs/_limitItems.js deleted file mode 100644 index 2f6f6ce..0000000 --- a/node_modules/ajv/lib/dotjs/_limitItems.js +++ /dev/null @@ -1,76 +0,0 @@ -'use strict'; -module.exports = function generate__limitItems(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxItems' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have '; - if ($keyword == 'maxItems') { - out += 'more'; - } else { - out += 'fewer'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' items\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/_limitLength.js b/node_modules/ajv/lib/dotjs/_limitLength.js deleted file mode 100644 index e6927f3..0000000 --- a/node_modules/ajv/lib/dotjs/_limitLength.js +++ /dev/null @@ -1,81 +0,0 @@ -'use strict'; -module.exports = function generate__limitLength(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxLength' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - if (it.opts.unicode === false) { - out += ' ' + ($data) + '.length '; - } else { - out += ' ucs2length(' + ($data) + ') '; - } - out += ' ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitLength') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be '; - if ($keyword == 'maxLength') { - out += 'longer'; - } else { - out += 'shorter'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' characters\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/_limitProperties.js b/node_modules/ajv/lib/dotjs/_limitProperties.js deleted file mode 100644 index cd8c62a..0000000 --- a/node_modules/ajv/lib/dotjs/_limitProperties.js +++ /dev/null @@ -1,76 +0,0 @@ -'use strict'; -module.exports = function generate__limitProperties(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $op = $keyword == 'maxProperties' ? '>' : '<'; - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || '; - } - out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { '; - var $errorKeyword = $keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || '_limitProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have '; - if ($keyword == 'maxProperties') { - out += 'more'; - } else { - out += 'fewer'; - } - out += ' than '; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + ($schema); - } - out += ' properties\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/allOf.js b/node_modules/ajv/lib/dotjs/allOf.js deleted file mode 100644 index 5107b18..0000000 --- a/node_modules/ajv/lib/dotjs/allOf.js +++ /dev/null @@ -1,43 +0,0 @@ -'use strict'; -module.exports = function generate_allOf(it, $keyword, $ruleType) { - var out = ' '; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $currentBaseId = $it.baseId, - $allSchemasEmpty = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $allSchemasEmpty = false; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if ($breakOnError) { - if ($allSchemasEmpty) { - out += ' if (true) { '; - } else { - out += ' ' + ($closingBraces.slice(0, -1)) + ' '; - } - } - out = it.util.cleanUpCode(out); - return out; -} diff --git a/node_modules/ajv/lib/dotjs/anyOf.js b/node_modules/ajv/lib/dotjs/anyOf.js deleted file mode 100644 index 994b091..0000000 --- a/node_modules/ajv/lib/dotjs/anyOf.js +++ /dev/null @@ -1,73 +0,0 @@ -'use strict'; -module.exports = function generate_anyOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $noEmptySchema = $schema.every(function($sch) { - return it.util.schemaHasRules($sch, it.RULES.all); - }); - if ($noEmptySchema) { - var $currentBaseId = $it.baseId; - out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { '; - $closingBraces += '}'; - } - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('anyOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should match some schema in anyOf\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - if (it.opts.allErrors) { - out += ' } '; - } - out = it.util.cleanUpCode(out); - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/comment.js b/node_modules/ajv/lib/dotjs/comment.js deleted file mode 100644 index dd66bb8..0000000 --- a/node_modules/ajv/lib/dotjs/comment.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -module.exports = function generate_comment(it, $keyword, $ruleType) { - var out = ' '; - var $schema = it.schema[$keyword]; - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $comment = it.util.toQuotedString($schema); - if (it.opts.$comment === true) { - out += ' console.log(' + ($comment) + ');'; - } else if (typeof it.opts.$comment == 'function') { - out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);'; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/const.js b/node_modules/ajv/lib/dotjs/const.js deleted file mode 100644 index acad86f..0000000 --- a/node_modules/ajv/lib/dotjs/const.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; -module.exports = function generate_const(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - if (!$isData) { - out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';'; - } - out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('const') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValue: schema' + ($lvl) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be equal to constant\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' }'; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/contains.js b/node_modules/ajv/lib/dotjs/contains.js deleted file mode 100644 index 04c6e93..0000000 --- a/node_modules/ajv/lib/dotjs/contains.js +++ /dev/null @@ -1,81 +0,0 @@ -'use strict'; -module.exports = function generate_contains(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $idx = 'i' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $currentBaseId = it.baseId, - $nonEmptySchema = it.util.schemaHasRules($schema, it.RULES.all); - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if ($nonEmptySchema) { - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' if (' + ($nextValid) + ') break; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {'; - } else { - out += ' if (' + ($data) + '.length == 0) {'; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('contains') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should contain a valid item\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - if ($nonEmptySchema) { - out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - } - if (it.opts.allErrors) { - out += ' } '; - } - out = it.util.cleanUpCode(out); - return out; -} diff --git a/node_modules/ajv/lib/dotjs/custom.js b/node_modules/ajv/lib/dotjs/custom.js deleted file mode 100644 index 0623e24..0000000 --- a/node_modules/ajv/lib/dotjs/custom.js +++ /dev/null @@ -1,226 +0,0 @@ -'use strict'; -module.exports = function generate_custom(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $rule = this, - $definition = 'definition' + $lvl, - $rDef = $rule.definition, - $closingBraces = ''; - var $compile, $inline, $macro, $ruleValidate, $validateCode; - if ($isData && $rDef.$data) { - $validateCode = 'keywordValidate' + $lvl; - var $validateSchema = $rDef.validateSchema; - out += ' var ' + ($definition) + ' = RULES.custom[\'' + ($keyword) + '\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;'; - } else { - $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it); - if (!$ruleValidate) return; - $schemaValue = 'validate.schema' + $schemaPath; - $validateCode = $ruleValidate.code; - $compile = $rDef.compile; - $inline = $rDef.inline; - $macro = $rDef.macro; - } - var $ruleErrs = $validateCode + '.errors', - $i = 'i' + $lvl, - $ruleErr = 'ruleErr' + $lvl, - $asyncKeyword = $rDef.async; - if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema'); - if (!($inline || $macro)) { - out += '' + ($ruleErrs) + ' = null;'; - } - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if ($isData && $rDef.$data) { - $closingBraces += '}'; - out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { '; - if ($validateSchema) { - $closingBraces += '}'; - out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { '; - } - } - if ($inline) { - if ($rDef.statements) { - out += ' ' + ($ruleValidate.validate) + ' '; - } else { - out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; '; - } - } else if ($macro) { - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - $it.schema = $ruleValidate.validate; - $it.schemaPath = ''; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var $code = it.validate($it).replace(/validate\.schema/g, $validateCode); - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' ' + ($code); - } else { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; - out += ' ' + ($validateCode) + '.call( '; - if (it.opts.passContext) { - out += 'this'; - } else { - out += 'self'; - } - if ($compile || $rDef.schema === false) { - out += ' , ' + ($data) + ' '; - } else { - out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' '; - } - out += ' , (dataPath || \'\')'; - if (it.errorPath != '""') { - out += ' + ' + (it.errorPath); - } - var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData', - $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty'; - out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) '; - var def_callRuleValidate = out; - out = $$outStack.pop(); - if ($rDef.errors === false) { - out += ' ' + ($valid) + ' = '; - if ($asyncKeyword) { - out += 'await '; - } - out += '' + (def_callRuleValidate) + '; '; - } else { - if ($asyncKeyword) { - $ruleErrs = 'customErrors' + $lvl; - out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = await ' + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } '; - } else { - out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; '; - } - } - } - if ($rDef.modifying) { - out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];'; - } - out += '' + ($closingBraces); - if ($rDef.valid) { - if ($breakOnError) { - out += ' if (true) { '; - } - } else { - out += ' if ( '; - if ($rDef.valid === undefined) { - out += ' !'; - if ($macro) { - out += '' + ($nextValid); - } else { - out += '' + ($valid); - } - } else { - out += ' ' + (!$rDef.valid) + ' '; - } - out += ') { '; - $errorKeyword = $rule.keyword; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'custom') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \'' + ($rule.keyword) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should pass "' + ($rule.keyword) + '" keyword validation\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - var def_customError = out; - out = $$outStack.pop(); - if ($inline) { - if ($rDef.errors) { - if ($rDef.errors != 'full') { - out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '= 0) { - if ($breakOnError) { - out += ' if (true) { '; - } - return out; - } else { - throw new Error('unknown format "' + $schema + '" is used in schema at path "' + it.errSchemaPath + '"'); - } - } - var $isObject = typeof $format == 'object' && !($format instanceof RegExp) && $format.validate; - var $formatType = $isObject && $format.type || 'string'; - if ($isObject) { - var $async = $format.async === true; - $format = $format.validate; - } - if ($formatType != $ruleType) { - if ($breakOnError) { - out += ' if (true) { '; - } - return out; - } - if ($async) { - if (!it.async) throw new Error('async format in sync schema'); - var $formatRef = 'formats' + it.util.getProperty($schema) + '.validate'; - out += ' if (!(await ' + ($formatRef) + '(' + ($data) + '))) { '; - } else { - out += ' if (! '; - var $formatRef = 'formats' + it.util.getProperty($schema); - if ($isObject) $formatRef += '.validate'; - if (typeof $format == 'function') { - out += ' ' + ($formatRef) + '(' + ($data) + ') '; - } else { - out += ' ' + ($formatRef) + '.test(' + ($data) + ') '; - } - out += ') { '; - } - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('format') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { format: '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match format "'; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + (it.util.escapeQuotes($schema)); - } - out += '"\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/if.js b/node_modules/ajv/lib/dotjs/if.js deleted file mode 100644 index 6f0ea64..0000000 --- a/node_modules/ajv/lib/dotjs/if.js +++ /dev/null @@ -1,103 +0,0 @@ -'use strict'; -module.exports = function generate_if(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - $it.level++; - var $nextValid = 'valid' + $it.level; - var $thenSch = it.schema['then'], - $elseSch = it.schema['else'], - $thenPresent = $thenSch !== undefined && it.util.schemaHasRules($thenSch, it.RULES.all), - $elsePresent = $elseSch !== undefined && it.util.schemaHasRules($elseSch, it.RULES.all), - $currentBaseId = $it.baseId; - if ($thenPresent || $elsePresent) { - var $ifClause; - $it.createErrors = false; - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = true; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - $it.createErrors = true; - out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - if ($thenPresent) { - out += ' if (' + ($nextValid) + ') { '; - $it.schema = it.schema['then']; - $it.schemaPath = it.schemaPath + '.then'; - $it.errSchemaPath = it.errSchemaPath + '/then'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($nextValid) + '; '; - if ($thenPresent && $elsePresent) { - $ifClause = 'ifClause' + $lvl; - out += ' var ' + ($ifClause) + ' = \'then\'; '; - } else { - $ifClause = '\'then\''; - } - out += ' } '; - if ($elsePresent) { - out += ' else { '; - } - } else { - out += ' if (!' + ($nextValid) + ') { '; - } - if ($elsePresent) { - $it.schema = it.schema['else']; - $it.schemaPath = it.schemaPath + '.else'; - $it.errSchemaPath = it.errSchemaPath + '/else'; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - out += ' ' + ($valid) + ' = ' + ($nextValid) + '; '; - if ($thenPresent && $elsePresent) { - $ifClause = 'ifClause' + $lvl; - out += ' var ' + ($ifClause) + ' = \'else\'; '; - } else { - $ifClause = '\'else\''; - } - out += ' } '; - } - out += ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('if') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { failingKeyword: ' + ($ifClause) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match "\' + ' + ($ifClause) + ' + \'" schema\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - out = it.util.cleanUpCode(out); - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/index.js b/node_modules/ajv/lib/dotjs/index.js deleted file mode 100644 index 2fb1b00..0000000 --- a/node_modules/ajv/lib/dotjs/index.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; - -//all requires must be explicit because browserify won't work with dynamic requires -module.exports = { - '$ref': require('./ref'), - allOf: require('./allOf'), - anyOf: require('./anyOf'), - '$comment': require('./comment'), - const: require('./const'), - contains: require('./contains'), - dependencies: require('./dependencies'), - 'enum': require('./enum'), - format: require('./format'), - 'if': require('./if'), - items: require('./items'), - maximum: require('./_limit'), - minimum: require('./_limit'), - maxItems: require('./_limitItems'), - minItems: require('./_limitItems'), - maxLength: require('./_limitLength'), - minLength: require('./_limitLength'), - maxProperties: require('./_limitProperties'), - minProperties: require('./_limitProperties'), - multipleOf: require('./multipleOf'), - not: require('./not'), - oneOf: require('./oneOf'), - pattern: require('./pattern'), - properties: require('./properties'), - propertyNames: require('./propertyNames'), - required: require('./required'), - uniqueItems: require('./uniqueItems'), - validate: require('./validate') -}; diff --git a/node_modules/ajv/lib/dotjs/items.js b/node_modules/ajv/lib/dotjs/items.js deleted file mode 100644 index 77be5e2..0000000 --- a/node_modules/ajv/lib/dotjs/items.js +++ /dev/null @@ -1,140 +0,0 @@ -'use strict'; -module.exports = function generate_items(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $idx = 'i' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $currentBaseId = it.baseId; - out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';'; - if (Array.isArray($schema)) { - var $additionalItems = it.schema.additionalItems; - if ($additionalItems === false) { - out += ' ' + ($valid) + ' = ' + ($data) + '.length <= ' + ($schema.length) + '; '; - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalItems'; - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('additionalItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schema.length) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have more than ' + ($schema.length) + ' items\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - $errSchemaPath = $currErrSchemaPath; - if ($breakOnError) { - $closingBraces += '}'; - out += ' else { '; - } - } - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($i) + ') { '; - var $passData = $data + '[' + $i + ']'; - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - $it.errorPath = it.util.getPathExpr(it.errorPath, $i, it.opts.jsonPointers, true); - $it.dataPathArr[$dataNxt] = $i; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if (typeof $additionalItems == 'object' && it.util.schemaHasRules($additionalItems, it.RULES.all)) { - $it.schema = $additionalItems; - $it.schemaPath = it.schemaPath + '.additionalItems'; - $it.errSchemaPath = it.errSchemaPath + '/additionalItems'; - out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '.length > ' + ($schema.length) + ') { for (var ' + ($idx) + ' = ' + ($schema.length) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' } } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } else if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' for (var ' + ($idx) + ' = ' + (0) + '; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true); - var $passData = $data + '[' + $idx + ']'; - $it.dataPathArr[$dataNxt] = $idx; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' }'; - } - if ($breakOnError) { - out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; - } - out = it.util.cleanUpCode(out); - return out; -} diff --git a/node_modules/ajv/lib/dotjs/multipleOf.js b/node_modules/ajv/lib/dotjs/multipleOf.js deleted file mode 100644 index df5a315..0000000 --- a/node_modules/ajv/lib/dotjs/multipleOf.js +++ /dev/null @@ -1,76 +0,0 @@ -'use strict'; -module.exports = function generate_multipleOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - out += 'var division' + ($lvl) + ';if ('; - if ($isData) { - out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \'number\' || '; - } - out += ' (division' + ($lvl) + ' = ' + ($data) + ' / ' + ($schemaValue) + ', '; - if (it.opts.multipleOfPrecision) { - out += ' Math.abs(Math.round(division' + ($lvl) + ') - division' + ($lvl) + ') > 1e-' + (it.opts.multipleOfPrecision) + ' '; - } else { - out += ' division' + ($lvl) + ' !== parseInt(division' + ($lvl) + ') '; - } - out += ' ) '; - if ($isData) { - out += ' ) '; - } - out += ' ) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('multipleOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { multipleOf: ' + ($schemaValue) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be multiple of '; - if ($isData) { - out += '\' + ' + ($schemaValue); - } else { - out += '' + ($schemaValue) + '\''; - } - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/not.js b/node_modules/ajv/lib/dotjs/not.js deleted file mode 100644 index 67add9f..0000000 --- a/node_modules/ajv/lib/dotjs/not.js +++ /dev/null @@ -1,83 +0,0 @@ -'use strict'; -module.exports = function generate_not(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - $it.level++; - var $nextValid = 'valid' + $it.level; - if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - out += ' var ' + ($errs) + ' = errors; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.createErrors = false; - var $allErrorsOption; - if ($it.opts.allErrors) { - $allErrorsOption = $it.opts.allErrors; - $it.opts.allErrors = false; - } - out += ' ' + (it.validate($it)) + ' '; - $it.createErrors = true; - if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption; - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' if (' + ($nextValid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('not') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be valid\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } '; - if (it.opts.allErrors) { - out += ' } '; - } - } else { - out += ' var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('not') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT be valid\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if ($breakOnError) { - out += ' if (false) { '; - } - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/oneOf.js b/node_modules/ajv/lib/dotjs/oneOf.js deleted file mode 100644 index b6be640..0000000 --- a/node_modules/ajv/lib/dotjs/oneOf.js +++ /dev/null @@ -1,72 +0,0 @@ -'use strict'; -module.exports = function generate_oneOf(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $currentBaseId = $it.baseId, - $prevValid = 'prevValid' + $lvl, - $passingSchemas = 'passingSchemas' + $lvl; - out += 'var ' + ($errs) + ' = errors , ' + ($prevValid) + ' = false , ' + ($valid) + ' = false , ' + ($passingSchemas) + ' = null; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var arr1 = $schema; - if (arr1) { - var $sch, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $sch = arr1[$i += 1]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $it.schema = $sch; - $it.schemaPath = $schemaPath + '[' + $i + ']'; - $it.errSchemaPath = $errSchemaPath + '/' + $i; - out += ' ' + (it.validate($it)) + ' '; - $it.baseId = $currentBaseId; - } else { - out += ' var ' + ($nextValid) + ' = true; '; - } - if ($i) { - out += ' if (' + ($nextValid) + ' && ' + ($prevValid) + ') { ' + ($valid) + ' = false; ' + ($passingSchemas) + ' = [' + ($passingSchemas) + ', ' + ($i) + ']; } else { '; - $closingBraces += '}'; - } - out += ' if (' + ($nextValid) + ') { ' + ($valid) + ' = ' + ($prevValid) + ' = true; ' + ($passingSchemas) + ' = ' + ($i) + '; }'; - } - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += '' + ($closingBraces) + 'if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('oneOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { passingSchemas: ' + ($passingSchemas) + ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match exactly one schema in oneOf\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; return false; '; - } - } - out += '} else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; }'; - if (it.opts.allErrors) { - out += ' } '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/pattern.js b/node_modules/ajv/lib/dotjs/pattern.js deleted file mode 100644 index 76b7794..0000000 --- a/node_modules/ajv/lib/dotjs/pattern.js +++ /dev/null @@ -1,74 +0,0 @@ -'use strict'; -module.exports = function generate_pattern(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema); - out += 'if ( '; - if ($isData) { - out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'string\') || '; - } - out += ' !' + ($regexp) + '.test(' + ($data) + ') ) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('pattern') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { pattern: '; - if ($isData) { - out += '' + ($schemaValue); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should match pattern "'; - if ($isData) { - out += '\' + ' + ($schemaValue) + ' + \''; - } else { - out += '' + (it.util.escapeQuotes($schema)); - } - out += '"\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + (it.util.toQuotedString($schema)); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += '} '; - if ($breakOnError) { - out += ' else { '; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/properties.js b/node_modules/ajv/lib/dotjs/properties.js deleted file mode 100644 index 409692f..0000000 --- a/node_modules/ajv/lib/dotjs/properties.js +++ /dev/null @@ -1,328 +0,0 @@ -'use strict'; -module.exports = function generate_properties(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - var $key = 'key' + $lvl, - $idx = 'idx' + $lvl, - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $dataProperties = 'dataProperties' + $lvl; - var $schemaKeys = Object.keys($schema || {}), - $pProperties = it.schema.patternProperties || {}, - $pPropertyKeys = Object.keys($pProperties), - $aProperties = it.schema.additionalProperties, - $someProperties = $schemaKeys.length || $pPropertyKeys.length, - $noAdditional = $aProperties === false, - $additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length, - $removeAdditional = it.opts.removeAdditional, - $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional, - $ownProperties = it.opts.ownProperties, - $currentBaseId = it.baseId; - var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required); - out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;'; - if ($ownProperties) { - out += ' var ' + ($dataProperties) + ' = undefined;'; - } - if ($checkAdditional) { - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - if ($someProperties) { - out += ' var isAdditional' + ($lvl) + ' = !(false '; - if ($schemaKeys.length) { - if ($schemaKeys.length > 8) { - out += ' || validate.schema' + ($schemaPath) + '.hasOwnProperty(' + ($key) + ') '; - } else { - var arr1 = $schemaKeys; - if (arr1) { - var $propertyKey, i1 = -1, - l1 = arr1.length - 1; - while (i1 < l1) { - $propertyKey = arr1[i1 += 1]; - out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' '; - } - } - } - } - if ($pPropertyKeys.length) { - var arr2 = $pPropertyKeys; - if (arr2) { - var $pProperty, $i = -1, - l2 = arr2.length - 1; - while ($i < l2) { - $pProperty = arr2[$i += 1]; - out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') '; - } - } - } - out += ' ); if (isAdditional' + ($lvl) + ') { '; - } - if ($removeAdditional == 'all') { - out += ' delete ' + ($data) + '[' + ($key) + ']; '; - } else { - var $currentErrorPath = it.errorPath; - var $additionalProperty = '\' + ' + $key + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - } - if ($noAdditional) { - if ($removeAdditional) { - out += ' delete ' + ($data) + '[' + ($key) + ']; '; - } else { - out += ' ' + ($nextValid) + ' = false; '; - var $currErrSchemaPath = $errSchemaPath; - $errSchemaPath = it.errSchemaPath + '/additionalProperties'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('additionalProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \'' + ($additionalProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is an invalid additional property'; - } else { - out += 'should NOT have additional properties'; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - $errSchemaPath = $currErrSchemaPath; - if ($breakOnError) { - out += ' break; '; - } - } - } else if ($additionalIsSchema) { - if ($removeAdditional == 'failing') { - out += ' var ' + ($errs) + ' = errors; '; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - $it.schema = $aProperties; - $it.schemaPath = it.schemaPath + '.additionalProperties'; - $it.errSchemaPath = it.errSchemaPath + '/additionalProperties'; - $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } '; - it.compositeRule = $it.compositeRule = $wasComposite; - } else { - $it.schema = $aProperties; - $it.schemaPath = it.schemaPath + '.additionalProperties'; - $it.errSchemaPath = it.errSchemaPath + '/additionalProperties'; - $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - } - } - it.errorPath = $currentErrorPath; - } - if ($someProperties) { - out += ' } '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - var $useDefaults = it.opts.useDefaults && !it.compositeRule; - if ($schemaKeys.length) { - var arr3 = $schemaKeys; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $sch = $schema[$propertyKey]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - var $prop = it.util.getProperty($propertyKey), - $passData = $data + $prop, - $hasDefault = $useDefaults && $sch.default !== undefined; - $it.schema = $sch; - $it.schemaPath = $schemaPath + $prop; - $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey); - $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers); - $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey); - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - $code = it.util.varReplace($code, $nextData, $passData); - var $useData = $passData; - } else { - var $useData = $nextData; - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; '; - } - if ($hasDefault) { - out += ' ' + ($code) + ' '; - } else { - if ($requiredHash && $requiredHash[$propertyKey]) { - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { ' + ($nextValid) + ' = false; '; - var $currentErrorPath = it.errorPath, - $currErrSchemaPath = $errSchemaPath, - $missingProperty = it.util.escapeQuotes($propertyKey); - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - $errSchemaPath = it.errSchemaPath + '/required'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - $errSchemaPath = $currErrSchemaPath; - it.errorPath = $currentErrorPath; - out += ' } else { '; - } else { - if ($breakOnError) { - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { ' + ($nextValid) + ' = true; } else { '; - } else { - out += ' if (' + ($useData) + ' !== undefined '; - if ($ownProperties) { - out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ' ) { '; - } - } - out += ' ' + ($code) + ' } '; - } - } - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - if ($pPropertyKeys.length) { - var arr4 = $pPropertyKeys; - if (arr4) { - var $pProperty, i4 = -1, - l4 = arr4.length - 1; - while (i4 < l4) { - $pProperty = arr4[i4 += 1]; - var $sch = $pProperties[$pProperty]; - if (it.util.schemaHasRules($sch, it.RULES.all)) { - $it.schema = $sch; - $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty); - $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty); - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { '; - $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers); - var $passData = $data + '[' + $key + ']'; - $it.dataPathArr[$dataNxt] = $key; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - if ($breakOnError) { - out += ' if (!' + ($nextValid) + ') break; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else ' + ($nextValid) + ' = true; '; - } - out += ' } '; - if ($breakOnError) { - out += ' if (' + ($nextValid) + ') { '; - $closingBraces += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; - } - out = it.util.cleanUpCode(out); - return out; -} diff --git a/node_modules/ajv/lib/dotjs/propertyNames.js b/node_modules/ajv/lib/dotjs/propertyNames.js deleted file mode 100644 index 547d5dd..0000000 --- a/node_modules/ajv/lib/dotjs/propertyNames.js +++ /dev/null @@ -1,81 +0,0 @@ -'use strict'; -module.exports = function generate_propertyNames(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $errs = 'errs__' + $lvl; - var $it = it.util.copy(it); - var $closingBraces = ''; - $it.level++; - var $nextValid = 'valid' + $it.level; - out += 'var ' + ($errs) + ' = errors;'; - if (it.util.schemaHasRules($schema, it.RULES.all)) { - $it.schema = $schema; - $it.schemaPath = $schemaPath; - $it.errSchemaPath = $errSchemaPath; - var $key = 'key' + $lvl, - $idx = 'idx' + $lvl, - $i = 'i' + $lvl, - $invalidName = '\' + ' + $key + ' + \'', - $dataNxt = $it.dataLevel = it.dataLevel + 1, - $nextData = 'data' + $dataNxt, - $dataProperties = 'dataProperties' + $lvl, - $ownProperties = it.opts.ownProperties, - $currentBaseId = it.baseId; - if ($ownProperties) { - out += ' var ' + ($dataProperties) + ' = undefined; '; - } - if ($ownProperties) { - out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; '; - } else { - out += ' for (var ' + ($key) + ' in ' + ($data) + ') { '; - } - out += ' var startErrs' + ($lvl) + ' = errors; '; - var $passData = $key; - var $wasComposite = it.compositeRule; - it.compositeRule = $it.compositeRule = true; - var $code = it.validate($it); - $it.baseId = $currentBaseId; - if (it.util.varOccurences($code, $nextData) < 2) { - out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' '; - } else { - out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' '; - } - it.compositeRule = $it.compositeRule = $wasComposite; - out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '= it.opts.loopRequired, - $ownProperties = it.opts.ownProperties; - if ($breakOnError) { - out += ' var missing' + ($lvl) + '; '; - if ($loopRequired) { - if (!$isData) { - out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; '; - } - var $i = 'i' + $lvl, - $propertyPath = 'schema' + $lvl + '[' + $i + ']', - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers); - } - out += ' var ' + ($valid) + ' = true; '; - if ($isData) { - out += ' if (schema' + ($lvl) + ' === undefined) ' + ($valid) + ' = true; else if (!Array.isArray(schema' + ($lvl) + ')) ' + ($valid) + ' = false; else {'; - } - out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { ' + ($valid) + ' = ' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] !== undefined '; - if ($ownProperties) { - out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) '; - } - out += '; if (!' + ($valid) + ') break; } '; - if ($isData) { - out += ' } '; - } - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - } else { - out += ' if ( '; - var arr2 = $required; - if (arr2) { - var $propertyKey, $i = -1, - l2 = arr2.length - 1; - while ($i < l2) { - $propertyKey = arr2[$i += 1]; - if ($i) { - out += ' || '; - } - var $prop = it.util.getProperty($propertyKey), - $useData = $data + $prop; - out += ' ( ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) '; - } - } - out += ') { '; - var $propertyPath = 'missing' + $lvl, - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - } - } else { - if ($loopRequired) { - if (!$isData) { - out += ' var ' + ($vSchema) + ' = validate.schema' + ($schemaPath) + '; '; - } - var $i = 'i' + $lvl, - $propertyPath = 'schema' + $lvl + '[' + $i + ']', - $missingProperty = '\' + ' + $propertyPath + ' + \''; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers); - } - if ($isData) { - out += ' if (' + ($vSchema) + ' && !Array.isArray(' + ($vSchema) + ')) { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (' + ($vSchema) + ' !== undefined) { '; - } - out += ' for (var ' + ($i) + ' = 0; ' + ($i) + ' < ' + ($vSchema) + '.length; ' + ($i) + '++) { if (' + ($data) + '[' + ($vSchema) + '[' + ($i) + ']] === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', ' + ($vSchema) + '[' + ($i) + ']) '; - } - out += ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } '; - if ($isData) { - out += ' } '; - } - } else { - var arr3 = $required; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $prop = it.util.getProperty($propertyKey), - $missingProperty = it.util.escapeQuotes($propertyKey), - $useData = $data + $prop; - if (it.opts._errorDataPathProperty) { - it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers); - } - out += ' if ( ' + ($useData) + ' === undefined '; - if ($ownProperties) { - out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') '; - } - out += ') { var err = '; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \''; - if (it.opts._errorDataPathProperty) { - out += 'is a required property'; - } else { - out += 'should have required property \\\'' + ($missingProperty) + '\\\''; - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } '; - } - } - } - } - it.errorPath = $currentErrorPath; - } else if ($breakOnError) { - out += ' if (true) {'; - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/uniqueItems.js b/node_modules/ajv/lib/dotjs/uniqueItems.js deleted file mode 100644 index d2dedf5..0000000 --- a/node_modules/ajv/lib/dotjs/uniqueItems.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; -module.exports = function generate_uniqueItems(it, $keyword, $ruleType) { - var out = ' '; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - var $isData = it.opts.$data && $schema && $schema.$data, - $schemaValue; - if ($isData) { - out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; '; - $schemaValue = 'schema' + $lvl; - } else { - $schemaValue = $schema; - } - if (($schema || $isData) && it.opts.uniqueItems !== false) { - if ($isData) { - out += ' var ' + ($valid) + '; if (' + ($schemaValue) + ' === false || ' + ($schemaValue) + ' === undefined) ' + ($valid) + ' = true; else if (typeof ' + ($schemaValue) + ' != \'boolean\') ' + ($valid) + ' = false; else { '; - } - out += ' var i = ' + ($data) + '.length , ' + ($valid) + ' = true , j; if (i > 1) { '; - var $itemType = it.schema.items && it.schema.items.type, - $typeIsArray = Array.isArray($itemType); - if (!$itemType || $itemType == 'object' || $itemType == 'array' || ($typeIsArray && ($itemType.indexOf('object') >= 0 || $itemType.indexOf('array') >= 0))) { - out += ' outer: for (;i--;) { for (j = i; j--;) { if (equal(' + ($data) + '[i], ' + ($data) + '[j])) { ' + ($valid) + ' = false; break outer; } } } '; - } else { - out += ' var itemIndices = {}, item; for (;i--;) { var item = ' + ($data) + '[i]; '; - var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); - out += ' if (' + (it.util[$method]($itemType, 'item', true)) + ') continue; '; - if ($typeIsArray) { - out += ' if (typeof item == \'string\') item = \'"\' + item; '; - } - out += ' if (typeof itemIndices[item] == \'number\') { ' + ($valid) + ' = false; j = itemIndices[item]; break; } itemIndices[item] = i; } '; - } - out += ' } '; - if ($isData) { - out += ' } '; - } - out += ' if (!' + ($valid) + ') { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ('uniqueItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { i: i, j: j } '; - if (it.opts.messages !== false) { - out += ' , message: \'should NOT have duplicate items (items ## \' + j + \' and \' + i + \' are identical)\' '; - } - if (it.opts.verbose) { - out += ' , schema: '; - if ($isData) { - out += 'validate.schema' + ($schemaPath); - } else { - out += '' + ($schema); - } - out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - if ($breakOnError) { - out += ' else { '; - } - } else { - if ($breakOnError) { - out += ' if (true) { '; - } - } - return out; -} diff --git a/node_modules/ajv/lib/dotjs/validate.js b/node_modules/ajv/lib/dotjs/validate.js deleted file mode 100644 index 9f9e1ae..0000000 --- a/node_modules/ajv/lib/dotjs/validate.js +++ /dev/null @@ -1,445 +0,0 @@ -'use strict'; -module.exports = function generate_validate(it, $keyword, $ruleType) { - var out = ''; - var $async = it.schema.$async === true, - $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'), - $id = it.self._getId(it.schema); - if (it.isTop) { - out += ' var validate = '; - if ($async) { - it.async = true; - out += 'async '; - } - out += 'function(data, dataPath, parentData, parentDataProperty, rootData) { \'use strict\'; '; - if ($id && (it.opts.sourceCode || it.opts.processCode)) { - out += ' ' + ('/\*# sourceURL=' + $id + ' */') + ' '; - } - } - if (typeof it.schema == 'boolean' || !($refKeywords || it.schema.$ref)) { - var $keyword = 'false schema'; - var $lvl = it.level; - var $dataLvl = it.dataLevel; - var $schema = it.schema[$keyword]; - var $schemaPath = it.schemaPath + it.util.getProperty($keyword); - var $errSchemaPath = it.errSchemaPath + '/' + $keyword; - var $breakOnError = !it.opts.allErrors; - var $errorKeyword; - var $data = 'data' + ($dataLvl || ''); - var $valid = 'valid' + $lvl; - if (it.schema === false) { - if (it.isTop) { - $breakOnError = true; - } else { - out += ' var ' + ($valid) + ' = false; '; - } - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'false schema') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} '; - if (it.opts.messages !== false) { - out += ' , message: \'boolean schema is false\' '; - } - if (it.opts.verbose) { - out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } else { - if (it.isTop) { - if ($async) { - out += ' return data; '; - } else { - out += ' validate.errors = null; return true; '; - } - } else { - out += ' var ' + ($valid) + ' = true; '; - } - } - if (it.isTop) { - out += ' }; return validate; '; - } - return out; - } - if (it.isTop) { - var $top = it.isTop, - $lvl = it.level = 0, - $dataLvl = it.dataLevel = 0, - $data = 'data'; - it.rootId = it.resolve.fullPath(it.self._getId(it.root.schema)); - it.baseId = it.baseId || it.rootId; - delete it.isTop; - it.dataPathArr = [undefined]; - out += ' var vErrors = null; '; - out += ' var errors = 0; '; - out += ' if (rootData === undefined) rootData = data; '; - } else { - var $lvl = it.level, - $dataLvl = it.dataLevel, - $data = 'data' + ($dataLvl || ''); - if ($id) it.baseId = it.resolve.url(it.baseId, $id); - if ($async && !it.async) throw new Error('async schema in sync schema'); - out += ' var errs_' + ($lvl) + ' = errors;'; - } - var $valid = 'valid' + $lvl, - $breakOnError = !it.opts.allErrors, - $closingBraces1 = '', - $closingBraces2 = ''; - var $errorKeyword; - var $typeSchema = it.schema.type, - $typeIsArray = Array.isArray($typeSchema); - if ($typeIsArray && $typeSchema.length == 1) { - $typeSchema = $typeSchema[0]; - $typeIsArray = false; - } - if (it.schema.$ref && $refKeywords) { - if (it.opts.extendRefs == 'fail') { - throw new Error('$ref: validation keywords used in schema at path "' + it.errSchemaPath + '" (see option extendRefs)'); - } else if (it.opts.extendRefs !== true) { - $refKeywords = false; - it.logger.warn('$ref: keywords ignored in schema at path "' + it.errSchemaPath + '"'); - } - } - if (it.schema.$comment && it.opts.$comment) { - out += ' ' + (it.RULES.all.$comment.code(it, '$comment')); - } - if ($typeSchema) { - if (it.opts.coerceTypes) { - var $coerceToTypes = it.util.coerceToTypes(it.opts.coerceTypes, $typeSchema); - } - var $rulesGroup = it.RULES.types[$typeSchema]; - if ($coerceToTypes || $typeIsArray || $rulesGroup === true || ($rulesGroup && !$shouldUseGroup($rulesGroup))) { - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type'; - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type', - $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; - out += ' if (' + (it.util[$method]($typeSchema, $data, true)) + ') { '; - if ($coerceToTypes) { - var $dataType = 'dataType' + $lvl, - $coerced = 'coerced' + $lvl; - out += ' var ' + ($dataType) + ' = typeof ' + ($data) + '; '; - if (it.opts.coerceTypes == 'array') { - out += ' if (' + ($dataType) + ' == \'object\' && Array.isArray(' + ($data) + ')) ' + ($dataType) + ' = \'array\'; '; - } - out += ' var ' + ($coerced) + ' = undefined; '; - var $bracesCoercion = ''; - var arr1 = $coerceToTypes; - if (arr1) { - var $type, $i = -1, - l1 = arr1.length - 1; - while ($i < l1) { - $type = arr1[$i += 1]; - if ($i) { - out += ' if (' + ($coerced) + ' === undefined) { '; - $bracesCoercion += '}'; - } - if (it.opts.coerceTypes == 'array' && $type != 'array') { - out += ' if (' + ($dataType) + ' == \'array\' && ' + ($data) + '.length == 1) { ' + ($coerced) + ' = ' + ($data) + ' = ' + ($data) + '[0]; ' + ($dataType) + ' = typeof ' + ($data) + '; } '; - } - if ($type == 'string') { - out += ' if (' + ($dataType) + ' == \'number\' || ' + ($dataType) + ' == \'boolean\') ' + ($coerced) + ' = \'\' + ' + ($data) + '; else if (' + ($data) + ' === null) ' + ($coerced) + ' = \'\'; '; - } else if ($type == 'number' || $type == 'integer') { - out += ' if (' + ($dataType) + ' == \'boolean\' || ' + ($data) + ' === null || (' + ($dataType) + ' == \'string\' && ' + ($data) + ' && ' + ($data) + ' == +' + ($data) + ' '; - if ($type == 'integer') { - out += ' && !(' + ($data) + ' % 1)'; - } - out += ')) ' + ($coerced) + ' = +' + ($data) + '; '; - } else if ($type == 'boolean') { - out += ' if (' + ($data) + ' === \'false\' || ' + ($data) + ' === 0 || ' + ($data) + ' === null) ' + ($coerced) + ' = false; else if (' + ($data) + ' === \'true\' || ' + ($data) + ' === 1) ' + ($coerced) + ' = true; '; - } else if ($type == 'null') { - out += ' if (' + ($data) + ' === \'\' || ' + ($data) + ' === 0 || ' + ($data) + ' === false) ' + ($coerced) + ' = null; '; - } else if (it.opts.coerceTypes == 'array' && $type == 'array') { - out += ' if (' + ($dataType) + ' == \'string\' || ' + ($dataType) + ' == \'number\' || ' + ($dataType) + ' == \'boolean\' || ' + ($data) + ' == null) ' + ($coerced) + ' = [' + ($data) + ']; '; - } - } - } - out += ' ' + ($bracesCoercion) + ' if (' + ($coerced) + ' === undefined) { '; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } else { '; - var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData', - $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty'; - out += ' ' + ($data) + ' = ' + ($coerced) + '; '; - if (!$dataLvl) { - out += 'if (' + ($parentData) + ' !== undefined)'; - } - out += ' ' + ($parentData) + '[' + ($parentDataProperty) + '] = ' + ($coerced) + '; } '; - } else { - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - } - out += ' } '; - } - } - if (it.schema.$ref && !$refKeywords) { - out += ' ' + (it.RULES.all.$ref.code(it, '$ref')) + ' '; - if ($breakOnError) { - out += ' } if (errors === '; - if ($top) { - out += '0'; - } else { - out += 'errs_' + ($lvl); - } - out += ') { '; - $closingBraces2 += '}'; - } - } else { - var arr2 = it.RULES; - if (arr2) { - var $rulesGroup, i2 = -1, - l2 = arr2.length - 1; - while (i2 < l2) { - $rulesGroup = arr2[i2 += 1]; - if ($shouldUseGroup($rulesGroup)) { - if ($rulesGroup.type) { - out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data)) + ') { '; - } - if (it.opts.useDefaults && !it.compositeRule) { - if ($rulesGroup.type == 'object' && it.schema.properties) { - var $schema = it.schema.properties, - $schemaKeys = Object.keys($schema); - var arr3 = $schemaKeys; - if (arr3) { - var $propertyKey, i3 = -1, - l3 = arr3.length - 1; - while (i3 < l3) { - $propertyKey = arr3[i3 += 1]; - var $sch = $schema[$propertyKey]; - if ($sch.default !== undefined) { - var $passData = $data + it.util.getProperty($propertyKey); - out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = '; - if (it.opts.useDefaults == 'shared') { - out += ' ' + (it.useDefault($sch.default)) + ' '; - } else { - out += ' ' + (JSON.stringify($sch.default)) + ' '; - } - out += '; '; - } - } - } - } else if ($rulesGroup.type == 'array' && Array.isArray(it.schema.items)) { - var arr4 = it.schema.items; - if (arr4) { - var $sch, $i = -1, - l4 = arr4.length - 1; - while ($i < l4) { - $sch = arr4[$i += 1]; - if ($sch.default !== undefined) { - var $passData = $data + '[' + $i + ']'; - out += ' if (' + ($passData) + ' === undefined) ' + ($passData) + ' = '; - if (it.opts.useDefaults == 'shared') { - out += ' ' + (it.useDefault($sch.default)) + ' '; - } else { - out += ' ' + (JSON.stringify($sch.default)) + ' '; - } - out += '; '; - } - } - } - } - } - var arr5 = $rulesGroup.rules; - if (arr5) { - var $rule, i5 = -1, - l5 = arr5.length - 1; - while (i5 < l5) { - $rule = arr5[i5 += 1]; - if ($shouldUseRule($rule)) { - var $code = $rule.code(it, $rule.keyword, $rulesGroup.type); - if ($code) { - out += ' ' + ($code) + ' '; - if ($breakOnError) { - $closingBraces1 += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces1) + ' '; - $closingBraces1 = ''; - } - if ($rulesGroup.type) { - out += ' } '; - if ($typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes) { - out += ' else { '; - var $schemaPath = it.schemaPath + '.type', - $errSchemaPath = it.errSchemaPath + '/type'; - var $$outStack = $$outStack || []; - $$outStack.push(out); - out = ''; /* istanbul ignore else */ - if (it.createErrors !== false) { - out += ' { keyword: \'' + ($errorKeyword || 'type') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { type: \''; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' } '; - if (it.opts.messages !== false) { - out += ' , message: \'should be '; - if ($typeIsArray) { - out += '' + ($typeSchema.join(",")); - } else { - out += '' + ($typeSchema); - } - out += '\' '; - } - if (it.opts.verbose) { - out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' '; - } - out += ' } '; - } else { - out += ' {} '; - } - var __err = out; - out = $$outStack.pop(); - if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */ - if (it.async) { - out += ' throw new ValidationError([' + (__err) + ']); '; - } else { - out += ' validate.errors = [' + (__err) + ']; return false; '; - } - } else { - out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; '; - } - out += ' } '; - } - } - if ($breakOnError) { - out += ' if (errors === '; - if ($top) { - out += '0'; - } else { - out += 'errs_' + ($lvl); - } - out += ') { '; - $closingBraces2 += '}'; - } - } - } - } - } - if ($breakOnError) { - out += ' ' + ($closingBraces2) + ' '; - } - if ($top) { - if ($async) { - out += ' if (errors === 0) return data; '; - out += ' else throw new ValidationError(vErrors); '; - } else { - out += ' validate.errors = vErrors; '; - out += ' return errors === 0; '; - } - out += ' }; return validate;'; - } else { - out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';'; - } - out = it.util.cleanUpCode(out); - if ($top) { - out = it.util.finalCleanUpCode(out, $async); - } - - function $shouldUseGroup($rulesGroup) { - var rules = $rulesGroup.rules; - for (var i = 0; i < rules.length; i++) - if ($shouldUseRule(rules[i])) return true; - } - - function $shouldUseRule($rule) { - return it.schema[$rule.keyword] !== undefined || ($rule.implements && $ruleImplementsSomeKeyword($rule)); - } - - function $ruleImplementsSomeKeyword($rule) { - var impl = $rule.implements; - for (var i = 0; i < impl.length; i++) - if (it.schema[impl[i]] !== undefined) return true; - } - return out; -} diff --git a/node_modules/ajv/lib/keyword.js b/node_modules/ajv/lib/keyword.js deleted file mode 100644 index 6ed84c1..0000000 --- a/node_modules/ajv/lib/keyword.js +++ /dev/null @@ -1,135 +0,0 @@ -'use strict'; - -var IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i; -var customRuleCode = require('./dotjs/custom'); - -module.exports = { - add: addKeyword, - get: getKeyword, - remove: removeKeyword -}; - -/** - * Define custom keyword - * @this Ajv - * @param {String} keyword custom keyword, should be unique (including different from all standard, custom and macro keywords). - * @param {Object} definition keyword definition object with properties `type` (type(s) which the keyword applies to), `validate` or `compile`. - * @return {Ajv} this for method chaining - */ -function addKeyword(keyword, definition) { - /* jshint validthis: true */ - /* eslint no-shadow: 0 */ - var RULES = this.RULES; - - if (RULES.keywords[keyword]) - throw new Error('Keyword ' + keyword + ' is already defined'); - - if (!IDENTIFIER.test(keyword)) - throw new Error('Keyword ' + keyword + ' is not a valid identifier'); - - if (definition) { - if (definition.macro && definition.valid !== undefined) - throw new Error('"valid" option cannot be used with macro keywords'); - - var dataType = definition.type; - if (Array.isArray(dataType)) { - var i, len = dataType.length; - for (i=0; i ../ajv-dist/bower.json - cd ../ajv-dist - - if [[ `git status --porcelain` ]]; then - echo "Changes detected. Updating master branch..." - git add -A - git commit -m "updated by travis build #$TRAVIS_BUILD_NUMBER" - git push --quiet origin master > /dev/null 2>&1 - fi - - echo "Publishing tag..." - - git tag $TRAVIS_TAG - git push --tags > /dev/null 2>&1 - - echo "Done" -fi diff --git a/node_modules/ajv/scripts/travis-gh-pages b/node_modules/ajv/scripts/travis-gh-pages deleted file mode 100755 index 46ded16..0000000 --- a/node_modules/ajv/scripts/travis-gh-pages +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -set -e - -if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then - git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { - rm -rf ../gh-pages - git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages - mkdir -p ../gh-pages/_source - cp *.md ../gh-pages/_source - cp LICENSE ../gh-pages/_source - currentDir=$(pwd) - cd ../gh-pages - $currentDir/node_modules/.bin/gh-pages-generator - # remove logo from README - sed -i -E "s/]+ajv_logo[^>]+>//" index.md - git config user.email "$GIT_USER_EMAIL" - git config user.name "$GIT_USER_NAME" - git add . - git commit -am "updated by travis build #$TRAVIS_BUILD_NUMBER" - git push --quiet origin gh-pages > /dev/null 2>&1 - } -fi diff --git a/node_modules/amdefine/LICENSE b/node_modules/amdefine/LICENSE deleted file mode 100644 index 9b25ee0..0000000 --- a/node_modules/amdefine/LICENSE +++ /dev/null @@ -1,58 +0,0 @@ -amdefine is released under two licenses: new BSD, and MIT. You may pick the -license that best suits your development needs. The text of both licenses are -provided below. - - -The "New" BSD License: ----------------------- - -Copyright (c) 2011-2016, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -MIT License ------------ - -Copyright (c) 2011-2016, The Dojo Foundation - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/amdefine/README.md b/node_modules/amdefine/README.md deleted file mode 100644 index 037a6e8..0000000 --- a/node_modules/amdefine/README.md +++ /dev/null @@ -1,171 +0,0 @@ -# amdefine - -A module that can be used to implement AMD's define() in Node. This allows you -to code to the AMD API and have the module work in node programs without -requiring those other programs to use AMD. - -## Usage - -**1)** Update your package.json to indicate amdefine as a dependency: - -```javascript - "dependencies": { - "amdefine": ">=0.1.0" - } -``` - -Then run `npm install` to get amdefine into your project. - -**2)** At the top of each module that uses define(), place this code: - -```javascript -if (typeof define !== 'function') { var define = require('amdefine')(module) } -``` - -**Only use these snippets** when loading amdefine. If you preserve the basic structure, -with the braces, it will be stripped out when using the [RequireJS optimizer](#optimizer). - -You can add spaces, line breaks and even require amdefine with a local path, but -keep the rest of the structure to get the stripping behavior. - -As you may know, because `if` statements in JavaScript don't have their own scope, the var -declaration in the above snippet is made whether the `if` expression is truthy or not. If -RequireJS is loaded then the declaration is superfluous because `define` is already already -declared in the same scope in RequireJS. Fortunately JavaScript handles multiple `var` -declarations of the same variable in the same scope gracefully. - -If you want to deliver amdefine.js with your code rather than specifying it as a dependency -with npm, then just download the latest release and refer to it using a relative path: - -[Latest Version](https://github.com/jrburke/amdefine/raw/latest/amdefine.js) - -### amdefine/intercept - -Consider this very experimental. - -Instead of pasting the piece of text for the amdefine setup of a `define` -variable in each module you create or consume, you can use `amdefine/intercept` -instead. It will automatically insert the above snippet in each .js file loaded -by Node. - -**Warning**: you should only use this if you are creating an application that -is consuming AMD style defined()'d modules that are distributed via npm and want -to run that code in Node. - -For library code where you are not sure if it will be used by others in Node or -in the browser, then explicitly depending on amdefine and placing the code -snippet above is suggested path, instead of using `amdefine/intercept`. The -intercept module affects all .js files loaded in the Node app, and it is -inconsiderate to modify global state like that unless you are also controlling -the top level app. - -#### Why distribute AMD-style modules via npm? - -npm has a lot of weaknesses for front-end use (installed layout is not great, -should have better support for the `baseUrl + moduleID + '.js' style of loading, -single file JS installs), but some people want a JS package manager and are -willing to live with those constraints. If that is you, but still want to author -in AMD style modules to get dynamic require([]), better direct source usage and -powerful loader plugin support in the browser, then this tool can help. - -#### amdefine/intercept usage - -Just require it in your top level app module (for example index.js, server.js): - -```javascript -require('amdefine/intercept'); -``` - -The module does not return a value, so no need to assign the result to a local -variable. - -Then just require() code as you normally would with Node's require(). Any .js -loaded after the intercept require will have the amdefine check injected in -the .js source as it is loaded. It does not modify the source on disk, just -prepends some content to the text of the module as it is loaded by Node. - -#### How amdefine/intercept works - -It overrides the `Module._extensions['.js']` in Node to automatically prepend -the amdefine snippet above. So, it will affect any .js file loaded by your -app. - -## define() usage - -It is best if you use the anonymous forms of define() in your module: - -```javascript -define(function (require) { - var dependency = require('dependency'); -}); -``` - -or - -```javascript -define(['dependency'], function (dependency) { - -}); -``` - -## RequireJS optimizer integration. - -Version 1.0.3 of the [RequireJS optimizer](http://requirejs.org/docs/optimization.html) -will have support for stripping the `if (typeof define !== 'function')` check -mentioned above, so you can include this snippet for code that runs in the -browser, but avoid taking the cost of the if() statement once the code is -optimized for deployment. - -## Node 0.4 Support - -If you want to support Node 0.4, then add `require` as the second parameter to amdefine: - -```javascript -//Only if you want Node 0.4. If using 0.5 or later, use the above snippet. -if (typeof define !== 'function') { var define = require('amdefine')(module, require) } -``` - -## Limitations - -### Synchronous vs Asynchronous - -amdefine creates a define() function that is callable by your code. It will -execute and trace dependencies and call the factory function *synchronously*, -to keep the behavior in line with Node's synchronous dependency tracing. - -The exception: calling AMD's callback-style require() from inside a factory -function. The require callback is called on process.nextTick(): - -```javascript -define(function (require) { - require(['a'], function(a) { - //'a' is loaded synchronously, but - //this callback is called on process.nextTick(). - }); -}); -``` - -### Loader Plugins - -Loader plugins are supported as long as they call their load() callbacks -synchronously. So ones that do network requests will not work. However plugins -like [text](http://requirejs.org/docs/api.html#text) can load text files locally. - -The plugin API's `load.fromText()` is **not supported** in amdefine, so this means -transpiler plugins like the [CoffeeScript loader plugin](https://github.com/jrburke/require-cs) -will not work. This may be fixable, but it is a bit complex, and I do not have -enough node-fu to figure it out yet. See the source for amdefine.js if you want -to get an idea of the issues involved. - -## Tests - -To run the tests, cd to **tests** and run: - -``` -node all.js -node all-intercept.js -``` - -## License - -New BSD and MIT. Check the LICENSE file for all the details. diff --git a/node_modules/amdefine/amdefine.js b/node_modules/amdefine/amdefine.js deleted file mode 100644 index ca830ba..0000000 --- a/node_modules/amdefine/amdefine.js +++ /dev/null @@ -1,301 +0,0 @@ -/** vim: et:ts=4:sw=4:sts=4 - * @license amdefine 1.0.1 Copyright (c) 2011-2016, The Dojo Foundation All Rights Reserved. - * Available via the MIT or new BSD license. - * see: http://github.com/jrburke/amdefine for details - */ - -/*jslint node: true */ -/*global module, process */ -'use strict'; - -/** - * Creates a define for node. - * @param {Object} module the "module" object that is defined by Node for the - * current module. - * @param {Function} [requireFn]. Node's require function for the current module. - * It only needs to be passed in Node versions before 0.5, when module.require - * did not exist. - * @returns {Function} a define function that is usable for the current node - * module. - */ -function amdefine(module, requireFn) { - 'use strict'; - var defineCache = {}, - loaderCache = {}, - alreadyCalled = false, - path = require('path'), - makeRequire, stringRequire; - - /** - * Trims the . and .. from an array of path segments. - * It will keep a leading path segment if a .. will become - * the first path segment, to help with module name lookups, - * which act like paths, but can be remapped. But the end result, - * all paths that use this function should look normalized. - * NOTE: this method MODIFIES the input array. - * @param {Array} ary the array of path segments. - */ - function trimDots(ary) { - var i, part; - for (i = 0; ary[i]; i+= 1) { - part = ary[i]; - if (part === '.') { - ary.splice(i, 1); - i -= 1; - } else if (part === '..') { - if (i === 1 && (ary[2] === '..' || ary[0] === '..')) { - //End of the line. Keep at least one non-dot - //path segment at the front so it can be mapped - //correctly to disk. Otherwise, there is likely - //no path mapping for a path starting with '..'. - //This can still fail, but catches the most reasonable - //uses of .. - break; - } else if (i > 0) { - ary.splice(i - 1, 2); - i -= 2; - } - } - } - } - - function normalize(name, baseName) { - var baseParts; - - //Adjust any relative paths. - if (name && name.charAt(0) === '.') { - //If have a base name, try to normalize against it, - //otherwise, assume it is a top-level require that will - //be relative to baseUrl in the end. - if (baseName) { - baseParts = baseName.split('/'); - baseParts = baseParts.slice(0, baseParts.length - 1); - baseParts = baseParts.concat(name.split('/')); - trimDots(baseParts); - name = baseParts.join('/'); - } - } - - return name; - } - - /** - * Create the normalize() function passed to a loader plugin's - * normalize method. - */ - function makeNormalize(relName) { - return function (name) { - return normalize(name, relName); - }; - } - - function makeLoad(id) { - function load(value) { - loaderCache[id] = value; - } - - load.fromText = function (id, text) { - //This one is difficult because the text can/probably uses - //define, and any relative paths and requires should be relative - //to that id was it would be found on disk. But this would require - //bootstrapping a module/require fairly deeply from node core. - //Not sure how best to go about that yet. - throw new Error('amdefine does not implement load.fromText'); - }; - - return load; - } - - makeRequire = function (systemRequire, exports, module, relId) { - function amdRequire(deps, callback) { - if (typeof deps === 'string') { - //Synchronous, single module require('') - return stringRequire(systemRequire, exports, module, deps, relId); - } else { - //Array of dependencies with a callback. - - //Convert the dependencies to modules. - deps = deps.map(function (depName) { - return stringRequire(systemRequire, exports, module, depName, relId); - }); - - //Wait for next tick to call back the require call. - if (callback) { - process.nextTick(function () { - callback.apply(null, deps); - }); - } - } - } - - amdRequire.toUrl = function (filePath) { - if (filePath.indexOf('.') === 0) { - return normalize(filePath, path.dirname(module.filename)); - } else { - return filePath; - } - }; - - return amdRequire; - }; - - //Favor explicit value, passed in if the module wants to support Node 0.4. - requireFn = requireFn || function req() { - return module.require.apply(module, arguments); - }; - - function runFactory(id, deps, factory) { - var r, e, m, result; - - if (id) { - e = loaderCache[id] = {}; - m = { - id: id, - uri: __filename, - exports: e - }; - r = makeRequire(requireFn, e, m, id); - } else { - //Only support one define call per file - if (alreadyCalled) { - throw new Error('amdefine with no module ID cannot be called more than once per file.'); - } - alreadyCalled = true; - - //Use the real variables from node - //Use module.exports for exports, since - //the exports in here is amdefine exports. - e = module.exports; - m = module; - r = makeRequire(requireFn, e, m, module.id); - } - - //If there are dependencies, they are strings, so need - //to convert them to dependency values. - if (deps) { - deps = deps.map(function (depName) { - return r(depName); - }); - } - - //Call the factory with the right dependencies. - if (typeof factory === 'function') { - result = factory.apply(m.exports, deps); - } else { - result = factory; - } - - if (result !== undefined) { - m.exports = result; - if (id) { - loaderCache[id] = m.exports; - } - } - } - - stringRequire = function (systemRequire, exports, module, id, relId) { - //Split the ID by a ! so that - var index = id.indexOf('!'), - originalId = id, - prefix, plugin; - - if (index === -1) { - id = normalize(id, relId); - - //Straight module lookup. If it is one of the special dependencies, - //deal with it, otherwise, delegate to node. - if (id === 'require') { - return makeRequire(systemRequire, exports, module, relId); - } else if (id === 'exports') { - return exports; - } else if (id === 'module') { - return module; - } else if (loaderCache.hasOwnProperty(id)) { - return loaderCache[id]; - } else if (defineCache[id]) { - runFactory.apply(null, defineCache[id]); - return loaderCache[id]; - } else { - if(systemRequire) { - return systemRequire(originalId); - } else { - throw new Error('No module with ID: ' + id); - } - } - } else { - //There is a plugin in play. - prefix = id.substring(0, index); - id = id.substring(index + 1, id.length); - - plugin = stringRequire(systemRequire, exports, module, prefix, relId); - - if (plugin.normalize) { - id = plugin.normalize(id, makeNormalize(relId)); - } else { - //Normalize the ID normally. - id = normalize(id, relId); - } - - if (loaderCache[id]) { - return loaderCache[id]; - } else { - plugin.load(id, makeRequire(systemRequire, exports, module, relId), makeLoad(id), {}); - - return loaderCache[id]; - } - } - }; - - //Create a define function specific to the module asking for amdefine. - function define(id, deps, factory) { - if (Array.isArray(id)) { - factory = deps; - deps = id; - id = undefined; - } else if (typeof id !== 'string') { - factory = id; - id = deps = undefined; - } - - if (deps && !Array.isArray(deps)) { - factory = deps; - deps = undefined; - } - - if (!deps) { - deps = ['require', 'exports', 'module']; - } - - //Set up properties for this module. If an ID, then use - //internal cache. If no ID, then use the external variables - //for this node module. - if (id) { - //Put the module in deep freeze until there is a - //require call for it. - defineCache[id] = [id, deps, factory]; - } else { - runFactory(id, deps, factory); - } - } - - //define.require, which has access to all the values in the - //cache. Useful for AMD modules that all have IDs in the file, - //but need to finally export a value to node based on one of those - //IDs. - define.require = function (id) { - if (loaderCache[id]) { - return loaderCache[id]; - } - - if (defineCache[id]) { - runFactory.apply(null, defineCache[id]); - return loaderCache[id]; - } - }; - - define.amd = {}; - - return define; -} - -module.exports = amdefine; diff --git a/node_modules/amdefine/intercept.js b/node_modules/amdefine/intercept.js deleted file mode 100644 index 771a983..0000000 --- a/node_modules/amdefine/intercept.js +++ /dev/null @@ -1,36 +0,0 @@ -/*jshint node: true */ -var inserted, - Module = require('module'), - fs = require('fs'), - existingExtFn = Module._extensions['.js'], - amdefineRegExp = /amdefine\.js/; - -inserted = "if (typeof define !== 'function') {var define = require('amdefine')(module)}"; - -//From the node/lib/module.js source: -function stripBOM(content) { - // Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) - // because the buffer-to-string conversion in `fs.readFileSync()` - // translates it to FEFF, the UTF-16 BOM. - if (content.charCodeAt(0) === 0xFEFF) { - content = content.slice(1); - } - return content; -} - -//Also adapted from the node/lib/module.js source: -function intercept(module, filename) { - var content = stripBOM(fs.readFileSync(filename, 'utf8')); - - if (!amdefineRegExp.test(module.id)) { - content = inserted + content; - } - - module._compile(content, filename); -} - -intercept._id = 'amdefine/intercept'; - -if (!existingExtFn._id || existingExtFn._id !== intercept._id) { - Module._extensions['.js'] = intercept; -} diff --git a/node_modules/amdefine/package.json b/node_modules/amdefine/package.json deleted file mode 100644 index d0d4333..0000000 --- a/node_modules/amdefine/package.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "amdefine@>=0.0.4", - "scope": null, - "escapedName": "amdefine", - "name": "amdefine", - "rawSpec": ">=0.0.4", - "spec": ">=0.0.4", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/doiuse/node_modules/source-map" - ] - ], - "_from": "amdefine@>=0.0.4", - "_id": "amdefine@1.0.1", - "_inCache": true, - "_location": "/amdefine", - "_nodeVersion": "6.7.0", - "_npmOperationalInternal": { - "host": "packages-18-east.internal.npmjs.com", - "tmp": "tmp/amdefine-1.0.1.tgz_1478062849665_0.19916908955201507" - }, - "_npmUser": { - "name": "jrburke", - "email": "jrburke@gmail.com" - }, - "_npmVersion": "3.10.3", - "_phantomChildren": {}, - "_requested": { - "raw": "amdefine@>=0.0.4", - "scope": null, - "escapedName": "amdefine", - "name": "amdefine", - "rawSpec": ">=0.0.4", - "spec": ">=0.0.4", - "type": "range" - }, - "_requiredBy": [ - "/doiuse/source-map" - ], - "_resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "_shasum": "4a5282ac164729e93619bcfd3ad151f817ce91f5", - "_shrinkwrap": null, - "_spec": "amdefine@>=0.0.4", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/doiuse/node_modules/source-map", - "author": { - "name": "James Burke", - "email": "jrburke@gmail.com", - "url": "http://github.com/jrburke" - }, - "bugs": { - "url": "https://github.com/jrburke/amdefine/issues" - }, - "dependencies": {}, - "description": "Provide AMD's define() API for declaring modules in the AMD format", - "devDependencies": {}, - "directories": {}, - "dist": { - "shasum": "4a5282ac164729e93619bcfd3ad151f817ce91f5", - "tarball": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz" - }, - "engines": { - "node": ">=0.4.2" - }, - "gitHead": "e59edc9da24404ec7937098e3992f8fb0e260be7", - "homepage": "http://github.com/jrburke/amdefine", - "license": "BSD-3-Clause OR MIT", - "main": "./amdefine.js", - "maintainers": [ - { - "name": "jrburke", - "email": "jrburke@gmail.com" - } - ], - "name": "amdefine", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/jrburke/amdefine.git" - }, - "scripts": {}, - "version": "1.0.1" -} diff --git a/node_modules/ansi-regex/index.js b/node_modules/ansi-regex/index.js deleted file mode 100644 index b9574ed..0000000 --- a/node_modules/ansi-regex/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; -module.exports = function () { - return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g; -}; diff --git a/node_modules/ansi-regex/license b/node_modules/ansi-regex/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/ansi-regex/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json deleted file mode 100644 index 0cc0b9a..0000000 --- a/node_modules/ansi-regex/package.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "ansi-regex@^2.0.0", - "scope": null, - "escapedName": "ansi-regex", - "name": "ansi-regex", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/has-ansi" - ] - ], - "_from": "ansi-regex@>=2.0.0 <3.0.0", - "_id": "ansi-regex@2.1.1", - "_inCache": true, - "_location": "/ansi-regex", - "_nodeVersion": "0.10.32", - "_npmOperationalInternal": { - "host": "packages-18-east.internal.npmjs.com", - "tmp": "tmp/ansi-regex-2.1.1.tgz_1484363378013_0.4482989883981645" - }, - "_npmUser": { - "name": "qix", - "email": "i.am.qix@gmail.com" - }, - "_npmVersion": "2.14.2", - "_phantomChildren": {}, - "_requested": { - "raw": "ansi-regex@^2.0.0", - "scope": null, - "escapedName": "ansi-regex", - "name": "ansi-regex", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" - }, - "_requiredBy": [ - "/has-ansi", - "/strip-ansi" - ], - "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "_shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df", - "_shrinkwrap": null, - "_spec": "ansi-regex@^2.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/has-ansi", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-regex/issues" - }, - "dependencies": {}, - "description": "Regular expression for matching ANSI escape codes", - "devDependencies": { - "ava": "0.17.0", - "xo": "0.16.0" - }, - "directories": {}, - "dist": { - "shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df", - "tarball": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "7c908e7b4eb6cd82bfe1295e33fdf6d166c7ed85", - "homepage": "https://github.com/chalk/ansi-regex#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "text", - "regex", - "regexp", - "re", - "match", - "test", - "find", - "pattern" - ], - "license": "MIT", - "maintainers": [ - { - "name": "qix", - "email": "i.am.qix@gmail.com" - }, - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "ansi-regex", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-regex.git" - }, - "scripts": { - "test": "xo && ava --verbose", - "view-supported": "node fixtures/view-codes.js" - }, - "version": "2.1.1", - "xo": { - "rules": { - "guard-for-in": 0, - "no-loop-func": 0 - } - } -} diff --git a/node_modules/ansi-regex/readme.md b/node_modules/ansi-regex/readme.md deleted file mode 100644 index 6a928ed..0000000 --- a/node_modules/ansi-regex/readme.md +++ /dev/null @@ -1,39 +0,0 @@ -# ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex) - -> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) - - -## Install - -``` -$ npm install --save ansi-regex -``` - - -## Usage - -```js -const ansiRegex = require('ansi-regex'); - -ansiRegex().test('\u001b[4mcake\u001b[0m'); -//=> true - -ansiRegex().test('cake'); -//=> false - -'\u001b[4mcake\u001b[0m'.match(ansiRegex()); -//=> ['\u001b[4m', '\u001b[0m'] -``` - -## FAQ - -### Why do you test for codes not in the ECMA 48 standard? - -Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. If I recall correctly, we test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them. - -On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out. - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/ansi-styles/index.js b/node_modules/ansi-styles/index.js deleted file mode 100644 index 90a871c..0000000 --- a/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,165 +0,0 @@ -'use strict'; -const colorConvert = require('color-convert'); - -const wrapAnsi16 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${code + offset}m`; -}; - -const wrapAnsi256 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};5;${code}m`; -}; - -const wrapAnsi16m = (fn, offset) => function () { - const rgb = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; -}; - -function assembleStyles() { - const codes = new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - - // Bright color - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - - // Fix humans - styles.color.grey = styles.color.gray; - - for (const groupName of Object.keys(styles)) { - const group = styles[groupName]; - - for (const styleName of Object.keys(group)) { - const style = group[styleName]; - - styles[styleName] = { - open: `\u001B[${style[0]}m`, - close: `\u001B[${style[1]}m` - }; - - group[styleName] = styles[styleName]; - - codes.set(style[0], style[1]); - } - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - - Object.defineProperty(styles, 'codes', { - value: codes, - enumerable: false - }); - } - - const ansi2ansi = n => n; - const rgb2rgb = (r, g, b) => [r, g, b]; - - styles.color.close = '\u001B[39m'; - styles.bgColor.close = '\u001B[49m'; - - styles.color.ansi = { - ansi: wrapAnsi16(ansi2ansi, 0) - }; - styles.color.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 0) - }; - styles.color.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 0) - }; - - styles.bgColor.ansi = { - ansi: wrapAnsi16(ansi2ansi, 10) - }; - styles.bgColor.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 10) - }; - styles.bgColor.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 10) - }; - - for (let key of Object.keys(colorConvert)) { - if (typeof colorConvert[key] !== 'object') { - continue; - } - - const suite = colorConvert[key]; - - if (key === 'ansi16') { - key = 'ansi'; - } - - if ('ansi16' in suite) { - styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); - styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); - } - - if ('ansi256' in suite) { - styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); - styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); - } - - if ('rgb' in suite) { - styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); - styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); - } - } - - return styles; -} - -// Make the export immutable -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/node_modules/ansi-styles/license b/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/ansi-styles/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json deleted file mode 100644 index f06d23b..0000000 --- a/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "_from": "ansi-styles@^3.2.1", - "_id": "ansi-styles@3.2.1", - "_inBundle": false, - "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "_location": "/ansi-styles", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ansi-styles@^3.2.1", - "name": "ansi-styles", - "escapedName": "ansi-styles", - "rawSpec": "^3.2.1", - "saveSpec": null, - "fetchSpec": "^3.2.1" - }, - "_requiredBy": [ - "/chalk" - ], - "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", - "_spec": "ansi-styles@^3.2.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/chalk", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "ava": { - "require": "babel-polyfill" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-styles/issues" - }, - "bundleDependencies": false, - "dependencies": { - "color-convert": "^1.9.0" - }, - "deprecated": false, - "description": "ANSI escape codes for styling strings in the terminal", - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/ansi-styles#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "name": "ansi-styles", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-styles.git" - }, - "scripts": { - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", - "test": "xo && ava" - }, - "version": "3.2.1" -} diff --git a/node_modules/ansi-styles/readme.md b/node_modules/ansi-styles/readme.md deleted file mode 100644 index 3158e2d..0000000 --- a/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,147 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - - - - -## Install - -``` -$ npm install ansi-styles -``` - - -## Usage - -```js -const style = require('ansi-styles'); - -console.log(`${style.green.open}Hello world!${style.green.close}`); - - -// Color conversion between 16/256/truecolor -// NOTE: If conversion goes to 16 colors or 256 colors, the original color -// may be degraded to fit that color palette. This means terminals -// that do not support 16 million colors will best-match the -// original color. -console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); -console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); -console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close); -``` - -## API - -Each style has an `open` and `close` property. - - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(Not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(Not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `gray` ("bright black") -- `redBright` -- `greenBright` -- `yellowBright` -- `blueBright` -- `magentaBright` -- `cyanBright` -- `whiteBright` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` -- `bgBlackBright` -- `bgRedBright` -- `bgGreenBright` -- `bgYellowBright` -- `bgBlueBright` -- `bgMagentaBright` -- `bgCyanBright` -- `bgWhiteBright` - - -## Advanced usage - -By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `style.modifier` -- `style.color` -- `style.bgColor` - -###### Example - -```js -console.log(style.color.green.open); -``` - -Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. - -###### Example - -```js -console.log(style.codes.get(36)); -//=> 39 -``` - - -## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) - -`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. - -To use these, call the associated conversion function with the intended output, for example: - -```js -style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code -style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code - -style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code -style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code - -style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code -style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code -``` - - -## Related - -- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal - - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - - -## License - -MIT diff --git a/node_modules/argparse/CHANGELOG.md b/node_modules/argparse/CHANGELOG.md deleted file mode 100644 index a43c628..0000000 --- a/node_modules/argparse/CHANGELOG.md +++ /dev/null @@ -1,185 +0,0 @@ -1.0.10 / 2018-02-15 ------------------- - -- Use .concat instead of + for arrays, #122. - - -1.0.9 / 2016-09-29 ------------------- - -- Rerelease after 1.0.8 - deps cleanup. - - -1.0.8 / 2016-09-29 ------------------- - -- Maintenance (deps bump, fix node 6.5+ tests, coverage report). - - -1.0.7 / 2016-03-17 ------------------- - -- Teach `addArgument` to accept string arg names. #97, @tomxtobin. - - -1.0.6 / 2016-02-06 ------------------- - -- Maintenance: moved to eslint & updated CS. - - -1.0.5 / 2016-02-05 ------------------- - -- Removed lodash dependency to significantly reduce install size. - Thanks to @mourner. - - -1.0.4 / 2016-01-17 ------------------- - -- Maintenance: lodash update to 4.0.0. - - -1.0.3 / 2015-10-27 ------------------- - -- Fix parse `=` in args: `--examplepath="C:\myfolder\env=x64"`. #84, @CatWithApple. - - -1.0.2 / 2015-03-22 ------------------- - -- Relaxed lodash version dependency. - - -1.0.1 / 2015-02-20 ------------------- - -- Changed dependencies to be compatible with ancient nodejs. - - -1.0.0 / 2015-02-19 ------------------- - -- Maintenance release. -- Replaced `underscore` with `lodash`. -- Bumped version to 1.0.0 to better reflect semver meaning. -- HISTORY.md -> CHANGELOG.md - - -0.1.16 / 2013-12-01 -------------------- - -- Maintenance release. Updated dependencies and docs. - - -0.1.15 / 2013-05-13 -------------------- - -- Fixed #55, @trebor89 - - -0.1.14 / 2013-05-12 -------------------- - -- Fixed #62, @maxtaco - - -0.1.13 / 2013-04-08 -------------------- - -- Added `.npmignore` to reduce package size - - -0.1.12 / 2013-02-10 -------------------- - -- Fixed conflictHandler (#46), @hpaulj - - -0.1.11 / 2013-02-07 -------------------- - -- Multiple bugfixes, @hpaulj -- Added 70+ tests (ported from python), @hpaulj -- Added conflictHandler, @applepicke -- Added fromfilePrefixChar, @hpaulj - - -0.1.10 / 2012-12-30 -------------------- - -- Added [mutual exclusion](http://docs.python.org/dev/library/argparse.html#mutual-exclusion) - support, thanks to @hpaulj -- Fixed options check for `storeConst` & `appendConst` actions, thanks to @hpaulj - - -0.1.9 / 2012-12-27 ------------------- - -- Fixed option dest interferens with other options (issue #23), thanks to @hpaulj -- Fixed default value behavior with `*` positionals, thanks to @hpaulj -- Improve `getDefault()` behavior, thanks to @hpaulj -- Imrove negative argument parsing, thanks to @hpaulj - - -0.1.8 / 2012-12-01 ------------------- - -- Fixed parser parents (issue #19), thanks to @hpaulj -- Fixed negative argument parse (issue #20), thanks to @hpaulj - - -0.1.7 / 2012-10-14 ------------------- - -- Fixed 'choices' argument parse (issue #16) -- Fixed stderr output (issue #15) - - -0.1.6 / 2012-09-09 ------------------- - -- Fixed check for conflict of options (thanks to @tomxtobin) - - -0.1.5 / 2012-09-03 ------------------- - -- Fix parser #setDefaults method (thanks to @tomxtobin) - - -0.1.4 / 2012-07-30 ------------------- - -- Fixed pseudo-argument support (thanks to @CGamesPlay) -- Fixed addHelp default (should be true), if not set (thanks to @benblank) - - -0.1.3 / 2012-06-27 ------------------- - -- Fixed formatter api name: Formatter -> HelpFormatter - - -0.1.2 / 2012-05-29 ------------------- - -- Added basic tests -- Removed excess whitespace in help -- Fixed error reporting, when parcer with subcommands - called with empty arguments - - -0.1.1 / 2012-05-23 ------------------- - -- Fixed line wrapping in help formatter -- Added better error reporting on invalid arguments - - -0.1.0 / 2012-05-16 ------------------- - -- First release. diff --git a/node_modules/argparse/LICENSE b/node_modules/argparse/LICENSE deleted file mode 100644 index 1afdae5..0000000 --- a/node_modules/argparse/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -(The MIT License) - -Copyright (C) 2012 by Vitaly Puzrin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/argparse/README.md b/node_modules/argparse/README.md deleted file mode 100644 index 7fa6c40..0000000 --- a/node_modules/argparse/README.md +++ /dev/null @@ -1,257 +0,0 @@ -argparse -======== - -[![Build Status](https://secure.travis-ci.org/nodeca/argparse.svg?branch=master)](http://travis-ci.org/nodeca/argparse) -[![NPM version](https://img.shields.io/npm/v/argparse.svg)](https://www.npmjs.org/package/argparse) - -CLI arguments parser for node.js. Javascript port of python's -[argparse](http://docs.python.org/dev/library/argparse.html) module -(original version 3.2). That's a full port, except some very rare options, -recorded in issue tracker. - -**NB. Difference with original.** - -- Method names changed to camelCase. See [generated docs](http://nodeca.github.com/argparse/). -- Use `defaultValue` instead of `default`. -- Use `argparse.Const.REMAINDER` instead of `argparse.REMAINDER`, and - similarly for constant values `OPTIONAL`, `ZERO_OR_MORE`, and `ONE_OR_MORE` - (aliases for `nargs` values `'?'`, `'*'`, `'+'`, respectively), and - `SUPPRESS`. - - -Example -======= - -test.js file: - -```javascript -#!/usr/bin/env node -'use strict'; - -var ArgumentParser = require('../lib/argparse').ArgumentParser; -var parser = new ArgumentParser({ - version: '0.0.1', - addHelp:true, - description: 'Argparse example' -}); -parser.addArgument( - [ '-f', '--foo' ], - { - help: 'foo bar' - } -); -parser.addArgument( - [ '-b', '--bar' ], - { - help: 'bar foo' - } -); -parser.addArgument( - '--baz', - { - help: 'baz bar' - } -); -var args = parser.parseArgs(); -console.dir(args); -``` - -Display help: - -``` -$ ./test.js -h -usage: example.js [-h] [-v] [-f FOO] [-b BAR] [--baz BAZ] - -Argparse example - -Optional arguments: - -h, --help Show this help message and exit. - -v, --version Show program's version number and exit. - -f FOO, --foo FOO foo bar - -b BAR, --bar BAR bar foo - --baz BAZ baz bar -``` - -Parse arguments: - -``` -$ ./test.js -f=3 --bar=4 --baz 5 -{ foo: '3', bar: '4', baz: '5' } -``` - -More [examples](https://github.com/nodeca/argparse/tree/master/examples). - - -ArgumentParser objects -====================== - -``` -new ArgumentParser({parameters hash}); -``` - -Creates a new ArgumentParser object. - -**Supported params:** - -- ```description``` - Text to display before the argument help. -- ```epilog``` - Text to display after the argument help. -- ```addHelp``` - Add a -h/–help option to the parser. (default: true) -- ```argumentDefault``` - Set the global default value for arguments. (default: null) -- ```parents``` - A list of ArgumentParser objects whose arguments should also be included. -- ```prefixChars``` - The set of characters that prefix optional arguments. (default: ‘-‘) -- ```formatterClass``` - A class for customizing the help output. -- ```prog``` - The name of the program (default: `path.basename(process.argv[1])`) -- ```usage``` - The string describing the program usage (default: generated) -- ```conflictHandler``` - Usually unnecessary, defines strategy for resolving conflicting optionals. - -**Not supported yet** - -- ```fromfilePrefixChars``` - The set of characters that prefix files from which additional arguments should be read. - - -Details in [original ArgumentParser guide](http://docs.python.org/dev/library/argparse.html#argumentparser-objects) - - -addArgument() method -==================== - -``` -ArgumentParser.addArgument(name or flag or [name] or [flags...], {options}) -``` - -Defines how a single command-line argument should be parsed. - -- ```name or flag or [name] or [flags...]``` - Either a positional name - (e.g., `'foo'`), a single option (e.g., `'-f'` or `'--foo'`), an array - of a single positional name (e.g., `['foo']`), or an array of options - (e.g., `['-f', '--foo']`). - -Options: - -- ```action``` - The basic type of action to be taken when this argument is encountered at the command line. -- ```nargs```- The number of command-line arguments that should be consumed. -- ```constant``` - A constant value required by some action and nargs selections. -- ```defaultValue``` - The value produced if the argument is absent from the command line. -- ```type``` - The type to which the command-line argument should be converted. -- ```choices``` - A container of the allowable values for the argument. -- ```required``` - Whether or not the command-line option may be omitted (optionals only). -- ```help``` - A brief description of what the argument does. -- ```metavar``` - A name for the argument in usage messages. -- ```dest``` - The name of the attribute to be added to the object returned by parseArgs(). - -Details in [original add_argument guide](http://docs.python.org/dev/library/argparse.html#the-add-argument-method) - - -Action (some details) -================ - -ArgumentParser objects associate command-line arguments with actions. -These actions can do just about anything with the command-line arguments associated -with them, though most actions simply add an attribute to the object returned by -parseArgs(). The action keyword argument specifies how the command-line arguments -should be handled. The supported actions are: - -- ```store``` - Just stores the argument’s value. This is the default action. -- ```storeConst``` - Stores value, specified by the const keyword argument. - (Note that the const keyword argument defaults to the rather unhelpful None.) - The 'storeConst' action is most commonly used with optional arguments, that - specify some sort of flag. -- ```storeTrue``` and ```storeFalse``` - Stores values True and False - respectively. These are special cases of 'storeConst'. -- ```append``` - Stores a list, and appends each argument value to the list. - This is useful to allow an option to be specified multiple times. -- ```appendConst``` - Stores a list, and appends value, specified by the - const keyword argument to the list. (Note, that the const keyword argument defaults - is None.) The 'appendConst' action is typically used when multiple arguments need - to store constants to the same list. -- ```count``` - Counts the number of times a keyword argument occurs. For example, - used for increasing verbosity levels. -- ```help``` - Prints a complete help message for all the options in the current - parser and then exits. By default a help action is automatically added to the parser. - See ArgumentParser for details of how the output is created. -- ```version``` - Prints version information and exit. Expects a `version=` - keyword argument in the addArgument() call. - -Details in [original action guide](http://docs.python.org/dev/library/argparse.html#action) - - -Sub-commands -============ - -ArgumentParser.addSubparsers() - -Many programs split their functionality into a number of sub-commands, for -example, the svn program can invoke sub-commands like `svn checkout`, `svn update`, -and `svn commit`. Splitting up functionality this way can be a particularly good -idea when a program performs several different functions which require different -kinds of command-line arguments. `ArgumentParser` supports creation of such -sub-commands with `addSubparsers()` method. The `addSubparsers()` method is -normally called with no arguments and returns an special action object. -This object has a single method `addParser()`, which takes a command name and -any `ArgumentParser` constructor arguments, and returns an `ArgumentParser` object -that can be modified as usual. - -Example: - -sub_commands.js -```javascript -#!/usr/bin/env node -'use strict'; - -var ArgumentParser = require('../lib/argparse').ArgumentParser; -var parser = new ArgumentParser({ - version: '0.0.1', - addHelp:true, - description: 'Argparse examples: sub-commands', -}); - -var subparsers = parser.addSubparsers({ - title:'subcommands', - dest:"subcommand_name" -}); - -var bar = subparsers.addParser('c1', {addHelp:true}); -bar.addArgument( - [ '-f', '--foo' ], - { - action: 'store', - help: 'foo3 bar3' - } -); -var bar = subparsers.addParser( - 'c2', - {aliases:['co'], addHelp:true} -); -bar.addArgument( - [ '-b', '--bar' ], - { - action: 'store', - type: 'int', - help: 'foo3 bar3' - } -); - -var args = parser.parseArgs(); -console.dir(args); - -``` - -Details in [original sub-commands guide](http://docs.python.org/dev/library/argparse.html#sub-commands) - - -Contributors -============ - -- [Eugene Shkuropat](https://github.com/shkuropat) -- [Paul Jacobson](https://github.com/hpaulj) - -[others](https://github.com/nodeca/argparse/graphs/contributors) - -License -======= - -Copyright (c) 2012 [Vitaly Puzrin](https://github.com/puzrin). -Released under the MIT license. See -[LICENSE](https://github.com/nodeca/argparse/blob/master/LICENSE) for details. - - diff --git a/node_modules/argparse/index.js b/node_modules/argparse/index.js deleted file mode 100644 index 3bbc143..0000000 --- a/node_modules/argparse/index.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('./lib/argparse'); diff --git a/node_modules/argparse/lib/action.js b/node_modules/argparse/lib/action.js deleted file mode 100644 index 1483c79..0000000 --- a/node_modules/argparse/lib/action.js +++ /dev/null @@ -1,146 +0,0 @@ -/** - * class Action - * - * Base class for all actions - * Do not call in your code, use this class only for inherits your own action - * - * Information about how to convert command line strings to Javascript objects. - * Action objects are used by an ArgumentParser to represent the information - * needed to parse a single argument from one or more strings from the command - * line. The keyword arguments to the Action constructor are also all attributes - * of Action instances. - * - * ##### Allowed keywords: - * - * - `store` - * - `storeConstant` - * - `storeTrue` - * - `storeFalse` - * - `append` - * - `appendConstant` - * - `count` - * - `help` - * - `version` - * - * Information about action options see [[Action.new]] - * - * See also [original guide](http://docs.python.org/dev/library/argparse.html#action) - * - **/ - -'use strict'; - - -// Constants -var c = require('./const'); - - -/** - * new Action(options) - * - * Base class for all actions. Used only for inherits - * - * - * ##### Options: - * - * - `optionStrings` A list of command-line option strings for the action. - * - `dest` Attribute to hold the created object(s) - * - `nargs` The number of command-line arguments that should be consumed. - * By default, one argument will be consumed and a single value will be - * produced. - * - `constant` Default value for an action with no value. - * - `defaultValue` The value to be produced if the option is not specified. - * - `type` Cast to 'string'|'int'|'float'|'complex'|function (string). If - * None, 'string'. - * - `choices` The choices available. - * - `required` True if the action must always be specified at the command - * line. - * - `help` The help describing the argument. - * - `metavar` The name to be used for the option's argument with the help - * string. If None, the 'dest' value will be used as the name. - * - * ##### nargs supported values: - * - * - `N` (an integer) consumes N arguments (and produces a list) - * - `?` consumes zero or one arguments - * - `*` consumes zero or more arguments (and produces a list) - * - `+` consumes one or more arguments (and produces a list) - * - * Note: that the difference between the default and nargs=1 is that with the - * default, a single value will be produced, while with nargs=1, a list - * containing a single value will be produced. - **/ -var Action = module.exports = function Action(options) { - options = options || {}; - this.optionStrings = options.optionStrings || []; - this.dest = options.dest; - this.nargs = typeof options.nargs !== 'undefined' ? options.nargs : null; - this.constant = typeof options.constant !== 'undefined' ? options.constant : null; - this.defaultValue = options.defaultValue; - this.type = typeof options.type !== 'undefined' ? options.type : null; - this.choices = typeof options.choices !== 'undefined' ? options.choices : null; - this.required = typeof options.required !== 'undefined' ? options.required : false; - this.help = typeof options.help !== 'undefined' ? options.help : null; - this.metavar = typeof options.metavar !== 'undefined' ? options.metavar : null; - - if (!(this.optionStrings instanceof Array)) { - throw new Error('optionStrings should be an array'); - } - if (typeof this.required !== 'undefined' && typeof this.required !== 'boolean') { - throw new Error('required should be a boolean'); - } -}; - -/** - * Action#getName -> String - * - * Tells action name - **/ -Action.prototype.getName = function () { - if (this.optionStrings.length > 0) { - return this.optionStrings.join('/'); - } else if (this.metavar !== null && this.metavar !== c.SUPPRESS) { - return this.metavar; - } else if (typeof this.dest !== 'undefined' && this.dest !== c.SUPPRESS) { - return this.dest; - } - return null; -}; - -/** - * Action#isOptional -> Boolean - * - * Return true if optional - **/ -Action.prototype.isOptional = function () { - return !this.isPositional(); -}; - -/** - * Action#isPositional -> Boolean - * - * Return true if positional - **/ -Action.prototype.isPositional = function () { - return (this.optionStrings.length === 0); -}; - -/** - * Action#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Should be implemented in inherited classes - * - * ##### Example - * - * ActionCount.prototype.call = function (parser, namespace, values, optionString) { - * namespace.set(this.dest, (namespace[this.dest] || 0) + 1); - * }; - * - **/ -Action.prototype.call = function () { - throw new Error('.call() not defined');// Not Implemented error -}; diff --git a/node_modules/argparse/lib/action/append.js b/node_modules/argparse/lib/action/append.js deleted file mode 100644 index b5da0de..0000000 --- a/node_modules/argparse/lib/action/append.js +++ /dev/null @@ -1,53 +0,0 @@ -/*:nodoc:* - * class ActionAppend - * - * This action stores a list, and appends each argument value to the list. - * This is useful to allow an option to be specified multiple times. - * This class inherided from [[Action]] - * - **/ - -'use strict'; - -var util = require('util'); - -var Action = require('../action'); - -// Constants -var c = require('../const'); - -/*:nodoc:* - * new ActionAppend(options) - * - options (object): options hash see [[Action.new]] - * - * Note: options.nargs should be optional for constants - * and more then zero for other - **/ -var ActionAppend = module.exports = function ActionAppend(options) { - options = options || {}; - if (this.nargs <= 0) { - throw new Error('nargs for append actions must be > 0; if arg ' + - 'strings are not supplying the value to append, ' + - 'the append const action may be more appropriate'); - } - if (!!this.constant && this.nargs !== c.OPTIONAL) { - throw new Error('nargs must be OPTIONAL to supply const'); - } - Action.call(this, options); -}; -util.inherits(ActionAppend, Action); - -/*:nodoc:* - * ActionAppend#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Save result in namespace object - **/ -ActionAppend.prototype.call = function (parser, namespace, values) { - var items = (namespace[this.dest] || []).slice(); - items.push(values); - namespace.set(this.dest, items); -}; diff --git a/node_modules/argparse/lib/action/append/constant.js b/node_modules/argparse/lib/action/append/constant.js deleted file mode 100644 index 313f5d2..0000000 --- a/node_modules/argparse/lib/action/append/constant.js +++ /dev/null @@ -1,47 +0,0 @@ -/*:nodoc:* - * class ActionAppendConstant - * - * This stores a list, and appends the value specified by - * the const keyword argument to the list. - * (Note that the const keyword argument defaults to null.) - * The 'appendConst' action is typically useful when multiple - * arguments need to store constants to the same list. - * - * This class inherited from [[Action]] - **/ - -'use strict'; - -var util = require('util'); - -var Action = require('../../action'); - -/*:nodoc:* - * new ActionAppendConstant(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionAppendConstant = module.exports = function ActionAppendConstant(options) { - options = options || {}; - options.nargs = 0; - if (typeof options.constant === 'undefined') { - throw new Error('constant option is required for appendAction'); - } - Action.call(this, options); -}; -util.inherits(ActionAppendConstant, Action); - -/*:nodoc:* - * ActionAppendConstant#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Save result in namespace object - **/ -ActionAppendConstant.prototype.call = function (parser, namespace) { - var items = [].concat(namespace[this.dest] || []); - items.push(this.constant); - namespace.set(this.dest, items); -}; diff --git a/node_modules/argparse/lib/action/count.js b/node_modules/argparse/lib/action/count.js deleted file mode 100644 index d6a5899..0000000 --- a/node_modules/argparse/lib/action/count.js +++ /dev/null @@ -1,40 +0,0 @@ -/*:nodoc:* - * class ActionCount - * - * This counts the number of times a keyword argument occurs. - * For example, this is useful for increasing verbosity levels - * - * This class inherided from [[Action]] - * - **/ -'use strict'; - -var util = require('util'); - -var Action = require('../action'); - -/*:nodoc:* - * new ActionCount(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionCount = module.exports = function ActionCount(options) { - options = options || {}; - options.nargs = 0; - - Action.call(this, options); -}; -util.inherits(ActionCount, Action); - -/*:nodoc:* - * ActionCount#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Save result in namespace object - **/ -ActionCount.prototype.call = function (parser, namespace) { - namespace.set(this.dest, (namespace[this.dest] || 0) + 1); -}; diff --git a/node_modules/argparse/lib/action/help.js b/node_modules/argparse/lib/action/help.js deleted file mode 100644 index b40e05a..0000000 --- a/node_modules/argparse/lib/action/help.js +++ /dev/null @@ -1,47 +0,0 @@ -/*:nodoc:* - * class ActionHelp - * - * Support action for printing help - * This class inherided from [[Action]] - **/ -'use strict'; - -var util = require('util'); - -var Action = require('../action'); - -// Constants -var c = require('../const'); - -/*:nodoc:* - * new ActionHelp(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionHelp = module.exports = function ActionHelp(options) { - options = options || {}; - if (options.defaultValue !== null) { - options.defaultValue = options.defaultValue; - } else { - options.defaultValue = c.SUPPRESS; - } - options.dest = (options.dest !== null ? options.dest : c.SUPPRESS); - options.nargs = 0; - Action.call(this, options); - -}; -util.inherits(ActionHelp, Action); - -/*:nodoc:* - * ActionHelp#call(parser, namespace, values, optionString) - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Print help and exit - **/ -ActionHelp.prototype.call = function (parser) { - parser.printHelp(); - parser.exit(); -}; diff --git a/node_modules/argparse/lib/action/store.js b/node_modules/argparse/lib/action/store.js deleted file mode 100644 index 283b860..0000000 --- a/node_modules/argparse/lib/action/store.js +++ /dev/null @@ -1,50 +0,0 @@ -/*:nodoc:* - * class ActionStore - * - * This action just stores the argument’s value. This is the default action. - * - * This class inherited from [[Action]] - * - **/ -'use strict'; - -var util = require('util'); - -var Action = require('../action'); - -// Constants -var c = require('../const'); - - -/*:nodoc:* - * new ActionStore(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionStore = module.exports = function ActionStore(options) { - options = options || {}; - if (this.nargs <= 0) { - throw new Error('nargs for store actions must be > 0; if you ' + - 'have nothing to store, actions such as store ' + - 'true or store const may be more appropriate'); - - } - if (typeof this.constant !== 'undefined' && this.nargs !== c.OPTIONAL) { - throw new Error('nargs must be OPTIONAL to supply const'); - } - Action.call(this, options); -}; -util.inherits(ActionStore, Action); - -/*:nodoc:* - * ActionStore#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Save result in namespace object - **/ -ActionStore.prototype.call = function (parser, namespace, values) { - namespace.set(this.dest, values); -}; diff --git a/node_modules/argparse/lib/action/store/constant.js b/node_modules/argparse/lib/action/store/constant.js deleted file mode 100644 index 23caa89..0000000 --- a/node_modules/argparse/lib/action/store/constant.js +++ /dev/null @@ -1,43 +0,0 @@ -/*:nodoc:* - * class ActionStoreConstant - * - * This action stores the value specified by the const keyword argument. - * (Note that the const keyword argument defaults to the rather unhelpful null.) - * The 'store_const' action is most commonly used with optional - * arguments that specify some sort of flag. - * - * This class inherited from [[Action]] - **/ -'use strict'; - -var util = require('util'); - -var Action = require('../../action'); - -/*:nodoc:* - * new ActionStoreConstant(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionStoreConstant = module.exports = function ActionStoreConstant(options) { - options = options || {}; - options.nargs = 0; - if (typeof options.constant === 'undefined') { - throw new Error('constant option is required for storeAction'); - } - Action.call(this, options); -}; -util.inherits(ActionStoreConstant, Action); - -/*:nodoc:* - * ActionStoreConstant#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Save result in namespace object - **/ -ActionStoreConstant.prototype.call = function (parser, namespace) { - namespace.set(this.dest, this.constant); -}; diff --git a/node_modules/argparse/lib/action/store/false.js b/node_modules/argparse/lib/action/store/false.js deleted file mode 100644 index 9924f46..0000000 --- a/node_modules/argparse/lib/action/store/false.js +++ /dev/null @@ -1,27 +0,0 @@ -/*:nodoc:* - * class ActionStoreFalse - * - * This action store the values False respectively. - * This is special cases of 'storeConst' - * - * This class inherited from [[Action]] - **/ - -'use strict'; - -var util = require('util'); - -var ActionStoreConstant = require('./constant'); - -/*:nodoc:* - * new ActionStoreFalse(options) - * - options (object): hash of options see [[Action.new]] - * - **/ -var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { - options = options || {}; - options.constant = false; - options.defaultValue = options.defaultValue !== null ? options.defaultValue : true; - ActionStoreConstant.call(this, options); -}; -util.inherits(ActionStoreFalse, ActionStoreConstant); diff --git a/node_modules/argparse/lib/action/store/true.js b/node_modules/argparse/lib/action/store/true.js deleted file mode 100644 index 9e22f7d..0000000 --- a/node_modules/argparse/lib/action/store/true.js +++ /dev/null @@ -1,26 +0,0 @@ -/*:nodoc:* - * class ActionStoreTrue - * - * This action store the values True respectively. - * This isspecial cases of 'storeConst' - * - * This class inherited from [[Action]] - **/ -'use strict'; - -var util = require('util'); - -var ActionStoreConstant = require('./constant'); - -/*:nodoc:* - * new ActionStoreTrue(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { - options = options || {}; - options.constant = true; - options.defaultValue = options.defaultValue !== null ? options.defaultValue : false; - ActionStoreConstant.call(this, options); -}; -util.inherits(ActionStoreTrue, ActionStoreConstant); diff --git a/node_modules/argparse/lib/action/subparsers.js b/node_modules/argparse/lib/action/subparsers.js deleted file mode 100644 index 99dfedd..0000000 --- a/node_modules/argparse/lib/action/subparsers.js +++ /dev/null @@ -1,149 +0,0 @@ -/** internal - * class ActionSubparsers - * - * Support the creation of such sub-commands with the addSubparsers() - * - * This class inherited from [[Action]] - **/ -'use strict'; - -var util = require('util'); -var format = require('util').format; - - -var Action = require('../action'); - -// Constants -var c = require('../const'); - -// Errors -var argumentErrorHelper = require('../argument/error'); - - -/*:nodoc:* - * new ChoicesPseudoAction(name, help) - * - * Create pseudo action for correct help text - * - **/ -function ChoicesPseudoAction(name, help) { - var options = { - optionStrings: [], - dest: name, - help: help - }; - - Action.call(this, options); -} - -util.inherits(ChoicesPseudoAction, Action); - -/** - * new ActionSubparsers(options) - * - options (object): options hash see [[Action.new]] - * - **/ -function ActionSubparsers(options) { - options = options || {}; - options.dest = options.dest || c.SUPPRESS; - options.nargs = c.PARSER; - - this.debug = (options.debug === true); - - this._progPrefix = options.prog; - this._parserClass = options.parserClass; - this._nameParserMap = {}; - this._choicesActions = []; - - options.choices = this._nameParserMap; - Action.call(this, options); -} - -util.inherits(ActionSubparsers, Action); - -/*:nodoc:* - * ActionSubparsers#addParser(name, options) -> ArgumentParser - * - name (string): sub-command name - * - options (object): see [[ArgumentParser.new]] - * - * Note: - * addParser supports an additional aliases option, - * which allows multiple strings to refer to the same subparser. - * This example, like svn, aliases co as a shorthand for checkout - * - **/ -ActionSubparsers.prototype.addParser = function (name, options) { - var parser; - - var self = this; - - options = options || {}; - - options.debug = (this.debug === true); - - // set program from the existing prefix - if (!options.prog) { - options.prog = this._progPrefix + ' ' + name; - } - - var aliases = options.aliases || []; - - // create a pseudo-action to hold the choice help - if (!!options.help || typeof options.help === 'string') { - var help = options.help; - delete options.help; - - var choiceAction = new ChoicesPseudoAction(name, help); - this._choicesActions.push(choiceAction); - } - - // create the parser and add it to the map - parser = new this._parserClass(options); - this._nameParserMap[name] = parser; - - // make parser available under aliases also - aliases.forEach(function (alias) { - self._nameParserMap[alias] = parser; - }); - - return parser; -}; - -ActionSubparsers.prototype._getSubactions = function () { - return this._choicesActions; -}; - -/*:nodoc:* - * ActionSubparsers#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Call the action. Parse input aguments - **/ -ActionSubparsers.prototype.call = function (parser, namespace, values) { - var parserName = values[0]; - var argStrings = values.slice(1); - - // set the parser name if requested - if (this.dest !== c.SUPPRESS) { - namespace[this.dest] = parserName; - } - - // select the parser - if (this._nameParserMap[parserName]) { - parser = this._nameParserMap[parserName]; - } else { - throw argumentErrorHelper(format( - 'Unknown parser "%s" (choices: [%s]).', - parserName, - Object.keys(this._nameParserMap).join(', ') - )); - } - - // parse all the remaining options into the namespace - parser.parseArgs(argStrings, namespace); -}; - -module.exports = ActionSubparsers; diff --git a/node_modules/argparse/lib/action/version.js b/node_modules/argparse/lib/action/version.js deleted file mode 100644 index 8053328..0000000 --- a/node_modules/argparse/lib/action/version.js +++ /dev/null @@ -1,47 +0,0 @@ -/*:nodoc:* - * class ActionVersion - * - * Support action for printing program version - * This class inherited from [[Action]] - **/ -'use strict'; - -var util = require('util'); - -var Action = require('../action'); - -// -// Constants -// -var c = require('../const'); - -/*:nodoc:* - * new ActionVersion(options) - * - options (object): options hash see [[Action.new]] - * - **/ -var ActionVersion = module.exports = function ActionVersion(options) { - options = options || {}; - options.defaultValue = (options.defaultValue ? options.defaultValue : c.SUPPRESS); - options.dest = (options.dest || c.SUPPRESS); - options.nargs = 0; - this.version = options.version; - Action.call(this, options); -}; -util.inherits(ActionVersion, Action); - -/*:nodoc:* - * ActionVersion#call(parser, namespace, values, optionString) -> Void - * - parser (ArgumentParser): current parser - * - namespace (Namespace): namespace for output data - * - values (Array): parsed values - * - optionString (Array): input option string(not parsed) - * - * Print version and exit - **/ -ActionVersion.prototype.call = function (parser) { - var version = this.version || parser.version; - var formatter = parser._getFormatter(); - formatter.addText(version); - parser.exit(0, formatter.formatHelp()); -}; diff --git a/node_modules/argparse/lib/action_container.js b/node_modules/argparse/lib/action_container.js deleted file mode 100644 index 6f1237b..0000000 --- a/node_modules/argparse/lib/action_container.js +++ /dev/null @@ -1,482 +0,0 @@ -/** internal - * class ActionContainer - * - * Action container. Parent for [[ArgumentParser]] and [[ArgumentGroup]] - **/ - -'use strict'; - -var format = require('util').format; - -// Constants -var c = require('./const'); - -var $$ = require('./utils'); - -//Actions -var ActionHelp = require('./action/help'); -var ActionAppend = require('./action/append'); -var ActionAppendConstant = require('./action/append/constant'); -var ActionCount = require('./action/count'); -var ActionStore = require('./action/store'); -var ActionStoreConstant = require('./action/store/constant'); -var ActionStoreTrue = require('./action/store/true'); -var ActionStoreFalse = require('./action/store/false'); -var ActionVersion = require('./action/version'); -var ActionSubparsers = require('./action/subparsers'); - -// Errors -var argumentErrorHelper = require('./argument/error'); - -/** - * new ActionContainer(options) - * - * Action container. Parent for [[ArgumentParser]] and [[ArgumentGroup]] - * - * ##### Options: - * - * - `description` -- A description of what the program does - * - `prefixChars` -- Characters that prefix optional arguments - * - `argumentDefault` -- The default value for all arguments - * - `conflictHandler` -- The conflict handler to use for duplicate arguments - **/ -var ActionContainer = module.exports = function ActionContainer(options) { - options = options || {}; - - this.description = options.description; - this.argumentDefault = options.argumentDefault; - this.prefixChars = options.prefixChars || ''; - this.conflictHandler = options.conflictHandler; - - // set up registries - this._registries = {}; - - // register actions - this.register('action', null, ActionStore); - this.register('action', 'store', ActionStore); - this.register('action', 'storeConst', ActionStoreConstant); - this.register('action', 'storeTrue', ActionStoreTrue); - this.register('action', 'storeFalse', ActionStoreFalse); - this.register('action', 'append', ActionAppend); - this.register('action', 'appendConst', ActionAppendConstant); - this.register('action', 'count', ActionCount); - this.register('action', 'help', ActionHelp); - this.register('action', 'version', ActionVersion); - this.register('action', 'parsers', ActionSubparsers); - - // raise an exception if the conflict handler is invalid - this._getHandler(); - - // action storage - this._actions = []; - this._optionStringActions = {}; - - // groups - this._actionGroups = []; - this._mutuallyExclusiveGroups = []; - - // defaults storage - this._defaults = {}; - - // determines whether an "option" looks like a negative number - // -1, -1.5 -5e+4 - this._regexpNegativeNumber = new RegExp('^[-]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?$'); - - // whether or not there are any optionals that look like negative - // numbers -- uses a list so it can be shared and edited - this._hasNegativeNumberOptionals = []; -}; - -// Groups must be required, then ActionContainer already defined -var ArgumentGroup = require('./argument/group'); -var MutuallyExclusiveGroup = require('./argument/exclusive'); - -// -// Registration methods -// - -/** - * ActionContainer#register(registryName, value, object) -> Void - * - registryName (String) : object type action|type - * - value (string) : keyword - * - object (Object|Function) : handler - * - * Register handlers - **/ -ActionContainer.prototype.register = function (registryName, value, object) { - this._registries[registryName] = this._registries[registryName] || {}; - this._registries[registryName][value] = object; -}; - -ActionContainer.prototype._registryGet = function (registryName, value, defaultValue) { - if (arguments.length < 3) { - defaultValue = null; - } - return this._registries[registryName][value] || defaultValue; -}; - -// -// Namespace default accessor methods -// - -/** - * ActionContainer#setDefaults(options) -> Void - * - options (object):hash of options see [[Action.new]] - * - * Set defaults - **/ -ActionContainer.prototype.setDefaults = function (options) { - options = options || {}; - for (var property in options) { - if ($$.has(options, property)) { - this._defaults[property] = options[property]; - } - } - - // if these defaults match any existing arguments, replace the previous - // default on the object with the new one - this._actions.forEach(function (action) { - if ($$.has(options, action.dest)) { - action.defaultValue = options[action.dest]; - } - }); -}; - -/** - * ActionContainer#getDefault(dest) -> Mixed - * - dest (string): action destination - * - * Return action default value - **/ -ActionContainer.prototype.getDefault = function (dest) { - var result = $$.has(this._defaults, dest) ? this._defaults[dest] : null; - - this._actions.forEach(function (action) { - if (action.dest === dest && $$.has(action, 'defaultValue')) { - result = action.defaultValue; - } - }); - - return result; -}; -// -// Adding argument actions -// - -/** - * ActionContainer#addArgument(args, options) -> Object - * - args (String|Array): argument key, or array of argument keys - * - options (Object): action objects see [[Action.new]] - * - * #### Examples - * - addArgument([ '-f', '--foo' ], { action: 'store', defaultValue: 1, ... }) - * - addArgument([ 'bar' ], { action: 'store', nargs: 1, ... }) - * - addArgument('--baz', { action: 'store', nargs: 1, ... }) - **/ -ActionContainer.prototype.addArgument = function (args, options) { - args = args; - options = options || {}; - - if (typeof args === 'string') { - args = [ args ]; - } - if (!Array.isArray(args)) { - throw new TypeError('addArgument first argument should be a string or an array'); - } - if (typeof options !== 'object' || Array.isArray(options)) { - throw new TypeError('addArgument second argument should be a hash'); - } - - // if no positional args are supplied or only one is supplied and - // it doesn't look like an option string, parse a positional argument - if (!args || args.length === 1 && this.prefixChars.indexOf(args[0][0]) < 0) { - if (args && !!options.dest) { - throw new Error('dest supplied twice for positional argument'); - } - options = this._getPositional(args, options); - - // otherwise, we're adding an optional argument - } else { - options = this._getOptional(args, options); - } - - // if no default was supplied, use the parser-level default - if (typeof options.defaultValue === 'undefined') { - var dest = options.dest; - if ($$.has(this._defaults, dest)) { - options.defaultValue = this._defaults[dest]; - } else if (typeof this.argumentDefault !== 'undefined') { - options.defaultValue = this.argumentDefault; - } - } - - // create the action object, and add it to the parser - var ActionClass = this._popActionClass(options); - if (typeof ActionClass !== 'function') { - throw new Error(format('Unknown action "%s".', ActionClass)); - } - var action = new ActionClass(options); - - // throw an error if the action type is not callable - var typeFunction = this._registryGet('type', action.type, action.type); - if (typeof typeFunction !== 'function') { - throw new Error(format('"%s" is not callable', typeFunction)); - } - - return this._addAction(action); -}; - -/** - * ActionContainer#addArgumentGroup(options) -> ArgumentGroup - * - options (Object): hash of options see [[ArgumentGroup.new]] - * - * Create new arguments groups - **/ -ActionContainer.prototype.addArgumentGroup = function (options) { - var group = new ArgumentGroup(this, options); - this._actionGroups.push(group); - return group; -}; - -/** - * ActionContainer#addMutuallyExclusiveGroup(options) -> ArgumentGroup - * - options (Object): {required: false} - * - * Create new mutual exclusive groups - **/ -ActionContainer.prototype.addMutuallyExclusiveGroup = function (options) { - var group = new MutuallyExclusiveGroup(this, options); - this._mutuallyExclusiveGroups.push(group); - return group; -}; - -ActionContainer.prototype._addAction = function (action) { - var self = this; - - // resolve any conflicts - this._checkConflict(action); - - // add to actions list - this._actions.push(action); - action.container = this; - - // index the action by any option strings it has - action.optionStrings.forEach(function (optionString) { - self._optionStringActions[optionString] = action; - }); - - // set the flag if any option strings look like negative numbers - action.optionStrings.forEach(function (optionString) { - if (optionString.match(self._regexpNegativeNumber)) { - if (!self._hasNegativeNumberOptionals.some(Boolean)) { - self._hasNegativeNumberOptionals.push(true); - } - } - }); - - // return the created action - return action; -}; - -ActionContainer.prototype._removeAction = function (action) { - var actionIndex = this._actions.indexOf(action); - if (actionIndex >= 0) { - this._actions.splice(actionIndex, 1); - } -}; - -ActionContainer.prototype._addContainerActions = function (container) { - // collect groups by titles - var titleGroupMap = {}; - this._actionGroups.forEach(function (group) { - if (titleGroupMap[group.title]) { - throw new Error(format('Cannot merge actions - two groups are named "%s".', group.title)); - } - titleGroupMap[group.title] = group; - }); - - // map each action to its group - var groupMap = {}; - function actionHash(action) { - // unique (hopefully?) string suitable as dictionary key - return action.getName(); - } - container._actionGroups.forEach(function (group) { - // if a group with the title exists, use that, otherwise - // create a new group matching the container's group - if (!titleGroupMap[group.title]) { - titleGroupMap[group.title] = this.addArgumentGroup({ - title: group.title, - description: group.description - }); - } - - // map the actions to their new group - group._groupActions.forEach(function (action) { - groupMap[actionHash(action)] = titleGroupMap[group.title]; - }); - }, this); - - // add container's mutually exclusive groups - // NOTE: if add_mutually_exclusive_group ever gains title= and - // description= then this code will need to be expanded as above - var mutexGroup; - container._mutuallyExclusiveGroups.forEach(function (group) { - mutexGroup = this.addMutuallyExclusiveGroup({ - required: group.required - }); - // map the actions to their new mutex group - group._groupActions.forEach(function (action) { - groupMap[actionHash(action)] = mutexGroup; - }); - }, this); // forEach takes a 'this' argument - - // add all actions to this container or their group - container._actions.forEach(function (action) { - var key = actionHash(action); - if (groupMap[key]) { - groupMap[key]._addAction(action); - } else { - this._addAction(action); - } - }); -}; - -ActionContainer.prototype._getPositional = function (dest, options) { - if (Array.isArray(dest)) { - dest = dest[0]; - } - // make sure required is not specified - if (options.required) { - throw new Error('"required" is an invalid argument for positionals.'); - } - - // mark positional arguments as required if at least one is - // always required - if (options.nargs !== c.OPTIONAL && options.nargs !== c.ZERO_OR_MORE) { - options.required = true; - } - if (options.nargs === c.ZERO_OR_MORE && typeof options.defaultValue === 'undefined') { - options.required = true; - } - - // return the keyword arguments with no option strings - options.dest = dest; - options.optionStrings = []; - return options; -}; - -ActionContainer.prototype._getOptional = function (args, options) { - var prefixChars = this.prefixChars; - var optionStrings = []; - var optionStringsLong = []; - - // determine short and long option strings - args.forEach(function (optionString) { - // error on strings that don't start with an appropriate prefix - if (prefixChars.indexOf(optionString[0]) < 0) { - throw new Error(format('Invalid option string "%s": must start with a "%s".', - optionString, - prefixChars - )); - } - - // strings starting with two prefix characters are long options - optionStrings.push(optionString); - if (optionString.length > 1 && prefixChars.indexOf(optionString[1]) >= 0) { - optionStringsLong.push(optionString); - } - }); - - // infer dest, '--foo-bar' -> 'foo_bar' and '-x' -> 'x' - var dest = options.dest || null; - delete options.dest; - - if (!dest) { - var optionStringDest = optionStringsLong.length ? optionStringsLong[0] : optionStrings[0]; - dest = $$.trimChars(optionStringDest, this.prefixChars); - - if (dest.length === 0) { - throw new Error( - format('dest= is required for options like "%s"', optionStrings.join(', ')) - ); - } - dest = dest.replace(/-/g, '_'); - } - - // return the updated keyword arguments - options.dest = dest; - options.optionStrings = optionStrings; - - return options; -}; - -ActionContainer.prototype._popActionClass = function (options, defaultValue) { - defaultValue = defaultValue || null; - - var action = (options.action || defaultValue); - delete options.action; - - var actionClass = this._registryGet('action', action, action); - return actionClass; -}; - -ActionContainer.prototype._getHandler = function () { - var handlerString = this.conflictHandler; - var handlerFuncName = '_handleConflict' + $$.capitalize(handlerString); - var func = this[handlerFuncName]; - if (typeof func === 'undefined') { - var msg = 'invalid conflict resolution value: ' + handlerString; - throw new Error(msg); - } else { - return func; - } -}; - -ActionContainer.prototype._checkConflict = function (action) { - var optionStringActions = this._optionStringActions; - var conflictOptionals = []; - - // find all options that conflict with this option - // collect pairs, the string, and an existing action that it conflicts with - action.optionStrings.forEach(function (optionString) { - var conflOptional = optionStringActions[optionString]; - if (typeof conflOptional !== 'undefined') { - conflictOptionals.push([ optionString, conflOptional ]); - } - }); - - if (conflictOptionals.length > 0) { - var conflictHandler = this._getHandler(); - conflictHandler.call(this, action, conflictOptionals); - } -}; - -ActionContainer.prototype._handleConflictError = function (action, conflOptionals) { - var conflicts = conflOptionals.map(function (pair) { return pair[0]; }); - conflicts = conflicts.join(', '); - throw argumentErrorHelper( - action, - format('Conflicting option string(s): %s', conflicts) - ); -}; - -ActionContainer.prototype._handleConflictResolve = function (action, conflOptionals) { - // remove all conflicting options - var self = this; - conflOptionals.forEach(function (pair) { - var optionString = pair[0]; - var conflictingAction = pair[1]; - // remove the conflicting option string - var i = conflictingAction.optionStrings.indexOf(optionString); - if (i >= 0) { - conflictingAction.optionStrings.splice(i, 1); - } - delete self._optionStringActions[optionString]; - // if the option now has no option string, remove it from the - // container holding it - if (conflictingAction.optionStrings.length === 0) { - conflictingAction.container._removeAction(conflictingAction); - } - }); -}; diff --git a/node_modules/argparse/lib/argparse.js b/node_modules/argparse/lib/argparse.js deleted file mode 100644 index f2a2c51..0000000 --- a/node_modules/argparse/lib/argparse.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -module.exports.ArgumentParser = require('./argument_parser.js'); -module.exports.Namespace = require('./namespace'); -module.exports.Action = require('./action'); -module.exports.HelpFormatter = require('./help/formatter.js'); -module.exports.Const = require('./const.js'); - -module.exports.ArgumentDefaultsHelpFormatter = - require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; -module.exports.RawDescriptionHelpFormatter = - require('./help/added_formatters.js').RawDescriptionHelpFormatter; -module.exports.RawTextHelpFormatter = - require('./help/added_formatters.js').RawTextHelpFormatter; diff --git a/node_modules/argparse/lib/argument/error.js b/node_modules/argparse/lib/argument/error.js deleted file mode 100644 index c8a02a0..0000000 --- a/node_modules/argparse/lib/argument/error.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - - -var format = require('util').format; - - -var ERR_CODE = 'ARGError'; - -/*:nodoc:* - * argumentError(argument, message) -> TypeError - * - argument (Object): action with broken argument - * - message (String): error message - * - * Error format helper. An error from creating or using an argument - * (optional or positional). The string value of this exception - * is the message, augmented with information - * about the argument that caused it. - * - * #####Example - * - * var argumentErrorHelper = require('./argument/error'); - * if (conflictOptionals.length > 0) { - * throw argumentErrorHelper( - * action, - * format('Conflicting option string(s): %s', conflictOptionals.join(', ')) - * ); - * } - * - **/ -module.exports = function (argument, message) { - var argumentName = null; - var errMessage; - var err; - - if (argument.getName) { - argumentName = argument.getName(); - } else { - argumentName = '' + argument; - } - - if (!argumentName) { - errMessage = message; - } else { - errMessage = format('argument "%s": %s', argumentName, message); - } - - err = new TypeError(errMessage); - err.code = ERR_CODE; - return err; -}; diff --git a/node_modules/argparse/lib/argument/exclusive.js b/node_modules/argparse/lib/argument/exclusive.js deleted file mode 100644 index 8287e00..0000000 --- a/node_modules/argparse/lib/argument/exclusive.js +++ /dev/null @@ -1,54 +0,0 @@ -/** internal - * class MutuallyExclusiveGroup - * - * Group arguments. - * By default, ArgumentParser groups command-line arguments - * into “positional arguments” and “optional arguments” - * when displaying help messages. When there is a better - * conceptual grouping of arguments than this default one, - * appropriate groups can be created using the addArgumentGroup() method - * - * This class inherited from [[ArgumentContainer]] - **/ -'use strict'; - -var util = require('util'); - -var ArgumentGroup = require('./group'); - -/** - * new MutuallyExclusiveGroup(container, options) - * - container (object): main container - * - options (object): options.required -> true/false - * - * `required` could be an argument itself, but making it a property of - * the options argument is more consistent with the JS adaptation of the Python) - **/ -var MutuallyExclusiveGroup = module.exports = function MutuallyExclusiveGroup(container, options) { - var required; - options = options || {}; - required = options.required || false; - ArgumentGroup.call(this, container); - this.required = required; - -}; -util.inherits(MutuallyExclusiveGroup, ArgumentGroup); - - -MutuallyExclusiveGroup.prototype._addAction = function (action) { - var msg; - if (action.required) { - msg = 'mutually exclusive arguments must be optional'; - throw new Error(msg); - } - action = this._container._addAction(action); - this._groupActions.push(action); - return action; -}; - - -MutuallyExclusiveGroup.prototype._removeAction = function (action) { - this._container._removeAction(action); - this._groupActions.remove(action); -}; - diff --git a/node_modules/argparse/lib/argument/group.js b/node_modules/argparse/lib/argument/group.js deleted file mode 100644 index 58b271f..0000000 --- a/node_modules/argparse/lib/argument/group.js +++ /dev/null @@ -1,75 +0,0 @@ -/** internal - * class ArgumentGroup - * - * Group arguments. - * By default, ArgumentParser groups command-line arguments - * into “positional arguments” and “optional arguments” - * when displaying help messages. When there is a better - * conceptual grouping of arguments than this default one, - * appropriate groups can be created using the addArgumentGroup() method - * - * This class inherited from [[ArgumentContainer]] - **/ -'use strict'; - -var util = require('util'); - -var ActionContainer = require('../action_container'); - - -/** - * new ArgumentGroup(container, options) - * - container (object): main container - * - options (object): hash of group options - * - * #### options - * - **prefixChars** group name prefix - * - **argumentDefault** default argument value - * - **title** group title - * - **description** group description - * - **/ -var ArgumentGroup = module.exports = function ArgumentGroup(container, options) { - - options = options || {}; - - // add any missing keyword arguments by checking the container - options.conflictHandler = (options.conflictHandler || container.conflictHandler); - options.prefixChars = (options.prefixChars || container.prefixChars); - options.argumentDefault = (options.argumentDefault || container.argumentDefault); - - ActionContainer.call(this, options); - - // group attributes - this.title = options.title; - this._groupActions = []; - - // share most attributes with the container - this._container = container; - this._registries = container._registries; - this._actions = container._actions; - this._optionStringActions = container._optionStringActions; - this._defaults = container._defaults; - this._hasNegativeNumberOptionals = container._hasNegativeNumberOptionals; - this._mutuallyExclusiveGroups = container._mutuallyExclusiveGroups; -}; -util.inherits(ArgumentGroup, ActionContainer); - - -ArgumentGroup.prototype._addAction = function (action) { - // Parent add action - action = ActionContainer.prototype._addAction.call(this, action); - this._groupActions.push(action); - return action; -}; - - -ArgumentGroup.prototype._removeAction = function (action) { - // Parent remove action - ActionContainer.prototype._removeAction.call(this, action); - var actionIndex = this._groupActions.indexOf(action); - if (actionIndex >= 0) { - this._groupActions.splice(actionIndex, 1); - } -}; - diff --git a/node_modules/argparse/lib/argument_parser.js b/node_modules/argparse/lib/argument_parser.js deleted file mode 100644 index bd9a59a..0000000 --- a/node_modules/argparse/lib/argument_parser.js +++ /dev/null @@ -1,1161 +0,0 @@ -/** - * class ArgumentParser - * - * Object for parsing command line strings into js objects. - * - * Inherited from [[ActionContainer]] - **/ -'use strict'; - -var util = require('util'); -var format = require('util').format; -var Path = require('path'); -var sprintf = require('sprintf-js').sprintf; - -// Constants -var c = require('./const'); - -var $$ = require('./utils'); - -var ActionContainer = require('./action_container'); - -// Errors -var argumentErrorHelper = require('./argument/error'); - -var HelpFormatter = require('./help/formatter'); - -var Namespace = require('./namespace'); - - -/** - * new ArgumentParser(options) - * - * Create a new ArgumentParser object. - * - * ##### Options: - * - `prog` The name of the program (default: Path.basename(process.argv[1])) - * - `usage` A usage message (default: auto-generated from arguments) - * - `description` A description of what the program does - * - `epilog` Text following the argument descriptions - * - `parents` Parsers whose arguments should be copied into this one - * - `formatterClass` HelpFormatter class for printing help messages - * - `prefixChars` Characters that prefix optional arguments - * - `fromfilePrefixChars` Characters that prefix files containing additional arguments - * - `argumentDefault` The default value for all arguments - * - `addHelp` Add a -h/-help option - * - `conflictHandler` Specifies how to handle conflicting argument names - * - `debug` Enable debug mode. Argument errors throw exception in - * debug mode and process.exit in normal. Used for development and - * testing (default: false) - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#argumentparser-objects - **/ -function ArgumentParser(options) { - if (!(this instanceof ArgumentParser)) { - return new ArgumentParser(options); - } - var self = this; - options = options || {}; - - options.description = (options.description || null); - options.argumentDefault = (options.argumentDefault || null); - options.prefixChars = (options.prefixChars || '-'); - options.conflictHandler = (options.conflictHandler || 'error'); - ActionContainer.call(this, options); - - options.addHelp = typeof options.addHelp === 'undefined' || !!options.addHelp; - options.parents = options.parents || []; - // default program name - options.prog = (options.prog || Path.basename(process.argv[1])); - this.prog = options.prog; - this.usage = options.usage; - this.epilog = options.epilog; - this.version = options.version; - - this.debug = (options.debug === true); - - this.formatterClass = (options.formatterClass || HelpFormatter); - this.fromfilePrefixChars = options.fromfilePrefixChars || null; - this._positionals = this.addArgumentGroup({ title: 'Positional arguments' }); - this._optionals = this.addArgumentGroup({ title: 'Optional arguments' }); - this._subparsers = null; - - // register types - function FUNCTION_IDENTITY(o) { - return o; - } - this.register('type', 'auto', FUNCTION_IDENTITY); - this.register('type', null, FUNCTION_IDENTITY); - this.register('type', 'int', function (x) { - var result = parseInt(x, 10); - if (isNaN(result)) { - throw new Error(x + ' is not a valid integer.'); - } - return result; - }); - this.register('type', 'float', function (x) { - var result = parseFloat(x); - if (isNaN(result)) { - throw new Error(x + ' is not a valid float.'); - } - return result; - }); - this.register('type', 'string', function (x) { - return '' + x; - }); - - // add help and version arguments if necessary - var defaultPrefix = (this.prefixChars.indexOf('-') > -1) ? '-' : this.prefixChars[0]; - if (options.addHelp) { - this.addArgument( - [ defaultPrefix + 'h', defaultPrefix + defaultPrefix + 'help' ], - { - action: 'help', - defaultValue: c.SUPPRESS, - help: 'Show this help message and exit.' - } - ); - } - if (typeof this.version !== 'undefined') { - this.addArgument( - [ defaultPrefix + 'v', defaultPrefix + defaultPrefix + 'version' ], - { - action: 'version', - version: this.version, - defaultValue: c.SUPPRESS, - help: "Show program's version number and exit." - } - ); - } - - // add parent arguments and defaults - options.parents.forEach(function (parent) { - self._addContainerActions(parent); - if (typeof parent._defaults !== 'undefined') { - for (var defaultKey in parent._defaults) { - if (parent._defaults.hasOwnProperty(defaultKey)) { - self._defaults[defaultKey] = parent._defaults[defaultKey]; - } - } - } - }); -} - -util.inherits(ArgumentParser, ActionContainer); - -/** - * ArgumentParser#addSubparsers(options) -> [[ActionSubparsers]] - * - options (object): hash of options see [[ActionSubparsers.new]] - * - * See also [subcommands][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#sub-commands - **/ -ArgumentParser.prototype.addSubparsers = function (options) { - if (this._subparsers) { - this.error('Cannot have multiple subparser arguments.'); - } - - options = options || {}; - options.debug = (this.debug === true); - options.optionStrings = []; - options.parserClass = (options.parserClass || ArgumentParser); - - - if (!!options.title || !!options.description) { - - this._subparsers = this.addArgumentGroup({ - title: (options.title || 'subcommands'), - description: options.description - }); - delete options.title; - delete options.description; - - } else { - this._subparsers = this._positionals; - } - - // prog defaults to the usage message of this parser, skipping - // optional arguments and with no "usage:" prefix - if (!options.prog) { - var formatter = this._getFormatter(); - var positionals = this._getPositionalActions(); - var groups = this._mutuallyExclusiveGroups; - formatter.addUsage(this.usage, positionals, groups, ''); - options.prog = formatter.formatHelp().trim(); - } - - // create the parsers action and add it to the positionals list - var ParsersClass = this._popActionClass(options, 'parsers'); - var action = new ParsersClass(options); - this._subparsers._addAction(action); - - // return the created parsers action - return action; -}; - -ArgumentParser.prototype._addAction = function (action) { - if (action.isOptional()) { - this._optionals._addAction(action); - } else { - this._positionals._addAction(action); - } - return action; -}; - -ArgumentParser.prototype._getOptionalActions = function () { - return this._actions.filter(function (action) { - return action.isOptional(); - }); -}; - -ArgumentParser.prototype._getPositionalActions = function () { - return this._actions.filter(function (action) { - return action.isPositional(); - }); -}; - - -/** - * ArgumentParser#parseArgs(args, namespace) -> Namespace|Object - * - args (array): input elements - * - namespace (Namespace|Object): result object - * - * Parsed args and throws error if some arguments are not recognized - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#the-parse-args-method - **/ -ArgumentParser.prototype.parseArgs = function (args, namespace) { - var argv; - var result = this.parseKnownArgs(args, namespace); - - args = result[0]; - argv = result[1]; - if (argv && argv.length > 0) { - this.error( - format('Unrecognized arguments: %s.', argv.join(' ')) - ); - } - return args; -}; - -/** - * ArgumentParser#parseKnownArgs(args, namespace) -> array - * - args (array): input options - * - namespace (Namespace|Object): result object - * - * Parse known arguments and return tuple of result object - * and unknown args - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#partial-parsing - **/ -ArgumentParser.prototype.parseKnownArgs = function (args, namespace) { - var self = this; - - // args default to the system args - args = args || process.argv.slice(2); - - // default Namespace built from parser defaults - namespace = namespace || new Namespace(); - - self._actions.forEach(function (action) { - if (action.dest !== c.SUPPRESS) { - if (!$$.has(namespace, action.dest)) { - if (action.defaultValue !== c.SUPPRESS) { - var defaultValue = action.defaultValue; - if (typeof action.defaultValue === 'string') { - defaultValue = self._getValue(action, defaultValue); - } - namespace[action.dest] = defaultValue; - } - } - } - }); - - Object.keys(self._defaults).forEach(function (dest) { - namespace[dest] = self._defaults[dest]; - }); - - // parse the arguments and exit if there are any errors - try { - var res = this._parseKnownArgs(args, namespace); - - namespace = res[0]; - args = res[1]; - if ($$.has(namespace, c._UNRECOGNIZED_ARGS_ATTR)) { - args = $$.arrayUnion(args, namespace[c._UNRECOGNIZED_ARGS_ATTR]); - delete namespace[c._UNRECOGNIZED_ARGS_ATTR]; - } - return [ namespace, args ]; - } catch (e) { - this.error(e); - } -}; - -ArgumentParser.prototype._parseKnownArgs = function (argStrings, namespace) { - var self = this; - - var extras = []; - - // replace arg strings that are file references - if (this.fromfilePrefixChars !== null) { - argStrings = this._readArgsFromFiles(argStrings); - } - // map all mutually exclusive arguments to the other arguments - // they can't occur with - // Python has 'conflicts = action_conflicts.setdefault(mutex_action, [])' - // though I can't conceive of a way in which an action could be a member - // of two different mutually exclusive groups. - - function actionHash(action) { - // some sort of hashable key for this action - // action itself cannot be a key in actionConflicts - // I think getName() (join of optionStrings) is unique enough - return action.getName(); - } - - var conflicts, key; - var actionConflicts = {}; - - this._mutuallyExclusiveGroups.forEach(function (mutexGroup) { - mutexGroup._groupActions.forEach(function (mutexAction, i, groupActions) { - key = actionHash(mutexAction); - if (!$$.has(actionConflicts, key)) { - actionConflicts[key] = []; - } - conflicts = actionConflicts[key]; - conflicts.push.apply(conflicts, groupActions.slice(0, i)); - conflicts.push.apply(conflicts, groupActions.slice(i + 1)); - }); - }); - - // find all option indices, and determine the arg_string_pattern - // which has an 'O' if there is an option at an index, - // an 'A' if there is an argument, or a '-' if there is a '--' - var optionStringIndices = {}; - - var argStringPatternParts = []; - - argStrings.forEach(function (argString, argStringIndex) { - if (argString === '--') { - argStringPatternParts.push('-'); - while (argStringIndex < argStrings.length) { - argStringPatternParts.push('A'); - argStringIndex++; - } - } else { - // otherwise, add the arg to the arg strings - // and note the index if it was an option - var pattern; - var optionTuple = self._parseOptional(argString); - if (!optionTuple) { - pattern = 'A'; - } else { - optionStringIndices[argStringIndex] = optionTuple; - pattern = 'O'; - } - argStringPatternParts.push(pattern); - } - }); - var argStringsPattern = argStringPatternParts.join(''); - - var seenActions = []; - var seenNonDefaultActions = []; - - - function takeAction(action, argumentStrings, optionString) { - seenActions.push(action); - var argumentValues = self._getValues(action, argumentStrings); - - // error if this argument is not allowed with other previously - // seen arguments, assuming that actions that use the default - // value don't really count as "present" - if (argumentValues !== action.defaultValue) { - seenNonDefaultActions.push(action); - if (actionConflicts[actionHash(action)]) { - actionConflicts[actionHash(action)].forEach(function (actionConflict) { - if (seenNonDefaultActions.indexOf(actionConflict) >= 0) { - throw argumentErrorHelper( - action, - format('Not allowed with argument "%s".', actionConflict.getName()) - ); - } - }); - } - } - - if (argumentValues !== c.SUPPRESS) { - action.call(self, namespace, argumentValues, optionString); - } - } - - function consumeOptional(startIndex) { - // get the optional identified at this index - var optionTuple = optionStringIndices[startIndex]; - var action = optionTuple[0]; - var optionString = optionTuple[1]; - var explicitArg = optionTuple[2]; - - // identify additional optionals in the same arg string - // (e.g. -xyz is the same as -x -y -z if no args are required) - var actionTuples = []; - - var args, argCount, start, stop; - - for (;;) { - if (!action) { - extras.push(argStrings[startIndex]); - return startIndex + 1; - } - if (explicitArg) { - argCount = self._matchArgument(action, 'A'); - - // if the action is a single-dash option and takes no - // arguments, try to parse more single-dash options out - // of the tail of the option string - var chars = self.prefixChars; - if (argCount === 0 && chars.indexOf(optionString[1]) < 0) { - actionTuples.push([ action, [], optionString ]); - optionString = optionString[0] + explicitArg[0]; - var newExplicitArg = explicitArg.slice(1) || null; - var optionalsMap = self._optionStringActions; - - if (Object.keys(optionalsMap).indexOf(optionString) >= 0) { - action = optionalsMap[optionString]; - explicitArg = newExplicitArg; - } else { - throw argumentErrorHelper(action, sprintf('ignored explicit argument %r', explicitArg)); - } - } else if (argCount === 1) { - // if the action expect exactly one argument, we've - // successfully matched the option; exit the loop - stop = startIndex + 1; - args = [ explicitArg ]; - actionTuples.push([ action, args, optionString ]); - break; - } else { - // error if a double-dash option did not use the - // explicit argument - throw argumentErrorHelper(action, sprintf('ignored explicit argument %r', explicitArg)); - } - } else { - // if there is no explicit argument, try to match the - // optional's string arguments with the following strings - // if successful, exit the loop - - start = startIndex + 1; - var selectedPatterns = argStringsPattern.substr(start); - - argCount = self._matchArgument(action, selectedPatterns); - stop = start + argCount; - - - args = argStrings.slice(start, stop); - - actionTuples.push([ action, args, optionString ]); - break; - } - - } - - // add the Optional to the list and return the index at which - // the Optional's string args stopped - if (actionTuples.length < 1) { - throw new Error('length should be > 0'); - } - for (var i = 0; i < actionTuples.length; i++) { - takeAction.apply(self, actionTuples[i]); - } - return stop; - } - - // the list of Positionals left to be parsed; this is modified - // by consume_positionals() - var positionals = self._getPositionalActions(); - - function consumePositionals(startIndex) { - // match as many Positionals as possible - var selectedPattern = argStringsPattern.substr(startIndex); - var argCounts = self._matchArgumentsPartial(positionals, selectedPattern); - - // slice off the appropriate arg strings for each Positional - // and add the Positional and its args to the list - for (var i = 0; i < positionals.length; i++) { - var action = positionals[i]; - var argCount = argCounts[i]; - if (typeof argCount === 'undefined') { - continue; - } - var args = argStrings.slice(startIndex, startIndex + argCount); - - startIndex += argCount; - takeAction(action, args); - } - - // slice off the Positionals that we just parsed and return the - // index at which the Positionals' string args stopped - positionals = positionals.slice(argCounts.length); - return startIndex; - } - - // consume Positionals and Optionals alternately, until we have - // passed the last option string - var startIndex = 0; - var position; - - var maxOptionStringIndex = -1; - - Object.keys(optionStringIndices).forEach(function (position) { - maxOptionStringIndex = Math.max(maxOptionStringIndex, parseInt(position, 10)); - }); - - var positionalsEndIndex, nextOptionStringIndex; - - while (startIndex <= maxOptionStringIndex) { - // consume any Positionals preceding the next option - nextOptionStringIndex = null; - for (position in optionStringIndices) { - if (!optionStringIndices.hasOwnProperty(position)) { continue; } - - position = parseInt(position, 10); - if (position >= startIndex) { - if (nextOptionStringIndex !== null) { - nextOptionStringIndex = Math.min(nextOptionStringIndex, position); - } else { - nextOptionStringIndex = position; - } - } - } - - if (startIndex !== nextOptionStringIndex) { - positionalsEndIndex = consumePositionals(startIndex); - // only try to parse the next optional if we didn't consume - // the option string during the positionals parsing - if (positionalsEndIndex > startIndex) { - startIndex = positionalsEndIndex; - continue; - } else { - startIndex = positionalsEndIndex; - } - } - - // if we consumed all the positionals we could and we're not - // at the index of an option string, there were extra arguments - if (!optionStringIndices[startIndex]) { - var strings = argStrings.slice(startIndex, nextOptionStringIndex); - extras = extras.concat(strings); - startIndex = nextOptionStringIndex; - } - // consume the next optional and any arguments for it - startIndex = consumeOptional(startIndex); - } - - // consume any positionals following the last Optional - var stopIndex = consumePositionals(startIndex); - - // if we didn't consume all the argument strings, there were extras - extras = extras.concat(argStrings.slice(stopIndex)); - - // if we didn't use all the Positional objects, there were too few - // arg strings supplied. - if (positionals.length > 0) { - self.error('too few arguments'); - } - - // make sure all required actions were present - self._actions.forEach(function (action) { - if (action.required) { - if (seenActions.indexOf(action) < 0) { - self.error(format('Argument "%s" is required', action.getName())); - } - } - }); - - // make sure all required groups have one option present - var actionUsed = false; - self._mutuallyExclusiveGroups.forEach(function (group) { - if (group.required) { - actionUsed = group._groupActions.some(function (action) { - return seenNonDefaultActions.indexOf(action) !== -1; - }); - - // if no actions were used, report the error - if (!actionUsed) { - var names = []; - group._groupActions.forEach(function (action) { - if (action.help !== c.SUPPRESS) { - names.push(action.getName()); - } - }); - names = names.join(' '); - var msg = 'one of the arguments ' + names + ' is required'; - self.error(msg); - } - } - }); - - // return the updated namespace and the extra arguments - return [ namespace, extras ]; -}; - -ArgumentParser.prototype._readArgsFromFiles = function (argStrings) { - // expand arguments referencing files - var self = this; - var fs = require('fs'); - var newArgStrings = []; - argStrings.forEach(function (argString) { - if (self.fromfilePrefixChars.indexOf(argString[0]) < 0) { - // for regular arguments, just add them back into the list - newArgStrings.push(argString); - } else { - // replace arguments referencing files with the file content - try { - var argstrs = []; - var filename = argString.slice(1); - var content = fs.readFileSync(filename, 'utf8'); - content = content.trim().split('\n'); - content.forEach(function (argLine) { - self.convertArgLineToArgs(argLine).forEach(function (arg) { - argstrs.push(arg); - }); - argstrs = self._readArgsFromFiles(argstrs); - }); - newArgStrings.push.apply(newArgStrings, argstrs); - } catch (error) { - return self.error(error.message); - } - } - }); - return newArgStrings; -}; - -ArgumentParser.prototype.convertArgLineToArgs = function (argLine) { - return [ argLine ]; -}; - -ArgumentParser.prototype._matchArgument = function (action, regexpArgStrings) { - - // match the pattern for this action to the arg strings - var regexpNargs = new RegExp('^' + this._getNargsPattern(action)); - var matches = regexpArgStrings.match(regexpNargs); - var message; - - // throw an exception if we weren't able to find a match - if (!matches) { - switch (action.nargs) { - /*eslint-disable no-undefined*/ - case undefined: - case null: - message = 'Expected one argument.'; - break; - case c.OPTIONAL: - message = 'Expected at most one argument.'; - break; - case c.ONE_OR_MORE: - message = 'Expected at least one argument.'; - break; - default: - message = 'Expected %s argument(s)'; - } - - throw argumentErrorHelper( - action, - format(message, action.nargs) - ); - } - // return the number of arguments matched - return matches[1].length; -}; - -ArgumentParser.prototype._matchArgumentsPartial = function (actions, regexpArgStrings) { - // progressively shorten the actions list by slicing off the - // final actions until we find a match - var self = this; - var result = []; - var actionSlice, pattern, matches; - var i, j; - - function getLength(string) { - return string.length; - } - - for (i = actions.length; i > 0; i--) { - pattern = ''; - actionSlice = actions.slice(0, i); - for (j = 0; j < actionSlice.length; j++) { - pattern += self._getNargsPattern(actionSlice[j]); - } - - pattern = new RegExp('^' + pattern); - matches = regexpArgStrings.match(pattern); - - if (matches && matches.length > 0) { - // need only groups - matches = matches.splice(1); - result = result.concat(matches.map(getLength)); - break; - } - } - - // return the list of arg string counts - return result; -}; - -ArgumentParser.prototype._parseOptional = function (argString) { - var action, optionString, argExplicit, optionTuples; - - // if it's an empty string, it was meant to be a positional - if (!argString) { - return null; - } - - // if it doesn't start with a prefix, it was meant to be positional - if (this.prefixChars.indexOf(argString[0]) < 0) { - return null; - } - - // if the option string is present in the parser, return the action - if (this._optionStringActions[argString]) { - return [ this._optionStringActions[argString], argString, null ]; - } - - // if it's just a single character, it was meant to be positional - if (argString.length === 1) { - return null; - } - - // if the option string before the "=" is present, return the action - if (argString.indexOf('=') >= 0) { - optionString = argString.split('=', 1)[0]; - argExplicit = argString.slice(optionString.length + 1); - - if (this._optionStringActions[optionString]) { - action = this._optionStringActions[optionString]; - return [ action, optionString, argExplicit ]; - } - } - - // search through all possible prefixes of the option string - // and all actions in the parser for possible interpretations - optionTuples = this._getOptionTuples(argString); - - // if multiple actions match, the option string was ambiguous - if (optionTuples.length > 1) { - var optionStrings = optionTuples.map(function (optionTuple) { - return optionTuple[1]; - }); - this.error(format( - 'Ambiguous option: "%s" could match %s.', - argString, optionStrings.join(', ') - )); - // if exactly one action matched, this segmentation is good, - // so return the parsed action - } else if (optionTuples.length === 1) { - return optionTuples[0]; - } - - // if it was not found as an option, but it looks like a negative - // number, it was meant to be positional - // unless there are negative-number-like options - if (argString.match(this._regexpNegativeNumber)) { - if (!this._hasNegativeNumberOptionals.some(Boolean)) { - return null; - } - } - // if it contains a space, it was meant to be a positional - if (argString.search(' ') >= 0) { - return null; - } - - // it was meant to be an optional but there is no such option - // in this parser (though it might be a valid option in a subparser) - return [ null, argString, null ]; -}; - -ArgumentParser.prototype._getOptionTuples = function (optionString) { - var result = []; - var chars = this.prefixChars; - var optionPrefix; - var argExplicit; - var action; - var actionOptionString; - - // option strings starting with two prefix characters are only split at - // the '=' - if (chars.indexOf(optionString[0]) >= 0 && chars.indexOf(optionString[1]) >= 0) { - if (optionString.indexOf('=') >= 0) { - var optionStringSplit = optionString.split('=', 1); - - optionPrefix = optionStringSplit[0]; - argExplicit = optionStringSplit[1]; - } else { - optionPrefix = optionString; - argExplicit = null; - } - - for (actionOptionString in this._optionStringActions) { - if (actionOptionString.substr(0, optionPrefix.length) === optionPrefix) { - action = this._optionStringActions[actionOptionString]; - result.push([ action, actionOptionString, argExplicit ]); - } - } - - // single character options can be concatenated with their arguments - // but multiple character options always have to have their argument - // separate - } else if (chars.indexOf(optionString[0]) >= 0 && chars.indexOf(optionString[1]) < 0) { - optionPrefix = optionString; - argExplicit = null; - var optionPrefixShort = optionString.substr(0, 2); - var argExplicitShort = optionString.substr(2); - - for (actionOptionString in this._optionStringActions) { - if (!$$.has(this._optionStringActions, actionOptionString)) continue; - - action = this._optionStringActions[actionOptionString]; - if (actionOptionString === optionPrefixShort) { - result.push([ action, actionOptionString, argExplicitShort ]); - } else if (actionOptionString.substr(0, optionPrefix.length) === optionPrefix) { - result.push([ action, actionOptionString, argExplicit ]); - } - } - - // shouldn't ever get here - } else { - throw new Error(format('Unexpected option string: %s.', optionString)); - } - // return the collected option tuples - return result; -}; - -ArgumentParser.prototype._getNargsPattern = function (action) { - // in all examples below, we have to allow for '--' args - // which are represented as '-' in the pattern - var regexpNargs; - - switch (action.nargs) { - // the default (null) is assumed to be a single argument - case undefined: - case null: - regexpNargs = '(-*A-*)'; - break; - // allow zero or more arguments - case c.OPTIONAL: - regexpNargs = '(-*A?-*)'; - break; - // allow zero or more arguments - case c.ZERO_OR_MORE: - regexpNargs = '(-*[A-]*)'; - break; - // allow one or more arguments - case c.ONE_OR_MORE: - regexpNargs = '(-*A[A-]*)'; - break; - // allow any number of options or arguments - case c.REMAINDER: - regexpNargs = '([-AO]*)'; - break; - // allow one argument followed by any number of options or arguments - case c.PARSER: - regexpNargs = '(-*A[-AO]*)'; - break; - // all others should be integers - default: - regexpNargs = '(-*' + $$.repeat('-*A', action.nargs) + '-*)'; - } - - // if this is an optional action, -- is not allowed - if (action.isOptional()) { - regexpNargs = regexpNargs.replace(/-\*/g, ''); - regexpNargs = regexpNargs.replace(/-/g, ''); - } - - // return the pattern - return regexpNargs; -}; - -// -// Value conversion methods -// - -ArgumentParser.prototype._getValues = function (action, argStrings) { - var self = this; - - // for everything but PARSER args, strip out '--' - if (action.nargs !== c.PARSER && action.nargs !== c.REMAINDER) { - argStrings = argStrings.filter(function (arrayElement) { - return arrayElement !== '--'; - }); - } - - var value, argString; - - // optional argument produces a default when not present - if (argStrings.length === 0 && action.nargs === c.OPTIONAL) { - - value = (action.isOptional()) ? action.constant : action.defaultValue; - - if (typeof (value) === 'string') { - value = this._getValue(action, value); - this._checkValue(action, value); - } - - // when nargs='*' on a positional, if there were no command-line - // args, use the default if it is anything other than None - } else if (argStrings.length === 0 && action.nargs === c.ZERO_OR_MORE && - action.optionStrings.length === 0) { - - value = (action.defaultValue || argStrings); - this._checkValue(action, value); - - // single argument or optional argument produces a single value - } else if (argStrings.length === 1 && - (!action.nargs || action.nargs === c.OPTIONAL)) { - - argString = argStrings[0]; - value = this._getValue(action, argString); - this._checkValue(action, value); - - // REMAINDER arguments convert all values, checking none - } else if (action.nargs === c.REMAINDER) { - value = argStrings.map(function (v) { - return self._getValue(action, v); - }); - - // PARSER arguments convert all values, but check only the first - } else if (action.nargs === c.PARSER) { - value = argStrings.map(function (v) { - return self._getValue(action, v); - }); - this._checkValue(action, value[0]); - - // all other types of nargs produce a list - } else { - value = argStrings.map(function (v) { - return self._getValue(action, v); - }); - value.forEach(function (v) { - self._checkValue(action, v); - }); - } - - // return the converted value - return value; -}; - -ArgumentParser.prototype._getValue = function (action, argString) { - var result; - - var typeFunction = this._registryGet('type', action.type, action.type); - if (typeof typeFunction !== 'function') { - var message = format('%s is not callable', typeFunction); - throw argumentErrorHelper(action, message); - } - - // convert the value to the appropriate type - try { - result = typeFunction(argString); - - // ArgumentTypeErrors indicate errors - // If action.type is not a registered string, it is a function - // Try to deduce its name for inclusion in the error message - // Failing that, include the error message it raised. - } catch (e) { - var name = null; - if (typeof action.type === 'string') { - name = action.type; - } else { - name = action.type.name || action.type.displayName || ''; - } - var msg = format('Invalid %s value: %s', name, argString); - if (name === '') { msg += '\n' + e.message; } - throw argumentErrorHelper(action, msg); - } - // return the converted value - return result; -}; - -ArgumentParser.prototype._checkValue = function (action, value) { - // converted value must be one of the choices (if specified) - var choices = action.choices; - if (choices) { - // choise for argument can by array or string - if ((typeof choices === 'string' || Array.isArray(choices)) && - choices.indexOf(value) !== -1) { - return; - } - // choise for subparsers can by only hash - if (typeof choices === 'object' && !Array.isArray(choices) && choices[value]) { - return; - } - - if (typeof choices === 'string') { - choices = choices.split('').join(', '); - } else if (Array.isArray(choices)) { - choices = choices.join(', '); - } else { - choices = Object.keys(choices).join(', '); - } - var message = format('Invalid choice: %s (choose from [%s])', value, choices); - throw argumentErrorHelper(action, message); - } -}; - -// -// Help formatting methods -// - -/** - * ArgumentParser#formatUsage -> string - * - * Return usage string - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#printing-help - **/ -ArgumentParser.prototype.formatUsage = function () { - var formatter = this._getFormatter(); - formatter.addUsage(this.usage, this._actions, this._mutuallyExclusiveGroups); - return formatter.formatHelp(); -}; - -/** - * ArgumentParser#formatHelp -> string - * - * Return help - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#printing-help - **/ -ArgumentParser.prototype.formatHelp = function () { - var formatter = this._getFormatter(); - - // usage - formatter.addUsage(this.usage, this._actions, this._mutuallyExclusiveGroups); - - // description - formatter.addText(this.description); - - // positionals, optionals and user-defined groups - this._actionGroups.forEach(function (actionGroup) { - formatter.startSection(actionGroup.title); - formatter.addText(actionGroup.description); - formatter.addArguments(actionGroup._groupActions); - formatter.endSection(); - }); - - // epilog - formatter.addText(this.epilog); - - // determine help from format above - return formatter.formatHelp(); -}; - -ArgumentParser.prototype._getFormatter = function () { - var FormatterClass = this.formatterClass; - var formatter = new FormatterClass({ prog: this.prog }); - return formatter; -}; - -// -// Print functions -// - -/** - * ArgumentParser#printUsage() -> Void - * - * Print usage - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#printing-help - **/ -ArgumentParser.prototype.printUsage = function () { - this._printMessage(this.formatUsage()); -}; - -/** - * ArgumentParser#printHelp() -> Void - * - * Print help - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#printing-help - **/ -ArgumentParser.prototype.printHelp = function () { - this._printMessage(this.formatHelp()); -}; - -ArgumentParser.prototype._printMessage = function (message, stream) { - if (!stream) { - stream = process.stdout; - } - if (message) { - stream.write('' + message); - } -}; - -// -// Exit functions -// - -/** - * ArgumentParser#exit(status=0, message) -> Void - * - status (int): exit status - * - message (string): message - * - * Print message in stderr/stdout and exit program - **/ -ArgumentParser.prototype.exit = function (status, message) { - if (message) { - if (status === 0) { - this._printMessage(message); - } else { - this._printMessage(message, process.stderr); - } - } - - process.exit(status); -}; - -/** - * ArgumentParser#error(message) -> Void - * - err (Error|string): message - * - * Error method Prints a usage message incorporating the message to stderr and - * exits. If you override this in a subclass, - * it should not return -- it should - * either exit or throw an exception. - * - **/ -ArgumentParser.prototype.error = function (err) { - var message; - if (err instanceof Error) { - if (this.debug === true) { - throw err; - } - message = err.message; - } else { - message = err; - } - var msg = format('%s: error: %s', this.prog, message) + c.EOL; - - if (this.debug === true) { - throw new Error(msg); - } - - this.printUsage(process.stderr); - - return this.exit(2, msg); -}; - -module.exports = ArgumentParser; diff --git a/node_modules/argparse/lib/const.js b/node_modules/argparse/lib/const.js deleted file mode 100644 index b1fd4ce..0000000 --- a/node_modules/argparse/lib/const.js +++ /dev/null @@ -1,21 +0,0 @@ -// -// Constants -// - -'use strict'; - -module.exports.EOL = '\n'; - -module.exports.SUPPRESS = '==SUPPRESS=='; - -module.exports.OPTIONAL = '?'; - -module.exports.ZERO_OR_MORE = '*'; - -module.exports.ONE_OR_MORE = '+'; - -module.exports.PARSER = 'A...'; - -module.exports.REMAINDER = '...'; - -module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; diff --git a/node_modules/argparse/lib/help/added_formatters.js b/node_modules/argparse/lib/help/added_formatters.js deleted file mode 100644 index f8e4299..0000000 --- a/node_modules/argparse/lib/help/added_formatters.js +++ /dev/null @@ -1,87 +0,0 @@ -'use strict'; - -var util = require('util'); - -// Constants -var c = require('../const'); - -var $$ = require('../utils'); -var HelpFormatter = require('./formatter.js'); - -/** - * new RawDescriptionHelpFormatter(options) - * new ArgumentParser({formatterClass: argparse.RawDescriptionHelpFormatter, ...}) - * - * Help message formatter which adds default values to argument help. - * - * Only the name of this class is considered a public API. All the methods - * provided by the class are considered an implementation detail. - **/ - -function ArgumentDefaultsHelpFormatter(options) { - HelpFormatter.call(this, options); -} - -util.inherits(ArgumentDefaultsHelpFormatter, HelpFormatter); - -ArgumentDefaultsHelpFormatter.prototype._getHelpString = function (action) { - var help = action.help; - if (action.help.indexOf('%(defaultValue)s') === -1) { - if (action.defaultValue !== c.SUPPRESS) { - var defaulting_nargs = [ c.OPTIONAL, c.ZERO_OR_MORE ]; - if (action.isOptional() || (defaulting_nargs.indexOf(action.nargs) >= 0)) { - help += ' (default: %(defaultValue)s)'; - } - } - } - return help; -}; - -module.exports.ArgumentDefaultsHelpFormatter = ArgumentDefaultsHelpFormatter; - -/** - * new RawDescriptionHelpFormatter(options) - * new ArgumentParser({formatterClass: argparse.RawDescriptionHelpFormatter, ...}) - * - * Help message formatter which retains any formatting in descriptions. - * - * Only the name of this class is considered a public API. All the methods - * provided by the class are considered an implementation detail. - **/ - -function RawDescriptionHelpFormatter(options) { - HelpFormatter.call(this, options); -} - -util.inherits(RawDescriptionHelpFormatter, HelpFormatter); - -RawDescriptionHelpFormatter.prototype._fillText = function (text, width, indent) { - var lines = text.split('\n'); - lines = lines.map(function (line) { - return $$.trimEnd(indent + line); - }); - return lines.join('\n'); -}; -module.exports.RawDescriptionHelpFormatter = RawDescriptionHelpFormatter; - -/** - * new RawTextHelpFormatter(options) - * new ArgumentParser({formatterClass: argparse.RawTextHelpFormatter, ...}) - * - * Help message formatter which retains formatting of all help text. - * - * Only the name of this class is considered a public API. All the methods - * provided by the class are considered an implementation detail. - **/ - -function RawTextHelpFormatter(options) { - RawDescriptionHelpFormatter.call(this, options); -} - -util.inherits(RawTextHelpFormatter, RawDescriptionHelpFormatter); - -RawTextHelpFormatter.prototype._splitLines = function (text) { - return text.split('\n'); -}; - -module.exports.RawTextHelpFormatter = RawTextHelpFormatter; diff --git a/node_modules/argparse/lib/help/formatter.js b/node_modules/argparse/lib/help/formatter.js deleted file mode 100644 index 29036c1..0000000 --- a/node_modules/argparse/lib/help/formatter.js +++ /dev/null @@ -1,795 +0,0 @@ -/** - * class HelpFormatter - * - * Formatter for generating usage messages and argument help strings. Only the - * name of this class is considered a public API. All the methods provided by - * the class are considered an implementation detail. - * - * Do not call in your code, use this class only for inherits your own forvatter - * - * ToDo add [additonal formatters][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#formatter-class - **/ -'use strict'; - -var sprintf = require('sprintf-js').sprintf; - -// Constants -var c = require('../const'); - -var $$ = require('../utils'); - - -/*:nodoc:* internal - * new Support(parent, heding) - * - parent (object): parent section - * - heading (string): header string - * - **/ -function Section(parent, heading) { - this._parent = parent; - this._heading = heading; - this._items = []; -} - -/*:nodoc:* internal - * Section#addItem(callback) -> Void - * - callback (array): tuple with function and args - * - * Add function for single element - **/ -Section.prototype.addItem = function (callback) { - this._items.push(callback); -}; - -/*:nodoc:* internal - * Section#formatHelp(formatter) -> string - * - formatter (HelpFormatter): current formatter - * - * Form help section string - * - **/ -Section.prototype.formatHelp = function (formatter) { - var itemHelp, heading; - - // format the indented section - if (this._parent) { - formatter._indent(); - } - - itemHelp = this._items.map(function (item) { - var obj, func, args; - - obj = formatter; - func = item[0]; - args = item[1]; - return func.apply(obj, args); - }); - itemHelp = formatter._joinParts(itemHelp); - - if (this._parent) { - formatter._dedent(); - } - - // return nothing if the section was empty - if (!itemHelp) { - return ''; - } - - // add the heading if the section was non-empty - heading = ''; - if (this._heading && this._heading !== c.SUPPRESS) { - var currentIndent = formatter.currentIndent; - heading = $$.repeat(' ', currentIndent) + this._heading + ':' + c.EOL; - } - - // join the section-initialize newline, the heading and the help - return formatter._joinParts([ c.EOL, heading, itemHelp, c.EOL ]); -}; - -/** - * new HelpFormatter(options) - * - * #### Options: - * - `prog`: program name - * - `indentIncriment`: indent step, default value 2 - * - `maxHelpPosition`: max help position, default value = 24 - * - `width`: line width - * - **/ -var HelpFormatter = module.exports = function HelpFormatter(options) { - options = options || {}; - - this._prog = options.prog; - - this._maxHelpPosition = options.maxHelpPosition || 24; - this._width = (options.width || ((process.env.COLUMNS || 80) - 2)); - - this._currentIndent = 0; - this._indentIncriment = options.indentIncriment || 2; - this._level = 0; - this._actionMaxLength = 0; - - this._rootSection = new Section(null); - this._currentSection = this._rootSection; - - this._whitespaceMatcher = new RegExp('\\s+', 'g'); - this._longBreakMatcher = new RegExp(c.EOL + c.EOL + c.EOL + '+', 'g'); -}; - -HelpFormatter.prototype._indent = function () { - this._currentIndent += this._indentIncriment; - this._level += 1; -}; - -HelpFormatter.prototype._dedent = function () { - this._currentIndent -= this._indentIncriment; - this._level -= 1; - if (this._currentIndent < 0) { - throw new Error('Indent decreased below 0.'); - } -}; - -HelpFormatter.prototype._addItem = function (func, args) { - this._currentSection.addItem([ func, args ]); -}; - -// -// Message building methods -// - -/** - * HelpFormatter#startSection(heading) -> Void - * - heading (string): header string - * - * Start new help section - * - * See alse [code example][1] - * - * ##### Example - * - * formatter.startSection(actionGroup.title); - * formatter.addText(actionGroup.description); - * formatter.addArguments(actionGroup._groupActions); - * formatter.endSection(); - * - **/ -HelpFormatter.prototype.startSection = function (heading) { - this._indent(); - var section = new Section(this._currentSection, heading); - var func = section.formatHelp.bind(section); - this._addItem(func, [ this ]); - this._currentSection = section; -}; - -/** - * HelpFormatter#endSection -> Void - * - * End help section - * - * ##### Example - * - * formatter.startSection(actionGroup.title); - * formatter.addText(actionGroup.description); - * formatter.addArguments(actionGroup._groupActions); - * formatter.endSection(); - **/ -HelpFormatter.prototype.endSection = function () { - this._currentSection = this._currentSection._parent; - this._dedent(); -}; - -/** - * HelpFormatter#addText(text) -> Void - * - text (string): plain text - * - * Add plain text into current section - * - * ##### Example - * - * formatter.startSection(actionGroup.title); - * formatter.addText(actionGroup.description); - * formatter.addArguments(actionGroup._groupActions); - * formatter.endSection(); - * - **/ -HelpFormatter.prototype.addText = function (text) { - if (text && text !== c.SUPPRESS) { - this._addItem(this._formatText, [ text ]); - } -}; - -/** - * HelpFormatter#addUsage(usage, actions, groups, prefix) -> Void - * - usage (string): usage text - * - actions (array): actions list - * - groups (array): groups list - * - prefix (string): usage prefix - * - * Add usage data into current section - * - * ##### Example - * - * formatter.addUsage(this.usage, this._actions, []); - * return formatter.formatHelp(); - * - **/ -HelpFormatter.prototype.addUsage = function (usage, actions, groups, prefix) { - if (usage !== c.SUPPRESS) { - this._addItem(this._formatUsage, [ usage, actions, groups, prefix ]); - } -}; - -/** - * HelpFormatter#addArgument(action) -> Void - * - action (object): action - * - * Add argument into current section - * - * Single variant of [[HelpFormatter#addArguments]] - **/ -HelpFormatter.prototype.addArgument = function (action) { - if (action.help !== c.SUPPRESS) { - var self = this; - - // find all invocations - var invocations = [ this._formatActionInvocation(action) ]; - var invocationLength = invocations[0].length; - - var actionLength; - - if (action._getSubactions) { - this._indent(); - action._getSubactions().forEach(function (subaction) { - - var invocationNew = self._formatActionInvocation(subaction); - invocations.push(invocationNew); - invocationLength = Math.max(invocationLength, invocationNew.length); - - }); - this._dedent(); - } - - // update the maximum item length - actionLength = invocationLength + this._currentIndent; - this._actionMaxLength = Math.max(this._actionMaxLength, actionLength); - - // add the item to the list - this._addItem(this._formatAction, [ action ]); - } -}; - -/** - * HelpFormatter#addArguments(actions) -> Void - * - actions (array): actions list - * - * Mass add arguments into current section - * - * ##### Example - * - * formatter.startSection(actionGroup.title); - * formatter.addText(actionGroup.description); - * formatter.addArguments(actionGroup._groupActions); - * formatter.endSection(); - * - **/ -HelpFormatter.prototype.addArguments = function (actions) { - var self = this; - actions.forEach(function (action) { - self.addArgument(action); - }); -}; - -// -// Help-formatting methods -// - -/** - * HelpFormatter#formatHelp -> string - * - * Format help - * - * ##### Example - * - * formatter.addText(this.epilog); - * return formatter.formatHelp(); - * - **/ -HelpFormatter.prototype.formatHelp = function () { - var help = this._rootSection.formatHelp(this); - if (help) { - help = help.replace(this._longBreakMatcher, c.EOL + c.EOL); - help = $$.trimChars(help, c.EOL) + c.EOL; - } - return help; -}; - -HelpFormatter.prototype._joinParts = function (partStrings) { - return partStrings.filter(function (part) { - return (part && part !== c.SUPPRESS); - }).join(''); -}; - -HelpFormatter.prototype._formatUsage = function (usage, actions, groups, prefix) { - if (!prefix && typeof prefix !== 'string') { - prefix = 'usage: '; - } - - actions = actions || []; - groups = groups || []; - - - // if usage is specified, use that - if (usage) { - usage = sprintf(usage, { prog: this._prog }); - - // if no optionals or positionals are available, usage is just prog - } else if (!usage && actions.length === 0) { - usage = this._prog; - - // if optionals and positionals are available, calculate usage - } else if (!usage) { - var prog = this._prog; - var optionals = []; - var positionals = []; - var actionUsage; - var textWidth; - - // split optionals from positionals - actions.forEach(function (action) { - if (action.isOptional()) { - optionals.push(action); - } else { - positionals.push(action); - } - }); - - // build full usage string - actionUsage = this._formatActionsUsage([].concat(optionals, positionals), groups); - usage = [ prog, actionUsage ].join(' '); - - // wrap the usage parts if it's too long - textWidth = this._width - this._currentIndent; - if ((prefix.length + usage.length) > textWidth) { - - // break usage into wrappable parts - var regexpPart = new RegExp('\\(.*?\\)+|\\[.*?\\]+|\\S+', 'g'); - var optionalUsage = this._formatActionsUsage(optionals, groups); - var positionalUsage = this._formatActionsUsage(positionals, groups); - - - var optionalParts = optionalUsage.match(regexpPart); - var positionalParts = positionalUsage.match(regexpPart) || []; - - if (optionalParts.join(' ') !== optionalUsage) { - throw new Error('assert "optionalParts.join(\' \') === optionalUsage"'); - } - if (positionalParts.join(' ') !== positionalUsage) { - throw new Error('assert "positionalParts.join(\' \') === positionalUsage"'); - } - - // helper for wrapping lines - /*eslint-disable func-style*/ // node 0.10 compat - var _getLines = function (parts, indent, prefix) { - var lines = []; - var line = []; - - var lineLength = prefix ? prefix.length - 1 : indent.length - 1; - - parts.forEach(function (part) { - if (lineLength + 1 + part.length > textWidth) { - lines.push(indent + line.join(' ')); - line = []; - lineLength = indent.length - 1; - } - line.push(part); - lineLength += part.length + 1; - }); - - if (line) { - lines.push(indent + line.join(' ')); - } - if (prefix) { - lines[0] = lines[0].substr(indent.length); - } - return lines; - }; - - var lines, indent, parts; - // if prog is short, follow it with optionals or positionals - if (prefix.length + prog.length <= 0.75 * textWidth) { - indent = $$.repeat(' ', (prefix.length + prog.length + 1)); - if (optionalParts) { - lines = [].concat( - _getLines([ prog ].concat(optionalParts), indent, prefix), - _getLines(positionalParts, indent) - ); - } else if (positionalParts) { - lines = _getLines([ prog ].concat(positionalParts), indent, prefix); - } else { - lines = [ prog ]; - } - - // if prog is long, put it on its own line - } else { - indent = $$.repeat(' ', prefix.length); - parts = optionalParts.concat(positionalParts); - lines = _getLines(parts, indent); - if (lines.length > 1) { - lines = [].concat( - _getLines(optionalParts, indent), - _getLines(positionalParts, indent) - ); - } - lines = [ prog ].concat(lines); - } - // join lines into usage - usage = lines.join(c.EOL); - } - } - - // prefix with 'usage:' - return prefix + usage + c.EOL + c.EOL; -}; - -HelpFormatter.prototype._formatActionsUsage = function (actions, groups) { - // find group indices and identify actions in groups - var groupActions = []; - var inserts = []; - var self = this; - - groups.forEach(function (group) { - var end; - var i; - - var start = actions.indexOf(group._groupActions[0]); - if (start >= 0) { - end = start + group._groupActions.length; - - //if (actions.slice(start, end) === group._groupActions) { - if ($$.arrayEqual(actions.slice(start, end), group._groupActions)) { - group._groupActions.forEach(function (action) { - groupActions.push(action); - }); - - if (!group.required) { - if (inserts[start]) { - inserts[start] += ' ['; - } else { - inserts[start] = '['; - } - inserts[end] = ']'; - } else { - if (inserts[start]) { - inserts[start] += ' ('; - } else { - inserts[start] = '('; - } - inserts[end] = ')'; - } - for (i = start + 1; i < end; i += 1) { - inserts[i] = '|'; - } - } - } - }); - - // collect all actions format strings - var parts = []; - - actions.forEach(function (action, actionIndex) { - var part; - var optionString; - var argsDefault; - var argsString; - - // suppressed arguments are marked with None - // remove | separators for suppressed arguments - if (action.help === c.SUPPRESS) { - parts.push(null); - if (inserts[actionIndex] === '|') { - inserts.splice(actionIndex, actionIndex); - } else if (inserts[actionIndex + 1] === '|') { - inserts.splice(actionIndex + 1, actionIndex + 1); - } - - // produce all arg strings - } else if (!action.isOptional()) { - part = self._formatArgs(action, action.dest); - - // if it's in a group, strip the outer [] - if (groupActions.indexOf(action) >= 0) { - if (part[0] === '[' && part[part.length - 1] === ']') { - part = part.slice(1, -1); - } - } - // add the action string to the list - parts.push(part); - - // produce the first way to invoke the option in brackets - } else { - optionString = action.optionStrings[0]; - - // if the Optional doesn't take a value, format is: -s or --long - if (action.nargs === 0) { - part = '' + optionString; - - // if the Optional takes a value, format is: -s ARGS or --long ARGS - } else { - argsDefault = action.dest.toUpperCase(); - argsString = self._formatArgs(action, argsDefault); - part = optionString + ' ' + argsString; - } - // make it look optional if it's not required or in a group - if (!action.required && groupActions.indexOf(action) < 0) { - part = '[' + part + ']'; - } - // add the action string to the list - parts.push(part); - } - }); - - // insert things at the necessary indices - for (var i = inserts.length - 1; i >= 0; --i) { - if (inserts[i] !== null) { - parts.splice(i, 0, inserts[i]); - } - } - - // join all the action items with spaces - var text = parts.filter(function (part) { - return !!part; - }).join(' '); - - // clean up separators for mutually exclusive groups - text = text.replace(/([\[(]) /g, '$1'); // remove spaces - text = text.replace(/ ([\])])/g, '$1'); - text = text.replace(/\[ *\]/g, ''); // remove empty groups - text = text.replace(/\( *\)/g, ''); - text = text.replace(/\(([^|]*)\)/g, '$1'); // remove () from single action groups - - text = text.trim(); - - // return the text - return text; -}; - -HelpFormatter.prototype._formatText = function (text) { - text = sprintf(text, { prog: this._prog }); - var textWidth = this._width - this._currentIndent; - var indentIncriment = $$.repeat(' ', this._currentIndent); - return this._fillText(text, textWidth, indentIncriment) + c.EOL + c.EOL; -}; - -HelpFormatter.prototype._formatAction = function (action) { - var self = this; - - var helpText; - var helpLines; - var parts; - var indentFirst; - - // determine the required width and the entry label - var helpPosition = Math.min(this._actionMaxLength + 2, this._maxHelpPosition); - var helpWidth = this._width - helpPosition; - var actionWidth = helpPosition - this._currentIndent - 2; - var actionHeader = this._formatActionInvocation(action); - - // no help; start on same line and add a final newline - if (!action.help) { - actionHeader = $$.repeat(' ', this._currentIndent) + actionHeader + c.EOL; - - // short action name; start on the same line and pad two spaces - } else if (actionHeader.length <= actionWidth) { - actionHeader = $$.repeat(' ', this._currentIndent) + - actionHeader + - ' ' + - $$.repeat(' ', actionWidth - actionHeader.length); - indentFirst = 0; - - // long action name; start on the next line - } else { - actionHeader = $$.repeat(' ', this._currentIndent) + actionHeader + c.EOL; - indentFirst = helpPosition; - } - - // collect the pieces of the action help - parts = [ actionHeader ]; - - // if there was help for the action, add lines of help text - if (action.help) { - helpText = this._expandHelp(action); - helpLines = this._splitLines(helpText, helpWidth); - parts.push($$.repeat(' ', indentFirst) + helpLines[0] + c.EOL); - helpLines.slice(1).forEach(function (line) { - parts.push($$.repeat(' ', helpPosition) + line + c.EOL); - }); - - // or add a newline if the description doesn't end with one - } else if (actionHeader.charAt(actionHeader.length - 1) !== c.EOL) { - parts.push(c.EOL); - } - // if there are any sub-actions, add their help as well - if (action._getSubactions) { - this._indent(); - action._getSubactions().forEach(function (subaction) { - parts.push(self._formatAction(subaction)); - }); - this._dedent(); - } - // return a single string - return this._joinParts(parts); -}; - -HelpFormatter.prototype._formatActionInvocation = function (action) { - if (!action.isOptional()) { - var format_func = this._metavarFormatter(action, action.dest); - var metavars = format_func(1); - return metavars[0]; - } - - var parts = []; - var argsDefault; - var argsString; - - // if the Optional doesn't take a value, format is: -s, --long - if (action.nargs === 0) { - parts = parts.concat(action.optionStrings); - - // if the Optional takes a value, format is: -s ARGS, --long ARGS - } else { - argsDefault = action.dest.toUpperCase(); - argsString = this._formatArgs(action, argsDefault); - action.optionStrings.forEach(function (optionString) { - parts.push(optionString + ' ' + argsString); - }); - } - return parts.join(', '); -}; - -HelpFormatter.prototype._metavarFormatter = function (action, metavarDefault) { - var result; - - if (action.metavar || action.metavar === '') { - result = action.metavar; - } else if (action.choices) { - var choices = action.choices; - - if (typeof choices === 'string') { - choices = choices.split('').join(', '); - } else if (Array.isArray(choices)) { - choices = choices.join(','); - } else { - choices = Object.keys(choices).join(','); - } - result = '{' + choices + '}'; - } else { - result = metavarDefault; - } - - return function (size) { - if (Array.isArray(result)) { - return result; - } - - var metavars = []; - for (var i = 0; i < size; i += 1) { - metavars.push(result); - } - return metavars; - }; -}; - -HelpFormatter.prototype._formatArgs = function (action, metavarDefault) { - var result; - var metavars; - - var buildMetavar = this._metavarFormatter(action, metavarDefault); - - switch (action.nargs) { - /*eslint-disable no-undefined*/ - case undefined: - case null: - metavars = buildMetavar(1); - result = '' + metavars[0]; - break; - case c.OPTIONAL: - metavars = buildMetavar(1); - result = '[' + metavars[0] + ']'; - break; - case c.ZERO_OR_MORE: - metavars = buildMetavar(2); - result = '[' + metavars[0] + ' [' + metavars[1] + ' ...]]'; - break; - case c.ONE_OR_MORE: - metavars = buildMetavar(2); - result = '' + metavars[0] + ' [' + metavars[1] + ' ...]'; - break; - case c.REMAINDER: - result = '...'; - break; - case c.PARSER: - metavars = buildMetavar(1); - result = metavars[0] + ' ...'; - break; - default: - metavars = buildMetavar(action.nargs); - result = metavars.join(' '); - } - return result; -}; - -HelpFormatter.prototype._expandHelp = function (action) { - var params = { prog: this._prog }; - - Object.keys(action).forEach(function (actionProperty) { - var actionValue = action[actionProperty]; - - if (actionValue !== c.SUPPRESS) { - params[actionProperty] = actionValue; - } - }); - - if (params.choices) { - if (typeof params.choices === 'string') { - params.choices = params.choices.split('').join(', '); - } else if (Array.isArray(params.choices)) { - params.choices = params.choices.join(', '); - } else { - params.choices = Object.keys(params.choices).join(', '); - } - } - - return sprintf(this._getHelpString(action), params); -}; - -HelpFormatter.prototype._splitLines = function (text, width) { - var lines = []; - var delimiters = [ ' ', '.', ',', '!', '?' ]; - var re = new RegExp('[' + delimiters.join('') + '][^' + delimiters.join('') + ']*$'); - - text = text.replace(/[\n\|\t]/g, ' '); - - text = text.trim(); - text = text.replace(this._whitespaceMatcher, ' '); - - // Wraps the single paragraph in text (a string) so every line - // is at most width characters long. - text.split(c.EOL).forEach(function (line) { - if (width >= line.length) { - lines.push(line); - return; - } - - var wrapStart = 0; - var wrapEnd = width; - var delimiterIndex = 0; - while (wrapEnd <= line.length) { - if (wrapEnd !== line.length && delimiters.indexOf(line[wrapEnd] < -1)) { - delimiterIndex = (re.exec(line.substring(wrapStart, wrapEnd)) || {}).index; - wrapEnd = wrapStart + delimiterIndex + 1; - } - lines.push(line.substring(wrapStart, wrapEnd)); - wrapStart = wrapEnd; - wrapEnd += width; - } - if (wrapStart < line.length) { - lines.push(line.substring(wrapStart, wrapEnd)); - } - }); - - return lines; -}; - -HelpFormatter.prototype._fillText = function (text, width, indent) { - var lines = this._splitLines(text, width); - lines = lines.map(function (line) { - return indent + line; - }); - return lines.join(c.EOL); -}; - -HelpFormatter.prototype._getHelpString = function (action) { - return action.help; -}; diff --git a/node_modules/argparse/lib/namespace.js b/node_modules/argparse/lib/namespace.js deleted file mode 100644 index a860de9..0000000 --- a/node_modules/argparse/lib/namespace.js +++ /dev/null @@ -1,76 +0,0 @@ -/** - * class Namespace - * - * Simple object for storing attributes. Implements equality by attribute names - * and values, and provides a simple string representation. - * - * See also [original guide][1] - * - * [1]:http://docs.python.org/dev/library/argparse.html#the-namespace-object - **/ -'use strict'; - -var $$ = require('./utils'); - -/** - * new Namespace(options) - * - options(object): predefined propertis for result object - * - **/ -var Namespace = module.exports = function Namespace(options) { - $$.extend(this, options); -}; - -/** - * Namespace#isset(key) -> Boolean - * - key (string|number): property name - * - * Tells whenever `namespace` contains given `key` or not. - **/ -Namespace.prototype.isset = function (key) { - return $$.has(this, key); -}; - -/** - * Namespace#set(key, value) -> self - * -key (string|number|object): propery name - * -value (mixed): new property value - * - * Set the property named key with value. - * If key object then set all key properties to namespace object - **/ -Namespace.prototype.set = function (key, value) { - if (typeof (key) === 'object') { - $$.extend(this, key); - } else { - this[key] = value; - } - return this; -}; - -/** - * Namespace#get(key, defaultValue) -> mixed - * - key (string|number): property name - * - defaultValue (mixed): default value - * - * Return the property key or defaulValue if not set - **/ -Namespace.prototype.get = function (key, defaultValue) { - return !this[key] ? defaultValue : this[key]; -}; - -/** - * Namespace#unset(key, defaultValue) -> mixed - * - key (string|number): property name - * - defaultValue (mixed): default value - * - * Return data[key](and delete it) or defaultValue - **/ -Namespace.prototype.unset = function (key, defaultValue) { - var value = this[key]; - if (value !== null) { - delete this[key]; - return value; - } - return defaultValue; -}; diff --git a/node_modules/argparse/lib/utils.js b/node_modules/argparse/lib/utils.js deleted file mode 100644 index 4a9cf3e..0000000 --- a/node_modules/argparse/lib/utils.js +++ /dev/null @@ -1,57 +0,0 @@ -'use strict'; - -exports.repeat = function (str, num) { - var result = ''; - for (var i = 0; i < num; i++) { result += str; } - return result; -}; - -exports.arrayEqual = function (a, b) { - if (a.length !== b.length) { return false; } - for (var i = 0; i < a.length; i++) { - if (a[i] !== b[i]) { return false; } - } - return true; -}; - -exports.trimChars = function (str, chars) { - var start = 0; - var end = str.length - 1; - while (chars.indexOf(str.charAt(start)) >= 0) { start++; } - while (chars.indexOf(str.charAt(end)) >= 0) { end--; } - return str.slice(start, end + 1); -}; - -exports.capitalize = function (str) { - return str.charAt(0).toUpperCase() + str.slice(1); -}; - -exports.arrayUnion = function () { - var result = []; - for (var i = 0, values = {}; i < arguments.length; i++) { - var arr = arguments[i]; - for (var j = 0; j < arr.length; j++) { - if (!values[arr[j]]) { - values[arr[j]] = true; - result.push(arr[j]); - } - } - } - return result; -}; - -function has(obj, key) { - return Object.prototype.hasOwnProperty.call(obj, key); -} - -exports.has = has; - -exports.extend = function (dest, src) { - for (var i in src) { - if (has(src, i)) { dest[i] = src[i]; } - } -}; - -exports.trimEnd = function (str) { - return str.replace(/\s+$/g, ''); -}; diff --git a/node_modules/argparse/package.json b/node_modules/argparse/package.json deleted file mode 100644 index 885d080..0000000 --- a/node_modules/argparse/package.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "_from": "argparse@^1.0.7", - "_id": "argparse@1.0.10", - "_inBundle": false, - "_integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "_location": "/argparse", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "argparse@^1.0.7", - "name": "argparse", - "escapedName": "argparse", - "rawSpec": "^1.0.7", - "saveSpec": null, - "fetchSpec": "^1.0.7" - }, - "_requiredBy": [ - "/js-yaml" - ], - "_resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "_shasum": "bcd6791ea5ae09725e17e5ad988134cd40b3d911", - "_spec": "argparse@^1.0.7", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/js-yaml", - "bugs": { - "url": "https://github.com/nodeca/argparse/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Eugene Shkuropat" - }, - { - "name": "Paul Jacobson" - } - ], - "dependencies": { - "sprintf-js": "~1.0.2" - }, - "deprecated": false, - "description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library", - "devDependencies": { - "eslint": "^2.13.1", - "istanbul": "^0.4.5", - "mocha": "^3.1.0", - "ndoc": "^5.0.1" - }, - "files": [ - "index.js", - "lib/" - ], - "homepage": "https://github.com/nodeca/argparse#readme", - "keywords": [ - "cli", - "parser", - "argparse", - "option", - "args" - ], - "license": "MIT", - "name": "argparse", - "repository": { - "type": "git", - "url": "git+https://github.com/nodeca/argparse.git" - }, - "scripts": { - "test": "make test" - }, - "version": "1.0.10" -} diff --git a/node_modules/arr-diff/LICENSE b/node_modules/arr-diff/LICENSE deleted file mode 100755 index fa30c4c..0000000 --- a/node_modules/arr-diff/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/arr-diff/README.md b/node_modules/arr-diff/README.md deleted file mode 100644 index 7705c6c..0000000 --- a/node_modules/arr-diff/README.md +++ /dev/null @@ -1,74 +0,0 @@ -# arr-diff [![NPM version](https://img.shields.io/npm/v/arr-diff.svg)](https://www.npmjs.com/package/arr-diff) [![Build Status](https://img.shields.io/travis/jonschlinkert/base.svg)](https://travis-ci.org/jonschlinkert/base) - -> Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons. - -## Install - -Install with [npm](https://www.npmjs.com/) - -```sh -$ npm i arr-diff --save -``` -Install with [bower](http://bower.io/) - -```sh -$ bower install arr-diff --save -``` - -## API - -### [diff](index.js#L33) - -Return the difference between the first array and additional arrays. - -**Params** - -* `a` **{Array}** -* `b` **{Array}** -* `returns` **{Array}** - -**Example** - -```js -var diff = require('arr-diff'); - -var a = ['a', 'b', 'c', 'd']; -var b = ['b', 'c']; - -console.log(diff(a, b)) -//=> ['a', 'd'] -``` - -## Related projects - -* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten) -* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter) -* [array-intersection](https://www.npmjs.com/package/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality… [more](https://www.npmjs.com/package/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection) - -## Running tests - -Install dev dependencies: - -```sh -$ npm i -d && npm test -``` - -## Contributing - -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/arr-diff/issues/new). - -## Author - -**Jon Schlinkert** - -+ [github/jonschlinkert](https://github.com/jonschlinkert) -+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) - -## License - -Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert) -Released under the MIT license. - -*** - -_This file was generated by [verb](https://github.com/verbose/verb) on Sat Dec 05 2015 23:24:53 GMT-0500 (EST)._ diff --git a/node_modules/arr-diff/index.js b/node_modules/arr-diff/index.js deleted file mode 100644 index bc7200d..0000000 --- a/node_modules/arr-diff/index.js +++ /dev/null @@ -1,58 +0,0 @@ -/*! - * arr-diff - * - * Copyright (c) 2014 Jon Schlinkert, contributors. - * Licensed under the MIT License - */ - -'use strict'; - -var flatten = require('arr-flatten'); -var slice = [].slice; - -/** - * Return the difference between the first array and - * additional arrays. - * - * ```js - * var diff = require('{%= name %}'); - * - * var a = ['a', 'b', 'c', 'd']; - * var b = ['b', 'c']; - * - * console.log(diff(a, b)) - * //=> ['a', 'd'] - * ``` - * - * @param {Array} `a` - * @param {Array} `b` - * @return {Array} - * @api public - */ - -function diff(arr, arrays) { - var argsLen = arguments.length; - var len = arr.length, i = -1; - var res = [], arrays; - - if (argsLen === 1) { - return arr; - } - - if (argsLen > 2) { - arrays = flatten(slice.call(arguments, 1)); - } - - while (++i < len) { - if (!~arrays.indexOf(arr[i])) { - res.push(arr[i]); - } - } - return res; -} - -/** - * Expose `diff` - */ - -module.exports = diff; diff --git a/node_modules/arr-diff/package.json b/node_modules/arr-diff/package.json deleted file mode 100644 index f021360..0000000 --- a/node_modules/arr-diff/package.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "arr-diff@^2.0.0", - "scope": null, - "escapedName": "arr-diff", - "name": "arr-diff", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/micromatch" - ] - ], - "_from": "arr-diff@>=2.0.0 <3.0.0", - "_id": "arr-diff@2.0.0", - "_inCache": true, - "_location": "/arr-diff", - "_nodeVersion": "5.0.0", - "_npmUser": { - "name": "jonschlinkert", - "email": "github@sellside.com" - }, - "_npmVersion": "3.3.6", - "_phantomChildren": {}, - "_requested": { - "raw": "arr-diff@^2.0.0", - "scope": null, - "escapedName": "arr-diff", - "name": "arr-diff", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" - }, - "_requiredBy": [ - "/micromatch" - ], - "_resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "_shasum": "8f3b827f955a8bd669697e4a4256ac3ceae356cf", - "_shrinkwrap": null, - "_spec": "arr-diff@^2.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/micromatch", - "author": { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - }, - "bugs": { - "url": "https://github.com/jonschlinkert/arr-diff/issues" - }, - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.", - "devDependencies": { - "array-differ": "^1.0.0", - "array-slice": "^0.2.3", - "benchmarked": "^0.1.4", - "chalk": "^1.1.1", - "mocha": "*", - "should": "*" - }, - "directories": {}, - "dist": { - "shasum": "8f3b827f955a8bd669697e4a4256ac3ceae356cf", - "tarball": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "b89f54eb88ca51afd0e0ea6be9a4a63e5ccecf27", - "homepage": "https://github.com/jonschlinkert/arr-diff", - "keywords": [ - "arr", - "array", - "diff", - "differ", - "difference" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "doowb", - "email": "brian.woodward@gmail.com" - }, - { - "name": "jonschlinkert", - "email": "github@sellside.com" - }, - { - "name": "paulmillr", - "email": "paul@paulmillr.com" - } - ], - "name": "arr-diff", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/jonschlinkert/arr-diff.git" - }, - "scripts": { - "test": "mocha" - }, - "verb": { - "related": { - "list": [ - "arr-flatten", - "array-filter", - "array-intersection" - ] - } - }, - "version": "2.0.0" -} diff --git a/node_modules/arr-flatten/LICENSE b/node_modules/arr-flatten/LICENSE deleted file mode 100755 index 3f2eca1..0000000 --- a/node_modules/arr-flatten/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/arr-flatten/README.md b/node_modules/arr-flatten/README.md deleted file mode 100755 index 7dc7a97..0000000 --- a/node_modules/arr-flatten/README.md +++ /dev/null @@ -1,86 +0,0 @@ -# arr-flatten [![NPM version](https://img.shields.io/npm/v/arr-flatten.svg?style=flat)](https://www.npmjs.com/package/arr-flatten) [![NPM monthly downloads](https://img.shields.io/npm/dm/arr-flatten.svg?style=flat)](https://npmjs.org/package/arr-flatten) [![NPM total downloads](https://img.shields.io/npm/dt/arr-flatten.svg?style=flat)](https://npmjs.org/package/arr-flatten) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/arr-flatten.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/arr-flatten) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/arr-flatten.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/arr-flatten) - -> Recursively flatten an array or arrays. - -## Install - -Install with [npm](https://www.npmjs.com/): - -```sh -$ npm install --save arr-flatten -``` - -## Install - -Install with [bower](https://bower.io/) - -```sh -$ bower install arr-flatten --save -``` - -## Usage - -```js -var flatten = require('arr-flatten'); - -flatten(['a', ['b', ['c']], 'd', ['e']]); -//=> ['a', 'b', 'c', 'd', 'e'] -``` - -## Why another flatten utility? - -I wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%. - -## About - -### Related projects - -* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter "Faster alternative to javascript's native filter method.") -* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union "Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.") -* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each "Loop over each item in an array and call the given function on every element.") -* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique "Remove duplicate values from an array. Fastest ES5 implementation.") - -### Contributing - -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). - -### Contributors - -| **Commits** | **Contributor** | -| --- | --- | -| 20 | [jonschlinkert](https://github.com/jonschlinkert) | -| 1 | [lukeed](https://github.com/lukeed) | - -### Building docs - -_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ - -To generate the readme, run the following command: - -```sh -$ npm install -g verbose/verb#dev verb-generate-readme && verb -``` - -### Running tests - -Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: - -```sh -$ npm install && npm test -``` - -### Author - -**Jon Schlinkert** - -* [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) - -### License - -Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT License](LICENSE). - -*** - -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 05, 2017._ \ No newline at end of file diff --git a/node_modules/arr-flatten/index.js b/node_modules/arr-flatten/index.js deleted file mode 100644 index 0cb4ea4..0000000 --- a/node_modules/arr-flatten/index.js +++ /dev/null @@ -1,22 +0,0 @@ -/*! - * arr-flatten - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - -'use strict'; - -module.exports = function (arr) { - return flat(arr, []); -}; - -function flat(arr, res) { - var i = 0, cur; - var len = arr.length; - for (; i < len; i++) { - cur = arr[i]; - Array.isArray(cur) ? flat(cur, res) : res.push(cur); - } - return res; -} diff --git a/node_modules/arr-flatten/package.json b/node_modules/arr-flatten/package.json deleted file mode 100644 index 38e6f2d..0000000 --- a/node_modules/arr-flatten/package.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "_from": "arr-flatten@^1.0.1", - "_id": "arr-flatten@1.1.0", - "_inBundle": false, - "_integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "_location": "/arr-flatten", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "arr-flatten@^1.0.1", - "name": "arr-flatten", - "escapedName": "arr-flatten", - "rawSpec": "^1.0.1", - "saveSpec": null, - "fetchSpec": "^1.0.1" - }, - "_requiredBy": [ - "/arr-diff" - ], - "_resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "_shasum": "36048bbff4e7b47e136644316c99669ea5ae91f1", - "_spec": "arr-flatten@^1.0.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/arr-diff", - "author": { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - }, - "bugs": { - "url": "https://github.com/jonschlinkert/arr-flatten/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Jon Schlinkert", - "url": "http://twitter.com/jonschlinkert" - }, - { - "name": "Luke Edwards", - "url": "https://lukeed.com" - } - ], - "deprecated": false, - "description": "Recursively flatten an array or arrays.", - "devDependencies": { - "ansi-bold": "^0.1.1", - "array-flatten": "^2.1.1", - "array-slice": "^1.0.0", - "benchmarked": "^1.0.0", - "compute-flatten": "^1.0.0", - "flatit": "^1.1.1", - "flatten": "^1.0.2", - "flatten-array": "^1.0.0", - "glob": "^7.1.1", - "gulp-format-md": "^0.1.12", - "just-flatten-it": "^1.1.23", - "lodash.flattendeep": "^4.4.0", - "m_flattened": "^1.0.1", - "mocha": "^3.2.0", - "utils-flatten": "^1.0.0", - "write": "^0.3.3" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/jonschlinkert/arr-flatten", - "keywords": [ - "arr", - "array", - "elements", - "flat", - "flatten", - "nested", - "recurse", - "recursive", - "recursively" - ], - "license": "MIT", - "main": "index.js", - "name": "arr-flatten", - "repository": { - "type": "git", - "url": "git+https://github.com/jonschlinkert/arr-flatten.git" - }, - "scripts": { - "test": "mocha" - }, - "verb": { - "toc": false, - "layout": "default", - "tasks": [ - "readme" - ], - "plugins": [ - "gulp-format-md" - ], - "related": { - "list": [ - "arr-filter", - "arr-union", - "array-each", - "array-unique" - ] - }, - "lint": { - "reflinks": true - } - }, - "version": "1.1.0" -} diff --git a/node_modules/array-differ/index.js b/node_modules/array-differ/index.js deleted file mode 100644 index fbe2ed2..0000000 --- a/node_modules/array-differ/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; -module.exports = function (arr) { - var rest = [].concat.apply([], [].slice.call(arguments, 1)); - return arr.filter(function (el) { - return rest.indexOf(el) === -1; - }); -}; diff --git a/node_modules/array-differ/package.json b/node_modules/array-differ/package.json deleted file mode 100644 index 286f5d8..0000000 --- a/node_modules/array-differ/package.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "array-differ@^1.0.0", - "scope": null, - "escapedName": "array-differ", - "name": "array-differ", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/multimatch" - ] - ], - "_from": "array-differ@>=1.0.0 <2.0.0", - "_id": "array-differ@1.0.0", - "_inCache": true, - "_location": "/array-differ", - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - }, - "_npmVersion": "1.4.14", - "_phantomChildren": {}, - "_requested": { - "raw": "array-differ@^1.0.0", - "scope": null, - "escapedName": "array-differ", - "name": "array-differ", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/multimatch" - ], - "_resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", - "_shasum": "eff52e3758249d33be402b8bb8e564bb2b5d4031", - "_shrinkwrap": null, - "_spec": "array-differ@^1.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/multimatch", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/array-differ/issues" - }, - "dependencies": {}, - "description": "Create an array with values that are present in the first input array but not additional ones", - "devDependencies": { - "mocha": "*" - }, - "directories": {}, - "dist": { - "shasum": "eff52e3758249d33be402b8bb8e564bb2b5d4031", - "tarball": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "e91802976c4710eef8dea2090d48e48525cf41b1", - "homepage": "https://github.com/sindresorhus/array-differ", - "keywords": [ - "array", - "difference", - "diff", - "differ", - "filter", - "exclude" - ], - "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "array-differ", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/sindresorhus/array-differ.git" - }, - "scripts": { - "test": "mocha" - }, - "version": "1.0.0" -} diff --git a/node_modules/array-differ/readme.md b/node_modules/array-differ/readme.md deleted file mode 100644 index 68f5d36..0000000 --- a/node_modules/array-differ/readme.md +++ /dev/null @@ -1,41 +0,0 @@ -# array-differ [![Build Status](https://travis-ci.org/sindresorhus/array-differ.svg?branch=master)](https://travis-ci.org/sindresorhus/array-differ) - -> Create an array with values that are present in the first input array but not additional ones - - -## Install - -```sh -$ npm install --save array-differ -``` - - -## Usage - -```js -var arrayDiffer = require('array-differ'); - -arrayDiffer([2, 3, 4], [3, 50]); -//=> [2, 4] -``` - -## API - -### arrayDiffer(input, values, [values, ...]) - -Returns the new array. - -#### input - -Type: `array` - -#### values - -Type: `array` - -Arrays of values to exclude. - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/array-find-index/index.js b/node_modules/array-find-index/index.js deleted file mode 100644 index e2dcd9a..0000000 --- a/node_modules/array-find-index/index.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; -module.exports = function (arr, predicate, ctx) { - if (typeof Array.prototype.findIndex === 'function') { - return arr.findIndex(predicate, ctx); - } - - if (typeof predicate !== 'function') { - throw new TypeError('predicate must be a function'); - } - - var list = Object(arr); - var len = list.length; - - if (len === 0) { - return -1; - } - - for (var i = 0; i < len; i++) { - if (predicate.call(ctx, list[i], i, list)) { - return i; - } - } - - return -1; -}; diff --git a/node_modules/array-find-index/license b/node_modules/array-find-index/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/array-find-index/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/array-find-index/package.json b/node_modules/array-find-index/package.json deleted file mode 100644 index 07009b5..0000000 --- a/node_modules/array-find-index/package.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "array-find-index@^1.0.1", - "scope": null, - "escapedName": "array-find-index", - "name": "array-find-index", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/currently-unhandled" - ] - ], - "_from": "array-find-index@>=1.0.1 <2.0.0", - "_id": "array-find-index@1.0.2", - "_inCache": true, - "_location": "/array-find-index", - "_nodeVersion": "4.5.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/array-find-index-1.0.2.tgz_1475224789159_0.7274378235451877" - }, - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - }, - "_npmVersion": "2.15.9", - "_phantomChildren": {}, - "_requested": { - "raw": "array-find-index@^1.0.1", - "scope": null, - "escapedName": "array-find-index", - "name": "array-find-index", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/currently-unhandled" - ], - "_resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "_shasum": "df010aa1287e164bbda6f9723b0a96a1ec4187a1", - "_shrinkwrap": null, - "_spec": "array-find-index@^1.0.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/currently-unhandled", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/array-find-index/issues" - }, - "dependencies": {}, - "description": "ES2015 `Array#findIndex()` ponyfill", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "directories": {}, - "dist": { - "shasum": "df010aa1287e164bbda6f9723b0a96a1ec4187a1", - "tarball": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "983f4c827ad22fa0353182b1ddcbfaecd4412859", - "homepage": "https://github.com/sindresorhus/array-find-index#readme", - "keywords": [ - "es2015", - "ponyfill", - "polyfill", - "shim", - "find", - "index", - "findindex", - "array" - ], - "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "array-find-index", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/array-find-index.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.2" -} diff --git a/node_modules/array-find-index/readme.md b/node_modules/array-find-index/readme.md deleted file mode 100644 index 3166341..0000000 --- a/node_modules/array-find-index/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# array-find-index [![Build Status](https://travis-ci.org/sindresorhus/array-find-index.svg?branch=master)](https://travis-ci.org/sindresorhus/array-find-index) - -> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com) - - -## Install - -``` -$ npm install --save array-find-index -``` - - -## Usage - -```js -const arrayFindIndex = require('array-find-index'); - -arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn'); -//=> 1 -``` - - -## API - -Same as `Array#findIndex()`, but with the input array as the first argument. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/array-union/index.js b/node_modules/array-union/index.js deleted file mode 100644 index e33f38a..0000000 --- a/node_modules/array-union/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; -var arrayUniq = require('array-uniq'); - -module.exports = function () { - return arrayUniq([].concat.apply([], arguments)); -}; diff --git a/node_modules/array-union/license b/node_modules/array-union/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/array-union/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/array-union/package.json b/node_modules/array-union/package.json deleted file mode 100644 index fe70e64..0000000 --- a/node_modules/array-union/package.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "array-union@^1.0.1", - "scope": null, - "escapedName": "array-union", - "name": "array-union", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/globby" - ] - ], - "_from": "array-union@>=1.0.1 <2.0.0", - "_id": "array-union@1.0.2", - "_inCache": true, - "_location": "/array-union", - "_nodeVersion": "4.4.2", - "_npmOperationalInternal": { - "host": "packages-16-east.internal.npmjs.com", - "tmp": "tmp/array-union-1.0.2.tgz_1466079411551_0.23353995219804347" - }, - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - }, - "_npmVersion": "2.15.0", - "_phantomChildren": {}, - "_requested": { - "raw": "array-union@^1.0.1", - "scope": null, - "escapedName": "array-union", - "name": "array-union", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/del/globby", - "/globby", - "/multimatch" - ], - "_resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "_shasum": "9a34410e4f4e3da23dea375be5be70f24778ec39", - "_shrinkwrap": null, - "_spec": "array-union@^1.0.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/globby", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/array-union/issues" - }, - "dependencies": { - "array-uniq": "^1.0.1" - }, - "description": "Create an array of unique values, in order, from the input arrays", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "directories": {}, - "dist": { - "shasum": "9a34410e4f4e3da23dea375be5be70f24778ec39", - "tarball": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "34e1d6a80baa4eac9723795a0674c14119ace1bd", - "homepage": "https://github.com/sindresorhus/array-union#readme", - "keywords": [ - "array", - "arr", - "set", - "uniq", - "unique", - "duplicate", - "remove", - "union", - "combine", - "merge" - ], - "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "array-union", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/array-union.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.2" -} diff --git a/node_modules/array-union/readme.md b/node_modules/array-union/readme.md deleted file mode 100644 index ea472dd..0000000 --- a/node_modules/array-union/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# array-union [![Build Status](https://travis-ci.org/sindresorhus/array-union.svg?branch=master)](https://travis-ci.org/sindresorhus/array-union) - -> Create an array of unique values, in order, from the input arrays - - -## Install - -``` -$ npm install --save array-union -``` - - -## Usage - -```js -const arrayUnion = require('array-union'); - -arrayUnion([1, 1, 2, 3], [2, 3]); -//=> [1, 2, 3] - -arrayUnion(['foo', 'foo', 'bar'], ['foo']); -//=> ['foo', 'bar'] -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/array-uniq/index.js b/node_modules/array-uniq/index.js deleted file mode 100644 index edd09f8..0000000 --- a/node_modules/array-uniq/index.js +++ /dev/null @@ -1,62 +0,0 @@ -'use strict'; - -// there's 3 implementations written in increasing order of efficiency - -// 1 - no Set type is defined -function uniqNoSet(arr) { - var ret = []; - - for (var i = 0; i < arr.length; i++) { - if (ret.indexOf(arr[i]) === -1) { - ret.push(arr[i]); - } - } - - return ret; -} - -// 2 - a simple Set type is defined -function uniqSet(arr) { - var seen = new Set(); - return arr.filter(function (el) { - if (!seen.has(el)) { - seen.add(el); - return true; - } - - return false; - }); -} - -// 3 - a standard Set type is defined and it has a forEach method -function uniqSetWithForEach(arr) { - var ret = []; - - (new Set(arr)).forEach(function (el) { - ret.push(el); - }); - - return ret; -} - -// V8 currently has a broken implementation -// https://github.com/joyent/node/issues/8449 -function doesForEachActuallyWork() { - var ret = false; - - (new Set([true])).forEach(function (el) { - ret = el; - }); - - return ret === true; -} - -if ('Set' in global) { - if (typeof Set.prototype.forEach === 'function' && doesForEachActuallyWork()) { - module.exports = uniqSetWithForEach; - } else { - module.exports = uniqSet; - } -} else { - module.exports = uniqNoSet; -} diff --git a/node_modules/array-uniq/license b/node_modules/array-uniq/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/array-uniq/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/array-uniq/package.json b/node_modules/array-uniq/package.json deleted file mode 100644 index eededc7..0000000 --- a/node_modules/array-uniq/package.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "array-uniq@^1.0.1", - "scope": null, - "escapedName": "array-uniq", - "name": "array-uniq", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/array-union" - ] - ], - "_from": "array-uniq@>=1.0.1 <2.0.0", - "_id": "array-uniq@1.0.3", - "_inCache": true, - "_location": "/array-uniq", - "_nodeVersion": "4.4.2", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/array-uniq-1.0.3.tgz_1466079716839_0.9139188586268574" - }, - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - }, - "_npmVersion": "2.15.0", - "_phantomChildren": {}, - "_requested": { - "raw": "array-uniq@^1.0.1", - "scope": null, - "escapedName": "array-uniq", - "name": "array-uniq", - "rawSpec": "^1.0.1", - "spec": ">=1.0.1 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/array-union" - ], - "_resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "_shasum": "af6ac877a25cc7f74e058894753858dfdb24fdb6", - "_shrinkwrap": null, - "_spec": "array-uniq@^1.0.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/array-union", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/array-uniq/issues" - }, - "dependencies": {}, - "description": "Create an array without duplicates", - "devDependencies": { - "ava": "*", - "es6-set": "^0.1.0", - "require-uncached": "^1.0.2", - "xo": "*" - }, - "directories": {}, - "dist": { - "shasum": "af6ac877a25cc7f74e058894753858dfdb24fdb6", - "tarball": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "3b5bf5a90a585b3950284d575f33d09663f6083a", - "homepage": "https://github.com/sindresorhus/array-uniq#readme", - "keywords": [ - "array", - "arr", - "set", - "uniq", - "unique", - "es6", - "duplicate", - "remove" - ], - "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "array-uniq", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/array-uniq.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.3" -} diff --git a/node_modules/array-uniq/readme.md b/node_modules/array-uniq/readme.md deleted file mode 100644 index f0bd98c..0000000 --- a/node_modules/array-uniq/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# array-uniq [![Build Status](https://travis-ci.org/sindresorhus/array-uniq.svg?branch=master)](https://travis-ci.org/sindresorhus/array-uniq) - -> Create an array without duplicates - -It's already pretty fast, but will be much faster when [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) becomes available in V8 (especially with large arrays). - - -## Install - -``` -$ npm install --save array-uniq -``` - - -## Usage - -```js -const arrayUniq = require('array-uniq'); - -arrayUniq([1, 1, 2, 3, 3]); -//=> [1, 2, 3] - -arrayUniq(['foo', 'foo', 'bar', 'foo']); -//=> ['foo', 'bar'] -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/array-unique/LICENSE b/node_modules/array-unique/LICENSE deleted file mode 100755 index fa30c4c..0000000 --- a/node_modules/array-unique/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/array-unique/README.md b/node_modules/array-unique/README.md deleted file mode 100755 index 2e28774..0000000 --- a/node_modules/array-unique/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# array-unique [![NPM version](https://badge.fury.io/js/array-unique.svg)](http://badge.fury.io/js/array-unique) [![Build Status](https://travis-ci.org/jonschlinkert/array-unique.svg)](https://travis-ci.org/jonschlinkert/array-unique) - -> Return an array free of duplicate values. Fastest ES5 implementation. - -## Install with [npm](npmjs.org) - -```bash -npm i array-unique --save -``` - -## Usage - -```js -var unique = require('array-unique'); - -unique(['a', 'b', 'c', 'c']); -//=> ['a', 'b', 'c'] -``` - -## Related -* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons. -* [arr-union](https://github.com/jonschlinkert/arr-union): Returns an array of unique values using strict equality for comparisons. -* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. -* [arr-reduce](https://github.com/jonschlinkert/arr-reduce): Fast array reduce that also loops over sparse elements. -* [arr-map](https://github.com/jonschlinkert/arr-map): Faster, node.js focused alternative to JavaScript's native array map. -* [arr-pluck](https://github.com/jonschlinkert/arr-pluck): Retrieves the value of a specified property from all elements in the collection. - -## Run tests -Install dev dependencies. - -```bash -npm i -d && npm test -``` - -## Contributing -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/array-unique/issues) - -## Author - -**Jon Schlinkert** - -+ [github/jonschlinkert](https://github.com/jonschlinkert) -+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) - -## License -Copyright (c) 2015 Jon Schlinkert -Released under the MIT license - -*** - -_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 24, 2015._ \ No newline at end of file diff --git a/node_modules/array-unique/index.js b/node_modules/array-unique/index.js deleted file mode 100755 index 7fa75af..0000000 --- a/node_modules/array-unique/index.js +++ /dev/null @@ -1,28 +0,0 @@ -/*! - * array-unique - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT License. - */ - -'use strict'; - -module.exports = function unique(arr) { - if (!Array.isArray(arr)) { - throw new TypeError('array-unique expects an array.'); - } - - var len = arr.length; - var i = -1; - - while (i++ < len) { - var j = i + 1; - - for (; j < arr.length; ++j) { - if (arr[i] === arr[j]) { - arr.splice(j--, 1); - } - } - } - return arr; -}; diff --git a/node_modules/array-unique/package.json b/node_modules/array-unique/package.json deleted file mode 100755 index 19e4987..0000000 --- a/node_modules/array-unique/package.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "array-unique@^0.2.1", - "scope": null, - "escapedName": "array-unique", - "name": "array-unique", - "rawSpec": "^0.2.1", - "spec": ">=0.2.1 <0.3.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/micromatch" - ] - ], - "_from": "array-unique@>=0.2.1 <0.3.0", - "_id": "array-unique@0.2.1", - "_inCache": true, - "_location": "/array-unique", - "_nodeVersion": "1.6.2", - "_npmUser": { - "name": "jonschlinkert", - "email": "github@sellside.com" - }, - "_npmVersion": "2.7.1", - "_phantomChildren": {}, - "_requested": { - "raw": "array-unique@^0.2.1", - "scope": null, - "escapedName": "array-unique", - "name": "array-unique", - "rawSpec": "^0.2.1", - "spec": ">=0.2.1 <0.3.0", - "type": "range" - }, - "_requiredBy": [ - "/micromatch" - ], - "_resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "_shasum": "a1d97ccafcbc2625cc70fadceb36a50c58b01a53", - "_shrinkwrap": null, - "_spec": "array-unique@^0.2.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/micromatch", - "author": { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - }, - "bugs": { - "url": "https://github.com/jonschlinkert/array-unique/issues" - }, - "dependencies": {}, - "description": "Return an array free of duplicate values. Fastest ES5 implementation.", - "devDependencies": { - "array-uniq": "^1.0.2", - "benchmarked": "^0.1.3", - "mocha": "*", - "should": "*" - }, - "directories": {}, - "dist": { - "shasum": "a1d97ccafcbc2625cc70fadceb36a50c58b01a53", - "tarball": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "36fde8e586fb7cf880b8b3aa6515df889e64ed85", - "homepage": "https://github.com/jonschlinkert/array-unique", - "license": { - "type": "MIT", - "url": "https://github.com/jonschlinkert/array-unique/blob/master/LICENSE" - }, - "main": "index.js", - "maintainers": [ - { - "name": "jonschlinkert", - "email": "github@sellside.com" - } - ], - "name": "array-unique", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/jonschlinkert/array-unique.git" - }, - "scripts": { - "test": "mocha" - }, - "version": "0.2.1" -} diff --git a/node_modules/arrify/index.js b/node_modules/arrify/index.js deleted file mode 100644 index 2a2fdee..0000000 --- a/node_modules/arrify/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; -module.exports = function (val) { - if (val === null || val === undefined) { - return []; - } - - return Array.isArray(val) ? val : [val]; -}; diff --git a/node_modules/arrify/license b/node_modules/arrify/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/arrify/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/arrify/package.json b/node_modules/arrify/package.json deleted file mode 100644 index bcc1eaf..0000000 --- a/node_modules/arrify/package.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "arrify@^1.0.0", - "scope": null, - "escapedName": "arrify", - "name": "arrify", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/multimatch" - ] - ], - "_from": "arrify@>=1.0.0 <2.0.0", - "_id": "arrify@1.0.1", - "_inCache": true, - "_location": "/arrify", - "_nodeVersion": "4.2.1", - "_npmUser": { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - }, - "_npmVersion": "3.5.2", - "_phantomChildren": {}, - "_requested": { - "raw": "arrify@^1.0.0", - "scope": null, - "escapedName": "arrify", - "name": "arrify", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/del/globby", - "/multimatch" - ], - "_resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "_shasum": "898508da2226f380df904728456849c1501a4b0d", - "_shrinkwrap": null, - "_spec": "arrify@^1.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/multimatch", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/arrify/issues" - }, - "dependencies": {}, - "description": "Convert a value to an array", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "directories": {}, - "dist": { - "shasum": "898508da2226f380df904728456849c1501a4b0d", - "tarball": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "087edee1a58d5adaac6cae5a107886121ef43783", - "homepage": "https://github.com/sindresorhus/arrify#readme", - "keywords": [ - "array", - "arr", - "arrify", - "arrayify", - "convert", - "value" - ], - "license": "MIT", - "maintainers": [ - { - "name": "sindresorhus", - "email": "sindresorhus@gmail.com" - } - ], - "name": "arrify", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/arrify.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.1" -} diff --git a/node_modules/arrify/readme.md b/node_modules/arrify/readme.md deleted file mode 100644 index 183d075..0000000 --- a/node_modules/arrify/readme.md +++ /dev/null @@ -1,36 +0,0 @@ -# arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify) - -> Convert a value to an array - - -## Install - -``` -$ npm install --save arrify -``` - - -## Usage - -```js -const arrify = require('arrify'); - -arrify('unicorn'); -//=> ['unicorn'] - -arrify(['unicorn']); -//=> ['unicorn'] - -arrify(null); -//=> [] - -arrify(undefined); -//=> [] -``` - -*Supplying `null` or `undefined` results in an empty array.* - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/autoprefixer/AUTHORS b/node_modules/autoprefixer/AUTHORS deleted file mode 100644 index fb3e026..0000000 --- a/node_modules/autoprefixer/AUTHORS +++ /dev/null @@ -1,123 +0,0 @@ -# This is the official list of Autoprefixer authors for copyright purposes. -# -# This does not necessarily list everyone who has contributed code, since in -# some cases, their employer may be the copyright holder. To see the full list -# of contributors, see the revision history in source control or -# https://github.com/postcss/autoprefixer/graphs/contributors -# -# Authors who wish to be recognized in this file should add themselves (or -# their employer, as appropriate). - -Aaron -Adam Lynch -Adonis K -Adriaan -Aleksei Androsov -Aleksey Shvayka -Aleks Hudochenkov -Alexey Plutalov -Anders Olsen Sandvik -Andreas Lind -Andrew Rhoads -Andrey Sitnik -Andrey Taritsyn -Andy Trevorah -Anton Khlynovskiy -aruseni -Ben Briggs -bernig -Bogdan Chadkin -brainopia -Brandon Mathis -Chad von Nau -Chi Vinh Le -Cory House -Cory Simmons -Craig Martin -Damon -Daniel Garcia-Carrillo -Daniel Tschinder -David Pike -Denis Sokolov -Dominik Porada -Dominik Schilling -dotch -Efremov Alexey -eitanr -Erik Sundahl -Eugene Datsky -Evilebot Tnawi -Forrest York -Google Inc. -Gregory Eremin -GU Yiling -Hallvord R. M. Steen -heady -Iain Beeston -Igor Adamenko -Jack Moore -Jason Kuhrt -Jeff Escalante -Johannes J. Schmidt -John Kreitlow -Jonathan Ong -Josh Gillies -jvdanilo -Kieran -Kir Shatrov -kizu -Leonya Khachaturov -Lovchikov Anton -L.T -Luciano Battagliero -Luke Page -martco -Matt Smith -Maxime Thirouin -Max Mechanic -Michael Beil -Michael Scott Hertzberg -Michał Gołębiowski -Mikael Jorhult -Morton Fox -mvasilkov -Nick Howes -Nick Schonning -nickspielgist -Niels Dequeker -Nikolay Burlov -Paul Statezny -Peter Zotov -Rafael Silva -Ray Lehnhoff -ReadmeCritic -Reinaldo Schiehll -René Stalder -Richard Wang -Rob Howell -Roland Warmerdam -Sasha Koss -Sean Anderson -Sergey Belov -Sergey Leschina -sethjgore -Šime Vidas -Simon Lydell -Sindre Sorhus -Stephen Edgar -Steve Mao -Stig Otnes Kolstad -Subash Pathak -sunhao -tomdavenport -Tony Ganch -Vegard Andreas Larsen -Vera Surkova -Vincent De Oliveira -Vishnu Ravi -Vladimir Pouzanov -vladkens -Даниил Пронин -一丝 -刘祺 diff --git a/node_modules/autoprefixer/CHANGELOG.md b/node_modules/autoprefixer/CHANGELOG.md deleted file mode 100644 index d1cd38e..0000000 --- a/node_modules/autoprefixer/CHANGELOG.md +++ /dev/null @@ -1,688 +0,0 @@ -# Change Log -This project adheres to [Semantic Versioning](http://semver.org/). - -## 6.7.7 -* Fix `order` for non-digit values. - -## 6.7.6 -* Fix `font-kerning` (by Chi Vinh Le). - -## 6.7.5 -* Fix `text-decoration-skip` in iOS (by Chi Vinh Le). -* Fix `clip-path` (by Chi Vinh Le). - -## 6.7.4 -* Improve `browsers` option perfomance. -* Update CoffeeScript compiler. - -## 6.7.3 -* Fix compatibility with “Intrinsic & Extrinsic Sizing” spec update. - -## 6.7.2 -* Do not prefix grid/flexbox in `@supports` on `grid: false`/`flexbox: false`. - -## 6.7.1 -* Update Browserslist with `last n version` fix. - -## 6.7 “Krungthep doot thep saang” -* Add Electron support in browsers list (by Kilian Valkhof). -* Add `flex-flow` partial support for Flexbox 2009 specification. -* Fix browsers `0` version issue in some Can I Use data. - -## 6.6.1 -* Add metadata to use Autoprefixer in JSS tests (by Chi Vinh Le). - -## 6.6 “Kaiyuan” -* Add `browserslist` key in `package.json` support. -* Add support for separated environments in browserslist config. -* Add `browserslist-stats.json` file support to load custom usage statistics. - -## 6.5.4 -* Fix unitless 0 basis in IE10/IE11 shorthand flex (by Google). - -## 6.5.3 -* Add error for popular mistake with `browser` option instead of `browsers`. - -## 6.5.2 -* Clean prefixes data (by Reinaldo Schiehll). - -## 6.5.1 -* Fix selectors with `:--` prefix support. - -## 6.5 “Einigkeit und Recht und Freiheit” -* Add `defaults` keyword to browsers requirements. -* Fix CSS Grid Layout support. -* Fix `align-self` cleaning. - -## 6.4.1 -* Fix node cloning after some PostCSS plugins. - -## 6.4 “Hic et ubique terrarum” -* Add `:any-link` selector support. -* Add `text-decoration-skip` support. -* Add `transition: duration property` support. -* Fix `-webkit-` prefix for `backface-visibility`. -* Fix `rad` unit support in gradients (by 刘祺). -* Fix `transition` support in Opera 12. -* Removed Safari TP Grid prefixes support. - -## 6.3.7 -* Fix rare `Cannot read property 'constructor' of null` issue. - -## 6.3.6 -* Add Safari TP prefix support for Grid Layout. - -## 6.3.5 -* Fix duplicate prefixes for `-ms-interpolation-mode`. - -## 6.3.4 -* Show users coverage for selected browsers in `info()`. - -## 6.3.3 -* Fix transition warning. - -## 6.3.2 -* Fix jspm support (by Sean Anderson). - -## 6.3.1 -* Fix compatibility with Flexibility polyfill. - -## 6.3 “Pro rege et lege” -* Add Grid Layout support. -* Add `text-spacing` support. -* Add `> 10% in my stats` browsers query with custom usage statistics. -* Add options to disable `@supports`, Flexbox or Grid support. -* Fix compatibility with other PostCSS plugins. - -## 6.2.3 -* Fix error on broken transition with double comma. - -## 6.2.2 -* Fix issues in broken transitions. - -## 6.2.1 -* Fix AST error in transition warning (by @jvdanilo). - -## 6.2 “Fluctuat nec mergitur” -* Use `fill` instead of `fill-available` according spec changes (by 一丝). -* Add `fill` support for logical dimension properties (by 一丝). -* Add `text-emphasis` support (by 一丝). -* Add prefixes to `@supports` only for compatible browsers. -* Add `rad`, `grad` and `turn` units support to linear gradients. -* Add some `deg` directions support for old WebKit linear gradients. -* Fix `@supports` parenthesis (by @heady). -* Add warning when prefixes could not be generated - for complicated `transition-property` values. -* Add warning for outdated `fill-available` value. -* Add warning for wrong `text-emphasis-position` value. -* Add “time capsule” warning for prefix-less future. -* Normalizes all warning messages. - -## 6.1.2 -* Fix gradient hack on some parameters (by Alexey Efremov). - -## 6.1.1 -* Fix `cursor: grab` and `cursor: grabbing` support. - -## 6.1 “Bil-shaʿb wa lil-shaʿb” -* Change `transition` support to output more robust CSS. -* Add `:read-only` support. -* Add support for `appearance` with any values. -* Add CSS-in-JS support via `postcss-js`. -* Add loud `/*! autoprefixer: off */` control comments support. -* Convert `rotateZ` to `rotate` for `-ms-transform`. -* Use `postcss-value-parser` to carefully work with gradients. -* Remove `-ms-transform-style` and `-o-transform-style` that never existed. - -## 6.0.3 -* Fix old gradient direction warning. - -## 6.0.2 -* Remove unnecessary `-khtml-` prefix too. - -## 6.0.1 -* Fix `cross-fade()` support (by 一丝). - -## 6.0 “Eureka” -* CLI was removed from `autoprefixer` package to `autoprefixer-cli`. -* `autoprefixer-core` and `autoprefixer` packages was merged back. -* Remove `autoprefixer(opt).process(css)`, use `autoprefixer.process(css, opt)`. -* Remove `safe` option. Use separated Safe parser from PostCSS. -* Remove Opera 12.1 from default query. -* Use PostCSS 5.0 API. -* Add custom syntaxes support. -* Add `image-set` support (by 一丝). -* Add `mask-border` support (by 一丝). -* Add `filter()` function support (by Vincent De Oliveira). -* Add `backdrop-filter` support (by Vincent De Oliveira). -* Add `element()` support (by Vincent De Oliveira). -* Add CSS Regions support. -* Add Scroll Snap Points support. -* Add `writing-mode` support. -* Add `::backdrop` support. -* Add `cross-fade()` support. -* Add other `break-` properties support. -* Add Microsoft Edge support (by Andrey Polischuk). -* Add `not` keyword and exclude browsers by query. -* Add version ranges `IE 6-9` (by Ben Briggs). -* Fix `filter` in `transition` support on Safari. -* Fix `url()` parsing. -* Fix `pixelated` cleaning. -* Always show old gradient direction warning. - -## 5.2.1 -* Fix parent-less node issue on some cases (by Josh Gillies). - -## 5.2 “Dont tread on me” -* Add `appearance` support. -* Warn users on old gradient direction or flexbox syntax. -* Add `add: false` option to disable new prefixes adding. -* Make Autoprefixer 30% faster. -* Use PostCSS 4.1 plugin API. -* Add prefixes for `pixelated` instead of `crisp-edges` in `image-rendering`. -* Do not add `::placeholder` prefixes for `:placeholder-shown`. -* Fix `text-decoration` prefixes. -* `autoprefixer.process()` was deprecated. Use PostCSS API. - -## 5.1.11 -* Update `num2fraction` to fix resolution media query (by 一丝). - -## 5.1.10 -* Do not generate `-webkit-image-rendering`. - -## 5.1.9 -* Fix DynJS compatibility (by Nick Howes). - -## 5.1.8 -* Fix gradients in `mask` and `mask-image` properties. -* Fix old webkit prefix on some unsupported gradients. - -## 5.1.7 -* Fix placeholder selector (by Vincent De Oliveira). - -## 5.1.6 -* Use official `::placeholder-shown` selector (by Vincent De Oliveira). - -## 5.1.5 -* Add transition support for CSS Masks properties. - -## 5.1.4 -* Use `-webkit-` prefix for Opera Mobile 24. - -## 5.1.3 -* Add IE support for `image-rendering: crisp-edges`. - -## 5.1.2 -* Add never existed `@-ms-keyframes` to common mistake. - -## 5.1.1 -* Safer value split in `flex` hack. - -## 5.1 “Jianyuan” -* Add support for resolution media query (by 一丝). -* Higher accuracy while removing prefixes in values. -* Add support for logical properties (by 一丝). -* Add `@viewport` support. -* Add `text-overflow` support (by 一丝). -* Add `text-emphasis` support (by 一丝). -* Add `image-rendering: crisp-edges` support. -* Add `text-align-last` support. -* Return `autoprefixer.defaults` as alias to current `browserslist.defaults`. -* Save code style while adding prefixes to `@keyframes` and `@viewport`. -* Do not remove `-webkit-background-clip` with non-spec `text` value. -* Fix `-webkit-filter` in `transition`. -* Better support for browser versions joined on Can I Use - like `ios_saf 7.0-7.1` (by Vincent De Oliveira). -* Fix compatibility with `postcss-import` (by Jason Kuhrt). -* Fix Flexbox prefixes for BlackBerry and UC Browser. -* Fix gradient prefixes for old Chrome. - -## 5.0 “Pravda vítězí” -* Use PostCSS 4.0. -* Use Browserslist to parse browsers queries. -* Use global `browserslist` config. -* Add `> 5% in US` query to select browsers by usage in some country. -* Add `object-fit` and `object-position` properties support. -* Add CSS Shape properties support. -* Fix UC Browser name in debug info. -* Remove `autoprefixer.defaults` and use defaults from Browserslist. - -## 4.0.2 -* Remove `o-border-radius`, which is common mistake in legacy CSS. - -## 4.0.1 -* Fix `@supports` support with brackets in values (by Vincent De Oliveira). - -## 4.0 “Indivisibiliter ac Inseparabiliter” -* Become 2.5 times fatser by new PostCSS 3.0 parser. -* Do not remove outdated prefixes by `remove: false` option. -* `map.inline` and `map.sourcesContent` options are now `true` by default. -* Add `box-decoration-break` support. -* Do not add old `-webkit-` prefix for gradients with `px` units. -* Use previous source map to show origin source of CSS syntax error. -* Use `from` option from previous source map `file` field. -* Set `to` value to `from` if `to` option is missing. -* Trim Unicode BOM on source maps parsing. -* Parse at-rules without spaces like `@import"file"`. -* Better previous `sourceMappingURL` annotation comment cleaning. -* Do not remove previous `sourceMappingURL` comment on `map.annotation: false`. - -## 3.1.2 -* Update Firefox ESR version from 24 to 31. - -## 3.1.1 -* Use Flexbox 2009 spec for Android stock browser < 4.4. - -## 3.1 “Satyameva Jayate” -* Do not remove comments from prefixed values (by Eitan Rousso). -* Allow Safari 6.1 to use final Flexbox spec (by John Kreitlow). -* Fix `filter` value in `transition` in Webkits. -* Show greetings if your browsers don’t require any prefixes. -* Add `<=` and `<` browsers requirement (by Andreas Lind). - -## 3.0.1 -* Fix `autoprefixer.postcss` in callbacks. - -## 3.0 “Liberté, Égalité, Fraternité” -* Project was split to autoprefixer (with CLI) and autoprefixer-core. -* `autoprefixer()` now receives only `options` object with `browsers` key. -* GNU format for syntax error messages from PostCSS 2.2. - -## 2.2 “Mobilis in mobili” -* Allow to disable Autoprefixer for some rule by control comment. -* Use PostCSS 2.1 with Safe Mode option and broken source line - in CSS syntax error messages. - -## 2.1.1 -* Fix `-webkit-background-size` hack for `contain` and `cover` values. -* Don’t add `-webkit-` prefix to `filter` with SVG (by Vincent De Oliveira). - -## 2.1 “Eleftheria i thanatos” -* Add support for `clip-path` and `mask` properties. -* Return `-webkit-` prefix to `filter` with SVG URI. - -## 2.0.2 -* Add readable names for new browsers from 2.0 release. -* Don’t add `-webkit-` prefix to `filter` with SVG URI. -* Don’t add `-o-` prefix 3D transforms. - -## 2.0.1 -* Save declaration style, when clone declaration to prefix. - -## 2.0 “Hongik Ingan” -* Based on PostCSS 1.0. - See [options changes](https://github.com/postcss/postcss/releases/tag/1.0.0). -* Restore visual cascade after declaration removing. -* Enable visual cascade by default. -* Prefix declareation in `@supports` at-rule conditions. -* Add all browsers from Can I Use: `ie_mob`, `and_chr`, `and_ff`, - `op_mob` and `op_mini`. -* Allow to use latest Autoprefixer from GitHub by npm. -* Add `--no-cascade`, `--annotation` and `--sources-content` options to binary. - -## 1.3.1 -* Fix gradient hack, when `background` property contains color. - -## 1.3 “Tenka Fubu” -* Add `text-size-adjust` support. -* Add `background-size` to support Android 2. - -## 1.2 “Meiji” -* Use Can I Use data from official `caniuse-db` npm package. -* Remove package data update from binary. -* Use increment value instead of current date in minor versions. - -## 1.1 “Nutrisco et extingo” -* Add source map annotation comment support. -* Add inline source map support. -* Autodetect previous source map. -* Fix source maps support on Windows. -* Fix source maps support in subdirectory. -* Prefix selector even if it is already prefixed by developer. -* Add option `cascade` to create nice visual cascade of prefixes. -* Fix flexbox support for IE 10 (by Roland Warmerdam). -* Better `break-inside` support. -* Fix prefixing, when two same properties are near. - -### 20140222: -* Add `touch-action` support. - -### 20140226: -* Chrome 33 is moved to released versions. -* Add Chrome 36 data. - -### 20140302: -* Add `text-decoration-*` properties support. -* Update browsers usage statistics. -* Use new PostCSS version. - -### 20140319: -* Check already prefixed properties after current declaration. -* Normalize spaces before already prefixed check. -* Firefox 28 is moved to released versions. -* Add Firefox 31 data. -* Add some Blackberry data. - -### 20140327: -* Don’t use `-ms-transform` in `@keyframes`, because IE 9 doesn’t support - animations. -* Update BlackBerry 10 data. - -### 20140403: -* Update browsers usage statistics. -* Opera 20 is moved to released versions. -* Add Opera 22 data. - -### 20140410: -* Chrome 34 is moved to released versions. -* Add Chrome 37 data. -* Fix Chrome 36 data. - -### 20140429: -* Fix `display: inline-flex` support by 2009 spec. -* Fix old WebKit gradient converter (by Sergey Belov). -* Fix CSS 3 cursors data (by Nick Schonning). - -### 20140430: -* Separate 2D and 3D transform prefixes to clean unnecessary `-ms-` prefixes. -* Firefox 29 is moved to released versions. -* Add Firefox 32 data. - -### 20140510 -* Do not add `-ms-` prefix for `transform` with 3D functions. -* Update browsers global usage statistics. - -### 20140512 -* Remove unnecessary `-moz-` prefix for `wavy` in `text-decoration`. -* Update Safari data for font properties. - -### 20140521 -* Chrome 36 is moved to released versions. -* Add Chrome 38 data. - -### 20140523 -* Opera 21 is moved to released versions. -* Add Opera 23 data. - -### 20140605 -* Allow to parse gradients without space between color and position. -* Add iOS 8, Safari 8 and Android 4.4.3 data. -* Update browsers usage statistics. - -## 1.0 “Plus ultra” -* Source map support. -* Save origin indents and code formatting. -* Change CSS parser to PostCSS. -* Preserve vendor-prefixed properties put right after unprefixed ones. -* Rename `compile()` to `process()` and return result object, - instead of CSS string. -* Rename `inspect()` to `info()`. -* Add in binary `-d` option to specify output directory. -* Binary now will not concat output files. -* Allow to select last versions for specified browser. -* Add full browser names aliases: `firefox`, `explorer` and `blackberry`. -* Ignore case in browser names. -* Change license to MIT. -* Add prefixes inside custom at-rules. -* Add only necessary prefixes to selector inside prefixed at-rule. -* Safer backgrounds list parser in gradient hack. -* Prefix `@keyframes` inside `@media`. -* Don’t prefix values for CSS3 PIE properties. -* Binary now shows file name in syntax error. -* Use browserify to build standalone version. - -### 20131225: -* Fix deprecated API convertor. -* Add `::placeholder` support for Firefix >= 18. -* Fix vendor prefixes order. - -### 20140103: -* Add `-webkit-` prefix for `sticky` position. -* Update browsers popularity statistics. - -### 20140109: -* Add selectors and at-rules sections to debug info. -* Fix outdated prefixes cleaning. - -### 20140110: -* Add `Firefox ESR` browser requirement. -* Opera 18 is moved to released versions. -* Add Opera 20 data. - -### 20140117: -* Chrome 32 is moved to released versions. -* Add Opera 34 data. - -### 20140130: -* Fix flexbox properties names in transitions. -* Add Chrome 35 and Firefox 29 data. - -### 20140203: -* Android 4.4 stock browser and Opera 19 are moved to released versions. -* Add Opera 21 data. -* Update browsers usage statistics. - -### 20140213: -* Add case insensitive to IE’s filter hack (by Dominik Schilling). -* Improve selector prefixing in some rare cases (by Simon Lydell). -* Firefox 27 is moved to released versions. -* Add Firefox 30 data. - -## 0.8 “Unbowed, Unbent, Unbroken” -* Add more browsers to defaults ("> 1%, last 2 versions, ff 17, opera 12.1" - instead of just "last 2 browsers"). -* Keep vendor prefixes without unprefixed version (like vendor-specific hacks). -* Convert gradients to old WebKit syntax (actual for Android 2.3). -* Better support for several syntaxes with one prefix (like Flexbox and - gradients in WebKit). -* Add intrinsic and extrinsic sizing values support. -* Remove never existed prefixes from common mistakes (like -ms-transition). -* Add Opera 17 data. -* Fix selector prefixes order. -* Fix browser versions order in inspect. - -### 20130903: -* Fix old WebKit gradients convertor on rgba() colors. -* Allow to write old direction syntax in gradients. - -### 20130906: -* Fix direction syntax in radial gradients. -* Don’t prefix IE filter with modern syntax. - -### 20130911: -* Fix parsing property name with spaces. - -### 20130919: -* Fix processing custom framework prefixes (by Johannes J. Schmidt). -* Concat outputs if several files compiled to one output. -* Decrease standalone build size by removing unnecessary Binary class. -* iOS 7 is moved to released versions. -* Clean up binary code (by Simon Lydell). - -### 20130923: -* Firefox 24 is moved to released versions. - -### 20131001: -* Add support for grab, grabbing, zoom-in and zoom-out cursor values. - -### 20131006: -* Chrome 30 is moved to released versions. - -### 20131007: -* Don’t add another prefixes in rule with prefixed selector. - -### 20131009: -* Opera 17 is moved to released versions. - -### 20131015: -* Fix converting multiple gradients to old webkit syntax (by Aleksei Androsov). - -### 20131017: -* Fix @host at-rule parsing. - -### 20131020: -* IE 11 and Andrid 4.3 is moved to released versions. -* Add Opera 18 data. -* Add @namespace support. -* Sort browser versions in data file. - -### 20131029: -* Add Safari 6.1 data. -* Add fx alias for Firefox. - -### 20131104: -* Update Android future version to 4.4. -* Google Chrome 32 added to future versions list. -* Firefox 25 now is actual version, 27 and 28 added to future versions. -* Browsers statistics are updated. - -### 20131205: -* Google Chrome 33 added to future releases list. -* Google Chrome 31 moved to current releases list. - -### 20131209: -* Use old webkit gradients for old iOS and Safari (by Chad von Nau). -* Fix direction conversion for old webkit gradients (by Chad von Nau). -* Update browsers popularity statistics. - -### 20131213: -* Firefox ESR in default browsers was changed to 24 version. -* Firefox 26 was moved to current releases list. -* Firefox 28 was added to future releases list. - -## 0.7 “We Do Not Sow” -* Add vendor prefixes to selectors. -* Add ::selection and ::placeholder selectors support. -* Allow to load support data from Can I Use pull requests. -* Remove deprecated API. - -### 20130806: -* Add hyphens support. - -### 20130807: -* Add tab-size support. -* Add :fullscreen support. - -### 20130808: -* Allow to select browser versions by > and >= operator. -* Fix flex properties in transition. - -### 20130810: -* Add Firefox 25 data. - -### 20130824: -* Add Chrome 31 and 30 data. -* Fix CSS comments parsing (by vladkens). - -## 0.6 “As High As Honor” -* New faster API, which cache preprocessed data. Old API is deprecated. -* A lot of perfomance improvements. -* Add Opera 15 -webkit- prefix support. -* Update Chrome 29 and Safari 7 prefixes data. -* Add minor browsers in popularity select. -* Better syntax error messages. - -### 20130721: -* Add Chrome 30 data. - -### 20130728: -* Don’t remove non-standard -webkit-background-clip: text. -* Don’t remove IE hack on CSS parse. - -### 20130729: -* Add Opera 16 data. -* Fix “Invalid range in character class” error on Firefox. - -### 20130730: -* Fix correct clone comments inside keyframes (by Alexey Plutalov). -* Fix angle recalculation in gradients (by Roman Komarov). - -### 20130731: -* Add border-image support. - -## 0.5 “Ours is the Fury” -* Rewrite Autoprefixer to be more flexible. -* Use css, instead of Rework, to fix CSS parsing errors faster. -* Fix a lot of CSS parsing errors. - -### 20130616: -* More useful message for CSS parsing errors. -* Remove old WebKit gradient syntax. -* Fix parsing error on comment with braces. - -### 20130617: -* Remove old Mozilla border-radius. -* Don’t prefix old IE filter. -* Remove old background-clip, background-size and background-origin prefixes. -* Speed up regexps in values. -* Allow to hack property declarations. - -### 20130625: -* Convert flexbox properties to 2009 and 2012 specifications. -* Improve messages on syntax errors. - -### 20130626: -* Add Firefox 24 data. -* Add prefixes for font-feature-settings. - -### 20130629: -* Fix convert flex properties to old box-flex. - -## 0.4 “Winter Is Coming” -* Remove outdated prefixes. -* Add border-radius and box-shadow properties to database. -* Change degrees in webkit gradients. - -### 20130515: -* Add old syntax in gradient direction. -* Add old syntax for display: flex. -* Update browser global usage statistics. - -### 20130521: -* Add Firefox 23 data. - -### 20130524: -* Add Chrome 29 data. - -### 20130528: -* Fix compatibilty with Rework from git master. -* Add minor browsers to data, which can be selected only directly. - -### 20130530: -* Add Opera 15 and iOS 6.1 data. -* Fix iOS versions in properties and values data. - -### 20130603: -* Use latest Rework 0.15 with a lot of CSS parsing fixes. -* Update browsers usage statistics. - -## 0.3 “Growing Strong” -* Rename `autoprefixer.filter()` to `autoprefixer.rework()`. -* Use own filters instead of Rework’s `prefix` and `prefixValue`. -* Smarter value prefixer without false match “order” in “border”. -* 40% faster. -* Don’t add unnecessary properties instead of Rework’s `prefixValue`. -* Don’t change properties order. -* Sort properties and values in inspect output. -* Add main to component config (by Jonathan Ong). -* Fix documentation (by Sergey Leschina and Mark Vasilkov). - -### 20130424: -* Fix value override in prefixer. - -### 20130427: -* Prefix several same values in one property. -* Fix Windows support in binary. -* Improve print errors in binary. - -### 20130502: -* Don’t add -webkit- prefix to IE filter. -* Don’t duplicate prefixes on second run. - -## 0.2 “Hear Me Roar!” -* Update parse libraries. -* Use component package manager to build standalone script. -* Add inspect to standalone script. - -## 0.1 “Fire and Blood” -* Initial release. diff --git a/node_modules/autoprefixer/LICENSE b/node_modules/autoprefixer/LICENSE deleted file mode 100644 index da057b4..0000000 --- a/node_modules/autoprefixer/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2013 Andrey Sitnik - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/autoprefixer/README.md b/node_modules/autoprefixer/README.md deleted file mode 100644 index d57fc1c..0000000 --- a/node_modules/autoprefixer/README.md +++ /dev/null @@ -1,568 +0,0 @@ -# Autoprefixer [![Build Status][ci-img]][ci] - - - -[PostCSS] plugin to parse CSS and add vendor prefixes to CSS rules using values -from [Can I Use]. It is [recommended] by Google and used in Twitter and Taobao. - -Write your CSS rules without vendor prefixes (in fact, forget about them -entirely): - -```css -:fullscreen a { - display: flex -} -``` - -Autoprefixer will use the data based on current browser popularity and property -support to apply prefixes for you. You can try the [interactive demo] -of Autoprefixer. - -```css -:-webkit-full-screen a { - display: -webkit-box; - display: flex -} -:-moz-full-screen a { - display: flex -} -:-ms-fullscreen a { - display: -ms-flexbox; - display: flex -} -:fullscreen a { - display: -webkit-box; - display: -ms-flexbox; - display: flex -} -``` - -Twitter account for news and releases: [@autoprefixer]. - - -Sponsored by Evil Martians - - -[interactive demo]: http://autoprefixer.github.io/ -[@autoprefixer]: https://twitter.com/autoprefixer -[recommended]: https://developers.google.com/web/tools/setup/setup-buildtools#dont-trip-up-with-vendor-prefixes -[Can I Use]: http://caniuse.com/ -[PostCSS]: https://github.com/postcss/postcss -[ci-img]: https://travis-ci.org/postcss/autoprefixer.svg -[ci]: https://travis-ci.org/postcss/autoprefixer - -## Features - -### Write Pure CSS - -Working with Autoprefixer is simple: just forget about vendor prefixes -and write normal CSS according to the latest W3C specs. You don’t need -a special language (like Sass) or remember where you must use mixins. - -Autoprefixer supports selectors (like `:fullscreen` and `::selection`), -unit function (`calc()`), at‑rules (`@supports` and `@keyframes`) -and properties. - -Because Autoprefixer is a postprocessor for CSS, -you can also use it with preprocessors such as Sass, Stylus or LESS. - -### Flexbox, Filters, etc. - -Just write normal CSS according to the latest W3C specs and Autoprefixer -will produce the code for old browsers. - -```css -a { - display: flex; -} -``` - -compiles to: - -```css -a { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex -} -``` - -Autoprefixer has [27 special hacks] to fix web browser differences. - -[27 special hacks]: https://github.com/postcss/autoprefixer/tree/master/lib/hacks - -### Only Actual Prefixes - -Autoprefixer utilizes the most recent data from [Can I Use] -to add only necessary vendor prefixes. - -It also removes old, unnecessary prefixes from your CSS -(like `border-radius` prefixes, produced by many CSS libraries). - -```css -a { - -webkit-border-radius: 5px; - border-radius: 5px; -} -``` - -compiles to: - -```css -a { - border-radius: 5px; -} -``` - -[Can I Use]: http://caniuse.com/ - -## Browsers - -Autoprefixer uses [Browserslist], so you can specify the browsers -you want to target in your project by queries like `last 2 versions` -or `> 5%`. - -The best way to provide browsers is `browserslist` config -or `package.json` with `browserslist` key. Put it in your project root. - -We recommend to avoid Autoprefixer option and use `browserslist` config -or `package.json`. In this case browsers will be shared with other tools -like [babel-preset-env] or [Stylelint]. - -See [Browserslist docs] for queries, browser names, config format, -and default value. - -[Browserslist docs]: https://github.com/ai/browserslist#queries -[babel-preset-env]: https://github.com/babel/babel-preset-env -[Browserslist]: https://github.com/ai/browserslist -[Stylelint]: http://stylelint.io/ - -## Outdated Prefixes - -By default, Autoprefixer also removes outdated prefixes. - -You can disable this behavior with the `remove: false` option. If you have -no legacy code, this option will make Autoprefixer about 10% faster. - -Also, you can set the `add: false` option. Autoprefixer will only clean outdated -prefixes, but will not add any new prefixes. - -Autoprefixer adds new prefixes between any unprefixed properties and already -written prefixes in your CSS. If it will break the expected prefixes order, -you can clean all prefixes from your CSS and then -add the necessary prefixes again: - -```js -var cleaner = postcss([ autoprefixer({ add: false, browsers: [] }) ]); -var prefixer = postcss([ autoprefixer ]); - -cleaner.process(css).then(function (cleaned) { - return prefixer.process(cleaned.css) -}).then(function (result) { - console.log(result.css); -}); -``` - -## FAQ - -#### No prefixes in production - -Many other tools contain Autoprefixer. For example, webpack uses Autoprefixer -to minify CSS by cleaning unnecessary prefixes. - -If you set browsers list to Autoprefixer by `browsers` option, only first -Autoprefixer will know your browsers. Autoprefixer inside webpack will use -default browsers list. As result, webpack will remove prefixes, that first -Autoprefixer added. - -You need to put your browsers to [`browserslist` config] in project root — -as result all tools (Autoprefixer, cssnano, doiuse, cssnext) will use same -browsers list. - -[`browserslist` config]: https://github.com/ai/browserslist#config-file - -#### Does it add polyfills? - -No. Autoprefixer only adds prefixes. - -Most new CSS features will require client side JavaScript to handle a new -behavior correctly. - -Depending on what you consider to be a “polyfill”, you can take a look at some -other tools and libraries. If you are just looking for syntax sugar, -you might take a look at: - -- [Oldie], a PostCSS plugin that handles some IE hacks (opacity, rgba, etc). -- [postcss-flexbugs-fixes], a PostCSS plugin to fix flexbox issues. -- [cssnext], a tool that allows you to write standard CSS syntax non-implemented - yet in browsers (custom properties, custom media, color functions, etc). - -[postcss-flexbugs-fixes]: https://github.com/luisrudge/postcss-flexbugs-fixes -[cssnext]: https://github.com/MoOx/postcss-cssnext -[Oldie]: https://github.com/jonathantneal/oldie - -#### Why doesn’t Autoprefixer add prefixes to `border-radius`? - -Developers are often surprised by how few prefixes are required today. -If Autoprefixer doesn’t add prefixes to your CSS, check if they’re still -required on [Can I Use]. - -There is a [list with all supported] properties, values, and selectors. - -[list with all supported]: https://github.com/postcss/autoprefixer/wiki/support-list -[Can I Use]: http://caniuse.com/ - -#### Why Autoprefixer uses unprefixed properties in `@-webkit-keyframes`? - -Browser teams can remove some prefixes before others. So we try to use -all combinations of prefixed/unprefixed values. - -#### How to work with legacy `-webkit-` only code? - -Autoprefixer needs unprefixed property to add prefixes. So if you only -wrote `-webkit-gradient` without W3C’s `gradient`, -Autoprefixer will not add other prefixes. - -But [PostCSS] has a plugins to convert CSS to unprefixed state. -Use them before Autoprefixer: - -* [postcss-unprefix] -* [postcss-flexboxfixer] -* [postcss-gradientfixer] - -[postcss-gradientfixer]: https://github.com/hallvors/postcss-gradientfixer -[postcss-flexboxfixer]: https://github.com/hallvors/postcss-flexboxfixer -[postcss-unprefix]: https://github.com/yisibl/postcss-unprefix - -#### Does Autoprefixer add `-epub-` prefix? - -No, Autoprefixer works only with browsers prefixes from Can I Use. -But you can use [postcss-epub](https://github.com/Rycochet/postcss-epub) -for prefixing ePub3 properties. - -#### Why doesn’t Autoprefixer transform generic font-family `system-ui`? - -`system-ui` is technically not a prefix and the transformation is not future-proof. But you can use [postcss-font-family-system-ui](https://github.com/JLHwung/postcss-font-family-system-ui) to transform `system-ui` to a practical font-family list. - -## Usage - -### Gulp - -In Gulp you can use [gulp-postcss] with `autoprefixer` npm package. - -```js -gulp.task('autoprefixer', function () { - var postcss = require('gulp-postcss'); - var sourcemaps = require('gulp-sourcemaps'); - var autoprefixer = require('autoprefixer'); - - return gulp.src('./src/*.css') - .pipe(sourcemaps.init()) - .pipe(postcss([ autoprefixer() ])) - .pipe(sourcemaps.write('.')) - .pipe(gulp.dest('./dest')); -}); -``` - -With `gulp-postcss` you also can combine Autoprefixer -with [other PostCSS plugins]. - -[other PostCSS plugins]: https://github.com/postcss/postcss#plugins -[gulp-postcss]: https://github.com/postcss/gulp-postcss - -### Webpack - -In [webpack] you can use [postcss-loader] with `autoprefixer` -and [other PostCSS plugins]. - -```js -module.exports = { - module: { - loaders: [ - { - test: /\.css$/, - loader: "style-loader!css-loader!postcss-loader" - } - ] - } -} -``` - -And create a `postcss.config.js` with: - -```js -module.exports = { - plugins: [ - require('autoprefixer') - ] -} -``` - -[other PostCSS plugins]: https://github.com/postcss/postcss#plugins -[postcss-loader]: https://github.com/postcss/postcss-loader -[webpack]: http://webpack.github.io/ - -### Grunt - -In Grunt you can use [grunt-postcss] with `autoprefixer` npm package. - -```js -module.exports = function(grunt) { - grunt.loadNpmTasks('grunt-postcss'); - - grunt.initConfig({ - postcss: { - options: { - map: true, - processors: [ - require('autoprefixer') - ] - }, - dist: { - src: 'css/*.css' - } - } - }); - - grunt.registerTask('default', ['postcss:dist']); -}; -``` - -With `grunt-postcss` you also can combine Autoprefixer -with [other PostCSS plugins]. - -[other PostCSS plugins]: https://github.com/postcss/postcss#plugins -[grunt-postcss]: https://github.com/nDmitry/grunt-postcss - -### Other Build Tools: - -* **Ruby on Rails**: [autoprefixer-rails] -* **Brunch**: [postcss-brunch] -* **Broccoli**: [broccoli-postcss] -* **Middleman**: [middleman-autoprefixer] -* **Mincer**: add `autoprefixer` npm package and enable it: - `environment.enable('autoprefixer')` -* **Jekyll**: add `autoprefixer-rails` and `jekyll-assets` to `Gemfile` - -[middleman-autoprefixer]: https://github.com/middleman/middleman-autoprefixer -[autoprefixer-rails]: https://github.com/ai/autoprefixer-rails -[broccoli-postcss]: https://github.com/jeffjewiss/broccoli-postcss -[postcss-brunch]: https://github.com/iamvdo/postcss-brunch - -### Preprocessors - -* **Less**: [less-plugin-autoprefix] -* **Stylus**: [autoprefixer-stylus] -* **Compass**: [autoprefixer-rails#compass] - -[less-plugin-autoprefix]: https://github.com/less/less-plugin-autoprefix -[autoprefixer-stylus]: https://github.com/jenius/autoprefixer-stylus -[autoprefixer-rails#compass]: https://github.com/ai/autoprefixer-rails#compass - -### CSS-in-JS - -There is [postcss-js] to use Autoprefixer in React Inline Styles, [Free Style], -Radium and other CSS-in-JS solutions. - -```js -let prefixer = postcssJs.sync([ autoprefixer ]); -let style = prefixer({ - display: 'flex' -}); -``` - -[postcss-js]: https://github.com/postcss/postcss-js -[Free Style]: https://github.com/blakeembrey/free-style - -### GUI Tools - -* [CodeKit](https://incident57.com/codekit/help.html#autoprefixer) -* [Prepros](https://prepros.io) - -### CLI - -You can use the [postcss-cli] to run Autoprefixer from CLI: - -```sh -npm install --global postcss-cli autoprefixer -postcss --use autoprefixer *.css -d build/ -``` - -See `postcss -h` for help. - -[postcss-cli]: https://github.com/postcss/postcss-cli - -### JavaScript - -You can use Autoprefixer with [PostCSS] in your Node.js application -or if you want to develop an Autoprefixer plugin for new environment. - -```js -var autoprefixer = require('autoprefixer'); -var postcss = require('postcss'); - -postcss([ autoprefixer ]).process(css).then(function (result) { - result.warnings().forEach(function (warn) { - console.warn(warn.toString()); - }); - console.log(result.css); -}); -``` - -There is also [standalone build] for the browser or as a non-Node.js runtime. - -You can use [html-autoprefixer] to process HTML with inlined CSS. - -[html-autoprefixer]: https://github.com/RebelMail/html-autoprefixer -[standalone build]: https://raw.github.com/ai/autoprefixer-rails/master/vendor/autoprefixer.js -[PostCSS]: https://github.com/postcss/postcss - -### Text Editors and IDE - -Autoprefixer should be used in assets build tools. Text editor plugins are not -a good solution, because prefixes decrease code readability and you will need -to change value in all prefixed properties. - -I recommend you to learn how to use build tools like [Gulp]. -They work much better and will open you a whole new world of useful plugins -and automatization. - -But, if you can’t move to a build tool, you can use text editor plugins: - -* [Sublime Text](https://github.com/sindresorhus/sublime-autoprefixer) -* [Brackets](https://github.com/mikaeljorhult/brackets-autoprefixer) -* [Atom Editor](https://github.com/sindresorhus/atom-autoprefixer) -* [Visual Studio](http://vswebessentials.com/) - -[Gulp]: http://gulpjs.com/ - -## Warnings - -Autoprefixer uses the [PostCSS warning API] to warn about really important problems -in your CSS: - -* Old direction syntax in gradients. -* Old unprefixed `display: box` instead of `display: flex` - by latest specification version. - -You can get warnings from `result.warnings()`: - -```js -result.warnings().forEach(function (warn) { - console.warn(warn.toString()); -}); -``` - -Every Autoprefixer runner should display this warnings. - -[PostCSS warning API]: https://github.com/postcss/postcss/blob/master/docs/api.md#warning-class - -## Disabling - -Autoprefixer was designed to have no interface – it just works. -If you need some browser specific hack just write a prefixed property -after the unprefixed one. - -```css -a { - transform: scale(0.5); - -moz-transform: scale(0.6); -} -``` - -If some prefixes were generated in a wrong way, -please create an issue on GitHub. - -Autoprefixer has 4 features, which can be disabled by options: - -* `supports: false` will disable `@supports` parameters prefixing. -* `flexbox: false` will disable flexbox properties prefixing. - Or `flexbox: "no-2009"` will add prefixes only for final and IE - versions of specification. -* `grid: false` will disable Grid Layout prefixes for IE. -* `remove: false` will disable cleaning outdated prefixes. - -If you do not need Autoprefixer in some part of your CSS, -you can use control comments to disable Autoprefixer. - -```css -a { - transition: 1s; /* it will be prefixed */ -} - -b { - /* autoprefixer: off */ - transition: 1s; /* it will not be prefixed */ -} -``` - -Control comments disable Autoprefixer within the whole rule in which -you place it. In the above example, Autoprefixer will be disabled -in the entire `b` rule scope, not only after the comment. - -You can also use comments recursively: - -```css -/* autoprefixer: off */ -@supports (transition: all) { - /* autoprefixer: on */ - a { - /* autoprefixer: off */ - } -} -``` - -In Sass/SCSS you can use all the disable options above, add an exclamation mark -in the start of comment: `/*! autoprefixer: off */`. - -## Options - -Function `autoprefixer(options)` returns new PostCSS plugin. -See [PostCSS API] for plugin usage documentation. - -```js -var plugin = autoprefixer({ cascade: false }); -``` - -There are 8 options: - -* `browsers` (array): list of browsers query (like `last 2 versions`), - which are supported in your project. We recommend to use `browserslist` - config or `browserslist` key in `package.json`, rather than this option - to share browsers with other tools. See [Browserslist docs] for available - queries and default value. -* `env` (string): environment for Browserslist. -* `cascade` (boolean): should Autoprefixer use Visual Cascade, - if CSS is uncompressed. Default: `true` -* `add` (boolean): should Autoprefixer add prefixes. Default is `true`. -* `remove` (boolean): should Autoprefixer [remove outdated] prefixes. - Default is `true`. -* `supports` (boolean): should Autoprefixer add prefixes for `@supports` - parameters. Default is `true`. -* `flexbox` (boolean|string): should Autoprefixer add prefixes for flexbox - properties. With `"no-2009"` value Autoprefixer will add prefixes only - for final and IE versions of specification. Default is `true`. -* `grid` (boolean): should Autoprefixer add IE prefixes for Grid Layout - properties. Default is `true`. -* `stats` (object): custom [usage statistics] for `> 10% in my stats` - browsers query. - -Plugin object has `info()` method for debugging purpose. - -You can use PostCSS processor to process several CSS files -to increase performance. - -[usage statistics]: https://github.com/ai/browserslist#custom-usage-data -[PostCSS API]: https://github.com/postcss/postcss/blob/master/docs/api.md - -## Debug - -You can check which browsers are selected and which properties will be prefixed: - -```js -var info = autoprefixer().info(); -console.log(info); -``` diff --git a/node_modules/autoprefixer/data/prefixes.js b/node_modules/autoprefixer/data/prefixes.js deleted file mode 100644 index 97f6887..0000000 --- a/node_modules/autoprefixer/data/prefixes.js +++ /dev/null @@ -1,669 +0,0 @@ -(function() { - var add, backdropFilter, bckgrndImgOpts, boxdecorbreak, crispedges, cursorsGrab, cursorsNewer, decoration, devdaptation, elementFunction, feature, filterFunction, flexbox, fullscreen, gradients, grid, logicalProps, prefix, readOnly, resolution, result, sort, textAlignLast, textSizeAdjust, textSpacing, transforms3d, userSelectNone, writingMode, - slice = [].slice; - - sort = function(array) { - return array.sort(function(a, b) { - var d; - a = a.split(' '); - b = b.split(' '); - if (a[0] > b[0]) { - return 1; - } else if (a[0] < b[0]) { - return -1; - } else { - d = parseFloat(a[1]) - parseFloat(b[1]); - if (d > 0) { - return 1; - } else if (d < 0) { - return -1; - } else { - return 0; - } - } - }); - }; - - feature = function(data, opts, callback) { - var browser, match, need, ref, ref1, support, version, versions; - if (!callback) { - ref = [opts, {}], callback = ref[0], opts = ref[1]; - } - match = opts.match || /\sx($|\s)/; - need = []; - ref1 = data.stats; - for (browser in ref1) { - versions = ref1[browser]; - for (version in versions) { - support = versions[version]; - if (support.match(match)) { - need.push(browser + ' ' + version); - } - } - } - return callback(sort(need)); - }; - - result = {}; - - prefix = function() { - var data, i, j, k, len, name, names, results; - names = 2 <= arguments.length ? slice.call(arguments, 0, j = arguments.length - 1) : (j = 0, []), data = arguments[j++]; - results = []; - for (k = 0, len = names.length; k < len; k++) { - name = names[k]; - result[name] = {}; - results.push((function() { - var results1; - results1 = []; - for (i in data) { - results1.push(result[name][i] = data[i]); - } - return results1; - })()); - } - return results; - }; - - add = function() { - var data, j, k, len, name, names, results; - names = 2 <= arguments.length ? slice.call(arguments, 0, j = arguments.length - 1) : (j = 0, []), data = arguments[j++]; - results = []; - for (k = 0, len = names.length; k < len; k++) { - name = names[k]; - results.push(result[name].browsers = sort(result[name].browsers.concat(data.browsers))); - } - return results; - }; - - module.exports = result; - - feature(require('caniuse-db/features-json/border-radius.json'), function(browsers) { - return prefix('border-radius', 'border-top-left-radius', 'border-top-right-radius', 'border-bottom-right-radius', 'border-bottom-left-radius', { - mistakes: ['-khtml-', '-ms-', '-o-'], - browsers: browsers, - feature: 'border-radius' - }); - }); - - feature(require('caniuse-db/features-json/css-boxshadow.json'), function(browsers) { - return prefix('box-shadow', { - mistakes: ['-khtml-'], - browsers: browsers, - feature: 'css-boxshadow' - }); - }); - - feature(require('caniuse-db/features-json/css-animation.json'), function(browsers) { - return prefix('animation', 'animation-name', 'animation-duration', 'animation-delay', 'animation-direction', 'animation-fill-mode', 'animation-iteration-count', 'animation-play-state', 'animation-timing-function', '@keyframes', { - mistakes: ['-khtml-', '-ms-'], - browsers: browsers, - feature: 'css-animation' - }); - }); - - feature(require('caniuse-db/features-json/css-transitions.json'), function(browsers) { - return prefix('transition', 'transition-property', 'transition-duration', 'transition-delay', 'transition-timing-function', { - mistakes: ['-khtml-', '-ms-'], - browsers: browsers, - feature: 'css-transitions' - }); - }); - - feature(require('caniuse-db/features-json/transforms2d.json'), function(browsers) { - return prefix('transform', 'transform-origin', { - browsers: browsers, - feature: 'transforms2d' - }); - }); - - transforms3d = require('caniuse-db/features-json/transforms3d.json'); - - feature(transforms3d, function(browsers) { - prefix('perspective', 'perspective-origin', { - browsers: browsers, - feature: 'transforms3d' - }); - return prefix('transform-style', { - mistakes: ['-ms-', '-o-'], - browsers: browsers, - feature: 'transforms3d' - }); - }); - - feature(transforms3d, { - match: /y\sx|y\s#2/ - }, function(browsers) { - return prefix('backface-visibility', { - mistakes: ['-ms-', '-o-'], - browsers: browsers, - feature: 'transforms3d' - }); - }); - - gradients = require('caniuse-db/features-json/css-gradients.json'); - - feature(gradients, { - match: /y\sx/ - }, function(browsers) { - return prefix('linear-gradient', 'repeating-linear-gradient', 'radial-gradient', 'repeating-radial-gradient', { - props: ['background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'], - mistakes: ['-ms-'], - browsers: browsers, - feature: 'css-gradients' - }); - }); - - feature(gradients, { - match: /a\sx/ - }, function(browsers) { - browsers = browsers.map(function(i) { - if (/op/.test(i)) { - return i; - } else { - return i + " old"; - } - }); - return add('linear-gradient', 'repeating-linear-gradient', 'radial-gradient', 'repeating-radial-gradient', { - browsers: browsers, - feature: 'css-gradients' - }); - }); - - feature(require('caniuse-db/features-json/css3-boxsizing.json'), function(browsers) { - return prefix('box-sizing', { - browsers: browsers, - feature: 'css3-boxsizing' - }); - }); - - feature(require('caniuse-db/features-json/css-filters.json'), function(browsers) { - return prefix('filter', { - browsers: browsers, - feature: 'css-filters' - }); - }); - - filterFunction = require('caniuse-db/features-json/css-filter-function.json'); - - feature(filterFunction, function(browsers) { - return prefix('filter-function', { - props: ['background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'], - browsers: browsers, - feature: 'css-filter-function' - }); - }); - - backdropFilter = require('caniuse-db/features-json/css-backdrop-filter.json'); - - feature(backdropFilter, function(browsers) { - return prefix('backdrop-filter', { - browsers: browsers, - feature: 'css-backdrop-filter' - }); - }); - - elementFunction = require('caniuse-db/features-json/css-element-function.json'); - - feature(elementFunction, function(browsers) { - return prefix('element', { - props: ['background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'], - browsers: browsers, - feature: 'css-element-function' - }); - }); - - feature(require('caniuse-db/features-json/multicolumn.json'), function(browsers) { - prefix('columns', 'column-width', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', { - browsers: browsers, - feature: 'multicolumn' - }); - return prefix('column-count', 'column-rule-style', 'column-span', 'column-fill', 'break-before', 'break-after', 'break-inside', { - browsers: browsers, - feature: 'multicolumn' - }); - }); - - userSelectNone = require('caniuse-db/features-json/user-select-none.json'); - - feature(userSelectNone, function(browsers) { - return prefix('user-select', { - mistakes: ['-khtml-'], - browsers: browsers, - feature: 'user-select-none' - }); - }); - - flexbox = require('caniuse-db/features-json/flexbox.json'); - - feature(flexbox, { - match: /a\sx/ - }, function(browsers) { - browsers = browsers.map(function(i) { - if (/ie|firefox/.test(i)) { - return i; - } else { - return i + " 2009"; - } - }); - prefix('display-flex', 'inline-flex', { - props: ['display'], - browsers: browsers, - feature: 'flexbox' - }); - prefix('flex', 'flex-grow', 'flex-shrink', 'flex-basis', { - browsers: browsers, - feature: 'flexbox' - }); - return prefix('flex-direction', 'flex-wrap', 'flex-flow', 'justify-content', 'order', 'align-items', 'align-self', 'align-content', { - browsers: browsers, - feature: 'flexbox' - }); - }); - - feature(flexbox, { - match: /y\sx/ - }, function(browsers) { - add('display-flex', 'inline-flex', { - browsers: browsers, - feature: 'flexbox' - }); - add('flex', 'flex-grow', 'flex-shrink', 'flex-basis', { - browsers: browsers, - feature: 'flexbox' - }); - return add('flex-direction', 'flex-wrap', 'flex-flow', 'justify-content', 'order', 'align-items', 'align-self', 'align-content', { - browsers: browsers, - feature: 'flexbox' - }); - }); - - feature(require('caniuse-db/features-json/calc.json'), function(browsers) { - return prefix('calc', { - props: ['*'], - browsers: browsers, - feature: 'calc' - }); - }); - - bckgrndImgOpts = require('caniuse-db/features-json/background-img-opts.json'); - - feature(bckgrndImgOpts, function(browsers) { - return prefix('background-clip', 'background-origin', 'background-size', { - browsers: browsers, - feature: 'background-img-opts' - }); - }); - - feature(require('caniuse-db/features-json/font-feature.json'), function(browsers) { - return prefix('font-feature-settings', 'font-variant-ligatures', 'font-language-override', { - browsers: browsers, - feature: 'font-feature' - }); - }); - - feature(require('caniuse-db/features-json/font-kerning.json'), function(browsers) { - return prefix('font-kerning', { - browsers: browsers, - feature: 'font-kerning' - }); - }); - - feature(require('caniuse-db/features-json/border-image.json'), function(browsers) { - return prefix('border-image', { - browsers: browsers, - feature: 'border-image' - }); - }); - - feature(require('caniuse-db/features-json/css-selection.json'), function(browsers) { - return prefix('::selection', { - selector: true, - browsers: browsers, - feature: 'css-selection' - }); - }); - - feature(require('caniuse-db/features-json/css-placeholder.json'), function(browsers) { - browsers = browsers.map(function(i) { - var name, ref, version; - ref = i.split(' '), name = ref[0], version = ref[1]; - if (name === 'firefox' && parseFloat(version) <= 18) { - return i + ' old'; - } else { - return i; - } - }); - return prefix('::placeholder', { - selector: true, - browsers: browsers, - feature: 'css-placeholder' - }); - }); - - feature(require('caniuse-db/features-json/css-hyphens.json'), function(browsers) { - return prefix('hyphens', { - browsers: browsers, - feature: 'css-hyphens' - }); - }); - - fullscreen = require('caniuse-db/features-json/fullscreen.json'); - - feature(fullscreen, function(browsers) { - return prefix(':fullscreen', { - selector: true, - browsers: browsers, - feature: 'fullscreen' - }); - }); - - feature(fullscreen, { - match: /x(\s#2|$)/ - }, function(browsers) { - return prefix('::backdrop', { - selector: true, - browsers: browsers, - feature: 'fullscreen' - }); - }); - - feature(require('caniuse-db/features-json/css3-tabsize.json'), function(browsers) { - return prefix('tab-size', { - browsers: browsers, - feature: 'css3-tabsize' - }); - }); - - feature(require('caniuse-db/features-json/intrinsic-width.json'), function(browsers) { - return prefix('max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch', { - props: ['width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size'], - browsers: browsers, - feature: 'intrinsic-width' - }); - }); - - cursorsNewer = require('caniuse-db/features-json/css3-cursors-newer.json'); - - feature(cursorsNewer, function(browsers) { - return prefix('zoom-in', 'zoom-out', { - props: ['cursor'], - browsers: browsers, - feature: 'css3-cursors-newer' - }); - }); - - cursorsGrab = require('caniuse-db/features-json/css3-cursors-grab.json'); - - feature(cursorsGrab, function(browsers) { - return prefix('grab', 'grabbing', { - props: ['cursor'], - browsers: browsers, - feature: 'css3-cursors-grab' - }); - }); - - feature(require('caniuse-db/features-json/css-sticky.json'), function(browsers) { - return prefix('sticky', { - props: ['position'], - browsers: browsers, - feature: 'css-sticky' - }); - }); - - feature(require('caniuse-db/features-json/pointer.json'), function(browsers) { - return prefix('touch-action', { - browsers: browsers, - feature: 'pointer' - }); - }); - - decoration = require('caniuse-db/features-json/text-decoration.json'); - - feature(decoration, function(browsers) { - return prefix('text-decoration-style', 'text-decoration-color', 'text-decoration-line', { - browsers: browsers, - feature: 'text-decoration' - }); - }); - - feature(decoration, { - match: /x.*#[23]/ - }, function(browsers) { - return prefix('text-decoration-skip', { - browsers: browsers, - feature: 'text-decoration' - }); - }); - - textSizeAdjust = require('caniuse-db/features-json/text-size-adjust.json'); - - feature(textSizeAdjust, function(browsers) { - return prefix('text-size-adjust', { - browsers: browsers, - feature: 'text-size-adjust' - }); - }); - - feature(require('caniuse-db/features-json/css-masks.json'), function(browsers) { - prefix('mask-clip', 'mask-composite', 'mask-image', 'mask-origin', 'mask-repeat', 'mask-border-repeat', 'mask-border-source', { - browsers: browsers, - feature: 'css-masks' - }); - return prefix('mask', 'mask-position', 'mask-size', 'mask-border', 'mask-border-outset', 'mask-border-width', 'mask-border-slice', { - browsers: browsers, - feature: 'css-masks' - }); - }); - - feature(require('caniuse-db/features-json/css-clip-path.json'), function(browsers) { - return prefix('clip-path', { - browsers: browsers, - feature: 'css-clip-path' - }); - }); - - boxdecorbreak = require('caniuse-db/features-json/css-boxdecorationbreak.json'); - - feature(boxdecorbreak, function(browsers) { - return prefix('box-decoration-break', { - browsers: browsers, - feature: 'css-boxdecorationbreak' - }); - }); - - feature(require('caniuse-db/features-json/object-fit.json'), function(browsers) { - return prefix('object-fit', 'object-position', { - browsers: browsers, - feature: 'object-fit' - }); - }); - - feature(require('caniuse-db/features-json/css-shapes.json'), function(browsers) { - return prefix('shape-margin', 'shape-outside', 'shape-image-threshold', { - browsers: browsers, - feature: 'css-shapes' - }); - }); - - feature(require('caniuse-db/features-json/text-overflow.json'), function(browsers) { - return prefix('text-overflow', { - browsers: browsers, - feature: 'text-overflow' - }); - }); - - devdaptation = require('caniuse-db/features-json/css-deviceadaptation.json'); - - feature(devdaptation, function(browsers) { - return prefix('@viewport', { - browsers: browsers, - feature: 'css-deviceadaptation' - }); - }); - - resolution = require('caniuse-db/features-json/css-media-resolution.json'); - - feature(resolution, { - match: /( x($| )|a #3)/ - }, function(browsers) { - return prefix('@resolution', { - browsers: browsers, - feature: 'css-media-resolution' - }); - }); - - textAlignLast = require('caniuse-db/features-json/css-text-align-last.json'); - - feature(textAlignLast, function(browsers) { - return prefix('text-align-last', { - browsers: browsers, - feature: 'css-text-align-last' - }); - }); - - crispedges = require('caniuse-db/features-json/css-crisp-edges.json'); - - feature(crispedges, { - match: /y x|a x #1/ - }, function(browsers) { - return prefix('pixelated', { - props: ['image-rendering'], - browsers: browsers, - feature: 'css-crisp-edges' - }); - }); - - feature(crispedges, { - match: /a x #2/ - }, function(browsers) { - return prefix('image-rendering', { - browsers: browsers, - feature: 'css-crisp-edges' - }); - }); - - logicalProps = require('caniuse-db/features-json/css-logical-props.json'); - - feature(logicalProps, function(browsers) { - return prefix('border-inline-start', 'border-inline-end', 'margin-inline-start', 'margin-inline-end', 'padding-inline-start', 'padding-inline-end', { - browsers: browsers, - feature: 'css-logical-props' - }); - }); - - feature(logicalProps, { - match: /x\s#2/ - }, function(browsers) { - return prefix('border-block-start', 'border-block-end', 'margin-block-start', 'margin-block-end', 'padding-block-start', 'padding-block-end', { - browsers: browsers, - feature: 'css-logical-props' - }); - }); - - feature(require('caniuse-db/features-json/css-appearance.json'), function(browsers) { - return prefix('appearance', { - browsers: browsers, - feature: 'css-appearance' - }); - }); - - feature(require('caniuse-db/features-json/css-snappoints.json'), function(browsers) { - return prefix('scroll-snap-type', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scroll-snap-points-x', 'scroll-snap-points-y', { - browsers: browsers, - feature: 'css-snappoints' - }); - }); - - feature(require('caniuse-db/features-json/css-regions.json'), function(browsers) { - return prefix('flow-into', 'flow-from', 'region-fragment', { - browsers: browsers, - feature: 'css-regions' - }); - }); - - feature(require('caniuse-db/features-json/css-image-set.json'), function(browsers) { - return prefix('image-set', { - props: ['background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'], - browsers: browsers, - feature: 'css-image-set' - }); - }); - - writingMode = require('caniuse-db/features-json/css-writing-mode.json'); - - feature(writingMode, { - match: /a|x/ - }, function(browsers) { - return prefix('writing-mode', { - browsers: browsers, - feature: 'css-writing-mode' - }); - }); - - feature(require('caniuse-db/features-json/css-cross-fade.json'), function(browsers) { - return prefix('cross-fade', { - props: ['background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'], - browsers: browsers, - feature: 'css-cross-fade' - }); - }); - - readOnly = require('caniuse-db/features-json/css-read-only-write.json'); - - feature(readOnly, function(browsers) { - return prefix(':read-only', ':read-write', { - selector: true, - browsers: browsers, - feature: 'css-read-only-write' - }); - }); - - feature(require('caniuse-db/features-json/text-emphasis.json'), function(browsers) { - return prefix('text-emphasis', 'text-emphasis-position', 'text-emphasis-style', 'text-emphasis-color', { - browsers: browsers, - feature: 'text-emphasis' - }); - }); - - grid = require('caniuse-db/features-json/css-grid.json'); - - feature(grid, function(browsers) { - prefix('display-grid', 'inline-grid', { - props: ['display'], - browsers: browsers, - feature: 'css-grid' - }); - return prefix('grid-template-columns', 'grid-template-rows', 'grid-row-start', 'grid-column-start', 'grid-row-end', 'grid-column-end', 'grid-row', 'grid-column', { - browsers: browsers, - feature: 'css-grid' - }); - }); - - feature(grid, { - match: /a x/ - }, function(browsers) { - return prefix('justify-items', 'grid-row-align', { - browsers: browsers, - feature: 'css-grid' - }); - }); - - textSpacing = require('caniuse-db/features-json/css-text-spacing.json'); - - feature(textSpacing, function(browsers) { - return prefix('text-spacing', { - browsers: browsers, - feature: 'css-text-spacing' - }); - }); - - feature(require('caniuse-db/features-json/css-any-link.json'), function(browsers) { - return prefix(':any-link', { - selector: true, - browsers: browsers, - feature: 'css-any-link' - }); - }); - -}).call(this); diff --git a/node_modules/autoprefixer/lib/at-rule.js b/node_modules/autoprefixer/lib/at-rule.js deleted file mode 100644 index 9b51076..0000000 --- a/node_modules/autoprefixer/lib/at-rule.js +++ /dev/null @@ -1,51 +0,0 @@ -(function() { - var AtRule, Prefixer, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Prefixer = require('./prefixer'); - - AtRule = (function(superClass) { - extend(AtRule, superClass); - - function AtRule() { - return AtRule.__super__.constructor.apply(this, arguments); - } - - AtRule.prototype.add = function(rule, prefix) { - var already, cloned, prefixed; - prefixed = prefix + rule.name; - already = rule.parent.some(function(i) { - return i.name === prefixed && i.params === rule.params; - }); - if (already) { - return; - } - cloned = this.clone(rule, { - name: prefixed - }); - return rule.parent.insertBefore(rule, cloned); - }; - - AtRule.prototype.process = function(node) { - var j, len, parent, prefix, ref, results; - parent = this.parentPrefix(node); - ref = this.prefixes; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - prefix = ref[j]; - if (parent && parent !== prefix) { - continue; - } - results.push(this.add(node, prefix)); - } - return results; - }; - - return AtRule; - - })(Prefixer); - - module.exports = AtRule; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/autoprefixer.js b/node_modules/autoprefixer/lib/autoprefixer.js deleted file mode 100644 index ac7e60e..0000000 --- a/node_modules/autoprefixer/lib/autoprefixer.js +++ /dev/null @@ -1,92 +0,0 @@ -(function() { - var Browsers, Prefixes, browserslist, cache, isPlainObject, postcss, timeCapsule, - slice = [].slice; - - browserslist = require('browserslist'); - - postcss = require('postcss'); - - Browsers = require('./browsers'); - - Prefixes = require('./prefixes'); - - isPlainObject = function(obj) { - return Object.prototype.toString.apply(obj) === '[object Object]'; - }; - - cache = {}; - - timeCapsule = function(result, prefixes) { - if (prefixes.browsers.selected.length === 0) { - return; - } - if (prefixes.add.selectors.length > 0) { - return; - } - if (Object.keys(prefixes.add).length > 2) { - return; - } - return result.warn('Greetings, time traveller. ' + 'We are in the golden age of prefix-less CSS, ' + 'where Autoprefixer is no longer needed for your stylesheet.'); - }; - - module.exports = postcss.plugin('autoprefixer', function() { - var loadPrefixes, options, plugin, reqs; - reqs = 1 <= arguments.length ? slice.call(arguments, 0) : []; - if (reqs.length === 1 && isPlainObject(reqs[0])) { - options = reqs[0]; - reqs = void 0; - } else if (reqs.length === 0 || (reqs.length === 1 && (reqs[0] == null))) { - reqs = void 0; - } else if (reqs.length <= 2 && (reqs[0] instanceof Array || (reqs[0] == null))) { - options = reqs[1]; - reqs = reqs[0]; - } else if (typeof reqs[reqs.length - 1] === 'object') { - options = reqs.pop(); - } - options || (options = {}); - if (options.browser) { - throw new Error('Change `browser` option to `browsers` in Autoprefixer'); - } - if (options.browsers != null) { - reqs = options.browsers; - } - loadPrefixes = function(opts) { - var browsers, key, stats; - stats = options.stats; - browsers = new Browsers(module.exports.data.browsers, reqs, opts, stats); - key = browsers.selected.join(', ') + JSON.stringify(options); - return cache[key] || (cache[key] = new Prefixes(module.exports.data.prefixes, browsers, options)); - }; - plugin = function(css, result) { - var prefixes, ref; - prefixes = loadPrefixes({ - from: (ref = css.source) != null ? ref.input.file : void 0, - env: options.env - }); - timeCapsule(result, prefixes); - if (options.remove !== false) { - prefixes.processor.remove(css); - } - if (options.add !== false) { - return prefixes.processor.add(css, result); - } - }; - plugin.options = options; - plugin.info = function(opts) { - return require('./info')(loadPrefixes(opts)); - }; - return plugin; - }); - - module.exports.data = { - browsers: require('caniuse-db/data.json').agents, - prefixes: require('../data/prefixes') - }; - - module.exports.defaults = browserslist.defaults; - - module.exports.info = function() { - return module.exports().info(); - }; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/brackets.js b/node_modules/autoprefixer/lib/brackets.js deleted file mode 100644 index eab0f01..0000000 --- a/node_modules/autoprefixer/lib/brackets.js +++ /dev/null @@ -1,46 +0,0 @@ -(function() { - var brackets, last; - - last = function(array) { - return array[array.length - 1]; - }; - - brackets = { - parse: function(str) { - var current, j, len, stack, sym; - current = ['']; - stack = [current]; - for (j = 0, len = str.length; j < len; j++) { - sym = str[j]; - if (sym === '(') { - current = ['']; - last(stack).push(current); - stack.push(current); - } else if (sym === ')') { - stack.pop(); - current = last(stack); - current.push(''); - } else { - current[current.length - 1] += sym; - } - } - return stack[0]; - }, - stringify: function(ast) { - var i, j, len, result; - result = ''; - for (j = 0, len = ast.length; j < len; j++) { - i = ast[j]; - if (typeof i === 'object') { - result += '(' + brackets.stringify(i) + ')'; - } else { - result += i; - } - } - return result; - } - }; - - module.exports = brackets; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/browsers.js b/node_modules/autoprefixer/lib/browsers.js deleted file mode 100644 index 217f110..0000000 --- a/node_modules/autoprefixer/lib/browsers.js +++ /dev/null @@ -1,86 +0,0 @@ -(function() { - var Browsers, browserslist, utils; - - browserslist = require('browserslist'); - - utils = require('./utils'); - - Browsers = (function() { - Browsers.prefixes = function() { - var data, i, name; - if (this.prefixesCache) { - return this.prefixesCache; - } - data = require('caniuse-db/data.json').agents; - return this.prefixesCache = utils.uniq((function() { - var results; - results = []; - for (name in data) { - i = data[name]; - results.push("-" + i.prefix + "-"); - } - return results; - })()).sort(function(a, b) { - return b.length - a.length; - }); - }; - - Browsers.withPrefix = function(value) { - if (!this.prefixesRegexp) { - this.prefixesRegexp = RegExp("" + (this.prefixes().join('|'))); - } - return this.prefixesRegexp.test(value); - }; - - function Browsers(data1, requirements, options, stats) { - this.data = data1; - this.options = options; - this.stats = stats; - this.selected = this.parse(requirements); - } - - Browsers.prototype.parse = function(requirements) { - var ref, ref1; - return browserslist(requirements, { - stats: this.stats, - path: (ref = this.options) != null ? ref.from : void 0, - env: (ref1 = this.options) != null ? ref1.env : void 0 - }); - }; - - Browsers.prototype.browsers = function(criteria) { - var browser, data, ref, selected, versions; - selected = []; - ref = this.data; - for (browser in ref) { - data = ref[browser]; - versions = criteria(data).map(function(version) { - return browser + " " + version; - }); - selected = selected.concat(versions); - } - return selected; - }; - - Browsers.prototype.prefix = function(browser) { - var data, name, prefix, ref, version; - ref = browser.split(' '), name = ref[0], version = ref[1]; - data = this.data[name]; - if (data.prefix_exceptions) { - prefix = data.prefix_exceptions[version]; - } - prefix || (prefix = data.prefix); - return '-' + prefix + '-'; - }; - - Browsers.prototype.isSelected = function(browser) { - return this.selected.indexOf(browser) !== -1; - }; - - return Browsers; - - })(); - - module.exports = Browsers; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/declaration.js b/node_modules/autoprefixer/lib/declaration.js deleted file mode 100644 index 98cdbec..0000000 --- a/node_modules/autoprefixer/lib/declaration.js +++ /dev/null @@ -1,162 +0,0 @@ -(function() { - var Browsers, Declaration, Prefixer, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Prefixer = require('./prefixer'); - - Browsers = require('./browsers'); - - utils = require('./utils'); - - Declaration = (function(superClass) { - extend(Declaration, superClass); - - function Declaration() { - return Declaration.__super__.constructor.apply(this, arguments); - } - - Declaration.prototype.check = function(decl) { - return true; - }; - - Declaration.prototype.prefixed = function(prop, prefix) { - return prefix + prop; - }; - - Declaration.prototype.normalize = function(prop) { - return prop; - }; - - Declaration.prototype.otherPrefixes = function(value, prefix) { - var j, len, other, ref; - ref = Browsers.prefixes(); - for (j = 0, len = ref.length; j < len; j++) { - other = ref[j]; - if (other === prefix) { - continue; - } - if (value.indexOf(other) !== -1) { - return true; - } - } - return false; - }; - - Declaration.prototype.set = function(decl, prefix) { - decl.prop = this.prefixed(decl.prop, prefix); - return decl; - }; - - Declaration.prototype.needCascade = function(decl) { - return decl._autoprefixerCascade || (decl._autoprefixerCascade = this.all.options.cascade !== false && decl.raw('before').indexOf('\n') !== -1); - }; - - Declaration.prototype.maxPrefixed = function(prefixes, decl) { - var j, len, max, prefix; - if (decl._autoprefixerMax) { - return decl._autoprefixerMax; - } - max = 0; - for (j = 0, len = prefixes.length; j < len; j++) { - prefix = prefixes[j]; - prefix = utils.removeNote(prefix); - if (prefix.length > max) { - max = prefix.length; - } - } - return decl._autoprefixerMax = max; - }; - - Declaration.prototype.calcBefore = function(prefixes, decl, prefix) { - var before, diff, i, j, max, ref; - if (prefix == null) { - prefix = ''; - } - before = decl.raw('before'); - max = this.maxPrefixed(prefixes, decl); - diff = max - utils.removeNote(prefix).length; - for (i = j = 0, ref = diff; 0 <= ref ? j < ref : j > ref; i = 0 <= ref ? ++j : --j) { - before += ' '; - } - return before; - }; - - Declaration.prototype.restoreBefore = function(decl) { - var lines, min; - lines = decl.raw('before').split("\n"); - min = lines[lines.length - 1]; - this.all.group(decl).up(function(prefixed) { - var array, last; - array = prefixed.raw('before').split("\n"); - last = array[array.length - 1]; - if (last.length < min.length) { - return min = last; - } - }); - lines[lines.length - 1] = min; - return decl.raws.before = lines.join("\n"); - }; - - Declaration.prototype.insert = function(decl, prefix, prefixes) { - var already, cloned; - cloned = this.set(this.clone(decl), prefix); - if (!cloned) { - return; - } - already = decl.parent.some(function(i) { - return i.prop === cloned.prop && i.value === cloned.value; - }); - if (already) { - return; - } - if (this.needCascade(decl)) { - cloned.raws.before = this.calcBefore(prefixes, decl, prefix); - } - return decl.parent.insertBefore(decl, cloned); - }; - - Declaration.prototype.isAlready = function(decl, prefixed) { - var already; - already = this.all.group(decl).up(function(i) { - return i.prop === prefixed; - }); - already || (already = this.all.group(decl).down(function(i) { - return i.prop === prefixed; - })); - return already; - }; - - Declaration.prototype.add = function(decl, prefix, prefixes) { - var prefixed; - prefixed = this.prefixed(decl.prop, prefix); - if (this.isAlready(decl, prefixed) || this.otherPrefixes(decl.value, prefix)) { - return; - } - return this.insert(decl, prefix, prefixes); - }; - - Declaration.prototype.process = function(decl) { - var prefixes; - if (this.needCascade(decl)) { - prefixes = Declaration.__super__.process.apply(this, arguments); - if (prefixes != null ? prefixes.length : void 0) { - this.restoreBefore(decl); - return decl.raws.before = this.calcBefore(prefixes, decl); - } - } else { - return Declaration.__super__.process.apply(this, arguments); - } - }; - - Declaration.prototype.old = function(prop, prefix) { - return [this.prefixed(prop, prefix)]; - }; - - return Declaration; - - })(Prefixer); - - module.exports = Declaration; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/align-content.js b/node_modules/autoprefixer/lib/hacks/align-content.js deleted file mode 100644 index 627c91e..0000000 --- a/node_modules/autoprefixer/lib/hacks/align-content.js +++ /dev/null @@ -1,57 +0,0 @@ -(function() { - var AlignContent, Declaration, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - AlignContent = (function(superClass) { - extend(AlignContent, superClass); - - function AlignContent() { - return AlignContent.__super__.constructor.apply(this, arguments); - } - - AlignContent.names = ['align-content', 'flex-line-pack']; - - AlignContent.oldValues = { - 'flex-end': 'end', - 'flex-start': 'start', - 'space-between': 'justify', - 'space-around': 'distribute' - }; - - AlignContent.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012) { - return prefix + 'flex-line-pack'; - } else { - return AlignContent.__super__.prefixed.apply(this, arguments); - } - }; - - AlignContent.prototype.normalize = function(prop) { - return 'align-content'; - }; - - AlignContent.prototype.set = function(decl, prefix) { - var spec; - spec = flexSpec(prefix)[0]; - if (spec === 2012) { - decl.value = AlignContent.oldValues[decl.value] || decl.value; - return AlignContent.__super__.set.call(this, decl, prefix); - } else if (spec === 'final') { - return AlignContent.__super__.set.apply(this, arguments); - } - }; - - return AlignContent; - - })(Declaration); - - module.exports = AlignContent; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/align-items.js b/node_modules/autoprefixer/lib/hacks/align-items.js deleted file mode 100644 index cae3ef1..0000000 --- a/node_modules/autoprefixer/lib/hacks/align-items.js +++ /dev/null @@ -1,57 +0,0 @@ -(function() { - var AlignItems, Declaration, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - AlignItems = (function(superClass) { - extend(AlignItems, superClass); - - function AlignItems() { - return AlignItems.__super__.constructor.apply(this, arguments); - } - - AlignItems.names = ['align-items', 'flex-align', 'box-align']; - - AlignItems.oldValues = { - 'flex-end': 'end', - 'flex-start': 'start' - }; - - AlignItems.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return prefix + 'box-align'; - } else if (spec === 2012) { - return prefix + 'flex-align'; - } else { - return AlignItems.__super__.prefixed.apply(this, arguments); - } - }; - - AlignItems.prototype.normalize = function(prop) { - return 'align-items'; - }; - - AlignItems.prototype.set = function(decl, prefix) { - var spec; - spec = flexSpec(prefix)[0]; - if (spec === 2009 || spec === 2012) { - decl.value = AlignItems.oldValues[decl.value] || decl.value; - return AlignItems.__super__.set.call(this, decl, prefix); - } else { - return AlignItems.__super__.set.apply(this, arguments); - } - }; - - return AlignItems; - - })(Declaration); - - module.exports = AlignItems; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/align-self.js b/node_modules/autoprefixer/lib/hacks/align-self.js deleted file mode 100644 index 7103cf7..0000000 --- a/node_modules/autoprefixer/lib/hacks/align-self.js +++ /dev/null @@ -1,55 +0,0 @@ -(function() { - var AlignSelf, Declaration, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - AlignSelf = (function(superClass) { - extend(AlignSelf, superClass); - - function AlignSelf() { - return AlignSelf.__super__.constructor.apply(this, arguments); - } - - AlignSelf.names = ['align-self', 'flex-item-align']; - - AlignSelf.oldValues = { - 'flex-end': 'end', - 'flex-start': 'start' - }; - - AlignSelf.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012) { - return prefix + 'flex-item-align'; - } else { - return AlignSelf.__super__.prefixed.apply(this, arguments); - } - }; - - AlignSelf.prototype.normalize = function(prop) { - return 'align-self'; - }; - - AlignSelf.prototype.set = function(decl, prefix) { - var spec; - spec = flexSpec(prefix)[0]; - if (spec === 2012) { - decl.value = AlignSelf.oldValues[decl.value] || decl.value; - return AlignSelf.__super__.set.call(this, decl, prefix); - } else if (spec === 'final') { - return AlignSelf.__super__.set.apply(this, arguments); - } - }; - - return AlignSelf; - - })(Declaration); - - module.exports = AlignSelf; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/background-size.js b/node_modules/autoprefixer/lib/hacks/background-size.js deleted file mode 100644 index 6109b0a..0000000 --- a/node_modules/autoprefixer/lib/hacks/background-size.js +++ /dev/null @@ -1,32 +0,0 @@ -(function() { - var BackgroundSize, Declaration, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - BackgroundSize = (function(superClass) { - extend(BackgroundSize, superClass); - - function BackgroundSize() { - return BackgroundSize.__super__.constructor.apply(this, arguments); - } - - BackgroundSize.names = ['background-size']; - - BackgroundSize.prototype.set = function(decl, prefix) { - var value; - value = decl.value.toLowerCase(); - if (prefix === '-webkit-' && value.indexOf(' ') === -1 && value !== 'contain' && value !== 'cover') { - decl.value = decl.value + ' ' + decl.value; - } - return BackgroundSize.__super__.set.call(this, decl, prefix); - }; - - return BackgroundSize; - - })(Declaration); - - module.exports = BackgroundSize; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/block-logical.js b/node_modules/autoprefixer/lib/hacks/block-logical.js deleted file mode 100644 index 261cab2..0000000 --- a/node_modules/autoprefixer/lib/hacks/block-logical.js +++ /dev/null @@ -1,35 +0,0 @@ -(function() { - var BlockLogical, Declaration, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - BlockLogical = (function(superClass) { - extend(BlockLogical, superClass); - - function BlockLogical() { - return BlockLogical.__super__.constructor.apply(this, arguments); - } - - BlockLogical.names = ['border-block-start', 'border-block-end', 'margin-block-start', 'margin-block-end', 'padding-block-start', 'padding-block-end', 'border-before', 'border-after', 'margin-before', 'margin-after', 'padding-before', 'padding-after']; - - BlockLogical.prototype.prefixed = function(prop, prefix) { - return prefix + (prop.indexOf('-start') !== -1 ? prop.replace('-block-start', '-before') : prop.replace('-block-end', '-after')); - }; - - BlockLogical.prototype.normalize = function(prop) { - if (prop.indexOf('-before') !== -1) { - return prop.replace('-before', '-block-start'); - } else { - return prop.replace('-after', '-block-end'); - } - }; - - return BlockLogical; - - })(Declaration); - - module.exports = BlockLogical; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/border-image.js b/node_modules/autoprefixer/lib/hacks/border-image.js deleted file mode 100644 index a08f36b..0000000 --- a/node_modules/autoprefixer/lib/hacks/border-image.js +++ /dev/null @@ -1,28 +0,0 @@ -(function() { - var BorderImage, Declaration, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - BorderImage = (function(superClass) { - extend(BorderImage, superClass); - - function BorderImage() { - return BorderImage.__super__.constructor.apply(this, arguments); - } - - BorderImage.names = ['border-image']; - - BorderImage.prototype.set = function(decl, prefix) { - decl.value = decl.value.replace(/\s+fill(\s)/, '$1'); - return BorderImage.__super__.set.call(this, decl, prefix); - }; - - return BorderImage; - - })(Declaration); - - module.exports = BorderImage; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/border-radius.js b/node_modules/autoprefixer/lib/hacks/border-radius.js deleted file mode 100644 index 71452e3..0000000 --- a/node_modules/autoprefixer/lib/hacks/border-radius.js +++ /dev/null @@ -1,56 +0,0 @@ -(function() { - var BorderRadius, Declaration, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - BorderRadius = (function(superClass) { - var hor, i, j, len, len1, mozilla, normal, ref, ref1, ver; - - extend(BorderRadius, superClass); - - function BorderRadius() { - return BorderRadius.__super__.constructor.apply(this, arguments); - } - - BorderRadius.names = ['border-radius']; - - BorderRadius.toMozilla = {}; - - BorderRadius.toNormal = {}; - - ref = ['top', 'bottom']; - for (i = 0, len = ref.length; i < len; i++) { - ver = ref[i]; - ref1 = ['left', 'right']; - for (j = 0, len1 = ref1.length; j < len1; j++) { - hor = ref1[j]; - normal = "border-" + ver + "-" + hor + "-radius"; - mozilla = "border-radius-" + ver + hor; - BorderRadius.names.push(normal); - BorderRadius.names.push(mozilla); - BorderRadius.toMozilla[normal] = mozilla; - BorderRadius.toNormal[mozilla] = normal; - } - } - - BorderRadius.prototype.prefixed = function(prop, prefix) { - if (prefix === '-moz-') { - return prefix + (BorderRadius.toMozilla[prop] || prop); - } else { - return BorderRadius.__super__.prefixed.apply(this, arguments); - } - }; - - BorderRadius.prototype.normalize = function(prop) { - return BorderRadius.toNormal[prop] || prop; - }; - - return BorderRadius; - - })(Declaration); - - module.exports = BorderRadius; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/break-props.js b/node_modules/autoprefixer/lib/hacks/break-props.js deleted file mode 100644 index 9c549e6..0000000 --- a/node_modules/autoprefixer/lib/hacks/break-props.js +++ /dev/null @@ -1,64 +0,0 @@ -(function() { - var BreakProps, Declaration, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - BreakProps = (function(superClass) { - extend(BreakProps, superClass); - - function BreakProps() { - return BreakProps.__super__.constructor.apply(this, arguments); - } - - BreakProps.names = ['break-inside', 'page-break-inside', 'column-break-inside', 'break-before', 'page-break-before', 'column-break-before', 'break-after', 'page-break-after', 'column-break-after']; - - BreakProps.prototype.prefixed = function(prop, prefix) { - if (prefix === '-webkit-') { - return '-webkit-column-' + prop; - } else if (prefix === '-moz-') { - return 'page-' + prop; - } else { - return BreakProps.__super__.prefixed.apply(this, arguments); - } - }; - - BreakProps.prototype.normalize = function(prop) { - if (prop.indexOf('inside') !== -1) { - return 'break-inside'; - } else if (prop.indexOf('before') !== -1) { - return 'break-before'; - } else if (prop.indexOf('after') !== -1) { - return 'break-after'; - } - }; - - BreakProps.prototype.set = function(decl, prefix) { - var v; - v = decl.value; - if (decl.prop === 'break-inside' && v === 'avoid-column' || v === 'avoid-page') { - decl.value = 'avoid'; - } - return BreakProps.__super__.set.apply(this, arguments); - }; - - BreakProps.prototype.insert = function(decl, prefix, prefixes) { - if (decl.prop !== 'break-inside') { - return BreakProps.__super__.insert.apply(this, arguments); - } else if (decl.value === 'avoid-region') { - - } else if (decl.value === 'avoid-page' && prefix === '-webkit-') { - - } else { - return BreakProps.__super__.insert.apply(this, arguments); - } - }; - - return BreakProps; - - })(Declaration); - - module.exports = BreakProps; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/cross-fade.js b/node_modules/autoprefixer/lib/hacks/cross-fade.js deleted file mode 100644 index ed509ed..0000000 --- a/node_modules/autoprefixer/lib/hacks/cross-fade.js +++ /dev/null @@ -1,53 +0,0 @@ -(function() { - var CrossFade, OldValue, Value, list, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldValue = require('../old-value'); - - Value = require('../value'); - - utils = require('../utils'); - - list = require('postcss/lib/list'); - - CrossFade = (function(superClass) { - extend(CrossFade, superClass); - - function CrossFade() { - return CrossFade.__super__.constructor.apply(this, arguments); - } - - CrossFade.names = ['cross-fade']; - - CrossFade.prototype.replace = function(string, prefix) { - return list.space(string).map((function(_this) { - return function(value) { - var after, args, close, match; - if (value.slice(0, +_this.name.length + 1 || 9e9) !== _this.name + '(') { - return value; - } - close = value.lastIndexOf(')'); - after = value.slice(close + 1); - args = value.slice(_this.name.length + 1, +(close - 1) + 1 || 9e9); - if (prefix === '-webkit-') { - match = args.match(/\d*.?\d+%?/); - if (match) { - args = args.slice(match[0].length).trim(); - args += ', ' + match[0]; - } else { - args += ', 0.5'; - } - } - return prefix + _this.name + '(' + args + ')' + after; - }; - })(this)).join(' '); - }; - - return CrossFade; - - })(Value); - - module.exports = CrossFade; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/display-flex.js b/node_modules/autoprefixer/lib/hacks/display-flex.js deleted file mode 100644 index 2fdc914..0000000 --- a/node_modules/autoprefixer/lib/hacks/display-flex.js +++ /dev/null @@ -1,52 +0,0 @@ -(function() { - var DisplayFlex, OldValue, Value, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - OldValue = require('../old-value'); - - Value = require('../value'); - - DisplayFlex = (function(superClass) { - extend(DisplayFlex, superClass); - - DisplayFlex.names = ['display-flex', 'inline-flex']; - - function DisplayFlex(name, prefixes) { - DisplayFlex.__super__.constructor.apply(this, arguments); - if (name === 'display-flex') { - this.name = 'flex'; - } - } - - DisplayFlex.prototype.check = function(decl) { - return decl.prop === 'display' && decl.value === this.name; - }; - - DisplayFlex.prototype.prefixed = function(prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - return prefix + (spec === 2009 ? this.name === 'flex' ? 'box' : 'inline-box' : spec === 2012 ? this.name === 'flex' ? 'flexbox' : 'inline-flexbox' : spec === 'final' ? this.name : void 0); - }; - - DisplayFlex.prototype.replace = function(string, prefix) { - return this.prefixed(prefix); - }; - - DisplayFlex.prototype.old = function(prefix) { - var prefixed; - prefixed = this.prefixed(prefix); - if (prefixed) { - return new OldValue(this.name, prefixed); - } - }; - - return DisplayFlex; - - })(Value); - - module.exports = DisplayFlex; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/display-grid.js b/node_modules/autoprefixer/lib/hacks/display-grid.js deleted file mode 100644 index 80e277d..0000000 --- a/node_modules/autoprefixer/lib/hacks/display-grid.js +++ /dev/null @@ -1,34 +0,0 @@ -(function() { - var DisplayGrid, OldValue, Value, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - OldValue = require('../old-value'); - - Value = require('../value'); - - DisplayGrid = (function(superClass) { - extend(DisplayGrid, superClass); - - DisplayGrid.names = ['display-grid', 'inline-grid']; - - function DisplayGrid(name, prefixes) { - DisplayGrid.__super__.constructor.apply(this, arguments); - if (name === 'display-grid') { - this.name = 'grid'; - } - } - - DisplayGrid.prototype.check = function(decl) { - return decl.prop === 'display' && decl.value === this.name; - }; - - return DisplayGrid; - - })(Value); - - module.exports = DisplayGrid; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/filter-value.js b/node_modules/autoprefixer/lib/hacks/filter-value.js deleted file mode 100644 index fece9fd..0000000 --- a/node_modules/autoprefixer/lib/hacks/filter-value.js +++ /dev/null @@ -1,72 +0,0 @@ -(function() { - var FilterValue, OldFilterValue, OldValue, Value, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldValue = require('../old-value'); - - Value = require('../value'); - - utils = require('../utils'); - - OldFilterValue = (function(superClass) { - extend(OldFilterValue, superClass); - - function OldFilterValue() { - return OldFilterValue.__super__.constructor.apply(this, arguments); - } - - OldFilterValue.prototype.clean = function(decl) { - return decl.value = utils.editList(decl.value, (function(_this) { - return function(props) { - if (props.every(function(i) { - return i.indexOf(_this.unprefixed) !== 0; - })) { - return props; - } - return props.filter(function(i) { - return i.indexOf(_this.prefixed) === -1; - }); - }; - })(this)); - }; - - return OldFilterValue; - - })(OldValue); - - FilterValue = (function(superClass) { - extend(FilterValue, superClass); - - FilterValue.names = ['filter', 'filter-function']; - - function FilterValue(name, prefixes) { - FilterValue.__super__.constructor.apply(this, arguments); - if (name === 'filter-function') { - this.name = 'filter'; - } - } - - FilterValue.prototype.replace = function(value, prefix) { - if (prefix === '-webkit-' && value.indexOf('filter(') === -1) { - if (value.indexOf('-webkit-filter') === -1) { - return FilterValue.__super__.replace.apply(this, arguments) + ', ' + value; - } else { - return value; - } - } else { - return FilterValue.__super__.replace.apply(this, arguments); - } - }; - - FilterValue.prototype.old = function(prefix) { - return new OldFilterValue(this.name, prefix + this.name); - }; - - return FilterValue; - - })(Value); - - module.exports = FilterValue; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/filter.js b/node_modules/autoprefixer/lib/hacks/filter.js deleted file mode 100644 index 213cb13..0000000 --- a/node_modules/autoprefixer/lib/hacks/filter.js +++ /dev/null @@ -1,29 +0,0 @@ -(function() { - var Declaration, Filter, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - Filter = (function(superClass) { - extend(Filter, superClass); - - function Filter() { - return Filter.__super__.constructor.apply(this, arguments); - } - - Filter.names = ['filter']; - - Filter.prototype.check = function(decl) { - var v; - v = decl.value; - return v.toLowerCase().indexOf('alpha(') === -1 && v.indexOf('DXImageTransform.Microsoft') === -1 && v.indexOf('data:image/svg+xml') === -1; - }; - - return Filter; - - })(Declaration); - - module.exports = Filter; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-basis.js b/node_modules/autoprefixer/lib/hacks/flex-basis.js deleted file mode 100644 index 62ec0f9..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-basis.js +++ /dev/null @@ -1,47 +0,0 @@ -(function() { - var Declaration, FlexBasis, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - FlexBasis = (function(superClass) { - extend(FlexBasis, superClass); - - function FlexBasis() { - return FlexBasis.__super__.constructor.apply(this, arguments); - } - - FlexBasis.names = ['flex-basis', 'flex-preferred-size']; - - FlexBasis.prototype.normalize = function() { - return 'flex-basis'; - }; - - FlexBasis.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012) { - return prefix + 'flex-preferred-size'; - } else { - return FlexBasis.__super__.prefixed.apply(this, arguments); - } - }; - - FlexBasis.prototype.set = function(decl, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012 || spec === 'final') { - return FlexBasis.__super__.set.apply(this, arguments); - } - }; - - return FlexBasis; - - })(Declaration); - - module.exports = FlexBasis; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-direction.js b/node_modules/autoprefixer/lib/hacks/flex-direction.js deleted file mode 100644 index d5c0e54..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-direction.js +++ /dev/null @@ -1,71 +0,0 @@ -(function() { - var Declaration, FlexDirection, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - FlexDirection = (function(superClass) { - extend(FlexDirection, superClass); - - function FlexDirection() { - return FlexDirection.__super__.constructor.apply(this, arguments); - } - - FlexDirection.names = ['flex-direction', 'box-direction', 'box-orient']; - - FlexDirection.prototype.normalize = function(prop) { - return 'flex-direction'; - }; - - FlexDirection.prototype.insert = function(decl, prefix, prefixes) { - var already, cloned, dir, orient, ref, spec, value; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec !== 2009) { - return FlexDirection.__super__.insert.apply(this, arguments); - } else { - already = decl.parent.some(function(i) { - return i.prop === prefix + 'box-orient' || i.prop === prefix + 'box-direction'; - }); - if (already) { - return; - } - value = decl.value; - orient = value.indexOf('row') !== -1 ? 'horizontal' : 'vertical'; - dir = value.indexOf('reverse') !== -1 ? 'reverse' : 'normal'; - cloned = this.clone(decl); - cloned.prop = prefix + 'box-orient'; - cloned.value = orient; - if (this.needCascade(decl)) { - cloned.raws.before = this.calcBefore(prefixes, decl, prefix); - } - decl.parent.insertBefore(decl, cloned); - cloned = this.clone(decl); - cloned.prop = prefix + 'box-direction'; - cloned.value = dir; - if (this.needCascade(decl)) { - cloned.raws.before = this.calcBefore(prefixes, decl, prefix); - } - return decl.parent.insertBefore(decl, cloned); - } - }; - - FlexDirection.prototype.old = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return [prefix + 'box-orient', prefix + 'box-direction']; - } else { - return FlexDirection.__super__.old.apply(this, arguments); - } - }; - - return FlexDirection; - - })(Declaration); - - module.exports = FlexDirection; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-flow.js b/node_modules/autoprefixer/lib/hacks/flex-flow.js deleted file mode 100644 index 340f52e..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-flow.js +++ /dev/null @@ -1,63 +0,0 @@ -(function() { - var Declaration, FlexFlow, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - FlexFlow = (function(superClass) { - extend(FlexFlow, superClass); - - function FlexFlow() { - return FlexFlow.__super__.constructor.apply(this, arguments); - } - - FlexFlow.names = ['flex-flow', 'box-direction', 'box-orient']; - - FlexFlow.prototype.insert = function(decl, prefix, prefixes) { - var already, cloned, dir, orient, ref, spec, value, values; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec !== 2009) { - return FlexFlow.__super__.insert.apply(this, arguments); - } else { - values = decl.value.split(/\s+/).filter(function(i) { - return i !== 'wrap' && i !== 'nowrap' && 'wrap-reverse'; - }); - if (values.length === 0) { - return; - } - already = decl.parent.some(function(i) { - return i.prop === prefix + 'box-orient' || i.prop === prefix + 'box-direction'; - }); - if (already) { - return; - } - value = values[0]; - orient = value.indexOf('row') !== -1 ? 'horizontal' : 'vertical'; - dir = value.indexOf('reverse') !== -1 ? 'reverse' : 'normal'; - cloned = this.clone(decl); - cloned.prop = prefix + 'box-orient'; - cloned.value = orient; - if (this.needCascade(decl)) { - cloned.raws.before = this.calcBefore(prefixes, decl, prefix); - } - decl.parent.insertBefore(decl, cloned); - cloned = this.clone(decl); - cloned.prop = prefix + 'box-direction'; - cloned.value = dir; - if (this.needCascade(decl)) { - cloned.raws.before = this.calcBefore(prefixes, decl, prefix); - } - return decl.parent.insertBefore(decl, cloned); - } - }; - - return FlexFlow; - - })(Declaration); - - module.exports = FlexFlow; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-grow.js b/node_modules/autoprefixer/lib/hacks/flex-grow.js deleted file mode 100644 index 5bd598f..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-grow.js +++ /dev/null @@ -1,41 +0,0 @@ -(function() { - var Declaration, Flex, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - Flex = (function(superClass) { - extend(Flex, superClass); - - function Flex() { - return Flex.__super__.constructor.apply(this, arguments); - } - - Flex.names = ['flex-grow', 'flex-positive']; - - Flex.prototype.normalize = function() { - return 'flex'; - }; - - Flex.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return prefix + 'box-flex'; - } else if (spec === 2012) { - return prefix + 'flex-positive'; - } else { - return Flex.__super__.prefixed.apply(this, arguments); - } - }; - - return Flex; - - })(Declaration); - - module.exports = Flex; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-shrink.js b/node_modules/autoprefixer/lib/hacks/flex-shrink.js deleted file mode 100644 index 66610d6..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-shrink.js +++ /dev/null @@ -1,47 +0,0 @@ -(function() { - var Declaration, FlexShrink, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - FlexShrink = (function(superClass) { - extend(FlexShrink, superClass); - - function FlexShrink() { - return FlexShrink.__super__.constructor.apply(this, arguments); - } - - FlexShrink.names = ['flex-shrink', 'flex-negative']; - - FlexShrink.prototype.normalize = function() { - return 'flex-shrink'; - }; - - FlexShrink.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012) { - return prefix + 'flex-negative'; - } else { - return FlexShrink.__super__.prefixed.apply(this, arguments); - } - }; - - FlexShrink.prototype.set = function(decl, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2012 || spec === 'final') { - return FlexShrink.__super__.set.apply(this, arguments); - } - }; - - return FlexShrink; - - })(Declaration); - - module.exports = FlexShrink; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-spec.js b/node_modules/autoprefixer/lib/hacks/flex-spec.js deleted file mode 100644 index 59ec38e..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-spec.js +++ /dev/null @@ -1,11 +0,0 @@ -(function() { - module.exports = function(prefix) { - var spec; - spec = prefix === '-webkit- 2009' || prefix === '-moz-' ? 2009 : prefix === '-ms-' ? 2012 : prefix === '-webkit-' ? 'final' : void 0; - if (prefix === '-webkit- 2009') { - prefix = '-webkit-'; - } - return [spec, prefix]; - }; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-values.js b/node_modules/autoprefixer/lib/hacks/flex-values.js deleted file mode 100644 index 856c783..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-values.js +++ /dev/null @@ -1,37 +0,0 @@ -(function() { - var FlexValues, OldValue, Value, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldValue = require('../old-value'); - - Value = require('../value'); - - FlexValues = (function(superClass) { - extend(FlexValues, superClass); - - function FlexValues() { - return FlexValues.__super__.constructor.apply(this, arguments); - } - - FlexValues.names = ['flex', 'flex-grow', 'flex-shrink', 'flex-basis']; - - FlexValues.prototype.prefixed = function(prefix) { - return this.all.prefixed(this.name, prefix); - }; - - FlexValues.prototype.replace = function(string, prefix) { - return string.replace(this.regexp(), '$1' + this.prefixed(prefix) + '$3'); - }; - - FlexValues.prototype.old = function(prefix) { - return new OldValue(this.name, this.prefixed(prefix)); - }; - - return FlexValues; - - })(Value); - - module.exports = FlexValues; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex-wrap.js b/node_modules/autoprefixer/lib/hacks/flex-wrap.js deleted file mode 100644 index 6d13542..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex-wrap.js +++ /dev/null @@ -1,33 +0,0 @@ -(function() { - var Declaration, FlexWrap, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - FlexWrap = (function(superClass) { - extend(FlexWrap, superClass); - - function FlexWrap() { - return FlexWrap.__super__.constructor.apply(this, arguments); - } - - FlexWrap.names = ['flex-wrap']; - - FlexWrap.prototype.set = function(decl, prefix) { - var spec; - spec = flexSpec(prefix)[0]; - if (spec !== 2009) { - return FlexWrap.__super__.set.apply(this, arguments); - } - }; - - return FlexWrap; - - })(Declaration); - - module.exports = FlexWrap; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/flex.js b/node_modules/autoprefixer/lib/hacks/flex.js deleted file mode 100644 index ad289f2..0000000 --- a/node_modules/autoprefixer/lib/hacks/flex.js +++ /dev/null @@ -1,64 +0,0 @@ -(function() { - var Declaration, Flex, flexSpec, list, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - list = require('postcss/lib/list'); - - Flex = (function(superClass) { - extend(Flex, superClass); - - function Flex() { - return Flex.__super__.constructor.apply(this, arguments); - } - - Flex.names = ['flex', 'box-flex']; - - Flex.oldValues = { - 'auto': '1', - 'none': '0' - }; - - Flex.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return prefix + 'box-flex'; - } else { - return Flex.__super__.prefixed.apply(this, arguments); - } - }; - - Flex.prototype.normalize = function() { - return 'flex'; - }; - - Flex.prototype.set = function(decl, prefix) { - var components, spec; - spec = flexSpec(prefix)[0]; - if (spec === 2009) { - decl.value = list.space(decl.value)[0]; - decl.value = Flex.oldValues[decl.value] || decl.value; - return Flex.__super__.set.call(this, decl, prefix); - } else if (spec === 2012) { - components = list.space(decl.value); - if (components.length === 3 && components[2] === '0') { - decl.value = components.slice(0, 2).concat('0px').join(' '); - } - return Flex.__super__.set.call(this, decl, prefix); - } else { - return Flex.__super__.set.apply(this, arguments); - } - }; - - return Flex; - - })(Declaration); - - module.exports = Flex; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/fullscreen.js b/node_modules/autoprefixer/lib/hacks/fullscreen.js deleted file mode 100644 index d7a3ccd..0000000 --- a/node_modules/autoprefixer/lib/hacks/fullscreen.js +++ /dev/null @@ -1,33 +0,0 @@ -(function() { - var Fullscreen, Selector, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Selector = require('../selector'); - - Fullscreen = (function(superClass) { - extend(Fullscreen, superClass); - - function Fullscreen() { - return Fullscreen.__super__.constructor.apply(this, arguments); - } - - Fullscreen.names = [':fullscreen']; - - Fullscreen.prototype.prefixed = function(prefix) { - if ('-webkit-' === prefix) { - return ':-webkit-full-screen'; - } else if ('-moz-' === prefix) { - return ':-moz-full-screen'; - } else { - return ":" + prefix + "fullscreen"; - } - }; - - return Fullscreen; - - })(Selector); - - module.exports = Fullscreen; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/gradient.js b/node_modules/autoprefixer/lib/hacks/gradient.js deleted file mode 100644 index 274d7f7..0000000 --- a/node_modules/autoprefixer/lib/hacks/gradient.js +++ /dev/null @@ -1,368 +0,0 @@ -(function() { - var Gradient, OldValue, Value, isDirection, list, parser, range, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty, - slice = [].slice; - - OldValue = require('../old-value'); - - Value = require('../value'); - - utils = require('../utils'); - - parser = require('postcss-value-parser'); - - range = require('normalize-range'); - - list = require('postcss/lib/list'); - - isDirection = /top|left|right|bottom/gi; - - Gradient = (function(superClass) { - extend(Gradient, superClass); - - function Gradient() { - return Gradient.__super__.constructor.apply(this, arguments); - } - - Gradient.names = ['linear-gradient', 'repeating-linear-gradient', 'radial-gradient', 'repeating-radial-gradient']; - - Gradient.prototype.replace = function(string, prefix) { - var ast, changes, j, len, node, ref; - ast = parser(string); - ref = ast.nodes; - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - if (node.type === 'function' && node.value === this.name) { - node.nodes = this.newDirection(node.nodes); - node.nodes = this.normalize(node.nodes); - if (prefix === '-webkit- old') { - changes = this.oldWebkit(node); - if (!changes) { - return; - } - } else { - node.nodes = this.convertDirection(node.nodes); - node.value = prefix + node.value; - } - } - } - return ast.toString(); - }; - - Gradient.prototype.directions = { - top: 'bottom', - left: 'right', - bottom: 'top', - right: 'left' - }; - - Gradient.prototype.oldDirections = { - 'top': 'left bottom, left top', - 'left': 'right top, left top', - 'bottom': 'left top, left bottom', - 'right': 'left top, right top', - 'top right': 'left bottom, right top', - 'top left': 'right bottom, left top', - 'right top': 'left bottom, right top', - 'right bottom': 'left top, right bottom', - 'bottom right': 'left top, right bottom', - 'bottom left': 'right top, left bottom', - 'left top': 'right bottom, left top', - 'left bottom': 'right top, left bottom' - }; - - Gradient.prototype.replaceFirst = function() { - var params, prefix, words; - params = arguments[0], words = 2 <= arguments.length ? slice.call(arguments, 1) : []; - prefix = words.map(function(i) { - if (i === ' ') { - return { - type: 'space', - value: i - }; - } else { - return { - type: 'word', - value: i - }; - } - }); - return prefix.concat(params.slice(1)); - }; - - Gradient.prototype.normalizeUnit = function(str, full) { - var deg, num; - num = parseFloat(str); - deg = (num / full) * 360; - return deg + "deg"; - }; - - Gradient.prototype.normalize = function(nodes) { - var num; - if (!nodes[0]) { - return nodes; - } - if (/-?\d+(.\d+)?grad/.test(nodes[0].value)) { - nodes[0].value = this.normalizeUnit(nodes[0].value, 400); - } else if (/-?\d+(.\d+)?rad/.test(nodes[0].value)) { - nodes[0].value = this.normalizeUnit(nodes[0].value, 2 * Math.PI); - } else if (/-?\d+(.\d+)?turn/.test(nodes[0].value)) { - nodes[0].value = this.normalizeUnit(nodes[0].value, 1); - } else if (nodes[0].value.indexOf('deg') !== -1) { - num = parseFloat(nodes[0].value); - num = range.wrap(0, 360, num); - nodes[0].value = num + "deg"; - } - if (nodes[0].value === '0deg') { - nodes = this.replaceFirst(nodes, 'to', ' ', 'top'); - } else if (nodes[0].value === '90deg') { - nodes = this.replaceFirst(nodes, 'to', ' ', 'right'); - } else if (nodes[0].value === '180deg') { - nodes = this.replaceFirst(nodes, 'to', ' ', 'bottom'); - } else if (nodes[0].value === '270deg') { - nodes = this.replaceFirst(nodes, 'to', ' ', 'left'); - } - return nodes; - }; - - Gradient.prototype.newDirection = function(params) { - var i, j, ref; - if (params[0].value === 'to') { - return params; - } - if (!isDirection.test(params[0].value)) { - return params; - } - params.unshift({ - type: 'word', - value: 'to' - }, { - type: 'space', - value: ' ' - }); - for (i = j = 2, ref = params.length; 2 <= ref ? j < ref : j > ref; i = 2 <= ref ? ++j : --j) { - if (params[i].type === 'div') { - break; - } - if (params[i].type === 'word') { - params[i].value = this.revertDirection(params[i].value); - } - } - return params; - }; - - Gradient.prototype.convertDirection = function(params) { - if (params.length > 0) { - if (params[0].value === 'to') { - this.fixDirection(params); - } else if (params[0].value.indexOf('deg') !== -1) { - this.fixAngle(params); - } else if (params[2].value === 'at') { - this.fixRadial(params); - } - } - return params; - }; - - Gradient.prototype.fixDirection = function(params) { - var i, j, ref, results; - params.splice(0, 2); - results = []; - for (i = j = 0, ref = params.length; 0 <= ref ? j < ref : j > ref; i = 0 <= ref ? ++j : --j) { - if (params[i].type === 'div') { - break; - } - if (params[i].type === 'word') { - results.push(params[i].value = this.revertDirection(params[i].value)); - } else { - results.push(void 0); - } - } - return results; - }; - - Gradient.prototype.fixAngle = function(params) { - var first; - first = params[0].value; - first = parseFloat(first); - first = Math.abs(450 - first) % 360; - first = this.roundFloat(first, 3); - return params[0].value = first + "deg"; - }; - - Gradient.prototype.fixRadial = function(params) { - var first, i, j, ref, second; - first = params[0]; - second = []; - for (i = j = 4, ref = params.length; 4 <= ref ? j < ref : j > ref; i = 4 <= ref ? ++j : --j) { - if (params[i].type === 'div') { - break; - } else { - second.push(params[i]); - } - } - return params.splice.apply(params, [0, i].concat(slice.call(second), [params[i + 2]], [first])); - }; - - Gradient.prototype.revertDirection = function(word) { - return this.directions[word.toLowerCase()] || word; - }; - - Gradient.prototype.roundFloat = function(float, digits) { - return parseFloat(float.toFixed(digits)); - }; - - Gradient.prototype.oldWebkit = function(node) { - var i, j, k, len, len1, nodes, param, params, string; - nodes = node.nodes; - string = parser.stringify(node.nodes); - if (this.name !== 'linear-gradient') { - return false; - } - if (nodes[0] && nodes[0].value.indexOf('deg') !== -1) { - return false; - } - if (string.indexOf('px') !== -1) { - return false; - } - if (string.indexOf('-corner') !== -1) { - return false; - } - if (string.indexOf('-side') !== -1) { - return false; - } - params = [[]]; - for (j = 0, len = nodes.length; j < len; j++) { - i = nodes[j]; - params[params.length - 1].push(i); - if (i.type === 'div' && i.value === ',') { - params.push([]); - } - } - this.oldDirection(params); - this.colorStops(params); - node.nodes = []; - for (k = 0, len1 = params.length; k < len1; k++) { - param = params[k]; - node.nodes = node.nodes.concat(param); - } - node.nodes.unshift({ - type: 'word', - value: 'linear' - }, this.cloneDiv(node.nodes)); - node.value = '-webkit-gradient'; - return true; - }; - - Gradient.prototype.oldDirection = function(params) { - var div, j, len, node, old, ref, words; - div = this.cloneDiv(params[0]); - if (params[0][0].value !== 'to') { - return params.unshift([ - { - type: 'word', - value: this.oldDirections.bottom - }, div - ]); - } else { - words = []; - ref = params[0].slice(2); - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - if (node.type === 'word') { - words.push(node.value.toLowerCase()); - } - } - words = words.join(' '); - old = this.oldDirections[words] || words; - return params[0] = [ - { - type: 'word', - value: old - }, div - ]; - } - }; - - Gradient.prototype.cloneDiv = function(params) { - var i, j, len; - for (j = 0, len = params.length; j < len; j++) { - i = params[j]; - if (i.type === 'div' && i.value === ',') { - return i; - } - } - return { - type: 'div', - value: ',', - after: ' ' - }; - }; - - Gradient.prototype.colorStops = function(params) { - var color, div, i, j, len, param, pos, results, stop; - results = []; - for (i = j = 0, len = params.length; j < len; i = ++j) { - param = params[i]; - if (i === 0) { - continue; - } - color = parser.stringify(param[0]); - if (param[1] && param[1].type === 'word') { - pos = param[1].value; - } else if (param[2] && param[2].type === 'word') { - pos = param[2].value; - } - stop = i === 1 && (!pos || pos === '0%') ? "from(" + color + ")" : i === params.length - 1 && (!pos || pos === '100%') ? "to(" + color + ")" : pos ? "color-stop(" + pos + ", " + color + ")" : "color-stop(" + color + ")"; - div = param[param.length - 1]; - params[i] = [ - { - type: 'word', - value: stop - } - ]; - if (div.type === 'div' && div.value === ',') { - results.push(params[i].push(div)); - } else { - results.push(void 0); - } - } - return results; - }; - - Gradient.prototype.old = function(prefix) { - var regexp, string, type; - if (prefix === '-webkit-') { - type = this.name === 'linear-gradient' ? 'linear' : 'radial'; - string = '-gradient'; - regexp = utils.regexp("-webkit-(" + type + "-gradient|gradient\\(\\s*" + type + ")", false); - return new OldValue(this.name, prefix + this.name, string, regexp); - } else { - return Gradient.__super__.old.apply(this, arguments); - } - }; - - Gradient.prototype.add = function(decl, prefix) { - var p; - p = decl.prop; - if (p.indexOf('mask') !== -1) { - if (prefix === '-webkit-' || prefix === '-webkit- old') { - return Gradient.__super__.add.apply(this, arguments); - } - } else if (p === 'list-style' || p === 'list-style-image' || p === 'content') { - if (prefix === '-webkit-' || prefix === '-webkit- old') { - return Gradient.__super__.add.apply(this, arguments); - } - } else { - return Gradient.__super__.add.apply(this, arguments); - } - }; - - return Gradient; - - })(Value); - - module.exports = Gradient; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/grid-end.js b/node_modules/autoprefixer/lib/hacks/grid-end.js deleted file mode 100644 index 27d01c1..0000000 --- a/node_modules/autoprefixer/lib/hacks/grid-end.js +++ /dev/null @@ -1,46 +0,0 @@ -(function() { - var Declaration, GridEnd, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - GridEnd = (function(superClass) { - extend(GridEnd, superClass); - - function GridEnd() { - return GridEnd.__super__.constructor.apply(this, arguments); - } - - GridEnd.names = ['grid-row-end', 'grid-column-end', 'grid-row-span', 'grid-column-span']; - - GridEnd.prototype.check = function(decl) { - return decl.value.indexOf('span') !== -1; - }; - - GridEnd.prototype.normalize = function(prop) { - return prop.replace(/(-span|-end)/, ''); - }; - - GridEnd.prototype.prefixed = function(prop, prefix) { - if (prefix === '-ms-') { - return prefix + prop.replace('-end', '-span'); - } else { - return GridEnd.__super__.prefixed.call(this, prop, prefix); - } - }; - - GridEnd.prototype.set = function(decl, prefix) { - if (prefix === '-ms-') { - decl.value = decl.value.replace(/span\s/i, ''); - } - return GridEnd.__super__.set.call(this, decl, prefix); - }; - - return GridEnd; - - })(Declaration); - - module.exports = GridEnd; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/grid-row-align.js b/node_modules/autoprefixer/lib/hacks/grid-row-align.js deleted file mode 100644 index 2c6e406..0000000 --- a/node_modules/autoprefixer/lib/hacks/grid-row-align.js +++ /dev/null @@ -1,35 +0,0 @@ -(function() { - var Declaration, GridRowAlign, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - GridRowAlign = (function(superClass) { - extend(GridRowAlign, superClass); - - function GridRowAlign() { - return GridRowAlign.__super__.constructor.apply(this, arguments); - } - - GridRowAlign.names = ['grid-row-align']; - - GridRowAlign.prototype.check = function(decl) { - return decl.value.indexOf('flex-') === -1 && decl.value !== 'baseline'; - }; - - GridRowAlign.prototype.prefixed = function(prop, prefix) { - return prefix + 'grid-row-align'; - }; - - GridRowAlign.prototype.normalize = function(prop) { - return 'align-self'; - }; - - return GridRowAlign; - - })(Declaration); - - module.exports = GridRowAlign; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/grid-start.js b/node_modules/autoprefixer/lib/hacks/grid-start.js deleted file mode 100644 index fd0f4fb..0000000 --- a/node_modules/autoprefixer/lib/hacks/grid-start.js +++ /dev/null @@ -1,71 +0,0 @@ -(function() { - var Declaration, GridStart, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - GridStart = (function(superClass) { - extend(GridStart, superClass); - - function GridStart() { - return GridStart.__super__.constructor.apply(this, arguments); - } - - GridStart.names = ['grid-row-start', 'grid-column-start', 'grid-row', 'grid-column']; - - GridStart.prototype.check = function(decl) { - return decl.value.indexOf('/') === -1 || decl.value.indexOf('span') !== -1; - }; - - GridStart.prototype.normalize = function(prop) { - return prop.replace('-start', ''); - }; - - GridStart.prototype.prefixed = function(prop, prefix) { - if (prefix === '-ms-') { - return prefix + prop.replace('-start', ''); - } else { - return GridStart.__super__.prefixed.call(this, prop, prefix); - } - }; - - GridStart.prototype.insert = function(decl, prefix, prefixes) { - var parts; - parts = this.splitValue(decl, prefix); - if (parts.length === 2) { - decl.cloneBefore({ - prop: '-ms-' + decl.prop + '-span', - value: parts[1] - }); - } - return GridStart.__super__.insert.call(this, decl, prefix, prefixes); - }; - - GridStart.prototype.set = function(decl, prefix) { - var parts; - parts = this.splitValue(decl, prefix); - if (parts.length === 2) { - decl.value = parts[0]; - } - return GridStart.__super__.set.call(this, decl, prefix); - }; - - GridStart.prototype.splitValue = function(decl, prefix) { - var parts; - if (prefix === '-ms-' && decl.prop.indexOf('-start') === -1) { - parts = decl.value.split(/\s*\/\s*span\s+/); - if (parts.length === 2) { - return parts; - } - } - return false; - }; - - return GridStart; - - })(Declaration); - - module.exports = GridStart; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/grid-template.js b/node_modules/autoprefixer/lib/hacks/grid-template.js deleted file mode 100644 index 273def2..0000000 --- a/node_modules/autoprefixer/lib/hacks/grid-template.js +++ /dev/null @@ -1,77 +0,0 @@ -(function() { - var Declaration, GridTemplate, parser, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - parser = require('postcss-value-parser'); - - Declaration = require('../declaration'); - - GridTemplate = (function(superClass) { - extend(GridTemplate, superClass); - - function GridTemplate() { - return GridTemplate.__super__.constructor.apply(this, arguments); - } - - GridTemplate.names = ['grid-template-rows', 'grid-template-columns', 'grid-rows', 'grid-columns']; - - GridTemplate.prototype.prefixed = function(prop, prefix) { - if (prefix === '-ms-') { - return prefix + prop.replace('template-', ''); - } else { - return GridTemplate.__super__.prefixed.call(this, prop, prefix); - } - }; - - GridTemplate.prototype.normalize = function(prop) { - return prop.replace(/^grid-(rows|columns)/, 'grid-template-$1'); - }; - - GridTemplate.prototype.walkRepeat = function(node) { - var count, first, fixed, i, j, len, ref; - fixed = []; - ref = node.nodes; - for (j = 0, len = ref.length; j < len; j++) { - i = ref[j]; - if (i.nodes) { - this.walkRepeat(i); - } - fixed.push(i); - if (i.type === 'function' && i.value === 'repeat') { - first = i.nodes.shift(); - if (first) { - count = first.value; - i.nodes.shift(); - i.value = ''; - fixed.push({ - type: 'word', - value: "[" + count + "]" - }); - } - } - } - return node.nodes = fixed; - }; - - GridTemplate.prototype.changeRepeat = function(value) { - var ast; - ast = parser(value); - this.walkRepeat(ast); - return ast.toString(); - }; - - GridTemplate.prototype.set = function(decl, prefix) { - if (prefix === '-ms-' && decl.value.indexOf('repeat(') !== -1) { - decl.value = this.changeRepeat(decl.value); - } - return GridTemplate.__super__.set.call(this, decl, prefix); - }; - - return GridTemplate; - - })(Declaration); - - module.exports = GridTemplate; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/image-rendering.js b/node_modules/autoprefixer/lib/hacks/image-rendering.js deleted file mode 100644 index 6f99077..0000000 --- a/node_modules/autoprefixer/lib/hacks/image-rendering.js +++ /dev/null @@ -1,53 +0,0 @@ -(function() { - var Declaration, ImageRendering, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - ImageRendering = (function(superClass) { - extend(ImageRendering, superClass); - - function ImageRendering() { - return ImageRendering.__super__.constructor.apply(this, arguments); - } - - ImageRendering.names = ['image-rendering', 'interpolation-mode']; - - ImageRendering.prototype.check = function(decl) { - return decl.value === 'pixelated'; - }; - - ImageRendering.prototype.prefixed = function(prop, prefix) { - if (prefix === '-ms-') { - return '-ms-interpolation-mode'; - } else { - return ImageRendering.__super__.prefixed.apply(this, arguments); - } - }; - - ImageRendering.prototype.set = function(decl, prefix) { - if (prefix === '-ms-') { - decl.prop = '-ms-interpolation-mode'; - decl.value = 'nearest-neighbor'; - return decl; - } else { - return ImageRendering.__super__.set.apply(this, arguments); - } - }; - - ImageRendering.prototype.normalize = function(prop) { - return 'image-rendering'; - }; - - ImageRendering.prototype.process = function(node, result) { - return ImageRendering.__super__.process.apply(this, arguments); - }; - - return ImageRendering; - - })(Declaration); - - module.exports = ImageRendering; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/image-set.js b/node_modules/autoprefixer/lib/hacks/image-set.js deleted file mode 100644 index 058407c..0000000 --- a/node_modules/autoprefixer/lib/hacks/image-set.js +++ /dev/null @@ -1,33 +0,0 @@ -(function() { - var ImageSet, Value, list, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - list = require('postcss/lib/list'); - - Value = require('../value'); - - ImageSet = (function(superClass) { - extend(ImageSet, superClass); - - function ImageSet() { - return ImageSet.__super__.constructor.apply(this, arguments); - } - - ImageSet.names = ['image-set']; - - ImageSet.prototype.replace = function(string, prefix) { - if (prefix === '-webkit-') { - return ImageSet.__super__.replace.apply(this, arguments).replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, 'url($1)$2'); - } else { - return ImageSet.__super__.replace.apply(this, arguments); - } - }; - - return ImageSet; - - })(Value); - - module.exports = ImageSet; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/inline-logical.js b/node_modules/autoprefixer/lib/hacks/inline-logical.js deleted file mode 100644 index 7a698fe..0000000 --- a/node_modules/autoprefixer/lib/hacks/inline-logical.js +++ /dev/null @@ -1,31 +0,0 @@ -(function() { - var Declaration, InlineLogical, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - InlineLogical = (function(superClass) { - extend(InlineLogical, superClass); - - function InlineLogical() { - return InlineLogical.__super__.constructor.apply(this, arguments); - } - - InlineLogical.names = ['border-inline-start', 'border-inline-end', 'margin-inline-start', 'margin-inline-end', 'padding-inline-start', 'padding-inline-end', 'border-start', 'border-end', 'margin-start', 'margin-end', 'padding-start', 'padding-end']; - - InlineLogical.prototype.prefixed = function(prop, prefix) { - return prefix + prop.replace('-inline', ''); - }; - - InlineLogical.prototype.normalize = function(prop) { - return prop.replace(/(margin|padding|border)-(start|end)/, '$1-inline-$2'); - }; - - return InlineLogical; - - })(Declaration); - - module.exports = InlineLogical; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/justify-content.js b/node_modules/autoprefixer/lib/hacks/justify-content.js deleted file mode 100644 index eed29eb..0000000 --- a/node_modules/autoprefixer/lib/hacks/justify-content.js +++ /dev/null @@ -1,62 +0,0 @@ -(function() { - var Declaration, JustifyContent, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - JustifyContent = (function(superClass) { - extend(JustifyContent, superClass); - - function JustifyContent() { - return JustifyContent.__super__.constructor.apply(this, arguments); - } - - JustifyContent.names = ['justify-content', 'flex-pack', 'box-pack']; - - JustifyContent.oldValues = { - 'flex-end': 'end', - 'flex-start': 'start', - 'space-between': 'justify', - 'space-around': 'distribute' - }; - - JustifyContent.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return prefix + 'box-pack'; - } else if (spec === 2012) { - return prefix + 'flex-pack'; - } else { - return JustifyContent.__super__.prefixed.apply(this, arguments); - } - }; - - JustifyContent.prototype.normalize = function(prop) { - return 'justify-content'; - }; - - JustifyContent.prototype.set = function(decl, prefix) { - var spec, value; - spec = flexSpec(prefix)[0]; - if (spec === 2009 || spec === 2012) { - value = JustifyContent.oldValues[decl.value] || decl.value; - decl.value = value; - if (spec !== 2009 || value !== 'distribute') { - return JustifyContent.__super__.set.call(this, decl, prefix); - } - } else if (spec === 'final') { - return JustifyContent.__super__.set.apply(this, arguments); - } - }; - - return JustifyContent; - - })(Declaration); - - module.exports = JustifyContent; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/justify-items.js b/node_modules/autoprefixer/lib/hacks/justify-items.js deleted file mode 100644 index 3d29ee8..0000000 --- a/node_modules/autoprefixer/lib/hacks/justify-items.js +++ /dev/null @@ -1,31 +0,0 @@ -(function() { - var Declaration, JustifyItems, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - JustifyItems = (function(superClass) { - extend(JustifyItems, superClass); - - function JustifyItems() { - return JustifyItems.__super__.constructor.apply(this, arguments); - } - - JustifyItems.names = ['justify-items', 'grid-column-align']; - - JustifyItems.prototype.prefixed = function(prop, prefix) { - return prefix + (prefix === '-ms-' ? 'grid-column-align' : prop); - }; - - JustifyItems.prototype.normalize = function(prop) { - return 'justify-items'; - }; - - return JustifyItems; - - })(Declaration); - - module.exports = JustifyItems; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/mask-border.js b/node_modules/autoprefixer/lib/hacks/mask-border.js deleted file mode 100644 index 0769e75..0000000 --- a/node_modules/autoprefixer/lib/hacks/mask-border.js +++ /dev/null @@ -1,35 +0,0 @@ -(function() { - var Declaration, MaskBorder, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - MaskBorder = (function(superClass) { - extend(MaskBorder, superClass); - - function MaskBorder() { - return MaskBorder.__super__.constructor.apply(this, arguments); - } - - MaskBorder.names = ['mask-border', 'mask-border-source', 'mask-border-slice', 'mask-border-width', 'mask-border-outset', 'mask-border-repeat', 'mask-box-image', 'mask-box-image-source', 'mask-box-image-slice', 'mask-box-image-width', 'mask-box-image-outset', 'mask-box-image-repeat']; - - MaskBorder.prototype.normalize = function() { - return this.name.replace('box-image', 'border'); - }; - - MaskBorder.prototype.prefixed = function(prop, prefix) { - if (prefix === '-webkit-') { - return MaskBorder.__super__.prefixed.apply(this, arguments).replace('border', 'box-image'); - } else { - return MaskBorder.__super__.prefixed.apply(this, arguments); - } - }; - - return MaskBorder; - - })(Declaration); - - module.exports = MaskBorder; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/order.js b/node_modules/autoprefixer/lib/hacks/order.js deleted file mode 100644 index 22ae0d8..0000000 --- a/node_modules/autoprefixer/lib/hacks/order.js +++ /dev/null @@ -1,52 +0,0 @@ -(function() { - var Declaration, Order, flexSpec, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - flexSpec = require('./flex-spec'); - - Declaration = require('../declaration'); - - Order = (function(superClass) { - extend(Order, superClass); - - function Order() { - return Order.__super__.constructor.apply(this, arguments); - } - - Order.names = ['order', 'flex-order', 'box-ordinal-group']; - - Order.prototype.prefixed = function(prop, prefix) { - var ref, spec; - ref = flexSpec(prefix), spec = ref[0], prefix = ref[1]; - if (spec === 2009) { - return prefix + 'box-ordinal-group'; - } else if (spec === 2012) { - return prefix + 'flex-order'; - } else { - return Order.__super__.prefixed.apply(this, arguments); - } - }; - - Order.prototype.normalize = function(prop) { - return 'order'; - }; - - Order.prototype.set = function(decl, prefix) { - var spec; - spec = flexSpec(prefix)[0]; - if (spec === 2009 && /\d/.test(decl.value)) { - decl.value = (parseInt(decl.value) + 1).toString(); - return Order.__super__.set.call(this, decl, prefix); - } else { - return Order.__super__.set.apply(this, arguments); - } - }; - - return Order; - - })(Declaration); - - module.exports = Order; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/pixelated.js b/node_modules/autoprefixer/lib/hacks/pixelated.js deleted file mode 100644 index b33e808..0000000 --- a/node_modules/autoprefixer/lib/hacks/pixelated.js +++ /dev/null @@ -1,45 +0,0 @@ -(function() { - var OldValue, Pixelated, Value, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldValue = require('../old-value'); - - Value = require('../value'); - - Pixelated = (function(superClass) { - extend(Pixelated, superClass); - - function Pixelated() { - return Pixelated.__super__.constructor.apply(this, arguments); - } - - Pixelated.names = ['pixelated']; - - Pixelated.prototype.replace = function(string, prefix) { - if (prefix === '-webkit-') { - return string.replace(this.regexp(), '$1-webkit-optimize-contrast'); - } else if (prefix === '-moz-') { - return string.replace(this.regexp(), '$1-moz-crisp-edges'); - } else { - return Pixelated.__super__.replace.apply(this, arguments); - } - }; - - Pixelated.prototype.old = function(prefix) { - if (prefix === '-webkit-') { - return new OldValue(this.name, '-webkit-optimize-contrast'); - } else if (prefix === '-moz-') { - return new OldValue(this.name, '-moz-crisp-edges'); - } else { - return Pixelated.__super__.old.apply(this, arguments); - } - }; - - return Pixelated; - - })(Value); - - module.exports = Pixelated; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/placeholder.js b/node_modules/autoprefixer/lib/hacks/placeholder.js deleted file mode 100644 index 423d202..0000000 --- a/node_modules/autoprefixer/lib/hacks/placeholder.js +++ /dev/null @@ -1,39 +0,0 @@ -(function() { - var Placeholder, Selector, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Selector = require('../selector'); - - Placeholder = (function(superClass) { - extend(Placeholder, superClass); - - function Placeholder() { - return Placeholder.__super__.constructor.apply(this, arguments); - } - - Placeholder.names = [':placeholder-shown', '::placeholder']; - - Placeholder.prototype.possible = function() { - return Placeholder.__super__.possible.apply(this, arguments).concat('-moz- old'); - }; - - Placeholder.prototype.prefixed = function(prefix) { - if ('-webkit-' === prefix) { - return '::-webkit-input-placeholder'; - } else if ('-ms-' === prefix) { - return ':-ms-input-placeholder'; - } else if ('-moz- old' === prefix) { - return ':-moz-placeholder'; - } else { - return "::" + prefix + "placeholder"; - } - }; - - return Placeholder; - - })(Selector); - - module.exports = Placeholder; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/stretch.js b/node_modules/autoprefixer/lib/hacks/stretch.js deleted file mode 100644 index 9bae9e4..0000000 --- a/node_modules/autoprefixer/lib/hacks/stretch.js +++ /dev/null @@ -1,45 +0,0 @@ -(function() { - var OldValue, Stretch, Value, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldValue = require('../old-value'); - - Value = require('../value'); - - Stretch = (function(superClass) { - extend(Stretch, superClass); - - function Stretch() { - return Stretch.__super__.constructor.apply(this, arguments); - } - - Stretch.names = ['stretch', 'fill', 'fill-available']; - - Stretch.prototype.replace = function(string, prefix) { - if (prefix === '-moz-') { - return string.replace(this.regexp(), '$1-moz-available$3'); - } else if (prefix === '-webkit-') { - return string.replace(this.regexp(), '$1-webkit-fill-available$3'); - } else { - return Stretch.__super__.replace.apply(this, arguments); - } - }; - - Stretch.prototype.old = function(prefix) { - if (prefix === '-moz-') { - return new OldValue(this.name, '-moz-available'); - } else if (prefix === '-webkit-') { - return new OldValue(this.name, '-webkit-fill-available'); - } else { - return Stretch.__super__.old.apply(this, arguments); - } - }; - - return Stretch; - - })(Value); - - module.exports = Stretch; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/text-emphasis-position.js b/node_modules/autoprefixer/lib/hacks/text-emphasis-position.js deleted file mode 100644 index 5553189..0000000 --- a/node_modules/autoprefixer/lib/hacks/text-emphasis-position.js +++ /dev/null @@ -1,32 +0,0 @@ -(function() { - var Declaration, TextEmphasisPosition, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - TextEmphasisPosition = (function(superClass) { - extend(TextEmphasisPosition, superClass); - - function TextEmphasisPosition() { - return TextEmphasisPosition.__super__.constructor.apply(this, arguments); - } - - TextEmphasisPosition.names = ['text-emphasis-position']; - - TextEmphasisPosition.prototype.set = function(decl, prefix) { - if (prefix === '-webkit-') { - decl.value = decl.value.replace(/\s*(right|left)\s*/i, ''); - return TextEmphasisPosition.__super__.set.call(this, decl, prefix); - } else { - return TextEmphasisPosition.__super__.set.apply(this, arguments); - } - }; - - return TextEmphasisPosition; - - })(Declaration); - - module.exports = TextEmphasisPosition; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/transform-decl.js b/node_modules/autoprefixer/lib/hacks/transform-decl.js deleted file mode 100644 index 4a7cc20..0000000 --- a/node_modules/autoprefixer/lib/hacks/transform-decl.js +++ /dev/null @@ -1,74 +0,0 @@ -(function() { - var Declaration, TransformDecl, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - TransformDecl = (function(superClass) { - extend(TransformDecl, superClass); - - function TransformDecl() { - return TransformDecl.__super__.constructor.apply(this, arguments); - } - - TransformDecl.names = ['transform', 'transform-origin']; - - TransformDecl.functions3d = ['matrix3d', 'translate3d', 'translateZ', 'scale3d', 'scaleZ', 'rotate3d', 'rotateX', 'rotateY', 'perspective']; - - TransformDecl.prototype.keyframeParents = function(decl) { - var parent; - parent = decl.parent; - while (parent) { - if (parent.type === 'atrule' && parent.name === 'keyframes') { - return true; - } - parent = parent.parent; - } - return false; - }; - - TransformDecl.prototype.contain3d = function(decl) { - var func, i, len, ref; - if (decl.prop === 'transform-origin') { - return false; - } - ref = TransformDecl.functions3d; - for (i = 0, len = ref.length; i < len; i++) { - func = ref[i]; - if (decl.value.indexOf(func + "(") !== -1) { - return true; - } - } - return false; - }; - - TransformDecl.prototype.set = function(decl, prefix) { - decl = TransformDecl.__super__.set.apply(this, arguments); - if (prefix === '-ms-') { - decl.value = decl.value.replace(/rotateZ/gi, 'rotate'); - } - return decl; - }; - - TransformDecl.prototype.insert = function(decl, prefix, prefixes) { - if (prefix === '-ms-') { - if (!this.contain3d(decl) && !this.keyframeParents(decl)) { - return TransformDecl.__super__.insert.apply(this, arguments); - } - } else if (prefix === '-o-') { - if (!this.contain3d(decl)) { - return TransformDecl.__super__.insert.apply(this, arguments); - } - } else { - return TransformDecl.__super__.insert.apply(this, arguments); - } - }; - - return TransformDecl; - - })(Declaration); - - module.exports = TransformDecl; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/hacks/writing-mode.js b/node_modules/autoprefixer/lib/hacks/writing-mode.js deleted file mode 100644 index aa3572c..0000000 --- a/node_modules/autoprefixer/lib/hacks/writing-mode.js +++ /dev/null @@ -1,38 +0,0 @@ -(function() { - var Declaration, WritingMode, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Declaration = require('../declaration'); - - WritingMode = (function(superClass) { - extend(WritingMode, superClass); - - function WritingMode() { - return WritingMode.__super__.constructor.apply(this, arguments); - } - - WritingMode.names = ['writing-mode']; - - WritingMode.msValues = { - 'horizontal-tb': 'lr-tb', - 'vertical-rl': 'tb-rl', - 'vertical-lr': 'tb-lr' - }; - - WritingMode.prototype.set = function(decl, prefix) { - if (prefix === '-ms-') { - decl.value = WritingMode.msValues[decl.value] || decl.value; - return WritingMode.__super__.set.call(this, decl, prefix); - } else { - return WritingMode.__super__.set.apply(this, arguments); - } - }; - - return WritingMode; - - })(Declaration); - - module.exports = WritingMode; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/info.js b/node_modules/autoprefixer/lib/info.js deleted file mode 100644 index d6cf291..0000000 --- a/node_modules/autoprefixer/lib/info.js +++ /dev/null @@ -1,113 +0,0 @@ -(function() { - var browserslist, capitalize, names, prefix; - - browserslist = require('browserslist'); - - capitalize = function(str) { - return str.slice(0, 1).toUpperCase() + str.slice(1); - }; - - names = { - ie: 'IE', - ie_mob: 'IE Mobile', - ios_saf: 'iOS', - op_mini: 'Opera Mini', - op_mob: 'Opera Mobile', - and_chr: 'Chrome for Android', - and_ff: 'Firefox for Android', - and_uc: 'UC for Android' - }; - - prefix = function(name, prefixes) { - var out; - out = ' ' + name + ': '; - out += prefixes.map(function(i) { - return i.replace(/^-(.*)-$/g, '$1'); - }).join(', '); - out += "\n"; - return out; - }; - - module.exports = function(prefixes) { - var atrules, browser, coverage, data, j, k, l, len, len1, len2, list, name, out, props, ref, ref1, ref2, ref3, ref4, ref5, round, selector, selectors, string, value, values, version, versions; - if (prefixes.browsers.selected.length === 0) { - return "No browsers selected"; - } - versions = []; - ref = prefixes.browsers.selected; - for (j = 0, len = ref.length; j < len; j++) { - browser = ref[j]; - ref1 = browser.split(' '), name = ref1[0], version = ref1[1]; - name = names[name] || capitalize(name); - if (versions[name]) { - versions[name].push(version); - } else { - versions[name] = [version]; - } - } - out = "Browsers:\n"; - for (browser in versions) { - list = versions[browser]; - list = list.sort(function(a, b) { - return parseFloat(b) - parseFloat(a); - }); - out += ' ' + browser + ': ' + list.join(', ') + "\n"; - } - coverage = browserslist.coverage(prefixes.browsers.selected); - round = Math.round(coverage * 100) / 100.0; - out += "\nThese browsers account for " + round + "% of all users globally\n"; - atrules = ''; - ref2 = prefixes.add; - for (name in ref2) { - data = ref2[name]; - if (name[0] === '@' && data.prefixes) { - atrules += prefix(name, data.prefixes); - } - } - if (atrules !== '') { - out += "\nAt-Rules:\n" + atrules; - } - selectors = ''; - ref3 = prefixes.add.selectors; - for (k = 0, len1 = ref3.length; k < len1; k++) { - selector = ref3[k]; - if (selector.prefixes) { - selectors += prefix(selector.name, selector.prefixes); - } - } - if (selectors !== '') { - out += "\nSelectors:\n" + selectors; - } - values = ''; - props = ''; - ref4 = prefixes.add; - for (name in ref4) { - data = ref4[name]; - if (name[0] !== '@' && data.prefixes) { - props += prefix(name, data.prefixes); - } - if (!data.values) { - continue; - } - ref5 = data.values; - for (l = 0, len2 = ref5.length; l < len2; l++) { - value = ref5[l]; - string = prefix(value.name, value.prefixes); - if (values.indexOf(string) === -1) { - values += string; - } - } - } - if (props !== '') { - out += "\nProperties:\n" + props; - } - if (values !== '') { - out += "\nValues:\n" + values; - } - if (atrules === '' && selectors === '' && props === '' && values === '') { - out += '\nAwesome! Your browsers don\'t require any vendor prefixes.' + '\nNow you can remove Autoprefixer from build steps.'; - } - return out; - }; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/old-selector.js b/node_modules/autoprefixer/lib/old-selector.js deleted file mode 100644 index 732d9dc..0000000 --- a/node_modules/autoprefixer/lib/old-selector.js +++ /dev/null @@ -1,68 +0,0 @@ -(function() { - var OldSelector; - - OldSelector = (function() { - function OldSelector(selector, prefix1) { - var i, len, prefix, ref; - this.prefix = prefix1; - this.prefixed = selector.prefixed(this.prefix); - this.regexp = selector.regexp(this.prefix); - this.prefixeds = []; - ref = selector.possible(); - for (i = 0, len = ref.length; i < len; i++) { - prefix = ref[i]; - this.prefixeds.push([selector.prefixed(prefix), selector.regexp(prefix)]); - } - this.unprefixed = selector.name; - this.nameRegexp = selector.regexp(); - } - - OldSelector.prototype.isHack = function(rule) { - var before, i, index, len, ref, ref1, regexp, rules, some, string; - index = rule.parent.index(rule) + 1; - rules = rule.parent.nodes; - while (index < rules.length) { - before = rules[index].selector; - if (!before) { - return true; - } - if (before.indexOf(this.unprefixed) !== -1 && before.match(this.nameRegexp)) { - return false; - } - some = false; - ref = this.prefixeds; - for (i = 0, len = ref.length; i < len; i++) { - ref1 = ref[i], string = ref1[0], regexp = ref1[1]; - if (before.indexOf(string) !== -1 && before.match(regexp)) { - some = true; - break; - } - } - if (!some) { - return true; - } - index += 1; - } - return true; - }; - - OldSelector.prototype.check = function(rule) { - if (rule.selector.indexOf(this.prefixed) === -1) { - return false; - } - if (!rule.selector.match(this.regexp)) { - return false; - } - if (this.isHack(rule)) { - return false; - } - return true; - }; - - return OldSelector; - - })(); - - module.exports = OldSelector; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/old-value.js b/node_modules/autoprefixer/lib/old-value.js deleted file mode 100644 index 58651e6..0000000 --- a/node_modules/autoprefixer/lib/old-value.js +++ /dev/null @@ -1,30 +0,0 @@ -(function() { - var OldValue, utils; - - utils = require('./utils'); - - OldValue = (function() { - function OldValue(unprefixed, prefixed, string, regexp) { - this.unprefixed = unprefixed; - this.prefixed = prefixed; - this.string = string; - this.regexp = regexp; - this.regexp || (this.regexp = utils.regexp(this.prefixed)); - this.string || (this.string = this.prefixed); - } - - OldValue.prototype.check = function(value) { - if (value.indexOf(this.string) !== -1) { - return !!value.match(this.regexp); - } else { - return false; - } - }; - - return OldValue; - - })(); - - module.exports = OldValue; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/prefixer.js b/node_modules/autoprefixer/lib/prefixer.js deleted file mode 100644 index 852cbef..0000000 --- a/node_modules/autoprefixer/lib/prefixer.js +++ /dev/null @@ -1,121 +0,0 @@ -(function() { - var Browsers, Prefixer, clone, utils, vendor, - hasProp = {}.hasOwnProperty; - - Browsers = require('./browsers'); - - utils = require('./utils'); - - vendor = require('postcss/lib/vendor'); - - clone = function(obj, parent) { - var cloned, i, value; - cloned = new obj.constructor(); - for (i in obj) { - if (!hasProp.call(obj, i)) continue; - value = obj[i]; - if (i === 'parent' && typeof value === 'object') { - if (parent) { - cloned[i] = parent; - } - } else if (i === 'source') { - cloned[i] = value; - } else if (i === null) { - cloned[i] = value; - } else if (value instanceof Array) { - cloned[i] = value.map(function(i) { - return clone(i, cloned); - }); - } else if (i !== '_autoprefixerPrefix' && i !== '_autoprefixerValues') { - if (typeof value === 'object' && value !== null) { - value = clone(value, cloned); - } - cloned[i] = value; - } - } - return cloned; - }; - - Prefixer = (function() { - Prefixer.hack = function(klass) { - var j, len, name, ref, results; - this.hacks || (this.hacks = {}); - ref = klass.names; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - name = ref[j]; - results.push(this.hacks[name] = klass); - } - return results; - }; - - Prefixer.load = function(name, prefixes, all) { - var klass, ref; - klass = (ref = this.hacks) != null ? ref[name] : void 0; - if (klass) { - return new klass(name, prefixes, all); - } else { - return new this(name, prefixes, all); - } - }; - - Prefixer.clone = function(node, overrides) { - var cloned, name; - cloned = clone(node); - for (name in overrides) { - cloned[name] = overrides[name]; - } - return cloned; - }; - - function Prefixer(name1, prefixes1, all1) { - this.name = name1; - this.prefixes = prefixes1; - this.all = all1; - } - - Prefixer.prototype.parentPrefix = function(node) { - var prefix; - prefix = node._autoprefixerPrefix != null ? node._autoprefixerPrefix : node.type === 'decl' && node.prop[0] === '-' ? vendor.prefix(node.prop) : node.type === 'root' ? false : node.type === 'rule' && node.selector.indexOf(':-') !== -1 && /:(-\w+-)/.test(node.selector) ? node.selector.match(/:(-\w+-)/)[1] : node.type === 'atrule' && node.name[0] === '-' ? vendor.prefix(node.name) : this.parentPrefix(node.parent); - if (Browsers.prefixes().indexOf(prefix) === -1) { - prefix = false; - } - return node._autoprefixerPrefix = prefix; - }; - - Prefixer.prototype.process = function(node) { - var added, j, k, len, len1, parent, prefix, prefixes, ref; - if (!this.check(node)) { - return; - } - parent = this.parentPrefix(node); - prefixes = []; - ref = this.prefixes; - for (j = 0, len = ref.length; j < len; j++) { - prefix = ref[j]; - if (parent && parent !== utils.removeNote(prefix)) { - continue; - } - prefixes.push(prefix); - } - added = []; - for (k = 0, len1 = prefixes.length; k < len1; k++) { - prefix = prefixes[k]; - if (this.add(node, prefix, added.concat([prefix]))) { - added.push(prefix); - } - } - return added; - }; - - Prefixer.prototype.clone = function(node, overrides) { - return Prefixer.clone(node, overrides); - }; - - return Prefixer; - - })(); - - module.exports = Prefixer; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/prefixes.js b/node_modules/autoprefixer/lib/prefixes.js deleted file mode 100644 index 319fc39..0000000 --- a/node_modules/autoprefixer/lib/prefixes.js +++ /dev/null @@ -1,410 +0,0 @@ -(function() { - var AtRule, Browsers, Declaration, Prefixes, Processor, Resolution, Selector, Supports, Transition, Value, declsCache, utils, vendor; - - Declaration = require('./declaration'); - - Resolution = require('./resolution'); - - Transition = require('./transition'); - - Processor = require('./processor'); - - Supports = require('./supports'); - - Browsers = require('./browsers'); - - Selector = require('./selector'); - - AtRule = require('./at-rule'); - - Value = require('./value'); - - utils = require('./utils'); - - vendor = require('postcss/lib/vendor'); - - Selector.hack(require('./hacks/fullscreen')); - - Selector.hack(require('./hacks/placeholder')); - - Declaration.hack(require('./hacks/flex')); - - Declaration.hack(require('./hacks/order')); - - Declaration.hack(require('./hacks/filter')); - - Declaration.hack(require('./hacks/grid-end')); - - Declaration.hack(require('./hacks/flex-flow')); - - Declaration.hack(require('./hacks/flex-grow')); - - Declaration.hack(require('./hacks/flex-wrap')); - - Declaration.hack(require('./hacks/grid-start')); - - Declaration.hack(require('./hacks/align-self')); - - Declaration.hack(require('./hacks/flex-basis')); - - Declaration.hack(require('./hacks/mask-border')); - - Declaration.hack(require('./hacks/align-items')); - - Declaration.hack(require('./hacks/flex-shrink')); - - Declaration.hack(require('./hacks/break-props')); - - Declaration.hack(require('./hacks/writing-mode')); - - Declaration.hack(require('./hacks/border-image')); - - Declaration.hack(require('./hacks/justify-items')); - - Declaration.hack(require('./hacks/align-content')); - - Declaration.hack(require('./hacks/border-radius')); - - Declaration.hack(require('./hacks/block-logical')); - - Declaration.hack(require('./hacks/grid-template')); - - Declaration.hack(require('./hacks/inline-logical')); - - Declaration.hack(require('./hacks/grid-row-align')); - - Declaration.hack(require('./hacks/transform-decl')); - - Declaration.hack(require('./hacks/flex-direction')); - - Declaration.hack(require('./hacks/image-rendering')); - - Declaration.hack(require('./hacks/justify-content')); - - Declaration.hack(require('./hacks/background-size')); - - Declaration.hack(require('./hacks/text-emphasis-position')); - - Value.hack(require('./hacks/stretch')); - - Value.hack(require('./hacks/gradient')); - - Value.hack(require('./hacks/pixelated')); - - Value.hack(require('./hacks/image-set')); - - Value.hack(require('./hacks/cross-fade')); - - Value.hack(require('./hacks/flex-values')); - - Value.hack(require('./hacks/display-flex')); - - Value.hack(require('./hacks/display-grid')); - - Value.hack(require('./hacks/filter-value')); - - declsCache = {}; - - Prefixes = (function() { - function Prefixes(data1, browsers, options) { - var ref; - this.data = data1; - this.browsers = browsers; - this.options = options != null ? options : {}; - ref = this.preprocess(this.select(this.data)), this.add = ref[0], this.remove = ref[1]; - this.transition = new Transition(this); - this.processor = new Processor(this); - } - - Prefixes.prototype.cleaner = function() { - var empty; - if (!this.cleanerCache) { - if (this.browsers.selected.length) { - empty = new Browsers(this.browsers.data, []); - this.cleanerCache = new Prefixes(this.data, empty, this.options); - } else { - return this; - } - } - return this.cleanerCache; - }; - - Prefixes.prototype.select = function(list) { - var add, all, data, name, notes, selected; - selected = { - add: {}, - remove: {} - }; - for (name in list) { - data = list[name]; - add = data.browsers.map(function(i) { - var params; - params = i.split(' '); - return { - browser: params[0] + ' ' + params[1], - note: params[2] - }; - }); - notes = add.filter(function(i) { - return i.note; - }).map((function(_this) { - return function(i) { - return _this.browsers.prefix(i.browser) + ' ' + i.note; - }; - })(this)); - notes = utils.uniq(notes); - add = add.filter((function(_this) { - return function(i) { - return _this.browsers.isSelected(i.browser); - }; - })(this)).map((function(_this) { - return function(i) { - var prefix; - prefix = _this.browsers.prefix(i.browser); - if (i.note) { - return prefix + ' ' + i.note; - } else { - return prefix; - } - }; - })(this)); - add = this.sort(utils.uniq(add)); - if (this.options.flexbox === 'no-2009') { - add = add.filter(function(i) { - return i.indexOf('2009') === -1; - }); - } - all = data.browsers.map((function(_this) { - return function(i) { - return _this.browsers.prefix(i); - }; - })(this)); - if (data.mistakes) { - all = all.concat(data.mistakes); - } - all = all.concat(notes); - all = utils.uniq(all); - if (add.length) { - selected.add[name] = add; - if (add.length < all.length) { - selected.remove[name] = all.filter(function(i) { - return add.indexOf(i) === -1; - }); - } - } else { - selected.remove[name] = all; - } - } - return selected; - }; - - Prefixes.prototype.sort = function(prefixes) { - return prefixes.sort(function(a, b) { - var aLength, bLength; - aLength = utils.removeNote(a).length; - bLength = utils.removeNote(b).length; - if (aLength === bLength) { - return b.length - a.length; - } else { - return bLength - aLength; - } - }); - }; - - Prefixes.prototype.preprocess = function(selected) { - var a, add, j, k, l, len, len1, len2, len3, len4, len5, len6, m, n, name, o, old, olds, p, prefix, prefixed, prefixes, prop, props, ref, ref1, ref2, ref3, remove, selector, value, values; - add = { - selectors: [], - '@supports': new Supports(Prefixes, this) - }; - ref = selected.add; - for (name in ref) { - prefixes = ref[name]; - if (name === '@keyframes' || name === '@viewport') { - add[name] = new AtRule(name, prefixes, this); - } else if (name === '@resolution') { - add[name] = new Resolution(name, prefixes, this); - } else if (this.data[name].selector) { - add.selectors.push(Selector.load(name, prefixes, this)); - } else { - props = this.data[name].props; - if (props) { - value = Value.load(name, prefixes, this); - for (j = 0, len = props.length; j < len; j++) { - prop = props[j]; - if (!add[prop]) { - add[prop] = { - values: [] - }; - } - add[prop].values.push(value); - } - } else { - values = ((ref1 = add[name]) != null ? ref1.values : void 0) || []; - add[name] = Declaration.load(name, prefixes, this); - add[name].values = values; - } - } - } - remove = { - selectors: [] - }; - ref2 = selected.remove; - for (name in ref2) { - prefixes = ref2[name]; - if (this.data[name].selector) { - selector = Selector.load(name, prefixes); - for (k = 0, len1 = prefixes.length; k < len1; k++) { - prefix = prefixes[k]; - remove.selectors.push(selector.old(prefix)); - } - } else if (name === '@keyframes' || name === '@viewport') { - for (l = 0, len2 = prefixes.length; l < len2; l++) { - prefix = prefixes[l]; - prefixed = '@' + prefix + name.slice(1); - remove[prefixed] = { - remove: true - }; - } - } else if (name === '@resolution') { - remove[name] = new Resolution(name, prefixes, this); - } else { - props = this.data[name].props; - if (props) { - value = Value.load(name, [], this); - for (m = 0, len3 = prefixes.length; m < len3; m++) { - prefix = prefixes[m]; - old = value.old(prefix); - if (old) { - for (n = 0, len4 = props.length; n < len4; n++) { - prop = props[n]; - if (!remove[prop]) { - remove[prop] = {}; - } - if (!remove[prop].values) { - remove[prop].values = []; - } - remove[prop].values.push(old); - } - } - } - } else { - for (o = 0, len5 = prefixes.length; o < len5; o++) { - prefix = prefixes[o]; - prop = vendor.unprefixed(name); - olds = this.decl(name).old(name, prefix); - if (name === 'align-self') { - a = (ref3 = add[name]) != null ? ref3.prefixes : void 0; - if (a) { - if (prefix === '-webkit- 2009' && a.indexOf('-webkit-') !== -1) { - continue; - } else if (prefix === '-webkit-' && a.indexOf('-webkit- 2009') !== -1) { - continue; - } - } - } - for (p = 0, len6 = olds.length; p < len6; p++) { - prefixed = olds[p]; - if (!remove[prefixed]) { - remove[prefixed] = {}; - } - remove[prefixed].remove = true; - } - } - } - } - } - return [add, remove]; - }; - - Prefixes.prototype.decl = function(prop) { - var decl; - decl = declsCache[prop]; - if (decl) { - return decl; - } else { - return declsCache[prop] = Declaration.load(prop); - } - }; - - Prefixes.prototype.unprefixed = function(prop) { - var value; - value = this.normalize(vendor.unprefixed(prop)); - if (value === 'flex-direction') { - value = 'flex-flow'; - } - return value; - }; - - Prefixes.prototype.normalize = function(prop) { - return this.decl(prop).normalize(prop); - }; - - Prefixes.prototype.prefixed = function(prop, prefix) { - prop = vendor.unprefixed(prop); - return this.decl(prop).prefixed(prop, prefix); - }; - - Prefixes.prototype.values = function(type, prop) { - var data, global, ref, ref1, values; - data = this[type]; - global = (ref = data['*']) != null ? ref.values : void 0; - values = (ref1 = data[prop]) != null ? ref1.values : void 0; - if (global && values) { - return utils.uniq(global.concat(values)); - } else { - return global || values || []; - } - }; - - Prefixes.prototype.group = function(decl) { - var checker, index, length, rule, unprefixed; - rule = decl.parent; - index = rule.index(decl); - length = rule.nodes.length; - unprefixed = this.unprefixed(decl.prop); - checker = (function(_this) { - return function(step, callback) { - var other; - index += step; - while (index >= 0 && index < length) { - other = rule.nodes[index]; - if (other.type === 'decl') { - if (step === -1 && other.prop === unprefixed) { - if (!Browsers.withPrefix(other.value)) { - break; - } - } - if (_this.unprefixed(other.prop) !== unprefixed) { - break; - } else if (callback(other) === true) { - return true; - } - if (step === +1 && other.prop === unprefixed) { - if (!Browsers.withPrefix(other.value)) { - break; - } - } - } - index += step; - } - return false; - }; - })(this); - return { - up: function(callback) { - return checker(-1, callback); - }, - down: function(callback) { - return checker(+1, callback); - } - }; - }; - - return Prefixes; - - })(); - - module.exports = Prefixes; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/processor.js b/node_modules/autoprefixer/lib/processor.js deleted file mode 100644 index d72a8ec..0000000 --- a/node_modules/autoprefixer/lib/processor.js +++ /dev/null @@ -1,322 +0,0 @@ -(function() { - var OLD_DIRECTION, Processor, SIZES, Value, utils, vendor; - - vendor = require('postcss/lib/vendor'); - - Value = require('./value'); - - utils = require('./utils'); - - OLD_DIRECTION = /(^|[^-])(linear|radial)-gradient\(\s*(top|left|right|bottom)/i; - - SIZES = ['width', 'height', 'min-width', 'max-width', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size']; - - Processor = (function() { - function Processor(prefixes) { - this.prefixes = prefixes; - } - - Processor.prototype.add = function(css, result) { - var keyframes, resolution, supports, viewport; - resolution = this.prefixes.add['@resolution']; - keyframes = this.prefixes.add['@keyframes']; - viewport = this.prefixes.add['@viewport']; - supports = this.prefixes.add['@supports']; - css.walkAtRules((function(_this) { - return function(rule) { - if (rule.name === 'keyframes') { - if (!_this.disabled(rule)) { - return keyframes != null ? keyframes.process(rule) : void 0; - } - } else if (rule.name === 'viewport') { - if (!_this.disabled(rule)) { - return viewport != null ? viewport.process(rule) : void 0; - } - } else if (rule.name === 'supports') { - if (_this.prefixes.options.supports !== false && !_this.disabled(rule)) { - return supports.process(rule); - } - } else if (rule.name === 'media' && rule.params.indexOf('-resolution') !== -1) { - if (!_this.disabled(rule)) { - return resolution != null ? resolution.process(rule) : void 0; - } - } - }; - })(this)); - css.walkRules((function(_this) { - return function(rule) { - var j, len, ref, results, selector; - if (_this.disabled(rule)) { - return; - } - ref = _this.prefixes.add.selectors; - results = []; - for (j = 0, len = ref.length; j < len; j++) { - selector = ref[j]; - results.push(selector.process(rule, result)); - } - return results; - }; - })(this)); - css.walkDecls((function(_this) { - return function(decl) { - var display, prefixer; - if (_this.disabled(decl)) { - return; - } - if (decl.prop === 'display' && decl.value === 'box') { - result.warn('You should write display: flex by final spec ' + 'instead of display: box', { - node: decl - }); - return; - } - if (decl.value.indexOf('linear-gradient') !== -1) { - if (OLD_DIRECTION.test(decl.value)) { - result.warn('Gradient has outdated direction syntax. ' + 'New syntax is like `to left` instead of `right`.', { - node: decl - }); - } - } - if (decl.prop === 'text-emphasis-position') { - if (decl.value === 'under' || decl.value === 'over') { - result.warn('You should use 2 values for text-emphasis-position ' + 'For example, `under left` instead of just `under`.', { - node: decl - }); - } - } - if (SIZES.indexOf(decl.prop) !== -1) { - if (decl.value.indexOf('fill-available') !== -1) { - result.warn('Replace fill-available to stretch, ' + 'because spec had been changed', { - node: decl - }); - } else if (decl.value.indexOf('fill') !== -1) { - result.warn('Replace fill to stretch, because spec had been changed', { - node: decl - }); - } - } - if (_this.prefixes.options.flexbox !== false) { - if (decl.prop === 'grid-row-end' && decl.value.indexOf('span') === -1) { - result.warn('IE supports only grid-row-end with span. ' + 'You should add grid: false option to Autoprefixer ' + 'and use some JS grid polyfill for full spec support', { - node: decl - }); - } - if (decl.prop === 'grid-row') { - if (decl.value.indexOf('/') !== -1 && decl.value.indexOf('span') === -1) { - result.warn('IE supports only grid-row with / and span. ' + 'You should add grid: false option to Autoprefixer ' + 'and use some JS grid polyfill for full spec support', { - node: decl - }); - } - } - } - if (decl.prop === 'transition' || decl.prop === 'transition-property') { - return _this.prefixes.transition.add(decl, result); - } else if (decl.prop === 'align-self') { - display = _this.displayType(decl); - if (display !== 'grid' && _this.prefixes.options.flexbox !== false) { - prefixer = _this.prefixes.add['align-self']; - if (prefixer && prefixer.prefixes) { - prefixer.process(decl); - } - } - if (display !== 'flex' && _this.prefixes.options.grid !== false) { - prefixer = _this.prefixes.add['grid-row-align']; - if (prefixer && prefixer.prefixes) { - return prefixer.process(decl); - } - } - } else { - prefixer = _this.prefixes.add[decl.prop]; - if (prefixer && prefixer.prefixes) { - return prefixer.process(decl); - } - } - }; - })(this)); - return css.walkDecls((function(_this) { - return function(decl) { - var j, len, ref, unprefixed, value; - if (_this.disabled(decl)) { - return; - } - unprefixed = _this.prefixes.unprefixed(decl.prop); - ref = _this.prefixes.values('add', unprefixed); - for (j = 0, len = ref.length; j < len; j++) { - value = ref[j]; - value.process(decl, result); - } - return Value.save(_this.prefixes, decl); - }; - })(this)); - }; - - Processor.prototype.remove = function(css) { - var checker, j, len, ref, resolution; - resolution = this.prefixes.remove['@resolution']; - css.walkAtRules((function(_this) { - return function(rule, i) { - if (_this.prefixes.remove['@' + rule.name]) { - if (!_this.disabled(rule)) { - return rule.parent.removeChild(i); - } - } else if (rule.name === 'media' && rule.params.indexOf('-resolution') !== -1) { - return resolution != null ? resolution.clean(rule) : void 0; - } - }; - })(this)); - ref = this.prefixes.remove.selectors; - for (j = 0, len = ref.length; j < len; j++) { - checker = ref[j]; - css.walkRules((function(_this) { - return function(rule, i) { - if (checker.check(rule)) { - if (!_this.disabled(rule)) { - return rule.parent.removeChild(i); - } - } - }; - })(this)); - } - return css.walkDecls((function(_this) { - return function(decl, i) { - var k, len1, notHack, ref1, ref2, rule, unprefixed; - if (_this.disabled(decl)) { - return; - } - rule = decl.parent; - unprefixed = _this.prefixes.unprefixed(decl.prop); - if (decl.prop === 'transition' || decl.prop === 'transition-property') { - _this.prefixes.transition.remove(decl); - } - if ((ref1 = _this.prefixes.remove[decl.prop]) != null ? ref1.remove : void 0) { - notHack = _this.prefixes.group(decl).down(function(other) { - return _this.prefixes.normalize(other.prop) === unprefixed; - }); - if (unprefixed === 'flex-flow') { - notHack = true; - } - if (notHack && !_this.withHackValue(decl)) { - if (decl.raw('before').indexOf("\n") > -1) { - _this.reduceSpaces(decl); - } - rule.removeChild(i); - return; - } - } - ref2 = _this.prefixes.values('remove', unprefixed); - for (k = 0, len1 = ref2.length; k < len1; k++) { - checker = ref2[k]; - if (checker.check(decl.value)) { - unprefixed = checker.unprefixed; - notHack = _this.prefixes.group(decl).down(function(other) { - return other.value.indexOf(unprefixed) !== -1; - }); - if (notHack) { - rule.removeChild(i); - return; - } else if (checker.clean) { - checker.clean(decl); - return; - } - } - } - }; - })(this)); - }; - - Processor.prototype.withHackValue = function(decl) { - return decl.prop === '-webkit-background-clip' && decl.value === 'text'; - }; - - Processor.prototype.disabled = function(node) { - var other, status; - if (this.prefixes.options.grid === false && node.type === 'decl') { - if (node.prop === 'display' && node.value.indexOf('grid') !== -1) { - return true; - } - if (node.prop.indexOf('grid') !== -1 || node.prop === 'justify-items') { - return true; - } - } - if (this.prefixes.options.flexbox === false && node.type === 'decl') { - if (node.prop === 'display' && node.value.indexOf('flex') !== -1) { - return true; - } - other = ['order', 'justify-content', 'align-items', 'align-content']; - if (node.prop.indexOf('flex') !== -1 || other.indexOf(node.prop) !== -1) { - return true; - } - } - if (node._autoprefixerDisabled != null) { - return node._autoprefixerDisabled; - } else if (node.nodes) { - status = void 0; - node.each(function(i) { - if (i.type !== 'comment') { - return; - } - if (/(!\s*)?autoprefixer:\s*off/i.test(i.text)) { - status = false; - return false; - } else if (/(!\s*)?autoprefixer:\s*on/i.test(i.text)) { - status = true; - return false; - } - }); - return node._autoprefixerDisabled = status != null ? !status : node.parent ? this.disabled(node.parent) : false; - } else if (node.parent) { - return node._autoprefixerDisabled = this.disabled(node.parent); - } else { - return false; - } - }; - - Processor.prototype.reduceSpaces = function(decl) { - var diff, parts, prevMin, stop; - stop = false; - this.prefixes.group(decl).up(function(other) { - return stop = true; - }); - if (stop) { - return; - } - parts = decl.raw('before').split("\n"); - prevMin = parts[parts.length - 1].length; - diff = false; - return this.prefixes.group(decl).down(function(other) { - var last; - parts = other.raw('before').split("\n"); - last = parts.length - 1; - if (parts[last].length > prevMin) { - if (diff === false) { - diff = parts[last].length - prevMin; - } - parts[last] = parts[last].slice(0, -diff); - return other.raws.before = parts.join("\n"); - } - }); - }; - - Processor.prototype.displayType = function(decl) { - var i, j, len, ref; - ref = decl.parent.nodes; - for (j = 0, len = ref.length; j < len; j++) { - i = ref[j]; - if (i.prop === 'display') { - if (i.value.indexOf('flex') !== -1) { - return 'flex'; - } else if (i.value.indexOf('grid') !== -1) { - return 'grid'; - } - } - } - return false; - }; - - return Processor; - - })(); - - module.exports = Processor; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/resolution.js b/node_modules/autoprefixer/lib/resolution.js deleted file mode 100644 index 44147ce..0000000 --- a/node_modules/autoprefixer/lib/resolution.js +++ /dev/null @@ -1,98 +0,0 @@ -(function() { - var Prefixer, Resolution, n2f, regexp, split, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Prefixer = require('./prefixer'); - - utils = require('./utils'); - - n2f = require('num2fraction'); - - regexp = /(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpi)/gi; - - split = /(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpi)/i; - - Resolution = (function(superClass) { - extend(Resolution, superClass); - - function Resolution() { - return Resolution.__super__.constructor.apply(this, arguments); - } - - Resolution.prototype.prefixName = function(prefix, name) { - return name = prefix === '-moz-' ? name + '--moz-device-pixel-ratio' : prefix + name + '-device-pixel-ratio'; - }; - - Resolution.prototype.prefixQuery = function(prefix, name, colon, value, units) { - if (units === 'dpi') { - value = Number(value / 96); - } - if (prefix === '-o-') { - value = n2f(value); - } - return this.prefixName(prefix, name) + colon + value; - }; - - Resolution.prototype.clean = function(rule) { - var j, len, prefix, ref; - if (!this.bad) { - this.bad = []; - ref = this.prefixes; - for (j = 0, len = ref.length; j < len; j++) { - prefix = ref[j]; - this.bad.push(this.prefixName(prefix, 'min')); - this.bad.push(this.prefixName(prefix, 'max')); - } - } - return rule.params = utils.editList(rule.params, (function(_this) { - return function(queries) { - return queries.filter(function(query) { - return _this.bad.every(function(i) { - return query.indexOf(i) === -1; - }); - }); - }; - })(this)); - }; - - Resolution.prototype.process = function(rule) { - var parent, prefixes; - parent = this.parentPrefix(rule); - prefixes = parent ? [parent] : this.prefixes; - return rule.params = utils.editList(rule.params, (function(_this) { - return function(origin, prefixed) { - var j, k, len, len1, prefix, processed, query; - for (j = 0, len = origin.length; j < len; j++) { - query = origin[j]; - if (query.indexOf('min-resolution') === -1 && query.indexOf('max-resolution') === -1) { - prefixed.push(query); - continue; - } - for (k = 0, len1 = prefixes.length; k < len1; k++) { - prefix = prefixes[k]; - if (prefix === '-moz-' && rule.params.indexOf('dpi') !== -1) { - continue; - } else { - processed = query.replace(regexp, function(str) { - var parts; - parts = str.match(split); - return _this.prefixQuery(prefix, parts[1], parts[2], parts[3], parts[4]); - }); - prefixed.push(processed); - } - } - prefixed.push(query); - } - return utils.uniq(prefixed); - }; - })(this)); - }; - - return Resolution; - - })(Prefixer); - - module.exports = Resolution; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/selector.js b/node_modules/autoprefixer/lib/selector.js deleted file mode 100644 index 07866fd..0000000 --- a/node_modules/autoprefixer/lib/selector.js +++ /dev/null @@ -1,117 +0,0 @@ -(function() { - var Browsers, OldSelector, Prefixer, Selector, utils, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - OldSelector = require('./old-selector'); - - Prefixer = require('./prefixer'); - - Browsers = require('./browsers'); - - utils = require('./utils'); - - Selector = (function(superClass) { - extend(Selector, superClass); - - function Selector(name1, prefixes, all) { - this.name = name1; - this.prefixes = prefixes; - this.all = all; - this.regexpCache = {}; - } - - Selector.prototype.check = function(rule) { - if (rule.selector.indexOf(this.name) !== -1) { - return !!rule.selector.match(this.regexp()); - } else { - return false; - } - }; - - Selector.prototype.prefixed = function(prefix) { - return this.name.replace(/^([^\w]*)/, '$1' + prefix); - }; - - Selector.prototype.regexp = function(prefix) { - var name; - if (this.regexpCache[prefix]) { - return this.regexpCache[prefix]; - } - name = prefix ? this.prefixed(prefix) : this.name; - return this.regexpCache[prefix] = RegExp("(^|[^:\"'=])" + (utils.escapeRegexp(name)), "gi"); - }; - - Selector.prototype.possible = function() { - return Browsers.prefixes(); - }; - - Selector.prototype.prefixeds = function(rule) { - var i, len, prefix, prefixeds, ref; - if (rule._autoprefixerPrefixeds) { - return rule._autoprefixerPrefixeds; - } - prefixeds = {}; - ref = this.possible(); - for (i = 0, len = ref.length; i < len; i++) { - prefix = ref[i]; - prefixeds[prefix] = this.replace(rule.selector, prefix); - } - return rule._autoprefixerPrefixeds = prefixeds; - }; - - Selector.prototype.already = function(rule, prefixeds, prefix) { - var before, index, key, prefixed, some; - index = rule.parent.index(rule) - 1; - while (index >= 0) { - before = rule.parent.nodes[index]; - if (before.type !== 'rule') { - return false; - } - some = false; - for (key in prefixeds) { - prefixed = prefixeds[key]; - if (before.selector === prefixed) { - if (prefix === key) { - return true; - } else { - some = true; - break; - } - } - } - if (!some) { - return false; - } - index -= 1; - } - return false; - }; - - Selector.prototype.replace = function(selector, prefix) { - return selector.replace(this.regexp(), '$1' + this.prefixed(prefix)); - }; - - Selector.prototype.add = function(rule, prefix) { - var cloned, prefixeds; - prefixeds = this.prefixeds(rule); - if (this.already(rule, prefixeds, prefix)) { - return; - } - cloned = this.clone(rule, { - selector: prefixeds[prefix] - }); - return rule.parent.insertBefore(rule, cloned); - }; - - Selector.prototype.old = function(prefix) { - return new OldSelector(this, prefix); - }; - - return Selector; - - })(Prefixer); - - module.exports = Selector; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/supports.js b/node_modules/autoprefixer/lib/supports.js deleted file mode 100644 index 29b1a99..0000000 --- a/node_modules/autoprefixer/lib/supports.js +++ /dev/null @@ -1,255 +0,0 @@ -(function() { - var Browsers, Supports, Value, brackets, browser, data, postcss, ref, support, supported, utils, version, versions; - - Browsers = require('./browsers'); - - brackets = require('./brackets'); - - Value = require('./value'); - - utils = require('./utils'); - - postcss = require('postcss'); - - supported = []; - - data = require('caniuse-db/features-json/css-featurequeries.json'); - - ref = data.stats; - for (browser in ref) { - versions = ref[browser]; - for (version in versions) { - support = versions[version]; - if (/y/.test(support)) { - supported.push(browser + ' ' + version); - } - } - } - - Supports = (function() { - function Supports(Prefixes, all1) { - this.Prefixes = Prefixes; - this.all = all1; - } - - Supports.prototype.prefixer = function() { - var browsers, filtered; - if (this.prefixerCache) { - return this.prefixerCache; - } - filtered = this.all.browsers.selected.filter((function(_this) { - return function(i) { - return supported.indexOf(i) !== -1; - }; - })(this)); - browsers = new Browsers(this.all.browsers.data, filtered, this.all.options); - return this.prefixerCache = new this.Prefixes(this.all.data, browsers, this.all.options); - }; - - Supports.prototype.parse = function(str) { - var prop, ref1, value; - ref1 = str.split(':'), prop = ref1[0], value = ref1[1]; - value || (value = ''); - return [prop.trim(), value.trim()]; - }; - - Supports.prototype.virtual = function(str) { - var prop, ref1, rule, value; - ref1 = this.parse(str), prop = ref1[0], value = ref1[1]; - rule = postcss.parse('a{}').first; - rule.append({ - prop: prop, - value: value, - raws: { - before: '' - } - }); - return rule; - }; - - Supports.prototype.prefixed = function(str) { - var decl, j, k, len, len1, prefixer, ref1, ref2, rule, value; - rule = this.virtual(str); - if (this.disabled(rule.first)) { - return rule.nodes; - } - prefixer = this.prefixer().add[rule.first.prop]; - if (prefixer != null) { - if (typeof prefixer.process === "function") { - prefixer.process(rule.first); - } - } - ref1 = rule.nodes; - for (j = 0, len = ref1.length; j < len; j++) { - decl = ref1[j]; - ref2 = this.prefixer().values('add', rule.first.prop); - for (k = 0, len1 = ref2.length; k < len1; k++) { - value = ref2[k]; - value.process(decl); - } - Value.save(this.all, decl); - } - return rule.nodes; - }; - - Supports.prototype.isNot = function(node) { - return typeof node === 'string' && /not\s*/i.test(node); - }; - - Supports.prototype.isOr = function(node) { - return typeof node === 'string' && /\s*or\s*/i.test(node); - }; - - Supports.prototype.isProp = function(node) { - return typeof node === 'object' && node.length === 1 && typeof node[0] === 'string'; - }; - - Supports.prototype.isHack = function(all, unprefixed) { - var check; - check = new RegExp('(\\(|\\s)' + utils.escapeRegexp(unprefixed) + ':'); - return !check.test(all); - }; - - Supports.prototype.toRemove = function(str, all) { - var checker, j, len, prop, ref1, ref2, ref3, unprefixed, value; - ref1 = this.parse(str), prop = ref1[0], value = ref1[1]; - unprefixed = this.all.unprefixed(prop); - if (((ref2 = this.all.cleaner().remove[prop]) != null ? ref2.remove : void 0) && !this.isHack(all, unprefixed)) { - return true; - } - ref3 = this.all.cleaner().values('remove', unprefixed); - for (j = 0, len = ref3.length; j < len; j++) { - checker = ref3[j]; - if (checker.check(value)) { - return true; - } - } - return false; - }; - - Supports.prototype.remove = function(nodes, all) { - var i; - i = 0; - while (i < nodes.length) { - if (!this.isNot(nodes[i - 1]) && this.isProp(nodes[i]) && this.isOr(nodes[i + 1])) { - if (this.toRemove(nodes[i][0], all)) { - nodes.splice(i, 2); - } else { - i += 2; - } - } else { - if (typeof nodes[i] === 'object') { - nodes[i] = this.remove(nodes[i], all); - } - i += 1; - } - } - return nodes; - }; - - Supports.prototype.cleanBrackets = function(nodes) { - return nodes.map((function(_this) { - return function(i) { - if (typeof i === 'object') { - if (i.length === 1 && typeof i[0] === 'object') { - return _this.cleanBrackets(i[0]); - } else { - return _this.cleanBrackets(i); - } - } else { - return i; - } - }; - })(this)); - }; - - Supports.prototype.convert = function(progress) { - var i, j, len, result; - result = ['']; - for (j = 0, len = progress.length; j < len; j++) { - i = progress[j]; - result.push([i.prop + ": " + i.value]); - result.push(' or '); - } - result[result.length - 1] = ''; - return result; - }; - - Supports.prototype.normalize = function(nodes) { - if (typeof nodes === 'object') { - nodes = nodes.filter(function(i) { - return i !== ''; - }); - if (typeof nodes[0] === 'string' && nodes[0].indexOf(':') !== -1) { - return [brackets.stringify(nodes)]; - } else { - return nodes.map((function(_this) { - return function(i) { - return _this.normalize(i); - }; - })(this)); - } - } else { - return nodes; - } - }; - - Supports.prototype.add = function(nodes, all) { - return nodes.map((function(_this) { - return function(i) { - var prefixed; - if (_this.isProp(i)) { - prefixed = _this.prefixed(i[0]); - if (prefixed.length > 1) { - return _this.convert(prefixed); - } else { - return i; - } - } else if (typeof i === 'object') { - return _this.add(i, all); - } else { - return i; - } - }; - })(this)); - }; - - Supports.prototype.process = function(rule) { - var ast; - ast = brackets.parse(rule.params); - ast = this.normalize(ast); - ast = this.remove(ast, rule.params); - ast = this.add(ast, rule.params); - ast = this.cleanBrackets(ast); - return rule.params = brackets.stringify(ast); - }; - - Supports.prototype.disabled = function(node) { - var other; - if (this.all.options.grid === false) { - if (node.prop === 'display' && node.value.indexOf('grid') !== -1) { - return true; - } - if (node.prop.indexOf('grid') !== -1 || node.prop === 'justify-items') { - return true; - } - } - if (this.all.options.flexbox === false) { - if (node.prop === 'display' && node.value.indexOf('flex') !== -1) { - return true; - } - other = ['order', 'justify-content', 'align-items', 'align-content']; - if (node.prop.indexOf('flex') !== -1 || other.indexOf(node.prop) !== -1) { - return true; - } - } - return false; - }; - - return Supports; - - })(); - - module.exports = Supports; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/transition.js b/node_modules/autoprefixer/lib/transition.js deleted file mode 100644 index ec10e0d..0000000 --- a/node_modules/autoprefixer/lib/transition.js +++ /dev/null @@ -1,291 +0,0 @@ -(function() { - var Transition, list, parser, vendor; - - parser = require('postcss-value-parser'); - - vendor = require('postcss/lib/vendor'); - - list = require('postcss/lib/list'); - - Transition = (function() { - function Transition(prefixes) { - this.prefixes = prefixes; - } - - Transition.prototype.props = ['transition', 'transition-property']; - - Transition.prototype.add = function(decl, result) { - var added, declPrefixes, j, k, l, len, len1, len2, names, operaClean, param, params, prefix, prefixValue, prefixed, prefixer, prop, ref, ref1, value, webkitClean; - declPrefixes = ((ref = this.prefixes.add[decl.prop]) != null ? ref.prefixes : void 0) || []; - params = this.parse(decl.value); - names = params.map((function(_this) { - return function(i) { - return _this.findProp(i); - }; - })(this)); - added = []; - if (names.some(function(i) { - return i[0] === '-'; - })) { - return; - } - for (j = 0, len = params.length; j < len; j++) { - param = params[j]; - prop = this.findProp(param); - if (prop[0] === '-') { - continue; - } - prefixer = this.prefixes.add[prop]; - if (!(prefixer != null ? prefixer.prefixes : void 0)) { - continue; - } - ref1 = prefixer.prefixes; - for (k = 0, len1 = ref1.length; k < len1; k++) { - prefix = ref1[k]; - prefixed = this.prefixes.prefixed(prop, prefix); - if (prefixed !== '-ms-transform' && names.indexOf(prefixed) === -1) { - if (!this.disabled(prop, prefix)) { - added.push(this.clone(prop, prefixed, param)); - } - } - } - } - params = params.concat(added); - value = this.stringify(params); - webkitClean = this.stringify(this.cleanFromUnprefixed(params, '-webkit-')); - if (declPrefixes.indexOf('-webkit-') !== -1) { - this.cloneBefore(decl, '-webkit-' + decl.prop, webkitClean); - } - this.cloneBefore(decl, decl.prop, webkitClean); - if (declPrefixes.indexOf('-o-') !== -1) { - operaClean = this.stringify(this.cleanFromUnprefixed(params, '-o-')); - this.cloneBefore(decl, '-o-' + decl.prop, operaClean); - } - for (l = 0, len2 = declPrefixes.length; l < len2; l++) { - prefix = declPrefixes[l]; - if (prefix !== '-webkit-' && prefix !== '-o-') { - prefixValue = this.stringify(this.cleanOtherPrefixes(params, prefix)); - this.cloneBefore(decl, prefix + decl.prop, prefixValue); - } - } - if (value !== decl.value && !this.already(decl, decl.prop, value)) { - this.checkForWarning(result, decl); - decl.cloneBefore(); - return decl.value = value; - } - }; - - Transition.prototype.findProp = function(param) { - var i, j, len, prop, token; - prop = param[0].value; - if (/^\d/.test(prop)) { - for (i = j = 0, len = param.length; j < len; i = ++j) { - token = param[i]; - if (i !== 0 && token.type === 'word') { - return token.value; - } - } - } - return prop; - }; - - Transition.prototype.already = function(decl, prop, value) { - return decl.parent.some(function(i) { - return i.prop === prop && i.value === value; - }); - }; - - Transition.prototype.cloneBefore = function(decl, prop, value) { - if (!this.already(decl, prop, value)) { - return decl.cloneBefore({ - prop: prop, - value: value - }); - } - }; - - Transition.prototype.checkForWarning = function(result, decl) { - if (decl.prop === 'transition-property') { - return decl.parent.each(function(i) { - if (i.type !== 'decl') { - return; - } - if (i.prop.indexOf('transition-') !== 0) { - return; - } - if (i.prop === 'transition-property') { - return; - } - if (list.comma(i.value).length > 1) { - decl.warn(result, 'Replace transition-property to transition, ' + 'because Autoprefixer could not support ' + 'any cases of transition-property ' + 'and other transition-*'); - } - return false; - }); - } - }; - - Transition.prototype.remove = function(decl) { - var double, params, smaller, value; - params = this.parse(decl.value); - params = params.filter((function(_this) { - return function(i) { - var ref; - return !((ref = _this.prefixes.remove[_this.findProp(i)]) != null ? ref.remove : void 0); - }; - })(this)); - value = this.stringify(params); - if (decl.value === value) { - return; - } - if (params.length === 0) { - decl.remove(); - return; - } - double = decl.parent.some(function(i) { - return i.prop === decl.prop && i.value === value; - }); - smaller = decl.parent.some(function(i) { - return i !== decl && i.prop === decl.prop && i.value.length > value.length; - }); - if (double || smaller) { - return decl.remove(); - } else { - return decl.value = value; - } - }; - - Transition.prototype.parse = function(value) { - var ast, j, len, node, param, ref, result; - ast = parser(value); - result = []; - param = []; - ref = ast.nodes; - for (j = 0, len = ref.length; j < len; j++) { - node = ref[j]; - param.push(node); - if (node.type === 'div' && node.value === ',') { - result.push(param); - param = []; - } - } - result.push(param); - return result.filter(function(i) { - return i.length > 0; - }); - }; - - Transition.prototype.stringify = function(params) { - var j, len, nodes, param; - if (params.length === 0) { - return ''; - } - nodes = []; - for (j = 0, len = params.length; j < len; j++) { - param = params[j]; - if (param[param.length - 1].type !== 'div') { - param.push(this.div(params)); - } - nodes = nodes.concat(param); - } - if (nodes[0].type === 'div') { - nodes = nodes.slice(1); - } - if (nodes[nodes.length - 1].type === 'div') { - nodes = nodes.slice(0, -1); - } - return parser.stringify({ - nodes: nodes - }); - }; - - Transition.prototype.clone = function(origin, name, param) { - var changed, i, j, len, result; - result = []; - changed = false; - for (j = 0, len = param.length; j < len; j++) { - i = param[j]; - if (!changed && i.type === 'word' && i.value === origin) { - result.push({ - type: 'word', - value: name - }); - changed = true; - } else { - result.push(i); - } - } - return result; - }; - - Transition.prototype.div = function(params) { - var j, k, len, len1, node, param; - for (j = 0, len = params.length; j < len; j++) { - param = params[j]; - for (k = 0, len1 = param.length; k < len1; k++) { - node = param[k]; - if (node.type === 'div' && node.value === ',') { - return node; - } - } - } - return { - type: 'div', - value: ',', - after: ' ' - }; - }; - - Transition.prototype.cleanOtherPrefixes = function(params, prefix) { - return params.filter((function(_this) { - return function(param) { - var current; - current = vendor.prefix(_this.findProp(param)); - return current === '' || current === prefix; - }; - })(this)); - }; - - Transition.prototype.cleanFromUnprefixed = function(params, prefix) { - var j, len, p, param, prop, remove, result; - result = []; - remove = params.map((function(_this) { - return function(i) { - return _this.findProp(i); - }; - })(this)).filter(function(i) { - return i.slice(0, prefix.length) === prefix; - }).map((function(_this) { - return function(i) { - return _this.prefixes.unprefixed(i); - }; - })(this)); - for (j = 0, len = params.length; j < len; j++) { - param = params[j]; - prop = this.findProp(param); - p = vendor.prefix(prop); - if (remove.indexOf(prop) === -1 && (p === prefix || p === '')) { - result.push(param); - } - } - return result; - }; - - Transition.prototype.disabled = function(prop, prefix) { - var other; - other = ['order', 'justify-content', 'align-self', 'align-content']; - if (prop.indexOf('flex') !== -1 || other.indexOf(prop) !== -1) { - if (this.prefixes.options.flexbox === false) { - return true; - } else if (this.prefixes.options.flexbox === 'no-2009') { - return prefix.indexOf('2009') !== -1; - } - } - }; - - return Transition; - - })(); - - module.exports = Transition; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/utils.js b/node_modules/autoprefixer/lib/utils.js deleted file mode 100644 index 4334cca..0000000 --- a/node_modules/autoprefixer/lib/utils.js +++ /dev/null @@ -1,57 +0,0 @@ -(function() { - var list; - - list = require('postcss/lib/list'); - - module.exports = { - error: function(text) { - var err; - err = new Error(text); - err.autoprefixer = true; - throw err; - }, - uniq: function(array) { - var filtered, i, j, len; - filtered = []; - for (j = 0, len = array.length; j < len; j++) { - i = array[j]; - if (filtered.indexOf(i) === -1) { - filtered.push(i); - } - } - return filtered; - }, - removeNote: function(string) { - if (string.indexOf(' ') === -1) { - return string; - } else { - return string.split(' ')[0]; - } - }, - escapeRegexp: function(string) { - return string.replace(/[.?*+\^\$\[\]\\(){}|\-]/g, '\\$&'); - }, - regexp: function(word, escape) { - if (escape == null) { - escape = true; - } - if (escape) { - word = this.escapeRegexp(word); - } - return RegExp("(^|[\\s,(])(" + word + "($|[\\s(,]))", "gi"); - }, - editList: function(value, callback) { - var changed, join, origin; - origin = list.comma(value); - changed = callback(origin, []); - if (origin === changed) { - return value; - } else { - join = value.match(/,\s*/); - join = join ? join[0] : ', '; - return changed.join(join); - } - } - }; - -}).call(this); diff --git a/node_modules/autoprefixer/lib/value.js b/node_modules/autoprefixer/lib/value.js deleted file mode 100644 index 976f4aa..0000000 --- a/node_modules/autoprefixer/lib/value.js +++ /dev/null @@ -1,108 +0,0 @@ -(function() { - var OldValue, Prefixer, Value, utils, vendor, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - hasProp = {}.hasOwnProperty; - - Prefixer = require('./prefixer'); - - OldValue = require('./old-value'); - - utils = require('./utils'); - - vendor = require('postcss/lib/vendor'); - - Value = (function(superClass) { - extend(Value, superClass); - - function Value() { - return Value.__super__.constructor.apply(this, arguments); - } - - Value.save = function(prefixes, decl) { - var already, cloned, prefix, prefixed, prop, propPrefix, ref, results, rule, trimmed, value; - prop = decl.prop; - ref = decl._autoprefixerValues; - results = []; - for (prefix in ref) { - value = ref[prefix]; - if (value === decl.value) { - continue; - } - propPrefix = vendor.prefix(prop); - if (propPrefix === prefix) { - results.push(decl.value = value); - } else if (propPrefix === '-pie-') { - continue; - } else { - prefixed = prefixes.prefixed(prop, prefix); - rule = decl.parent; - if (rule.every(function(i) { - return i.prop !== prefixed; - })) { - trimmed = value.replace(/\s+/, ' '); - already = rule.some(function(i) { - return i.prop === decl.prop && i.value.replace(/\s+/, ' ') === trimmed; - }); - if (!already) { - cloned = this.clone(decl, { - value: value - }); - results.push(decl.parent.insertBefore(decl, cloned)); - } else { - results.push(void 0); - } - } else { - results.push(void 0); - } - } - } - return results; - }; - - Value.prototype.check = function(decl) { - var value; - value = decl.value; - if (value.indexOf(this.name) !== -1) { - return !!value.match(this.regexp()); - } else { - return false; - } - }; - - Value.prototype.regexp = function() { - return this.regexpCache || (this.regexpCache = utils.regexp(this.name)); - }; - - Value.prototype.replace = function(string, prefix) { - return string.replace(this.regexp(), '$1' + prefix + '$2'); - }; - - Value.prototype.value = function(decl) { - if (decl.raws.value && decl.raws.value.value === decl.value) { - return decl.raws.value.raw; - } else { - return decl.value; - } - }; - - Value.prototype.add = function(decl, prefix) { - var value; - decl._autoprefixerValues || (decl._autoprefixerValues = {}); - value = decl._autoprefixerValues[prefix] || this.value(decl); - value = this.replace(value, prefix); - if (value) { - return decl._autoprefixerValues[prefix] = value; - } - }; - - Value.prototype.old = function(prefix) { - return new OldValue(this.name, prefix + this.name); - }; - - return Value; - - })(Prefixer); - - module.exports = Value; - -}).call(this); diff --git a/node_modules/autoprefixer/node_modules/ansi-styles/index.js b/node_modules/autoprefixer/node_modules/ansi-styles/index.js deleted file mode 100644 index 7894527..0000000 --- a/node_modules/autoprefixer/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,65 +0,0 @@ -'use strict'; - -function assembleStyles () { - var styles = { - modifiers: { - reset: [0, 0], - bold: [1, 22], // 21 isn't widely supported and 22 does the same thing - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - colors: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39] - }, - bgColors: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49] - } - }; - - // fix humans - styles.colors.grey = styles.colors.gray; - - Object.keys(styles).forEach(function (groupName) { - var group = styles[groupName]; - - Object.keys(group).forEach(function (styleName) { - var style = group[styleName]; - - styles[styleName] = group[styleName] = { - open: '\u001b[' + style[0] + 'm', - close: '\u001b[' + style[1] + 'm' - }; - }); - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - }); - - return styles; -} - -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/node_modules/autoprefixer/node_modules/ansi-styles/license b/node_modules/autoprefixer/node_modules/ansi-styles/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/autoprefixer/node_modules/ansi-styles/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/autoprefixer/node_modules/ansi-styles/package.json b/node_modules/autoprefixer/node_modules/ansi-styles/package.json deleted file mode 100644 index 7de48e3..0000000 --- a/node_modules/autoprefixer/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "_from": "ansi-styles@^2.2.1", - "_id": "ansi-styles@2.2.1", - "_inBundle": false, - "_integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "_location": "/autoprefixer/ansi-styles", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ansi-styles@^2.2.1", - "name": "ansi-styles", - "escapedName": "ansi-styles", - "rawSpec": "^2.2.1", - "saveSpec": null, - "fetchSpec": "^2.2.1" - }, - "_requiredBy": [ - "/autoprefixer/chalk" - ], - "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "_shasum": "b432dd3358b634cf75e1e4664368240533c1ddbe", - "_spec": "ansi-styles@^2.2.1", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/autoprefixer/node_modules/chalk", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-styles/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "ANSI escape codes for styling strings in the terminal", - "devDependencies": { - "mocha": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/ansi-styles#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "maintainers": [ - { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - { - "name": "Joshua Appelman", - "email": "jappelman@xebia.com", - "url": "jbnicolai.com" - } - ], - "name": "ansi-styles", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-styles.git" - }, - "scripts": { - "test": "mocha" - }, - "version": "2.2.1" -} diff --git a/node_modules/autoprefixer/node_modules/ansi-styles/readme.md b/node_modules/autoprefixer/node_modules/ansi-styles/readme.md deleted file mode 100644 index 3f933f6..0000000 --- a/node_modules/autoprefixer/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,86 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - -![](screenshot.png) - - -## Install - -``` -$ npm install --save ansi-styles -``` - - -## Usage - -```js -var ansi = require('ansi-styles'); - -console.log(ansi.green.open + 'Hello world!' + ansi.green.close); -``` - - -## API - -Each style has an `open` and `close` property. - - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `gray` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` - - -## Advanced usage - -By default you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `ansi.modifiers` -- `ansi.colors` -- `ansi.bgColors` - - -###### Example - -```js -console.log(ansi.colors.green.open); -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/autoprefixer/node_modules/chalk/index.js b/node_modules/autoprefixer/node_modules/chalk/index.js deleted file mode 100644 index 2d85a91..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/index.js +++ /dev/null @@ -1,116 +0,0 @@ -'use strict'; -var escapeStringRegexp = require('escape-string-regexp'); -var ansiStyles = require('ansi-styles'); -var stripAnsi = require('strip-ansi'); -var hasAnsi = require('has-ansi'); -var supportsColor = require('supports-color'); -var defineProps = Object.defineProperties; -var isSimpleWindowsTerm = process.platform === 'win32' && !/^xterm/i.test(process.env.TERM); - -function Chalk(options) { - // detect mode if not set manually - this.enabled = !options || options.enabled === undefined ? supportsColor : options.enabled; -} - -// use bright blue on Windows as the normal blue color is illegible -if (isSimpleWindowsTerm) { - ansiStyles.blue.open = '\u001b[94m'; -} - -var styles = (function () { - var ret = {}; - - Object.keys(ansiStyles).forEach(function (key) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); - - ret[key] = { - get: function () { - return build.call(this, this._styles.concat(key)); - } - }; - }); - - return ret; -})(); - -var proto = defineProps(function chalk() {}, styles); - -function build(_styles) { - var builder = function () { - return applyStyle.apply(builder, arguments); - }; - - builder._styles = _styles; - builder.enabled = this.enabled; - // __proto__ is used because we must return a function, but there is - // no way to create a function with a different prototype. - /* eslint-disable no-proto */ - builder.__proto__ = proto; - - return builder; -} - -function applyStyle() { - // support varags, but simply cast to string in case there's only one arg - var args = arguments; - var argsLen = args.length; - var str = argsLen !== 0 && String(arguments[0]); - - if (argsLen > 1) { - // don't slice `arguments`, it prevents v8 optimizations - for (var a = 1; a < argsLen; a++) { - str += ' ' + args[a]; - } - } - - if (!this.enabled || !str) { - return str; - } - - var nestedStyles = this._styles; - var i = nestedStyles.length; - - // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, - // see https://github.com/chalk/chalk/issues/58 - // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. - var originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && (nestedStyles.indexOf('gray') !== -1 || nestedStyles.indexOf('grey') !== -1)) { - ansiStyles.dim.open = ''; - } - - while (i--) { - var code = ansiStyles[nestedStyles[i]]; - - // Replace any instances already present with a re-opening code - // otherwise only the part of the string until said closing code - // will be colored, and the rest will simply be 'plain'. - str = code.open + str.replace(code.closeRe, code.open) + code.close; - } - - // Reset the original 'dim' if we changed it to work around the Windows dimmed gray issue. - ansiStyles.dim.open = originalDim; - - return str; -} - -function init() { - var ret = {}; - - Object.keys(styles).forEach(function (name) { - ret[name] = { - get: function () { - return build.call(this, [name]); - } - }; - }); - - return ret; -} - -defineProps(Chalk.prototype, init()); - -module.exports = new Chalk(); -module.exports.styles = ansiStyles; -module.exports.hasColor = hasAnsi; -module.exports.stripColor = stripAnsi; -module.exports.supportsColor = supportsColor; diff --git a/node_modules/autoprefixer/node_modules/chalk/license b/node_modules/autoprefixer/node_modules/chalk/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/index.js b/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/index.js deleted file mode 100644 index 4346e27..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/index.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; -var argv = process.argv; - -var terminator = argv.indexOf('--'); -var hasFlag = function (flag) { - flag = '--' + flag; - var pos = argv.indexOf(flag); - return pos !== -1 && (terminator !== -1 ? pos < terminator : true); -}; - -module.exports = (function () { - if ('FORCE_COLOR' in process.env) { - return true; - } - - if (hasFlag('no-color') || - hasFlag('no-colors') || - hasFlag('color=false')) { - return false; - } - - if (hasFlag('color') || - hasFlag('colors') || - hasFlag('color=true') || - hasFlag('color=always')) { - return true; - } - - if (process.stdout && !process.stdout.isTTY) { - return false; - } - - if (process.platform === 'win32') { - return true; - } - - if ('COLORTERM' in process.env) { - return true; - } - - if (process.env.TERM === 'dumb') { - return false; - } - - if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) { - return true; - } - - return false; -})(); diff --git a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/license b/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/license deleted file mode 100644 index 654d0bf..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/package.json b/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/package.json deleted file mode 100644 index a245ad0..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/package.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "_from": "supports-color@^2.0.0", - "_id": "supports-color@2.0.0", - "_inBundle": false, - "_integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "_location": "/autoprefixer/chalk/supports-color", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "supports-color@^2.0.0", - "name": "supports-color", - "escapedName": "supports-color", - "rawSpec": "^2.0.0", - "saveSpec": null, - "fetchSpec": "^2.0.0" - }, - "_requiredBy": [ - "/autoprefixer/chalk" - ], - "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "_shasum": "535d045ce6b6363fa40117084629995e9df324c7", - "_spec": "supports-color@^2.0.0", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/autoprefixer/node_modules/chalk", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/chalk/supports-color/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Detect whether a terminal supports color", - "devDependencies": { - "mocha": "*", - "require-uncached": "^1.0.2" - }, - "engines": { - "node": ">=0.8.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/supports-color#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "ansi", - "styles", - "tty", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "support", - "supports", - "capability", - "detect" - ], - "license": "MIT", - "maintainers": [ - { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - { - "name": "Joshua Appelman", - "email": "jappelman@xebia.com", - "url": "jbnicolai.com" - } - ], - "name": "supports-color", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/supports-color.git" - }, - "scripts": { - "test": "mocha" - }, - "version": "2.0.0" -} diff --git a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/readme.md b/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/readme.md deleted file mode 100644 index b4761f1..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color/readme.md +++ /dev/null @@ -1,36 +0,0 @@ -# supports-color [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-ci.org/chalk/supports-color) - -> Detect whether a terminal supports color - - -## Install - -``` -$ npm install --save supports-color -``` - - -## Usage - -```js -var supportsColor = require('supports-color'); - -if (supportsColor) { - console.log('Terminal supports color'); -} -``` - -It obeys the `--color` and `--no-color` CLI flags. - -For situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`. - - -## Related - -- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module -- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/autoprefixer/node_modules/chalk/package.json b/node_modules/autoprefixer/node_modules/chalk/package.json deleted file mode 100644 index 787327b..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/package.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "_from": "chalk@^1.1.3", - "_id": "chalk@1.1.3", - "_inBundle": false, - "_integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "_location": "/autoprefixer/chalk", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "chalk@^1.1.3", - "name": "chalk", - "escapedName": "chalk", - "rawSpec": "^1.1.3", - "saveSpec": null, - "fetchSpec": "^1.1.3" - }, - "_requiredBy": [ - "/autoprefixer/postcss" - ], - "_resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "_shasum": "a8115c55e4a702fe4d150abd3872822a7e09fc98", - "_spec": "chalk@^1.1.3", - "_where": "/Users/damienseguin/Projects/sublime-stylefmt/node_modules/autoprefixer/node_modules/postcss", - "bugs": { - "url": "https://github.com/chalk/chalk/issues" - }, - "bundleDependencies": false, - "dependencies": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "deprecated": false, - "description": "Terminal string styling done right. Much color.", - "devDependencies": { - "coveralls": "^2.11.2", - "matcha": "^0.6.0", - "mocha": "*", - "nyc": "^3.0.0", - "require-uncached": "^1.0.2", - "resolve-from": "^1.0.0", - "semver": "^4.3.3", - "xo": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/chalk#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "maintainers": [ - { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - { - "name": "Joshua Appelman", - "email": "jappelman@xebia.com", - "url": "jbnicolai.com" - }, - { - "name": "JD Ballard", - "email": "i.am.qix@gmail.com", - "url": "github.com/qix-" - } - ], - "name": "chalk", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/chalk.git" - }, - "scripts": { - "bench": "matcha benchmark.js", - "coverage": "nyc npm test && nyc report", - "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls", - "test": "xo && mocha" - }, - "version": "1.1.3", - "xo": { - "envs": [ - "node", - "mocha" - ] - } -} diff --git a/node_modules/autoprefixer/node_modules/chalk/readme.md b/node_modules/autoprefixer/node_modules/chalk/readme.md deleted file mode 100644 index 5cf111e..0000000 --- a/node_modules/autoprefixer/node_modules/chalk/readme.md +++ /dev/null @@ -1,213 +0,0 @@ -

-
-
- chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) -[![Coverage Status](https://coveralls.io/repos/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/r/chalk/chalk?branch=master) -[![](http://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) - - -[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough. - -**Chalk is a clean and focused alternative.** - -![](https://github.com/chalk/ansi-styles/raw/master/screenshot.png) - - -## Why - -- Highly performant -- Doesn't extend `String.prototype` -- Expressive API -- Ability to nest styles -- Clean and focused -- Auto-detects color support -- Actively maintained -- [Used by ~4500 modules](https://www.npmjs.com/browse/depended/chalk) as of July 15, 2015 - - -## Install - -``` -$ npm install --save chalk -``` - - -## Usage - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -var chalk = require('chalk'); - -// style a string -chalk.blue('Hello world!'); - -// combine styled and normal strings -chalk.blue('Hello') + 'World' + chalk.red('!'); - -// compose multiple styles using the chainable API -chalk.blue.bgRed.bold('Hello world!'); - -// pass in multiple arguments -chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz'); - -// nest styles -chalk.red('Hello', chalk.underline.bgBlue('world') + '!'); - -// nest styles of the same type even (color, underline, background) -chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -); -``` - -Easily define your own themes. - -```js -var chalk = require('chalk'); -var error = chalk.bold.red; -console.log(error('Error!')); -``` - -Take advantage of console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data). - -```js -var name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> Hello Sindre -``` - - -## API - -### chalk.`