diff --git a/.eslintignore b/.eslintignore index 8bd28fcc869..cb8870d7ecb 100644 --- a/.eslintignore +++ b/.eslintignore @@ -13,6 +13,7 @@ node_modules # misc /coverage/ !.* +/.yarn/ # ember-try .node_modules.ember-try diff --git a/.eslintrc.js b/.eslintrc.js index 7093cc78166..0a51e3523a4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -31,6 +31,12 @@ module.exports = { 'no-irregular-whitespace': 'error', 'no-undef': 'error', 'no-eq-null': 'error', + 'no-console': 'error', // no longer recommended in eslint v6, this restores it + + // probably want to fix these new rules later in separate PR + // Tracked in issue https://github.com/emberjs/data/issues/6405 + 'no-prototype-builtins': 'off', + 'require-atomic-updates': 'off', }, globals: { heimdall: true, @@ -74,10 +80,7 @@ module.exports = { es6: true, }, plugins: ['node'], - // eslint-disable-next-line node/no-unpublished-require - rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, { - // add your custom rules and overrides for node files here - }), + extends: 'plugin:node/recommended', }, // node tests diff --git a/.gitignore b/.gitignore index 7fe85e52960..8176098fb6a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ node_modules .env* .pnp* .sass-cache +/.eslintcache /onnect.lock coverage/* libpeerconnection.log diff --git a/package.json b/package.json index d85596f79d3..9b667587cb0 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,14 @@ "@types/qunit": "^2.5.3", "@types/rsvp": "^4.0.3", "babel-eslint": "^10.0.3", + "babel-plugin-debug-macros": "^0.3.3", + "babel-plugin-feature-flags": "^0.3.1", + "babel-plugin-filter-imports": "^3.0.0", + "babel6-plugin-strip-class-callcheck": "^6.0.0", "broccoli-asset-rev": "^3.0.0", "broccoli-babel-transpiler": "^7.2.0", "broccoli-concat": "^3.7.3", + "broccoli-file-creator": "^2.1.1", "broccoli-stew": "^3.0.0", "broccoli-string-replace": "^0.1.2", "broccoli-test-helper": "^2.0.0", @@ -89,10 +94,10 @@ "ember-source": "^3.12.0", "ember-source-channel-url": "^2.0.1", "ember-try": "^1.2.1", - "eslint": "^5.15.1", + "eslint": "^6.2.2", "eslint-config-prettier": "^6.3.0", "eslint-plugin-mocha": "^6.1.0", - "eslint-plugin-node": "^8.0.0", + "eslint-plugin-node": "^9.2.0", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-qunit": "^4.0.0", "execa": "^1.0.0", diff --git a/packages/-build-infra/package.json b/packages/-build-infra/package.json index 4d927df3f1d..88ef72a2b77 100644 --- a/packages/-build-infra/package.json +++ b/packages/-build-infra/package.json @@ -14,6 +14,7 @@ "test:node": "mocha" }, "dependencies": { + "@babel/plugin-transform-block-scoping": "^7.5.5", "@ember-data/canary-features": "3.14.0-alpha.2", "babel-plugin-debug-macros": "^0.3.3", "babel-plugin-feature-flags": "^0.3.1", diff --git a/packages/-ember-data/package.json b/packages/-ember-data/package.json index a8fc805bda2..7340f58bc16 100644 --- a/packages/-ember-data/package.json +++ b/packages/-ember-data/package.json @@ -40,7 +40,7 @@ "@types/ember-qunit": "^3.4.6", "@types/ember-test-helpers": "~1.0.5", "@types/ember-testing-helpers": "~0.0.3", - "@types/ember__debug": "^3.0.3", + "@types/ember__debug": "3.0.4", "@types/ember__test-helpers": "~0.7.8", "@types/qunit": "^2.5.3", "@types/rsvp": "^4.0.3", diff --git a/packages/-ember-data/tests/helpers/deep-copy.js b/packages/-ember-data/tests/helpers/deep-copy.js index 143c31d3dbc..88da4ec0535 100644 --- a/packages/-ember-data/tests/helpers/deep-copy.js +++ b/packages/-ember-data/tests/helpers/deep-copy.js @@ -1,4 +1,3 @@ -/* global WeakMap */ export default function deepCopy(obj) { return _deepCopy(obj, new WeakMap()); } diff --git a/packages/-ember-data/tests/integration/adapter/find-all-test.js b/packages/-ember-data/tests/integration/adapter/find-all-test.js index fc8ef903420..49882ef700f 100644 --- a/packages/-ember-data/tests/integration/adapter/find-all-test.js +++ b/packages/-ember-data/tests/integration/adapter/find-all-test.js @@ -1,6 +1,6 @@ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; -import { reject, resolve, defer, Promise } from 'rsvp'; +import { reject, resolve, defer } from 'rsvp'; import { run } from '@ember/runloop'; import { get } from '@ember/object'; import testInDebug from 'dummy/tests/helpers/test-in-debug'; @@ -195,12 +195,10 @@ module('integration/adapter/find-all - Finding All Records of a Type', function( let persons = store.peekAll('person'); assert.equal(persons.get('length'), 1); - let promise = new Promise(async resolve => { - let persons = await store.findAll('person'); - + let promise = store.findAll('person').then(persons => { assert.equal(persons.get('isUpdating'), false); assert.equal(persons.get('length'), 2); - resolve(); + return persons; }); assert.equal(persons.get('isUpdating'), true); diff --git a/packages/-ember-data/tests/integration/records/delete-record-test.js b/packages/-ember-data/tests/integration/records/delete-record-test.js index f65b9047ee0..697121dfbd8 100644 --- a/packages/-ember-data/tests/integration/records/delete-record-test.js +++ b/packages/-ember-data/tests/integration/records/delete-record-test.js @@ -138,8 +138,6 @@ module('integration/deletedRecord - Deleting Records', function(hooks) { }); test('records can be deleted during record array enumeration', function(assert) { - var adam, dave; - let store = this.owner.lookup('service:store'); let adapter = store.adapterFor('application'); @@ -166,8 +164,8 @@ module('integration/deletedRecord - Deleting Records', function(hooks) { }, ], }); - adam = store.peekRecord('person', 1); - dave = store.peekRecord('person', 2); + let adam = store.peekRecord('person', 1); + let dave = store.peekRecord('person', 2); }); var all = store.peekAll('person'); diff --git a/packages/-ember-data/tests/integration/records/unload-test.js b/packages/-ember-data/tests/integration/records/unload-test.js index 245882e2923..83ae5530f3c 100644 --- a/packages/-ember-data/tests/integration/records/unload-test.js +++ b/packages/-ember-data/tests/integration/records/unload-test.js @@ -194,7 +194,7 @@ module('integration/unload - Unloading Records', function(hooks) { test('can unload all records for a given type', function(assert) { assert.expect(10); - let adam, bob, dudu, car; + let car; run(function() { store.push({ data: [ @@ -214,8 +214,8 @@ module('integration/unload - Unloading Records', function(hooks) { }, ], }); - adam = store.peekRecord('person', 1); - bob = store.peekRecord('person', 2); + let adam = store.peekRecord('person', 1); + let bob = store.peekRecord('person', 2); car = store.push({ data: { @@ -232,7 +232,7 @@ module('integration/unload - Unloading Records', function(hooks) { }, }, }); - dudu = bob = store.peekRecord('car', 1); + bob = store.peekRecord('car', 1); }); assert.equal(store.peekAll('person').get('length'), 2, 'two person records loaded'); @@ -285,7 +285,6 @@ module('integration/unload - Unloading Records', function(hooks) { test('can unload all records', function(assert) { assert.expect(8); - let adam, bob, dudu; run(function() { store.push({ data: [ @@ -305,8 +304,8 @@ module('integration/unload - Unloading Records', function(hooks) { }, ], }); - adam = store.peekRecord('person', 1); - bob = store.peekRecord('person', 2); + let adam = store.peekRecord('person', 1); + let bob = store.peekRecord('person', 2); store.push({ data: { @@ -323,7 +322,7 @@ module('integration/unload - Unloading Records', function(hooks) { }, }, }); - dudu = bob = store.peekRecord('car', 1); + bob = store.peekRecord('car', 1); }); assert.equal(store.peekAll('person').get('length'), 2, 'two person records loaded'); @@ -344,7 +343,6 @@ module('integration/unload - Unloading Records', function(hooks) { test('removes findAllCache after unloading all records', function(assert) { assert.expect(4); - let adam, bob; run(function() { store.push({ data: [ @@ -364,8 +362,8 @@ module('integration/unload - Unloading Records', function(hooks) { }, ], }); - adam = store.peekRecord('person', 1); - bob = store.peekRecord('person', 2); + let adam = store.peekRecord('person', 1); + let bob = store.peekRecord('person', 2); }); assert.equal(store.peekAll('person').get('length'), 2, 'two person records loaded'); @@ -381,7 +379,6 @@ module('integration/unload - Unloading Records', function(hooks) { }); test('unloading all records also updates record array from peekAll()', function(assert) { - let adam, bob; run(function() { store.push({ data: [ @@ -401,8 +398,8 @@ module('integration/unload - Unloading Records', function(hooks) { }, ], }); - adam = store.peekRecord('person', 1); - bob = store.peekRecord('person', 2); + let adam = store.peekRecord('person', 1); + let bob = store.peekRecord('person', 2); }); let all = store.peekAll('person'); diff --git a/packages/-ember-data/tests/integration/relationships/has-many-test.js b/packages/-ember-data/tests/integration/relationships/has-many-test.js index 3ef4ab2bdd9..9af478d1686 100644 --- a/packages/-ember-data/tests/integration/relationships/has-many-test.js +++ b/packages/-ember-data/tests/integration/relationships/has-many-test.js @@ -2575,7 +2575,7 @@ module('integration/relationships/has_many - Has-Many Relationships', function(h let store = this.owner.lookup('service:store'); - let chapter, page, page2; + let chapter, page2; let observe = false; run(() => { @@ -2609,7 +2609,7 @@ module('integration/relationships/has_many - Has-Many Relationships', function(h }, ], }); - page = store.peekRecord('page', 1); + let page = store.peekRecord('page', 1); page2 = store.peekRecord('page', 2); chapter = store.peekRecord('chapter', 1); @@ -2639,7 +2639,7 @@ module('integration/relationships/has_many - Has-Many Relationships', function(h let store = this.owner.lookup('service:store'); - let chapter, page, page2; + let chapter, page2; let observe = false; run(() => { @@ -2673,7 +2673,7 @@ module('integration/relationships/has_many - Has-Many Relationships', function(h }, ], }); - page = store.peekRecord('page', 1); + let page = store.peekRecord('page', 1); page2 = store.peekRecord('page', 2); chapter = store.peekRecord('chapter', 1); diff --git a/packages/-ember-data/tests/integration/relationships/many-to-many-test.js b/packages/-ember-data/tests/integration/relationships/many-to-many-test.js index 61ddd74a3dd..d7e6b07ff1e 100644 --- a/packages/-ember-data/tests/integration/relationships/many-to-many-test.js +++ b/packages/-ember-data/tests/integration/relationships/many-to-many-test.js @@ -573,7 +573,7 @@ module('integration/relationships/many_to_many_test - ManyToMany relationships', let store = this.owner.lookup('service:store'); - let account, ada, byron; + let account; run(() => { account = store.push({ @@ -585,7 +585,7 @@ module('integration/relationships/many_to_many_test - ManyToMany relationships', }, }, }); - ada = store.push({ + let ada = store.push({ data: { id: '1', type: 'user', @@ -604,7 +604,7 @@ module('integration/relationships/many_to_many_test - ManyToMany relationships', }, }, }); - byron = store.push({ + let byron = store.push({ data: { id: '2', type: 'user', diff --git a/yarn.lock b/yarn.lock index 44308c6e404..9e018f538d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1703,7 +1703,7 @@ dependencies: "@types/ember__object" "*" -"@types/ember__debug@*", "@types/ember__debug@3.0.4", "@types/ember__debug@^3.0.3": +"@types/ember__debug@*", "@types/ember__debug@3.0.4": version "3.0.4" resolved "https://registry.npmjs.org/@types/ember__debug/-/ember__debug-3.0.4.tgz#cdf87a580688a0e3053820eff6f390fbb7ba0e80" integrity sha512-jTdLdNGvDn3MhktfskhdxOaDHO09QtQqeh+krI7EDePl2+Xom+KnNeveFeCkzxDkYOa+/R7UNSxW4yN/3YTw3w== @@ -1896,16 +1896,21 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" -acorn-jsx@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e" - integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg== +acorn-jsx@^5.0.2: + version "5.0.2" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.2.tgz#84b68ea44b373c4f8686023a551f61a21b7c4a4f" + integrity sha512-tiNTrP1MP0QrChmD2DdupCr6HWSFeKVw5d/dHTu4Y7rkAkRhU/Dt7dphAfIUyxtHpl/eBVip5uTNSpQJHylpAw== -acorn@^6.0.7, acorn@^6.2.0: +acorn@^6.2.0: version "6.2.1" resolved "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz#3ed8422d6dec09e6121cc7a843ca86a330a86b51" integrity sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== +acorn@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-7.0.0.tgz#26b8d1cd9a9b700350b71c0905546f64d1284e7a" + integrity sha512-PaF/MduxijYYt7unVGRuds1vBC9bFxbNf+VWqhOClfdgy7RlVkQqt610ig1/yxTgsDIfW1cWDel5EBbOy3jdtQ== + after@0.8.2: version "0.8.2" resolved "https://registry.npmjs.org/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" @@ -1940,7 +1945,7 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" -ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1: +ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5: version "6.10.2" resolved "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== @@ -5579,12 +5584,12 @@ eslint-config-prettier@^6.3.0: dependencies: get-stdin "^6.0.0" -eslint-plugin-es@^1.3.1: - version "1.4.0" - resolved "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz#475f65bb20c993fc10e8c8fe77d1d60068072da6" - integrity sha512-XfFmgFdIUDgvaRAlaXUkxrRg5JSADoRC8IkKLc/cISeR3yHVMefFHQZpcyXXEUUPHfy5DwviBcrfqlyqEwlQVw== +eslint-plugin-es@^1.4.1: + version "1.4.1" + resolved "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-1.4.1.tgz#12acae0f4953e76ba444bfd1b2271081ac620998" + integrity sha512-5fa/gR2yR3NxQf+UXkeLeP8FBBl6tSgdrAz1+cF84v1FMM4twGwQoqTnn+QxFLcPOrF4pdKEJKDB/q9GoyJrCA== dependencies: - eslint-utils "^1.3.0" + eslint-utils "^1.4.2" regexpp "^2.0.1" eslint-plugin-mocha@^6.1.0: @@ -5594,17 +5599,17 @@ eslint-plugin-mocha@^6.1.0: dependencies: ramda "^0.26.1" -eslint-plugin-node@^8.0.0: - version "8.0.1" - resolved "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-8.0.1.tgz#55ae3560022863d141fa7a11799532340a685964" - integrity sha512-ZjOjbjEi6jd82rIpFSgagv4CHWzG9xsQAVp1ZPlhRnnYxcTgENUVBvhYmkQ7GvT1QFijUSo69RaiOJKhMu6i8w== +eslint-plugin-node@^9.2.0: + version "9.2.0" + resolved "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-9.2.0.tgz#b1911f111002d366c5954a6d96d3cd5bf2a3036a" + integrity sha512-2abNmzAH/JpxI4gEOwd6K8wZIodK3BmHbTxz4s79OIYwwIt2gkpEXlAouJXu4H1c9ySTnRso0tsuthSOZbUMlA== dependencies: - eslint-plugin-es "^1.3.1" - eslint-utils "^1.3.1" - ignore "^5.0.2" + eslint-plugin-es "^1.4.1" + eslint-utils "^1.4.2" + ignore "^5.1.1" minimatch "^3.0.4" - resolve "^1.8.1" - semver "^5.5.0" + resolve "^1.10.1" + semver "^6.1.0" eslint-plugin-prettier@^3.1.0: version "3.1.0" @@ -5618,81 +5623,82 @@ eslint-plugin-qunit@^4.0.0: resolved "https://registry.npmjs.org/eslint-plugin-qunit/-/eslint-plugin-qunit-4.0.0.tgz#5945ba3434bfe8879bea195192e906701051cf01" integrity sha512-+0i2xcYryUoLawi47Lp0iJKzkP931G5GXwIOq1KBKQc2pknV1VPjfE6b4mI2mR2RnL7WRoS30YjwC9SjQgJDXQ== -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== +eslint-scope@^5.0.0: + version "5.0.0" + 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.3.0, eslint-utils@^1.3.1: +eslint-utils@^1.4.2: version "1.4.2" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab" integrity sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q== dependencies: eslint-visitor-keys "^1.0.0" -eslint-visitor-keys@^1.0.0: +eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== -eslint@^5.15.1: - version "5.16.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea" - integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== +eslint@^6.2.2: + version "6.3.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-6.3.0.tgz#1f1a902f67bfd4c354e7288b81e40654d927eb6a" + integrity sha512-ZvZTKaqDue+N8Y9g0kp6UPZtS4FSY3qARxBs7p4f0H0iof381XHduqVerFWtK8DPtKmemqbqCFENWSQgPR/Gow== dependencies: "@babel/code-frame" "^7.0.0" - ajv "^6.9.1" + ajv "^6.10.0" chalk "^2.1.0" cross-spawn "^6.0.5" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^4.0.3" - eslint-utils "^1.3.1" - eslint-visitor-keys "^1.0.0" - espree "^5.0.1" + eslint-scope "^5.0.0" + eslint-utils "^1.4.2" + eslint-visitor-keys "^1.1.0" + espree "^6.1.1" esquery "^1.0.1" esutils "^2.0.2" file-entry-cache "^5.0.1" functional-red-black-tree "^1.0.1" - glob "^7.1.2" + glob-parent "^5.0.0" globals "^11.7.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^6.2.2" - js-yaml "^3.13.0" + inquirer "^6.4.1" + 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.11" + lodash "^4.17.14" minimatch "^3.0.4" mkdirp "^0.5.1" natural-compare "^1.4.0" optionator "^0.8.2" - path-is-inside "^1.0.2" progress "^2.0.0" regexpp "^2.0.1" - semver "^5.5.1" - strip-ansi "^4.0.0" - strip-json-comments "^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" esm@^3.2.25, esm@^3.2.4: version "3.2.25" resolved "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== -espree@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" - integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== +espree@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz#7f80e5f7257fc47db450022d723e356daeb1e5de" + integrity sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ== dependencies: - acorn "^6.0.7" - acorn-jsx "^5.0.0" - eslint-visitor-keys "^1.0.0" + acorn "^7.0.0" + acorn-jsx "^5.0.2" + eslint-visitor-keys "^1.1.0" esprima@^4.0.0, esprima@~4.0.0: version "4.0.1" @@ -7069,10 +7075,10 @@ ignore@^4.0.3, ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2: - version "5.1.2" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.2.tgz#e28e584d43ad7e92f96995019cc43b9e1ac49558" - integrity sha512-vdqWBp7MyzdmHkkRWV5nY+PfGRbYbahfuvsBCh277tq+w9zyNi7h5CYJCK0kmzti9kU+O/cB7sE8HvKv6aXAKQ== +ignore@^5.1.1: + version "5.1.4" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" + integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== import-fresh@^2.0.0: version "2.0.0" @@ -7198,7 +7204,7 @@ inquirer@^3.3.0: strip-ansi "^4.0.0" through "^2.3.6" -inquirer@^6, inquirer@^6.2.0, inquirer@^6.2.2: +inquirer@^6, inquirer@^6.2.0: version "6.5.0" resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== @@ -7217,6 +7223,25 @@ inquirer@^6, inquirer@^6.2.0, inquirer@^6.2.2: strip-ansi "^5.1.0" through "^2.3.6" +inquirer@^6.4.1: + version "6.5.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== + dependencies: + ansi-escapes "^3.2.0" + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^2.0.0" + lodash "^4.17.12" + mute-stream "0.0.7" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^2.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + into-stream@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" @@ -7602,7 +7627,7 @@ js-tokens@^3.0.2: resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@3.13.1, js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.2.5, js-yaml@^3.2.7: +js-yaml@3.13.1, js-yaml@^3.13.1, js-yaml@^3.2.5, js-yaml@^3.2.7: version "3.13.1" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -9259,11 +9284,6 @@ path-is-absolute@1.0.1, path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" @@ -10261,7 +10281,7 @@ sane@^4.0.0, sane@^4.1.0: resolved "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== -semver@^6.0.0, semver@^6.1.1, semver@^6.2.0: +semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0: version "6.3.0" resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== @@ -10835,11 +10855,16 @@ strip-indent@^2.0.0: resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= -strip-json-comments@2.0.1, strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: +strip-json-comments@2.0.1, strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/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://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" + integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== + strong-log-transformer@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" @@ -11489,6 +11514,11 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== +v8-compile-cache@^2.0.3: + version "2.1.0" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" + integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: version "3.0.4" resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"