From 6a7911fd0fe4ad56a0e8a198a167341114752346 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Fri, 6 Dec 2019 17:47:42 -0800 Subject: [PATCH 01/13] Initial ESLint addition --- .eslintrc.json | 5 + packages/core/package.json | 2 + packages/core/src/components/alert/alert.tsx | 1 - .../core/src/components/forms/controls.tsx | 3 +- .../core/src/components/forms/fileInput.tsx | 1 - .../core/src/components/forms/textArea.tsx | 2 +- .../core/src/components/menu/menuItem.tsx | 2 - packages/eslint-config/index.js | 142 ++++ packages/eslint-config/package.json | 23 + packages/node-build-scripts/es-lint.js | 37 + packages/node-build-scripts/package.json | 4 +- yarn.lock | 656 +++++++++++++++++- 12 files changed, 855 insertions(+), 23 deletions(-) create mode 100644 .eslintrc.json create mode 100644 packages/eslint-config/index.js create mode 100644 packages/eslint-config/package.json create mode 100755 packages/node-build-scripts/es-lint.js diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000000..1cf94f6487 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "./packages/eslint-config" + ] +} \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index 9e99e706f6..7b8867d0db 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -33,6 +33,8 @@ "dist:verify": "assert-package-layout", "lint": "run-p lint:scss lint:ts", "lint:scss": "sass-lint", + "lint:es": "es-lint", + "lint:es-fix": "es-lint --fix", "lint:ts": "ts-lint", "lint-fix": "ts-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", diff --git a/packages/core/src/components/alert/alert.tsx b/packages/core/src/components/alert/alert.tsx index 34226ea166..58738cfc7a 100644 --- a/packages/core/src/components/alert/alert.tsx +++ b/packages/core/src/components/alert/alert.tsx @@ -139,7 +139,6 @@ export class Alert extends AbstractPureComponent2 { intent, cancelButtonText, confirmButtonText, - onClose, ...overlayProps } = this.props; return ( diff --git a/packages/core/src/components/forms/controls.tsx b/packages/core/src/components/forms/controls.tsx index 184e4fa6d1..6e029dc99d 100644 --- a/packages/core/src/components/forms/controls.tsx +++ b/packages/core/src/components/forms/controls.tsx @@ -247,10 +247,9 @@ export class Checkbox extends AbstractPureComponent2 { hasSelection, inputProps, large, - onInputChange, text, ...htmlProps } = this.props; diff --git a/packages/core/src/components/forms/textArea.tsx b/packages/core/src/components/forms/textArea.tsx index d4720eb314..03947f8baf 100644 --- a/packages/core/src/components/forms/textArea.tsx +++ b/packages/core/src/components/forms/textArea.tsx @@ -67,7 +67,7 @@ export class TextArea extends AbstractPureComponent2 { + process.exitCode = code; +}) diff --git a/packages/node-build-scripts/package.json b/packages/node-build-scripts/package.json index 280c9eb735..d70fc86c77 100644 --- a/packages/node-build-scripts/package.json +++ b/packages/node-build-scripts/package.json @@ -12,10 +12,12 @@ "generate-icons-source": "./generate-icons-source.js", "sass-compile": "./sass-compile.sh", "sass-lint": "./sass-lint.js", - "ts-lint": "./ts-lint.js" + "ts-lint": "./ts-lint.js", + "es-lint": "./es-lint.js" }, "dependencies": { "autoprefixer": "^9.6.1", + "eslint": "^6.7.2", "node-sass": "^4.12.0", "node-sass-chokidar": "^1.3.5", "node-sass-package-importer": "^5.3.2", diff --git a/yarn.lock b/yarn.lock index b3035d078c..8625eecd2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -271,6 +271,11 @@ "@types/cheerio" "*" "@types/react" "*" +"@types/eslint-visitor-keys@^1.0.0": + version "1.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" + integrity sha1-HuMNeVRMqE1o1LPNsK9PIFZj3S0= + "@types/events@*": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -290,6 +295,11 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/json-schema@^7.0.3": + version "7.0.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" + integrity sha1-vf1p1h5GTcyBslFZwnDXWnPBpjY= + "@types/kss@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@types/kss/-/kss-3.0.1.tgz#e302e9b844454671c5c679d235a4a9fe10abd4b9" @@ -389,6 +399,57 @@ "@types/uglify-js" "*" source-map "^0.6.0" +"@typescript-eslint/eslint-plugin-tslint@^2.10.0": + version "2.10.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-2.10.0.tgz#a5e9c383f166a51a427daeee2fafd7929113b510" + integrity sha1-penDg/FmpRpCfa7uL6/XkpETtRA= + dependencies: + "@typescript-eslint/experimental-utils" "2.10.0" + lodash.memoize "^4.1.2" + +"@typescript-eslint/eslint-plugin@^2.10.0": + version "2.10.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.10.0.tgz#c4cb103275e555e8a7e9b3d14c5951eb6d431e70" + integrity sha1-xMsQMnXlVein6bPRTFlR621DHnA= + dependencies: + "@typescript-eslint/experimental-utils" "2.10.0" + eslint-utils "^1.4.3" + functional-red-black-tree "^1.0.1" + regexpp "^3.0.0" + tsutils "^3.17.1" + +"@typescript-eslint/experimental-utils@2.10.0": + version "2.10.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.10.0.tgz#8db1656cdfd3d9dcbdbf360b8274dea76f0b2c2c" + integrity sha1-jbFlbN/T2dy9vzYLgnTep28LLCw= + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "2.10.0" + eslint-scope "^5.0.0" + +"@typescript-eslint/parser@^2.10.0": + version "2.10.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/parser/-/parser-2.10.0.tgz#24b2e48384ab6d5a6121e4c4faf8892c79657ad3" + integrity sha1-JLLkg4SrbVphIeTE+viJLHlletM= + dependencies: + "@types/eslint-visitor-keys" "^1.0.0" + "@typescript-eslint/experimental-utils" "2.10.0" + "@typescript-eslint/typescript-estree" "2.10.0" + eslint-visitor-keys "^1.1.0" + +"@typescript-eslint/typescript-estree@2.10.0": + version "2.10.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.10.0.tgz#89cdabd5e8c774e9d590588cb42fb9afd14dcbd9" + integrity sha1-ic2r1ejHdOnVkFiMtC+5r9FNy9k= + dependencies: + debug "^4.1.1" + eslint-visitor-keys "^1.1.0" + glob "^7.1.6" + is-glob "^4.0.1" + lodash.unescape "4.0.1" + semver "^6.3.0" + tsutils "^3.17.1" + "@webassemblyjs/ast@1.8.5": version "1.8.5" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" @@ -581,6 +642,11 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" +acorn-jsx@^5.1.0: + version "5.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" + integrity sha1-KUrbcbVzmLBoABXwo4xWPuHbU4Q= + acorn-walk@^6.1.1: version "6.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" @@ -591,6 +657,11 @@ acorn@^6.0.7, acorn@^6.2.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.2.1.tgz#3ed8422d6dec09e6121cc7a843ca86a330a86b51" integrity sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== +acorn@^7.1.0: + version "7.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" + integrity sha1-lJ028sKSU12mAig1hsJHfFfrLWw= + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -637,7 +708,7 @@ ajv@^5.0.0: fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.3.0" -ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5: +ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5: version "6.10.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== @@ -679,6 +750,13 @@ ansi-escapes@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== +ansi-escapes@^4.2.1: + version "4.3.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" + integrity sha1-pM4rM9ayFLeVDYWVwhLxKsnMVp0= + dependencies: + type-fest "^0.8.1" + ansi-html@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e" @@ -706,6 +784,11 @@ ansi-regex@^4.1.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha1-OIU59VF5vzkznIGvMKZU1p+Hy3U= + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" @@ -829,6 +912,14 @@ array-ify@^1.0.0: resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= +array-includes@^3.0.3: + version "3.0.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" + integrity sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0= + dependencies: + define-properties "^1.1.2" + es-abstract "^1.7.0" + array-map@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" @@ -1502,6 +1593,11 @@ callsites@^2.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= +callsites@^3.0.0: + version "3.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M= + camel-case@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" @@ -1658,6 +1754,11 @@ chardet@^0.4.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" integrity sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I= +chardet@^0.7.0: + version "0.7.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" + integrity sha1-kAlISfCTfy7twkJdDSip5fDLrZ4= + check-error@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" @@ -1788,6 +1889,13 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha1-JkMFp65JDR0Dvwybp8kl0XU68wc= + dependencies: + restore-cursor "^3.1.0" + cli-width@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -2087,6 +2195,11 @@ constants-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= +contains-path@^0.1.0: + version "0.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" + integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo= + content-disposition@0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" @@ -2745,7 +2858,7 @@ deasync@^0.1.7: bindings "~1.2.1" node-addon-api "^1.6.0" -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -2759,7 +2872,7 @@ debug@3.2.6, debug@^3.2.5, debug@^3.2.6: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.1.0, debug@^4.1.1: +debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== @@ -2994,6 +3107,28 @@ dns-txt@^2.0.2: dependencies: buffer-indexof "^1.0.0" +doctrine@1.5.0: + version "1.5.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" + integrity sha1-N53Ocw9hZvds76TmcHoVmwLFpvo= + dependencies: + esutils "^2.0.2" + isarray "^1.0.0" + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" + integrity sha1-XNAfwQFiG0LEzX9dGmYkNxbT850= + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha1-rd6+rXKmV023g2OdyHoSF3OXOWE= + dependencies: + esutils "^2.0.2" + dom-helpers@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8" @@ -3169,6 +3304,11 @@ emoji-regex@^7.0.1: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc= + emojis-list@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" @@ -3342,6 +3482,22 @@ es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.13 is-regex "^1.0.4" object-keys "^1.0.12" +es-abstract@^1.15.0, es-abstract@^1.7.0: + version "1.16.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/es-abstract/-/es-abstract-1.16.3.tgz#52490d978f96ff9f89ec15b5cf244304a5bca161" + integrity sha1-UkkNl4+W/5+J7BW1zyRDBKW8oWE= + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.1.4" + is-regex "^1.0.4" + object-inspect "^1.7.0" + object-keys "^1.1.1" + string.prototype.trimleft "^2.1.0" + string.prototype.trimright "^2.1.0" + es-to-primitive@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -3351,6 +3507,15 @@ es-to-primitive@^1.2.0: is-date-object "^1.0.1" is-symbol "^1.0.2" +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo= + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.5, es5-ext@~0.10.6: version "0.10.50" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.50.tgz#6d0e23a0abdb27018e5ac4fd09b412bc5517a778" @@ -3431,6 +3596,58 @@ escodegen@1.8.x: optionalDependencies: source-map "~0.2.0" +eslint-config-prettier@^6.7.0: + version "6.7.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz#9a876952e12df2b284adbd3440994bf1f39dfbb9" + integrity sha1-modpUuEt8rKErb00QJlL8fOd+7k= + dependencies: + get-stdin "^6.0.0" + +eslint-import-resolver-node@^0.3.2: + version "0.3.2" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" + integrity sha1-WPFfuDm40FdsqYBBNHaqskcttmo= + dependencies: + debug "^2.6.9" + resolve "^1.5.0" + +eslint-module-utils@^2.4.0: + version "2.4.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c" + integrity sha1-e0Z1h1v5aw2/GyGXdFblux9eAYw= + dependencies: + debug "^2.6.8" + pkg-dir "^2.0.0" + +eslint-plugin-eslint-plugin@^2.1.0: + version "2.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-2.1.0.tgz#a7a00f15a886957d855feacaafee264f039e62d5" + integrity sha1-p6APFaiGlX2FX+rKr+4mTwOeYtU= + +eslint-plugin-import@^2.18.2: + version "2.18.2" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6" + integrity sha1-AvEYC5Cwd7M9RHoXojJs60AKzrY= + dependencies: + array-includes "^3.0.3" + contains-path "^0.1.0" + debug "^2.6.9" + doctrine "1.5.0" + eslint-import-resolver-node "^0.3.2" + eslint-module-utils "^2.4.0" + has "^1.0.3" + minimatch "^3.0.4" + object.values "^1.1.0" + read-pkg-up "^2.0.0" + resolve "^1.11.0" + +eslint-plugin-mocha@^6.2.2: + version "6.2.2" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-mocha/-/eslint-plugin-mocha-6.2.2.tgz#6ef4b78bd12d744beb08a06e8209de330985100d" + integrity sha1-bvS3i9EtdEvrCKBuggneMwmFEA0= + dependencies: + ramda "^0.26.1" + eslint-plugin-prettier@^2.2.0: version "2.7.0" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.7.0.tgz#b4312dcf2c1d965379d7f9d5b5f8aaadc6a45904" @@ -3439,6 +3656,29 @@ eslint-plugin-prettier@^2.2.0: fast-diff "^1.1.1" jest-docblock "^21.0.0" +eslint-plugin-prettier@^3.1.1: + version "3.1.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.1.tgz#507b8562410d02a03f0ddc949c616f877852f2ba" + integrity sha1-UHuFYkENAqA/DdyUnGFvh3hS8ro= + dependencies: + prettier-linter-helpers "^1.0.0" + +eslint-plugin-react@^7.17.0: + version "7.17.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-react/-/eslint-plugin-react-7.17.0.tgz#a31b3e134b76046abe3cd278e7482bd35a1d12d7" + integrity sha1-oxs+E0t2BGq+PNJ450gr01odEtc= + dependencies: + array-includes "^3.0.3" + doctrine "^2.1.0" + eslint-plugin-eslint-plugin "^2.1.0" + has "^1.0.3" + jsx-ast-utils "^2.2.3" + object.entries "^1.1.0" + object.fromentries "^2.0.1" + object.values "^1.1.0" + prop-types "^15.7.2" + resolve "^1.13.1" + eslint-scope@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" @@ -3447,7 +3687,79 @@ eslint-scope@^4.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" -esprima@2.7.x, esprima@^2.7.1: +eslint-scope@^5.0.0: + version "5.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" + integrity sha1-6HyIh8c+jR7ITxylkWRcNYv8j7k= + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + +eslint-utils@^1.4.3: + version "1.4.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha1-dP7HxU0Hdrb2fgJRBAtYBlZOmB8= + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.1.0: + version "1.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" + integrity sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI= + +eslint@^6.7.2: + version "6.7.2" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint/-/eslint-6.7.2.tgz#c17707ca4ad7b2d8af986a33feba71e18a9fecd1" + integrity sha1-wXcHykrXstivmGoz/rpx4Yqf7NE= + dependencies: + "@babel/code-frame" "^7.0.0" + ajv "^6.10.0" + chalk "^2.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" + doctrine "^3.0.0" + eslint-scope "^5.0.0" + eslint-utils "^1.4.3" + eslint-visitor-keys "^1.1.0" + espree "^6.1.2" + esquery "^1.0.1" + esutils "^2.0.2" + file-entry-cache "^5.0.1" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + inquirer "^7.0.0" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.14" + minimatch "^3.0.4" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.3" + progress "^2.0.0" + regexpp "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" + table "^5.2.3" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^6.1.2: + version "6.1.2" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d" + integrity sha1-bCcmUJMrT5HDcU5ee19eLs9HJi0= + dependencies: + acorn "^7.1.0" + acorn-jsx "^5.1.0" + eslint-visitor-keys "^1.1.0" + +esprima@2.7.x, esprima@^2.6.0, esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" integrity sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE= @@ -3457,6 +3769,13 @@ esprima@^4.0.0: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== +esquery@^1.0.1: + version "1.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" + integrity sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg= + dependencies: + estraverse "^4.0.0" + esrecurse@^4.1.0: version "4.2.1" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" @@ -3469,6 +3788,11 @@ estraverse@^1.9.1: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" integrity sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= +estraverse@^4.0.0: + version "4.3.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0= + estraverse@^4.1.0, estraverse@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" @@ -3666,6 +3990,15 @@ external-editor@^2.0.4: iconv-lite "^0.4.17" tmp "^0.0.33" +external-editor@^3.0.3: + version "3.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" + integrity sha1-ywP3QL764D6k0oPK7SdBqD8zVJU= + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + extglob@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" @@ -3707,7 +4040,7 @@ fast-deep-equal@^2.0.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-diff@^1.1.1: +fast-diff@^1.1.1, fast-diff@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== @@ -3729,7 +4062,7 @@ fast-json-stable-stringify@^2.0.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= -fast-levenshtein@~2.0.4: +fast-levenshtein@~2.0.4, fast-levenshtein@~2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= @@ -3773,6 +4106,13 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" +figures@^3.0.0: + version "3.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" + integrity sha1-SxmN0H2NcVMGQoZK8tRd2eRZxOw= + dependencies: + escape-string-regexp "^1.0.5" + file-entry-cache@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" @@ -3781,6 +4121,13 @@ file-entry-cache@^2.0.0: flat-cache "^1.2.1" object-assign "^4.0.1" +file-entry-cache@^5.0.1: + version "5.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w= + dependencies: + flat-cache "^2.0.1" + file-loader@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-4.1.0.tgz#3a763391bc9502da7c59612fe348e38fc1980336" @@ -3933,6 +4280,15 @@ flat-cache@^1.2.1: rimraf "~2.6.2" write "^0.2.1" +flat-cache@^2.0.1: + version "2.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA= + dependencies: + flatted "^2.0.0" + rimraf "2.6.3" + write "1.0.3" + flat@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2" @@ -4116,6 +4472,11 @@ function.prototype.name@^1.1.0: functions-have-names "^1.1.1" is-callable "^1.1.4" +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= + functions-have-names@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.1.1.tgz#79d35927f07b8e7103d819fed475b64ccf7225ea" @@ -4330,6 +4691,18 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, gl once "^1.3.0" path-is-absolute "^1.0.0" +glob@^7.1.6: + version "7.1.6" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY= + dependencies: + 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" + global-modules@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" @@ -4371,6 +4744,13 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== +globals@^12.1.0: + version "12.3.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13" + integrity sha1-HlZO5cTd7SqwmLD4jyRwKjxWvhM= + dependencies: + type-fest "^0.8.1" + globals@^9.18.0: version "9.18.0" resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" @@ -4562,6 +4942,11 @@ has-symbols@^1.0.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= +has-symbols@^1.0.1: + version "1.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" + integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg= + has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -4834,7 +5219,7 @@ humanize-url@^1.0.0: normalize-url "^1.0.0" strip-url-auth "^1.0.0" -iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -4870,7 +5255,7 @@ ignore@^3.3.5: resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== -ignore@^4.0.0, ignore@^4.0.3: +ignore@^4.0.0, ignore@^4.0.3, ignore@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== @@ -4890,6 +5275,14 @@ import-fresh@^2.0.0: caller-path "^2.0.0" resolve-from "^3.0.0" +import-fresh@^3.0.0: + version "3.2.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha1-Yz/2GFBueTr1rJG/SLcmd+FcvmY= + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + import-from@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" @@ -4990,6 +5383,25 @@ inquirer@^3.2.2: strip-ansi "^4.0.0" through "^2.3.6" +inquirer@^7.0.0: + version "7.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" + integrity sha1-nisDLd532h2124BHWLj+o6lwUZo= + dependencies: + ansi-escapes "^4.2.1" + chalk "^2.4.2" + cli-cursor "^3.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.15" + mute-stream "0.0.8" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^4.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + internal-ip@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" @@ -5240,6 +5652,11 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0= + is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -5588,7 +6005,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1, js-yaml@~3.6.0: +js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -5596,6 +6013,14 @@ js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1, js-yaml@~3.6.0: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@~3.6.0: + version "3.6.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30" + integrity sha1-bl/mfYsgXOTSL60Ft3geja3MSzA= + dependencies: + argparse "^1.0.7" + esprima "^2.6.0" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -5631,6 +6056,11 @@ json-schema@0.2.3: resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= + json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -5682,6 +6112,14 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" +jsx-ast-utils@^2.2.3: + version "2.2.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz#8a9364e402448a3ce7f14d357738310d9248054f" + integrity sha1-ipNk5AJEijzn8U01dzgxDZJIBU8= + dependencies: + array-includes "^3.0.3" + object.assign "^4.1.0" + just-extend@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc" @@ -5917,7 +6355,7 @@ leven@^2.1.0: resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" integrity sha1-wuep93IJTe6dNCAq6KzORoeHVYA= -levn@~0.3.0: +levn@^0.3.0, levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= @@ -6055,6 +6493,11 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" +lodash.unescape@4.0.1: + version "4.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" + integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= + lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -6442,7 +6885,7 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== -mimic-fn@^2.0.0: +mimic-fn@^2.0.0, mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== @@ -6667,6 +7110,11 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= +mute-stream@0.0.8: + version "0.0.8" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha1-FjDEKyJR/4HiooPelqVJfqkuXg0= + nan@^2.12.1, nan@^2.13.2, nan@^2.14.0: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" @@ -6689,6 +7137,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + nearley@^2.7.10: version "2.16.0" resolved "https://registry.yarnpkg.com/nearley/-/nearley-2.16.0.tgz#77c297d041941d268290ec84b739d0ee297e83a7" @@ -7085,12 +7538,17 @@ object-inspect@^1.6.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b" integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ== +object-inspect@^1.7.0: + version "1.7.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" + integrity sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc= + object-is@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" integrity sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY= -object-keys@^1.0.11, object-keys@^1.0.12: +object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== @@ -7132,6 +7590,16 @@ object.fromentries@^2.0.0: function-bind "^1.1.1" has "^1.0.1" +object.fromentries@^2.0.1: + version "2.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/object.fromentries/-/object.fromentries-2.0.1.tgz#050f077855c7af8ae6649f45c80b16ee2d31e704" + integrity sha1-BQ8HeFXHr4rmZJ9FyAsW7i0x5wQ= + dependencies: + define-properties "^1.1.3" + es-abstract "^1.15.0" + function-bind "^1.1.1" + has "^1.0.3" + object.getownpropertydescriptors@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" @@ -7196,6 +7664,13 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" +onetime@^5.1.0: + version "5.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" + integrity sha1-//DzyRYX/mK7UBiWNumayKbfe+U= + dependencies: + mimic-fn "^2.1.0" + oniguruma@7.2.0: version "7.2.0" resolved "https://registry.yarnpkg.com/oniguruma/-/oniguruma-7.2.0.tgz#c9a59c1ea7b9fe67e237a02e02139b638856f3af" @@ -7240,6 +7715,18 @@ optionator@^0.8.1: type-check "~0.3.2" wordwrap "~1.0.0" +optionator@^0.8.3: + version "0.8.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha1-hPodA2/p08fiHZmIS2ARZ+yPtJU= + dependencies: + deep-is "~0.1.3" + fast-levenshtein "~2.0.6" + levn "~0.3.0" + prelude-ls "~1.1.2" + type-check "~0.3.2" + word-wrap "~1.2.3" + original@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" @@ -7391,6 +7878,13 @@ param-case@^2.1.0: dependencies: no-case "^2.2.0" +parent-module@^1.0.0: + version "1.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI= + dependencies: + callsites "^3.0.0" + parse-asn1@^5.0.0: version "5.1.4" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc" @@ -7631,6 +8125,13 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= +pkg-dir@^2.0.0: + version "2.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" + integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= + dependencies: + find-up "^2.1.0" + pkg-dir@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" @@ -8156,6 +8657,13 @@ preserve@^0.2.0: resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + integrity sha1-0j1B/hN1ZG3i0BBNNFSjAIgCz3s= + dependencies: + fast-diff "^1.1.2" + prettier@^1.18.2: version "1.18.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" @@ -8181,7 +8689,7 @@ process@^0.11.10: resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= -progress@^2.0.3: +progress@^2.0.0, progress@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== @@ -8364,6 +8872,11 @@ railroad-diagrams@^1.0.0: resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" integrity sha1-635iZ1SN3t+4mcG5Dlc3RVnN234= +ramda@^0.26.1: + version "0.26.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ramda/-/ramda-0.26.1.tgz#8d41351eb8111c55353617fc3bbffad8e4d35d06" + integrity sha1-jUE1HrgRHFU1Nhf8O7/62OTTXQY= + randexp@0.4.6: version "0.4.6" resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" @@ -8705,6 +9218,16 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regexpp@^2.0.1: + version "2.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha1-jRnTHPYySCtYkEn4KB+T28uk0H8= + +regexpp@^3.0.0: + version "3.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" + integrity sha1-3WOYLuMwDme0HBlW+FCqaA2dMw4= + registry-auth-token@^3.0.1: version "3.4.0" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" @@ -8902,6 +9425,13 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.3.2, resolve@^1.6.0 dependencies: path-parse "^1.0.6" +resolve@^1.11.0, resolve@^1.13.1, resolve@^1.5.0: + version "1.13.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/resolve/-/resolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16" + integrity sha1-vgqkwGrNUwg1BauzX01mkyqzXRY= + dependencies: + path-parse "^1.0.6" + restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -8910,6 +9440,14 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha1-OfZ8VLOnpYzqUjbZXPADQjljH34= + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -8935,7 +9473,7 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: +rimraf@2, rimraf@2.6.3, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== @@ -8984,6 +9522,13 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" integrity sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ= +rxjs@^6.4.0: + version "6.5.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" + integrity sha1-UQ4mMX9NuRp+sd532d2boKSJmjo= + dependencies: + tslib "^1.9.0" + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -9112,7 +9657,7 @@ selfsigned@^1.10.4: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.1.1, semver@^6.3.0: +semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -9705,6 +10250,15 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" +string-width@^4.1.0: + version "4.2.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha1-lSGCxGzHssMT0VluYjmSvRY7crU= + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" + string.prototype.padend@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0" @@ -9723,6 +10277,22 @@ string.prototype.trim@^1.1.2: es-abstract "^1.13.0" function-bind "^1.1.1" +string.prototype.trimleft@^2.1.0: + version "2.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634" + integrity sha1-bMR/DX641isPNwFhFxWjlUWR1jQ= + dependencies: + define-properties "^1.1.3" + function-bind "^1.1.1" + +string.prototype.trimright@^2.1.0: + version "2.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz#669d164be9df9b6f7559fa8e89945b168a5a6c58" + integrity sha1-Zp0WS+nfm291WfqOiZRbFopabFg= + dependencies: + define-properties "^1.1.3" + function-bind "^1.1.1" + string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" @@ -9773,6 +10343,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha1-CxVx3XZpzNTz4G4U7x7tJiJa5TI= + dependencies: + ansi-regex "^5.0.0" + strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -9814,6 +10391,11 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= +strip-json-comments@^3.0.1: + version "3.0.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha1-hXE5dakfuHvxswXMp3OV5A0qZKc= + strip-outer@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/strip-outer/-/strip-outer-1.0.1.tgz#b2fd2abf6604b9d1e6013057195df836b8a9d631" @@ -10055,6 +10637,16 @@ table@^5.0.0: slice-ansi "^2.1.0" string-width "^3.0.0" +table@^5.2.3: + version "5.4.6" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" + integrity sha1-EpLRlQDOP4YFOwXw6Ofko7shB54= + dependencies: + ajv "^6.10.2" + lodash "^4.17.14" + slice-ansi "^2.1.0" + string-width "^3.0.0" + tapable@^1.0.0, tapable@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" @@ -10137,6 +10729,11 @@ text-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== +text-table@^0.2.0: + version "0.2.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + through2@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.1.tgz#384e75314d49f32de12eebb8136b8eb6b5d59da9" @@ -10377,6 +10974,13 @@ tsutils@^2.29.0: dependencies: tslib "^1.8.1" +tsutils@^3.17.1: + version "3.17.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" + integrity sha1-7XGZF/EcoN7lhicrKsSeAVot11k= + dependencies: + tslib "^1.8.1" + tsutils@^3.9.1: version "3.14.1" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.14.1.tgz#f1d2b93d2a0876481f2f1f98c25ba42bbd7ee860" @@ -10430,6 +11034,11 @@ type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== +type-fest@^0.8.1: + version "0.8.1" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha1-CeJJ696FHTseSNJ8EFREZn8XuD0= + type-is@~1.6.17, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -10737,6 +11346,11 @@ v8-compile-cache@2.0.3: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== +v8-compile-cache@^2.0.3: + version "2.1.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" + integrity sha1-4U3jezGm0ZT1aQ1n78Tn9vxqsw4= + validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -11038,6 +11652,11 @@ window-size@^0.2.0: resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" integrity sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU= +word-wrap@~1.2.3: + version "1.2.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w= + wordwrap@^1.0.0, wordwrap@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" @@ -11106,6 +11725,13 @@ write-pkg@^3.1.0: sort-keys "^2.0.0" write-json-file "^2.2.0" +write@1.0.3: + version "1.0.3" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha1-CADhRSO5I6OH5BUSPIZWFqrg9cM= + dependencies: + mkdirp "^0.5.1" + write@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" From e6273271d2bd55a4cf53236ed342d479ebdce1d9 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 16:51:36 -0800 Subject: [PATCH 02/13] With some config --- .eslintrc.json | 12 ++++- package.json | 2 +- packages/core/package.json | 6 +-- packages/datetime/package.json | 6 +-- packages/docs-app/package.json | 6 +-- packages/docs-app/src/components/icons.tsx | 2 +- .../datetime-examples/timePickerExample.tsx | 2 +- packages/docs-app/src/index.tsx | 2 +- packages/docs-theme/package.json | 6 +-- packages/eslint-config/index.js | 45 +++++++++++++---- packages/eslint-config/package.json | 3 +- packages/icons/package.json | 6 +-- packages/landing-app/package.json | 6 +-- packages/node-build-scripts/es-lint.js | 17 +++++-- packages/node-build-scripts/package.json | 1 - packages/node-build-scripts/ts-lint.js | 49 ------------------- packages/select/package.json | 6 +-- packages/table-dev-app/package.json | 6 +-- packages/table/package.json | 6 +-- packages/test-commons/package.json | 2 +- packages/timezone/package.json | 6 +-- yarn.lock | 17 +++---- 22 files changed, 103 insertions(+), 111 deletions(-) delete mode 100755 packages/node-build-scripts/ts-lint.js diff --git a/.eslintrc.json b/.eslintrc.json index 1cf94f6487..7cbe3193e4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,15 @@ { "extends": [ "./packages/eslint-config" - ] + ], + "plugins": [ + "header" + ], + "rules": { + "header/header": [2, "block", [ + { + "pattern": "Copyright \\d{4} Palantir Technologies, Inc. All rights reserved." + } + ]] + } } \ No newline at end of file diff --git a/package.json b/package.json index b0ae0bd5d7..a055806832 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "@types/mocha": "5.2.7", "@types/prop-types": "15.7.1", "@types/react": "16.8.23", - "@types/react-lifecycles-compat": "^3.0.1", "@types/react-dom": "16.8.5", + "@types/react-lifecycles-compat": "^3.0.1", "@types/react-transition-group": "4.2.0", "@types/sinon": "7.0.13", "@types/webpack": "4.32.1", diff --git a/packages/core/package.json b/packages/core/package.json index 7b8867d0db..6ba75da448 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -31,12 +31,10 @@ "dist:css": "css-dist lib/css/*.css", "dist:variables": "generate-css-variables common/_colors.scss common/_color-aliases.scss common/_variables.scss", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", "lint:es": "es-lint", - "lint:es-fix": "es-lint --fix", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/datetime/package.json b/packages/datetime/package.json index 27477f86c2..9444953421 100644 --- a/packages/datetime/package.json +++ b/packages/datetime/package.json @@ -23,10 +23,10 @@ "dist:bundle": "cross-env NODE_ENV=production webpack", "dist:css": "css-dist lib/css/*.css", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/docs-app/package.json b/packages/docs-app/package.json index 4e1c437921..cb592462aa 100644 --- a/packages/docs-app/package.json +++ b/packages/docs-app/package.json @@ -8,10 +8,10 @@ "clean": "rm -rf dist/*", "dev": "webpack-dev-server --config ./webpack.config.js --host 0.0.0.0", "dist": "cross-env NODE_ENV=production yarn bundle", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "exit 0", "verify": "run-p dist lint" }, diff --git a/packages/docs-app/src/components/icons.tsx b/packages/docs-app/src/components/icons.tsx index 1b10dd59a8..da3356e6fa 100644 --- a/packages/docs-app/src/components/icons.tsx +++ b/packages/docs-app/src/components/icons.tsx @@ -35,7 +35,7 @@ export class Icons extends React.PureComponent { public static defaultProps: IIconsProps = { iconFilter: isIconFiltered, iconRenderer: renderIcon, - // tslint:disable-next-line:no-submodule-imports + // eslint-disable-next-line import/no-internal-modules icons: require("@blueprintjs/icons/resources/icons/icons.json"), }; diff --git a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx index acfb4d99d9..8468c7ff33 100644 --- a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx +++ b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx @@ -20,7 +20,7 @@ import * as React from "react"; import { PrecisionSelect } from "./common/precisionSelect"; import { TimePicker, TimePrecision } from "@blueprintjs/datetime"; -// tslint:disable-next-line:no-submodule-imports +// eslint-disable-next-line import/no-internal-modules import { getDefaultMaxTime, getDefaultMinTime } from "@blueprintjs/datetime/lib/esm/common/timeUnit"; export interface ITimePickerExampleState { diff --git a/packages/docs-app/src/index.tsx b/packages/docs-app/src/index.tsx index 1d0df04580..0124455e3f 100644 --- a/packages/docs-app/src/index.tsx +++ b/packages/docs-app/src/index.tsx @@ -13,7 +13,7 @@ * limitations under the License. */ -// tslint:disable-next-line:no-submodule-imports +// eslint-disable-next-line no-internal-modules import "@blueprintjs/test-commons/polyfill"; import "dom4"; diff --git a/packages/docs-theme/package.json b/packages/docs-theme/package.json index 2e86ff1857..8b0b674f7e 100644 --- a/packages/docs-theme/package.json +++ b/packages/docs-theme/package.json @@ -23,10 +23,10 @@ "dist:bundle": "cross-env NODE_ENV=production webpack", "dist:css": "css-dist lib/css/*.css", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "verify": "npm-run-all compile -p dist lint" }, "dependencies": { diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index bf54d5ec0d..2dadd7bfba 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -22,6 +22,7 @@ module.exports = { extends: [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], @@ -47,8 +48,18 @@ module.exports = { ] }, rules: { - "@typescript-eslint/tslint/config": ["warn", { - "lintFile": "../../tslint.json", + // run the tslint rules which are not yet converted (run inside eslint) + "@typescript-eslint/tslint/config": ["error", { + "rules": { + "no-implicit-dependencies": { + options: ["dev", ["chai", "sinon", "prop-types"]] + }, + "no-invalid-this": { + options: ["check-function-in-method"] + }, + "no-unnecessary-callback-wrapper": true, + "prefer-conditional-expression": false, + } }], // no-unused-vars conflicts with typescript, tuin off @@ -57,19 +68,35 @@ module.exports = { "@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "after-used", - "ignoreRestSiblings": false, + "ignoreRestSiblings": true, "argsIgnorePattern": "^_" }], // default rules: unset rules causing errors "no-irregular-whitespace": "off", "no-prototype-builtins": "off", + "no-case-declarations": "off", + + // @typescript-eslint rules: unset rules causing errors + "@typescript-eslint/no-use-before-define": "off", + "@typescript-eslint/explicit-function-return-type": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-empty-interface": "off", + "@typescript-eslint/no-non-null-assertion": "off", + + // it would be nice to turn these ones back on at some point + "@typescript-eslint/no-inferrable-types": "off", + "prefer-spread": "off", // partially covered by no-restricted-properties // react plugin: unset rules causing errors "react/display-name": "off", "react/no-children-prop": "off", "react/no-find-dom-node": "off", "react/prop-types": "off", + "react/no-deprecated": "off", + "no-useless-escape": "off", + "no-constant-condition": "off", + "react/no-unescaped-entities": "off", // prettier "prettier/prettier": ["error", { @@ -117,12 +144,6 @@ module.exports = { allow: ["info", "warn", "error"] }], "import/no-default-export": ["error"], - // to use this theres a bit of fixing up required - // "import/no-extraneous-dependencies": ["error", { - // devDependencies: ["test/**/*.*"] - // }], - // this is broken because of fat arrow class functions typescript-eslint#491 - // "no-invalid-this": ["error"], "import/no-internal-modules": ["error", { allow: [ "core-js", @@ -137,6 +158,10 @@ module.exports = { "id-blacklist": ["error"], "camelcase": ["error", { properties: "always" - }] + }], + + "@typescript-eslint/interface-name-prefix": ["error", { + "prefixWithI": "always" + }], } } \ No newline at end of file diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 2b05b04708..8e2eddc732 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -11,7 +11,8 @@ "eslint-plugin-import": "^2.18.2", "eslint-plugin-mocha": "^6.2.2", "eslint-plugin-prettier": "^3.1.1", - "eslint-plugin-react": "^7.17.0" + "eslint-plugin-react": "^7.17.0", + "eslint-plugin-header": "^3.0.0" }, "repository": { "type": "git", diff --git a/packages/icons/package.json b/packages/icons/package.json index 89b0fecdc6..0a11424608 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -25,10 +25,10 @@ "dist:css": "css-dist lib/css/*.css", "dist:variables": "generate-css-variables generated/_icon-variables.scss", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/landing-app/package.json b/packages/landing-app/package.json index 9a252fe93c..833adb7475 100644 --- a/packages/landing-app/package.json +++ b/packages/landing-app/package.json @@ -8,10 +8,10 @@ "clean": "rm -rf dist/*", "dev": "webpack-dev-server --config ./webpack.config.js", "dist": "cross-env NODE_ENV=production yarn bundle", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "exit 0", "verify": "run-p dist lint" }, diff --git a/packages/node-build-scripts/es-lint.js b/packages/node-build-scripts/es-lint.js index 0498acd80f..d38483e029 100755 --- a/packages/node-build-scripts/es-lint.js +++ b/packages/node-build-scripts/es-lint.js @@ -11,7 +11,8 @@ const path = require("path"); const fs = require("fs"); const { junitReportPath } = require("./utils"); -const { spawn } = require('child_process'); +const { spawn, execSync } = require('child_process'); +const glob = require("glob"); let format = "codeframe"; let out; @@ -23,11 +24,21 @@ if (process.env.JUNIT_REPORT_PATH != null) { outputStream = fs.createWriteStream(out, { flags: "w+" }); } -const commandLineOptions = ["-c", "../../.eslintrc.json", "-f", format, "--color"]; +const gitRoot = execSync("git rev-parse --show-toplevel").toString().trim(); +const commandLineOptions = ["-c", path.join(gitRoot, "./.eslintrc.json"), "-f", format, "--color"]; if (process.argv.includes("--fix")) { commandLineOptions.push("--fix") } -const eslint = spawn("eslint", [...commandLineOptions, path.resolve(process.cwd(),"{src,test}/**/*.tsx")]); + +const fileGlob = "{src, test}/**/*.tsx"; +const absoluteFileGlob = path.resolve(process.cwd(), fileGlob); +const anyFilesToLint = glob.sync(absoluteFileGlob) +if (anyFilesToLint.length === 0) { + console.log("Not running ESLint because no files match the glob ") + process.exit(); +} + +const eslint = spawn("eslint", [...commandLineOptions, absoluteFileGlob]); eslint.stdout.pipe(outputStream); eslint.stderr.pipe(process.stderr); diff --git a/packages/node-build-scripts/package.json b/packages/node-build-scripts/package.json index d70fc86c77..867699ad3e 100644 --- a/packages/node-build-scripts/package.json +++ b/packages/node-build-scripts/package.json @@ -12,7 +12,6 @@ "generate-icons-source": "./generate-icons-source.js", "sass-compile": "./sass-compile.sh", "sass-lint": "./sass-lint.js", - "ts-lint": "./ts-lint.js", "es-lint": "./es-lint.js" }, "dependencies": { diff --git a/packages/node-build-scripts/ts-lint.js b/packages/node-build-scripts/ts-lint.js deleted file mode 100755 index 42d6ea0aa8..0000000000 --- a/packages/node-build-scripts/ts-lint.js +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env node - -/** - * @license Copyright 2017 Palantir Technologies, Inc. All rights reserved. - * @fileoverview Runs TSLint, with support for generating JUnit report - */ - -// @ts-check -"use strict"; - -const fs = require("fs"); -const { run } = require("tslint/lib/runner"); -const { Configuration } = require("tslint"); -const { junitReportPath } = require("./utils"); - -let format = "codeFrame"; -let out; -let outputStream = process.stdout; -if (process.env.JUNIT_REPORT_PATH != null) { - format = "junit"; - out = junitReportPath("tslint"); - console.info(`TSLint report will appear in ${out}`); - outputStream = fs.createWriteStream(out, { flags: "w+" }); -} - -const configFile = Configuration.findConfiguration(null, __dirname).path; - -run({ - config: configFile, - exclude: [], - files: ["{src,test}/**/*.tsx"], - fix: process.argv.includes("--fix"), - format, - out, -}, { - error(m) { - process.stderr.write(m); - }, - log(m) { - outputStream.write(m); - }, -}) -.then(status => { - process.exitCode = status; -}) -.catch(e => { - console.error(e); - process.exitCode = 1; -}); diff --git a/packages/select/package.json b/packages/select/package.json index e499a3f74a..01d2184a13 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -23,10 +23,10 @@ "dist:bundle": "cross-env NODE_ENV=production webpack", "dist:css": "css-dist lib/css/*.css", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/table-dev-app/package.json b/packages/table-dev-app/package.json index 24a8fe0c94..bba8ad64c2 100644 --- a/packages/table-dev-app/package.json +++ b/packages/table-dev-app/package.json @@ -8,10 +8,10 @@ "clean": "rm -rf dist/*", "dev": "webpack-dev-server --config ./webpack.config.js", "dist": "cross-env NODE_ENV=production yarn bundle", - "lint": "npm-run-all -p lint:scss lint:ts", + "lint": "npm-run-all -p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "exit 0", "verify": "npm-run-all -p dist lint" }, diff --git a/packages/table/package.json b/packages/table/package.json index b1f7e664f6..dd4b1fae43 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -23,10 +23,10 @@ "dist:bundle": "cross-env NODE_ENV=production webpack", "dist:css": "css-dist lib/css/*.css", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/test-commons/package.json b/packages/test-commons/package.json index f461d7a738..819875b216 100644 --- a/packages/test-commons/package.json +++ b/packages/test-commons/package.json @@ -8,7 +8,7 @@ "compile": "tsc -p ./src", "clean": "rm -rf lib/*", "dev": "yarn compile --watch", - "lint": "ts-lint", + "lint": "es-lint", "test": "exit 0" }, "dependencies": { diff --git a/packages/timezone/package.json b/packages/timezone/package.json index 0279cb9506..d561528519 100644 --- a/packages/timezone/package.json +++ b/packages/timezone/package.json @@ -23,10 +23,10 @@ "dist:bundle": "cross-env NODE_ENV=production webpack", "dist:css": "css-dist lib/css/*.css", "dist:verify": "assert-package-layout", - "lint": "run-p lint:scss lint:ts", + "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", - "lint:ts": "ts-lint", - "lint-fix": "ts-lint --fix", + "lint:es": "es-lint", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/yarn.lock b/yarn.lock index 8625eecd2d..636948c7fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3624,6 +3624,11 @@ eslint-plugin-eslint-plugin@^2.1.0: resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-2.1.0.tgz#a7a00f15a886957d855feacaafee264f039e62d5" integrity sha1-p6APFaiGlX2FX+rKr+4mTwOeYtU= +eslint-plugin-header@^3.0.0: + version "3.0.0" + resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-header/-/eslint-plugin-header-3.0.0.tgz#0e048b5f0adfdd9754142d59d551ae6bfdaf90ad" + integrity sha1-DgSLXwrf3ZdUFC1Z1VGua/2vkK0= + eslint-plugin-import@^2.18.2: version "2.18.2" resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6" @@ -3759,7 +3764,7 @@ espree@^6.1.2: acorn-jsx "^5.1.0" eslint-visitor-keys "^1.1.0" -esprima@2.7.x, esprima@^2.6.0, esprima@^2.7.1: +esprima@2.7.x, esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" integrity sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE= @@ -6005,7 +6010,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1: +js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1, js-yaml@~3.6.0: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -6013,14 +6018,6 @@ js-yaml@3.13.1, js-yaml@3.x, js-yaml@^3.12.0, js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@~3.6.0: - version "3.6.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30" - integrity sha1-bl/mfYsgXOTSL60Ft3geja3MSzA= - dependencies: - argparse "^1.0.7" - esprima "^2.6.0" - jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" From bcec099f1802062575d311cb16182d72b145821d Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 17:02:27 -0800 Subject: [PATCH 03/13] Use only eslint to import tslint --- packages/docs-app/src/components/icons.tsx | 2 +- .../datetime-examples/timePickerExample.tsx | 2 +- packages/docs-app/src/index.tsx | 2 +- packages/eslint-config/index.js | 132 +----------------- packages/node-build-scripts/es-lint.js | 4 +- 5 files changed, 8 insertions(+), 134 deletions(-) diff --git a/packages/docs-app/src/components/icons.tsx b/packages/docs-app/src/components/icons.tsx index da3356e6fa..de4bd6c6dd 100644 --- a/packages/docs-app/src/components/icons.tsx +++ b/packages/docs-app/src/components/icons.tsx @@ -35,7 +35,7 @@ export class Icons extends React.PureComponent { public static defaultProps: IIconsProps = { iconFilter: isIconFiltered, iconRenderer: renderIcon, - // eslint-disable-next-line import/no-internal-modules + // tslint:disable-next-line: no-submodule-imports icons: require("@blueprintjs/icons/resources/icons/icons.json"), }; diff --git a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx index 8468c7ff33..fe9b3d50c2 100644 --- a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx +++ b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx @@ -20,7 +20,7 @@ import * as React from "react"; import { PrecisionSelect } from "./common/precisionSelect"; import { TimePicker, TimePrecision } from "@blueprintjs/datetime"; -// eslint-disable-next-line import/no-internal-modules +// tslint:disable-next-line: no-submodule-imports import { getDefaultMaxTime, getDefaultMinTime } from "@blueprintjs/datetime/lib/esm/common/timeUnit"; export interface ITimePickerExampleState { diff --git a/packages/docs-app/src/index.tsx b/packages/docs-app/src/index.tsx index 0124455e3f..bf884d835f 100644 --- a/packages/docs-app/src/index.tsx +++ b/packages/docs-app/src/index.tsx @@ -13,7 +13,7 @@ * limitations under the License. */ -// eslint-disable-next-line no-internal-modules +// tslint:disable-next-line: no-submodule-imports import "@blueprintjs/test-commons/polyfill"; import "dom4"; diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index 2dadd7bfba..af91525acb 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -19,149 +19,23 @@ module.exports = { mocha: true, node: true, }, - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:react/recommended", - "plugin:prettier/recommended" - ], plugins: [ "@typescript-eslint", "@typescript-eslint/tslint", - "mocha", - "react", - "prettier", - "import" ], parser: "@typescript-eslint/parser", parserOptions: { - ecmaVersion: 2019, sourceType: "module", ecmaFeatures: { jsx: true, }, - project: [ - "src/tsconfig.json", - "test/tsconfig.json", - ] + project: "**/tsconfig.json", }, rules: { // run the tslint rules which are not yet converted (run inside eslint) "@typescript-eslint/tslint/config": ["error", { - "rules": { - "no-implicit-dependencies": { - options: ["dev", ["chai", "sinon", "prop-types"]] - }, - "no-invalid-this": { - options: ["check-function-in-method"] - }, - "no-unnecessary-callback-wrapper": true, - "prefer-conditional-expression": false, - } - }], - - // no-unused-vars conflicts with typescript, tuin off - // the default and turn on the typescript specific one - "no-unused-vars": "off", - "@typescript-eslint/no-unused-vars": ["error", { - "vars": "all", - "args": "after-used", - "ignoreRestSiblings": true, - "argsIgnorePattern": "^_" - }], - - // default rules: unset rules causing errors - "no-irregular-whitespace": "off", - "no-prototype-builtins": "off", - "no-case-declarations": "off", - - // @typescript-eslint rules: unset rules causing errors - "@typescript-eslint/no-use-before-define": "off", - "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-empty-interface": "off", - "@typescript-eslint/no-non-null-assertion": "off", - - // it would be nice to turn these ones back on at some point - "@typescript-eslint/no-inferrable-types": "off", - "prefer-spread": "off", // partially covered by no-restricted-properties - - // react plugin: unset rules causing errors - "react/display-name": "off", - "react/no-children-prop": "off", - "react/no-find-dom-node": "off", - "react/prop-types": "off", - "react/no-deprecated": "off", - "no-useless-escape": "off", - "no-constant-condition": "off", - "react/no-unescaped-entities": "off", - - // prettier - "prettier/prettier": ["error", { - "printWidth": 120, - "tabWidth": 4, - "trailingComma": "all" - }], - - // moved rules from tslint - "no-restricted-properties": ["error", { - "object": "_", - "property": "extend", - "message": "use object spread: { ...a, ...b }", - }, { - "object": "_", - "property": "isNull", - "message": "use plain JS: == null", - }, { - "object": "_", - "property": "isDefined", - "message": "use plain JS: != null", - }, { - "object": "Object", - "property": "assign", - "message": "use object spread: { ...a, ...b }", - }, { - "object": "Object", - "property": "getOwnPropertyNames", - "message": "use Object.keys()", - }, { - "object": "describe", - "property": "only", - "message": "should not be committed to repo", - }, { - "object": "it", - "property": "only", - "message": "should not be committed to repo", - }, { - "object": "test", - "property": "only", - "message": "should not be committed to repo", - }], - "linebreak-style": ["error"], - "no-console": ["error", { - allow: ["info", "warn", "error"] - }], - "import/no-default-export": ["error"], - "import/no-internal-modules": ["error", { - allow: [ - "core-js", - "lodash", - "react-dom", - "@blueprintjs/table/src", - "@blueprintjs/test-commons/bootstrap", - "tsutils" - ] - }], - "no-undef-init": ["error"], - "id-blacklist": ["error"], - "camelcase": ["error", { - properties: "always" - }], - - "@typescript-eslint/interface-name-prefix": ["error", { - "prefixWithI": "always" - }], + "lintFile": "../../tslint.json" + }] } } \ No newline at end of file diff --git a/packages/node-build-scripts/es-lint.js b/packages/node-build-scripts/es-lint.js index d38483e029..7b9f4572d2 100755 --- a/packages/node-build-scripts/es-lint.js +++ b/packages/node-build-scripts/es-lint.js @@ -25,7 +25,7 @@ if (process.env.JUNIT_REPORT_PATH != null) { } const gitRoot = execSync("git rev-parse --show-toplevel").toString().trim(); -const commandLineOptions = ["-c", path.join(gitRoot, "./.eslintrc.json"), "-f", format, "--color"]; +const commandLineOptions = ["-c", path.join(gitRoot, "./.eslintrc.json"), "--color", "-f", format]; if (process.argv.includes("--fix")) { commandLineOptions.push("--fix") } @@ -34,7 +34,7 @@ const fileGlob = "{src, test}/**/*.tsx"; const absoluteFileGlob = path.resolve(process.cwd(), fileGlob); const anyFilesToLint = glob.sync(absoluteFileGlob) if (anyFilesToLint.length === 0) { - console.log("Not running ESLint because no files match the glob ") + console.log(`Not running ESLint because no files match the glob "${fileGlob}"`) process.exit(); } From 2bc3839ca00ad5e55be0f2ee0d7ab498830e0889 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 17:11:08 -0800 Subject: [PATCH 04/13] PR cleanup --- .../core/src/components/forms/controls.tsx | 3 +- .../core/src/components/forms/fileInput.tsx | 1 + .../core/src/components/forms/textArea.tsx | 2 +- .../core/src/components/menu/menuItem.tsx | 2 + packages/docs-app/src/components/icons.tsx | 2 +- .../datetime-examples/timePickerExample.tsx | 2 +- packages/docs-app/src/index.tsx | 2 +- packages/eslint-config/index.js | 2 +- packages/eslint-config/package.json | 8 +- yarn.lock | 209 +----------------- 10 files changed, 14 insertions(+), 219 deletions(-) diff --git a/packages/core/src/components/forms/controls.tsx b/packages/core/src/components/forms/controls.tsx index 6e029dc99d..184e4fa6d1 100644 --- a/packages/core/src/components/forms/controls.tsx +++ b/packages/core/src/components/forms/controls.tsx @@ -247,9 +247,10 @@ export class Checkbox extends AbstractPureComponent2 { hasSelection, inputProps, large, + onInputChange, text, ...htmlProps } = this.props; diff --git a/packages/core/src/components/forms/textArea.tsx b/packages/core/src/components/forms/textArea.tsx index 03947f8baf..d4720eb314 100644 --- a/packages/core/src/components/forms/textArea.tsx +++ b/packages/core/src/components/forms/textArea.tsx @@ -67,7 +67,7 @@ export class TextArea extends AbstractPureComponent2 { public static defaultProps: IIconsProps = { iconFilter: isIconFiltered, iconRenderer: renderIcon, - // tslint:disable-next-line: no-submodule-imports + // tslint:disable-next-line:no-submodule-imports icons: require("@blueprintjs/icons/resources/icons/icons.json"), }; diff --git a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx index fe9b3d50c2..acfb4d99d9 100644 --- a/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx +++ b/packages/docs-app/src/examples/datetime-examples/timePickerExample.tsx @@ -20,7 +20,7 @@ import * as React from "react"; import { PrecisionSelect } from "./common/precisionSelect"; import { TimePicker, TimePrecision } from "@blueprintjs/datetime"; -// tslint:disable-next-line: no-submodule-imports +// tslint:disable-next-line:no-submodule-imports import { getDefaultMaxTime, getDefaultMinTime } from "@blueprintjs/datetime/lib/esm/common/timeUnit"; export interface ITimePickerExampleState { diff --git a/packages/docs-app/src/index.tsx b/packages/docs-app/src/index.tsx index bf884d835f..1d0df04580 100644 --- a/packages/docs-app/src/index.tsx +++ b/packages/docs-app/src/index.tsx @@ -13,7 +13,7 @@ * limitations under the License. */ -// tslint:disable-next-line: no-submodule-imports +// tslint:disable-next-line:no-submodule-imports import "@blueprintjs/test-commons/polyfill"; import "dom4"; diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index af91525acb..4a9342ba97 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -38,4 +38,4 @@ module.exports = { "lintFile": "../../tslint.json" }] } -} \ No newline at end of file +} diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 8e2eddc732..21a7864ea2 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -6,13 +6,7 @@ "@typescript-eslint/eslint-plugin": "^2.10.0", "@typescript-eslint/eslint-plugin-tslint": "^2.10.0", "@typescript-eslint/parser": "^2.10.0", - "eslint": "^6.7.2", - "eslint-config-prettier": "^6.7.0", - "eslint-plugin-import": "^2.18.2", - "eslint-plugin-mocha": "^6.2.2", - "eslint-plugin-prettier": "^3.1.1", - "eslint-plugin-react": "^7.17.0", - "eslint-plugin-header": "^3.0.0" + "eslint": "^6.7.2" }, "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock index 636948c7fe..6a8c49b099 100644 --- a/yarn.lock +++ b/yarn.lock @@ -912,14 +912,6 @@ array-ify@^1.0.0: resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= -array-includes@^3.0.3: - version "3.0.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" - integrity sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0= - dependencies: - define-properties "^1.1.2" - es-abstract "^1.7.0" - array-map@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" @@ -2195,11 +2187,6 @@ constants-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= -contains-path@^0.1.0: - version "0.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" - integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo= - content-disposition@0.5.3: version "0.5.3" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" @@ -2858,7 +2845,7 @@ deasync@^0.1.7: bindings "~1.2.1" node-addon-api "^1.6.0" -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -3107,21 +3094,6 @@ dns-txt@^2.0.2: dependencies: buffer-indexof "^1.0.0" -doctrine@1.5.0: - version "1.5.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" - integrity sha1-N53Ocw9hZvds76TmcHoVmwLFpvo= - dependencies: - esutils "^2.0.2" - isarray "^1.0.0" - -doctrine@^2.1.0: - version "2.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha1-XNAfwQFiG0LEzX9dGmYkNxbT850= - dependencies: - esutils "^2.0.2" - doctrine@^3.0.0: version "3.0.0" resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" @@ -3482,22 +3454,6 @@ es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.13 is-regex "^1.0.4" object-keys "^1.0.12" -es-abstract@^1.15.0, es-abstract@^1.7.0: - version "1.16.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/es-abstract/-/es-abstract-1.16.3.tgz#52490d978f96ff9f89ec15b5cf244304a5bca161" - integrity sha1-UkkNl4+W/5+J7BW1zyRDBKW8oWE= - dependencies: - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - is-callable "^1.1.4" - is-regex "^1.0.4" - object-inspect "^1.7.0" - object-keys "^1.1.1" - string.prototype.trimleft "^2.1.0" - string.prototype.trimright "^2.1.0" - es-to-primitive@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -3507,15 +3463,6 @@ es-to-primitive@^1.2.0: is-date-object "^1.0.1" is-symbol "^1.0.2" -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo= - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.5, es5-ext@~0.10.6: version "0.10.50" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.50.tgz#6d0e23a0abdb27018e5ac4fd09b412bc5517a778" @@ -3596,63 +3543,6 @@ escodegen@1.8.x: optionalDependencies: source-map "~0.2.0" -eslint-config-prettier@^6.7.0: - version "6.7.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz#9a876952e12df2b284adbd3440994bf1f39dfbb9" - integrity sha1-modpUuEt8rKErb00QJlL8fOd+7k= - dependencies: - get-stdin "^6.0.0" - -eslint-import-resolver-node@^0.3.2: - version "0.3.2" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" - integrity sha1-WPFfuDm40FdsqYBBNHaqskcttmo= - dependencies: - debug "^2.6.9" - resolve "^1.5.0" - -eslint-module-utils@^2.4.0: - version "2.4.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c" - integrity sha1-e0Z1h1v5aw2/GyGXdFblux9eAYw= - dependencies: - debug "^2.6.8" - pkg-dir "^2.0.0" - -eslint-plugin-eslint-plugin@^2.1.0: - version "2.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-2.1.0.tgz#a7a00f15a886957d855feacaafee264f039e62d5" - integrity sha1-p6APFaiGlX2FX+rKr+4mTwOeYtU= - -eslint-plugin-header@^3.0.0: - version "3.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-header/-/eslint-plugin-header-3.0.0.tgz#0e048b5f0adfdd9754142d59d551ae6bfdaf90ad" - integrity sha1-DgSLXwrf3ZdUFC1Z1VGua/2vkK0= - -eslint-plugin-import@^2.18.2: - version "2.18.2" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6" - integrity sha1-AvEYC5Cwd7M9RHoXojJs60AKzrY= - dependencies: - array-includes "^3.0.3" - contains-path "^0.1.0" - debug "^2.6.9" - doctrine "1.5.0" - eslint-import-resolver-node "^0.3.2" - eslint-module-utils "^2.4.0" - has "^1.0.3" - minimatch "^3.0.4" - object.values "^1.1.0" - read-pkg-up "^2.0.0" - resolve "^1.11.0" - -eslint-plugin-mocha@^6.2.2: - version "6.2.2" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-mocha/-/eslint-plugin-mocha-6.2.2.tgz#6ef4b78bd12d744beb08a06e8209de330985100d" - integrity sha1-bvS3i9EtdEvrCKBuggneMwmFEA0= - dependencies: - ramda "^0.26.1" - eslint-plugin-prettier@^2.2.0: version "2.7.0" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.7.0.tgz#b4312dcf2c1d965379d7f9d5b5f8aaadc6a45904" @@ -3661,29 +3551,6 @@ eslint-plugin-prettier@^2.2.0: fast-diff "^1.1.1" jest-docblock "^21.0.0" -eslint-plugin-prettier@^3.1.1: - version "3.1.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.1.tgz#507b8562410d02a03f0ddc949c616f877852f2ba" - integrity sha1-UHuFYkENAqA/DdyUnGFvh3hS8ro= - dependencies: - prettier-linter-helpers "^1.0.0" - -eslint-plugin-react@^7.17.0: - version "7.17.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-plugin-react/-/eslint-plugin-react-7.17.0.tgz#a31b3e134b76046abe3cd278e7482bd35a1d12d7" - integrity sha1-oxs+E0t2BGq+PNJ450gr01odEtc= - dependencies: - array-includes "^3.0.3" - doctrine "^2.1.0" - eslint-plugin-eslint-plugin "^2.1.0" - has "^1.0.3" - jsx-ast-utils "^2.2.3" - object.entries "^1.1.0" - object.fromentries "^2.0.1" - object.values "^1.1.0" - prop-types "^15.7.2" - resolve "^1.13.1" - eslint-scope@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" @@ -4045,7 +3912,7 @@ fast-deep-equal@^2.0.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-diff@^1.1.1, fast-diff@^1.1.2: +fast-diff@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== @@ -4947,11 +4814,6 @@ has-symbols@^1.0.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= -has-symbols@^1.0.1: - version "1.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" - integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg= - has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -6109,14 +5971,6 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jsx-ast-utils@^2.2.3: - version "2.2.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz#8a9364e402448a3ce7f14d357738310d9248054f" - integrity sha1-ipNk5AJEijzn8U01dzgxDZJIBU8= - dependencies: - array-includes "^3.0.3" - object.assign "^4.1.0" - just-extend@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc" @@ -7535,17 +7389,12 @@ object-inspect@^1.6.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b" integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ== -object-inspect@^1.7.0: - version "1.7.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" - integrity sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc= - object-is@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" integrity sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY= -object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: +object-keys@^1.0.11, object-keys@^1.0.12: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== @@ -7587,16 +7436,6 @@ object.fromentries@^2.0.0: function-bind "^1.1.1" has "^1.0.1" -object.fromentries@^2.0.1: - version "2.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/object.fromentries/-/object.fromentries-2.0.1.tgz#050f077855c7af8ae6649f45c80b16ee2d31e704" - integrity sha1-BQ8HeFXHr4rmZJ9FyAsW7i0x5wQ= - dependencies: - define-properties "^1.1.3" - es-abstract "^1.15.0" - function-bind "^1.1.1" - has "^1.0.3" - object.getownpropertydescriptors@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" @@ -8122,13 +7961,6 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= -pkg-dir@^2.0.0: - version "2.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" - integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s= - dependencies: - find-up "^2.1.0" - pkg-dir@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" @@ -8654,13 +8486,6 @@ preserve@^0.2.0: resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha1-0j1B/hN1ZG3i0BBNNFSjAIgCz3s= - dependencies: - fast-diff "^1.1.2" - prettier@^1.18.2: version "1.18.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" @@ -8869,11 +8694,6 @@ railroad-diagrams@^1.0.0: resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e" integrity sha1-635iZ1SN3t+4mcG5Dlc3RVnN234= -ramda@^0.26.1: - version "0.26.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ramda/-/ramda-0.26.1.tgz#8d41351eb8111c55353617fc3bbffad8e4d35d06" - integrity sha1-jUE1HrgRHFU1Nhf8O7/62OTTXQY= - randexp@0.4.6: version "0.4.6" resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3" @@ -9422,13 +9242,6 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.3.2, resolve@^1.6.0 dependencies: path-parse "^1.0.6" -resolve@^1.11.0, resolve@^1.13.1, resolve@^1.5.0: - version "1.13.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/resolve/-/resolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16" - integrity sha1-vgqkwGrNUwg1BauzX01mkyqzXRY= - dependencies: - path-parse "^1.0.6" - restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -10274,22 +10087,6 @@ string.prototype.trim@^1.1.2: es-abstract "^1.13.0" function-bind "^1.1.1" -string.prototype.trimleft@^2.1.0: - version "2.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634" - integrity sha1-bMR/DX641isPNwFhFxWjlUWR1jQ= - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string.prototype.trimright@^2.1.0: - version "2.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz#669d164be9df9b6f7559fa8e89945b168a5a6c58" - integrity sha1-Zp0WS+nfm291WfqOiZRbFopabFg= - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" From 046a7c848e81602846608f13657bff08b533fffa Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 17:13:44 -0800 Subject: [PATCH 05/13] Little more cleanup --- .eslintrc.json | 14 ++------------ packages/core/src/components/alert/alert.tsx | 1 + 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 7cbe3193e4..b2a4e68f34 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,15 +1,5 @@ { "extends": [ "./packages/eslint-config" - ], - "plugins": [ - "header" - ], - "rules": { - "header/header": [2, "block", [ - { - "pattern": "Copyright \\d{4} Palantir Technologies, Inc. All rights reserved." - } - ]] - } -} \ No newline at end of file + ] +} diff --git a/packages/core/src/components/alert/alert.tsx b/packages/core/src/components/alert/alert.tsx index 58738cfc7a..34226ea166 100644 --- a/packages/core/src/components/alert/alert.tsx +++ b/packages/core/src/components/alert/alert.tsx @@ -139,6 +139,7 @@ export class Alert extends AbstractPureComponent2 { intent, cancelButtonText, confirmButtonText, + onClose, ...overlayProps } = this.props; return ( From 925700d2c547072968897d9a2940c9f1c0f44a25 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 17:21:00 -0800 Subject: [PATCH 06/13] README info --- .circleci/config.yml | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 1 + packages/core/src/components/html/html.md | 9 +++++++-- packages/core/src/docs/classes.md | 12 +++++++++++- packages/node-build-scripts/es-lint.js | 2 +- 6 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb7a875c3f..07557ab5b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,8 +76,8 @@ jobs: - checkout - restore_cache: *restore-node-modules-cache - attach_workspace: { at: '.' } - - run: mkdir -p ./reports/tslint ./reports/stylelint - - run: yarn compile --scope "@blueprintjs/tslint-config" + - run: mkdir -p ./reports/eslint ./reports/stylelint + - run: yarn compile --scope "@blueprintjs/eslint-config" - run: yarn lint - store_test_results: { path: ./reports } - store_artifacts: { path: ./reports } diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3d17f74474..6dced7f956 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,7 +39,7 @@ A typical contributor workflow looks like this: - Linting is best handled by your editor for real-time feedback (see [Editor integration](https://github.com/palantir/blueprint/wiki/Editor-integration)). Run `yarn lint` to be 100% safe. - - TypeScript lint errors can often be automatically fixed by TSLint. Run lint fixes with `yarn lint-fix`. + - TypeScript lint errors can often be automatically fixed by ESLint. Run lint fixes with `yarn lint-fix`. 1. Submit a Pull Request on GitHub and fill out the template. - ⚠️ __DO NOT enable CircleCI for your fork of Blueprint.__ Our build will run on your fork when you open a PR. You can run NPM scripts locally diff --git a/README.md b/README.md index 611f1c9aec..085fd607fe 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ These packages define development dependencies and contain build configuration. - [![npm](https://img.shields.io/npm/v/@blueprintjs/karma-build-scripts.svg?label=@blueprintjs/karma-build-scripts)](https://www.npmjs.com/package/@blueprintjs/karma-build-scripts) - [![npm](https://img.shields.io/npm/v/@blueprintjs/node-build-scripts.svg?label=@blueprintjs/node-build-scripts)](https://www.npmjs.com/package/@blueprintjs/node-build-scripts) - [![npm](https://img.shields.io/npm/v/@blueprintjs/test-commons.svg?label=@blueprintjs/test-commons)](https://www.npmjs.com/package/@blueprintjs/test-commons) +- [![npm](https://img.shields.io/npm/v/@blueprintjs/eslint-config.svg?label=@blueprintjs/eslint-config)](https://www.npmjs.com/package/@blueprintjs/eslint-config) - [![npm](https://img.shields.io/npm/v/@blueprintjs/tslint-config.svg?label=@blueprintjs/tslint-config)](https://www.npmjs.com/package/@blueprintjs/tslint-config) - [![npm](https://img.shields.io/npm/v/@blueprintjs/webpack-build-scripts.svg?label=@blueprintjs/webpack-build-scripts)](https://www.npmjs.com/package/@blueprintjs/webpack-build-scripts) diff --git a/packages/core/src/components/html/html.md b/packages/core/src/components/html/html.md index 3b4f758ec8..c1df7ad79b 100644 --- a/packages/core/src/components/html/html.md +++ b/packages/core/src/components/html/html.md @@ -40,9 +40,14 @@ See the [Running text](#core/typography.running-text) documentation for more inf @## Linting +The [**@blueprintjs/eslint-config**](https://www.npmjs.com/package/@blueprintjs/eslint-config) +NPM package provides advanced configuration for [ESLint](https://eslint.org/). Blueprint is +currently transitioning from [TSLint](https://palantir.github.io/tslint/) to ESLint, and as +such, rules are being migrated from TSLint to ESLint. In the meantime, some TSLint rules are +being run using ESLint. + The [**@blueprintjs/tslint-config**](https://www.npmjs.com/package/@blueprintjs/tslint-config) -NPM package provides advanced configuration for [TSLint](http://palantir.github.io/tslint/), -including a custom `blueprint-html-components` rule that will warn on usages of +NPM package includes a custom `blueprint-html-components` rule that will warn on usages of JSX intrinsic elements (`

`) that have a Blueprint alternative (`

`). See the package's [README](https://www.npmjs.com/package/@blueprintjs/tslint-config) for usage instructions. diff --git a/packages/core/src/docs/classes.md b/packages/core/src/docs/classes.md index 4e24102cf7..2628136f13 100644 --- a/packages/core/src/docs/classes.md +++ b/packages/core/src/docs/classes.md @@ -96,4 +96,14 @@ requires several things: @## Linting -The [**@blueprintjs/tslint-config**](https://www.npmjs.com/package/@blueprintjs/tslint-config) NPM package provides advanced configuration for [TSLint](http://palantir.github.io/tslint/), including a custom `blueprint-classes-constants` rule that will detect and warn about hardcoded `pt-`prefixed strings. See the package's [README](https://www.npmjs.com/package/@blueprintjs/tslint-config) for usage instructions. +The [**@blueprintjs/eslint-config**](https://www.npmjs.com/package/@blueprintjs/eslint-config) +NPM package provides advanced configuration for [ESLint](https://eslint.org/). Blueprint is +currently transitioning from [TSLint](https://palantir.github.io/tslint/) to ESLint, and as +such, rules are being migrated from TSLint to ESLint. In the meantime, some TSLint rules are +being run using ESLint. + +The [**@blueprintjs/tslint-config**](https://www.npmjs.com/package/@blueprintjs/tslint-config) +NPM package includes a custom `blueprint-html-components` rule that will warn on usages of +JSX intrinsic elements (`

`) that have a Blueprint alternative (`

`). See +the package's [README](https://www.npmjs.com/package/@blueprintjs/tslint-config) +for usage instructions. diff --git a/packages/node-build-scripts/es-lint.js b/packages/node-build-scripts/es-lint.js index 7b9f4572d2..60f0e2ad02 100755 --- a/packages/node-build-scripts/es-lint.js +++ b/packages/node-build-scripts/es-lint.js @@ -2,7 +2,7 @@ /** * @license Copyright 2017 Palantir Technologies, Inc. All rights reserved. - * @fileoverview Runs TSLint, with support for generating JUnit report + * @fileoverview Runs ESLint, with support for generating JUnit report */ // @ts-check From 66d0e2228830a6f0fa89296286a44fae7f2119c1 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 9 Dec 2019 17:39:05 -0800 Subject: [PATCH 07/13] # This is a combination of 6 commits. # This is the 1st commit message: Fix yarn.lock # This is the commit message #2: Fix yarn.lock # This is the commit message #3: Compile blueprint rules # This is the commit message #4: Rerun yarn # This is the commit message #5: Yarn please # This is the commit message #6: I think this is broken --- .circleci/config.yml | 3 +- yarn.lock | 318 ++++++++++++++++++------------------------- 2 files changed, 133 insertions(+), 188 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07557ab5b1..9f32c04252 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -77,7 +77,8 @@ jobs: - restore_cache: *restore-node-modules-cache - attach_workspace: { at: '.' } - run: mkdir -p ./reports/eslint ./reports/stylelint - - run: yarn compile --scope "@blueprintjs/eslint-config" + # we need to compile the lint rules for blueprint + - run: yarn compile --scope "@blueprintjs/tslint-config" - run: yarn lint - store_test_results: { path: ./reports } - store_artifacts: { path: ./reports } diff --git a/yarn.lock b/yarn.lock index ee5c2f1a53..dbaec2e170 100644 --- a/yarn.lock +++ b/yarn.lock @@ -273,8 +273,8 @@ "@types/eslint-visitor-keys@^1.0.0": version "1.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" - integrity sha1-HuMNeVRMqE1o1LPNsK9PIFZj3S0= + resolved "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" + integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== "@types/events@*": version "3.0.0" @@ -297,8 +297,8 @@ "@types/json-schema@^7.0.3": version "7.0.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" - integrity sha1-vf1p1h5GTcyBslFZwnDXWnPBpjY= + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" + integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A== "@types/kss@^3.0.1": version "3.0.1" @@ -400,47 +400,47 @@ source-map "^0.6.0" "@typescript-eslint/eslint-plugin-tslint@^2.10.0": - version "2.10.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-2.10.0.tgz#a5e9c383f166a51a427daeee2fafd7929113b510" - integrity sha1-penDg/FmpRpCfa7uL6/XkpETtRA= + version "2.11.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-2.11.0.tgz#24cad764013f85e5cc72558d0e301ce451e990d5" + integrity sha512-mZ2HqY3ZoC32mFB2LjN/XanP/Op2aylVWpv+qmTjbtoVl7ZkuDLZKoqoJ7KHVchE77/pw9YDDz9EG49ee5veSQ== dependencies: - "@typescript-eslint/experimental-utils" "2.10.0" + "@typescript-eslint/experimental-utils" "2.11.0" lodash.memoize "^4.1.2" "@typescript-eslint/eslint-plugin@^2.10.0": - version "2.10.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.10.0.tgz#c4cb103275e555e8a7e9b3d14c5951eb6d431e70" - integrity sha1-xMsQMnXlVein6bPRTFlR621DHnA= + version "2.11.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.11.0.tgz#4477c33491ccf0a9a3f4a30ef84978fa0ea0cad2" + integrity sha512-G2HHA1vpMN0EEbUuWubiCCfd0R3a30BB+UdvnFkxwZIxYEGOrWEXDv8tBFO9f44CWc47Xv9lLM3VSn4ORLI2bA== dependencies: - "@typescript-eslint/experimental-utils" "2.10.0" + "@typescript-eslint/experimental-utils" "2.11.0" eslint-utils "^1.4.3" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.10.0": - version "2.10.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.10.0.tgz#8db1656cdfd3d9dcbdbf360b8274dea76f0b2c2c" - integrity sha1-jbFlbN/T2dy9vzYLgnTep28LLCw= +"@typescript-eslint/experimental-utils@2.11.0": + version "2.11.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.11.0.tgz#cef18e6b122706c65248a5d8984a9779ed1e52ac" + integrity sha512-YxcA/y0ZJaCc/fB/MClhcDxHI0nOBB7v2/WxBju2cOTanX7jO9ttQq6Fy4yW9UaY5bPd9xL3cun3lDVqk67sPQ== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.10.0" + "@typescript-eslint/typescript-estree" "2.11.0" eslint-scope "^5.0.0" "@typescript-eslint/parser@^2.10.0": - version "2.10.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/parser/-/parser-2.10.0.tgz#24b2e48384ab6d5a6121e4c4faf8892c79657ad3" - integrity sha1-JLLkg4SrbVphIeTE+viJLHlletM= + version "2.11.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.11.0.tgz#cdcc3be73ee31cbef089af5ff97ccaa380ef6e8b" + integrity sha512-DyGXeqhb3moMioEFZIHIp7oXBBh7dEfPTzGrlyP0Mi9ScCra4SWEGs3kPd18mG7Sy9Wy8z88zmrw5tSGL6r/6A== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.10.0" - "@typescript-eslint/typescript-estree" "2.10.0" + "@typescript-eslint/experimental-utils" "2.11.0" + "@typescript-eslint/typescript-estree" "2.11.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@2.10.0": - version "2.10.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.10.0.tgz#89cdabd5e8c774e9d590588cb42fb9afd14dcbd9" - integrity sha1-ic2r1ejHdOnVkFiMtC+5r9FNy9k= +"@typescript-eslint/typescript-estree@2.11.0": + version "2.11.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.11.0.tgz#21ada6504274cd1644855926312c798fc697e9fb" + integrity sha512-HGY4+d4MagO6cKMcKfIKaTMxcAv7dEVnji2Zi+vi5VV8uWAM631KjAB5GxFcexMYrwKT0EekRiiGK1/Sd7VFGA== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" @@ -639,8 +639,8 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: acorn-jsx@^5.1.0: version "5.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" - integrity sha1-KUrbcbVzmLBoABXwo4xWPuHbU4Q= + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" + integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw== acorn-walk@^6.1.1: version "6.2.0" @@ -654,8 +654,8 @@ acorn@^6.0.7, acorn@^6.2.0: acorn@^7.1.0: version "7.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" - integrity sha1-lJ028sKSU12mAig1hsJHfFfrLWw= + resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" + integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== add-stream@^1.0.0: version "1.0.0" @@ -742,8 +742,8 @@ ansi-escapes@^3.0.0: ansi-escapes@^4.2.1: version "4.3.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" - integrity sha1-pM4rM9ayFLeVDYWVwhLxKsnMVp0= + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" + integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg== dependencies: type-fest "^0.8.1" @@ -776,8 +776,8 @@ ansi-regex@^4.1.0: ansi-regex@^5.0.0: version "5.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha1-OIU59VF5vzkznIGvMKZU1p+Hy3U= + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== ansi-styles@^2.2.1: version "2.2.1" @@ -1577,8 +1577,8 @@ callsites@^2.0.0: callsites@^3.0.0: version "3.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M= + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== camel-case@^3.0.0: version "3.0.0" @@ -1738,8 +1738,8 @@ chardet@^0.4.0: chardet@^0.7.0: version "0.7.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha1-kAlISfCTfy7twkJdDSip5fDLrZ4= + resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== check-error@^1.0.2: version "1.0.2" @@ -1873,8 +1873,8 @@ cli-cursor@^2.1.0: cli-cursor@^3.1.0: version "3.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha1-JkMFp65JDR0Dvwybp8kl0XU68wc= + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== dependencies: restore-cursor "^3.1.0" @@ -3078,8 +3078,8 @@ dns-txt@^2.0.2: doctrine@^3.0.0: version "3.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha1-rd6+rXKmV023g2OdyHoSF3OXOWE= + resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== dependencies: esutils "^2.0.2" @@ -3260,8 +3260,8 @@ emoji-regex@^7.0.1: emoji-regex@^8.0.0: version "8.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc= + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== emojis-list@^2.0.0: version "2.1.0" @@ -3543,28 +3543,28 @@ eslint-scope@^4.0.0: eslint-scope@^5.0.0: version "5.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" - integrity sha1-6HyIh8c+jR7ITxylkWRcNYv8j7k= + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" + integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== dependencies: esrecurse "^4.1.0" estraverse "^4.1.1" eslint-utils@^1.4.3: version "1.4.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha1-dP7HxU0Hdrb2fgJRBAtYBlZOmB8= + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== dependencies: eslint-visitor-keys "^1.1.0" eslint-visitor-keys@^1.1.0: version "1.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" - integrity sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI= + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" + integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== eslint@^6.7.2: version "6.7.2" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/eslint/-/eslint-6.7.2.tgz#c17707ca4ad7b2d8af986a33feba71e18a9fecd1" - integrity sha1-wXcHykrXstivmGoz/rpx4Yqf7NE= + resolved "https://registry.npmjs.org/eslint/-/eslint-6.7.2.tgz#c17707ca4ad7b2d8af986a33feba71e18a9fecd1" + integrity sha512-qMlSWJaCSxDFr8fBPvJM9kJwbazrhNcBU3+DszDW1OlEwKBBRWsJc7NJFelvwQpanHCR14cOLD41x8Eqvo3Nng== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" @@ -3606,8 +3606,8 @@ eslint@^6.7.2: espree@^6.1.2: version "6.1.2" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d" - integrity sha1-bCcmUJMrT5HDcU5ee19eLs9HJi0= + resolved "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d" + integrity sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA== dependencies: acorn "^7.1.0" acorn-jsx "^5.1.0" @@ -3625,8 +3625,8 @@ esprima@^4.0.0: esquery@^1.0.1: version "1.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" - integrity sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg= + resolved "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" + integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== dependencies: estraverse "^4.0.0" @@ -3642,15 +3642,10 @@ estraverse@^1.9.1: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" integrity sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= -estraverse@^4.0.0: +estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: version "4.3.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0= - -estraverse@^4.1.0, estraverse@^4.1.1: - version "4.2.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" - integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= + resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== esutils@^2.0.2: version "2.0.2" @@ -3846,8 +3841,8 @@ external-editor@^2.0.4: external-editor@^3.0.3: version "3.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha1-ywP3QL764D6k0oPK7SdBqD8zVJU= + resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== dependencies: chardet "^0.7.0" iconv-lite "^0.4.24" @@ -3957,8 +3952,8 @@ figures@^2.0.0: figures@^3.0.0: version "3.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" - integrity sha1-SxmN0H2NcVMGQoZK8tRd2eRZxOw= + resolved "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec" + integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg== dependencies: escape-string-regexp "^1.0.5" @@ -3972,8 +3967,8 @@ file-entry-cache@^2.0.0: file-entry-cache@^5.0.1: version "5.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w= + resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== dependencies: flat-cache "^2.0.1" @@ -4131,8 +4126,8 @@ flat-cache@^1.2.1: flat-cache@^2.0.1: version "2.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA= + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== dependencies: flatted "^2.0.0" rimraf "2.6.3" @@ -4323,7 +4318,7 @@ function.prototype.name@^1.1.0: functional-red-black-tree@^1.0.1: version "1.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= functions-have-names@^1.1.1: @@ -4528,22 +4523,10 @@ glob@^5.0.15: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@~7.1.1: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - 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@^7.1.6: +glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@~7.1.1: version "7.1.6" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY= + resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -4595,8 +4578,8 @@ globals@^11.1.0: globals@^12.1.0: version "12.3.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13" - integrity sha1-HlZO5cTd7SqwmLD4jyRwKjxWvhM= + resolved "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13" + integrity sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw== dependencies: type-fest "^0.8.1" @@ -5110,8 +5093,8 @@ import-fresh@^2.0.0: import-fresh@^3.0.0: version "3.2.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha1-Yz/2GFBueTr1rJG/SLcmd+FcvmY= + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" @@ -5176,21 +5159,16 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= inherits@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= - ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" @@ -5218,8 +5196,8 @@ inquirer@^3.2.2: inquirer@^7.0.0: version "7.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha1-nisDLd532h2124BHWLj+o6lwUZo= + resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" + integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== dependencies: ansi-escapes "^4.2.1" chalk "^2.4.2" @@ -5487,8 +5465,8 @@ is-fullwidth-code-point@^2.0.0: is-fullwidth-code-point@^3.0.0: version "3.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0= + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" @@ -5883,7 +5861,7 @@ json-schema@0.2.3: json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: @@ -6312,7 +6290,7 @@ lodash.templatesettings@^4.0.0: lodash.unescape@4.0.1: version "4.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" + resolved "https://registry.npmjs.org/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= lodash.uniq@^4.5.0: @@ -6919,8 +6897,8 @@ mute-stream@0.0.7: mute-stream@0.0.8: version "0.0.8" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha1-FjDEKyJR/4HiooPelqVJfqkuXg0= + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== nan@^2.12.1, nan@^2.13.2, nan@^2.14.0: version "2.14.0" @@ -6946,7 +6924,7 @@ nanomatch@^1.2.9: natural-compare@^1.4.0: version "1.4.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= nearley@^2.7.10: @@ -7458,8 +7436,8 @@ onetime@^2.0.0: onetime@^5.1.0: version "5.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha1-//DzyRYX/mK7UBiWNumayKbfe+U= + resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" + integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== dependencies: mimic-fn "^2.1.0" @@ -7495,22 +7473,10 @@ optimist@0.6.x, optimist@^0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -optionator@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" - integrity sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q= - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.4" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - wordwrap "~1.0.0" - -optionator@^0.8.3: +optionator@^0.8.1, optionator@^0.8.3: version "0.8.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha1-hPodA2/p08fiHZmIS2ARZ+yPtJU= + resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== dependencies: deep-is "~0.1.3" fast-levenshtein "~2.0.6" @@ -7672,8 +7638,8 @@ param-case@^2.1.0: parent-module@^1.0.0: version "1.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI= + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" @@ -9001,13 +8967,13 @@ regexp.prototype.flags@^1.2.0: regexpp@^2.0.1: version "2.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha1-jRnTHPYySCtYkEn4KB+T28uk0H8= + resolved "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== regexpp@^3.0.0: version "3.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" - integrity sha1-3WOYLuMwDme0HBlW+FCqaA2dMw4= + resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" + integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g== registry-auth-token@^3.0.1: version "3.4.0" @@ -9216,8 +9182,8 @@ restore-cursor@^2.0.0: restore-cursor@^3.1.0: version "3.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha1-OfZ8VLOnpYzqUjbZXPADQjljH34= + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== dependencies: onetime "^5.1.0" signal-exit "^3.0.2" @@ -9298,8 +9264,8 @@ rx-lite@*, rx-lite@^4.0.8: rxjs@^6.4.0: version "6.5.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" - integrity sha1-UQ4mMX9NuRp+sd532d2boKSJmjo= + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" + integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== dependencies: tslib "^1.9.0" @@ -10021,8 +9987,8 @@ string-width@^3.0.0, string-width@^3.1.0: string-width@^4.1.0: version "4.2.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" - integrity sha1-lSGCxGzHssMT0VluYjmSvRY7crU= + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== dependencies: emoji-regex "^8.0.0" is-fullwidth-code-point "^3.0.0" @@ -10091,8 +10057,8 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: strip-ansi@^6.0.0: version "6.0.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha1-CxVx3XZpzNTz4G4U7x7tJiJa5TI= + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== dependencies: ansi-regex "^5.0.0" @@ -10139,8 +10105,8 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1: strip-json-comments@^3.0.1: version "3.0.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" - integrity sha1-hXE5dakfuHvxswXMp3OV5A0qZKc= + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== strip-outer@^1.0.0: version "1.0.1" @@ -10373,20 +10339,10 @@ swap-case@^1.1.0: lower-case "^1.1.1" upper-case "^1.1.1" -table@^5.0.0: - version "5.4.4" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.4.tgz#6e0f88fdae3692793d1077fd172a4667afe986a6" - integrity sha512-IIfEAUx5QlODLblLrGTTLJA7Tk0iLSGBvgY8essPRVNGHAzThujww1YqHLs6h3HfTg55h++RzLHH5Xw/rfv+mg== - dependencies: - ajv "^6.10.2" - lodash "^4.17.14" - slice-ansi "^2.1.0" - string-width "^3.0.0" - -table@^5.2.3: +table@^5.0.0, table@^5.2.3: version "5.4.6" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" - integrity sha1-EpLRlQDOP4YFOwXw6Ofko7shB54= + resolved "https://registry.npmjs.org/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" + integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== dependencies: ajv "^6.10.2" lodash "^4.17.14" @@ -10477,7 +10433,7 @@ text-extensions@^1.0.0: text-table@^0.2.0: version "0.2.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= through2@2.0.1: @@ -10663,16 +10619,16 @@ tryer@^1.0.1: resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== -tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -tslib@~1.9.0, tslib@~1.9.3: +tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.9.0, tslib@~1.9.3: version "1.9.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== +tslib@~1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" + integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== + tslint-config-prettier@^1.18.0: version "1.18.0" resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.18.0.tgz#75f140bde947d35d8f0d238e0ebf809d64592c37" @@ -10720,17 +10676,10 @@ tsutils@^2.29.0: dependencies: tslib "^1.8.1" -tsutils@^3.17.1: +tsutils@^3.17.1, tsutils@^3.9.1: version "3.17.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" - integrity sha1-7XGZF/EcoN7lhicrKsSeAVot11k= - dependencies: - tslib "^1.8.1" - -tsutils@^3.9.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.14.1.tgz#f1d2b93d2a0876481f2f1f98c25ba42bbd7ee860" - integrity sha512-kiuZzD1uUA5DxGj/uxbde+ymp6VVdAxdzOIlAFbYKrPyla8/uiJ9JLBm1QsPhOm4Muj0/+cWEDP99yoCUcSl6Q== + resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" + integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== dependencies: tslib "^1.8.1" @@ -10782,8 +10731,8 @@ type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5: type-fest@^0.8.1: version "0.8.1" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha1-CeJJ696FHTseSNJ8EFREZn8XuD0= + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== type-is@~1.6.17, type-is@~1.6.18: version "1.6.18" @@ -11087,16 +11036,11 @@ uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -v8-compile-cache@2.0.3: +v8-compile-cache@2.0.3, v8-compile-cache@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== -v8-compile-cache@^2.0.3: - version "2.1.0" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" - integrity sha1-4U3jezGm0ZT1aQ1n78Tn9vxqsw4= - validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -11400,8 +11344,8 @@ window-size@^0.2.0: word-wrap@~1.2.3: version "1.2.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w= + resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== wordwrap@^1.0.0, wordwrap@~1.0.0: version "1.0.0" @@ -11473,8 +11417,8 @@ write-pkg@^3.1.0: write@1.0.3: version "1.0.3" - resolved "https://artifactory.palantir.build/artifactory/api/npm/all-npm/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha1-CADhRSO5I6OH5BUSPIZWFqrg9cM= + resolved "https://registry.npmjs.org/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== dependencies: mkdirp "^0.5.1" @@ -11526,12 +11470,12 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^3.2.0, y18n@^3.2.1: +y18n@^3.2.0, y18n@^3.2.1, "y18n@^3.2.1 || ^4.0.0": version "3.2.1" resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: +y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== From dc8f430a10db08cde16d516b02bbf07b1ee851eb Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Tue, 10 Dec 2019 13:41:19 -0800 Subject: [PATCH 08/13] Fix yarn.lock --- yarn.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/yarn.lock b/yarn.lock index dbaec2e170..672277d9e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3906,7 +3906,7 @@ fast-json-stable-stringify@^2.0.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= -fast-levenshtein@~2.0.4, fast-levenshtein@~2.0.6: +fast-levenshtein@~2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= @@ -10619,16 +10619,16 @@ tryer@^1.0.1: resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== -tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.9.0, tslib@~1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" - integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== - -tslib@~1.10.0: +tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== +tslib@~1.9.0, tslib@~1.9.3: + version "1.9.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" + integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== + tslint-config-prettier@^1.18.0: version "1.18.0" resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.18.0.tgz#75f140bde947d35d8f0d238e0ebf809d64592c37" @@ -11347,7 +11347,7 @@ word-wrap@~1.2.3: resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== -wordwrap@^1.0.0, wordwrap@~1.0.0: +wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= @@ -11470,12 +11470,12 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^3.2.0, y18n@^3.2.1, "y18n@^3.2.1 || ^4.0.0": +y18n@^3.2.0, y18n@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= -y18n@^4.0.0: +"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== From dbb983a81493f2f7ed1afbe0709b82a4e7dda6fc Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Tue, 10 Dec 2019 14:40:52 -0800 Subject: [PATCH 09/13] Remove readme badge until we publish --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 085fd607fe..611f1c9aec 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,6 @@ These packages define development dependencies and contain build configuration. - [![npm](https://img.shields.io/npm/v/@blueprintjs/karma-build-scripts.svg?label=@blueprintjs/karma-build-scripts)](https://www.npmjs.com/package/@blueprintjs/karma-build-scripts) - [![npm](https://img.shields.io/npm/v/@blueprintjs/node-build-scripts.svg?label=@blueprintjs/node-build-scripts)](https://www.npmjs.com/package/@blueprintjs/node-build-scripts) - [![npm](https://img.shields.io/npm/v/@blueprintjs/test-commons.svg?label=@blueprintjs/test-commons)](https://www.npmjs.com/package/@blueprintjs/test-commons) -- [![npm](https://img.shields.io/npm/v/@blueprintjs/eslint-config.svg?label=@blueprintjs/eslint-config)](https://www.npmjs.com/package/@blueprintjs/eslint-config) - [![npm](https://img.shields.io/npm/v/@blueprintjs/tslint-config.svg?label=@blueprintjs/tslint-config)](https://www.npmjs.com/package/@blueprintjs/tslint-config) - [![npm](https://img.shields.io/npm/v/@blueprintjs/webpack-build-scripts.svg?label=@blueprintjs/webpack-build-scripts)](https://www.npmjs.com/package/@blueprintjs/webpack-build-scripts) From 2fb1ffe4ee8dc0d5c495cf5071d6c09fdfb579a4 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Tue, 10 Dec 2019 14:41:22 -0800 Subject: [PATCH 10/13] Revert ordering change to package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f3b02d261..11089b95e2 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "@types/mocha": "5.2.7", "@types/prop-types": "15.7.1", "@types/react": "16.8.23", - "@types/react-dom": "16.8.5", "@types/react-lifecycles-compat": "^3.0.1", + "@types/react-dom": "16.8.5", "@types/react-transition-group": "4.2.0", "@types/sinon": "7.0.13", "@types/webpack": "4.32.1", From 7718a52e562230f0041979ae681f1938b25eb03a Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 16 Dec 2019 09:32:27 -0800 Subject: [PATCH 11/13] Update version --- packages/eslint-config/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 21a7864ea2..66ab65bbe2 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@blueprintjs/eslint-config", - "version": "1.9.0", + "version": "0.1.0", "description": "ESLint configuration for @blueprintjs packages", "dependencies": { "@typescript-eslint/eslint-plugin": "^2.10.0", From f893795b6a8f21ecc694c0374ab4c52817c4f073 Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 6 Jan 2020 10:44:00 -0800 Subject: [PATCH 12/13] Upgrade to version which includes fixer --- packages/eslint-config/package.json | 6 ++-- yarn.lock | 50 ++++++++++++++--------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 66ab65bbe2..998d8695a6 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -3,9 +3,9 @@ "version": "0.1.0", "description": "ESLint configuration for @blueprintjs packages", "dependencies": { - "@typescript-eslint/eslint-plugin": "^2.10.0", - "@typescript-eslint/eslint-plugin-tslint": "^2.10.0", - "@typescript-eslint/parser": "^2.10.0", + "@typescript-eslint/eslint-plugin": "^2.15.0", + "@typescript-eslint/eslint-plugin-tslint": "^2.15.0", + "@typescript-eslint/parser": "^2.15.0", "eslint": "^6.7.2" }, "repository": { diff --git a/yarn.lock b/yarn.lock index 672277d9e4..f9ef3ff5ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -399,48 +399,48 @@ "@types/uglify-js" "*" source-map "^0.6.0" -"@typescript-eslint/eslint-plugin-tslint@^2.10.0": - version "2.11.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-2.11.0.tgz#24cad764013f85e5cc72558d0e301ce451e990d5" - integrity sha512-mZ2HqY3ZoC32mFB2LjN/XanP/Op2aylVWpv+qmTjbtoVl7ZkuDLZKoqoJ7KHVchE77/pw9YDDz9EG49ee5veSQ== +"@typescript-eslint/eslint-plugin-tslint@^2.15.0": + version "2.15.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-2.15.0.tgz#60f0f470e23a2f49adb723cde1f6f0a42651dfe1" + integrity sha512-TdYRPemAXd+JmB8Jt3CbwvafJH/7hpkhY4MfY0X10VQ0gRij9jv7ID/9ORKsygfgwDDMKMZpvdFSm96Mju/yMw== dependencies: - "@typescript-eslint/experimental-utils" "2.11.0" + "@typescript-eslint/experimental-utils" "2.15.0" lodash.memoize "^4.1.2" -"@typescript-eslint/eslint-plugin@^2.10.0": - version "2.11.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.11.0.tgz#4477c33491ccf0a9a3f4a30ef84978fa0ea0cad2" - integrity sha512-G2HHA1vpMN0EEbUuWubiCCfd0R3a30BB+UdvnFkxwZIxYEGOrWEXDv8tBFO9f44CWc47Xv9lLM3VSn4ORLI2bA== +"@typescript-eslint/eslint-plugin@^2.15.0": + version "2.15.0" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.15.0.tgz#5442c30b687ffd576ff74cfea46a6d7bfb0ee893" + integrity sha512-XRJFznI5v4K1WvIrWmjFjBAdQWaUTz4xJEdqR7+wAFsv6Q9dP3mOlE6BMNT3pdlp9eF1+bC5m5LZTmLMqffCVw== dependencies: - "@typescript-eslint/experimental-utils" "2.11.0" + "@typescript-eslint/experimental-utils" "2.15.0" eslint-utils "^1.4.3" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@2.11.0": - version "2.11.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.11.0.tgz#cef18e6b122706c65248a5d8984a9779ed1e52ac" - integrity sha512-YxcA/y0ZJaCc/fB/MClhcDxHI0nOBB7v2/WxBju2cOTanX7jO9ttQq6Fy4yW9UaY5bPd9xL3cun3lDVqk67sPQ== +"@typescript-eslint/experimental-utils@2.15.0": + version "2.15.0" + resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.15.0.tgz#41e35313bfaef91650ddb5380846d1c78a780070" + integrity sha512-Qkxu5zndY5hqlcQkmA88gfLvqQulMpX/TN91XC7OuXsRf4XG5xLGie0sbpX97o/oeccjeZYRMipIsjKk/tjDHA== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.11.0" + "@typescript-eslint/typescript-estree" "2.15.0" eslint-scope "^5.0.0" -"@typescript-eslint/parser@^2.10.0": - version "2.11.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.11.0.tgz#cdcc3be73ee31cbef089af5ff97ccaa380ef6e8b" - integrity sha512-DyGXeqhb3moMioEFZIHIp7oXBBh7dEfPTzGrlyP0Mi9ScCra4SWEGs3kPd18mG7Sy9Wy8z88zmrw5tSGL6r/6A== +"@typescript-eslint/parser@^2.15.0": + version "2.15.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.15.0.tgz#379a71a51b0429bc3bc55c5f8aab831bf607e411" + integrity sha512-6iSgQsqAYTaHw59t0tdjzZJluRAjswdGltzKEdLtcJOxR2UVTPHYvZRqkAVGCkaMVb6Fpa60NnuozNCvsSpA9g== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.11.0" - "@typescript-eslint/typescript-estree" "2.11.0" + "@typescript-eslint/experimental-utils" "2.15.0" + "@typescript-eslint/typescript-estree" "2.15.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@2.11.0": - version "2.11.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.11.0.tgz#21ada6504274cd1644855926312c798fc697e9fb" - integrity sha512-HGY4+d4MagO6cKMcKfIKaTMxcAv7dEVnji2Zi+vi5VV8uWAM631KjAB5GxFcexMYrwKT0EekRiiGK1/Sd7VFGA== +"@typescript-eslint/typescript-estree@2.15.0": + version "2.15.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.15.0.tgz#79ae52eed8701b164d91e968a65d85a9105e76d3" + integrity sha512-L6Pog+w3VZzXkAdyqA0VlwybF8WcwZX+mufso86CMxSdWmcizJ38lgBdpqTbc9bo92iyi0rOvmATKiwl+amjxg== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" From b4bfbfa51865a9223e8fecf0f2a8e6cf93db9eed Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Wed, 8 Jan 2020 18:47:46 -0500 Subject: [PATCH 13/13] fix minor code style issues --- packages/core/package.json | 2 +- packages/eslint-config/index.js | 9 ++++----- packages/node-build-scripts/es-lint.js | 11 ++++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 1d14a7b515..7fbfb1d945 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -37,7 +37,7 @@ "lint": "run-p lint:scss lint:es", "lint:scss": "sass-lint", "lint:es": "es-lint", - "lint:fix": "es-lint --fix", + "lint-fix": "es-lint --fix", "test": "run-s test:typeCheck test:iso test:karma", "test:typeCheck": "tsc -p ./test", "test:iso": "mocha test/isotest.js", diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index 4a9342ba97..974023bf91 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -28,14 +28,13 @@ module.exports = { sourceType: "module", ecmaFeatures: { jsx: true, - }, project: "**/tsconfig.json", }, rules: { // run the tslint rules which are not yet converted (run inside eslint) "@typescript-eslint/tslint/config": ["error", { - "lintFile": "../../tslint.json" - }] - } -} + "lintFile": "../../tslint.json", + }], + }, +}; diff --git a/packages/node-build-scripts/es-lint.js b/packages/node-build-scripts/es-lint.js index 60f0e2ad02..e8144a8421 100755 --- a/packages/node-build-scripts/es-lint.js +++ b/packages/node-build-scripts/es-lint.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /** - * @license Copyright 2017 Palantir Technologies, Inc. All rights reserved. + * @license Copyright 2019 Palantir Technologies, Inc. All rights reserved. * @fileoverview Runs ESLint, with support for generating JUnit report */ @@ -11,7 +11,7 @@ const path = require("path"); const fs = require("fs"); const { junitReportPath } = require("./utils"); -const { spawn, execSync } = require('child_process'); +const { spawn, execSync } = require("child_process"); const glob = require("glob"); let format = "codeframe"; @@ -30,7 +30,8 @@ if (process.argv.includes("--fix")) { commandLineOptions.push("--fix") } -const fileGlob = "{src, test}/**/*.tsx"; +// ESLint will fail if provided with no files, so we expand the glob before running it +const fileGlob = "{src,test}/**/*.tsx"; const absoluteFileGlob = path.resolve(process.cwd(), fileGlob); const anyFilesToLint = glob.sync(absoluteFileGlob) if (anyFilesToLint.length === 0) { @@ -43,6 +44,6 @@ const eslint = spawn("eslint", [...commandLineOptions, absoluteFileGlob]); eslint.stdout.pipe(outputStream); eslint.stderr.pipe(process.stderr); -eslint.on('close', code => { +eslint.on("close", code => { process.exitCode = code; -}) +});