From 9c2e68f30a72834ee8336e98d2b5fdf870d50aa8 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:08:13 +1000
Subject: [PATCH 01/46] refactor: use jest
---
docs/api/wrapper-array/setChecked.md | 8 +-
docs/api/wrapper-array/setValue.md | 8 +-
docs/ja/api/wrapper-array/setChecked.md | 8 +-
docs/ja/api/wrapper-array/setValue.md | 8 +-
docs/ru/api/wrapper-array/setChecked.md | 8 +-
docs/ru/api/wrapper-array/setValue.md | 8 +-
docs/zh/api/wrapper-array/setChecked.md | 8 +-
docs/zh/api/wrapper-array/setValue.md | 8 +-
jest.config.js | 9 +
package.json | 5 +-
test/setup/mocha.setup.js | 14 -
test/specs/components/RouterLink.spec.js | 18 +-
test/specs/config.spec.js | 16 +-
test/specs/create-dom-event.spec.js | 4 +-
test/specs/create-local-vue.spec.js | 18 +-
test/specs/create-wrapper.spec.js | 6 +-
test/specs/error-wrapper.spec.js | 2 +-
test/specs/mount.spec.js | 50 +-
test/specs/mounting-options/attachTo.spec.js | 14 +-
.../mounting-options/attachToDocument.spec.js | 2 +-
test/specs/mounting-options/attrs.spec.js | 4 +-
test/specs/mounting-options/listeners.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 4 +-
test/specs/mounting-options/mocks.spec.js | 4 +-
test/specs/mounting-options/provide.spec.js | 14 +-
.../mounting-options/scopedSlots.spec.js | 42 +-
test/specs/mounting-options/slots.spec.js | 60 +-
test/specs/mounting-options/stubs.spec.js | 14 +-
test/specs/mounting-options/watch.spec.js | 2 +-
test/specs/render.spec.js | 4 +-
test/specs/shallow-mount.spec.js | 80 +-
test/specs/vue-wrapper.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 52 +-
test/specs/wrapper-array/contains.spec.js | 4 +-
test/specs/wrapper-array/is.spec.js | 8 +-
test/specs/wrapper-array/isEmpty.spec.js | 4 +-
test/specs/wrapper-array/isVisible.spec.js | 6 +-
.../specs/wrapper-array/isVueInstance.spec.js | 4 +-
test/specs/wrapper-array/setChecked.spec.js | 12 +-
test/specs/wrapper-array/setData.spec.js | 4 +-
test/specs/wrapper-array/setProps.spec.js | 8 +-
test/specs/wrapper-array/setValue.spec.js | 12 +-
test/specs/wrapper-array/trigger.spec.js | 6 +-
test/specs/wrapper.spec.js | 2 +-
test/specs/wrapper/classes.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 26 +-
test/specs/wrapper/destroy.spec.js | 8 +-
test/specs/wrapper/emitted.spec.js | 12 +-
test/specs/wrapper/exists.spec.js | 6 +-
test/specs/wrapper/find.spec.js | 60 +-
test/specs/wrapper/findAll.spec.js | 78 +-
test/specs/wrapper/html.spec.js | 8 +-
test/specs/wrapper/is.spec.js | 26 +-
test/specs/wrapper/isEmpty.spec.js | 16 +-
test/specs/wrapper/isVisible.spec.js | 38 +-
test/specs/wrapper/isVueInstance.spec.js | 4 +-
test/specs/wrapper/name.spec.js | 6 +-
test/specs/wrapper/props.spec.js | 2 +-
test/specs/wrapper/setChecked.spec.js | 10 +-
test/specs/wrapper/setData.spec.js | 44 +-
test/specs/wrapper/setMethods.spec.js | 10 +-
test/specs/wrapper/setProps.spec.js | 40 +-
test/specs/wrapper/setSelected.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 6 +-
test/specs/wrapper/text.spec.js | 4 +-
test/specs/wrapper/trigger.spec.js | 20 +-
yarn.lock | 1843 ++++++++++++++++-
67 files changed, 2299 insertions(+), 548 deletions(-)
create mode 100644 jest.config.js
diff --git a/docs/api/wrapper-array/setChecked.md b/docs/api/wrapper-array/setChecked.md
index d3dc1ff6f..e59784c89 100644
--- a/docs/api/wrapper-array/setChecked.md
+++ b/docs/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/api/wrapper-array/setValue.md b/docs/api/wrapper-array/setValue.md
index a584c6a3f..1a50d0f38 100644
--- a/docs/api/wrapper-array/setValue.md
+++ b/docs/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ja/api/wrapper-array/setChecked.md b/docs/ja/api/wrapper-array/setChecked.md
index ee936441a..9d2783ef8 100644
--- a/docs/ja/api/wrapper-array/setChecked.md
+++ b/docs/ja/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ja/api/wrapper-array/setValue.md b/docs/ja/api/wrapper-array/setValue.md
index 2c8c5f918..80bb6ddaa 100644
--- a/docs/ja/api/wrapper-array/setValue.md
+++ b/docs/ja/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ru/api/wrapper-array/setChecked.md b/docs/ru/api/wrapper-array/setChecked.md
index bb5f389b7..ead59d2e6 100644
--- a/docs/ru/api/wrapper-array/setChecked.md
+++ b/docs/ru/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/ru/api/wrapper-array/setValue.md b/docs/ru/api/wrapper-array/setValue.md
index 53396c0dd..33d2cfb24 100644
--- a/docs/ru/api/wrapper-array/setValue.md
+++ b/docs/ru/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/zh/api/wrapper-array/setChecked.md b/docs/zh/api/wrapper-array/setChecked.md
index d6cbfdaff..eb2a64c85 100644
--- a/docs/zh/api/wrapper-array/setChecked.md
+++ b/docs/zh/api/wrapper-array/setChecked.md
@@ -31,9 +31,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal(false)
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual(false)
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
-expect(wrapper.vm.t1).to.equal(true)
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual(true)
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/docs/zh/api/wrapper-array/setValue.md b/docs/zh/api/wrapper-array/setValue.md
index 5d8007bbf..f6b1a2430 100644
--- a/docs/zh/api/wrapper-array/setValue.md
+++ b/docs/zh/api/wrapper-array/setValue.md
@@ -30,9 +30,9 @@ const wrapper = mount({
})
const wrapperArray = wrapper.findAll('.foo')
-expect(wrapper.vm.t1).to.equal('')
-expect(wrapper.vm.t2).to.equal('')
+expect(wrapper.vm.t1).toEqual('')
+expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
-expect(wrapper.vm.t1).to.equal('foo')
-expect(wrapper.vm.t2).to.equal('foo')
+expect(wrapper.vm.t1).toEqual('foo')
+expect(wrapper.vm.t2).toEqual('foo')
```
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 000000000..bd8c60972
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,9 @@
+module.exports = {
+ moduleNameMapper: {
+ '^~(.*)$': '/test/$1'
+ },
+ transform: {
+ '.*\\.(vue)$': 'vue-jest',
+ '^.+\\.js$': '/node_modules/babel-jest'
+ }
+}
diff --git a/package.json b/package.json
index 7e0e6dfd6..e0f2d2be1 100644
--- a/package.json
+++ b/package.json
@@ -95,13 +95,16 @@
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vue/composition-api": "^0.6.4",
+ "babel-jest": "^26.0.1",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.1.0",
+ "jest": "^26.0.1",
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
"rollup-plugin-delete": "^1.2.0",
- "rollup-plugin-replace": "^2.2.0"
+ "rollup-plugin-replace": "^2.2.0",
+ "vue-jest": "^4.0.0-beta.3"
},
"config": {
"commitizen": {
diff --git a/test/setup/mocha.setup.js b/test/setup/mocha.setup.js
index aea504407..e69de29bb 100644
--- a/test/setup/mocha.setup.js
+++ b/test/setup/mocha.setup.js
@@ -1,14 +0,0 @@
-require('@babel/polyfill')
-
-if (process.env.TEST_ENV !== 'node') {
- require('jsdom-global')()
-}
-
-const chai = require('chai')
-const sinon = require('sinon')
-const sinonChai = require('sinon-chai')
-
-chai.use(sinonChai)
-
-global.expect = chai.expect
-global.sinon = sinon
diff --git a/test/specs/components/RouterLink.spec.js b/test/specs/components/RouterLink.spec.js
index 47f8e4373..0592b7591 100644
--- a/test/specs/components/RouterLink.spec.js
+++ b/test/specs/components/RouterLink.spec.js
@@ -26,14 +26,14 @@ describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
})
const routerLink = wrapper.find(RouterLinkStub)
- expect(routerLink.props().to).to.equal('to1')
- expect(routerLink.props().tag).to.equal('a')
- expect(routerLink.props().exact).to.equal(true)
- expect(routerLink.props().append).to.equal(true)
- expect(routerLink.props().replace).to.equal(true)
- expect(routerLink.props().activeClass).to.equal('activeClass1')
- expect(routerLink.props().exactActiveClass).to.equal('exactActiveClass1')
- expect(routerLink.props().event).to.equal('event1')
+ expect(routerLink.props().to).toEqual('to1')
+ expect(routerLink.props().tag).toEqual('a')
+ expect(routerLink.props().exact).toEqual(true)
+ expect(routerLink.props().append).toEqual(true)
+ expect(routerLink.props().replace).toEqual(true)
+ expect(routerLink.props().activeClass).toEqual('activeClass1')
+ expect(routerLink.props().exactActiveClass).toEqual('exactActiveClass1')
+ expect(routerLink.props().event).toEqual('event1')
})
it('renders slot content', () => {
@@ -49,6 +49,6 @@ describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
RouterLink: RouterLinkStub
}
})
- expect(wrapper.find(RouterLinkStub).text()).to.equal('some text')
+ expect(wrapper.find(RouterLinkStub).text()).toEqual('some text')
})
})
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index 4cdf3281a..7dd1c8965 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -40,8 +40,8 @@ describeWithShallowAndMount('config', mountingMethod => {
t
})
- expect(wrapper.vm.$t).to.equal('mock value')
- expect(wrapper.text()).to.equal('mock value')
+ expect(wrapper.vm.$t).toEqual('mock value')
+ expect(wrapper.text()).toEqual('mock value')
localVue.prototype.$t = undefined
})
@@ -57,8 +57,8 @@ describeWithShallowAndMount('config', mountingMethod => {
const wrapper = mountingMethod(testComponent)
- expect(wrapper.vm.val()).to.equal('method')
- expect(wrapper.text()).to.equal('method')
+ expect(wrapper.vm.val()).toEqual('method')
+ expect(wrapper.text()).toEqual('method')
})
it("doesn't throw Vue warning when silent is set to true", () => {
@@ -70,7 +70,7 @@ describeWithShallowAndMount('config', mountingMethod => {
},
localVue
})
- expect(wrapper.vm.prop1).to.equal('example')
+ expect(wrapper.vm.prop1).toEqual('example')
wrapper.setProps({
prop1: 'new value'
})
@@ -86,7 +86,7 @@ describeWithShallowAndMount('config', mountingMethod => {
},
localVue
})
- expect(wrapper.vm.prop1).to.equal('example')
+ expect(wrapper.vm.prop1).toEqual('example')
wrapper.setProps({
prop1: 'new value'
})
@@ -95,10 +95,10 @@ describeWithShallowAndMount('config', mountingMethod => {
it('stubs out transitions by default', async () => {
const wrapper = mountingMethod(ComponentWithTransitions)
- expect(wrapper.find('[data-testid="expanded"]').exists()).to.equal(true)
+ expect(wrapper.find('[data-testid="expanded"]').exists()).toEqual(true)
wrapper.setData({ expanded: true })
await wrapper.vm.$nextTick()
- expect(wrapper.find('[data-testid="expanded"]').exists()).to.equal(false)
+ expect(wrapper.find('[data-testid="expanded"]').exists()).toEqual(false)
})
it('allows control deprecation warnings visibility for name method', () => {
diff --git a/test/specs/create-dom-event.spec.js b/test/specs/create-dom-event.spec.js
index 263620425..ee47e243a 100644
--- a/test/specs/create-dom-event.spec.js
+++ b/test/specs/create-dom-event.spec.js
@@ -5,7 +5,7 @@ import { itDoNotRunIf } from 'conditional-specs'
describe('createDOMEvent', () => {
itDoNotRunIf(isRunningPhantomJS, 'returns cancelable event', () => {
const event = createDOMEvent('click', {})
- expect(event.bubbles).to.equal(true)
- expect(event.cancelable).to.equal(true)
+ expect(event.bubbles).toEqual(true)
+ expect(event.cancelable).toEqual(true)
})
})
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 45c82d4f5..526f8ac69 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(Component, { localVue, store })
expect(wrapper.vm.$store).to.be.an('object')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$store).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
it('Vuex should work properly with local Vue', async () => {
@@ -46,10 +46,10 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
})
const wrapper = mountingMethod(ComponentWithVuex, { localVue, store })
expect(wrapper.vm.$store).to.be.an('object')
- expect(wrapper.text()).to.equal('0 1')
+ expect(wrapper.text()).toEqual('0 1')
wrapper.trigger('click')
await Vue.nextTick()
- expect(wrapper.text()).to.equal('1 1')
+ expect(wrapper.text()).toEqual('1 1')
})
it('installs Router without polluting global Vue', () => {
@@ -62,7 +62,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(Component, { localVue, router })
expect(wrapper.vm.$route).to.be.an('object')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$route).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$route).toEqual('undefined')
})
itDoNotRunIf(
@@ -97,7 +97,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
expect(wrapper.text()).to.contain('foo')
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$route).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$route).toEqual('undefined')
}
)
@@ -106,7 +106,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const pluginOptions = { foo: 'bar' }
const plugin = {
install: function(_Vue, options) {
- expect(options).to.equal(pluginOptions)
+ expect(options).toEqual(pluginOptions)
}
}
localVue.use(plugin, pluginOptions)
@@ -118,7 +118,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
class Plugin {}
Plugin.install = function(_Vue) {
if (_Vue._installedPlugins) {
- expect(_Vue._installedPlugins.indexOf(Plugin)).to.equal(-1)
+ expect(_Vue._installedPlugins.indexOf(Plugin)).toEqual(-1)
}
installCount++
}
@@ -128,8 +128,8 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
localVue.use(Plugin)
if (localVue._installedPlugins) {
- expect(localVue._installedPlugins.indexOf(Plugin)).to.equal(0)
+ expect(localVue._installedPlugins.indexOf(Plugin)).toEqual(0)
}
- expect(installCount).to.equal(2)
+ expect(installCount).toEqual(2)
})
})
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index b2f1e35ae..0ee6d5841 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -8,14 +8,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const Constructor = Vue.extend(Component)
const vm = new Constructor().$mount()
const wrapper = createWrapper(vm)
- expect(wrapper.is(Component)).to.equal(true)
+ expect(wrapper.is(Component)).toEqual(true)
expect(wrapper).instanceof(Wrapper)
expect(wrapper.findAll('div')).instanceof(WrapperArray)
})
it('handles HTMLElement', () => {
const wrapper = createWrapper(document.createElement('div'))
- expect(wrapper.is('div')).to.equal(true)
+ expect(wrapper.is('div')).toEqual(true)
})
it('handles options', () => {
@@ -24,6 +24,6 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = createWrapper(vm, {
attachToDocument: true
})
- expect(wrapper.options.attachToDocument).to.equal(true)
+ expect(wrapper.options.attachToDocument).toEqual(true)
})
})
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 3357194c9..3f5723280 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -43,7 +43,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const message = `[vue-test-utils]: find did not return ${selector}, cannot call ${method}() on empty Wrapper`
const wrapper = mountingMethod(TestComponent)
const error = wrapper.find(selector)
- expect(error.constructor.name).to.equal('ErrorWrapper')
+ expect(error.constructor.name).toEqual('ErrorWrapper')
expect(() => error[method]())
.to.throw()
.with.property('message', message)
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index b7b0dc738..fff5fece2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -39,7 +39,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const wrapper = mount(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(2)
+ expect(wrapper.findAll('p').length).toEqual(2)
})
it('returns new VueWrapper with correct props data', () => {
@@ -47,9 +47,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount(ComponentWithProps, { propsData: { prop1 } })
expect(wrapper.vm).to.be.an('object')
if (wrapper.vm.$props) {
- expect(wrapper.vm.$props.prop1).to.equal(prop1)
+ expect(wrapper.vm.$props.prop1).toEqual(prop1)
} else {
- expect(wrapper.vm.$options.propsData.prop1).to.equal(prop1)
+ expect(wrapper.vm.$options.propsData.prop1).toEqual(prop1)
}
})
@@ -76,7 +76,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
extends: BaseComponent
}
const wrapper = mount(TestComponent)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
it('handles nested uncompiled extended Vue component', () => {
@@ -96,7 +96,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
extends: TestComponentC
}
const wrapper = mount(TestComponentD)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
itSkipIf(
@@ -123,7 +123,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
} catch (err) {
} finally {
delete Vue.options.components['child-component']
- expect(wrapper.find(ChildComponent).exists()).to.equal(true)
+ expect(wrapper.find(ChildComponent).exists()).toEqual(true)
}
}
)
@@ -131,11 +131,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('does not use cached component', () => {
sandbox.stub(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).to.equal(1)
+ expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
ComponentWithMixin.methods.someMethod.restore()
sandbox.stub(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).to.equal(1)
+ expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
})
it('throws an error if window is undefined', () => {
@@ -159,7 +159,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: `foo
`
})
expect(wrapper.vm).to.be.an('object')
- expect(wrapper.html()).to.equal(`foo
`)
+ expect(wrapper.html()).toEqual(`foo
`)
})
itDoNotRunIf(
@@ -175,7 +175,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: '#foo'
})
expect(wrapper.vm).to.be.an('object')
- expect(wrapper.html()).to.equal(`foo
`)
+ expect(wrapper.html()).toEqual(`foo
`)
window.body.removeChild(template)
}
@@ -231,7 +231,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
template: '
'
})
const wrapper = mount(TestComponent)
- expect(wrapper.html()).to.equal(`
`)
+ expect(wrapper.html()).toEqual(`
`)
})
itDoNotRunIf(
@@ -246,7 +246,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const wrapper = mount(TestComponent)
setTimeout(() => {
- expect(wrapper.find(Component).exists()).to.equal(true)
+ expect(wrapper.find(Component).exists()).toEqual(true)
done()
})
}
@@ -281,19 +281,19 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
)
if (injectSupported) {
- expect(typeof wrapper.vm.$options.provide).to.equal(
+ expect(typeof wrapper.vm.$options.provide).toEqual(
vueVersion < 2.5 ? 'function' : 'object'
)
}
- expect(wrapper.vm.$options.attachToDocument).to.equal(undefined)
- expect(wrapper.vm.$options.mocks).to.equal(undefined)
- expect(wrapper.vm.$options.slots).to.equal(undefined)
- expect(wrapper.vm.$options.localVue).to.equal(undefined)
- expect(wrapper.vm.$options.stubs).to.equal(undefined)
- expect(wrapper.vm.$options.context).to.equal(undefined)
- expect(wrapper.vm.$options.attrs).to.equal(undefined)
- expect(wrapper.vm.$options.listeners).to.equal(undefined)
+ expect(wrapper.vm.$options.attachToDocument).toEqual(undefined)
+ expect(wrapper.vm.$options.mocks).toEqual(undefined)
+ expect(wrapper.vm.$options.slots).toEqual(undefined)
+ expect(wrapper.vm.$options.localVue).toEqual(undefined)
+ expect(wrapper.vm.$options.stubs).toEqual(undefined)
+ expect(wrapper.vm.$options.context).toEqual(undefined)
+ expect(wrapper.vm.$options.attrs).toEqual(undefined)
+ expect(wrapper.vm.$options.listeners).toEqual(undefined)
wrapper.destroy()
})
@@ -362,7 +362,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
expect(wrapper.vm.$attrs).to.eql({ height: '50px', extra: 'attr' })
}
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'\n' +
'
prop1
\n' +
'
\n' +
@@ -394,7 +394,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}
const wrapper = mount(Component, options)
- expect(wrapper.text()).to.equal('aBC')
+ expect(wrapper.text()).toEqual('aBC')
})
it('handles inline components', () => {
@@ -411,7 +411,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount(TestComponent, {
localVue
})
- expect(wrapper.findAll(ChildComponent).length).to.equal(1)
+ expect(wrapper.findAll(ChildComponent).length).toEqual(1)
})
it('handles nested components with extends', () => {
@@ -449,7 +449,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}
const wrapper = mount(Comp, { localVue })
- expect(wrapper.html()).to.equal('
composition api
')
+ expect(wrapper.html()).toEqual('
composition api
')
})
itDoNotRunIf.skip(
diff --git a/test/specs/mounting-options/attachTo.spec.js b/test/specs/mounting-options/attachTo.spec.js
index ff519812a..1e1e20e5c 100644
--- a/test/specs/mounting-options/attachTo.spec.js
+++ b/test/specs/mounting-options/attachTo.spec.js
@@ -27,8 +27,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(root).to.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
@@ -47,8 +47,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(root).to.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
@@ -61,7 +61,7 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
div.setAttribute('data-server-rendered', 'true')
div.innerHTML = innerHTML
document.body.appendChild(div)
- expect(div.outerHTML).to.equal(ssrHTML)
+ expect(div.outerHTML).toEqual(ssrHTML)
const wrapper = mountingMethod(TestComponent, {
attachTo: '#attach-to'
})
@@ -69,8 +69,8 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
const rendered = document.getElementById('attach-to')
expect(wrapper.vm.$el.parentNode).to.not.be.null
expect(rendered).to.not.be.null
- expect(rendered.outerHTML).to.equal(outerHTML)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(rendered.outerHTML).toEqual(outerHTML)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
expect(document.getElementById('attach-to')).to.be.null
})
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 97083e0cf..6b4175b64 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
attachToDocument: true
})
expect(document.querySelector('.attached')).to.not.equal(null)
- expect(wrapper.options.attachedToDocument).to.equal(true)
+ expect(wrapper.options.attachedToDocument).toEqual(true)
})
})
diff --git a/test/specs/mounting-options/attrs.spec.js b/test/specs/mounting-options/attrs.spec.js
index c0282f82a..9ad08ab6c 100644
--- a/test/specs/mounting-options/attrs.spec.js
+++ b/test/specs/mounting-options/attrs.spec.js
@@ -20,8 +20,8 @@ describeWithShallowAndMount('options.attrs', mountingMethod => {
anAttr: 'an attribute'
}
})
- expect(wrapper.vm.$attrs.anAttr).to.equal('an attribute')
- expect(wrapper.vm.$attrs.anAttr).to.equal('an attribute')
+ expect(wrapper.vm.$attrs.anAttr).toEqual('an attribute')
+ expect(wrapper.vm.$attrs.anAttr).toEqual('an attribute')
}
)
diff --git a/test/specs/mounting-options/listeners.spec.js b/test/specs/mounting-options/listeners.spec.js
index d9aabc859..298dd61c1 100644
--- a/test/specs/mounting-options/listeners.spec.js
+++ b/test/specs/mounting-options/listeners.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('options.listeners', mountingMethod => {
}
)
- expect(wrapper.vm.$listeners.aListener.fns).to.equal(aListener)
+ expect(wrapper.vm.$listeners.aListener.fns).toEqual(aListener)
}
)
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 2ebd112b0..8e5b92490 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -137,7 +137,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
localVue
}
)
- expect(localVue.options.created).to.equal(undefined)
+ expect(localVue.options.created).toEqual(undefined)
})
it('handles merging Vue instances', () => {
@@ -197,7 +197,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
if (mountingMethod.name === 'renderToString') {
return
}
- expect(wrapper.findAll(ChildComponent).length).to.equal(1)
+ expect(wrapper.findAll(ChildComponent).length).toEqual(1)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index d6b86db2e..8964278e4 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -138,9 +138,9 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$store
}
})
- expect(wrapper.vm.$store).to.equal($store)
+ expect(wrapper.vm.$store).toEqual($store)
const freshWrapper = mountingMethod(Component)
- expect(typeof freshWrapper.vm.$store).to.equal('undefined')
+ expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
it('logs that a property cannot be overwritten if there are problems writing', () => {
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index 904958611..de9bca524 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -54,8 +54,8 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from parent')
- expect(wrapper.vm.foo2).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from parent')
+ expect(wrapper.vm.foo2).toEqual('from config')
}
)
@@ -81,8 +81,8 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from parent')
- expect(wrapper.vm.foo2).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from parent')
+ expect(wrapper.vm.foo2).toEqual('from config')
}
)
@@ -108,7 +108,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
})
- expect(wrapper.vm.foo).to.equal('from config')
+ expect(wrapper.vm.foo).toEqual('from config')
}
)
@@ -137,7 +137,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
provide: { fromMount: '_' }
})
- expect(wrapper.vm.setInBeforeCreate).to.equal('created')
+ expect(wrapper.vm.setInBeforeCreate).toEqual('created')
}
)
@@ -154,7 +154,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
localVue
})
- expect(wrapper.vm.setInSetup).to.equal('created')
+ expect(wrapper.vm.setInSetup).toEqual('created')
}
)
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 2bd3fc2a3..d457801ee 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(vueVersion < 2.1, 'handles render functions', () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(
@@ -70,7 +70,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(destructuringWrapper.html()).to.equal('
1,foo
')
+ expect(destructuringWrapper.html()).toEqual('
1,foo
')
const notDestructuringWrapper = mountingMethod(
{
@@ -87,7 +87,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(notDestructuringWrapper.html()).to.equal('
1,foo
')
+ expect(notDestructuringWrapper.html()).toEqual('
1,foo
')
}
)
@@ -112,7 +112,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(destructuringWrapper.html()).to.equal('
1,foo
')
+ expect(destructuringWrapper.html()).toEqual('
1,foo
')
const notDestructuringWrapper = mountingMethod(
{
@@ -130,7 +130,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(notDestructuringWrapper.html()).to.equal('
1,foo
')
+ expect(notDestructuringWrapper.html()).toEqual('
1,foo
')
}
)
@@ -145,54 +145,54 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
noProps: '
baz
'
}
})
- expect(wrapper.find('#destructuring').html()).to.equal(
+ expect(wrapper.find('#destructuring').html()).toEqual(
'
\n' +
'
0,1
\n' +
'
1,2
\n' +
'
2,3
\n' +
'
'
)
- expect(wrapper.find('#slots').html()).to.equal(
+ expect(wrapper.find('#slots').html()).toEqual(
'
123
'
)
- expect(wrapper.find('#list').html()).to.equal(
+ expect(wrapper.find('#list').html()).toEqual(
'
\n' +
'
0,a1
\n' +
'
1,a2
\n' +
'
2,a3
\n' +
'
'
)
- expect(wrapper.find('#single').html()).to.equal(
+ expect(wrapper.find('#single').html()).toEqual(
'
'
)
- expect(wrapper.find('#noProps').html()).to.equal(
+ expect(wrapper.find('#noProps').html()).toEqual(
'
'
)
wrapper.vm.items = [4, 5, 6]
wrapper.vm.foo = [{ text: 'b1' }, { text: 'b2' }, { text: 'b3' }]
wrapper.vm.bar = 'ABC'
await Vue.nextTick()
- expect(wrapper.find('#destructuring').html()).to.equal(
+ expect(wrapper.find('#destructuring').html()).toEqual(
'
\n' +
'
0,4
\n' +
'
1,5
\n' +
'
2,6
\n' +
'
'
)
- expect(wrapper.find('#slots').html()).to.equal(
+ expect(wrapper.find('#slots').html()).toEqual(
'
123
'
)
- expect(wrapper.find('#list').html()).to.equal(
+ expect(wrapper.find('#list').html()).toEqual(
'
\n' +
'
0,b1
\n' +
'
1,b2
\n' +
'
2,b3
\n' +
'
'
)
- expect(wrapper.find('#single').html()).to.equal(
+ expect(wrapper.find('#single').html()).toEqual(
'
'
)
- expect(wrapper.find('#noProps').html()).to.equal(
+ expect(wrapper.find('#noProps').html()).toEqual(
'
'
)
})
@@ -213,7 +213,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(vueVersion < 2.5, 'handles no slot-scope', () => {
@@ -230,7 +230,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
}
)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
itDoNotRunIf(
@@ -303,7 +303,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
'
{{ prop.val }}
'
}
})
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
}
)
@@ -327,7 +327,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
named: '
{{ prop.val }}
'
}
})
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
}
)
@@ -375,7 +375,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
)
wrapper.find('input').setValue('abc')
- expect(wrapper.find('input').element.value).to.equal('abc')
+ expect(wrapper.find('input').element.value).toEqual('abc')
}
)
})
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 1fc2ddd9d..f1e5117a1 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
itDoNotRunIf(
@@ -33,7 +33,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
},
localVue
})
- expect(wrapper.contains('time')).to.equal(true)
+ expect(wrapper.contains('time')).toEqual(true)
}
)
@@ -41,7 +41,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed compiled options in slot object', () => {
@@ -49,7 +49,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [compiled] }
})
- expect(wrapper.contains('#div')).to.equal(true)
+ expect(wrapper.contains('#div')).toEqual(true)
})
itDoNotRunIf(
@@ -59,7 +59,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -70,7 +70,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentAsAClass, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -84,7 +84,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
window = windowSave // eslint-disable-line no-native-reassign
}
)
@@ -127,7 +127,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: ['
'] }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -168,7 +168,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
footer: [Component]
}
})
- expect(wrapper.findAll(Component).length).to.equal(2)
+ expect(wrapper.findAll(Component).length).toEqual(2)
})
it('mounts component with default and named slots', () => {
@@ -214,8 +214,8 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
header: Component
}
})
- expect(wrapper.findAll(Component).length).to.equal(1)
- expect(Array.isArray(wrapper.vm.$slots.header)).to.equal(true)
+ expect(wrapper.findAll(Component).length).toEqual(1)
+ expect(Array.isArray(wrapper.vm.$slots.header)).toEqual(true)
})
it('mounts functional component with default slot if passed component in slot object', () => {
@@ -227,7 +227,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed component in slot object', () => {
@@ -239,7 +239,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with default slot if passed object with template prop in slot object', () => {
@@ -252,7 +252,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: [compiled] }
})
- expect(wrapper.contains('#div')).to.equal(true)
+ expect(wrapper.contains('#div')).toEqual(true)
})
itDoNotRunIf(
@@ -267,7 +267,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { default: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
}
)
@@ -277,7 +277,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
default: ['
']
}
})
- expect(wrapper.findAll('time').length).to.equal(2)
+ expect(wrapper.findAll('time').length).toEqual(2)
})
itDoNotRunIf(
@@ -291,7 +291,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: Component }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
}
)
@@ -303,7 +303,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: [Component] }
})
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('mounts component with named slot if passed string in slot object in array', () => {
@@ -314,7 +314,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: '
' }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
})
it('mounts component with named slot if passed string in slot object in array', () => {
@@ -325,7 +325,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
slots: { named: ['
'] }
})
- expect(wrapper.contains('span')).to.equal(true)
+ expect(wrapper.contains('span')).toEqual(true)
})
it('throws error if passed false for named slots', () => {
@@ -449,14 +449,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: ComponentAsAClass }
})
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
})
it('mounts component with default slot if passed class component in array in slot object', () => {
const wrapper = mountingMethod(ComponentWithSlots, {
slots: { default: [ComponentAsAClass] }
})
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
})
it('sets a component which can access the parent component and the child component', () => {
@@ -486,14 +486,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
localVue
}
)
- expect(ParentComponent.vm.childComponentName).to.equal(childComponentName)
- expect(ParentComponent.vm.$children.length).to.equal(2)
+ expect(ParentComponent.vm.childComponentName).toEqual(childComponentName)
+ expect(ParentComponent.vm.$children.length).toEqual(2)
expect(
ParentComponent.vm.$children.every(
c => c.$options.name === childComponentName
)
- ).to.equal(true)
- expect(ParentComponent.html()).to.equal(
+ ).toEqual(true)
+ expect(ParentComponent.html()).toEqual(
'
\n' +
'
FOO,quux
\n' +
'
FOO,quux
\n' +
@@ -522,14 +522,14 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
}
}
)
- expect(ParentComponent.vm.childComponentName).to.equal(childComponentName)
- expect(ParentComponent.vm.$children.length).to.equal(1)
+ expect(ParentComponent.vm.childComponentName).toEqual(childComponentName)
+ expect(ParentComponent.vm.$children.length).toEqual(1)
expect(
ParentComponent.vm.$children.every(
c => c.$options.name === childComponentName
)
- ).to.equal(true)
- expect(ParentComponent.html()).to.equal(
+ ).toEqual(true)
+ expect(ParentComponent.html()).toEqual(
'
'
)
})
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 41d8a0418..42feb2229 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -54,8 +54,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: Stub
}
})
- expect(wrapper.findAll('.stub').length).to.equal(1)
- expect(wrapper.findAll(Component).length).to.equal(1)
+ expect(wrapper.findAll('.stub').length).toEqual(1)
+ expect(wrapper.findAll(Component).length).toEqual(1)
})
it('replaces component with a component', () => {
@@ -69,7 +69,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: Stub
}
})
- expect(wrapper.findAll(Stub).length).to.equal(1)
+ expect(wrapper.findAll(Stub).length).toEqual(1)
expect(mounted).calledOnce
})
@@ -114,10 +114,10 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: '
'
}
})
- expect(wrapper.findAll(Component).length).to.equal(0)
+ expect(wrapper.findAll(Component).length).toEqual(0)
const mountedWrapper = mountingMethod(ComponentWithNestedChildren)
- expect(mountedWrapper.findAll(Component).length).to.equal(1)
+ expect(mountedWrapper.findAll(Component).length).toEqual(1)
}
)
@@ -372,7 +372,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
}
)
- expect(wrapper.find('time').exists()).to.equal(false)
+ expect(wrapper.find('time').exists()).toEqual(false)
}
)
@@ -592,7 +592,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
const result = wrapper.find(ChildComponent)
expect(result.exists()).to.be.true
- expect(result.props().propA).to.equal('A')
+ expect(result.props().propA).toEqual('A')
delete Vue.options.components['child-component']
})
diff --git a/test/specs/mounting-options/watch.spec.js b/test/specs/mounting-options/watch.spec.js
index f92dfbbed..866c57693 100644
--- a/test/specs/mounting-options/watch.spec.js
+++ b/test/specs/mounting-options/watch.spec.js
@@ -31,6 +31,6 @@ describeWithShallowAndMount('options.watch', mountingMethod => {
wrapper.setProps({ someProp: 'some-new-val' })
await wrapper.vm.$nextTick()
- expect(wrapper.text()).to.equal('bar')
+ expect(wrapper.text()).toEqual('bar')
})
})
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index b2a7d1510..ddebc03f7 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -9,7 +9,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
}
const wrapper = await render(TestComponent)
expect(wrapper).to.be.an.instanceof(Cheerio)
- expect(wrapper.find('h2').text()).to.equal('Test')
- expect(wrapper.find('p').length).to.equal(2)
+ expect(wrapper.find('h2').text()).toEqual('Test')
+ expect(wrapper.find('p').length).toEqual(2)
})
})
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index eb3f444f0..ba8ebf177 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -40,23 +40,23 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('returns new VueWrapper of Vue localVue if no options are passed', () => {
const compiled = compileToFunctions('
')
const wrapper = shallowMount(compiled)
- expect(wrapper.isVueInstance()).to.equal(true)
+ expect(wrapper.isVueInstance()).toEqual(true)
expect(wrapper.vm).to.be.an('object')
})
it('returns new VueWrapper with all children stubbed', () => {
const wrapper = shallowMount(ComponentWithNestedChildren)
- expect(wrapper.isVueInstance()).to.equal(true)
- expect(wrapper.findAll(Component).length).to.equal(0)
- expect(wrapper.findAll(ComponentWithChild).length).to.equal(1)
+ expect(wrapper.isVueInstance()).toEqual(true)
+ expect(wrapper.findAll(Component).length).toEqual(0)
+ expect(wrapper.findAll(ComponentWithChild).length).toEqual(1)
})
it('does not modify component directly', () => {
const wrapper = shallowMount(ComponentWithNestedChildren)
- expect(wrapper.findAll(Component).length).to.equal(0)
+ expect(wrapper.findAll(Component).length).toEqual(0)
const mountedWrapper = mount(ComponentWithNestedChildren)
- expect(mountedWrapper.findAll(Component).length).to.equal(1)
+ expect(mountedWrapper.findAll(Component).length).toEqual(1)
})
it('stubs globally registered components when options.localVue is provided', () => {
@@ -69,7 +69,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.component('registered-component', ComponentWithLifecycleHooks)
mount(TestComponent, { localVue })
- expect(console.info.callCount).to.equal(4)
+ expect(console.info.callCount).toEqual(4)
})
it('renders children', () => {
@@ -83,7 +83,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal('
Hello ')
+ expect(wrapper.html()).toEqual('
Hello ')
})
it('renders named slots', () => {
@@ -102,7 +102,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'
\n' +
' Hello
\n' +
' World
\n' +
@@ -113,9 +113,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('renders SFC with named slots with v-slot syntax', () => {
const wrapper = shallowMount(ComponentWithVSlotSyntax)
- expect(wrapper.find(ComponentWithVSlot).exists()).to.equal(true)
- expect(wrapper.find('.new-example').exists()).to.equal(true)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.find(ComponentWithVSlot).exists()).toEqual(true)
+ expect(wrapper.find('.new-example').exists()).toEqual(true)
+ expect(wrapper.html()).toEqual(
'\n' +
' new slot syntax
\n' +
' '
@@ -139,9 +139,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.find({ name: 'Foo' }).exists()).to.equal(true)
- expect(wrapper.find('.new-example').exists()).to.equal(true)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.find({ name: 'Foo' }).exists()).toEqual(true)
+ expect(wrapper.find('.new-example').exists()).toEqual(true)
+ expect(wrapper.html()).toEqual(
'\n' + ' text
\n' + ' '
)
})
@@ -152,7 +152,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components: { Child: {} }
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(' ')
+ expect(wrapper.html()).toEqual(' ')
})
it('renders children for functional components', () => {
@@ -167,7 +167,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const wrapper = shallowMount(TestComponent, {
localVue
})
- expect(wrapper.html()).to.equal('Hello ')
+ expect(wrapper.html()).toEqual('Hello ')
})
it('stubs globally registered components', () => {
@@ -178,7 +178,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
shallowMount(Component)
mount(Component)
- expect(console.info.callCount).to.equal(4)
+ expect(console.info.callCount).toEqual(4)
})
itDoNotRunIf(
@@ -313,7 +313,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('does not call stubbed children lifecycle hooks', () => {
shallowMount(ComponentWithNestedChildren)
- expect(console.info.called).to.equal(false)
+ expect(console.info.called).toEqual(false)
})
it('stubs extended components', () => {
@@ -336,8 +336,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ComponentWithPTag).exists()).to.equal(true)
- expect(wrapper.find('p').exists()).to.equal(false)
+ expect(wrapper.find(ComponentWithPTag).exists()).toEqual(true)
+ expect(wrapper.find('p').exists()).toEqual(false)
})
it('stubs nested extended components', () => {
@@ -364,8 +364,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ComponentWithPTag).exists()).to.equal(true)
- expect(wrapper.find('p').exists()).to.equal(false)
+ expect(wrapper.find(ComponentWithPTag).exists()).toEqual(true)
+ expect(wrapper.find('p').exists()).toEqual(false)
})
it('stubs components that receive props through mixin', () => {
@@ -396,14 +396,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ChildComponent).props('a')).to.equal('val')
- expect(wrapper.find(ChildComponentExtended).props('a')).to.equal('val')
+ expect(wrapper.find(ChildComponent).props('a')).toEqual('val')
+ expect(wrapper.find(ChildComponentExtended).props('a')).toEqual('val')
})
itDoNotRunIf(vueVersion < 2.3, 'stubs Vue class component children', () => {
const wrapper = shallowMount(ComponentAsAClassWithChild)
- expect(wrapper.find(Component).exists()).to.equal(true)
- expect(wrapper.findAll('div').length).to.equal(1)
+ expect(wrapper.find(Component).exists()).toEqual(true)
+ expect(wrapper.findAll('div').length).toEqual(1)
})
it('works correctly with find, contains, findAll, and is on unnamed components', () => {
@@ -418,9 +418,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.contains(ComponentWithoutName)).to.equal(true)
- expect(wrapper.find(ComponentWithoutName).exists()).to.equal(true)
- expect(wrapper.findAll(ComponentWithoutName).length).to.equal(1)
+ expect(wrapper.contains(ComponentWithoutName)).toEqual(true)
+ expect(wrapper.find(ComponentWithoutName).exists()).toEqual(true)
+ expect(wrapper.findAll(ComponentWithoutName).length).toEqual(1)
})
it('works correctly with find, contains, findAll, and is on named components', () => {
@@ -435,9 +435,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.contains(Component)).to.equal(true)
- expect(wrapper.find(Component).exists()).to.equal(true)
- expect(wrapper.findAll(Component).length).to.equal(1)
+ expect(wrapper.contains(Component)).toEqual(true)
+ expect(wrapper.find(Component).exists()).toEqual(true)
+ expect(wrapper.findAll(Component).length).toEqual(1)
})
it('works correctly with find on recursive components', () => {
@@ -449,7 +449,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
})
- expect(wrapper.findAll(RecursiveComponent).length).to.equal(3)
+ expect(wrapper.findAll(RecursiveComponent).length).toEqual(3)
})
it('handles extended stubs', () => {
@@ -465,7 +465,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
stubs: ['child-component']
})
- expect(wrapper.find(ChildComponent).vm.propA).to.equal('hey')
+ expect(wrapper.find(ChildComponent).vm.propA).toEqual('hey')
})
it('does not stub unregistered components', () => {
@@ -474,7 +474,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(' ')
+ expect(wrapper.html()).toEqual(' ')
})
it('stubs lazily registered components', () => {
@@ -489,8 +489,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(0)
- expect(wrapper.findAll(Child).length).to.equal(1)
+ expect(wrapper.findAll('p').length).toEqual(0)
+ expect(wrapper.findAll(Child).length).toEqual(1)
})
itDoNotRunIf(
@@ -569,7 +569,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.equal(
+ expect(wrapper.html()).toEqual(
'\n' +
'
\n' +
'
\n' +
@@ -627,6 +627,6 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components: { ChildComponent }
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.find(ChildComponent).vm.a).to.equal('123')
+ expect(wrapper.find(ChildComponent).vm.a).toEqual('123')
})
})
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 53b585c37..2a0eb7e3b 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -4,7 +4,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
;['vnode', 'element', 'vm', 'options'].forEach(property => {
it(`has the ${property} property which is read-only`, () => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.constructor.name).to.equal('VueWrapper')
+ expect(wrapper.constructor.name).toEqual('VueWrapper')
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 38bf4c03f..77ce0e0cd 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -34,12 +34,12 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('returns class with length equal to length of wrappers passed in constructor', () => {
const wrapperArray = getWrapperArray()
- expect(wrapperArray.length).to.equal(3)
+ expect(wrapperArray.length).toEqual(3)
})
it('returns wrapper at index 0 when at(0) is called', () => {
const wrapperArray = getWrapperArray()
- expect(wrapperArray.at(0).text()).to.equal('1')
+ expect(wrapperArray.at(0).text()).toEqual('1')
})
it('returns filtered wrapper when filter is called', () => {
@@ -48,7 +48,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
wrapperArray.filter(w => {
return w.text() !== '2'
}).length
- ).to.equal(2)
+ ).toEqual(2)
})
const methods = [
@@ -120,14 +120,14 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('exists returns true if it has every existing wrappers', () => {
const wrapperArray = getWrapperArray()
wrapperArray.wrappers.forEach(w => {
- expect(w.exists()).to.equal(true)
+ expect(w.exists()).toEqual(true)
})
- expect(wrapperArray.exists()).to.equal(true)
+ expect(wrapperArray.exists()).toEqual(true)
})
it('exists returns false if it does not have existing wrappers', () => {
const wrapperArray = getWrapperArray([])
- expect(wrapperArray.exists()).to.equal(false)
+ expect(wrapperArray.exists()).toEqual(false)
})
it('exists returns false if it has not existing wrappers', () => {
@@ -142,7 +142,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
}
const wrapperArray = getWrapperArray([wrapper1, wrapper2])
- expect(wrapperArray.exists()).to.equal(false)
+ expect(wrapperArray.exists()).toEqual(false)
})
it('contains returns true if every wrapper.contains() returns true', () => {
@@ -150,7 +150,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const contains = sandbox.stub()
contains.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
- expect(wrapperArray.contains(selector)).to.equal(true)
+ expect(wrapperArray.contains(selector)).toEqual(true)
})
it('contains returns false if not every wrapper.contains() returns true', () => {
@@ -158,7 +158,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ contains: () => true },
{ contains: () => false }
])
- expect(wrapperArray.contains()).to.equal(false)
+ expect(wrapperArray.contains()).toEqual(false)
})
it('is returns true if every wrapper.is() returns true', () => {
@@ -166,7 +166,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const is = sandbox.stub()
is.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ is }, { is }])
- expect(wrapperArray.is(selector)).to.equal(true)
+ expect(wrapperArray.is(selector)).toEqual(true)
})
it('is returns false if not every wrapper.is() returns true', () => {
@@ -174,7 +174,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ is: () => true },
{ is: () => false }
])
- expect(wrapperArray.is('selector')).to.equal(false)
+ expect(wrapperArray.is('selector')).toEqual(false)
})
it('isEmpty returns true if every wrapper.isEmpty() returns true', () => {
@@ -182,7 +182,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isEmpty: () => true },
{ isEmpty: () => true }
])
- expect(wrapperArray.isEmpty()).to.equal(true)
+ expect(wrapperArray.isEmpty()).toEqual(true)
})
it('isEmpty returns false if not every wrapper.isEmpty() returns true', () => {
@@ -190,7 +190,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isEmpty: () => true },
{ isEmpty: () => false }
])
- expect(wrapperArray.isEmpty()).to.equal(false)
+ expect(wrapperArray.isEmpty()).toEqual(false)
})
it('isVisible returns true if every wrapper.isVisible() returns true', () => {
@@ -198,7 +198,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVisible: () => true },
{ isVisible: () => true }
])
- expect(wrapperArray.isVisible()).to.equal(true)
+ expect(wrapperArray.isVisible()).toEqual(true)
})
it('isVisible returns false if not every wrapper.isVisible() returns true', () => {
@@ -206,7 +206,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVisible: () => true },
{ isVisible: () => false }
])
- expect(wrapperArray.isVisible()).to.equal(false)
+ expect(wrapperArray.isVisible()).toEqual(false)
})
it('isVueInstance returns true if every wrapper.isVueInstance() returns true', () => {
@@ -214,7 +214,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVueInstance: () => true },
{ isVueInstance: () => true }
])
- expect(wrapperArray.isVueInstance()).to.equal(true)
+ expect(wrapperArray.isVueInstance()).toEqual(true)
})
it('isVueInstance returns false if not every wrapper.isVueInstance() returns true', () => {
@@ -222,7 +222,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
{ isVueInstance: () => true },
{ isVueInstance: () => false }
])
- expect(wrapperArray.isVueInstance()).to.equal(false)
+ expect(wrapperArray.isVueInstance()).toEqual(false)
})
it('setMethods calls setMethods on each wrapper', () => {
@@ -230,8 +230,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
- expect(setMethods.calledTwice).to.equal(true)
- expect(setMethods.calledWith(methods)).to.equal(true)
+ expect(setMethods.calledTwice).toEqual(true)
+ expect(setMethods.calledWith(methods)).toEqual(true)
})
it('setData calls setData on each wrapper', () => {
@@ -239,8 +239,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
- expect(setData.calledTwice).to.equal(true)
- expect(setData.calledWith(data)).to.equal(true)
+ expect(setData.calledTwice).toEqual(true)
+ expect(setData.calledWith(data)).toEqual(true)
})
it('setProps calls setProps on each wrapper', () => {
@@ -248,8 +248,8 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
- expect(setProps.calledTwice).to.equal(true)
- expect(setProps.calledWith(props)).to.equal(true)
+ expect(setProps.calledTwice).toEqual(true)
+ expect(setProps.calledWith(props)).toEqual(true)
})
it('trigger calls trigger on each wrapper', () => {
@@ -258,14 +258,14 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
wrapperArray.trigger(event, options)
- expect(trigger.calledTwice).to.equal(true)
- expect(trigger.calledWith(event, options)).to.equal(true)
+ expect(trigger.calledTwice).toEqual(true)
+ expect(trigger.calledWith(event, options)).toEqual(true)
})
it('destroy calls destroy on each wrapper', () => {
const destroy = sandbox.stub()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
- expect(destroy.calledTwice).to.equal(true)
+ expect(destroy.calledTwice).toEqual(true)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 6a8246067..50118eeed 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -8,14 +8,14 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
const divArr = wrapper.findAll('div')
- expect(divArr.contains('p')).to.equal(true)
+ expect(divArr.contains('p')).toEqual(true)
})
it('returns false if any Wrapper does not contain element', () => {
const TestComponent = { template: '
' }
const wrapper = mountingMethod(TestComponent)
const divArr = wrapper.findAll('div')
- expect(divArr.contains('p')).to.equal(false)
+ expect(divArr.contains('p')).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index 87b1bf682..b1a128eb7 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -7,19 +7,19 @@ describeWithShallowAndMount('is', mountingMethod => {
it('returns true if ech item matches selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div').is('div')).to.equal(true)
+ expect(wrapper.findAll('div').is('div')).toEqual(true)
})
it('returns true if each item matches Vue Component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const component = wrapper.findAll(Component).at(0)
- expect(component.is(Component)).to.equal(true)
+ expect(component.is(Component)).toEqual(true)
})
it('returns false if each item is not a Vue Component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const input = wrapper.findAll('span').at(0)
- expect(input.is(Component)).to.equal(false)
+ expect(input.is(Component)).toEqual(false)
})
it('returns false if each item does not match tag selector', () => {
@@ -27,7 +27,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div').is('.a-class')).to.equal(false)
+ expect(wrapper.findAll('div').is('.a-class')).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index cd57a9541..70e38134c 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -7,14 +7,14 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isEmpty()).to.equal(true)
+ expect(wrapper.findAll('p').isEmpty()).toEqual(true)
})
it('returns false if node contains other nodes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('span').isEmpty()).to.equal(false)
+ expect(wrapper.findAll('span').isEmpty()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 3fb085410..104c0c16b 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(true)
+ expect(wrapper.findAll('p').isVisible()).toEqual(true)
})
it('returns false if node has inline style display: none', () => {
@@ -16,7 +16,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(false)
+ expect(wrapper.findAll('p').isVisible()).toEqual(false)
})
it('returns false if node has visibility: hidden', () => {
@@ -25,7 +25,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVisible()).to.equal(false)
+ expect(wrapper.findAll('p').isVisible()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 96c84d335..255b61a2c 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -6,13 +6,13 @@ import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('isVueInstance', mountingMethod => {
it('returns true if wrapper is Vue instance', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.findAll(Component).isVueInstance()).to.equal(true)
+ expect(wrapper.findAll(Component).isVueInstance()).toEqual(true)
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('p').isVueInstance()).to.equal(false)
+ expect(wrapper.findAll('p').isVueInstance()).toEqual(false)
})
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/setChecked.spec.js b/test/specs/wrapper-array/setChecked.spec.js
index 9f4792070..b4358e361 100644
--- a/test/specs/wrapper-array/setChecked.spec.js
+++ b/test/specs/wrapper-array/setChecked.spec.js
@@ -18,13 +18,13 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
`
})
const wrapperArray = wrapper.findAll('.foo')
- expect(wrapper.vm.t1).to.equal(false)
- expect(wrapper.vm.t2).to.equal('')
+ expect(wrapper.vm.t1).toEqual(false)
+ expect(wrapper.vm.t2).toEqual('')
wrapperArray.setChecked()
await Vue.nextTick()
- expect(wrapper.vm.t1).to.equal(true)
- expect(wrapper.vm.t2).to.equal('foo')
- expect(wrapperArray.at(0).element.checked).to.equal(true)
- expect(wrapperArray.at(1).element.checked).to.equal(true)
+ expect(wrapper.vm.t1).toEqual(true)
+ expect(wrapper.vm.t2).toEqual('foo')
+ expect(wrapperArray.at(0).element.checked).toEqual(true)
+ expect(wrapperArray.at(1).element.checked).toEqual(true)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 57ebbc441..9a1219344 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -7,10 +7,10 @@ describeWithShallowAndMount('setData', mountingMethod => {
it('sets component data and updates nested vm nodes', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
const componentArr = wrapper.findAll(ComponentWithVIf)
- expect(componentArr.at(0).findAll('.child.ready').length).to.equal(0)
+ expect(componentArr.at(0).findAll('.child.ready').length).toEqual(0)
componentArr.setData({ ready: true })
await Vue.nextTick()
- expect(componentArr.at(0).findAll('.child.ready').length).to.equal(1)
+ expect(componentArr.at(0).findAll('.child.ready').length).toEqual(1)
})
it('throws an error if node is not a Vue instance', () => {
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index 1697a5077..c7fbc2d9f 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -11,8 +11,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, { propsData })
wrapper.findAll(ComponentWithProps).setProps({ prop1 })
await Vue.nextTick()
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('sets component props when propsData was not initially passed', async () => {
@@ -21,8 +21,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps)
wrapper.findAll(ComponentWithProps).setProps({ prop1, prop2 })
await Vue.nextTick()
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('throws an error if node is not a Vue instance', () => {
diff --git a/test/specs/wrapper-array/setValue.spec.js b/test/specs/wrapper-array/setValue.spec.js
index 2b1960427..cc164a851 100644
--- a/test/specs/wrapper-array/setValue.spec.js
+++ b/test/specs/wrapper-array/setValue.spec.js
@@ -16,12 +16,12 @@ describeWithShallowAndMount('setValue', mountingMethod => {
`
})
const wrapperArray = wrapper.findAll('.foo')
- expect(wrapper.vm.t1).to.equal('')
- expect(wrapper.vm.t2).to.equal('')
+ expect(wrapper.vm.t1).toEqual('')
+ expect(wrapper.vm.t2).toEqual('')
wrapperArray.setValue('foo')
- expect(wrapper.vm.t1).to.equal('foo')
- expect(wrapper.vm.t2).to.equal('foo')
- expect(wrapperArray.at(0).element.value).to.equal('foo')
- expect(wrapperArray.at(1).element.value).to.equal('foo')
+ expect(wrapper.vm.t1).toEqual('foo')
+ expect(wrapper.vm.t2).toEqual('foo')
+ expect(wrapperArray.at(0).element.value).toEqual('foo')
+ expect(wrapperArray.at(1).element.value).toEqual('foo')
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 81c5ad77f..35956e008 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const buttonArr = wrapper.findAll('.click')
buttonArr.trigger('click')
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
@@ -28,7 +28,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.findAll('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
@@ -38,7 +38,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.findAll('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('throws an error if type is not a string', () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index aaa013719..c3fbc06a2 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
const wrapper = mountingMethod({ template: '
' }).find(
'p'
)
- expect(wrapper.constructor.name).to.equal('Wrapper')
+ expect(wrapper.constructor.name).toEqual('Wrapper')
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 82e3b8156..81024fc93 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -13,7 +13,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns empty array if wrapper has no classes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes().length).to.equal(0)
+ expect(wrapper.classes().length).toEqual(0)
})
it('returns original class names when element mapped in css modules', () => {
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index 35d664da7..b963f4954 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -15,12 +15,12 @@ describeWithShallowAndMount('contains', mountingMethod => {
it('returns true if wrapper contains element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('input')).to.equal(true)
+ expect(wrapper.contains('input')).toEqual(true)
})
it('returns true if wrapper contains Vue component', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('returns true if wrapper contains functional Vue component', () => {
@@ -39,7 +39,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(FunctionalComponent)).to.equal(true)
+ expect(wrapper.contains(FunctionalComponent)).toEqual(true)
})
itSkipIf(
@@ -57,14 +57,14 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.contains(ComponentAsAClass)).toEqual(true)
}
)
it('returns true if wrapper contains element specified by ref selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains({ ref: 'foo' })).to.equal(true)
+ expect(wrapper.contains({ ref: 'foo' })).toEqual(true)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -82,13 +82,13 @@ describeWithShallowAndMount('contains', mountingMethod => {
it('returns true when wrapper contains root element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('doesntexist')).to.equal(false)
+ expect(wrapper.contains('doesntexist')).toEqual(false)
})
it('returns true if wrapper root element matches contains', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('doesntexist')).to.equal(false)
+ expect(wrapper.contains('doesntexist')).toEqual(false)
})
it('returns true if wrapper root Component matches selector', () => {
@@ -103,24 +103,24 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains(ComponentWithoutName)).to.equal(true)
+ expect(wrapper.contains(ComponentWithoutName)).toEqual(true)
})
it('returns true if wrapper root Component matches selector', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.contains(Component)).to.equal(true)
+ expect(wrapper.contains(Component)).toEqual(true)
})
it('returns false if wrapper does not contain element', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains('div')).to.equal(true)
+ expect(wrapper.contains('div')).toEqual(true)
})
it('returns false if wrapper does not contain element specified by ref selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.contains({ ref: 'foo' })).to.equal(false)
+ expect(wrapper.contains({ ref: 'foo' })).toEqual(false)
})
it('works correctly with innerHTML', () => {
@@ -134,8 +134,8 @@ describeWithShallowAndMount('contains', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.contains('svg')).to.equal(true)
- expect(wrapper.find('svg').contains('svg')).to.equal(true)
+ expect(wrapper.contains('svg')).toEqual(true)
+ expect(wrapper.find('svg').contains('svg')).toEqual(true)
})
it('throws an error if selector is not a valid selector', () => {
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 3b698f834..a78d770b5 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -16,7 +16,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
stub()
}
}).destroy()
- expect(stub.calledOnce).to.equal(true)
+ expect(stub.calledOnce).toEqual(true)
})
it('triggers destroy ', () => {
@@ -27,7 +27,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
stub()
}
}).destroy()
- expect(stub.calledOnce).to.equal(true)
+ expect(stub.calledOnce).toEqual(true)
})
it('removes element from document.body', () => {
@@ -35,7 +35,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
{ template: '
' },
{ attachToDocument: true }
)
- expect(wrapper.vm.$el.parentNode).to.equal(document.body)
+ expect(wrapper.vm.$el.parentNode).toEqual(document.body)
wrapper.destroy()
expect(wrapper.vm.$el.parentNode).to.be.null
})
@@ -50,7 +50,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
},
{ attachToDocument: true }
)
- expect(wrapper.element.parentNode).to.equal(document.body)
+ expect(wrapper.element.parentNode).toEqual(document.body)
wrapper.destroy()
expect(wrapper.element.parentNode).to.be.null
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 65b7d4457..335add46a 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -11,18 +11,18 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$emit('foo')
expect(wrapper.emitted('foo')).to.exist
- expect(wrapper.emitted('foo').length).to.equal(1)
+ expect(wrapper.emitted('foo').length).toEqual(1)
expect(wrapper.emitted('foo')[0]).to.eql([])
expect(wrapper.emitted('bar')).not.to.exist
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted('bar')).to.exist
- expect(wrapper.emitted('bar').length).to.equal(1)
+ expect(wrapper.emitted('bar').length).toEqual(1)
expect(wrapper.emitted('bar')[0]).to.eql([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
expect(wrapper.emitted('foo')).to.exist
- expect(wrapper.emitted('foo').length).to.equal(2)
+ expect(wrapper.emitted('foo').length).toEqual(2)
expect(wrapper.emitted('foo')[1]).to.eql([2, 3, 4])
})
@@ -33,18 +33,18 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$emit('foo')
expect(wrapper.emitted().foo).to.exist
- expect(wrapper.emitted().foo.length).to.equal(1)
+ expect(wrapper.emitted().foo.length).toEqual(1)
expect(wrapper.emitted().foo[0]).to.eql([])
expect(wrapper.emitted().bar).not.to.exist
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted().bar).to.exist
- expect(wrapper.emitted().bar.length).to.equal(1)
+ expect(wrapper.emitted().bar.length).toEqual(1)
expect(wrapper.emitted().bar[0]).to.eql([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
expect(wrapper.emitted().foo).to.exist
- expect(wrapper.emitted().foo.length).to.equal(2)
+ expect(wrapper.emitted().foo.length).toEqual(2)
expect(wrapper.emitted().foo[1]).to.eql([2, 3, 4])
})
diff --git a/test/specs/wrapper/exists.spec.js b/test/specs/wrapper/exists.spec.js
index 8fd2b63d3..7a013188a 100644
--- a/test/specs/wrapper/exists.spec.js
+++ b/test/specs/wrapper/exists.spec.js
@@ -5,19 +5,19 @@ describeWithShallowAndMount('exists', mountingMethod => {
it('returns true if called on Wrapper', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.exists()).to.equal(true)
+ expect(wrapper.exists()).toEqual(true)
})
it('returns false if Wrapper is destroyed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
wrapper.destroy()
- expect(wrapper.exists()).to.equal(false)
+ expect(wrapper.exists()).toEqual(false)
})
it('returns false if called on an ErrorWrapper', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('does-not-exist').exists()).to.equal(false)
+ expect(wrapper.find('does-not-exist').exists()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index ef4d2c4b7..3913ef899 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -21,14 +21,14 @@ describeWithShallowAndMount('find', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(wrapper.find('p').vnode).to.be.an('object')
- expect(wrapper.find('p').vm).to.equal(undefined)
+ expect(wrapper.find('p').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(wrapper.find('.foo').vnode).to.be.an('object')
- expect(wrapper.find('.foo').vm).to.equal(undefined)
+ expect(wrapper.find('.foo').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed if nested in a transition', () => {
@@ -92,7 +92,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).name()).to.equal('child-component')
+ expect(wrapper.find(ChildComponent).name()).toEqual('child-component')
})
it('returns Wrapper of elements matching attribute selector passed', () => {
@@ -237,7 +237,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
expect(wrapper.find(FunctionalComponent).vnode).to.be.an('object')
- expect(wrapper.find(FunctionalComponent).vm).to.equal(undefined)
+ expect(wrapper.find(FunctionalComponent).vm).toEqual(undefined)
})
it('returns functional component with name', () => {
@@ -261,7 +261,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.to.throw()
.with.property('message', message)
} else {
- expect(wrapper.find(TestFunctionalComponent).exists()).to.equal(true)
+ expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
})
@@ -285,7 +285,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.to.throw()
.with.property('message', message)
} else {
- expect(wrapper.find(TestFunctionalComponent).exists()).to.equal(true)
+ expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
})
@@ -305,7 +305,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.find('svg')
.find('svg')
.exists()
- ).to.equal(true)
+ ).toEqual(true)
})
it('throws errror when searching for a component on an element Wrapper', () => {
@@ -392,22 +392,22 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent, { localVue })
const span = wrapper.find('span')
- expect(span.find(AComponent).exists()).to.equal(false)
+ expect(span.find(AComponent).exists()).toEqual(false)
})
it('returns empty Wrapper with error if no nodes are found', () => {
const wrapper = mountingMethod(Component)
const selector = 'pre'
const error = wrapper.find(selector)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(selector)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(selector)
})
it('returns empty Wrapper with error if no nodes are found when passed a component', () => {
const wrapper = mountingMethod(Component)
const error = wrapper.find(ComponentWithChild)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(ComponentWithChild)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(ComponentWithChild)
})
it('returns Wrapper of elements matching the ref in options object', () => {
@@ -428,7 +428,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(FunctionalExtendedComponent).exists()).to.equal(true)
+ expect(wrapper.find(FunctionalExtendedComponent).exists()).toEqual(true)
})
it('returns Wrapper of Vue Component matching the extended component', () => {
@@ -443,8 +443,8 @@ describeWithShallowAndMount('find', mountingMethod => {
name: 'test-component'
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(TestComponent).exists()).to.equal(true)
- expect(wrapper.find(TestComponent).isVueInstance()).to.equal(true)
+ expect(wrapper.find(TestComponent).exists()).toEqual(true)
+ expect(wrapper.find(TestComponent).isVueInstance()).toEqual(true)
})
it('works for extended child components', () => {
@@ -458,12 +458,12 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).exists()).to.equal(true)
+ expect(wrapper.find(ChildComponent).exists()).toEqual(true)
})
it('returns a Wrapper matching a component name in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find({ name: 'test-component' }).name()).to.equal(
+ expect(wrapper.find({ name: 'test-component' }).name()).toEqual(
'test-component'
)
})
@@ -474,7 +474,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'camelCase' }).name()).to.equal('CamelCase')
+ expect(wrapper.find({ name: 'camelCase' }).name()).toEqual('CamelCase')
})
it('returns a Wrapper matching a kebab-case name option and a Pascal Case component name ', () => {
@@ -483,7 +483,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'camel-case' }).name()).to.equal('CamelCase')
+ expect(wrapper.find({ name: 'camel-case' }).name()).toEqual('CamelCase')
})
it('returns a Wrapper matching a Pascal Case name option and a kebab-casecomponent name ', () => {
@@ -492,12 +492,12 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div')
}
const wrapper = mountingMethod(component)
- expect(wrapper.find({ name: 'CamelCase' }).name()).to.equal('camel-case')
+ expect(wrapper.find({ name: 'CamelCase' }).name()).toEqual('camel-case')
})
it('returns Wrapper of Vue Component matching the ref in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find({ ref: 'child' }).isVueInstance()).to.equal(true)
+ expect(wrapper.find({ ref: 'child' }).isVueInstance()).toEqual(true)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -524,8 +524,8 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(Component)
const selector = { ref: 'foo' }
const error = wrapper.find(selector)
- expect(error.exists()).to.equal(false)
- expect(error.selector).to.equal(selector)
+ expect(error.exists()).toEqual(false)
+ expect(error.selector).toEqual(selector)
})
it('returns Wrapper matching component that has no name property', () => {
@@ -540,7 +540,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ComponentWithoutName).exists()).to.equal(true)
+ expect(wrapper.find(ComponentWithoutName).exists()).toEqual(true)
})
it('throws an error if selector is not a valid selector', () => {
@@ -603,8 +603,8 @@ describeWithShallowAndMount('find', mountingMethod => {
template: '
',
components: { childComponent }
})
- expect(wrapper.find('div').vm.$options.name).to.equal('foo')
- expect(wrapper.find('p').vm.$options.name).to.equal('bar')
+ expect(wrapper.find('div').vm.$options.name).toEqual('foo')
+ expect(wrapper.find('p').vm.$options.name).toEqual('bar')
}
)
@@ -613,7 +613,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = 'p'
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores ref selector', () => {
@@ -621,20 +621,20 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = { ref: 'foo' }
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = Component
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
it('stores name selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = { name: 'test-component' }
const result = wrapper.find(selector)
- expect(result.selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
})
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 515ff0bbf..9ab80e054 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -18,21 +18,21 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const divs = wrapper.findAll('p')
- expect(divs.length).to.equal(2)
+ expect(divs.length).toEqual(2)
})
it('returns an array of Wrapper of elements matching class selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll('.foo')
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('returns an array of Wrapper of elements matching class selector passed if they are nested in a transition', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const divArr = wrapper.findAll('div')
- expect(divArr.length).to.equal(1)
+ expect(divArr.length).toEqual(1)
})
itDoNotRunIf(
@@ -45,7 +45,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
})
const fooArr = wrapper.findAll('.foo')
- expect(fooArr.length).to.equal(2)
+ expect(fooArr.length).toEqual(2)
}
)
@@ -66,7 +66,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll('p').length).to.equal(3)
+ expect(wrapper.findAll('p').length).toEqual(3)
})
it('works correctly with innerHTML', () => {
@@ -80,21 +80,21 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll('svg').length).to.equal(1)
+ expect(wrapper.findAll('svg').length).toEqual(1)
})
it('returns an array of Wrappers of elements matching id selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll('#foo')
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('returns an array of Wrappers of elements matching attribute selector passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
const hrefArr = wrapper.findAll('[href="/"]')
- expect(hrefArr.length).to.equal(1)
+ expect(hrefArr.length).toEqual(1)
})
it('throws an error when passed an invalid DOM selector', () => {
@@ -114,7 +114,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const liArr = wrapper.findAll('div li')
- expect(liArr.length).to.equal(2)
+ expect(liArr.length).toEqual(2)
})
it('does not return duplicate nodes', () => {
@@ -122,33 +122,33 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.findAll('div p').length).to.equal(2)
+ expect(wrapper.findAll('div p').length).toEqual(2)
})
it('returns an array of Wrappers of elements matching selector with direct descendant combinator passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const ulArr = wrapper.findAll('div > ul')
- expect(ulArr.length).to.equal(1)
+ expect(ulArr.length).toEqual(1)
})
it('returns an array of Wrappers of elements matching pseudo selector', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const divs = wrapper.findAll('p:first-of-type')
- expect(divs.length).to.equal(1)
+ expect(divs.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const componentArr = wrapper.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching components using findAllComponents', () => {
const wrapper = mountingMethod(ComponentWithChild)
const componentArr = wrapper.findAllComponents(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('throws an error if findAllComponents selector is a CSS selector', () => {
@@ -175,14 +175,14 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
const componentArray = wrapper.findAll(Component)
- expect(componentArray.length).to.equal(items.length)
+ expect(componentArray.length).toEqual(items.length)
})
it('returns array of VueWrappers of Vue Components matching component if component name in parent is different to filename', () => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.findAll('span').at(0)
const componentArr = div.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('returns an array of VueWrappers of Vue Components matching component using Wrapper as reference', () => {
@@ -190,7 +190,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.findAll('span').at(0)
const componentArr = div.findAll(Component)
- expect(componentArr.length).to.equal(1)
+ expect(componentArr.length).toEqual(1)
})
it('only returns Vue components that exists as children of Wrapper', () => {
@@ -213,7 +213,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
const span = wrapper.find('span')
- expect(span.findAll(AComponent).length).to.equal(1)
+ expect(span.findAll(AComponent).length).toEqual(1)
})
it('returns matching Vue components that have no name property', () => {
@@ -230,7 +230,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(ComponentWithoutName).length).to.equal(3)
+ expect(wrapper.findAll(ComponentWithoutName).length).toEqual(3)
})
itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
@@ -246,7 +246,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(ComponentAsAClass).length).to.equal(1)
+ expect(wrapper.findAll(ComponentAsAClass).length).toEqual(1)
})
it('returns Wrapper of Vue Component matching functional component', () => {
@@ -265,28 +265,28 @@ describeWithShallowAndMount('findAll', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.findAll(FunctionalComponent).length).to.equal(1)
+ expect(wrapper.findAll(FunctionalComponent).length).toEqual(1)
})
it('returns VueWrapper with length 0 if no nodes matching selector are found', () => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll('pre')
- expect(preArray.length).to.equal(0)
+ expect(preArray.length).toEqual(0)
expect(preArray.wrappers).to.deep.equal([])
})
it('returns an array of Wrapper of elements matching a component name in options object', () => {
const wrapper = mountingMethod(ComponentWithChild)
const wrapperArray = wrapper.findAll({ name: 'test-component' })
- expect(wrapperArray.at(0).name()).to.equal('test-component')
- expect(wrapperArray.length).to.equal(1)
+ expect(wrapperArray.at(0).name()).toEqual('test-component')
+ expect(wrapperArray.length).toEqual(1)
})
it('returns an array of Wrapper of elements matching the ref in options object', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const fooArr = wrapper.findAll({ ref: 'foo' })
- expect(fooArr.length).to.equal(1)
+ expect(fooArr.length).toEqual(1)
})
it('throws an error when ref selector is called on a wrapper that is not a Vue component', () => {
@@ -307,20 +307,20 @@ describeWithShallowAndMount('findAll', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const divArr = wrapper.findAll({ ref: 'foo' })
- expect(divArr.length).to.equal(1)
+ expect(divArr.length).toEqual(1)
})
it('returns correct number of Vue Wrapper when component has a v-for and matches the ref in options object', () => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
const componentArray = wrapper.findAll({ ref: 'item' })
- expect(componentArray.length).to.equal(items.length)
+ expect(componentArray.length).toEqual(items.length)
})
it('returns VueWrapper with length 0 if no nodes matching the ref in options object are found', () => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll({ ref: 'foo' })
- expect(preArray.length).to.equal(0)
+ expect(preArray.length).toEqual(0)
expect(preArray.wrappers).to.deep.equal([])
})
@@ -364,9 +364,9 @@ describeWithShallowAndMount('findAll', mountingMethod => {
components: { childComponent }
})
const wrappers = wrapper.findAll('.foo')
- expect(wrappers.at(0).vm.$options.name).to.equal('foo')
- expect(wrappers.at(1).vm).to.equal(undefined)
- expect(wrappers.at(2).vm.$options.name).to.equal('bar')
+ expect(wrappers.at(0).vm.$options.name).toEqual('foo')
+ expect(wrappers.at(1).vm).toEqual(undefined)
+ expect(wrappers.at(2).vm.$options.name).toEqual('bar')
}
)
@@ -375,8 +375,8 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = 'p'
const result = wrapper.findAll('p')
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores ref selector', () => {
@@ -384,23 +384,23 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const selector = { ref: 'foo' }
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = Component
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
it('stores name selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const selector = { name: 'test-component' }
const result = wrapper.findAll(selector)
- expect(result.selector).to.equal(selector)
- expect(result.at(0).selector).to.equal(selector)
+ expect(result.selector).toEqual(selector)
+ expect(result.at(0).selector).toEqual(selector)
})
})
diff --git a/test/specs/wrapper/html.spec.js b/test/specs/wrapper/html.spec.js
index 50f8d809a..abc618d46 100644
--- a/test/specs/wrapper/html.spec.js
+++ b/test/specs/wrapper/html.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('html', mountingMethod => {
it('returns a VueWrappers HTML as a string', () => {
const expectedHtml = '
'
const wrapper = mountingMethod(Component)
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
it('returns a VueWrappers HTML as a string when component has no render function', () => {
@@ -21,7 +21,7 @@ describeWithShallowAndMount('html', mountingMethod => {
}
})
const expectedHtml = ''
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
it('handles class component', () => {
@@ -29,7 +29,7 @@ describeWithShallowAndMount('html', mountingMethod => {
return
}
const wrapper = mountingMethod(ComponentAsAClass)
- expect(wrapper.html()).to.equal('
')
+ expect(wrapper.html()).toEqual('
')
})
it('returns a Wrappers HTML as a pretty printed string', () => {
@@ -45,6 +45,6 @@ describeWithShallowAndMount('html', mountingMethod => {
const compiled = compileToFunctions(expectedHtml)
const wrapper = mountingMethod(compiled)
- expect(wrapper.html()).to.equal(expectedHtml)
+ expect(wrapper.html()).toEqual(expectedHtml)
})
})
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index 23129c3aa..ff8251688 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -13,35 +13,35 @@ describeWithShallowAndMount('is', mountingMethod => {
it('returns true if root node matches tag selector', () => {
const compiled = compileToFunctions(' ')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('input')).to.equal(true)
+ expect(wrapper.is('input')).toEqual(true)
})
it('returns true if root node matches class selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('.div')).to.equal(true)
+ expect(wrapper.is('.div')).toEqual(true)
})
it('returns true if root node matches id selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('#div')).to.equal(true)
+ expect(wrapper.is('#div')).toEqual(true)
})
it('returns true if root node matches Vue Component selector', () => {
const wrapper = mountingMethod(ComponentWithChild)
const component = wrapper.findAll(Component).at(0)
- expect(component.is(Component)).to.equal(true)
+ expect(component.is(Component)).toEqual(true)
})
it('returns true if root node matches Component', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.is(Component)).to.equal(true)
+ expect(wrapper.is(Component)).toEqual(true)
})
it('returns true if root node matches Component without a name', () => {
const wrapper = mountingMethod(ComponentWithoutName)
- expect(wrapper.is(ComponentWithoutName)).to.equal(true)
+ expect(wrapper.is(ComponentWithoutName)).toEqual(true)
})
it('works correctly with innerHTML', () => {
@@ -55,7 +55,7 @@ describeWithShallowAndMount('is', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').is('svg')).to.equal(true)
+ expect(wrapper.find('svg').is('svg')).toEqual(true)
})
it('returns true if root node matches functional Component', () => {
@@ -63,7 +63,7 @@ describeWithShallowAndMount('is', mountingMethod => {
return
}
const wrapper = mountingMethod(FunctionalComponent)
- expect(wrapper.is(FunctionalComponent)).to.equal(true)
+ expect(wrapper.is(FunctionalComponent)).toEqual(true)
})
it('returns true if root node matches Component extending class component', () => {
@@ -72,31 +72,31 @@ describeWithShallowAndMount('is', mountingMethod => {
stubs: false
})
- expect(wrapper.is(ComponentAsAClass)).to.equal(true)
+ expect(wrapper.is(ComponentAsAClass)).toEqual(true)
})
it('returns false if root node is not a Vue Component', () => {
const wrapper = mountingMethod(ComponentWithChild)
const input = wrapper.findAll('span').at(0)
- expect(input.is(Component)).to.equal(false)
+ expect(input.is(Component)).toEqual(false)
})
it('returns false if root node does not match tag selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('p')).to.equal(false)
+ expect(wrapper.is('p')).toEqual(false)
})
it('returns false if root node does not match class selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('.p')).to.equal(false)
+ expect(wrapper.is('.p')).toEqual(false)
})
it('returns false if root node does not match id selector', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.is('#p')).to.equal(false)
+ expect(wrapper.is('#p')).toEqual(false)
})
it('throws error if ref options object is passed', () => {
diff --git a/test/specs/wrapper/isEmpty.spec.js b/test/specs/wrapper/isEmpty.spec.js
index 6a9fbf22b..863d9a7be 100644
--- a/test/specs/wrapper/isEmpty.spec.js
+++ b/test/specs/wrapper/isEmpty.spec.js
@@ -10,13 +10,13 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
it('returns true if node contains comment', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
itDoNotRunIf(
@@ -39,7 +39,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
}
)
@@ -63,7 +63,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.isEmpty()).to.equal(false)
+ expect(wrapper.isEmpty()).toEqual(false)
}
)
@@ -78,7 +78,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').isEmpty()).to.equal(true)
+ expect(wrapper.find('svg').isEmpty()).toEqual(true)
})
it('returns false if innerHTML is not empty', () => {
@@ -92,20 +92,20 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').isEmpty()).to.equal(false)
+ expect(wrapper.find('svg').isEmpty()).toEqual(false)
})
it('returns true contains empty slot', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(true)
+ expect(wrapper.isEmpty()).toEqual(true)
})
it('returns false if node contains other nodes', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isEmpty()).to.equal(false)
+ expect(wrapper.isEmpty()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/isVisible.spec.js b/test/specs/wrapper/isVisible.spec.js
index a269f34e7..d4164f220 100644
--- a/test/specs/wrapper/isVisible.spec.js
+++ b/test/specs/wrapper/isVisible.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(true)
+ expect(element.isVisible()).toEqual(true)
})
it('returns false if element has inline style display: none', () => {
@@ -20,7 +20,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns false if element has inline style visibility: hidden', () => {
@@ -29,7 +29,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns false if element has hidden attribute', () => {
@@ -38,7 +38,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
)
const wrapper = mountingMethod(compiled)
const element = wrapper.find('.visible')
- expect(element.isVisible()).to.equal(false)
+ expect(element.isVisible()).toEqual(false)
})
it('returns true if element has v-show true', async () => {
@@ -47,10 +47,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyElement = wrapper.find('.parent.ready')
- expect(readyElement.isVisible()).to.equal(true)
+ expect(readyElement.isVisible()).toEqual(true)
})
it('returns false if element has v-show true', async () => {
@@ -59,10 +59,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyElement = wrapper.find('.parent.ready')
- expect(readyElement.isVisible()).to.equal(true)
+ expect(readyElement.isVisible()).toEqual(true)
})
it('returns true if parent element has v-show true', async () => {
@@ -71,10 +71,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if parent element has v-show false', async () => {
@@ -83,10 +83,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if root element has v-show false and parent has v-show true', async () => {
@@ -95,10 +95,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'rootReady', false)
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(false)
+ expect(notReadyElement.isVisible()).toEqual(false)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('returns false if root element has v-show true and parent has v-show false', async () => {
@@ -107,10 +107,10 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'rootReady', true)
await Vue.nextTick()
const notReadyElement = wrapper.find('.not-ready')
- expect(notReadyElement.isVisible()).to.equal(true)
+ expect(notReadyElement.isVisible()).toEqual(true)
const readyChildElement = wrapper.find('.child.ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('returns true if all elements are visible', async () => {
@@ -120,7 +120,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const readyChildElement = wrapper.find('.ready')
- expect(readyChildElement.isVisible()).to.equal(true)
+ expect(readyChildElement.isVisible()).toEqual(true)
})
it('returns false if one element is not visible', async () => {
@@ -130,7 +130,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const readyChildElement = wrapper.find('.ready, .not-ready')
- expect(readyChildElement.isVisible()).to.equal(false)
+ expect(readyChildElement.isVisible()).toEqual(false)
})
it('fails if one element is absent', async () => {
@@ -147,6 +147,6 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
wrapper.vm.$set(wrapper.vm, 'ready', true)
await Vue.nextTick()
- expect(wrapper.find('.child.ready').isVisible()).to.equal(true)
+ expect(wrapper.find('.child.ready').isVisible()).toEqual(true)
})
})
diff --git a/test/specs/wrapper/isVueInstance.spec.js b/test/specs/wrapper/isVueInstance.spec.js
index f677a4d1f..a52c4b63d 100644
--- a/test/specs/wrapper/isVueInstance.spec.js
+++ b/test/specs/wrapper/isVueInstance.spec.js
@@ -5,12 +5,12 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
it('returns true if wrapper is Vue instance', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.isVueInstance()).to.equal(true)
+ expect(wrapper.isVueInstance()).toEqual(true)
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').isVueInstance()).to.equal(false)
+ expect(wrapper.find('p').isVueInstance()).toEqual(false)
})
})
diff --git a/test/specs/wrapper/name.spec.js b/test/specs/wrapper/name.spec.js
index 0b8c2093a..e66914ce2 100644
--- a/test/specs/wrapper/name.spec.js
+++ b/test/specs/wrapper/name.spec.js
@@ -5,7 +5,7 @@ import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('name', mountingMethod => {
it('returns the name of the component it was called on', () => {
const wrapper = mountingMethod(Component)
- expect(wrapper.name()).to.equal('test-component')
+ expect(wrapper.name()).toEqual('test-component')
})
it('returns the name of the tag if there is no vnode', () => {
@@ -19,12 +19,12 @@ describeWithShallowAndMount('name', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find('svg').name()).to.equal('svg')
+ expect(wrapper.find('svg').name()).toEqual('svg')
})
it('returns the tag name of the element if it is not a Vue component', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').name()).to.equal('p')
+ expect(wrapper.find('p').name()).toEqual('p')
})
})
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 31afeac50..4674be5a7 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -46,7 +46,7 @@ describeWithShallowAndMount('props', mountingMethod => {
}
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.props().message).to.equal('hello')
+ expect(wrapper.props().message).toEqual('hello')
})
itSkipIf(
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index c21e86459..7b5ca0876 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -17,7 +17,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
input.setChecked()
- expect(input.element.checked).to.equal(true)
+ expect(input.element.checked).toEqual(true)
})
it('sets element checked equal to param passed', () => {
@@ -25,10 +25,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
input.setChecked(true)
- expect(input.element.checked).to.equal(true)
+ expect(input.element.checked).toEqual(true)
input.setChecked(false)
- expect(input.element.checked).to.equal(false)
+ expect(input.element.checked).toEqual(false)
})
it('updates dom with checkbox v-model', async () => {
@@ -53,7 +53,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
await input.setChecked(false)
await input.setChecked(false)
- expect(wrapper.find('.counter').text()).to.equal('4')
+ expect(wrapper.find('.counter').text()).toEqual('4')
})
it('triggers a change event when called on a checkbox', () => {
@@ -115,7 +115,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
await radioBar.setChecked()
await radioFoo.setChecked()
await radioFoo.setChecked()
- expect(wrapper.find('.counter').text()).to.equal('4')
+ expect(wrapper.find('.counter').text()).toEqual('4')
})
it('triggers a change event when called on a radio button', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 6f5078ab4..9ee8fee0d 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -21,19 +21,19 @@ describeWithShallowAndMount('setData', mountingMethod => {
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
const response = wrapper.setData({ ready: true })
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
expect(isPromise(response)).to.eql(true)
await response
- expect(wrapper.findAll('.child.ready').length).to.equal(1)
+ expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
it('sets component data and updates nested vm nodes when called on Vue instance', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
- expect(wrapper.findAll('.child.ready').length).to.equal(0)
+ expect(wrapper.findAll('.child.ready').length).toEqual(0)
await wrapper.setData({ ready: true })
- expect(wrapper.findAll('.child.ready').length).to.equal(1)
+ expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
it('keeps element in sync with vnode', async () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
const wrapper = mountingMethod(Component)
await wrapper.setData({ show: true })
- expect(wrapper.element).to.equal(wrapper.vm.$el)
+ expect(wrapper.element).toEqual(wrapper.vm.$el)
expect(wrapper.classes()).to.contain('some-class')
})
@@ -55,14 +55,14 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data1 })
- expect(wrapper.vm.data2).to.equal(data1)
+ expect(wrapper.vm.data2).toEqual(data1)
})
it('runs watch function after all props are updated', async () => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data2: 'newProp', data1 })
- expect(console.info.args[0][0]).to.equal(data1)
+ expect(console.info.args[0][0]).toEqual(data1)
})
it('throws error if node is not a Vue instance', () => {
@@ -129,7 +129,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
await wrapper.setData({ text: 'hello' })
- expect(wrapper.vm.basket[0]).to.equal('hello')
+ expect(wrapper.vm.basket[0]).toEqual('hello')
})
it('should not run watcher if data is null', async () => {
@@ -154,7 +154,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
await wrapper.setData({ message: null })
- expect(wrapper.text()).to.equal('There is no message yet')
+ expect(wrapper.text()).toEqual('There is no message yet')
})
it('updates an existing property in a data object', () => {
@@ -177,8 +177,8 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.anObject.propB).to.equal('b')
- expect(wrapper.vm.anObject.propA.prop1).to.equal('c')
+ expect(wrapper.vm.anObject.propB).toEqual('b')
+ expect(wrapper.vm.anObject.propA.prop1).toEqual('c')
})
it('should append a new property to an object without removing existing properties', () => {
@@ -201,8 +201,8 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.anObject.propA.prop1).to.equal('a')
- expect(wrapper.vm.anObject.propA.prop2).to.equal('b')
+ expect(wrapper.vm.anObject.propA.prop1).toEqual('a')
+ expect(wrapper.vm.anObject.propA.prop2).toEqual('b')
})
it('handles undefined values', async () => {
@@ -249,7 +249,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.vm.nullProperty.another.obj).to.equal(true)
+ expect(wrapper.vm.nullProperty.another.obj).toEqual(true)
})
it('does not merge arrays', async () => {
@@ -276,7 +276,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
}
})
- expect(wrapper.text()).to.equal('10')
+ expect(wrapper.text()).toEqual('10')
expect(wrapper.vm.nested.nested.nestedArray).to.deep.equal([10])
})
@@ -301,11 +301,11 @@ describeWithShallowAndMount('setData', mountingMethod => {
propC: 'c'
}
})
- expect(wrapper.vm.anObject.propA).to.equal('a')
- expect(wrapper.vm.anObject.propB).to.equal('b')
- expect(wrapper.vm.anObject.propC).to.equal('c')
- expect(wrapper.vm.anObjectKeys).to.equal('propA,propB,propC')
- expect(wrapper.html()).to.equal('propA,propB,propC
')
+ expect(wrapper.vm.anObject.propA).toEqual('a')
+ expect(wrapper.vm.anObject.propB).toEqual('b')
+ expect(wrapper.vm.anObject.propC).toEqual('c')
+ expect(wrapper.vm.anObjectKeys).toEqual('propA,propB,propC')
+ expect(wrapper.html()).toEqual('propA,propB,propC
')
})
it('allows setting data of type Date synchronously', () => {
@@ -322,6 +322,6 @@ describeWithShallowAndMount('setData', mountingMethod => {
const testDate = new Date()
const wrapper = mountingMethod(TestComponent)
wrapper.setData({ selectedDate: testDate })
- expect(wrapper.vm.selectedDate).to.equal(testDate)
+ expect(wrapper.vm.selectedDate).toEqual(testDate)
})
})
diff --git a/test/specs/wrapper/setMethods.spec.js b/test/specs/wrapper/setMethods.spec.js
index 1907950e9..95a396b3f 100644
--- a/test/specs/wrapper/setMethods.spec.js
+++ b/test/specs/wrapper/setMethods.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
const wrapper = mountingMethod(ComponentWithMethods)
const someMethod = () => {}
wrapper.setMethods({ someMethod })
- expect(wrapper.vm.someMethod).to.equal(someMethod)
+ expect(wrapper.vm.someMethod).toEqual(someMethod)
})
it('throws an error if node is not a Vue instance', () => {
@@ -17,7 +17,7 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setMethods({ ready: true })).throw(Error, message)
+ expect(() => p.setMethods({ ready: true })).toThrow(Error, message)
})
itDoNotRunIf(
@@ -25,14 +25,14 @@ describeWithShallowAndMount('setMethods', mountingMethod => {
'should replace methods when tied to an event',
() => {
const wrapper = mountingMethod(ComponentWithEvents)
- expect(wrapper.vm.isActive).to.be.false
+ expect(wrapper.vm.isActive).toBe(false)
wrapper.find('.toggle').trigger('click')
- expect(wrapper.vm.isActive).to.be.true
+ expect(wrapper.vm.isActive).toBe(true)
// Replace the toggle function so that the data supposedly won't change
const toggleActive = () => {}
wrapper.setMethods({ toggleActive })
wrapper.find('.toggle').trigger('click')
- expect(wrapper.vm.isActive).to.be.true
+ expect(wrapper.vm.isActive).toBe(true)
}
)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index ebd54cc17..69e218f0c 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -24,9 +24,9 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
expect(isPromise(response)).to.eql(true)
- expect(wrapper.find('.prop-1').text()).to.equal('')
+ expect(wrapper.find('.prop-1').text()).toEqual('')
await response
- expect(wrapper.find('.prop-1').text()).to.equal('foo')
+ expect(wrapper.find('.prop-1').text()).toEqual('foo')
})
it('sets component props and updates DOM when called on Vue instance', async () => {
@@ -35,8 +35,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const propsData = { prop1: 'a prop', prop2 }
const wrapper = mountingMethod(ComponentWithProps, { propsData })
await wrapper.setProps({ prop1 })
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
it('sets props and updates when called with same object', async () => {
@@ -50,7 +50,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
obj.shouldRender = () => true
await wrapper.setProps({ obj })
- expect(wrapper.is('div')).to.equal(true)
+ expect(wrapper.is('div')).toEqual(true)
})
it('setProps and props getter are in sync', () => {
@@ -61,7 +61,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const updatedValue = 'updated value'
wrapper.setProps({ prop1: updatedValue })
- expect(wrapper.props().prop1).to.equal(updatedValue)
+ expect(wrapper.props().prop1).toEqual(updatedValue)
})
it('sets component props, and updates DOM when propsData was not initially passed', async () => {
@@ -69,8 +69,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const prop2 = 'prop s'
const wrapper = mountingMethod(ComponentWithProps)
await wrapper.setProps({ prop1, prop2 })
- expect(wrapper.find('.prop-1').element.textContent).to.equal(prop1)
- expect(wrapper.find('.prop-2').element.textContent).to.equal(prop2)
+ expect(wrapper.find('.prop-1').element.textContent).toEqual(prop1)
+ expect(wrapper.find('.prop-2').element.textContent).toEqual(prop2)
})
describe('attrs', () => {
@@ -84,7 +84,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const prop1 = 'prop1'
const wrapper = mountingMethod(TestComponent)
wrapper.setProps({ prop1 })
- expect(wrapper.vm.$attrs.prop1).to.equal(prop1)
+ expect(wrapper.vm.$attrs.prop1).toEqual(prop1)
}
)
})
@@ -109,8 +109,8 @@ describeWithShallowAndMount('setProps', mountingMethod => {
})
wrapper.setProps({ propA: 'value' })
- expect(wrapper.props().propA).to.equal('value')
- expect(wrapper.vm.propA).to.equal('value')
+ expect(wrapper.props().propA).toEqual('value')
+ expect(wrapper.vm.propA).toEqual('value')
})
it('runs watchers correctly', async () => {
@@ -141,17 +141,17 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
propsData: { collection: [] }
})
- expect(wrapper.vm.stringified).to.equal('')
- expect(wrapper.vm.data).to.equal('')
+ expect(wrapper.vm.stringified).toEqual('')
+ expect(wrapper.vm.data).toEqual('')
await wrapper.setProps({ collection: [1, 2, 3] })
- expect(wrapper.vm.stringified).to.equal('1,2,3')
- expect(wrapper.vm.data).to.equal('1,2,3')
+ expect(wrapper.vm.stringified).toEqual('1,2,3')
+ expect(wrapper.vm.data).toEqual('1,2,3')
wrapper.vm.collection.push(4, 5)
await Vue.nextTick()
- expect(wrapper.vm.stringified).to.equal('1,2,3,4,5')
- expect(wrapper.vm.data).to.equal('1,2,3,4,5')
+ expect(wrapper.vm.stringified).toEqual('1,2,3,4,5')
+ expect(wrapper.vm.data).toEqual('1,2,3,4,5')
})
it('should not run watchers if prop updated is null', async () => {
@@ -178,14 +178,14 @@ describeWithShallowAndMount('setProps', mountingMethod => {
}
})
await wrapper.setProps({ message: null })
- expect(wrapper.text()).to.equal('There is no message yet')
+ expect(wrapper.text()).toEqual('There is no message yet')
})
it('runs watch function when prop is updated', async () => {
const wrapper = mountingMethod(ComponentWithWatch)
const prop1 = 'testest'
await wrapper.setProps({ prop1 })
- expect(wrapper.vm.prop2).to.equal(prop1)
+ expect(wrapper.vm.prop2).toEqual(prop1)
})
it('invokes watchers with immediate set to "true"', async () => {
@@ -272,7 +272,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const obj = {}
wrapper.setProps({ obj })
- expect(wrapper.props().obj).to.equal(obj)
+ expect(wrapper.props().obj).toEqual(obj)
})
describe('invalid arguments', () => {
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index f1b949f1e..e27f2962f 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
await options.at(1).setSelected()
- expect(options.at(1).element.selected).to.equal(true)
+ expect(options.at(1).element.selected).toEqual(true)
})
it('updates dom with select v-model', async () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 1a671faa1..5c189d43f 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
input.setValue('foo')
- expect(input.element.value).to.equal('foo')
+ expect(input.element.value).toEqual('foo')
})
it('sets element of textarea value', () => {
@@ -26,7 +26,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const textarea = wrapper.find('textarea')
textarea.setValue('foo')
- expect(textarea.element.value).to.equal('foo')
+ expect(textarea.element.value).toEqual('foo')
})
it('updates dom with input v-model', async () => {
@@ -54,7 +54,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select')
select.setValue('selectB')
- expect(select.element.value).to.equal('selectB')
+ expect(select.element.value).toEqual('selectB')
})
it('updates dom with select v-model', async () => {
diff --git a/test/specs/wrapper/text.spec.js b/test/specs/wrapper/text.spec.js
index 2137b76a7..c423b475b 100644
--- a/test/specs/wrapper/text.spec.js
+++ b/test/specs/wrapper/text.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('text', mountingMethod => {
const compiled = compileToFunctions(`${text}
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.text()).to.equal(text)
+ expect(wrapper.text()).toEqual(text)
})
it('returns trimmed text content of wrapper node', () => {
@@ -18,6 +18,6 @@ describeWithShallowAndMount('text', mountingMethod => {
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.text()).to.equal(text)
+ expect(wrapper.text()).toEqual(text)
})
})
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 2bb3708a6..080ed1dd2 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const button = wrapper.find('.click')
button.trigger('click')
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
@@ -47,7 +47,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.find('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
@@ -62,11 +62,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
// Unfortunately, JSDom will give different types than PhantomJS for keyCodes (string vs number), so we have to use parseInt to normalize the types.
it('contains the keyCode', () => {
- expect(parseInt(keyboardEvent.keyCode, 10)).to.equal(65)
+ expect(parseInt(keyboardEvent.keyCode, 10)).toEqual(65)
})
itDoNotRunIf(isRunningPhantomJS, 'contains the code', () => {
- expect(parseInt(keyboardEvent.code, 10)).to.equal(65)
+ expect(parseInt(keyboardEvent.code, 10)).toEqual(65)
})
})
@@ -77,7 +77,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
wrapper.find('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).to.equal(true)
+ expect(keydownHandler.calledOnce).toEqual(true)
})
it('convert a registered key name to a key code', () => {
@@ -105,7 +105,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
for (const keyName in modifiers) {
const keyCode = modifiers[keyName]
wrapper.find('.keydown').trigger(`keyup.${keyName}`)
- expect(keyupHandler.lastCall.args[0].keyCode).to.equal(keyCode)
+ expect(keyupHandler.lastCall.args[0].keyCode).toEqual(keyCode)
}
})
@@ -134,7 +134,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
button.trigger('mousedown', {
button: 0
})
- expect(clickHandler.calledOnce).to.equal(true)
+ expect(clickHandler.calledOnce).toEqual(true)
})
it('adds custom data to events', () => {
@@ -169,7 +169,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
buttonWrapper.trigger('click')
- expect(clickHandler.called).to.equal(false)
+ expect(clickHandler.called).toEqual(false)
const changeHandler = sandbox.stub()
const InputComponent = {
@@ -182,7 +182,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
inputWrapper.trigger('change')
- expect(changeHandler.called).to.equal(false)
+ expect(changeHandler.called).toEqual(false)
})
it('fires on invalid disabled elements', () => {
@@ -197,7 +197,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
linkWrapper.trigger('click')
- expect(clickHandler.called).to.equal(true)
+ expect(clickHandler.called).toEqual(true)
})
it('handles .prevent', () => {
diff --git a/yarn.lock b/yarn.lock
index 4751f49e9..d41b06e49 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -51,7 +51,7 @@
semver "^5.4.1"
source-map "^0.5.0"
-"@babel/core@^7.0.0":
+"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.7.5":
version "7.11.0"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.0.tgz#73b9c33f1658506887f767c26dae07798b30df76"
integrity sha512-mkLq8nwaXmDtFmRkQ8ED/eA2CnVw4zr7dCztKalZXBvdK5EeNUAesrrwUqjQEzFgomJssayzB0aqlOsP1vGLqg==
@@ -464,7 +464,7 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
-"@babel/parser@^7.0.0", "@babel/parser@^7.10.4", "@babel/parser@^7.11.0":
+"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.10.4", "@babel/parser@^7.11.0":
version "7.11.0"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.0.tgz#a9d7e11aead25d3b422d17b2c6502c8dddef6a5d"
integrity sha512-qvRvi4oI8xii8NllyEc4MDJjuZiNaRzyb7Y7lup1NqJV8TZHF4O27CcP+72WPn/k1zkgJ6WJfnIbk4jTsVAZHw==
@@ -666,20 +666,27 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-async-generators@^7.8.0":
+"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4":
version "7.8.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d"
integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
+"@babel/plugin-syntax-bigint@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea"
+ integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.8.0"
+
"@babel/plugin-syntax-class-properties@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.47.tgz#de52bed12fd472c848e1562f57dd4a202fe27f11"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-class-properties@^7.10.4":
+"@babel/plugin-syntax-class-properties@^7.10.4", "@babel/plugin-syntax-class-properties@^7.8.3":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.10.4.tgz#6644e6a0baa55a61f9e3231f6c9eeb6ee46c124c"
integrity sha512-GCSBF7iUle6rNugfURwNmCGG3Z/2+opxAMLs1nND4bhEG5PuxTIggDBoeYYSujAlLtsupzOHYJQgPS3pivwXIA==
@@ -744,7 +751,14 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-json-strings@^7.8.0":
+"@babel/plugin-syntax-import-meta@^7.8.3":
+ version "7.10.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51"
+ integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.10.4"
+
+"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a"
integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==
@@ -764,14 +778,14 @@
dependencies:
"@babel/helper-plugin-utils" "^7.10.4"
-"@babel/plugin-syntax-logical-assignment-operators@^7.10.4":
+"@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699"
integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==
dependencies:
"@babel/helper-plugin-utils" "^7.10.4"
-"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0":
+"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9"
integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==
@@ -784,7 +798,7 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-numeric-separator@^7.10.4":
+"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97"
integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==
@@ -797,7 +811,7 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-object-rest-spread@^7.8.0":
+"@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==
@@ -810,14 +824,14 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.47"
-"@babel/plugin-syntax-optional-catch-binding@^7.8.0":
+"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1"
integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
-"@babel/plugin-syntax-optional-chaining@^7.8.0":
+"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==
@@ -1071,7 +1085,7 @@
"@babel/helper-plugin-utils" "7.0.0-beta.47"
"@babel/helper-simple-access" "7.0.0-beta.47"
-"@babel/plugin-transform-modules-commonjs@^7.10.4":
+"@babel/plugin-transform-modules-commonjs@^7.10.4", "@babel/plugin-transform-modules-commonjs@^7.2.0":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.4.tgz#66667c3eeda1ebf7896d41f1f16b17105a2fbca0"
integrity sha512-Xj7Uq5o80HDLlW64rVfDBhao6OX89HKUmb+9vWYaLXBZOma4gA6tw4Ni1O5qVDoZWUV0fxMYA0aYzOawz0l+1w==
@@ -1476,7 +1490,7 @@
babylon "7.0.0-beta.47"
lodash "^4.17.5"
-"@babel/template@^7.10.4":
+"@babel/template@^7.10.4", "@babel/template@^7.3.3":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278"
integrity sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==
@@ -1500,7 +1514,7 @@
invariant "^2.2.0"
lodash "^4.17.5"
-"@babel/traverse@^7.0.0", "@babel/traverse@^7.10.4", "@babel/traverse@^7.11.0":
+"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.4", "@babel/traverse@^7.11.0":
version "7.11.0"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.11.0.tgz#9b996ce1b98f53f7c3e4175115605d56ed07dd24"
integrity sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==
@@ -1523,7 +1537,7 @@
lodash "^4.17.5"
to-fast-properties "^2.0.0"
-"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.4.4":
+"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
version "7.11.0"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.11.0.tgz#2ae6bf1ba9ae8c3c43824e5861269871b206e90d"
integrity sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==
@@ -1532,6 +1546,19 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"
+"@bcoe/v8-coverage@^0.2.3":
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
+ integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
+
+"@cnakazawa/watch@^1.0.3":
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a"
+ integrity sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==
+ dependencies:
+ exec-sh "^0.3.2"
+ minimist "^1.2.0"
+
"@commitlint/cli@^8.2.0":
version "8.3.4"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-8.3.4.tgz#aabcd997124bd0656ebd2a805ec9e92cfb663d78"
@@ -1738,6 +1765,193 @@
unique-filename "^1.1.1"
which "^1.3.1"
+"@istanbuljs/load-nyc-config@^1.0.0":
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
+ integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==
+ dependencies:
+ camelcase "^5.3.1"
+ find-up "^4.1.0"
+ get-package-type "^0.1.0"
+ js-yaml "^3.13.1"
+ resolve-from "^5.0.0"
+
+"@istanbuljs/schema@^0.1.2":
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd"
+ integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==
+
+"@jest/console@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.2.0.tgz#d18f2659b90930e7ec3925fb7209f1ba2cf463f0"
+ integrity sha512-mXQfx3nSLwiHm1i7jbu+uvi+vvpVjNGzIQYLCfsat9rapC+MJkS4zBseNrgJE0vU921b3P67bQzhduphjY3Tig==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ chalk "^4.0.0"
+ jest-message-util "^26.2.0"
+ jest-util "^26.2.0"
+ slash "^3.0.0"
+
+"@jest/core@^26.2.2":
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.2.2.tgz#63de01ffce967618003dd7a0164b05c8041b81a9"
+ integrity sha512-UwA8gNI8aeV4FHGfGAUfO/DHjrFVvlBravF1Tm9Kt6qFE+6YHR47kFhgdepOFpADEKstyO+MVdPvkV6/dyt9sA==
+ dependencies:
+ "@jest/console" "^26.2.0"
+ "@jest/reporters" "^26.2.2"
+ "@jest/test-result" "^26.2.0"
+ "@jest/transform" "^26.2.2"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ ansi-escapes "^4.2.1"
+ chalk "^4.0.0"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ jest-changed-files "^26.2.0"
+ jest-config "^26.2.2"
+ jest-haste-map "^26.2.2"
+ jest-message-util "^26.2.0"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.2.2"
+ jest-resolve-dependencies "^26.2.2"
+ jest-runner "^26.2.2"
+ jest-runtime "^26.2.2"
+ jest-snapshot "^26.2.2"
+ jest-util "^26.2.0"
+ jest-validate "^26.2.0"
+ jest-watcher "^26.2.0"
+ micromatch "^4.0.2"
+ p-each-series "^2.1.0"
+ rimraf "^3.0.0"
+ slash "^3.0.0"
+ strip-ansi "^6.0.0"
+
+"@jest/environment@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.2.0.tgz#f6faee1630fcc2fad208953164bccb31dbe0e45f"
+ integrity sha512-oCgp9NmEiJ5rbq9VI/v/yYLDpladAAVvFxZgNsnJxOETuzPZ0ZcKKHYjKYwCtPOP1WCrM5nmyuOhMStXFGHn+g==
+ dependencies:
+ "@jest/fake-timers" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ jest-mock "^26.2.0"
+
+"@jest/fake-timers@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.2.0.tgz#b485c57dc4c74d61406a339807a9af4bac74b75a"
+ integrity sha512-45Gfe7YzYTKqTayBrEdAF0qYyAsNRBzfkV0IyVUm3cx7AsCWlnjilBM4T40w7IXT5VspOgMPikQlV0M6gHwy/g==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ "@sinonjs/fake-timers" "^6.0.1"
+ "@types/node" "*"
+ jest-message-util "^26.2.0"
+ jest-mock "^26.2.0"
+ jest-util "^26.2.0"
+
+"@jest/globals@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.2.0.tgz#ad78f1104f250c1a4bf5184a2ba51facc59b23f6"
+ integrity sha512-Hoc6ScEIPaym7RNytIL2ILSUWIGKlwEv+JNFof9dGYOdvPjb2evEURSslvCMkNuNg1ECEClTE8PH7ULlMJntYA==
+ dependencies:
+ "@jest/environment" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ expect "^26.2.0"
+
+"@jest/reporters@^26.2.2":
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.2.2.tgz#5a8632ab410f4fc57782bc05dcf115e91818e869"
+ integrity sha512-7854GPbdFTAorWVh+RNHyPO9waRIN6TcvCezKVxI1khvFq9YjINTW7J3WU+tbR038Ynn6WjYred6vtT0YmIWVQ==
+ dependencies:
+ "@bcoe/v8-coverage" "^0.2.3"
+ "@jest/console" "^26.2.0"
+ "@jest/test-result" "^26.2.0"
+ "@jest/transform" "^26.2.2"
+ "@jest/types" "^26.2.0"
+ chalk "^4.0.0"
+ collect-v8-coverage "^1.0.0"
+ exit "^0.1.2"
+ glob "^7.1.2"
+ graceful-fs "^4.2.4"
+ istanbul-lib-coverage "^3.0.0"
+ istanbul-lib-instrument "^4.0.3"
+ istanbul-lib-report "^3.0.0"
+ istanbul-lib-source-maps "^4.0.0"
+ istanbul-reports "^3.0.2"
+ jest-haste-map "^26.2.2"
+ jest-resolve "^26.2.2"
+ jest-util "^26.2.0"
+ jest-worker "^26.2.1"
+ slash "^3.0.0"
+ source-map "^0.6.0"
+ string-length "^4.0.1"
+ terminal-link "^2.0.0"
+ v8-to-istanbul "^4.1.3"
+ optionalDependencies:
+ node-notifier "^7.0.0"
+
+"@jest/source-map@^26.1.0":
+ version "26.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.1.0.tgz#a6a020d00e7d9478f4b690167c5e8b77e63adb26"
+ integrity sha512-XYRPYx4eEVX15cMT9mstnO7hkHP3krNtKfxUYd8L7gbtia8JvZZ6bMzSwa6IQJENbudTwKMw5R1BePRD+bkEmA==
+ dependencies:
+ callsites "^3.0.0"
+ graceful-fs "^4.2.4"
+ source-map "^0.6.0"
+
+"@jest/test-result@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.2.0.tgz#51c9b165c8851cfcf7a3466019114785e154f76b"
+ integrity sha512-kgPlmcVafpmfyQEu36HClK+CWI6wIaAWDHNxfQtGuKsgoa2uQAYdlxjMDBEa3CvI40+2U3v36gQF6oZBkoKatw==
+ dependencies:
+ "@jest/console" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/istanbul-lib-coverage" "^2.0.0"
+ collect-v8-coverage "^1.0.0"
+
+"@jest/test-sequencer@^26.2.2":
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.2.2.tgz#5e8091f2e6c61fdf242af566cb820a4eadc6c4af"
+ integrity sha512-SliZWon5LNqV/lVXkeowSU6L8++FGOu3f43T01L1Gv6wnFDP00ER0utV9jyK9dVNdXqfMNCN66sfcyar/o7BNw==
+ dependencies:
+ "@jest/test-result" "^26.2.0"
+ graceful-fs "^4.2.4"
+ jest-haste-map "^26.2.2"
+ jest-runner "^26.2.2"
+ jest-runtime "^26.2.2"
+
+"@jest/transform@^26.2.2":
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.2.2.tgz#86c005c8d5d749ac54d8df53ea58675fffe7a97e"
+ integrity sha512-c1snhvi5wRVre1XyoO3Eef5SEWpuBCH/cEbntBUd9tI5sNYiBDmO0My/lc5IuuGYKp/HFIHV1eZpSx5yjdkhKw==
+ dependencies:
+ "@babel/core" "^7.1.0"
+ "@jest/types" "^26.2.0"
+ babel-plugin-istanbul "^6.0.0"
+ chalk "^4.0.0"
+ convert-source-map "^1.4.0"
+ fast-json-stable-stringify "^2.0.0"
+ graceful-fs "^4.2.4"
+ jest-haste-map "^26.2.2"
+ jest-regex-util "^26.0.0"
+ jest-util "^26.2.0"
+ micromatch "^4.0.2"
+ pirates "^4.0.1"
+ slash "^3.0.0"
+ source-map "^0.6.1"
+ write-file-atomic "^3.0.0"
+
+"@jest/types@^26.2.0":
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.2.0.tgz#b28ca1fb517a4eb48c0addea7fcd9edc4ab45721"
+ integrity sha512-lvm3rJvctxd7+wxKSxxbzpDbr4FXDLaC57WEKdUIZ2cjTYuxYSc0zlyD7Z4Uqr5VdKxRUrtwIkiqBuvgf8uKJA==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.0"
+ "@types/istanbul-reports" "^1.1.1"
+ "@types/node" "*"
+ "@types/yargs" "^15.0.0"
+ chalk "^4.0.0"
+
"@lerna/add@3.20.0":
version "3.20.0"
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.20.0.tgz#bea7edf36fc93fb72ec34cb9ba854c48d4abf309"
@@ -2561,6 +2775,20 @@
dependencies:
type-detect "4.0.8"
+"@sinonjs/commons@^1.7.0":
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.1.tgz#e7df00f98a203324f6dc7cc606cad9d4a8ab2217"
+ integrity sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw==
+ dependencies:
+ type-detect "4.0.8"
+
+"@sinonjs/fake-timers@^6.0.1":
+ version "6.0.1"
+ resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz#293674fccb3262ac782c7aadfdeca86b10c75c40"
+ integrity sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==
+ dependencies:
+ "@sinonjs/commons" "^1.7.0"
+
"@sinonjs/formatio@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.1.0.tgz#6ac9d1eb1821984d84c4996726e45d1646d8cce5"
@@ -2577,11 +2805,49 @@
array-from "^2.1.1"
lodash.get "^4.4.2"
+"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7":
+ version "7.1.9"
+ resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.9.tgz#77e59d438522a6fb898fa43dc3455c6e72f3963d"
+ integrity sha512-sY2RsIJ5rpER1u3/aQ8OFSI7qGIy8o1NEEbgb2UaJcvOtXOMpd39ko723NBpjQFg9SIX7TXtjejZVGeIMLhoOw==
+ dependencies:
+ "@babel/parser" "^7.1.0"
+ "@babel/types" "^7.0.0"
+ "@types/babel__generator" "*"
+ "@types/babel__template" "*"
+ "@types/babel__traverse" "*"
+
+"@types/babel__generator@*":
+ version "7.6.1"
+ resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.1.tgz#4901767b397e8711aeb99df8d396d7ba7b7f0e04"
+ integrity sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==
+ dependencies:
+ "@babel/types" "^7.0.0"
+
+"@types/babel__template@*":
+ version "7.0.2"
+ resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.0.2.tgz#4ff63d6b52eddac1de7b975a5223ed32ecea9307"
+ integrity sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==
+ dependencies:
+ "@babel/parser" "^7.1.0"
+ "@babel/types" "^7.0.0"
+
+"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6":
+ version "7.0.13"
+ resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.0.13.tgz#1874914be974a492e1b4cb00585cabb274e8ba18"
+ integrity sha512-i+zS7t6/s9cdQvbqKDARrcbrPvtJGlbYsMkazo03nTAK3RX9FNrLllXys22uiTGJapPOTZTQ35nHh4ISph4SLQ==
+ dependencies:
+ "@babel/types" "^7.3.0"
+
"@types/cheerio@^0.22.10":
version "0.22.10"
resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.10.tgz#780d552467824be4a241b29510a7873a7432c4a6"
integrity sha512-fOM/Jhv51iyugY7KOBZz2ThfT1gwvsGCfWxpLpZDgkGjpEO4Le9cld07OdskikLjDUQJ43dzDaVRSFwQlpdqVg==
+"@types/color-name@^1.1.1":
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
+ integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==
+
"@types/estree@*", "@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
@@ -2601,6 +2867,33 @@
"@types/minimatch" "*"
"@types/node" "*"
+"@types/graceful-fs@^4.1.2":
+ version "4.1.3"
+ resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.3.tgz#039af35fe26bec35003e8d86d2ee9c586354348f"
+ integrity sha512-AiHRaEB50LQg0pZmm659vNBb9f4SJ0qrAnteuzhSeAUcJKxoYgEnprg/83kppCnc2zvtCKbdZry1a5pVY3lOTQ==
+ dependencies:
+ "@types/node" "*"
+
+"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
+ integrity sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==
+
+"@types/istanbul-lib-report@*":
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686"
+ integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==
+ dependencies:
+ "@types/istanbul-lib-coverage" "*"
+
+"@types/istanbul-reports@^1.1.1":
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2"
+ integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==
+ dependencies:
+ "@types/istanbul-lib-coverage" "*"
+ "@types/istanbul-lib-report" "*"
+
"@types/json-schema@^7.0.4":
version "7.0.5"
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd"
@@ -2631,6 +2924,11 @@
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
+"@types/prettier@^2.0.0":
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.2.tgz#5bb52ee68d0f8efa9cc0099920e56be6cc4e37f3"
+ integrity sha512-IkVfat549ggtkZUthUzEX49562eGikhSYeVGX97SkMFn+sTZrgRewXjQ4tPKFPCykZHkX1Zfd9OoELGqKU2jJA==
+
"@types/resolve@0.0.8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"
@@ -2643,6 +2941,23 @@
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.0.tgz#d688d574400d96c5b0114968705366f431831e1a"
integrity sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA==
+"@types/stack-utils@^1.0.1":
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"
+ integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==
+
+"@types/yargs-parser@*":
+ version "15.0.0"
+ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"
+ integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==
+
+"@types/yargs@^15.0.0":
+ version "15.0.5"
+ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.5.tgz#947e9a6561483bdee9adffc983e91a6902af8b79"
+ integrity sha512-Dk/IDOPtOgubt/IaevIUbTgV7doaKkoorvOyYM2CMwuDyP89bekI7H4xLIwunNYiK9jhCkmc6pUrJk3cj2AB9w==
+ dependencies:
+ "@types/yargs-parser" "*"
+
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040"
@@ -2734,6 +3049,22 @@
source-map "^0.5.6"
vue-template-es2015-compiler "^1.6.0"
+"@vue/component-compiler-utils@^3.1.0":
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.2.0.tgz#8f85182ceed28e9b3c75313de669f83166d11e5d"
+ integrity sha512-lejBLa7xAMsfiZfNp7Kv51zOzifnb29FwdnMLa96z26kXErPFioSf9BMcePVIQ6/Gc6/mC0UrPpxAWIHyae0vw==
+ dependencies:
+ consolidate "^0.15.1"
+ hash-sum "^1.0.2"
+ lru-cache "^4.1.2"
+ merge-source-map "^1.1.0"
+ postcss "^7.0.14"
+ postcss-selector-parser "^6.0.2"
+ source-map "~0.6.1"
+ vue-template-es2015-compiler "^1.9.0"
+ optionalDependencies:
+ prettier "^1.18.2"
+
"@vue/composition-api@^0.6.4":
version "0.6.4"
resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-0.6.4.tgz#b12a85183eecdbb18453efae28853edb77b4a625"
@@ -2910,6 +3241,11 @@ abab@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f"
+abab@^2.0.3:
+ version "2.0.4"
+ resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.4.tgz#6dfa57b417ca06d21b2478f0e638302f99c2405c"
+ integrity sha512-Eu9ELJWCz/c1e9gTiCY+FceWxcqzjYEbqMgtndnuSqZSUCOL73TWNK2mHfIj4Cw2E/ongOp+JISVNCmovt2KYQ==
+
abbrev@1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
@@ -2953,6 +3289,14 @@ acorn-globals@^4.1.0:
dependencies:
acorn "^5.0.0"
+acorn-globals@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45"
+ integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==
+ dependencies:
+ acorn "^7.1.1"
+ acorn-walk "^7.1.1"
+
acorn-jsx@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
@@ -2964,6 +3308,11 @@ acorn-jsx@^5.0.1:
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
+acorn-walk@^7.1.1:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc"
+ integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==
+
acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
@@ -2990,6 +3339,11 @@ acorn@^7.1.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
+acorn@^7.1.1:
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
+ integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
+
after@0.8.2:
version "0.8.2"
resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
@@ -3058,7 +3412,7 @@ ajv@^6.0.1, ajv@^6.1.0:
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.3.0"
-ajv@^6.12.2:
+ajv@^6.12.2, ajv@^6.12.3:
version "6.12.3"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
@@ -3119,6 +3473,13 @@ ansi-escapes@^3.2.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.1"
+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61"
+ integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==
+ dependencies:
+ type-fest "^0.11.0"
+
ansi-regex@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
@@ -3133,6 +3494,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://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
+ integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
+
ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -3144,6 +3510,14 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
dependencies:
color-convert "^1.9.0"
+ansi-styles@^4.0.0, ansi-styles@^4.1.0:
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359"
+ integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==
+ dependencies:
+ "@types/color-name" "^1.1.1"
+ color-convert "^2.0.1"
+
any-observable@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b"
@@ -3168,6 +3542,14 @@ anymatch@^2.0.0:
micromatch "^3.1.4"
normalize-path "^2.1.1"
+anymatch@^3.0.3:
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"
+ integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==
+ dependencies:
+ normalize-path "^3.0.0"
+ picomatch "^2.0.4"
+
app-root-path@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.0.1.tgz#cd62dcf8e4fd5a417efc664d2e5b10653c651b46"
@@ -3356,6 +3738,11 @@ atob@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a"
+atob@^2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
+ integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
+
autocomplete.js@^0.29.0:
version "0.29.0"
resolved "https://registry.yarnpkg.com/autocomplete.js/-/autocomplete.js-0.29.0.tgz#0185f7375ee9daf068f7d52d794bc90dcd739fd7"
@@ -3421,6 +3808,20 @@ babel-helper-vue-jsx-merge-props@^2.0.3:
resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
integrity sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==
+babel-jest@^26.0.1, babel-jest@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.2.2.tgz#70f618f2d7016ed71b232241199308985462f812"
+ integrity sha512-JmLuePHgA+DSOdOL8lPxCgD2LhPPm+rdw1vnxR73PpIrnmKCS2/aBhtkAcxQWuUcW2hBrH8MJ3LKXE7aWpNZyA==
+ dependencies:
+ "@jest/transform" "^26.2.2"
+ "@jest/types" "^26.2.0"
+ "@types/babel__core" "^7.1.7"
+ babel-plugin-istanbul "^6.0.0"
+ babel-preset-jest "^26.2.0"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ slash "^3.0.0"
+
babel-loader@8.0.0-beta.3:
version "8.0.0-beta.3"
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.0-beta.3.tgz#49efeea6e8058d5af860a18a6de88b8c1450645b"
@@ -3454,6 +3855,27 @@ babel-plugin-dynamic-import-node@^2.3.3:
dependencies:
object.assign "^4.1.0"
+babel-plugin-istanbul@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765"
+ integrity sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+ "@istanbuljs/load-nyc-config" "^1.0.0"
+ "@istanbuljs/schema" "^0.1.2"
+ istanbul-lib-instrument "^4.0.0"
+ test-exclude "^6.0.0"
+
+babel-plugin-jest-hoist@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.2.0.tgz#bdd0011df0d3d513e5e95f76bd53b51147aca2dd"
+ integrity sha512-B/hVMRv8Nh1sQ1a3EY8I0n4Y1Wty3NrR5ebOyVT302op+DOAau+xNEImGMsUWOC3++ZlMooCytKz+NgN8aKGbA==
+ dependencies:
+ "@babel/template" "^7.3.3"
+ "@babel/types" "^7.3.3"
+ "@types/babel__core" "^7.0.0"
+ "@types/babel__traverse" "^7.0.6"
+
babel-plugin-syntax-dynamic-import@^6.18.0:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
@@ -3473,6 +3895,31 @@ babel-polyfill@6.26.0:
core-js "^2.5.0"
regenerator-runtime "^0.10.5"
+babel-preset-current-node-syntax@^0.1.2:
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.3.tgz#b4b547acddbf963cba555ba9f9cbbb70bfd044da"
+ integrity sha512-uyexu1sVwcdFnyq9o8UQYsXwXflIh8LvrF5+cKrYam93ned1CStffB3+BEcsxGSgagoA3GEyjDqO4a/58hyPYQ==
+ dependencies:
+ "@babel/plugin-syntax-async-generators" "^7.8.4"
+ "@babel/plugin-syntax-bigint" "^7.8.3"
+ "@babel/plugin-syntax-class-properties" "^7.8.3"
+ "@babel/plugin-syntax-import-meta" "^7.8.3"
+ "@babel/plugin-syntax-json-strings" "^7.8.3"
+ "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3"
+ "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3"
+ "@babel/plugin-syntax-numeric-separator" "^7.8.3"
+ "@babel/plugin-syntax-object-rest-spread" "^7.8.3"
+ "@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
+ "@babel/plugin-syntax-optional-chaining" "^7.8.3"
+
+babel-preset-jest@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.2.0.tgz#f198201a4e543a43eb40bc481e19736e095fd3e0"
+ integrity sha512-R1k8kdP3R9phYQugXeNnK/nvCGlBzG4m3EoIIukC80GXb6wCv2XiwPhK6K9MAkQcMszWBYvl2Wm+yigyXFQqXg==
+ dependencies:
+ babel-plugin-jest-hoist "^26.2.0"
+ babel-preset-current-node-syntax "^0.1.2"
+
babel-runtime@^6.18.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
@@ -3685,6 +4132,11 @@ browser-process-hrtime@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e"
+browser-process-hrtime@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626"
+ integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==
+
browser-stdout@1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
@@ -3773,6 +4225,20 @@ browserslist@^4.12.0, browserslist@^4.8.5:
escalade "^3.0.1"
node-releases "^1.1.58"
+bs-logger@0.x:
+ version "0.2.6"
+ resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"
+ integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==
+ dependencies:
+ fast-json-stable-stringify "2.x"
+
+bser@2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05"
+ integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==
+ dependencies:
+ node-int64 "^0.4.0"
+
btoa-lite@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337"
@@ -3792,7 +4258,7 @@ buble@^0.19.8:
os-homedir "^2.0.0"
regexpu-core "^4.5.4"
-buffer-from@^1.0.0:
+buffer-from@1.x, buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
@@ -3989,11 +4455,16 @@ camelcase@^4.0.0, camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
-camelcase@^5.0.0:
+camelcase@^5.0.0, camelcase@^5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
+camelcase@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e"
+ integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==
+
caniuse-api@^1.5.2:
version "1.6.1"
resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-1.6.1.tgz#b534e7c734c4f81ec5fbe8aca2ad24354b962c6c"
@@ -4020,6 +4491,13 @@ caniuse-lite@^1.0.30001093:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001109.tgz#a9f3f26a0c3753b063d7acbb48dfb9c0e46f2b19"
integrity sha512-4JIXRodHzdS3HdK8nSgIqXYLExOvG+D2/EenSvcub2Kp3QEADjo2v2oUn5g0n0D+UNwG9BtwKOyGcSq2qvQXvQ==
+capture-exit@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4"
+ integrity sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==
+ dependencies:
+ rsvp "^4.8.4"
+
capture-stack-trace@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d"
@@ -4067,6 +4545,19 @@ chalk@^1.0.0, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
+chalk@^4.0.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
+ integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
+ dependencies:
+ ansi-styles "^4.1.0"
+ supports-color "^7.1.0"
+
+char-regex@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
+ integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
+
character-entities-legacy@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.1.tgz#f40779df1a101872bb510a3d295e1fccf147202f"
@@ -4263,6 +4754,15 @@ cliui@^5.0.0:
strip-ansi "^5.2.0"
wrap-ansi "^5.1.0"
+cliui@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
+ integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==
+ dependencies:
+ string-width "^4.2.0"
+ strip-ansi "^6.0.0"
+ wrap-ansi "^6.2.0"
+
clone-deep@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387"
@@ -4296,6 +4796,11 @@ collapse-white-space@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.3.tgz#4b906f670e5a963a87b76b0e1689643341b6023c"
+collect-v8-coverage@^1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59"
+ integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==
+
collection-visit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
@@ -4309,10 +4814,22 @@ color-convert@^1.3.0, color-convert@^1.9.0:
dependencies:
color-name "^1.1.1"
+color-convert@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
+ integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
+ dependencies:
+ color-name "~1.1.4"
+
color-name@^1.0.0, color-name@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
+color-name@~1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
+ integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
+
color-string@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991"
@@ -4787,7 +5304,7 @@ convert-source-map@^1.1.0:
version "1.5.1"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
-convert-source-map@^1.7.0:
+convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==
@@ -5049,10 +5566,25 @@ css-what@2.1:
version "2.1.0"
resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd"
+css@^2.1.0:
+ version "2.2.4"
+ resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929"
+ integrity sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==
+ dependencies:
+ inherits "^2.0.3"
+ source-map "^0.6.1"
+ source-map-resolve "^0.5.2"
+ urix "^0.1.0"
+
cssesc@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"
+cssesc@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
+ integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
+
cssnano@^3.10.0, cssnano@^3.4.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38"
@@ -5101,12 +5633,29 @@ cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
version "0.3.2"
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b"
+cssom@^0.4.4:
+ version "0.4.4"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10"
+ integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==
+
+cssom@~0.3.6:
+ version "0.3.8"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
+ integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
+
cssstyle@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-1.1.1.tgz#18b038a9c44d65f7a8e428a653b9f6fe42faf5fb"
dependencies:
cssom "0.3.x"
+cssstyle@^2.2.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852"
+ integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==
+ dependencies:
+ cssom "~0.3.6"
+
currently-unhandled@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
@@ -5177,6 +5726,15 @@ data-urls@^1.0.1:
whatwg-mimetype "^2.1.0"
whatwg-url "^7.0.0"
+data-urls@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b"
+ integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==
+ dependencies:
+ abab "^2.0.3"
+ whatwg-mimetype "^2.3.0"
+ whatwg-url "^8.0.0"
+
date-fns@^1.27.2:
version "1.30.1"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
@@ -5234,6 +5792,11 @@ decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, deca
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
+decimal.js@^10.2.0:
+ version "10.2.0"
+ resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.2.0.tgz#39466113a9e036111d02f82489b5fd6b0b5ed231"
+ integrity sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==
+
decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
@@ -5270,6 +5833,11 @@ deepmerge@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz#10499d868844cdad4fee0842df8c7f6f0c95a753"
+deepmerge@^4.2.2:
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
+ integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==
+
defaults@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
@@ -5402,6 +5970,11 @@ detect-libc@^1.0.2:
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
+detect-newline@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
+ integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
+
dezalgo@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456"
@@ -5418,6 +5991,11 @@ diacritics@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
+diff-sequences@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6"
+ integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==
+
diff@3.5.0, diff@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
@@ -5515,6 +6093,13 @@ domexception@^1.0.1:
dependencies:
webidl-conversions "^4.0.2"
+domexception@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304"
+ integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==
+ dependencies:
+ webidl-conversions "^5.0.0"
+
domhandler@2.1:
version "2.1.0"
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594"
@@ -5629,11 +6214,21 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
+emittery@^0.7.1:
+ version "0.7.1"
+ resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.7.1.tgz#c02375a927a40948c0345cc903072597f5270451"
+ integrity sha512-d34LN4L6h18Bzz9xpoku2nPwKxCPlPMr3EEKTkoEBi+1/+b0lcRkRJ1UVyyZaKNeqGR3swcGl6s390DNO4YVgQ==
+
emoji-regex@^7.0.1:
version "7.0.3"
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://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
+ integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
+
emojis-list@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
@@ -5867,6 +6462,11 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
+escape-string-regexp@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
+ integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
+
escodegen@^1.11.0:
version "1.11.0"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589"
@@ -5878,6 +6478,18 @@ escodegen@^1.11.0:
optionalDependencies:
source-map "~0.6.1"
+escodegen@^1.14.1:
+ version "1.14.3"
+ resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
+ integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==
+ dependencies:
+ esprima "^4.0.1"
+ estraverse "^4.2.0"
+ esutils "^2.0.2"
+ optionator "^0.8.1"
+ optionalDependencies:
+ source-map "~0.6.1"
+
escope@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3"
@@ -5987,6 +6599,11 @@ esprima@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
+esprima@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
+ integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
+
esquery@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa"
@@ -6044,6 +6661,11 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
md5.js "^1.3.4"
safe-buffer "^5.1.1"
+exec-sh@^0.3.2:
+ version "0.3.4"
+ resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
+ integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==
+
execa@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
@@ -6096,6 +6718,26 @@ execa@^2.0.3:
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"
+execa@^4.0.0:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2"
+ integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==
+ dependencies:
+ cross-spawn "^7.0.0"
+ get-stream "^5.0.0"
+ human-signals "^1.1.1"
+ is-stream "^2.0.0"
+ merge-stream "^2.0.0"
+ npm-run-path "^4.0.0"
+ onetime "^5.1.0"
+ signal-exit "^3.0.2"
+ strip-final-newline "^2.0.0"
+
+exit@^0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
+ integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
+
expand-braces@^0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/expand-braces/-/expand-braces-0.1.2.tgz#488b1d1d2451cb3d3a6b192cfc030f44c5855fea"
@@ -6144,6 +6786,18 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
dependencies:
homedir-polyfill "^1.0.1"
+expect@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/expect/-/expect-26.2.0.tgz#0140dd9cc7376d7833852e9cda88c05414f1efba"
+ integrity sha512-8AMBQ9UVcoUXt0B7v+5/U5H6yiUR87L6eKCfjE3spx7Ya5lF+ebUo37MCFBML2OiLfkX1sxmQOZhIDonyVTkcw==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ ansi-styles "^4.0.0"
+ jest-get-type "^26.0.0"
+ jest-matcher-utils "^26.2.0"
+ jest-message-util "^26.2.0"
+ jest-regex-util "^26.0.0"
+
extend-shallow@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
@@ -6202,6 +6856,13 @@ extglob@^2.0.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"
+extract-from-css@^0.4.4:
+ version "0.4.4"
+ resolved "https://registry.yarnpkg.com/extract-from-css/-/extract-from-css-0.4.4.tgz#1ea7df2e7c7c6eb9922fa08e8adaea486f6f8f92"
+ integrity sha1-HqffLnx8brmSL6COitrqSG9vj5I=
+ dependencies:
+ css "^2.1.0"
+
extract-zip@^1.6.5:
version "1.6.6"
resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c"
@@ -6264,6 +6925,11 @@ fast-glob@^3.0.3:
merge2 "^1.3.0"
micromatch "^4.0.2"
+fast-json-stable-stringify@2.x:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
+ integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
+
fast-json-stable-stringify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
@@ -6283,6 +6949,13 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.0"
+fb-watchman@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85"
+ integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==
+ dependencies:
+ bser "2.1.1"
+
fd-slicer@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65"
@@ -6422,7 +7095,7 @@ find-up@^3.0.0:
dependencies:
locate-path "^3.0.0"
-find-up@^4.0.0:
+find-up@^4.0.0, find-up@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
@@ -6591,6 +7264,11 @@ fsevents@^1.1.2:
nan "^2.9.2"
node-pre-gyp "^0.10.0"
+fsevents@^2.1.2:
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
+ integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
+
function-bind@^1.0.2, function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
@@ -6642,6 +7320,11 @@ get-own-enumerable-property-symbols@^3.0.0:
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==
+get-package-type@^0.1.0:
+ version "0.1.0"
+ resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
+ integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
+
get-pkg-repo@^1.0.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d"
@@ -6981,6 +7664,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
+graceful-fs@^4.2.4:
+ version "4.2.4"
+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
+ integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
+
gray-matter@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/gray-matter/-/gray-matter-4.0.1.tgz#375263c194f0d9755578c277e41b1c1dfdf22c7d"
@@ -6995,6 +7683,11 @@ growl@1.10.5:
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
+growly@^1.3.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
+ integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
+
handlebars@^4.4.0:
version "4.5.1"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.1.tgz#8a01c382c180272260d07f2d1aa3ae745715c7ba"
@@ -7024,6 +7717,14 @@ har-validator@~5.1.0:
ajv "^5.3.0"
har-schema "^2.0.0"
+har-validator@~5.1.3:
+ version "5.1.5"
+ resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd"
+ integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==
+ dependencies:
+ ajv "^6.12.3"
+ har-schema "^2.0.0"
+
has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -7054,6 +7755,11 @@ has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
+has-flag@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
+ integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
+
has-symbols@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
@@ -7183,6 +7889,18 @@ html-encoding-sniffer@^1.0.2:
dependencies:
whatwg-encoding "^1.0.1"
+html-encoding-sniffer@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3"
+ integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==
+ dependencies:
+ whatwg-encoding "^1.0.5"
+
+html-escaper@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
+ integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==
+
html-minifier@^3.2.3:
version "3.5.15"
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.15.tgz#f869848d4543cbfd84f26d5514a2a87cbf9a05e0"
@@ -7285,6 +8003,11 @@ https-proxy-agent@^2.2.3:
agent-base "^4.3.0"
debug "^3.1.0"
+human-signals@^1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
+ integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
+
humanize-ms@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed"
@@ -7319,7 +8042,7 @@ iconv-lite@0.4.23, iconv-lite@^0.4.4:
dependencies:
safer-buffer ">= 2.1.2 < 3"
-iconv-lite@^0.4.24, iconv-lite@~0.4.13:
+iconv-lite@0.4.24, iconv-lite@^0.4.24, 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==
@@ -7403,6 +8126,14 @@ import-local@^2.0.0:
pkg-dir "^3.0.0"
resolve-cwd "^2.0.0"
+import-local@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6"
+ integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==
+ dependencies:
+ pkg-dir "^4.2.0"
+ resolve-cwd "^3.0.0"
+
imurmurhash@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -7558,6 +8289,11 @@ invert-kv@^1.0.0:
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY=
+ip-regex@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
+ integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=
+
ip@1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
@@ -7670,6 +8406,11 @@ is-directory@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1"
+is-docker@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.0.0.tgz#2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b"
+ integrity sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ==
+
is-dotfile@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1"
@@ -7719,6 +8460,16 @@ is-fullwidth-code-point@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
+is-fullwidth-code-point@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
+ integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
+
+is-generator-fn@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
+ integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
+
is-generator-function@^1.0.3:
version "1.0.7"
resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522"
@@ -7880,7 +8631,12 @@ is-posix-bracket@^0.1.0:
resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4"
integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=
-is-primitive@^2.0.0:
+is-potential-custom-element-name@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz#0c52e54bcca391bb2c494b21e8626d7336c6e397"
+ integrity sha1-DFLlS8yjkbssSUsh6GJtczbG45c=
+
+is-primitive@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575"
integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU=
@@ -7958,7 +8714,7 @@ is-text-path@^2.0.0:
dependencies:
text-extensions "^2.0.0"
-is-typedarray@~1.0.0:
+is-typedarray@^1.0.0, is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
@@ -7989,6 +8745,13 @@ is-wsl@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
+is-wsl@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
+ integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
+ dependencies:
+ is-docker "^2.0.0"
+
isarray@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
@@ -8043,10 +8806,421 @@ isstream@~0.1.2:
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
+istanbul-lib-coverage@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec"
+ integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==
+
+istanbul-lib-instrument@^4.0.0, istanbul-lib-instrument@^4.0.3:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d"
+ integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==
+ dependencies:
+ "@babel/core" "^7.7.5"
+ "@istanbuljs/schema" "^0.1.2"
+ istanbul-lib-coverage "^3.0.0"
+ semver "^6.3.0"
+
+istanbul-lib-report@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6"
+ integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==
+ dependencies:
+ istanbul-lib-coverage "^3.0.0"
+ make-dir "^3.0.0"
+ supports-color "^7.1.0"
+
+istanbul-lib-source-maps@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz#75743ce6d96bb86dc7ee4352cf6366a23f0b1ad9"
+ integrity sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==
+ dependencies:
+ debug "^4.1.1"
+ istanbul-lib-coverage "^3.0.0"
+ source-map "^0.6.1"
+
+istanbul-reports@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b"
+ integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==
+ dependencies:
+ html-escaper "^2.0.0"
+ istanbul-lib-report "^3.0.0"
+
javascript-stringify@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
+jest-changed-files@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.2.0.tgz#b4946201defe0c919a2f3d601e9f98cb21dacc15"
+ integrity sha512-+RyJb+F1K/XBLIYiL449vo5D+CvlHv29QveJUWNPXuUicyZcq+tf1wNxmmFeRvAU1+TzhwqczSjxnCCFt7+8iA==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ execa "^4.0.0"
+ throat "^5.0.0"
+
+jest-cli@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.2.2.tgz#4c273e5474baafac1eb15fd25aaafb4703f5ffbc"
+ integrity sha512-vVcly0n/ijZvdy6gPQiQt0YANwX2hLTPQZHtW7Vi3gcFdKTtif7YpI85F8R8JYy5DFSWz4x1OW0arnxlziu5Lw==
+ dependencies:
+ "@jest/core" "^26.2.2"
+ "@jest/test-result" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ chalk "^4.0.0"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ import-local "^3.0.2"
+ is-ci "^2.0.0"
+ jest-config "^26.2.2"
+ jest-util "^26.2.0"
+ jest-validate "^26.2.0"
+ prompts "^2.0.1"
+ yargs "^15.3.1"
+
+jest-config@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.2.2.tgz#f3ebc7e2bc3f49de8ed3f8007152f345bb111917"
+ integrity sha512-2lhxH0y4YFOijMJ65usuf78m7+9/8+hAb1PZQtdRdgnQpAb4zP6KcVDDktpHEkspBKnc2lmFu+RQdHukUUbiTg==
+ dependencies:
+ "@babel/core" "^7.1.0"
+ "@jest/test-sequencer" "^26.2.2"
+ "@jest/types" "^26.2.0"
+ babel-jest "^26.2.2"
+ chalk "^4.0.0"
+ deepmerge "^4.2.2"
+ glob "^7.1.1"
+ graceful-fs "^4.2.4"
+ jest-environment-jsdom "^26.2.0"
+ jest-environment-node "^26.2.0"
+ jest-get-type "^26.0.0"
+ jest-jasmine2 "^26.2.2"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.2.2"
+ jest-util "^26.2.0"
+ jest-validate "^26.2.0"
+ micromatch "^4.0.2"
+ pretty-format "^26.2.0"
+
+jest-diff@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.2.0.tgz#dee62c771adbb23ae585f3f1bd289a6e8ef4f298"
+ integrity sha512-Wu4Aopi2nzCsHWLBlD48TgRy3Z7OsxlwvHNd1YSnHc7q1NJfrmyCPoUXrTIrydQOG5ApaYpsAsdfnMbJqV1/wQ==
+ dependencies:
+ chalk "^4.0.0"
+ diff-sequences "^26.0.0"
+ jest-get-type "^26.0.0"
+ pretty-format "^26.2.0"
+
+jest-docblock@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5"
+ integrity sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==
+ dependencies:
+ detect-newline "^3.0.0"
+
+jest-each@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.2.0.tgz#aec8efa01d072d7982c900e74940863385fa884e"
+ integrity sha512-gHPCaho1twWHB5bpcfnozlc6mrMi+VAewVPNgmwf81x2Gzr6XO4dl+eOrwPWxbkYlgjgrYjWK2xgKnixbzH3Ew==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ chalk "^4.0.0"
+ jest-get-type "^26.0.0"
+ jest-util "^26.2.0"
+ pretty-format "^26.2.0"
+
+jest-environment-jsdom@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.2.0.tgz#6443a6f3569297dcaa4371dddf93acaf167302dc"
+ integrity sha512-sDG24+5M4NuIGzkI3rJW8XUlrpkvIdE9Zz4jhD8OBnVxAw+Y1jUk9X+lAOD48nlfUTlnt3lbAI3k2Ox+WF3S0g==
+ dependencies:
+ "@jest/environment" "^26.2.0"
+ "@jest/fake-timers" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ jest-mock "^26.2.0"
+ jest-util "^26.2.0"
+ jsdom "^16.2.2"
+
+jest-environment-node@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.2.0.tgz#fee89e06bdd4bed3f75ee2978d73ede9bb57a681"
+ integrity sha512-4M5ExTYkJ19efBzkiXtBi74JqKLDciEk4CEsp5tTjWGYMrlKFQFtwIVG3tW1OGE0AlXhZjuHPwubuRYY4j4uOw==
+ dependencies:
+ "@jest/environment" "^26.2.0"
+ "@jest/fake-timers" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ jest-mock "^26.2.0"
+ jest-util "^26.2.0"
+
+jest-get-type@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.0.0.tgz#381e986a718998dbfafcd5ec05934be538db4039"
+ integrity sha512-zRc1OAPnnws1EVfykXOj19zo2EMw5Hi6HLbFCSjpuJiXtOWAYIjNsHVSbpQ8bDX7L5BGYGI8m+HmKdjHYFF0kg==
+
+jest-haste-map@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.2.2.tgz#6d4267b1903854bfdf6a871419f35a82f03ae71e"
+ integrity sha512-3sJlMSt+NHnzCB+0KhJ1Ut4zKJBiJOlbrqEYNdRQGlXTv8kqzZWjUKQRY3pkjmlf+7rYjAV++MQ4D6g4DhAyOg==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ "@types/graceful-fs" "^4.1.2"
+ "@types/node" "*"
+ anymatch "^3.0.3"
+ fb-watchman "^2.0.0"
+ graceful-fs "^4.2.4"
+ jest-regex-util "^26.0.0"
+ jest-serializer "^26.2.0"
+ jest-util "^26.2.0"
+ jest-worker "^26.2.1"
+ micromatch "^4.0.2"
+ sane "^4.0.3"
+ walker "^1.0.7"
+ optionalDependencies:
+ fsevents "^2.1.2"
+
+jest-jasmine2@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.2.2.tgz#d82b1721fac2b153a4f8b3f0c95e81e702812de2"
+ integrity sha512-Q8AAHpbiZMVMy4Hz9j1j1bg2yUmPa1W9StBvcHqRaKa9PHaDUMwds8LwaDyzP/2fkybcTQE4+pTMDOG9826tEw==
+ dependencies:
+ "@babel/traverse" "^7.1.0"
+ "@jest/environment" "^26.2.0"
+ "@jest/source-map" "^26.1.0"
+ "@jest/test-result" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ chalk "^4.0.0"
+ co "^4.6.0"
+ expect "^26.2.0"
+ is-generator-fn "^2.0.0"
+ jest-each "^26.2.0"
+ jest-matcher-utils "^26.2.0"
+ jest-message-util "^26.2.0"
+ jest-runtime "^26.2.2"
+ jest-snapshot "^26.2.2"
+ jest-util "^26.2.0"
+ pretty-format "^26.2.0"
+ throat "^5.0.0"
+
+jest-leak-detector@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.2.0.tgz#073ee6d8db7a9af043e7ce99d8eea17a4fb0cc50"
+ integrity sha512-aQdzTX1YiufkXA1teXZu5xXOJgy7wZQw6OJ0iH5CtQlOETe6gTSocaYKUNui1SzQ91xmqEUZ/WRavg9FD82rtQ==
+ dependencies:
+ jest-get-type "^26.0.0"
+ pretty-format "^26.2.0"
+
+jest-matcher-utils@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.2.0.tgz#b107af98c2b8c557ffd46c1adf06f794aa52d622"
+ integrity sha512-2cf/LW2VFb3ayPHrH36ZDjp9+CAeAe/pWBAwsV8t3dKcrINzXPVxq8qMWOxwt5BaeBCx4ZupVGH7VIgB8v66vQ==
+ dependencies:
+ chalk "^4.0.0"
+ jest-diff "^26.2.0"
+ jest-get-type "^26.0.0"
+ pretty-format "^26.2.0"
+
+jest-message-util@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.2.0.tgz#757fbc1323992297092bb9016a71a2eb12fd22ea"
+ integrity sha512-g362RhZaJuqeqG108n1sthz5vNpzTNy926eNDszo4ncRbmmcMRIUAZibnd6s5v2XSBCChAxQtCoN25gnzp7JbQ==
+ dependencies:
+ "@babel/code-frame" "^7.0.0"
+ "@jest/types" "^26.2.0"
+ "@types/stack-utils" "^1.0.1"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ micromatch "^4.0.2"
+ slash "^3.0.0"
+ stack-utils "^2.0.2"
+
+jest-mock@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.2.0.tgz#a1b3303ab38c34aa1dbbc16ab57cdc1a59ed50d1"
+ integrity sha512-XeC7yWtWmWByoyVOHSsE7NYsbXJLtJNgmhD7z4MKumKm6ET0si81bsSLbQ64L5saK3TgsHo2B/UqG5KNZ1Sp/Q==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+
+jest-pnp-resolver@^1.2.2:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c"
+ integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==
+
+jest-regex-util@^26.0.0:
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28"
+ integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==
+
+jest-resolve-dependencies@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.2.2.tgz#2ad3cd9281730e9a5c487cd846984c5324e47929"
+ integrity sha512-S5vufDmVbQXnpP7435gr710xeBGUFcKNpNswke7RmFvDQtmqPjPVU/rCeMlEU0p6vfpnjhwMYeaVjKZAy5QYJA==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ jest-regex-util "^26.0.0"
+ jest-snapshot "^26.2.2"
+
+jest-resolve@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.2.2.tgz#324a20a516148d61bffa0058ed0c77c510ecfd3e"
+ integrity sha512-ye9Tj/ILn/0OgFPE/3dGpQPUqt4dHwIocxt5qSBkyzxQD8PbL0bVxBogX2FHxsd3zJA7V2H/cHXnBnNyyT9YoQ==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ jest-pnp-resolver "^1.2.2"
+ jest-util "^26.2.0"
+ read-pkg-up "^7.0.1"
+ resolve "^1.17.0"
+ slash "^3.0.0"
+
+jest-runner@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.2.2.tgz#6d03d057886e9c782e10b2cf37443f902fe0e39e"
+ integrity sha512-/qb6ptgX+KQ+aNMohJf1We695kaAfuu3u3ouh66TWfhTpLd9WbqcF6163d/tMoEY8GqPztXPLuyG0rHRVDLxCA==
+ dependencies:
+ "@jest/console" "^26.2.0"
+ "@jest/environment" "^26.2.0"
+ "@jest/test-result" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ chalk "^4.0.0"
+ emittery "^0.7.1"
+ exit "^0.1.2"
+ graceful-fs "^4.2.4"
+ jest-config "^26.2.2"
+ jest-docblock "^26.0.0"
+ jest-haste-map "^26.2.2"
+ jest-leak-detector "^26.2.0"
+ jest-message-util "^26.2.0"
+ jest-resolve "^26.2.2"
+ jest-runtime "^26.2.2"
+ jest-util "^26.2.0"
+ jest-worker "^26.2.1"
+ source-map-support "^0.5.6"
+ throat "^5.0.0"
+
+jest-runtime@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.2.2.tgz#2480ff79320680a643031dd21998d7c63d83ab68"
+ integrity sha512-a8VXM3DxCDnCIdl9+QucWFfQ28KdqmyVFqeKLigHdErtsx56O2ZIdQkhFSuP1XtVrG9nTNHbKxjh5XL1UaFDVQ==
+ dependencies:
+ "@jest/console" "^26.2.0"
+ "@jest/environment" "^26.2.0"
+ "@jest/fake-timers" "^26.2.0"
+ "@jest/globals" "^26.2.0"
+ "@jest/source-map" "^26.1.0"
+ "@jest/test-result" "^26.2.0"
+ "@jest/transform" "^26.2.2"
+ "@jest/types" "^26.2.0"
+ "@types/yargs" "^15.0.0"
+ chalk "^4.0.0"
+ collect-v8-coverage "^1.0.0"
+ exit "^0.1.2"
+ glob "^7.1.3"
+ graceful-fs "^4.2.4"
+ jest-config "^26.2.2"
+ jest-haste-map "^26.2.2"
+ jest-message-util "^26.2.0"
+ jest-mock "^26.2.0"
+ jest-regex-util "^26.0.0"
+ jest-resolve "^26.2.2"
+ jest-snapshot "^26.2.2"
+ jest-util "^26.2.0"
+ jest-validate "^26.2.0"
+ slash "^3.0.0"
+ strip-bom "^4.0.0"
+ yargs "^15.3.1"
+
+jest-serializer@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.2.0.tgz#92dcae5666322410f4bf50211dd749274959ddac"
+ integrity sha512-V7snZI9IVmyJEu0Qy0inmuXgnMWDtrsbV2p9CRAcmlmPVwpC2ZM8wXyYpiugDQnwLHx0V4+Pnog9Exb3UO8M6Q==
+ dependencies:
+ "@types/node" "*"
+ graceful-fs "^4.2.4"
+
+jest-snapshot@^26.2.2:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.2.2.tgz#9d2eda083a4a1017b157e351868749bd63211799"
+ integrity sha512-NdjD8aJS7ePu268Wy/n/aR1TUisG0BOY+QOW4f6h46UHEKOgYmmkvJhh2BqdVZQ0BHSxTMt04WpCf9njzx8KtA==
+ dependencies:
+ "@babel/types" "^7.0.0"
+ "@jest/types" "^26.2.0"
+ "@types/prettier" "^2.0.0"
+ chalk "^4.0.0"
+ expect "^26.2.0"
+ graceful-fs "^4.2.4"
+ jest-diff "^26.2.0"
+ jest-get-type "^26.0.0"
+ jest-haste-map "^26.2.2"
+ jest-matcher-utils "^26.2.0"
+ jest-message-util "^26.2.0"
+ jest-resolve "^26.2.2"
+ natural-compare "^1.4.0"
+ pretty-format "^26.2.0"
+ semver "^7.3.2"
+
+jest-util@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.2.0.tgz#0597d2a27c559340957609f106c408c17c1d88ac"
+ integrity sha512-YmDwJxLZ1kFxpxPfhSJ0rIkiZOM0PQbRcfH0TzJOhqCisCAsI1WcmoQqO83My9xeVA2k4n+rzg2UuexVKzPpig==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ is-ci "^2.0.0"
+ micromatch "^4.0.2"
+
+jest-validate@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.2.0.tgz#97fedf3e7984b7608854cbf925b9ca6ebcbdb78a"
+ integrity sha512-8XKn3hM6VIVmLNuyzYLCPsRCT83o8jMZYhbieh4dAyKLc4Ypr36rVKC+c8WMpWkfHHpGnEkvWUjjIAyobEIY/Q==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ camelcase "^6.0.0"
+ chalk "^4.0.0"
+ jest-get-type "^26.0.0"
+ leven "^3.1.0"
+ pretty-format "^26.2.0"
+
+jest-watcher@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.2.0.tgz#45bdf2fecadd19c0a501f3b071a474dca636825b"
+ integrity sha512-674Boco4Joe0CzgKPL6K4Z9LgyLx+ZvW2GilbpYb8rFEUkmDGgsZdv1Hv5rxsRpb1HLgKUOL/JfbttRCuFdZXQ==
+ dependencies:
+ "@jest/test-result" "^26.2.0"
+ "@jest/types" "^26.2.0"
+ "@types/node" "*"
+ ansi-escapes "^4.2.1"
+ chalk "^4.0.0"
+ jest-util "^26.2.0"
+ string-length "^4.0.1"
+
+jest-worker@^26.2.1:
+ version "26.2.1"
+ resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.2.1.tgz#5d630ab93f666b53f911615bc13e662b382bd513"
+ integrity sha512-+XcGMMJDTeEGncRb5M5Zq9P7K4sQ1sirhjdOxsN1462h6lFo9w59bl2LVQmdGEEeU3m+maZCkS2Tcc9SfCHO4A==
+ dependencies:
+ "@types/node" "*"
+ merge-stream "^2.0.0"
+ supports-color "^7.0.0"
+
+jest@^26.0.1:
+ version "26.2.2"
+ resolved "https://registry.yarnpkg.com/jest/-/jest-26.2.2.tgz#a022303887b145147204c5f66e6a5c832333c7e7"
+ integrity sha512-EkJNyHiAG1+A8pqSz7cXttoVa34hOEzN/MrnJhYnfp5VHxflVcf2pu3oJSrhiy6LfIutLdWo+n6q63tjcoIeig==
+ dependencies:
+ "@jest/core" "^26.2.2"
+ import-local "^3.0.2"
+ jest-cli "^26.2.2"
+
joi@^11.1.1:
version "11.4.0"
resolved "https://registry.yarnpkg.com/joi/-/joi-11.4.0.tgz#f674897537b625e9ac3d0b7e1604c828ad913ccb"
@@ -8140,6 +9314,38 @@ jsdom@^12.0.0:
ws "^6.0.0"
xml-name-validator "^3.0.0"
+jsdom@^16.2.2:
+ version "16.3.0"
+ resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.3.0.tgz#75690b7dac36c67be49c336dcd7219bbbed0810c"
+ integrity sha512-zggeX5UuEknpdZzv15+MS1dPYG0J/TftiiNunOeNxSl3qr8Z6cIlQpN0IdJa44z9aFxZRIVqRncvEhQ7X5DtZg==
+ dependencies:
+ abab "^2.0.3"
+ acorn "^7.1.1"
+ acorn-globals "^6.0.0"
+ cssom "^0.4.4"
+ cssstyle "^2.2.0"
+ data-urls "^2.0.0"
+ decimal.js "^10.2.0"
+ domexception "^2.0.1"
+ escodegen "^1.14.1"
+ html-encoding-sniffer "^2.0.1"
+ is-potential-custom-element-name "^1.0.0"
+ nwsapi "^2.2.0"
+ parse5 "5.1.1"
+ request "^2.88.2"
+ request-promise-native "^1.0.8"
+ saxes "^5.0.0"
+ symbol-tree "^3.2.4"
+ tough-cookie "^3.0.1"
+ w3c-hr-time "^1.0.2"
+ w3c-xmlserializer "^2.0.0"
+ webidl-conversions "^6.1.0"
+ whatwg-encoding "^1.0.5"
+ whatwg-mimetype "^2.3.0"
+ whatwg-url "^8.0.0"
+ ws "^7.2.3"
+ xml-name-validator "^3.0.0"
+
jsesc@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe"
@@ -8183,6 +9389,13 @@ 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"
+json5@2.x, json5@^2.1.2:
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43"
+ integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==
+ dependencies:
+ minimist "^1.2.5"
+
json5@^0.5.0, json5@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
@@ -8194,13 +9407,6 @@ json5@^1.0.1:
dependencies:
minimist "^1.2.0"
-json5@^2.1.2:
- version "2.1.3"
- resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43"
- integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==
- dependencies:
- minimist "^1.2.5"
-
jsonfile@^2.1.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
@@ -8345,6 +9551,11 @@ klaw@^1.0.0:
optionalDependencies:
graceful-fs "^4.1.9"
+kleur@^3.0.3:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
+ integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
+
koa-compose@^3.0.0, koa-compose@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7"
@@ -8727,7 +9938,7 @@ lodash.map@^4.5.1:
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
integrity sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=
-lodash.memoize@^4.1.2:
+lodash.memoize@4.x, lodash.memoize@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
@@ -8933,6 +10144,18 @@ make-dir@^2.0.0, make-dir@^2.1.0:
pify "^4.0.1"
semver "^5.6.0"
+make-dir@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
+ integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
+ dependencies:
+ semver "^6.0.0"
+
+make-error@1.x:
+ version "1.3.6"
+ resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
+ integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
+
make-fetch-happen@^5.0.0:
version "5.0.2"
resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz#aa8387104f2687edca01c8687ee45013d02d19bd"
@@ -8950,6 +10173,13 @@ make-fetch-happen@^5.0.0:
socks-proxy-agent "^4.0.0"
ssri "^6.0.0"
+makeerror@1.0.x:
+ version "1.0.11"
+ resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"
+ integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=
+ dependencies:
+ tmpl "1.0.x"
+
map-cache@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
@@ -9113,6 +10343,14 @@ merge@^1.2.1:
resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145"
integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==
+micromatch@4.x, micromatch@^4.0.2:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
+ integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
+ dependencies:
+ braces "^3.0.1"
+ picomatch "^2.0.5"
+
micromatch@^2.1.5, micromatch@^2.3.11:
version "2.3.11"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
@@ -9149,14 +10387,6 @@ micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8:
snapdragon "^0.8.1"
to-regex "^3.0.2"
-micromatch@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
- integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
- dependencies:
- braces "^3.0.1"
- picomatch "^2.0.5"
-
miller-rabin@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
@@ -9279,7 +10509,7 @@ minimist@1.2.0, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
-minimist@^1.2.5:
+minimist@^1.1.1, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
@@ -9379,7 +10609,7 @@ mkdirp@0.5.0:
dependencies:
minimist "0.0.8"
-mkdirp@^0.5.3:
+mkdirp@0.x, mkdirp@^0.5.3:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
@@ -9614,6 +10844,11 @@ node-gyp@^5.0.2:
tar "^4.4.12"
which "^1.3.1"
+node-int64@^0.4.0:
+ version "0.4.0"
+ resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
+ integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=
+
node-libs-browser@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df"
@@ -9642,6 +10877,23 @@ node-libs-browser@^2.0.0:
util "^0.10.3"
vm-browserify "0.0.4"
+node-modules-regexp@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
+ integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=
+
+node-notifier@^7.0.0:
+ version "7.0.2"
+ resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-7.0.2.tgz#3a70b1b70aca5e919d0b1b022530697466d9c675"
+ integrity sha512-ux+n4hPVETuTL8+daJXTOC6uKLgMsl1RYfFv7DKRzyvzBapqco0rZZ9g72ZN8VS6V+gvNYHYa/ofcCY8fkJWsA==
+ dependencies:
+ growly "^1.3.0"
+ is-wsl "^2.2.0"
+ semver "^7.3.2"
+ shellwords "^0.1.1"
+ uuid "^8.2.0"
+ which "^2.0.2"
+
node-pre-gyp@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz#6e4ef5bb5c5203c6552448828c852c40111aac46"
@@ -9799,6 +11051,13 @@ npm-run-path@^3.0.0:
dependencies:
path-key "^3.0.0"
+npm-run-path@^4.0.0:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
+ integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==
+ dependencies:
+ path-key "^3.0.0"
+
npmlog@^4.0.2, npmlog@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
@@ -9832,6 +11091,11 @@ nwsapi@^2.0.8:
version "2.0.9"
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.0.9.tgz#77ac0cdfdcad52b6a1151a84e73254edc33ed016"
+nwsapi@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
+ integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
+
oauth-sign@~0.8.2:
version "0.8.2"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
@@ -10017,6 +11281,11 @@ osenv@^0.1.4, osenv@^0.1.5:
os-homedir "^1.0.0"
os-tmpdir "^1.0.0"
+p-each-series@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48"
+ integrity sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ==
+
p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
@@ -10231,6 +11500,11 @@ parse5@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
+parse5@5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
+ integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==
+
parse5@^3.0.1:
version "3.0.3"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c"
@@ -10375,6 +11649,11 @@ phantomjs-prebuilt@^2.1.7:
request-progress "^2.0.1"
which "^1.2.10"
+picomatch@^2.0.4:
+ version "2.2.2"
+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
+ integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
+
picomatch@^2.0.5:
version "2.2.1"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
@@ -10405,6 +11684,13 @@ pinkie@^2.0.0:
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA=
+pirates@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
+ integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==
+ dependencies:
+ node-modules-regexp "^1.0.0"
+
pkg-dir@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
@@ -10692,6 +11978,15 @@ postcss-selector-parser@^3.1.1:
indexes-of "^1.0.1"
uniq "^1.0.1"
+postcss-selector-parser@^6.0.2:
+ version "6.0.2"
+ resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c"
+ integrity sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==
+ dependencies:
+ cssesc "^3.0.0"
+ indexes-of "^1.0.1"
+ uniq "^1.0.1"
+
postcss-svgo@^2.1.1:
version "2.1.6"
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-2.1.6.tgz#b6df18aa613b666e133f08adb5219c2684ac108d"
@@ -10746,6 +12041,15 @@ postcss@^6.0.1, postcss@^6.0.8:
source-map "^0.6.1"
supports-color "^5.2.0"
+postcss@^7.0.14:
+ version "7.0.32"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
+ integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==
+ dependencies:
+ chalk "^2.4.2"
+ source-map "^0.6.1"
+ supports-color "^6.1.0"
+
prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
@@ -10768,6 +12072,11 @@ prettier@^1.16.0:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
+prettier@^1.18.2:
+ version "1.19.1"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
+ integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
+
prettier@^1.7.0:
version "1.10.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93"
@@ -10783,6 +12092,16 @@ pretty-error@^2.0.2:
renderkid "^2.0.1"
utila "~0.4"
+pretty-format@^26.2.0:
+ version "26.2.0"
+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.2.0.tgz#83ecc8d7de676ff224225055e72bd64821cec4f1"
+ integrity sha512-qi/8IuBu2clY9G7qCXgCdD1Bf9w+sXakdHTRToknzMtVy0g7c4MBWaZy7MfB7ndKZovRO6XRwJiAYqq+MC7SDA==
+ dependencies:
+ "@jest/types" "^26.2.0"
+ ansi-regex "^5.0.0"
+ ansi-styles "^4.0.0"
+ react-is "^16.12.0"
+
pretty-time@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.0.0.tgz#544784adecaa2cd7d045ff8a8f1d4791c8e06e23"
@@ -10848,6 +12167,14 @@ promise-retry@^1.1.1:
err-code "^1.0.0"
retry "^0.10.0"
+prompts@^2.0.1:
+ version "2.3.2"
+ resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.3.2.tgz#480572d89ecf39566d2bd3fe2c9fccb7c4c0b068"
+ integrity sha512-Q06uKs2CkNYVID0VqwfAl9mipo99zkBv/n2JtWY89Yxa3ZabWSrs0e2KTudKVa3peLUvYXMefDqIleLPVUBZMA==
+ dependencies:
+ kleur "^3.0.3"
+ sisteransi "^1.0.4"
+
promzard@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee"
@@ -10885,6 +12212,11 @@ psl@^1.1.24:
version "1.1.29"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.29.tgz#60f580d360170bb722a797cc704411e6da850c67"
+psl@^1.1.28:
+ version "1.8.0"
+ resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
+ integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
+
public-encrypt@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6"
@@ -10931,6 +12263,11 @@ punycode@^1.2.4, punycode@^1.4.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
+punycode@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
+ integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
+
q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
@@ -11020,6 +12357,11 @@ rc@^1.1.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"
+react-is@^16.12.0:
+ version "16.13.1"
+ resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
+ integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
+
read-cmd-shim@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b"
@@ -11069,6 +12411,15 @@ read-pkg-up@^3.0.0:
find-up "^2.0.0"
read-pkg "^3.0.0"
+read-pkg-up@^7.0.1:
+ version "7.0.1"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507"
+ integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==
+ dependencies:
+ find-up "^4.1.0"
+ read-pkg "^5.2.0"
+ type-fest "^0.8.1"
+
read-pkg@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
@@ -11491,6 +12842,13 @@ request-promise-core@1.1.1:
dependencies:
lodash "^4.13.1"
+request-promise-core@1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f"
+ integrity sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==
+ dependencies:
+ lodash "^4.17.19"
+
request-promise-native@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5"
@@ -11499,6 +12857,15 @@ request-promise-native@^1.0.5:
stealthy-require "^1.1.0"
tough-cookie ">=2.3.3"
+request-promise-native@^1.0.8:
+ version "1.0.9"
+ resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28"
+ integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==
+ dependencies:
+ request-promise-core "1.1.4"
+ stealthy-require "^1.1.1"
+ tough-cookie "^2.3.3"
+
request@^2.81.0:
version "2.85.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa"
@@ -11551,6 +12918,32 @@ request@^2.88.0:
tunnel-agent "^0.6.0"
uuid "^3.3.2"
+request@^2.88.2:
+ version "2.88.2"
+ resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
+ integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
+ dependencies:
+ aws-sign2 "~0.7.0"
+ aws4 "^1.8.0"
+ caseless "~0.12.0"
+ combined-stream "~1.0.6"
+ extend "~3.0.2"
+ forever-agent "~0.6.1"
+ form-data "~2.3.2"
+ har-validator "~5.1.3"
+ http-signature "~1.2.0"
+ is-typedarray "~1.0.0"
+ isstream "~0.1.2"
+ json-stringify-safe "~5.0.1"
+ mime-types "~2.1.19"
+ oauth-sign "~0.9.0"
+ performance-now "^2.1.0"
+ qs "~6.5.2"
+ safe-buffer "^5.1.2"
+ tough-cookie "~2.5.0"
+ tunnel-agent "^0.6.0"
+ uuid "^3.3.2"
+
require-directory@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
@@ -11587,6 +12980,13 @@ resolve-cwd@^2.0.0:
dependencies:
resolve-from "^3.0.0"
+resolve-cwd@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d"
+ integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==
+ dependencies:
+ resolve-from "^5.0.0"
+
resolve-dir@^1.0.0, resolve-dir@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43"
@@ -11645,6 +13045,13 @@ resolve@^1.11.0, resolve@^1.11.1:
dependencies:
path-parse "^1.0.6"
+resolve@^1.17.0:
+ version "1.17.0"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
+ integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
+ dependencies:
+ path-parse "^1.0.6"
+
resolve@^1.2.0, resolve@^1.4.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
@@ -11798,6 +13205,11 @@ rollup@1:
"@types/node" "*"
acorn "^7.1.0"
+rsvp@^4.8.4:
+ version "4.8.5"
+ resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"
+ integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==
+
run-async@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
@@ -11861,6 +13273,21 @@ safe-regex@^1.1.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
+sane@^4.0.3:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"
+ integrity sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==
+ dependencies:
+ "@cnakazawa/watch" "^1.0.3"
+ anymatch "^2.0.0"
+ capture-exit "^2.0.0"
+ exec-sh "^0.3.2"
+ execa "^1.0.0"
+ fb-watchman "^2.0.0"
+ micromatch "^3.1.4"
+ minimist "^1.1.1"
+ walker "~1.0.5"
+
sax@0.5.x:
version "0.5.8"
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
@@ -11869,6 +13296,13 @@ sax@^1.2.4, sax@~1.2.1:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
+saxes@^5.0.0:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d"
+ integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==
+ dependencies:
+ xmlchars "^2.2.0"
+
schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3, schema-utils@^0.4.4, schema-utils@^0.4.5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.5.tgz#21836f0608aac17b78f9e3e24daff14a5ca13a3e"
@@ -11912,7 +13346,7 @@ semver-diff@^2.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
-semver@6.3.0, semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
+semver@6.3.0, semver@6.x, semver@^6.0.0, semver@^6.2.0, 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==
@@ -11927,6 +13361,11 @@ semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
+semver@^7.3.2:
+ version "7.3.2"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
+ integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
+
serialize-javascript@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005"
@@ -12020,6 +13459,11 @@ shelljs@0.7.6:
interpret "^1.0.0"
rechoir "^0.6.2"
+shellwords@^0.1.1:
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
+ integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
+
sigmund@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
@@ -12048,6 +13492,11 @@ sinon@^7.2.3:
nise "^1.4.8"
supports-color "^5.5.0"
+sisteransi@^1.0.4:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
+ integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==
+
slash@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
@@ -12204,6 +13653,17 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"
+source-map-resolve@^0.5.2:
+ version "0.5.3"
+ resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
+ integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==
+ dependencies:
+ atob "^2.1.2"
+ decode-uri-component "^0.2.0"
+ resolve-url "^0.2.1"
+ source-map-url "^0.4.0"
+ urix "^0.1.0"
+
source-map-support@^0.5.0:
version "0.5.16"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"
@@ -12212,6 +13672,14 @@ source-map-support@^0.5.0:
buffer-from "^1.0.0"
source-map "^0.6.0"
+source-map-support@^0.5.6:
+ version "0.5.19"
+ resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
+ integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
+ dependencies:
+ buffer-from "^1.0.0"
+ source-map "^0.6.0"
+
source-map-url@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
@@ -12234,6 +13702,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
+source-map@^0.7.3:
+ version "0.7.3"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
+ integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
+
sourcemap-codec@^1.4.4:
version "1.4.6"
resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"
@@ -12315,6 +13788,13 @@ ssri@^6.0.0, ssri@^6.0.1:
dependencies:
figgy-pudding "^3.5.1"
+stack-utils@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.2.tgz#5cf48b4557becb4638d0bc4f21d23f5d19586593"
+ integrity sha512-0H7QK2ECz3fyZMzQ8rH0j2ykpfbnd20BFtfg/SqVC2+sCTtcw0aDTGB7dk+de4U4uUeuz6nOtJcrkFFLG1B0Rg==
+ dependencies:
+ escape-string-regexp "^2.0.0"
+
state-toggle@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.0.tgz#d20f9a616bb4f0c3b98b91922d25b640aa2bc425"
@@ -12344,7 +13824,7 @@ std-env@^1.1.0, std-env@^1.3.0:
dependencies:
is-ci "^1.1.0"
-stealthy-require@^1.1.0:
+stealthy-require@^1.1.0, stealthy-require@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
@@ -12399,6 +13879,14 @@ string-argv@^0.3.0:
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==
+string-length@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.1.tgz#4a973bf31ef77c4edbceadd6af2611996985f8a1"
+ integrity sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==
+ dependencies:
+ char-regex "^1.0.2"
+ strip-ansi "^6.0.0"
+
string-width@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
@@ -12424,6 +13912,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, string-width@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/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"
+ strip-ansi "^6.0.0"
+
string_decoder@^1.0.0, string_decoder@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
@@ -12483,11 +13980,18 @@ 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://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
+ integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==
+ dependencies:
+ ansi-regex "^5.0.0"
+
strip-bom-string@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz#e5211e9224369fbb81d633a2f00044dc8cedad92"
-strip-bom@4.0.0:
+strip-bom@4.0.0, strip-bom@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878"
integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==
@@ -12596,6 +14100,28 @@ supports-color@^5.5.0:
dependencies:
has-flag "^3.0.0"
+supports-color@^6.1.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
+ integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==
+ dependencies:
+ has-flag "^3.0.0"
+
+supports-color@^7.0.0, supports-color@^7.1.0:
+ version "7.1.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
+ integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==
+ dependencies:
+ has-flag "^4.0.0"
+
+supports-hyperlinks@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz#f663df252af5f37c5d49bbd7eeefa9e0b9e59e47"
+ integrity sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==
+ dependencies:
+ has-flag "^4.0.0"
+ supports-color "^7.0.0"
+
svg-tags@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764"
@@ -12622,6 +14148,11 @@ symbol-tree@^3.2.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6"
+symbol-tree@^3.2.4:
+ version "3.2.4"
+ resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
+ integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
+
table@4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36"
@@ -12700,6 +14231,23 @@ term-size@^1.2.0:
dependencies:
execa "^0.7.0"
+terminal-link@^2.0.0:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994"
+ integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==
+ dependencies:
+ ansi-escapes "^4.2.1"
+ supports-hyperlinks "^2.0.0"
+
+test-exclude@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"
+ integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==
+ dependencies:
+ "@istanbuljs/schema" "^0.1.2"
+ glob "^7.1.4"
+ minimatch "^3.0.4"
+
text-encoding@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
@@ -12730,6 +14278,11 @@ thenify-all@^1.0.0:
dependencies:
any-promise "^1.0.0"
+throat@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b"
+ integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==
+
throttleit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
@@ -12780,6 +14333,11 @@ tmp@0.0.33, tmp@0.0.x, tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
+tmpl@1.0.x:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
+ integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
+
to-array@0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
@@ -12846,6 +14404,14 @@ tough-cookie@>=2.3.3, tough-cookie@~2.3.3:
dependencies:
punycode "^1.4.1"
+tough-cookie@^2.3.3, tough-cookie@~2.5.0:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
+ integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
+ dependencies:
+ psl "^1.1.28"
+ punycode "^2.1.1"
+
tough-cookie@^2.4.3, tough-cookie@~2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
@@ -12853,12 +14419,28 @@ tough-cookie@^2.4.3, tough-cookie@~2.4.3:
psl "^1.1.24"
punycode "^1.4.1"
+tough-cookie@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
+ integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
+ dependencies:
+ ip-regex "^2.1.0"
+ psl "^1.1.28"
+ punycode "^2.1.1"
+
tr46@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
dependencies:
punycode "^2.1.0"
+tr46@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479"
+ integrity sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==
+ dependencies:
+ punycode "^2.1.1"
+
trim-newlines@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
@@ -12887,6 +14469,22 @@ trough@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.1.tgz#a9fd8b0394b0ae8fff82e0633a0a36ccad5b5f86"
+ts-jest@25.5.x:
+ version "25.5.1"
+ resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-25.5.1.tgz#2913afd08f28385d54f2f4e828be4d261f4337c7"
+ integrity sha512-kHEUlZMK8fn8vkxDjwbHlxXRB9dHYpyzqKIGDNxbzs+Rz+ssNDSDNusEK8Fk/sDd4xE6iKoQLfFkFVaskmTJyw==
+ dependencies:
+ bs-logger "0.x"
+ buffer-from "1.x"
+ fast-json-stable-stringify "2.x"
+ json5 "2.x"
+ lodash.memoize "4.x"
+ make-error "1.x"
+ micromatch "4.x"
+ mkdirp "0.x"
+ semver "6.x"
+ yargs-parser "18.x"
+
tslib@^1.9.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
@@ -12923,6 +14521,11 @@ type-detect@4.0.8, type-detect@^4.0.0:
version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
+type-fest@^0.11.0:
+ version "0.11.0"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1"
+ integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==
+
type-fest@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
@@ -12933,6 +14536,11 @@ type-fest@^0.6.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==
+type-fest@^0.8.1:
+ version "0.8.1"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
+ integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
+
type-is@^1.5.5, type-is@~1.6.15:
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
@@ -12940,6 +14548,13 @@ type-is@^1.5.5, type-is@~1.6.15:
media-typer "0.3.0"
mime-types "~2.1.18"
+typedarray-to-buffer@^3.1.5:
+ version "3.1.5"
+ resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
+ integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
+ dependencies:
+ is-typedarray "^1.0.0"
+
typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
@@ -13310,10 +14925,24 @@ uuid@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
+uuid@^8.2.0:
+ version "8.3.0"
+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.0.tgz#ab738085ca22dc9a8c92725e459b1d507df5d6ea"
+ integrity sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==
+
v8-compile-cache@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.0.tgz#526492e35fc616864284700b7043e01baee09f0a"
+v8-to-istanbul@^4.1.3:
+ version "4.1.4"
+ resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-4.1.4.tgz#b97936f21c0e2d9996d4985e5c5156e9d4e49cd6"
+ integrity sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.1"
+ convert-source-map "^1.6.0"
+ source-map "^0.7.3"
+
validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
@@ -13391,6 +15020,19 @@ vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"
+vue-jest@^4.0.0-beta.3:
+ version "4.0.0-beta.5"
+ resolved "https://registry.yarnpkg.com/vue-jest/-/vue-jest-4.0.0-beta.5.tgz#ba2820663222f97ec64a3eabe47e9b9e99fe571b"
+ integrity sha512-5vjEgJdAdPFUx/EQLiSlSD107UYVDMRngRktPsXnVdyxUU+woyJXtwLVbh9LEszYV4oSff9zBeOul+tHASduNw==
+ dependencies:
+ "@babel/plugin-transform-modules-commonjs" "^7.2.0"
+ "@vue/component-compiler-utils" "^3.1.0"
+ chalk "^2.1.0"
+ convert-source-map "^1.6.0"
+ extract-from-css "^0.4.4"
+ source-map "0.5.6"
+ ts-jest "25.5.x"
+
vue-loader@^13.6.2:
version "13.7.1"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.1.tgz#d9009d0abd392b4efe8b8fb1f542f6723b02dd3a"
@@ -13483,6 +15125,11 @@ vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"
+vue-template-es2015-compiler@^1.9.0:
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
+ integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
+
vue@^2.5.16:
version "2.5.16"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
@@ -13580,6 +15227,27 @@ w3c-hr-time@^1.0.1:
dependencies:
browser-process-hrtime "^0.1.2"
+w3c-hr-time@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
+ integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==
+ dependencies:
+ browser-process-hrtime "^1.0.0"
+
+w3c-xmlserializer@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a"
+ integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==
+ dependencies:
+ xml-name-validator "^3.0.0"
+
+walker@^1.0.7, walker@~1.0.5:
+ version "1.0.7"
+ resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb"
+ integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=
+ dependencies:
+ makeerror "1.0.x"
+
watchpack@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.4.0.tgz#4a1472bcbb952bd0a9bb4036801f954dfb39faac"
@@ -13616,6 +15284,16 @@ webidl-conversions@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
+webidl-conversions@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff"
+ integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==
+
+webidl-conversions@^6.1.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
+ integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==
+
webpack-chain@^4.6.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/webpack-chain/-/webpack-chain-4.8.0.tgz#06fc3dbb9f2707d4c9e899fc6250fbcf2afe6fd1"
@@ -13792,10 +15470,22 @@ whatwg-encoding@^1.0.4:
dependencies:
iconv-lite "0.4.23"
+whatwg-encoding@^1.0.5:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
+ integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==
+ dependencies:
+ iconv-lite "0.4.24"
+
whatwg-mimetype@^2.1.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.2.0.tgz#a3d58ef10b76009b042d03e25591ece89b88d171"
+whatwg-mimetype@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
+ integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==
+
whatwg-url@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd"
@@ -13804,6 +15494,15 @@ whatwg-url@^7.0.0:
tr46 "^1.0.1"
webidl-conversions "^4.0.2"
+whatwg-url@^8.0.0:
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.1.0.tgz#c628acdcf45b82274ce7281ee31dd3c839791771"
+ integrity sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw==
+ dependencies:
+ lodash.sortby "^4.7.0"
+ tr46 "^2.0.2"
+ webidl-conversions "^5.0.0"
+
when@~3.6.x:
version "3.6.4"
resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
@@ -13834,7 +15533,7 @@ which@^1.2.14, which@^1.3.1:
dependencies:
isexe "^2.0.0"
-which@^2.0.1:
+which@^2.0.1, which@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
@@ -14012,6 +15711,15 @@ wrap-ansi@^5.1.0:
string-width "^3.0.0"
strip-ansi "^5.0.0"
+wrap-ansi@^6.2.0:
+ version "6.2.0"
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
+ integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
+ dependencies:
+ ansi-styles "^4.0.0"
+ string-width "^4.1.0"
+ strip-ansi "^6.0.0"
+
wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -14034,6 +15742,16 @@ write-file-atomic@^2.4.2:
imurmurhash "^0.1.4"
signal-exit "^3.0.2"
+write-file-atomic@^3.0.0:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
+ integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
+ dependencies:
+ imurmurhash "^0.1.4"
+ is-typedarray "^1.0.0"
+ signal-exit "^3.0.2"
+ typedarray-to-buffer "^3.1.5"
+
write-json-file@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f"
@@ -14083,6 +15801,11 @@ ws@^6.0.0:
dependencies:
async-limiter "~1.0.0"
+ws@^7.2.3:
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"
+ integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==
+
ws@~3.3.1:
version "3.3.3"
resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2"
@@ -14108,6 +15831,11 @@ xml-name-validator@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
+xmlchars@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
+ integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
+
xmlhttprequest-ssl@~1.5.4:
version "1.5.5"
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
@@ -14139,6 +15867,14 @@ yallist@^3.0.3:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
+yargs-parser@18.x, yargs-parser@^18.1.2:
+ version "18.1.3"
+ resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0"
+ integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==
+ dependencies:
+ camelcase "^5.0.0"
+ decamelize "^1.2.0"
+
yargs-parser@^10.0.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"
@@ -14184,6 +15920,23 @@ yargs@^14.2.2:
y18n "^4.0.0"
yargs-parser "^15.0.0"
+yargs@^15.3.1:
+ version "15.4.1"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8"
+ integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==
+ dependencies:
+ cliui "^6.0.0"
+ decamelize "^1.2.0"
+ find-up "^4.1.0"
+ get-caller-file "^2.0.1"
+ require-directory "^2.1.1"
+ require-main-filename "^2.0.0"
+ set-blocking "^2.0.0"
+ string-width "^4.2.0"
+ which-module "^2.0.0"
+ y18n "^4.0.0"
+ yargs-parser "^18.1.2"
+
yargs@^4.8.0:
version "4.8.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"
From 42b50c9b1340dd76ade85f5064a575f8471915cc Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:16:49 +1000
Subject: [PATCH 02/46] refactor: strip flow types when running tests with jest
---
test/specs/components/RouterLink.spec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/specs/components/RouterLink.spec.js b/test/specs/components/RouterLink.spec.js
index 0592b7591..fcae948e8 100644
--- a/test/specs/components/RouterLink.spec.js
+++ b/test/specs/components/RouterLink.spec.js
@@ -1,4 +1,4 @@
-import { RouterLinkStub } from '@vue/test-utils'
+import RouterLinkStub from '../.././../packages/test-utils/src/components/RouterLinkStub'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('RouterLinkStub', mountingMethod => {
From 58973bf7b81ff5e413d470168685b3a70dd30282 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:20:28 +1000
Subject: [PATCH 03/46] refactor: update attachTo and destroy specs
---
test/specs/mounting-options/attachTo.spec.js | 34 ++++++++++----------
test/specs/wrapper/destroy.spec.js | 4 +--
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/test/specs/mounting-options/attachTo.spec.js b/test/specs/mounting-options/attachTo.spec.js
index 1e1e20e5c..65852724c 100644
--- a/test/specs/mounting-options/attachTo.spec.js
+++ b/test/specs/mounting-options/attachTo.spec.js
@@ -9,52 +9,52 @@ const TestComponent = { template }
describeWithShallowAndMount('options.attachTo', mountingMethod => {
it('should not mount to document when null', () => {
const wrapper = mountingMethod(TestComponent, {})
- expect(wrapper.vm.$el.parentNode).to.be.null
+ expect(wrapper.vm.$el.parentNode).toBeNull()
wrapper.destroy()
})
it('attaches to a provided HTMLElement', () => {
const div = document.createElement('div')
div.id = 'root'
document.body.appendChild(div)
- expect(document.getElementById('root')).to.not.be.null
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('root')).not.toBeNull()
+ expect(document.getElementById('attach-to')).toBeNull()
const wrapper = mountingMethod(TestComponent, {
attachTo: div
})
const root = document.getElementById('root')
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(root).to.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(root).toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
it('attaches to a provided CSS selector string', () => {
const div = document.createElement('div')
div.id = 'root'
document.body.appendChild(div)
- expect(document.getElementById('root')).to.not.be.null
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('root')).not.toBeNull()
+ expect(document.getElementById('attach-to')).toBeNull()
const wrapper = mountingMethod(TestComponent, {
attachTo: '#root'
})
const root = document.getElementById('root')
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(root).to.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(root).toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
it('correctly hydrates markup', () => {
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
const div = document.createElement('div')
div.id = 'attach-to'
@@ -67,11 +67,11 @@ describeWithShallowAndMount('options.attachTo', mountingMethod => {
})
const rendered = document.getElementById('attach-to')
- expect(wrapper.vm.$el.parentNode).to.not.be.null
- expect(rendered).to.not.be.null
+ expect(wrapper.vm.$el.parentNode).not.toBeNull()
+ expect(rendered).not.toBeNull()
expect(rendered.outerHTML).toEqual(outerHTML)
expect(wrapper.options.attachedToDocument).toEqual(true)
wrapper.destroy()
- expect(document.getElementById('attach-to')).to.be.null
+ expect(document.getElementById('attach-to')).toBeNull()
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index a78d770b5..252ef2760 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
)
expect(wrapper.vm.$el.parentNode).toEqual(document.body)
wrapper.destroy()
- expect(wrapper.vm.$el.parentNode).to.be.null
+ expect(wrapper.vm.$el.parentNode).toBeNull()
})
it('removes functional component element from document.body', () => {
@@ -52,7 +52,7 @@ describeWithShallowAndMount('destroy', mountingMethod => {
)
expect(wrapper.element.parentNode).toEqual(document.body)
wrapper.destroy()
- expect(wrapper.element.parentNode).to.be.null
+ expect(wrapper.element.parentNode).toBeNull()
})
it('throws if component throws during destroy', () => {
From c7b2d1e98f3065ca43660d6cf2f8f1a88491b050 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:22:07 +1000
Subject: [PATCH 04/46] refactor: continue moving to jest
---
test/specs/error-wrapper.spec.js | 2 +-
test/specs/mount.spec.js | 8 ++++----
.../mounting-options/attachToDocument.spec.js | 4 ++--
test/specs/mounting-options/context.spec.js | 6 +++---
test/specs/mounting-options/localVue.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 2 +-
.../mounting-options/parentComponent.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 2 +-
.../specs/mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 14 +++++++-------
test/specs/mounting-options/stubs.spec.js | 10 +++++-----
test/specs/shallow-mount.spec.js | 2 +-
test/specs/vue-wrapper.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 6 +++---
test/specs/wrapper-array/at.spec.js | 4 ++--
test/specs/wrapper-array/attributes.spec.js | 4 ++--
test/specs/wrapper-array/classes.spec.js | 4 ++--
test/specs/wrapper-array/contains.spec.js | 4 ++--
test/specs/wrapper-array/find.spec.js | 4 ++--
test/specs/wrapper-array/findAll.spec.js | 4 ++--
test/specs/wrapper-array/html.spec.js | 4 ++--
test/specs/wrapper-array/is.spec.js | 4 ++--
test/specs/wrapper-array/isEmpty.spec.js | 2 +-
test/specs/wrapper-array/isVisible.spec.js | 2 +-
test/specs/wrapper-array/isVueInstance.spec.js | 2 +-
test/specs/wrapper-array/name.spec.js | 4 ++--
test/specs/wrapper-array/overview.spec.js | 4 ++--
test/specs/wrapper-array/props.spec.js | 4 ++--
test/specs/wrapper-array/setData.spec.js | 4 ++--
test/specs/wrapper-array/setProps.spec.js | 4 ++--
test/specs/wrapper-array/setSelected.spec.js | 2 +-
test/specs/wrapper-array/text.spec.js | 4 ++--
test/specs/wrapper-array/trigger.spec.js | 4 ++--
test/specs/wrapper.spec.js | 4 ++--
test/specs/wrapper/at.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 4 ++--
test/specs/wrapper/destroy.spec.js | 2 +-
test/specs/wrapper/emitted.spec.js | 2 +-
test/specs/wrapper/emittedByOrder.spec.js | 2 +-
test/specs/wrapper/filter.spec.js | 2 +-
test/specs/wrapper/find.spec.js | 18 +++++++++---------
test/specs/wrapper/findAll.spec.js | 10 +++++-----
test/specs/wrapper/get.spec.js | 2 +-
test/specs/wrapper/is.spec.js | 4 ++--
test/specs/wrapper/isVisible.spec.js | 2 +-
test/specs/wrapper/overview.spec.js | 2 +-
test/specs/wrapper/props.spec.js | 4 ++--
test/specs/wrapper/setChecked.spec.js | 4 ++--
test/specs/wrapper/setData.spec.js | 4 ++--
test/specs/wrapper/setProps.spec.js | 2 +-
test/specs/wrapper/setSelected.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 2 +-
test/specs/wrapper/trigger.spec.js | 4 ++--
53 files changed, 105 insertions(+), 105 deletions(-)
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 3f5723280..8f44cb7b8 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -45,7 +45,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const error = wrapper.find(selector)
expect(error.constructor.name).toEqual('ErrorWrapper')
expect(() => error[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index fff5fece2..5a73d628d 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -150,7 +150,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
window = undefined // eslint-disable-line no-native-reassign
expect(() => mount(compileToFunctions('
')))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -323,7 +323,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
const fn = () => mount(TestComponent)
- expect(fn).to.throw('Error in mounted')
+ expect(fn).toThrow('Error in mounted')
})
it('propagates errors when they are thrown by a nested component', () => {
@@ -343,7 +343,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
mount(rootComponent)
}
- expect(fn).to.throw('Error in mounted')
+ expect(fn).toThrow('Error in mounted')
})
it('adds unused propsData as attributes', () => {
@@ -469,7 +469,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const fn = () => {
wrapper.vm.a = 2
}
- expect(fn).to.throw()
+ expect(fn).toThrow()
wrapper.destroy()
}
)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 6b4175b64..0ad6a9388 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
attachToDocument: true
})
- expect(document.querySelector('.attached')).to.not.equal(null)
+ expect(document.querySelector('.attached')).not.toEqual(null)
expect(wrapper.options.attachedToDocument).toEqual(true)
})
})
@@ -27,7 +27,7 @@ describe('options.attachToDocument with renderToString', () => {
const message =
'[vue-test-utils]: you cannot use attachToDocument with renderToString'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mounting-options/context.spec.js b/test/specs/mounting-options/context.spec.js
index 0c2a506ae..3f1c5a979 100644
--- a/test/specs/mounting-options/context.spec.js
+++ b/test/specs/mounting-options/context.spec.js
@@ -33,7 +33,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
'[vue-test-utils]: mount.context can only be used when mounting a functional component'
const fn = () => mountingMethod(Component, { context })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const context = {}
const fn = () =>
mountingMethod(Component, { context, stubs: false, mocks: false })
- expect(fn).not.to.throw()
+ expect(fn).not.toThrow()
})
it('throws error if context option is not an object', () => {
@@ -57,7 +57,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const message = '[vue-test-utils]: mount.context must be an object'
const fn = () => mountingMethod(Component, { context })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 8e5b92490..27c5e911d 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -172,7 +172,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
mocks: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 8964278e4..8f52ee5b3 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -196,7 +196,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
stubs: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 5ce65f3dc..5a8700d9e 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
const message =
'[vue-test-utils]: options.parentComponent should be a valid Vue component options object'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index de9bca524..347afbbc1 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -208,6 +208,6 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
mountingMethod(ComponentWithInject, {
provide: { fromMount: '_' }
})
- }).to.throw()
+ }).toThrow()
})
})
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index d457801ee..fa6ad20e0 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -247,7 +247,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
const message =
'[vue-test-utils]: the scopedSlots option is only supported in vue@2.1+.'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index f1e5117a1..eccd53c90 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -108,7 +108,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -148,7 +148,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -339,7 +339,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -353,7 +353,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -367,7 +367,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -381,7 +381,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -404,7 +404,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
}
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 42feb2229..75205c84e 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -256,7 +256,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
stubs: [invalidValue]
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
})
@@ -281,7 +281,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
try {
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} catch (err) {
require.cache[
@@ -446,7 +446,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
validValues.forEach(validValue => {
@@ -471,7 +471,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', error)
})
})
@@ -495,7 +495,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
mocks: false
})
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
)
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index ba8ebf177..c38a8e3e9 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -532,7 +532,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
throw new Error('Error')
}
})
- ).to.throw()
+ ).toThrow()
})
it('stubs dynamic components', () => {
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 2a0eb7e3b..1e12ef866 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
expect(() => {
wrapper[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 77ce0e0cd..85ce3e00a 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -27,7 +27,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
expect(() => {
wrapperArray[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -85,7 +85,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const wrapperArray = getWrapperArray([])
const message = `[vue-test-utils]: ${method} cannot be called on 0 items`
expect(() => wrapperArray[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -112,7 +112,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const wrapperArray = getWrapperArray([1, 2, 3])
const message = `[vue-test-utils]: ${method} must be called on a single wrapper, use at(i) to access a wrapper`
expect(() => wrapperArray[method]())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 6862390f7..447dbdb9e 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -37,7 +37,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(index)
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -52,7 +52,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(index)
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index a59c98f61..4e4097bd9 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
.findAll('p')
.attributes('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -25,7 +25,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
'[vue-test-utils]: attributes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').attributes()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index 0ac930121..b6889a5b8 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
.findAll('p')
.classes('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -25,7 +25,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
'[vue-test-utils]: classes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').classes()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 50118eeed..fc7df19a2 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -26,7 +26,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
.findAll('p')
.contains('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -51,7 +51,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
expect(() => pArr.contains(invalidSelector))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index e8feafbe9..63bcbc95c 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.findAll('p')
.find('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -24,7 +24,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').find('div'))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index 44cbfd61c..cbee376a5 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
.findAll('p')
.findAll('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -23,7 +23,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: findAll must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').findAll('div'))
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index 3ba8d43bb..fc5c4eb8d 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('html', mountingMethod => {
.findAll('p')
.html('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('html', mountingMethod => {
'[vue-test-utils]: html must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').html()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index b1a128eb7..1a59089f4 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -38,7 +38,7 @@ describeWithShallowAndMount('is', mountingMethod => {
.findAll('p')
.is('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -63,7 +63,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('div').is(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index 70e38134c..e64f0169e 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -25,7 +25,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
.findAll('p')
.isEmpty('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 104c0c16b..e989afff0 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -36,7 +36,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
.findAll('p')
.isVisible('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 255b61a2c..9b076b60d 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
.findAll('p')
.isVueInstance('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index ef3580724..c5ec35a62 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('name', mountingMethod => {
const message =
'[vue-test-utils]: name must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').name())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -21,7 +21,7 @@ describeWithShallowAndMount('name', mountingMethod => {
.findAll('p')
.name('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index 5bdb37a8e..b19e01df7 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message = '[vue-test-utils]: overview() cannot be called on 0 items'
expect(() => wrapper.findAll('p').overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -18,7 +18,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
'[vue-test-utils]: overview() must be called on a single wrapper, use at(i) to access a wrapper'
expect(() => wrapper.findAll('div').overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index 130af1991..aa891656b 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('props', mountingMethod => {
.findAll('p')
.props('p')
)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: props must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 9a1219344..48c814f7d 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -20,7 +20,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(compiled)
const fn = () => wrapper.findAll('p').setData({ ready: true })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -32,7 +32,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
.findAll('p')
.setData('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index c7fbc2d9f..47e4a1556 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -33,7 +33,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const p = wrapper.findAll('p')
const fn = () => p.setProps({ ready: true })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
.findAll('p')
.setProps('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/setSelected.spec.js b/test/specs/wrapper-array/setSelected.spec.js
index af517f1c6..a4a936785 100644
--- a/test/specs/wrapper-array/setSelected.spec.js
+++ b/test/specs/wrapper-array/setSelected.spec.js
@@ -19,7 +19,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const message =
'[vue-test-utils]: setSelected must be called on a single wrapper, use at(i) to access a wrapper'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index 9bc6e9fb4..2b8cc1b06 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('text', mountingMethod => {
'[vue-test-utils]: text must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').text()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('text', mountingMethod => {
.findAll('p')
.text('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 35956e008..17b5bcd5d 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -60,7 +60,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -73,7 +73,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
.findAll('p')
.trigger('p')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index c3fbc06a2..dfc93bd32 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
expect(() => {
wrapper[property] = 'foo'
})
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
@@ -50,7 +50,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
enableAutoDestroy(noop)
- expect(() => enableAutoDestroy(noop)).to.throw()
+ expect(() => enableAutoDestroy(noop)).toThrow()
})
})
})
diff --git a/test/specs/wrapper/at.spec.js b/test/specs/wrapper/at.spec.js
index 005174445..23170f210 100644
--- a/test/specs/wrapper/at.spec.js
+++ b/test/specs/wrapper/at.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('at', mountingMethod => {
const message = '[vue-test-utils]: at() must be called on a WrapperArray'
const fn = () => wrapper.at()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index b963f4954..5b7d43f07 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -75,7 +75,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.contains({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -159,7 +159,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.contains(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 252ef2760..5aa085946 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -66,6 +66,6 @@ describeWithShallowAndMount('destroy', mountingMethod => {
})
}
const wrapper = mountingMethod(TestComponent)
- expect(() => wrapper.destroy()).to.throw()
+ expect(() => wrapper.destroy()).toThrow()
})
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 335add46a..5bbad37cb 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -57,7 +57,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
const fn = () => wrapper.find('p').emitted()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index e439cfa79..c1b2884c3 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -39,7 +39,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
const fn = () => wrapper.find('p').emittedByOrder()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/filter.spec.js b/test/specs/wrapper/filter.spec.js
index 876fe5582..ab8d99e2b 100644
--- a/test/specs/wrapper/filter.spec.js
+++ b/test/specs/wrapper/filter.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('filter', mountingMethod => {
'[vue-test-utils]: filter() must be called on a WrapperArray'
const fn = () => wrapper.filter()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 3913ef899..0274cfd94 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -108,7 +108,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find('[href=&6"/"]')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -148,7 +148,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: findComponent requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findComponent('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -158,7 +158,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: You cannot chain findComponent off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findComponent('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -258,7 +258,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
@@ -282,7 +282,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
@@ -325,7 +325,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -346,7 +346,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -508,7 +508,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.find({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -564,7 +564,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 9ab80e054..5a649fe1d 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -104,7 +104,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('[href=&6"/"]')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -157,7 +157,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: findAllComponents requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findAllComponents('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -167,7 +167,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: You cannot chain findAllComponents off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findAllComponents('#foo')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -297,7 +297,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.findAll({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -345,7 +345,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/get.spec.js b/test/specs/wrapper/get.spec.js
index 5afba8e9b..d63c92849 100644
--- a/test/specs/wrapper/get.spec.js
+++ b/test/specs/wrapper/get.spec.js
@@ -6,7 +6,7 @@ describeWithShallowAndMount('get', mountingMethod => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
expect(() => wrapper.get('.does-not-exist'))
- .to.throw()
+ .toThrow()
.with.property(
'message',
'Unable to find .does-not-exist within:
'
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index ff8251688..b1bdb9277 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -107,7 +107,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: $ref selectors can not be used with wrapper.is()'
const fn = () => wrapper.is({ ref: 'foo' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -133,7 +133,7 @@ describeWithShallowAndMount('is', mountingMethod => {
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.is(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
diff --git a/test/specs/wrapper/isVisible.spec.js b/test/specs/wrapper/isVisible.spec.js
index d4164f220..fee2290fc 100644
--- a/test/specs/wrapper/isVisible.spec.js
+++ b/test/specs/wrapper/isVisible.spec.js
@@ -139,7 +139,7 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
await Vue.nextTick()
const fn = () => wrapper.find('.child.ready').isVisible()
- expect(fn).to.throw()
+ expect(fn).toThrow()
})
it('returns true if one element is present', async () => {
diff --git a/test/specs/wrapper/overview.spec.js b/test/specs/wrapper/overview.spec.js
index 16c2d7965..08a500b21 100644
--- a/test/specs/wrapper/overview.spec.js
+++ b/test/specs/wrapper/overview.spec.js
@@ -19,7 +19,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
'[vue-test-utils]: wrapper.overview() can only be called on a Vue instance'
expect(() => nonVueWrapper.overview())
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 4674be5a7..1ecbf3bfa 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -73,7 +73,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: wrapper.props() cannot be called on a mounted functional component.'
const fn = () => wrapper.find(FunctionalComponent).props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
}
}
@@ -88,7 +88,7 @@ describeWithShallowAndMount('props', mountingMethod => {
'[vue-test-utils]: wrapper.props() must be called on a Vue instance'
const fn = () => p.props()
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 7b5ca0876..0d705ae5e 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -159,7 +159,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
const fn = () => input.setChecked('asd')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
@@ -170,7 +170,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('#radioFoo')
const fn = () => input.setChecked(false)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 9ee8fee0d..4df3cbf7b 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -83,7 +83,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const fn = () =>
mountingMethod(AFunctionalComponent).setData({ data1: 'data' })
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
// find on functional components isn't supported in Vue < 2.3
if (vueVersion < 2.3) {
@@ -100,7 +100,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
.find(AFunctionalComponent)
.setData({ data1: 'data' })
expect(fn2)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 69e218f0c..14398abd2 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -311,7 +311,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
.find(AFunctionalComponent)
.setProps({ prop1: 'prop' })
expect(fn2)
- .to.throw()
+ .toThrow()
.with.property('message', errors.FUNCTIONAL_COMPONENT_ERROR)
}
)
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index e27f2962f..ed87284de 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -79,7 +79,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const fn = () => input.setSelected('value')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 5c189d43f..3acf3d33f 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -125,7 +125,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const fn = () => input.setValue('')
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', '[vue-test-utils]: ' + message)
}
})
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 080ed1dd2..126da8001 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -238,7 +238,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html'
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
@@ -261,7 +261,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
expect(fn)
- .to.throw()
+ .toThrow()
.with.property('message', message)
})
})
From de517773e762cdab8c833df7e9955569130368a4 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:23:48 +1000
Subject: [PATCH 05/46] refactor: update tests
---
test/specs/mounting-options/attachToDocument.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index 0ad6a9388..f01b0a90f 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -26,8 +26,6 @@ describe('options.attachToDocument with renderToString', () => {
const fn = () => renderToString(TestComponent, { attachToDocument: true })
const message =
'[vue-test-utils]: you cannot use attachToDocument with renderToString'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow({ message })
})
})
From e09a8add0fdc4bb3a7293b484a1e0c1519e92bfe Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:24:41 +1000
Subject: [PATCH 06/46] refactor: update tests
---
test/specs/mounting-options/attrs.spec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/specs/mounting-options/attrs.spec.js b/test/specs/mounting-options/attrs.spec.js
index 9ad08ab6c..13a5fa576 100644
--- a/test/specs/mounting-options/attrs.spec.js
+++ b/test/specs/mounting-options/attrs.spec.js
@@ -30,7 +30,7 @@ describeWithShallowAndMount('options.attrs', mountingMethod => {
'defines attrs as empty object even when not passed',
() => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.vm.$attrs).to.deep.equal({})
+ expect(wrapper.vm.$attrs).toEqual({})
}
)
})
From bd83440b92eb344d116bcb25af34d21458d66e69 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:26:24 +1000
Subject: [PATCH 07/46] refactor: update tests
---
test/specs/mounting-options/context.spec.js | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/test/specs/mounting-options/context.spec.js b/test/specs/mounting-options/context.spec.js
index 3f1c5a979..f0eaa6840 100644
--- a/test/specs/mounting-options/context.spec.js
+++ b/test/specs/mounting-options/context.spec.js
@@ -32,9 +32,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const message =
'[vue-test-utils]: mount.context can only be used when mounting a functional component'
const fn = () => mountingMethod(Component, { context })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('does not throw error if functional component with Vue.extend', () => {
@@ -56,9 +54,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
const context = 'string'
const message = '[vue-test-utils]: mount.context must be an object'
const fn = () => mountingMethod(Component, { context })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('mounts functional component with a defined context when no context object passed in options', () => {
@@ -74,7 +70,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
render: (h, { props }) => h('div', props.testProp)
}
const wrapper = mountingMethod(Component)
- expect(wrapper.html()).to.contain(defaultValue)
+ expect(wrapper.html()).toContain(defaultValue)
})
it('mounts functional component with a defined context.children text', () => {
@@ -89,7 +85,7 @@ describeWithShallowAndMount('options.context', mountingMethod => {
children: ['render text']
}
})
- expect(wrapper.html()).to.contain('render text')
+ expect(wrapper.html()).toContain('render text')
})
it('mounts functional component with a defined context.children element', () => {
@@ -104,6 +100,6 @@ describeWithShallowAndMount('options.context', mountingMethod => {
children: [h => h('div', 'render component')]
}
})
- expect(wrapper.html()).to.contain('render component')
+ expect(wrapper.html()).toContain('render component')
})
})
From 90d71182d97b052cbe8c687e209b279f062ff8d7 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:27:46 +1000
Subject: [PATCH 08/46] refactor: continue jest migration
---
test/specs/mounting-options/listeners.spec.js | 2 +-
test/specs/wrapper/findAll.spec.js | 4 ++--
test/specs/wrapper/setData.spec.js | 4 ++--
test/specs/wrapper/setValue.spec.js | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/specs/mounting-options/listeners.spec.js b/test/specs/mounting-options/listeners.spec.js
index 298dd61c1..0d9151eae 100644
--- a/test/specs/mounting-options/listeners.spec.js
+++ b/test/specs/mounting-options/listeners.spec.js
@@ -58,7 +58,7 @@ describeWithShallowAndMount('options.listeners', mountingMethod => {
'defines listeners as empty object even when not passed',
() => {
const wrapper = mountingMethod({ template: '
' })
- expect(wrapper.vm.$listeners).to.deep.equal({})
+ expect(wrapper.vm.$listeners).toEqual({})
}
)
})
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 5a649fe1d..724922bb1 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -272,7 +272,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll('pre')
expect(preArray.length).toEqual(0)
- expect(preArray.wrappers).to.deep.equal([])
+ expect(preArray.wrappers).toEqual([])
})
it('returns an array of Wrapper of elements matching a component name in options object', () => {
@@ -321,7 +321,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(Component)
const preArray = wrapper.findAll({ ref: 'foo' })
expect(preArray.length).toEqual(0)
- expect(preArray.wrappers).to.deep.equal([])
+ expect(preArray.wrappers).toEqual([])
})
it('throws an error if selector is not a valid selector', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 4df3cbf7b..8029e49b5 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -268,7 +268,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
wrapper.setData({
items: [3]
})
- expect(wrapper.vm.items).to.deep.equal([3])
+ expect(wrapper.vm.items).toEqual([3])
await wrapper.setData({
nested: {
nested: {
@@ -277,7 +277,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
}
})
expect(wrapper.text()).toEqual('10')
- expect(wrapper.vm.nested.nested.nestedArray).to.deep.equal([10])
+ expect(wrapper.vm.nested.nested.nestedArray).toEqual([10])
})
it('should set property in existing data object', async () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 3acf3d33f..78720c465 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -73,7 +73,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
)
- expect(selectedOptions).to.deep.equal(['selectA', 'selectC'])
+ expect(selectedOptions).toEqual(['selectA', 'selectC'])
})
it('overrides elements of multiselect', () => {
@@ -85,7 +85,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
)
- expect(selectedOptions).to.deep.equal(['selectB'])
+ expect(selectedOptions).toEqual(['selectB'])
})
it('updates dom with multiselect v-model when array', async () => {
From 9afa062c9a9fd871be4cbd2bd8ebf22d57ffd60c Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:29:45 +1000
Subject: [PATCH 09/46] refactor: continue jest migration
---
test/specs/create-local-vue.spec.js | 4 +--
test/specs/mount.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 8 ++---
test/specs/mounting-options/methods.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 6 ++--
.../mounting-options/parentComponent.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 10 +++----
.../mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 8 ++---
test/specs/mounting-options/stubs.spec.js | 30 +++++++++----------
test/specs/renderToString.spec.js | 10 +++----
test/specs/shallow-mount.spec.js | 20 ++++++-------
test/specs/wrapper-array/at.spec.js | 6 ++--
test/specs/wrapper/classes.spec.js | 10 +++----
test/specs/wrapper/find.spec.js | 2 +-
test/specs/wrapper/setChecked.spec.js | 12 ++++----
test/specs/wrapper/setData.spec.js | 6 ++--
test/specs/wrapper/setSelected.spec.js | 8 ++---
test/specs/wrapper/setValue.spec.js | 12 ++++----
test/specs/wrapper/trigger.spec.js | 10 +++----
20 files changed, 85 insertions(+), 85 deletions(-)
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 526f8ac69..1b53d576e 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -91,10 +91,10 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
const wrapper = mountingMethod(ComponentWithRouter, { localVue, router })
expect(wrapper.vm.$route).to.be.an('object')
- expect(wrapper.text()).to.contain('home')
+ expect(wrapper.text()).toContain('home')
wrapper.find('a').trigger('click')
- expect(wrapper.text()).to.contain('foo')
+ expect(wrapper.text()).toContain('foo')
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$route).toEqual('undefined')
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index 5a73d628d..43fef57a2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -64,7 +64,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
prop1
}
})
- expect(wrapper.text()).to.contain(prop1)
+ expect(wrapper.text()).toContain(prop1)
}
)
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 27c5e911d..a15b045be 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -21,7 +21,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
localVue: localVue
})
- expect(wrapper.html()).to.contain('some value')
+ expect(wrapper.html()).toContain('some value')
}
)
@@ -52,9 +52,9 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
const HTML =
mountingMethod.name === 'renderToString' ? wrapper : wrapper.html()
if (mountingMethod.name === 'shallowMount') {
- expect(HTML).to.not.contain('2')
+ expect(HTML).not.toContain('2')
} else {
- expect(HTML).to.contain('2')
+ expect(HTML).toContain('2')
}
})
@@ -216,7 +216,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
localVue.use(Vuex)
shallowMount(TestComponent, { localVue })
const wrapper = mount(TestComponent, { localVue })
- expect(wrapper.html()).to.contain('span')
+ expect(wrapper.html()).toContain('span')
}
)
})
diff --git a/test/specs/mounting-options/methods.spec.js b/test/specs/mounting-options/methods.spec.js
index 3e000361b..cf258dfcc 100644
--- a/test/specs/mounting-options/methods.spec.js
+++ b/test/specs/mounting-options/methods.spec.js
@@ -28,6 +28,6 @@ describeWithShallowAndMount('options.methods', mountingMethod => {
}
})
- expect(wrapper.html()).to.contain('methodFromOptions')
+ expect(wrapper.html()).toContain('methodFromOptions')
})
})
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 8f52ee5b3..a3a8002db 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -83,10 +83,10 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { $reactiveMock }
}
)
- expect(wrapper.text()).to.contain('value')
+ expect(wrapper.text()).toContain('value')
$reactiveMock.value = 'changed value'
await Vue.nextTick()
- expect(wrapper.text()).to.contain('changed value')
+ expect(wrapper.text()).toContain('changed value')
})
itDoNotRunIf(
@@ -176,7 +176,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$global: 'locallyMockedValue'
}
})
- expect(wrapper.html()).to.contain('locallyMockedValue')
+ expect(wrapper.html()).toContain('locallyMockedValue')
})
itRunIf(
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 5a8700d9e..2c8629064 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -13,7 +13,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
parentComponent: Parent
})
- expect(wrapper.html()).to.contain('Parent Name')
+ expect(wrapper.html()).toContain('Parent Name')
})
it('validates parentComponent option', () => {
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index 347afbbc1..c940cfc49 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -28,7 +28,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInject, {
provide: { fromMount: 'objectValue' }
})
- expect(wrapper.html()).to.contain('objectValue')
+ expect(wrapper.html()).toContain('objectValue')
}
)
@@ -123,7 +123,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
}
}
})
- expect(wrapper.html()).to.contain('functionValue')
+ expect(wrapper.html()).toContain('functionValue')
}
)
@@ -168,7 +168,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
config.provide['fromMount'] = 'globalConfig'
const wrapper = mountingMethod(ComponentWithInject)
- expect(wrapper.html()).to.contain('globalConfig')
+ expect(wrapper.html()).toContain('globalConfig')
}
)
@@ -182,7 +182,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
provide: { fromMount: '_' }
})
- expect(wrapper.html()).to.contain('_')
+ expect(wrapper.html()).toContain('_')
}
)
@@ -197,7 +197,7 @@ describeWithShallowAndMount('options.provide', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('_')
+ expect(wrapper.html()).toContain('_')
}
)
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index fa6ad20e0..9e3b2ef50 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -352,7 +352,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('span')
+ expect(wrapper.html()).toContain('span')
}
)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index eccd53c90..20100a995 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -178,8 +178,8 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
footer: 'world
'
}
})
- expect(wrapper.html()).to.contain('hello ')
- expect(wrapper.html()).to.contain('world
')
+ expect(wrapper.html()).toContain('hello ')
+ expect(wrapper.html()).toContain('world
')
})
it('mounts component with default and named text slot', () => {
@@ -189,7 +189,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
default: 'hello,'
}
})
- expect(wrapper.text()).to.contain('hello, world')
+ expect(wrapper.text()).toContain('hello, world')
})
it('mounts functional component with text slot', () => {
@@ -205,7 +205,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
header: 'world'
}
})
- expect(wrapper.text()).to.contain('hello,world')
+ expect(wrapper.text()).toContain('hello,world')
})
it('mounts component with named slot if passed component in slot object', () => {
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 75205c84e..454971b9a 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -130,7 +130,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'registered-component': Component
}
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with place holder when passed as an array', () => {
@@ -140,7 +140,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(ComponentWithGlobalComponent, {
stubs: ['registered-component']
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
itDoNotRunIf(
@@ -161,7 +161,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
stubs: ['grand-child-component']
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
}
)
@@ -186,7 +186,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'grand-child-component': true
}
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
delete Vue.options.components['child-component']
delete Vue.options.components['grand-child-component']
}
@@ -210,7 +210,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(Vue.extend(TestComponent), {
stubs: ['grand-child-component']
})
- expect(wrapper.html()).not.to.contain('')
+ expect(wrapper.html()).not.toContain('')
}
)
@@ -227,7 +227,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
stubs: ['child-component', 'stub-with-child']
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with place holder which has name when passed a boolean', () => {
@@ -240,7 +240,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'registered-component': true
}
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
it('stubs components with place holder when passed as an array', () => {
@@ -303,7 +303,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: false
}
})
- expect(wrapper.html()).to.contain('
')
+ expect(wrapper.html()).toContain('
')
}
)
@@ -330,8 +330,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
localVue
})
- expect(wrapper.html()).to.contain(' ')
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain(' ')
+ expect(wrapper.html()).toContain('
')
})
it('prioritize mounting options over config', () => {
@@ -351,7 +351,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
localVue
})
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
})
itDoNotRunIf(
@@ -393,7 +393,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
localVue
})
- expect(wrapper.html()).to.contain('
')
+ expect(wrapper.html()).toContain('
')
})
it('handles components without a render function', () => {
@@ -523,9 +523,9 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
DynamicHello3: StubComponent
}
})
- expect(wrapper.html()).to.contain('span')
- expect(wrapper.html()).to.contain('dynamichello2-stub')
- expect(wrapper.html()).to.contain('h1')
+ expect(wrapper.html()).toContain('span')
+ expect(wrapper.html()).toContain('dynamichello2-stub')
+ expect(wrapper.html()).toContain('h1')
})
it('maintains refs to components', () => {
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index d0f205ec8..4996402fd 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -11,7 +11,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
return { val: '123' }
}
})
- expect(str).to.contain('123')
+ expect(str).toContain('123')
})
it('mounts functional component with a defined context when no context object passed in options', async () => {
@@ -27,7 +27,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
render: (h, { props }) => h('div', props.testProp)
}
const str = await renderToString(Component)
- expect(str).to.contain(defaultValue)
+ expect(str).toContain(defaultValue)
})
it('mounts component using passed localVue as base Vue', async () => {
@@ -39,7 +39,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
const str = await renderToString(TestComponent, {
localVue: localVue
})
- expect(str).to.contain('some value')
+ expect(str).toContain('some value')
})
it('adds variables to vm when passed', async () => {
@@ -75,7 +75,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
const str = await renderToString(TestComponent, {
parentComponent: Parent
})
- expect(str).to.contain('Parent Name')
+ expect(str).toContain('Parent Name')
})
it('replaces component with template string ', async () => {
@@ -85,6 +85,6 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
}
})
- expect(str).to.contain('"stub"')
+ expect(str).toContain('"stub"')
})
})
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index c38a8e3e9..af88169f9 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -28,11 +28,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
- expect(wrapper.find('functional-component-stub').classes()).to.contain(
+ expect(wrapper.find('functional-component-stub').classes()).toContain(
'foo',
'bar'
)
- expect(wrapper.find('functional-component-stub').classes()).not.to.contain(
+ expect(wrapper.find('functional-component-stub').classes()).not.toContain(
'qux'
)
})
@@ -223,7 +223,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
}
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' {
@@ -276,7 +276,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain(' `,
data: () => ({
@@ -285,7 +285,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper2 = shallowMount(TestComponent2)
- expect(wrapper2.html()).to.contain(' `,
data: () => ({
@@ -294,7 +294,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
components
}
const wrapper3 = shallowMount(TestComponent3)
- expect(wrapper3.html()).to.contain(' {
@@ -307,7 +307,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
name: 'test-component'
}
const wrapper = shallowMount(TestComponent)
- expect(wrapper.html()).to.contain('')
+ expect(wrapper.html()).toContain('')
expect(console.error).not.calledWith('[Vue warn]')
})
@@ -521,7 +521,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.use(myPlugin)
const wrapper = shallowMount(TestComponent, { localVue })
- expect(wrapper.html()).to.contain('registered-component-stub')
+ expect(wrapper.html()).toContain('registered-component-stub')
})
it('throws an error when the component fails to mount', () => {
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 447dbdb9e..3d7b414a0 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -10,7 +10,7 @@ describeWithShallowAndMount('at', mountingMethod => {
.findAll('p')
.at(1)
expect(p.vnode).to.be.an('object')
- expect(p.classes()).to.contain('index-1')
+ expect(p.classes()).toContain('index-1')
})
it('returns Wrapper at index from the end when index is negative', () => {
@@ -21,9 +21,9 @@ describeWithShallowAndMount('at', mountingMethod => {
const last = all.at(-1)
const first = all.at(-2)
expect(last.vnode).to.be.an('object')
- expect(last.classes()).to.contain('index-last')
+ expect(last.classes()).toContain('index-last')
expect(first.vnode).to.be.an('object')
- expect(first.classes()).to.contain('index-first')
+ expect(first.classes()).toContain('index-first')
})
it('throws error if no item exists at index', () => {
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 81024fc93..f7aa15396 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -6,8 +6,8 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns array of class names if wrapper has class names', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes()).to.contain('a-class')
- expect(wrapper.classes()).to.contain('b-class')
+ expect(wrapper.classes()).toContain('a-class')
+ expect(wrapper.classes()).toContain('b-class')
})
it('returns empty array if wrapper has no classes', () => {
@@ -26,9 +26,9 @@ describeWithShallowAndMount('classes', mountingMethod => {
' '
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes()).to.contain('a-class')
- expect(wrapper.classes()).to.contain('b-class')
- expect(wrapper.find('text').classes()).to.contain('c-class')
+ expect(wrapper.classes()).toContain('a-class')
+ expect(wrapper.classes()).toContain('b-class')
+ expect(wrapper.find('text').classes()).toContain('c-class')
})
it('returns true if the element has the class', () => {
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 0274cfd94..c2becfdb0 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -214,7 +214,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrappers = wrapper.findAll('div').wrappers
const expectedClasses = ['1', '1a', '1aa', '1b', '2', '3']
wrappers.forEach((w, i) =>
- expect(w.classes()).to.contain(expectedClasses[i])
+ expect(w.classes()).toContain(expectedClasses[i])
)
}
)
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 0d705ae5e..267d2e4ac 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -8,9 +8,9 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const response = input.setChecked()
expect(isPromise(response)).to.eql(true)
- expect(wrapper.text()).not.to.contain('checkbox checked')
+ expect(wrapper.text()).not.toContain('checkbox checked')
await response
- expect(wrapper.text()).to.contain('checkbox checked')
+ expect(wrapper.text()).toContain('checkbox checked')
})
it('sets element checked true with no option passed', () => {
const wrapper = mountingMethod(ComponentWithInput)
@@ -36,10 +36,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
await input.setChecked()
- expect(wrapper.text()).to.contain('checkbox checked')
+ expect(wrapper.text()).toContain('checkbox checked')
await input.setChecked(false)
- expect(wrapper.text()).to.not.contain('checkbox checked')
+ expect(wrapper.text()).not.toContain('checkbox checked')
})
it('changes state the right amount of times with checkbox v-model', async () => {
@@ -97,10 +97,10 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
await wrapper.find('#radioBar').setChecked()
- expect(wrapper.text()).to.contain('radioBarResult')
+ expect(wrapper.text()).toContain('radioBarResult')
await wrapper.find('#radioFoo').setChecked()
- expect(wrapper.text()).to.contain('radioFooResult')
+ expect(wrapper.text()).toContain('radioFooResult')
})
it('changes state the right amount of times with radio v-model', async () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 8029e49b5..82d57071b 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -48,7 +48,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(Component)
await wrapper.setData({ show: true })
expect(wrapper.element).toEqual(wrapper.vm.$el)
- expect(wrapper.classes()).to.contain('some-class')
+ expect(wrapper.classes()).toContain('some-class')
})
it('runs watch function when data is updated', async () => {
@@ -222,7 +222,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
foo: 'baz'
}
})
- expect(wrapper.text()).to.contain('baz')
+ expect(wrapper.text()).toContain('baz')
})
it('handles null values', async () => {
@@ -241,7 +241,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
another: null
}
})
- expect(wrapper.text()).to.contain('bar')
+ expect(wrapper.text()).toContain('bar')
wrapper.setData({
nullProperty: {
another: {
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index ed87284de..8cbd7c247 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -16,10 +16,10 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const options = wrapper.find('select').findAll('option')
await options.at(1).setSelected()
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
await options.at(0).setSelected()
- expect(wrapper.text()).to.contain('selectA')
+ expect(wrapper.text()).toContain('selectA')
})
it('updates dom with select v-model for select with optgroups', async () => {
@@ -27,10 +27,10 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const options = wrapper.find('select.with-optgroups').findAll('option')
await options.at(1).setSelected()
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
await options.at(0).setSelected()
- expect(wrapper.text()).to.contain('selectA')
+ expect(wrapper.text()).toContain('selectA')
})
it('triggers a change event on the parent select', () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 78720c465..e8109c792 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -9,9 +9,9 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
const response = input.setValue('foo')
expect(isPromise(response)).to.eql(true)
- expect(wrapper.text()).not.to.contain('foo')
+ expect(wrapper.text()).not.toContain('foo')
await response
- expect(wrapper.text()).to.contain('foo')
+ expect(wrapper.text()).toContain('foo')
})
it('sets element of input value', () => {
const wrapper = mountingMethod(ComponentWithInput)
@@ -34,7 +34,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input[type="text"]')
await input.setValue('input text awesome binding')
- expect(wrapper.text()).to.contain('input text awesome binding')
+ expect(wrapper.text()).toContain('input text awesome binding')
})
itDoNotRunIf(
@@ -45,7 +45,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find('input#lazy')
await input.setValue('lazy')
- expect(wrapper.text()).to.contain('lazy')
+ expect(wrapper.text()).toContain('lazy')
}
)
@@ -62,7 +62,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select')
await select.setValue('selectB')
- expect(wrapper.text()).to.contain('selectB')
+ expect(wrapper.text()).toContain('selectB')
})
it('sets element of multiselect value', () => {
@@ -93,7 +93,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const select = wrapper.find('select.multiselect')
await select.setValue(['selectA', 'selectC'])
- expect(wrapper.text()).to.contain('["selectA","selectC"]')
+ expect(wrapper.text()).toContain('["selectA","selectC"]')
})
it('throws error if element is option', () => {
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 126da8001..e03695338 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -21,12 +21,12 @@ describeWithShallowAndMount('trigger', mountingMethod => {
it('returns a promise that when resolved, the component is updated', async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
const response = toggle.trigger('click')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
expect(isPromise(response)).to.eql(true)
await response
- expect(toggle.classes()).to.contain('active')
+ expect(toggle.classes()).toContain('active')
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
@@ -115,10 +115,10 @@ describeWithShallowAndMount('trigger', mountingMethod => {
async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
- expect(toggle.classes()).not.to.contain('active')
+ expect(toggle.classes()).not.toContain('active')
toggle.trigger('click')
await Vue.nextTick()
- expect(toggle.classes()).to.contain('active')
+ expect(toggle.classes()).toContain('active')
}
)
From 523e8bc8a00e1ec142d0ace9a8ebbffffe78f786 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:40:47 +1000
Subject: [PATCH 10/46] refactor: remove sinon
---
.eslintrc | 3 ++-
test/specs/mounting-options/mocks.spec.js | 30 ++++++++---------------
2 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/.eslintrc b/.eslintrc
index a463b2c8e..7cf4c15c8 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -2,7 +2,8 @@
"globals": {
"wrapper": true,
"expect": true,
- "Element": true
+ "Element": true,
+ "jest": true
},
"root": true,
"plugins": [
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index a3a8002db..62482b977 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -6,19 +6,15 @@ import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.mocks', mountingMethod => {
- const sandbox = sinon.createSandbox()
- let configMocksSave
+ let originalConsoleError
beforeEach(() => {
- configMocksSave = config.mocks
- config.mocks = {}
- sandbox.stub(console, 'error').callThrough()
+ originalConsoleError = console.error
+ console.error = jest.fn()
})
afterEach(() => {
- config.mocks = configMocksSave
- sandbox.reset()
- sandbox.restore()
+ console.error = originalConsoleError
})
it('adds variables to vm when passed', () => {
@@ -38,8 +34,8 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$route
}
})
- expect(wrapper.html()).contains('true')
- expect(wrapper.html()).contains('http://test.com')
+ expect(wrapper.html()).toContain('true')
+ expect(wrapper.html()).toContain('http://test.com')
})
itSkipIf(vueVersion < 2.3, 'adds variables to extended components', () => {
@@ -59,11 +55,10 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
$route
}
})
- expect(wrapper.html()).contains('http://test.com')
+ expect(wrapper.html()).toContain('http://test.com')
})
it('adds variables as reactive properties to vm when passed', async () => {
- const stub = sandbox.stub()
const $reactiveMock = { value: 'value' }
const wrapper = mountingMethod(
{
@@ -72,11 +67,6 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
value() {
return this.$reactiveMock.value
}
- },
- watch: {
- value() {
- stub()
- }
}
},
{
@@ -105,7 +95,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { $store: { state: { count, foo: {} } } }
}
)
- expect(wrapper.html()).contains(count)
+ expect(wrapper.html()).toContain(count)
}
)
@@ -127,7 +117,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
localVue
}
)
- expect(wrapper.html()).contains(count)
+ expect(wrapper.html()).toContain(count)
}
)
@@ -159,7 +149,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
`[vue-test-utils]: could not overwrite property $store, this ` +
`is usually caused by a plugin that has added the property as ` +
`a read-only value`
- expect(console.error).calledWith(msg)
+ expect(console.error).toHaveBeenCalledWith(msg)
})
it('prioritize mounting options over config', () => {
From 0fe0eb0b7d1420f6acb9766978e01f2a1b51a93a Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:42:49 +1000
Subject: [PATCH 11/46] refactor: update tests to use jest
---
test/specs/mounting-options/parentComponent.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/parentComponent.spec.js b/test/specs/mounting-options/parentComponent.spec.js
index 2c8629064..4d23b858d 100644
--- a/test/specs/mounting-options/parentComponent.spec.js
+++ b/test/specs/mounting-options/parentComponent.spec.js
@@ -27,9 +27,7 @@ describeWithShallowAndMount('options.parentComponent', mountingMethod => {
})
const message =
'[vue-test-utils]: options.parentComponent should be a valid Vue component options object'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow({ message })
})
})
})
From a9926547e6f9bd54b0e734485755d2a98f51d489 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:44:11 +1000
Subject: [PATCH 12/46] refactor: update tests to use jest
---
test/specs/mounting-options/propsData.spec.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/specs/mounting-options/propsData.spec.js b/test/specs/mounting-options/propsData.spec.js
index 330310b13..6a5ca6799 100644
--- a/test/specs/mounting-options/propsData.spec.js
+++ b/test/specs/mounting-options/propsData.spec.js
@@ -21,13 +21,13 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'propsData', () => {
describe('should not modify propsData between tests', () => {
it('should have the correct props after modifying', () => {
- expect(wrapper.vm.prop1).to.have.length(2)
+ expect(wrapper.vm.prop1).toHaveLength(2)
wrapper.setProps({ prop1: [] })
- expect(wrapper.vm.prop1).to.have.length(0)
+ expect(wrapper.vm.prop1).toHaveLength(0)
})
it('should have the default props despite being modified in the previous test', () => {
- expect(wrapper.vm.prop1).to.have.length(2)
+ expect(wrapper.vm.prop1).toHaveLength(2)
})
})
})
From b0aba13e834a9ca45721f0ed905735c83b6e265a Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sat, 20 Jun 2020 18:53:45 +1000
Subject: [PATCH 13/46] refactor: add jsx plugin and update scopedSlots spec
---
test/specs/mounting-options/scopedSlots.spec.js | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 9e3b2ef50..7719fd0f4 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -5,15 +5,6 @@ import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
describeWithShallowAndMount('scopedSlots', mountingMethod => {
- const sandbox = sinon.createSandbox()
- const windowSave = window
-
- afterEach(() => {
- window = windowSave // eslint-disable-line no-native-reassign
- sandbox.reset()
- sandbox.restore()
- })
-
itDoNotRunIf(vueVersion < 2.1, 'handles templates as the root node', () => {
const wrapper = mountingMethod(
{
@@ -270,14 +261,14 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
return this.$scopedSlots.default(this.val)
}
}
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod(TestComponent, {
scopedSlots: {
default: stub
}
})
await Vue.nextTick()
- expect(stub).calledWith(123)
+ expect(stub).toHaveBeenCalledWith(123)
}
)
From e179b9288e951e9889fc1a794d0658b6f7d95178 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 30 Jun 2020 21:25:41 +1000
Subject: [PATCH 14/46] chore: add missing deps
---
package.json | 2 +-
yarn.lock | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index e0f2d2be1..a2498bed6 100644
--- a/package.json
+++ b/package.json
@@ -80,7 +80,7 @@
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
- "vue-class-component": "^6.1.2",
+ "vue-class-component": "^8.0.0-alpha.6",
"vue-loader": "^13.6.2",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
diff --git a/yarn.lock b/yarn.lock
index d41b06e49..7ce7a4ef6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15012,9 +15012,10 @@ void-elements@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-vue-class-component@^6.1.2:
- version "6.2.0"
- resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.2.0.tgz#7adb1daa9a868c75f30f97f33f4f1b94aee62089"
+vue-class-component@^8.0.0-alpha.6:
+ version "8.0.0-alpha.6"
+ resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-8.0.0-alpha.6.tgz#395ec86e58001680306278fcef60e1ffe705a5bd"
+ integrity sha512-bxugtly8bzgt0du09LjJnK6X5v8nhMi5ABw4KKy50Rv/UdaAZDCrThp6kBbtBXocMf4EnhlfRVf/N4g4CPDc/Q==
vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
From 623adc24b08f5f4b3d66ed822ba45e0ec18ed25e Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:06:31 +1000
Subject: [PATCH 15/46] test: add class component and update stubs tests
---
package.json | 2 +-
test/specs/mount.spec.js | 2 +-
test/specs/mounting-options/stubs.spec.js | 52 ++++++++++-------------
test/specs/wrapper/attributes.spec.js | 8 ++--
test/specs/wrapper/classes.spec.js | 12 +++---
test/specs/wrapper/emitted.spec.js | 46 ++++++++++----------
test/specs/wrapper/emittedByOrder.spec.js | 8 ++--
test/specs/wrapper/props.spec.js | 16 +++----
test/specs/wrapper/setChecked.spec.js | 2 +-
test/specs/wrapper/setData.spec.js | 2 +-
test/specs/wrapper/setProps.spec.js | 2 +-
test/specs/wrapper/setValue.spec.js | 2 +-
test/specs/wrapper/trigger.spec.js | 2 +-
yarn.lock | 8 ++--
14 files changed, 78 insertions(+), 86 deletions(-)
diff --git a/package.json b/package.json
index a2498bed6..253d8ff27 100644
--- a/package.json
+++ b/package.json
@@ -80,7 +80,7 @@
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
- "vue-class-component": "^8.0.0-alpha.6",
+ "vue-class-component": "^7.2.3",
"vue-loader": "^13.6.2",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index 43fef57a2..ac1d46609 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -359,7 +359,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
})
if (vueVersion > 2.3) {
- expect(wrapper.vm.$attrs).to.eql({ height: '50px', extra: 'attr' })
+ expect(wrapper.vm.$attrs).toEqual({ height: '50px', extra: 'attr' })
}
expect(wrapper.html()).toEqual(
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 454971b9a..fdda1a2f6 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -10,23 +10,23 @@ import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.stub', mountingMethod => {
- const sandbox = sinon.createSandbox()
let configStubsSave
let serverConfigSave
+ let consoleErrorSave
beforeEach(() => {
+ consoleErrorSave = console.error
+ console.error = jest.fn()
configStubsSave = config.stubs
serverConfigSave = serverConfig.stubs
config.stubs = {}
serverConfig.stubs = {}
- sandbox.stub(console, 'error').callThrough()
})
afterEach(() => {
- sandbox.reset()
- sandbox.restore()
config.stubs = configStubsSave
serverConfig.stubs = serverConfigSave
+ console.error = consoleErrorSave
})
it('accepts valid component stubs', () => {
@@ -59,7 +59,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
})
it('replaces component with a component', () => {
- const mounted = sandbox.stub()
+ const mounted = jest.fn()
const Stub = {
template: '
',
mounted
@@ -70,7 +70,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
expect(wrapper.findAll(Stub).length).toEqual(1)
- expect(mounted).calledOnce
+ expect(mounted).toHaveBeenCalled()
})
it('does not error if component to stub contains no components', () => {
@@ -101,7 +101,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ToStubComponent: { template: ' ' }
}
})
- expect(wrapper.html()).contains(' {
mountingMethod(ComponentWithGlobalComponent, {
stubs: [invalidValue]
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
})
@@ -280,9 +278,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -416,7 +412,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
'stub-component': StubComponent
}
})
- expect(wrapper.html()).contains('No render function')
+ expect(wrapper.html()).toContain('No render function')
})
it('throws an error when passed a circular reference for string stubs', () => {
@@ -445,9 +441,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: invalidValue.replace(/NAME/g, name)
}
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
validValues.forEach(validValue => {
mountingMethod(ComponentWithChild, {
@@ -470,9 +464,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ChildComponent: invalidValue
}
})
- expect(fn)
- .toThrow()
- .with.property('message', error)
+ expect(fn).toThrow(error)
})
})
@@ -548,8 +540,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.vm.$refs.normalChild).to.exist
- expect(wrapper.vm.$refs.functionalChild).to.exist
+ expect(wrapper.vm.$refs.normalChild).toBeTruthy()
+ expect(wrapper.vm.$refs.functionalChild).toBeTruthy()
})
it('uses original component stub', () => {
@@ -570,8 +562,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
ToStub: Stub
}
})
- expect(wrapper.find(ToStub).exists()).to.be.false
- expect(wrapper.find(Stub).exists()).to.be.true
+ expect(wrapper.find(ToStub).exists()).toBe(false)
+ expect(wrapper.find(Stub).exists()).toBe(true)
})
it('stubs globally registered components', () => {
@@ -591,7 +583,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
const result = wrapper.find(ChildComponent)
- expect(result.exists()).to.be.true
+ expect(result.exists()).toBe(true)
expect(result.props().propA).toEqual('A')
delete Vue.options.components['child-component']
})
@@ -612,17 +604,17 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
- expect(wrapper.find('#component-stub').attributes()).to.eql({
+ expect(wrapper.find('#component-stub').attributes()).toEqual({
id: 'component-stub',
prop1: 'foobar',
prop2: 'fizzbuzz'
})
- expect(wrapper.find('#string-stub').attributes()).to.eql({
+ expect(wrapper.find('#string-stub').attributes()).toEqual({
id: 'string-stub',
prop1: 'foobar',
prop2: 'fizzbuzz'
})
- expect(wrapper.find('originalcomponent-stub').attributes()).to.eql({
+ expect(wrapper.find('originalcomponent-stub').attributes()).toEqual({
prop1: 'foobar',
prop2: 'fizzbuzz'
})
@@ -638,8 +630,8 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
}
})
- expect(console.error).calledWith(
- sandbox.match('[vue-test-utils]: Using a string for stubs is deprecated')
+ expect(console.error.mock.calls[0][0]).toContain(
+ '[vue-test-utils]: Using a string for stubs is deprecated'
)
config.showDeprecationWarnings = false
})
diff --git a/test/specs/wrapper/attributes.spec.js b/test/specs/wrapper/attributes.spec.js
index 733c87946..b1a50f137 100644
--- a/test/specs/wrapper/attributes.spec.js
+++ b/test/specs/wrapper/attributes.spec.js
@@ -7,13 +7,13 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes()).to.eql({ attribute: value })
+ expect(wrapper.attributes()).toEqual({ attribute: value })
})
it('returns empty object if wrapper does not contain any attributes', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes()).to.eql({})
+ expect(wrapper.attributes()).toEqual({})
})
it('returns the given attribute if wrapper contains attribute matching value', () => {
@@ -21,7 +21,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes('attribute')).to.eql(value)
+ expect(wrapper.attributes('attribute')).toEqual(value)
})
it('returns undefined if the wrapper does not contain the matching value', () => {
@@ -29,6 +29,6 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const value = 'value'
const compiled = compileToFunctions(`
`)
const wrapper = mountingMethod(compiled)
- expect(wrapper.attributes('fake')).to.eql(undefined)
+ expect(wrapper.attributes('fake')).toEqual(undefined)
})
})
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index f7aa15396..9d7fa2173 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -18,7 +18,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
it('returns original class names when element mapped in css modules', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
- expect(wrapper.classes()).to.eql(['extension', 'color-red'])
+ expect(wrapper.classes()).toEqual(['extension', 'color-red'])
})
it('returns array of class names for svg element', () => {
@@ -36,14 +36,14 @@ describeWithShallowAndMount('classes', mountingMethod => {
' '
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.classes('a-class')).to.eql(true)
- expect(wrapper.classes('b-class')).to.eql(true)
- expect(wrapper.find('text').classes('c-class')).to.eql(true)
- expect(wrapper.classes('x-class')).to.eql(false)
+ expect(wrapper.classes('a-class')).toEqual(true)
+ expect(wrapper.classes('b-class')).toEqual(true)
+ expect(wrapper.find('text').classes('c-class')).toEqual(true)
+ expect(wrapper.classes('x-class')).toEqual(false)
})
it('returns false if the element does not have the class', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
- expect(wrapper.classes('x-class')).to.eql(false)
+ expect(wrapper.classes('x-class')).toEqual(false)
})
})
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 5bbad37cb..7ee506f88 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -10,20 +10,20 @@ describeWithShallowAndMount('emitted', mountingMethod => {
})
wrapper.vm.$emit('foo')
- expect(wrapper.emitted('foo')).to.exist
+ expect(wrapper.emitted('foo')).toBeTruthy()
expect(wrapper.emitted('foo').length).toEqual(1)
- expect(wrapper.emitted('foo')[0]).to.eql([])
+ expect(wrapper.emitted('foo')[0]).toEqual([])
- expect(wrapper.emitted('bar')).not.to.exist
+ expect(wrapper.emitted('bar')).nottoBeTruthy()
wrapper.vm.$emit('bar', 1, 2, 3)
- expect(wrapper.emitted('bar')).to.exist
+ expect(wrapper.emitted('bar')).toBeTruthy()
expect(wrapper.emitted('bar').length).toEqual(1)
- expect(wrapper.emitted('bar')[0]).to.eql([1, 2, 3])
+ expect(wrapper.emitted('bar')[0]).toEqual([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
- expect(wrapper.emitted('foo')).to.exist
+ expect(wrapper.emitted('foo')).toBeTruthy()
expect(wrapper.emitted('foo').length).toEqual(2)
- expect(wrapper.emitted('foo')[1]).to.eql([2, 3, 4])
+ expect(wrapper.emitted('foo')[1]).toEqual([2, 3, 4])
})
it('captures emitted events', () => {
@@ -32,20 +32,20 @@ describeWithShallowAndMount('emitted', mountingMethod => {
})
wrapper.vm.$emit('foo')
- expect(wrapper.emitted().foo).to.exist
+ expect(wrapper.emitted().foo).toBeTruthy()
expect(wrapper.emitted().foo.length).toEqual(1)
- expect(wrapper.emitted().foo[0]).to.eql([])
+ expect(wrapper.emitted().foo[0]).toEqual([])
- expect(wrapper.emitted().bar).not.to.exist
+ expect(wrapper.emitted().bar).nottoBeTruthy()
wrapper.vm.$emit('bar', 1, 2, 3)
- expect(wrapper.emitted().bar).to.exist
+ expect(wrapper.emitted().bar).toBeTruthy()
expect(wrapper.emitted().bar.length).toEqual(1)
- expect(wrapper.emitted().bar[0]).to.eql([1, 2, 3])
+ expect(wrapper.emitted().bar[0]).toEqual([1, 2, 3])
wrapper.vm.$emit('foo', 2, 3, 4)
- expect(wrapper.emitted().foo).to.exist
+ expect(wrapper.emitted().foo).toBeTruthy()
expect(wrapper.emitted().foo.length).toEqual(2)
- expect(wrapper.emitted().foo[1]).to.eql([2, 3, 4])
+ expect(wrapper.emitted().foo[1]).toEqual([2, 3, 4])
})
it('throws error when called on non VueWrapper', () => {
@@ -72,8 +72,8 @@ describeWithShallowAndMount('emitted', mountingMethod => {
render: () => {}
})
- expect(wrapper.emitted().foo).to.eql([[]])
- expect(wrapper.emitted().bar).to.eql([[1, 2]])
+ expect(wrapper.emitted().foo).toEqual([[]])
+ expect(wrapper.emitted().bar).toEqual([[1, 2]])
})
it('captures only events from its component without side effects on localVue', () => {
@@ -99,10 +99,10 @@ describeWithShallowAndMount('emitted', mountingMethod => {
{ localVue }
)
- expect(wrapper1.emitted().foo).to.eql([[]])
- expect(wrapper1.emitted().bar).to.eql(undefined)
- expect(wrapper2.emitted().foo).to.eql(undefined)
- expect(wrapper2.emitted().bar).to.eql([[]])
+ expect(wrapper1.emitted().foo).toEqual([[]])
+ expect(wrapper1.emitted().bar).toEqual(undefined)
+ expect(wrapper2.emitted().foo).toEqual(undefined)
+ expect(wrapper2.emitted().bar).toEqual([[]])
})
itDoNotRunIf(
@@ -129,7 +129,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
}
})
- expect(wrapper.find({ name: 'bar' }).emitted('foo')).to.exist
+ expect(wrapper.find({ name: 'bar' }).emitted('foo')).toBeTruthy()
}
)
@@ -159,7 +159,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
}
})
- expect(wrapper.find({ name: 'bar' }).emitted('foo')).to.exist
+ expect(wrapper.find({ name: 'bar' }).emitted('foo')).toBeTruthy()
}
)
@@ -170,6 +170,6 @@ describeWithShallowAndMount('emitted', mountingMethod => {
wrapper.vm.$root.$emit('foo')
const rootWrapper = createWrapper(wrapper.vm.$root)
- expect(rootWrapper.emitted('foo')).to.exist
+ expect(rootWrapper.emitted('foo')).toBeTruthy()
})
})
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index c1b2884c3..ba76f6fdf 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -12,7 +12,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
wrapper.vm.$emit('foo', 2, 3, 4)
if (Vue.version === '2.0.8') {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'hook:beforeCreate', args: [] },
{ name: 'hook:created', args: [] },
{ name: 'hook:beforeMount', args: [] },
@@ -22,7 +22,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
{ name: 'foo', args: [2, 3, 4] }
])
} else {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'bar', args: [1, 2, 3] },
{ name: 'foo', args: [2, 3, 4] }
@@ -58,7 +58,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
})
if (Vue.version === '2.0.8') {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'hook:beforeCreate', args: [] },
{ name: 'bar', args: [1, 2, 3] },
@@ -68,7 +68,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
{ name: 'hook:mounted', args: [] }
])
} else {
- expect(wrapper.emittedByOrder()).to.eql([
+ expect(wrapper.emittedByOrder()).toEqual([
{ name: 'foo', args: [] },
{ name: 'bar', args: [1, 2, 3] },
{ name: 'foo', args: [2, 3, 4] }
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 1ecbf3bfa..e63a2cf59 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -13,13 +13,13 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'string val' })
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'string val' })
})
it('returns an empty object if wrapper does not have props', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.props()).to.eql({})
+ expect(wrapper.props()).toEqual({})
})
it('should update after setProps', () => {
@@ -29,11 +29,11 @@ describeWithShallowAndMount('props', mountingMethod => {
propsData: { prop1, prop2 }
})
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'val1' })
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'val1' })
// setProps
wrapper.setProps({ prop2: 'val2' })
- expect(wrapper.vm.prop2).to.eql('val2') // pass
- expect(wrapper.props()).to.eql({ prop1: {}, prop2: 'val2' }) // fail
+ expect(wrapper.vm.prop2).toEqual('val2') // pass
+ expect(wrapper.props()).toEqual({ prop1: {}, prop2: 'val2' }) // fail
})
it('returns default props', () => {
@@ -98,8 +98,8 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props('prop1')).to.eql({})
- expect(wrapper.props('prop2')).to.eql('string val')
+ expect(wrapper.props('prop1')).toEqual({})
+ expect(wrapper.props('prop2')).toEqual('string val')
})
it('returns undefined if the given key is not found', () => {
@@ -108,6 +108,6 @@ describeWithShallowAndMount('props', mountingMethod => {
const wrapper = mountingMethod(ComponentWithProps, {
propsData: { prop1, prop2 }
})
- expect(wrapper.props('propNotHere')).to.eql(undefined)
+ expect(wrapper.props('propNotHere')).toEqual(undefined)
})
})
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 267d2e4ac..8c4521538 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -7,7 +7,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const input = wrapper.find('input[type="checkbox"]')
const response = input.setChecked()
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.text()).not.toContain('checkbox checked')
await response
expect(wrapper.text()).toContain('checkbox checked')
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 82d57071b..2c34cdc8c 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
expect(wrapper.findAll('.child.ready').length).toEqual(0)
const response = wrapper.setData({ ready: true })
expect(wrapper.findAll('.child.ready').length).toEqual(0)
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
await response
expect(wrapper.findAll('.child.ready').length).toEqual(1)
})
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 14398abd2..0d3884883 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -23,7 +23,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
it('returns a promise, when resolved component is updated', async () => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.find('.prop-1').text()).toEqual('')
await response
expect(wrapper.find('.prop-1').text()).toEqual('foo')
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index e8109c792..3875da294 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -8,7 +8,7 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="text"]')
const response = input.setValue('foo')
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
expect(wrapper.text()).not.toContain('foo')
await response
expect(wrapper.text()).toContain('foo')
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index e03695338..b4fdbb08c 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -24,7 +24,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
expect(toggle.classes()).not.toContain('active')
const response = toggle.trigger('click')
expect(toggle.classes()).not.toContain('active')
- expect(isPromise(response)).to.eql(true)
+ expect(isPromise(response)).toEqual(true)
await response
expect(toggle.classes()).toContain('active')
})
diff --git a/yarn.lock b/yarn.lock
index 7ce7a4ef6..df660b50f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15012,10 +15012,10 @@ void-elements@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-vue-class-component@^8.0.0-alpha.6:
- version "8.0.0-alpha.6"
- resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-8.0.0-alpha.6.tgz#395ec86e58001680306278fcef60e1ffe705a5bd"
- integrity sha512-bxugtly8bzgt0du09LjJnK6X5v8nhMi5ABw4KKy50Rv/UdaAZDCrThp6kBbtBXocMf4EnhlfRVf/N4g4CPDc/Q==
+vue-class-component@^7.2.3:
+ version "7.2.3"
+ resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
+ integrity sha512-oEqYpXKaFN+TaXU+mRLEx8dX0ah85aAJEe61mpdoUrq0Bhe/6sWhyZX1JjMQLhVsHAkncyhedhmCdDVSasUtDw==
vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
version "2.3.0"
From bf67d5713f25a30c0ffe35eddc5a31fbe262f074 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:10:55 +1000
Subject: [PATCH 16/46] test: update tests
---
test/specs/mounting-options/slots.spec.js | 28 ++++++-----------------
1 file changed, 7 insertions(+), 21 deletions(-)
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 20100a995..0850b8f71 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -107,9 +107,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
slots: { default: ' ' }
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -147,9 +145,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
slots: { default: [' '] }
})
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
@@ -338,9 +334,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
mountingMethod(TestComponent, { slots: { named: [false] } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed an array of numbers for named slots', () => {
@@ -352,9 +346,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: [1] } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed false for named slots', () => {
@@ -366,9 +358,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: false } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed a number for named slots', () => {
@@ -380,9 +370,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
const fn = () => mountingMethod(TestComponent, { slots: { named: 1 } })
const message =
'[vue-test-utils]: slots[key] must be a Component, string or an array of Components'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if passed string in default slot array when vue-template-compiler is undefined', () => {
@@ -403,9 +391,7 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
})
}
try {
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} catch (err) {
require.cache[
require.resolve('vue-template-compiler')
From 97207fa2c36b7f615c8478160f089ed35a77ce41 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:38:39 +1000
Subject: [PATCH 17/46] test: migrate more tests
---
package.json | 1 +
test/specs/config.spec.js | 4 +-
test/specs/create-local-vue.spec.js | 8 +-
test/specs/error-wrapper.spec.js | 4 +-
test/specs/mount.spec.js | 22 +++---
test/specs/mounting-options/localVue.spec.js | 4 +-
test/specs/mounting-options/mocks.spec.js | 4 +-
.../mounting-options/scopedSlots.spec.js | 4 +-
test/specs/mounting-options/stubs.spec.js | 4 +-
test/specs/shallow-mount.spec.js | 10 ++-
test/specs/vue-wrapper.spec.js | 4 +-
test/specs/wrapper-array.spec.js | 26 +++----
test/specs/wrapper-array/at.spec.js | 14 ++--
test/specs/wrapper-array/attributes.spec.js | 8 +-
test/specs/wrapper-array/classes.spec.js | 8 +-
test/specs/wrapper-array/contains.spec.js | 8 +-
test/specs/wrapper-array/find.spec.js | 8 +-
test/specs/wrapper-array/findAll.spec.js | 8 +-
test/specs/wrapper-array/html.spec.js | 8 +-
test/specs/wrapper-array/is.spec.js | 8 +-
test/specs/wrapper-array/isEmpty.spec.js | 4 +-
test/specs/wrapper-array/isVisible.spec.js | 4 +-
.../specs/wrapper-array/isVueInstance.spec.js | 4 +-
test/specs/wrapper-array/name.spec.js | 8 +-
test/specs/wrapper-array/overview.spec.js | 8 +-
test/specs/wrapper-array/props.spec.js | 8 +-
test/specs/wrapper-array/setData.spec.js | 8 +-
test/specs/wrapper-array/setProps.spec.js | 8 +-
test/specs/wrapper-array/setSelected.spec.js | 4 +-
test/specs/wrapper-array/text.spec.js | 8 +-
test/specs/wrapper-array/trigger.spec.js | 14 ++--
test/specs/wrapper.spec.js | 4 +-
test/specs/wrapper/at.spec.js | 4 +-
test/specs/wrapper/classes.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 8 +-
test/specs/wrapper/destroy.spec.js | 15 +---
test/specs/wrapper/emitted.spec.js | 8 +-
test/specs/wrapper/emittedByOrder.spec.js | 4 +-
test/specs/wrapper/filter.spec.js | 4 +-
test/specs/wrapper/find.spec.js | 78 +++++++------------
test/specs/wrapper/findAll.spec.js | 20 ++---
test/specs/wrapper/get.spec.js | 11 +--
test/specs/wrapper/is.spec.js | 8 +-
test/specs/wrapper/overview.spec.js | 26 +++----
test/specs/wrapper/props.spec.js | 4 +-
test/specs/wrapper/setData.spec.js | 12 ++-
test/specs/wrapper/setProps.spec.js | 4 +-
test/specs/wrapper/trigger.spec.js | 28 +++----
yarn.lock | 12 +++
49 files changed, 182 insertions(+), 313 deletions(-)
diff --git a/package.json b/package.json
index 253d8ff27..21b6a4bb1 100644
--- a/package.json
+++ b/package.json
@@ -99,6 +99,7 @@
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.1.0",
+ "identity-obj-proxy": "^3.0.0",
"jest": "^26.0.1",
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index 7dd1c8965..d9d29e3a9 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -11,7 +11,9 @@ describeWithShallowAndMount('config', mountingMethod => {
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index 1b53d576e..e8c4b89f8 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -21,7 +21,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
}
})
const wrapper = mountingMethod(Component, { localVue, store })
- expect(wrapper.vm.$store).to.be.an('object')
+ expect(wrapper.vm.$store).toBeTruthy()
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$store).toEqual('undefined')
})
@@ -45,7 +45,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
}
})
const wrapper = mountingMethod(ComponentWithVuex, { localVue, store })
- expect(wrapper.vm.$store).to.be.an('object')
+ expect(wrapper.vm.$store).toBeTruthy()
expect(wrapper.text()).toEqual('0 1')
wrapper.trigger('click')
await Vue.nextTick()
@@ -60,7 +60,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
routes
})
const wrapper = mountingMethod(Component, { localVue, router })
- expect(wrapper.vm.$route).to.be.an('object')
+ expect(wrapper.vm.$route).toBeTruthy()
const freshWrapper = mountingMethod(Component)
expect(typeof freshWrapper.vm.$route).toEqual('undefined')
})
@@ -89,7 +89,7 @@ describeWithShallowAndMount('createLocalVue', mountingMethod => {
routes
})
const wrapper = mountingMethod(ComponentWithRouter, { localVue, router })
- expect(wrapper.vm.$route).to.be.an('object')
+ expect(wrapper.vm.$route).toBeTruthy()
expect(wrapper.text()).toContain('home')
diff --git a/test/specs/error-wrapper.spec.js b/test/specs/error-wrapper.spec.js
index 8f44cb7b8..3ef624864 100644
--- a/test/specs/error-wrapper.spec.js
+++ b/test/specs/error-wrapper.spec.js
@@ -44,9 +44,7 @@ describeWithShallowAndMount('ErrorWrapper', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const error = wrapper.find(selector)
expect(error.constructor.name).toEqual('ErrorWrapper')
- expect(() => error[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => error[method]()).toThrow(message)
})
})
})
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index ac1d46609..adab0972c 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -15,7 +15,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const windowSave = window
beforeEach(() => {
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
@@ -27,7 +29,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('returns new VueWrapper with mounted Vue instance if no options are passed', () => {
const compiled = compileToFunctions('
')
const wrapper = mount(compiled)
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
})
it('handles root functional component', () => {
@@ -45,7 +47,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
it('returns new VueWrapper with correct props data', () => {
const prop1 = { test: 'TEST' }
const wrapper = mount(ComponentWithProps, { propsData: { prop1 } })
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
if (wrapper.vm.$props) {
expect(wrapper.vm.$props.prop1).toEqual(prop1)
} else {
@@ -129,11 +131,11 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
it('does not use cached component', () => {
- sandbox.stub(ComponentWithMixin.methods, 'someMethod')
+ jest.fn()(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
ComponentWithMixin.methods.someMethod.restore()
- sandbox.stub(ComponentWithMixin.methods, 'someMethod')
+ jest.fn()(ComponentWithMixin.methods, 'someMethod')
mount(ComponentWithMixin)
expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
})
@@ -149,16 +151,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
'[vue-test-utils]: window is undefined, vue-test-utils needs to be run in a browser environment.\n You can run the tests in node using JSDOM'
window = undefined // eslint-disable-line no-native-reassign
- expect(() => mount(compileToFunctions('
')))
- .toThrow()
- .with.property('message', message)
+ expect(() => mount(compileToFunctions('
'))).toThrow(message)
})
it('compiles inline templates', () => {
const wrapper = mount({
template: `foo
`
})
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
expect(wrapper.html()).toEqual(`foo
`)
})
@@ -174,7 +174,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const wrapper = mount({
template: '#foo'
})
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
expect(wrapper.html()).toEqual(`foo
`)
window.body.removeChild(template)
@@ -182,7 +182,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
itDoNotRunIf(vueVersion < 2.3, 'overrides methods', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()()
const TestComponent = Vue.extend({
template: '
',
methods: {
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index a15b045be..1f7811f50 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -171,9 +171,7 @@ describeWithShallowAndMount('options.localVue', mountingMethod => {
stubs: false,
mocks: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index 62482b977..f0abec5e1 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -185,9 +185,7 @@ describeWithShallowAndMount('options.mocks', mountingMethod => {
mocks: { something: 'true' },
stubs: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
})
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 7719fd0f4..0e5c24c4c 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -237,9 +237,7 @@ describeWithShallowAndMount('scopedSlots', mountingMethod => {
}
const message =
'[vue-test-utils]: the scopedSlots option is only supported in vue@2.1+.'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index fdda1a2f6..80ded2583 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -486,9 +486,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
},
mocks: false
})
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
)
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index af88169f9..9b39a458c 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -17,8 +17,12 @@ import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
- sandbox.stub(console, 'error').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
+ jest
+ .fn()(console, 'error')
+ .callThrough()
})
afterEach(() => {
@@ -41,7 +45,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
const compiled = compileToFunctions('
')
const wrapper = shallowMount(compiled)
expect(wrapper.isVueInstance()).toEqual(true)
- expect(wrapper.vm).to.be.an('object')
+ expect(wrapper.vm).toBeTruthy()
})
it('returns new VueWrapper with all children stubbed', () => {
diff --git a/test/specs/vue-wrapper.spec.js b/test/specs/vue-wrapper.spec.js
index 1e12ef866..090cd9270 100644
--- a/test/specs/vue-wrapper.spec.js
+++ b/test/specs/vue-wrapper.spec.js
@@ -8,9 +8,7 @@ describeWithShallowAndMount('VueWrapper', mountingMethod => {
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 85ce3e00a..ecb457e6a 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -26,9 +26,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
const message = `[vue-test-utils]: wrapperArray.${property} is read-only`
expect(() => {
wrapperArray[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
@@ -84,9 +82,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
const wrapperArray = getWrapperArray([])
const message = `[vue-test-utils]: ${method} cannot be called on 0 items`
- expect(() => wrapperArray[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapperArray[method]()).toThrow(message)
})
it(`${method} throws error if called when there are items in wrapper array`, () => {
@@ -111,9 +107,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
}
const wrapperArray = getWrapperArray([1, 2, 3])
const message = `[vue-test-utils]: ${method} must be called on a single wrapper, use at(i) to access a wrapper`
- expect(() => wrapperArray[method]())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapperArray[method]()).toThrow(message)
})
})
@@ -147,7 +141,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('contains returns true if every wrapper.contains() returns true', () => {
const selector = 'selector'
- const contains = sandbox.stub()
+ const contains = jest.fn()()
contains.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
expect(wrapperArray.contains(selector)).toEqual(true)
@@ -163,7 +157,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('is returns true if every wrapper.is() returns true', () => {
const selector = 'selector'
- const is = sandbox.stub()
+ const is = jest.fn()()
is.withArgs(selector).returns(true)
const wrapperArray = getWrapperArray([{ is }, { is }])
expect(wrapperArray.is(selector)).toEqual(true)
@@ -226,7 +220,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setMethods calls setMethods on each wrapper', () => {
- const setMethods = sandbox.stub()
+ const setMethods = jest.fn()()
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
@@ -235,7 +229,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setData calls setData on each wrapper', () => {
- const setData = sandbox.stub()
+ const setData = jest.fn()()
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
@@ -244,7 +238,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setProps calls setProps on each wrapper', () => {
- const setProps = sandbox.stub()
+ const setProps = jest.fn()()
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
@@ -253,7 +247,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('trigger calls trigger on each wrapper', () => {
- const trigger = sandbox.stub()
+ const trigger = jest.fn()()
const event = 'click'
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
@@ -263,7 +257,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('destroy calls destroy on each wrapper', () => {
- const destroy = sandbox.stub()
+ const destroy = jest.fn()()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
expect(destroy.calledTwice).toEqual(true)
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 3d7b414a0..0e8fc2a9e 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -9,7 +9,7 @@ describeWithShallowAndMount('at', mountingMethod => {
const p = mountingMethod(TestComponent)
.findAll('p')
.at(1)
- expect(p.vnode).to.be.an('object')
+ expect(p.vnode).toBeTruthy()
expect(p.classes()).toContain('index-1')
})
@@ -20,9 +20,9 @@ describeWithShallowAndMount('at', mountingMethod => {
const all = mountingMethod(TestComponent).findAll('p')
const last = all.at(-1)
const first = all.at(-2)
- expect(last.vnode).to.be.an('object')
+ expect(last.vnode).toBeTruthy()
expect(last.classes()).toContain('index-last')
- expect(first.vnode).to.be.an('object')
+ expect(first.vnode).toBeTruthy()
expect(first.classes()).toContain('index-first')
})
@@ -36,9 +36,7 @@ describeWithShallowAndMount('at', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.at(index)
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error if no item exists at negative index', () => {
@@ -51,8 +49,6 @@ describeWithShallowAndMount('at', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.at(index)
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index 4e4097bd9..f31b2c97a 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('attributes', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.attributes('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -24,8 +22,6 @@ describeWithShallowAndMount('attributes', mountingMethod => {
const message =
'[vue-test-utils]: attributes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').attributes()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index b6889a5b8..a8ad82d56 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.classes('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -24,8 +22,6 @@ describeWithShallowAndMount('classes', mountingMethod => {
const message =
'[vue-test-utils]: classes must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').classes()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index fc7df19a2..6abd9428a 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -25,9 +25,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.contains('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error if selector is not a valid selector', () => {
@@ -50,9 +48,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
invalidSelectors.forEach(invalidSelector => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
- expect(() => pArr.contains(invalidSelector))
- .toThrow()
- .with.property('message', message)
+ expect(() => pArr.contains(invalidSelector)).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index 63bcbc95c..03d7d027e 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('find', mountingMethod => {
mountingMethod(TestComponent)
.findAll('p')
.find('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws an error when called on a WrapperArray', () => {
@@ -23,8 +21,6 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
const message =
'[vue-test-utils]: find must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').find('div'))
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').find('div')).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index cbee376a5..d84078c5f 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.findAll('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws an error when called on a WrapperArray', () => {
@@ -22,8 +20,6 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message =
'[vue-test-utils]: findAll must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').findAll('div'))
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').findAll('div')).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index fc5c4eb8d..a6ba4ae49 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('html', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.html('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('html', mountingMethod => {
const message =
'[vue-test-utils]: html must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').html()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/is.spec.js b/test/specs/wrapper-array/is.spec.js
index 1a59089f4..8f2095dca 100644
--- a/test/specs/wrapper-array/is.spec.js
+++ b/test/specs/wrapper-array/is.spec.js
@@ -37,9 +37,7 @@ describeWithShallowAndMount('is', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.is('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if selector is not a valid selector', () => {
@@ -62,9 +60,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('div').is(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index e64f0169e..9867409a6 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -24,8 +24,6 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isEmpty('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index e989afff0..53c5a9856 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -35,8 +35,6 @@ describeWithShallowAndMount('isVisible', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isVisible('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/isVueInstance.spec.js b/test/specs/wrapper-array/isVueInstance.spec.js
index 9b076b60d..7599e2cef 100644
--- a/test/specs/wrapper-array/isVueInstance.spec.js
+++ b/test/specs/wrapper-array/isVueInstance.spec.js
@@ -23,8 +23,6 @@ describeWithShallowAndMount('isVueInstance', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.isVueInstance('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index c5ec35a62..cca24893e 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -8,9 +8,7 @@ describeWithShallowAndMount('name', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message =
'[vue-test-utils]: name must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').name())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').name()).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -20,8 +18,6 @@ describeWithShallowAndMount('name', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.name('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index b19e01df7..aed635dfb 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -7,9 +7,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const wrapper = mountingMethod(compileToFunctions('
'))
const message = '[vue-test-utils]: overview() cannot be called on 0 items'
- expect(() => wrapper.findAll('p').overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('p').overview()).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -17,8 +15,6 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message =
'[vue-test-utils]: overview() must be called on a single wrapper, use at(i) to access a wrapper'
- expect(() => wrapper.findAll('div').overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => wrapper.findAll('div').overview()).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index aa891656b..b13d676d9 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -10,9 +10,7 @@ describeWithShallowAndMount('props', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.props('p')
- )
- .toThrow()
- .with.property('message', message)
+ ).toThrow(message)
})
it('throws error when called on a WrapperArray', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: props must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setData.spec.js b/test/specs/wrapper-array/setData.spec.js
index 48c814f7d..469aa06cf 100644
--- a/test/specs/wrapper-array/setData.spec.js
+++ b/test/specs/wrapper-array/setData.spec.js
@@ -19,9 +19,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const fn = () => wrapper.findAll('p').setData({ ready: true })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -31,8 +29,6 @@ describeWithShallowAndMount('setData', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.setData('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setProps.spec.js b/test/specs/wrapper-array/setProps.spec.js
index 47e4a1556..c7795f622 100644
--- a/test/specs/wrapper-array/setProps.spec.js
+++ b/test/specs/wrapper-array/setProps.spec.js
@@ -32,9 +32,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const wrapper = mountingMethod(compiled)
const p = wrapper.findAll('p')
const fn = () => p.setProps({ ready: true })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -44,8 +42,6 @@ describeWithShallowAndMount('setProps', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.setProps('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/setSelected.spec.js b/test/specs/wrapper-array/setSelected.spec.js
index a4a936785..a3a6d2ebb 100644
--- a/test/specs/wrapper-array/setSelected.spec.js
+++ b/test/specs/wrapper-array/setSelected.spec.js
@@ -18,8 +18,6 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const fn = () => wrapperArray.setSelected()
const message =
'[vue-test-utils]: setSelected must be called on a single wrapper, use at(i) to access a wrapper'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index 2b8cc1b06..acc7ba4a0 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -9,9 +9,7 @@ describeWithShallowAndMount('text', mountingMethod => {
const message =
'[vue-test-utils]: text must be called on a single wrapper, use at(i) to access a wrapper'
const fn = () => wrapper.findAll('div').text()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws error if wrapper array contains no items', () => {
@@ -21,8 +19,6 @@ describeWithShallowAndMount('text', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.text('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 17b5bcd5d..372ec6aa2 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -11,7 +11,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -22,7 +22,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -32,7 +32,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -59,9 +59,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
@@ -72,8 +70,6 @@ describeWithShallowAndMount('trigger', mountingMethod => {
mountingMethod(compiled)
.findAll('p')
.trigger('p')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index dfc93bd32..5b4f40d9f 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -11,9 +11,7 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
const message = `[vue-test-utils]: wrapper.${property} is read-only`
expect(() => {
wrapper[property] = 'foo'
- })
- .toThrow()
- .with.property('message', message)
+ }).toThrow(message)
})
})
diff --git a/test/specs/wrapper/at.spec.js b/test/specs/wrapper/at.spec.js
index 23170f210..5ea382c11 100644
--- a/test/specs/wrapper/at.spec.js
+++ b/test/specs/wrapper/at.spec.js
@@ -7,8 +7,6 @@ describeWithShallowAndMount('at', mountingMethod => {
const wrapper = mountingMethod(compiled)
const message = '[vue-test-utils]: at() must be called on a WrapperArray'
const fn = () => wrapper.at()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/classes.spec.js b/test/specs/wrapper/classes.spec.js
index 9d7fa2173..549d34642 100644
--- a/test/specs/wrapper/classes.spec.js
+++ b/test/specs/wrapper/classes.spec.js
@@ -16,7 +16,7 @@ describeWithShallowAndMount('classes', mountingMethod => {
expect(wrapper.classes().length).toEqual(0)
})
- it('returns original class names when element mapped in css modules', () => {
+ it.skip('returns original class names when element mapped in css modules', () => {
const wrapper = mountingMethod(ComponentWithCssModules)
expect(wrapper.classes()).toEqual(['extension', 'color-red'])
})
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index 5b7d43f07..6ed25de05 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -74,9 +74,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.contains({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns true when wrapper contains root element', () => {
@@ -158,9 +156,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.contains() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.contains(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper/destroy.spec.js b/test/specs/wrapper/destroy.spec.js
index 5aa085946..479617053 100644
--- a/test/specs/wrapper/destroy.spec.js
+++ b/test/specs/wrapper/destroy.spec.js
@@ -1,33 +1,26 @@
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('destroy', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('triggers beforeDestroy ', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod({
render: () => {},
beforeDestroy() {
stub()
}
}).destroy()
- expect(stub.calledOnce).toEqual(true)
+ expect(stub).toHaveBeenCalled()
})
it('triggers destroy ', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()
mountingMethod({
render: () => {},
destroyed() {
stub()
}
}).destroy()
- expect(stub.calledOnce).toEqual(true)
+ expect(stub).toHaveBeenCalled()
})
it('removes element from document.body', () => {
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index 7ee506f88..e63464a1a 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -14,7 +14,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
expect(wrapper.emitted('foo').length).toEqual(1)
expect(wrapper.emitted('foo')[0]).toEqual([])
- expect(wrapper.emitted('bar')).nottoBeTruthy()
+ expect(wrapper.emitted('bar')).toBeFalsy()
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted('bar')).toBeTruthy()
expect(wrapper.emitted('bar').length).toEqual(1)
@@ -36,7 +36,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
expect(wrapper.emitted().foo.length).toEqual(1)
expect(wrapper.emitted().foo[0]).toEqual([])
- expect(wrapper.emitted().bar).nottoBeTruthy()
+ expect(wrapper.emitted().bar).toBeFalsy()
wrapper.vm.$emit('bar', 1, 2, 3)
expect(wrapper.emitted().bar).toBeTruthy()
expect(wrapper.emitted().bar.length).toEqual(1)
@@ -56,9 +56,7 @@ describeWithShallowAndMount('emitted', mountingMethod => {
'[vue-test-utils]: wrapper.emitted() can only be called on a Vue instance'
const fn = () => wrapper.find('p').emitted()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('captures all events thrown after beforeCreate lifecycle hook', () => {
diff --git a/test/specs/wrapper/emittedByOrder.spec.js b/test/specs/wrapper/emittedByOrder.spec.js
index ba76f6fdf..0c6e93368 100644
--- a/test/specs/wrapper/emittedByOrder.spec.js
+++ b/test/specs/wrapper/emittedByOrder.spec.js
@@ -38,9 +38,7 @@ describeWithShallowAndMount('emittedByOrder', mountingMethod => {
'[vue-test-utils]: wrapper.emittedByOrder() can only be called on a Vue instance'
const fn = () => wrapper.find('p').emittedByOrder()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('captures in lifecycle hooks emitted events in order', () => {
diff --git a/test/specs/wrapper/filter.spec.js b/test/specs/wrapper/filter.spec.js
index ab8d99e2b..6642c52fc 100644
--- a/test/specs/wrapper/filter.spec.js
+++ b/test/specs/wrapper/filter.spec.js
@@ -8,8 +8,6 @@ describeWithShallowAndMount('filter', mountingMethod => {
const message =
'[vue-test-utils]: filter() must be called on a WrapperArray'
const fn = () => wrapper.filter()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index c2becfdb0..4aa6f8c86 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -20,21 +20,21 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns a Wrapper matching tag selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p').vnode).to.be.an('object')
+ expect(wrapper.find('p').vnode).toBeTruthy()
expect(wrapper.find('p').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
expect(wrapper.find('.foo').vm).toEqual(undefined)
})
it('returns Wrapper matching class selector passed if nested in a transition', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div').vnode).to.be.an('object')
+ expect(wrapper.find('div').vnode).toBeTruthy()
})
itDoNotRunIf(
@@ -46,7 +46,7 @@ describeWithShallowAndMount('find', mountingMethod => {
default: '
'
}
})
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
}
)
@@ -71,13 +71,13 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent, {
context
})
- expect(wrapper.find('.foo').vnode).to.be.an('object')
+ expect(wrapper.find('.foo').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching id selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('#foo').vnode).to.be.an('object')
+ expect(wrapper.find('#foo').vnode).toBeTruthy()
})
it('returns matching extended component', () => {
@@ -98,7 +98,7 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns Wrapper of elements matching attribute selector passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('[href="/"]').vnode).to.be.an('object')
+ expect(wrapper.find('[href="/"]').vnode).toBeTruthy()
})
it('throws an error when passed an invalid DOM selector', () => {
@@ -107,9 +107,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find('[href=&6"/"]')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns Wrapper of elements matching selector when descendant combinator passed', () => {
@@ -117,29 +115,29 @@ describeWithShallowAndMount('find', mountingMethod => {
''
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div li').vnode).to.be.an('object')
+ expect(wrapper.find('div li').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching selector with direct descendant combinator passed', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('div > ul').vnode).to.be.an('object')
+ expect(wrapper.find('div > ul').vnode).toBeTruthy()
})
it('returns Wrapper of elements matching pseudo selector', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find('p:first-of-type').vnode).to.be.an('object')
+ expect(wrapper.find('p:first-of-type').vnode).toBeTruthy()
})
it('returns Wrapper of Vue Components matching component', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.find(Component).vnode).to.be.an('object')
+ expect(wrapper.find(Component).vnode).toBeTruthy()
})
it('returns Wrapper of Vue Components matching component using findComponent', () => {
const wrapper = mountingMethod(ComponentWithChild)
- expect(wrapper.findComponent(Component).vnode).to.be.an('object')
+ expect(wrapper.findComponent(Component).vnode).toBeTruthy()
})
it('throws an error if findComponent selector is a CSS selector', () => {
@@ -147,9 +145,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: findComponent requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findComponent('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if findComponent is chained off a DOM element', () => {
@@ -157,9 +153,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: You cannot chain findComponent off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findComponent('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('allows using findComponent on functional component', () => {
@@ -187,7 +181,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ComponentAsAClass).vnode).to.be.an('object')
+ expect(wrapper.find(ComponentAsAClass).vnode).toBeTruthy()
})
itDoNotRunIf(
@@ -236,7 +230,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(FunctionalComponent).vnode).to.be.an('object')
+ expect(wrapper.find(FunctionalComponent).vnode).toBeTruthy()
expect(wrapper.find(FunctionalComponent).vm).toEqual(undefined)
})
@@ -257,9 +251,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
@@ -281,9 +273,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: find for functional components is not supported in Vue < 2.3'
const fn = () => wrapper.find(TestFunctionalComponent)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
} else {
expect(wrapper.find(TestFunctionalComponent).exists()).toEqual(true)
}
@@ -324,9 +314,7 @@ describeWithShallowAndMount('find', mountingMethod => {
.find(Component)
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws errror when using ref selector on an element Wrapper', () => {
@@ -345,21 +333,19 @@ describeWithShallowAndMount('find', mountingMethod => {
.find({ ref: 'some-ref' })
const message =
'[vue-test-utils]: cannot find a Vue instance on a DOM node. The node you are calling find on does not exist in the VDom. Are you adding the node as innerHTML?'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns correct number of Vue Wrappers when component has a v-for', () => {
const items = [{ id: 1 }, { id: 2 }, { id: 3 }]
const wrapper = mountingMethod(ComponentWithVFor, { propsData: { items } })
- expect(wrapper.find(Component).vnode).to.be.an('object')
+ expect(wrapper.find(Component).vnode).toBeTruthy()
})
it('returns Wrapper matching selector using Wrapper as reference', () => {
const wrapper = mountingMethod(ComponentWithChild)
const div = wrapper.find('span')
- expect(div.find(Component).vnode).to.be.an('object')
+ expect(div.find(Component).vnode).toBeTruthy()
})
it('selector works between mounts', () => {
@@ -372,7 +358,7 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
mountingMethod(ChildComponent)
- expect(wrapper.find(ChildComponent).vnode).to.be.an('object')
+ expect(wrapper.find(ChildComponent).vnode).toBeTruthy()
})
it('returns error Wrapper if Vue component is below Wrapper', () => {
@@ -413,7 +399,7 @@ describeWithShallowAndMount('find', mountingMethod => {
it('returns Wrapper of elements matching the ref in options object', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.find({ ref: 'foo' })).to.be.an('object')
+ expect(wrapper.find({ ref: 'foo' })).toBeTruthy()
})
itSkipIf(vueVersion < 2.3, 'returns functional extended component', () => {
@@ -507,9 +493,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.find({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns Wrapper matching ref selector in options object passed if nested in a transition', () => {
@@ -517,7 +501,7 @@ describeWithShallowAndMount('find', mountingMethod => {
'
'
)
const wrapper = mountingMethod(compiled)
- expect(wrapper.find({ ref: 'foo' })).to.be.an('object')
+ expect(wrapper.find({ ref: 'foo' })).toBeTruthy()
})
it('returns empty Wrapper with error if no nodes are found via ref in options object', () => {
@@ -563,9 +547,7 @@ describeWithShallowAndMount('find', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.find() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.find(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
@@ -584,10 +566,10 @@ describeWithShallowAndMount('find', mountingMethod => {
}
const wrapper = mountingMethod(TestComponent)
- expect(wrapper.find(ChildComponent).vnode).to.be.undefined
+ expect(wrapper.find(ChildComponent).vnode).toBeUndefined()
wrapper.vm.renderChild = true
await Vue.nextTick()
- expect(wrapper.find(ChildComponent).vnode).to.be.an('object')
+ expect(wrapper.find(ChildComponent).vnode).toBeTruthy()
})
itDoNotRunIf(
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 724922bb1..51ac3f3c7 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -103,9 +103,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll('[href=&6"/"]')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns an array of Wrappers of elements matching selector when descendant combinator passed', () => {
@@ -156,9 +154,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: findAllComponents requires a Vue constructor or valid find object. If you are searching for DOM nodes, use `find` instead'
const fn = () => wrapper.findAllComponents('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if chaining findAllComponents off a DOM element', () => {
@@ -166,9 +162,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: You cannot chain findAllComponents off a DOM element. It can only be used on Vue Components.'
const fn = () => wrapper.find('span').findAllComponents('#foo')
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns correct number of Vue Wrapper when component has a v-for', () => {
@@ -296,9 +290,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can only be used on Vue component wrappers'
const fn = () => a.findAll({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns an array of Wrapper of elements matching the ref in options object if they are nested in a transition', () => {
@@ -344,9 +336,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.findAll() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.findAll(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/test/specs/wrapper/get.spec.js b/test/specs/wrapper/get.spec.js
index d63c92849..76444318d 100644
--- a/test/specs/wrapper/get.spec.js
+++ b/test/specs/wrapper/get.spec.js
@@ -5,16 +5,13 @@ describeWithShallowAndMount('get', mountingMethod => {
it('throws describing error when element not found', () => {
const compiled = compileToFunctions('
')
const wrapper = mountingMethod(compiled)
- expect(() => wrapper.get('.does-not-exist'))
- .toThrow()
- .with.property(
- 'message',
- 'Unable to find .does-not-exist within:
'
- )
+ expect(() => wrapper.get('.does-not-exist')).toThrow(
+ 'Unable to find .does-not-exist within:
'
+ )
})
it('gets the element when element is found', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
- expect(wrapper.get('.does-exist')).to.be.an('object')
+ expect(wrapper.get('.does-exist')).toBeTruthy()
})
})
diff --git a/test/specs/wrapper/is.spec.js b/test/specs/wrapper/is.spec.js
index b1bdb9277..ef77c622b 100644
--- a/test/specs/wrapper/is.spec.js
+++ b/test/specs/wrapper/is.spec.js
@@ -106,9 +106,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: $ref selectors can not be used with wrapper.is()'
const fn = () => wrapper.is({ ref: 'foo' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if selector is not a valid selector', () => {
@@ -132,9 +130,7 @@ describeWithShallowAndMount('is', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.is() must be passed a valid CSS selector, Vue constructor, or valid find option object'
const fn = () => wrapper.is(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
})
diff --git a/test/specs/wrapper/overview.spec.js b/test/specs/wrapper/overview.spec.js
index 08a500b21..60fa00b3f 100644
--- a/test/specs/wrapper/overview.spec.js
+++ b/test/specs/wrapper/overview.spec.js
@@ -18,9 +18,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.overview() can only be called on a Vue instance'
- expect(() => nonVueWrapper.overview())
- .toThrow()
- .with.property('message', message)
+ expect(() => nonVueWrapper.overview()).toThrow(message)
})
if (vueVersion > 2) {
@@ -72,7 +70,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
describe('vibility', () => {
@@ -96,7 +94,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => true
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints "Not Visible" when the wrapper is not visible', () => {
@@ -119,7 +117,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => false
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -142,7 +140,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -183,7 +181,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -219,7 +217,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -244,7 +242,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints an empty array in Emitted arrays of calls when emit was empty', () => {
@@ -275,7 +273,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('prints inline formated object in Emitted arrays of calls when an object has been emitted', () => {
@@ -314,7 +312,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
''
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
@@ -349,7 +347,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
wrapper.isVisible = () => true
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
it('does not print child component data or computed', () => {
@@ -401,7 +399,7 @@ describeWithShallowAndMount('overview', mountingMethod => {
]
wrapper.overview()
- expect(consoleOutput).to.have.ordered.members(expectedConsoleOutput)
+ expect(consoleOutput).toEqual(expectedConsoleOutput)
})
})
}
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index e63a2cf59..3991e7758 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -87,9 +87,7 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.props() must be called on a Vue instance'
const fn = () => p.props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('returns the given prop if a key is provided', () => {
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index 2c34cdc8c..c2189dacc 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -11,7 +11,9 @@ describeWithShallowAndMount('setData', mountingMethod => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
})
afterEach(() => {
@@ -82,9 +84,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
'[vue-test-utils]: wrapper.setData() cannot be called on a functional component'
const fn = () =>
mountingMethod(AFunctionalComponent).setData({ data1: 'data' })
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
// find on functional components isn't supported in Vue < 2.3
if (vueVersion < 2.3) {
return
@@ -99,9 +99,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
mountingMethod(TestComponent)
.find(AFunctionalComponent)
.setData({ data1: 'data' })
- expect(fn2)
- .toThrow()
- .with.property('message', message)
+ expect(fn2).toThrow(message)
})
it('updates watchers if computed is updated', async () => {
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 0d3884883..3eabae1c5 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -12,7 +12,9 @@ import Vue from 'vue'
describeWithShallowAndMount('setProps', mountingMethod => {
const sandbox = sinon.createSandbox()
beforeEach(() => {
- sandbox.stub(console, 'info').callThrough()
+ jest
+ .fn()(console, 'info')
+ .callThrough()
})
afterEach(() => {
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index b4fdbb08c..7d309e236 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -30,7 +30,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -41,7 +41,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -51,7 +51,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -71,7 +71,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = sandbox.stub()
+ const keydownHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
@@ -98,7 +98,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
pageup: 33,
pagedown: 34
}
- const keyupHandler = sandbox.stub()
+ const keyupHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keyupHandler }
})
@@ -123,7 +123,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
)
it('adds options to event', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -138,7 +138,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('adds custom data to events', () => {
- const stub = sandbox.stub()
+ const stub = jest.fn()()
const TestComponent = {
template: '
',
methods: {
@@ -158,7 +158,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('does not fire on valid disabled elements', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const ButtonComponent = {
template: '
Button ',
props: ['clickHandler']
@@ -171,7 +171,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
buttonWrapper.trigger('click')
expect(clickHandler.called).toEqual(false)
- const changeHandler = sandbox.stub()
+ const changeHandler = jest.fn()()
const InputComponent = {
template: '
',
props: ['changeHandler']
@@ -186,7 +186,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('fires on invalid disabled elements', () => {
- const clickHandler = sandbox.stub()
+ const clickHandler = jest.fn()()
const LinkComponent = {
template: '
Link ',
props: ['clickHandler']
@@ -237,9 +237,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
const message =
'[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html'
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
it('throws an error if type is not a string', () => {
@@ -260,9 +258,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.trigger() must be passed a string'
const fn = () => wrapper.trigger(invalidSelector)
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
})
})
diff --git a/yarn.lock b/yarn.lock
index df660b50f..bde2ae2b8 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7725,6 +7725,11 @@ har-validator@~5.1.3:
ajv "^6.12.3"
har-schema "^2.0.0"
+harmony-reflect@^1.4.6:
+ version "1.6.1"
+ resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.1.tgz#c108d4f2bb451efef7a37861fdbdae72c9bdefa9"
+ integrity sha512-WJTeyp0JzGtHcuMsi7rw2VwtkvLa+JyfEKJCFyfcS0+CDkjQ5lHPu7zEhFZP+PDSRrEgXa5Ah0l1MbgbE41XjA==
+
has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -8059,6 +8064,13 @@ icss-utils@^2.1.0:
dependencies:
postcss "^6.0.1"
+identity-obj-proxy@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
+ integrity sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=
+ dependencies:
+ harmony-reflect "^1.4.6"
+
ieee754@^1.1.4:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"
From e92f965a5acbbed3b1e22714e2a143c21288a701 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 21:58:27 +1000
Subject: [PATCH 18/46] test: continue migration
---
jest.config.js | 3 ++-
test/specs/wrapper/setChecked.spec.js | 24 ++++++++++--------------
test/specs/wrapper/setData.spec.js | 13 -------------
test/specs/wrapper/setSelected.spec.js | 8 +++-----
test/specs/wrapper/setValue.spec.js | 4 +---
5 files changed, 16 insertions(+), 36 deletions(-)
diff --git a/jest.config.js b/jest.config.js
index bd8c60972..6d103eabc 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,6 +1,7 @@
module.exports = {
moduleNameMapper: {
- '^~(.*)$': '/test/$1'
+ '^~(.*)$': '/test/$1',
+ '\\.(css|less|scss|sass)$': 'identity-obj-proxy'
},
transform: {
'.*\\.(vue)$': 'vue-jest',
diff --git a/test/specs/wrapper/setChecked.spec.js b/test/specs/wrapper/setChecked.spec.js
index 8c4521538..707d77570 100644
--- a/test/specs/wrapper/setChecked.spec.js
+++ b/test/specs/wrapper/setChecked.spec.js
@@ -57,7 +57,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
})
it('triggers a change event when called on a checkbox', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
// For compatibility with earlier versions of Vue that use the `click`
@@ -72,11 +72,11 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).to.have.been.called
+ expect(listener).toHaveBeenCalled()
})
it('does not trigger a change event if the checkbox is already checked', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -90,7 +90,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).not.to.have.been.called
+ expect(listener).not.toHaveBeenCalled()
})
it('updates dom with radio v-model', async () => {
@@ -119,7 +119,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
})
it('triggers a change event when called on a radio button', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -132,11 +132,11 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).to.have.been.called
+ expect(listener).toHaveBeenCalled()
})
it('does not trigger a change event if the radio button is already checked', () => {
- const listener = sinon.spy()
+ const listener = jest.fn()
mountingMethod({
template: `
@@ -150,7 +150,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
methods: { listener }
}).setChecked()
- expect(listener).not.to.have.been.called
+ expect(listener).not.toHaveBeenCalled()
})
it('throws error if checked param is not boolean', () => {
@@ -158,9 +158,7 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')
const fn = () => input.setChecked('asd')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
it('throws error if checked param is false on radio element', () => {
@@ -169,8 +167,6 @@ describeWithShallowAndMount('setChecked', mountingMethod => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('#radioFoo')
const fn = () => input.setChecked(false)
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index c2189dacc..c703e9b7e 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -8,19 +8,6 @@ import {
} from '~resources/utils'
describeWithShallowAndMount('setData', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
expect(wrapper.findAll('.child.ready').length).toEqual(0)
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index 8cbd7c247..5054571ef 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -49,7 +49,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
.at(1)
.setSelected()
- expect(change).to.have.been.called
+ expect(change).toHaveBeenCalled()
})
it('does not trigger an event if called on already selected option', () => {
@@ -68,7 +68,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
.at(1)
.setSelected()
- expect(change).not.to.have.been.called
+ expect(change).not.toHaveBeenCalled()
})
it('throws error if element is not valid', () => {
@@ -78,8 +78,6 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
const input = wrapper.find('#label-el')
const fn = () => input.setSelected('value')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
})
})
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 3875da294..026e54f8e 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -124,8 +124,6 @@ describeWithShallowAndMount('setValue', mountingMethod => {
const input = wrapper.find(selector)
const fn = () => input.setValue('')
- expect(fn)
- .toThrow()
- .with.property('message', '[vue-test-utils]: ' + message)
+ expect(fn).toThrow('[vue-test-utils]: ' + message)
}
})
From 97e62703ea31aab604bf3fecfbbe80276f69c834 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:26:23 +1000
Subject: [PATCH 19/46] test: refactor set methods
---
.../components/component-with-input.vue | 3 +++
test/specs/wrapper/setData.spec.js | 15 +++++++++--
test/specs/wrapper/setProps.spec.js | 25 ++++---------------
test/specs/wrapper/setSelected.spec.js | 4 +--
test/specs/wrapper/setValue.spec.js | 4 +--
5 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/test/resources/components/component-with-input.vue b/test/resources/components/component-with-input.vue
index bd1f04236..ccbd1413f 100644
--- a/test/resources/components/component-with-input.vue
+++ b/test/resources/components/component-with-input.vue
@@ -64,6 +64,9 @@ export default {
},
watch: {
+ multiselectVal(newVal) {
+ console.log(newVal)
+ },
checkboxVal() {
this.counter++
},
diff --git a/test/specs/wrapper/setData.spec.js b/test/specs/wrapper/setData.spec.js
index c703e9b7e..f3a83102e 100644
--- a/test/specs/wrapper/setData.spec.js
+++ b/test/specs/wrapper/setData.spec.js
@@ -8,6 +8,17 @@ import {
} from '~resources/utils'
describeWithShallowAndMount('setData', mountingMethod => {
+ let consoleInfoSave = console.info
+
+ beforeEach(() => {
+ consoleInfoSave = console.info
+ console.info = jest.fn()
+ })
+
+ afterEach(() => {
+ console.info = consoleInfoSave
+ })
+
it('sets component data and returns a promise', async () => {
const wrapper = mountingMethod(ComponentWithVIf)
expect(wrapper.findAll('.child.ready').length).toEqual(0)
@@ -51,7 +62,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const wrapper = mountingMethod(ComponentWithWatch)
const data1 = 'testest'
await wrapper.setData({ data2: 'newProp', data1 })
- expect(console.info.args[0][0]).toEqual(data1)
+ expect(console.info).toHaveBeenCalledWith(data1)
})
it('throws error if node is not a Vue instance', () => {
@@ -59,7 +70,7 @@ describeWithShallowAndMount('setData', mountingMethod => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setData({ ready: true })).throw(Error, message)
+ expect(() => p.setData({ ready: true })).toThrow(message)
})
it('throws error when called on functional vnode', () => {
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 3eabae1c5..daa3b7a98 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -10,18 +10,6 @@ import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
describeWithShallowAndMount('setProps', mountingMethod => {
- const sandbox = sinon.createSandbox()
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('returns a promise, when resolved component is updated', async () => {
const wrapper = mountingMethod(ComponentWithProps)
const response = wrapper.setProps({ prop1: 'foo' })
@@ -294,7 +282,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
it('throws error when called on functional vnode', () => {
const fn = () =>
mountingMethod(AFunctionalComponent).setProps({ prop1: 'prop' })
- expect(fn).throw(Error, errors.FUNCTIONAL_COMPONENT_ERROR)
+ expect(fn).toThrow(errors.FUNCTIONAL_COMPONENT_ERROR)
})
// find on functional components isn't supported in Vue < 2.3
@@ -312,9 +300,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
mountingMethod(TestComponent)
.find(AFunctionalComponent)
.setProps({ prop1: 'prop' })
- expect(fn2)
- .toThrow()
- .with.property('message', errors.FUNCTIONAL_COMPONENT_ERROR)
+ expect(fn2).toThrow(errors.FUNCTIONAL_COMPONENT_ERROR)
}
)
@@ -325,7 +311,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
const fn = () =>
mountingMethod({ template: '
' }).setProps({ prop1: 'prop' })
- expect(fn).throw(Error, errors.WRONG_PROP_ERROR)
+ expect(fn).toThrow(errors.WRONG_PROP_ERROR)
}
)
})
@@ -342,15 +328,14 @@ describeWithShallowAndMount('setProps', mountingMethod => {
)
const fn = () => wrapper.setProps({ obj })
- expect(fn).throw(Error, errors.SAME_REFERENCE_ERROR)
+ expect(fn).toThrow(errors.SAME_REFERENCE_ERROR)
})
it('throws an error if node is not a Vue instance', () => {
const compiled = compileToFunctions('')
const wrapper = mountingMethod(compiled)
const p = wrapper.find('p')
- expect(() => p.setProps({ ready: true })).throw(
- Error,
+ expect(() => p.setProps({ ready: true })).toThrow(
errors.INVALID_NODE_ERROR
)
})
diff --git a/test/specs/wrapper/setSelected.spec.js b/test/specs/wrapper/setSelected.spec.js
index 5054571ef..8a58cc8c2 100644
--- a/test/specs/wrapper/setSelected.spec.js
+++ b/test/specs/wrapper/setSelected.spec.js
@@ -34,7 +34,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
})
it('triggers a change event on the parent select', () => {
- const change = sinon.spy()
+ const change = jest.fn()
mountingMethod({
template: `
@@ -53,7 +53,7 @@ describeWithShallowAndMount('setSelected', mountingMethod => {
})
it('does not trigger an event if called on already selected option', () => {
- const change = sinon.spy()
+ const change = jest.fn()
mountingMethod({
template: `
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 026e54f8e..680909c0a 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -65,10 +65,10 @@ describeWithShallowAndMount('setValue', mountingMethod => {
expect(wrapper.text()).toContain('selectB')
})
- it('sets element of multiselect value', () => {
+ it.only('sets element of multiselect value', async () => {
const wrapper = mountingMethod(ComponentWithInput)
const select = wrapper.find('select.multiselect')
- select.setValue(['selectA', 'selectC'])
+ await select.setValue(['selectA', 'selectC'])
const selectedOptions = Array.from(select.element.selectedOptions).map(
o => o.value
From 6c7c1e4d1831bde5e7febf044d2b654135477817 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:28:17 +1000
Subject: [PATCH 20/46] test: finish refactor set methods
---
test/resources/components/component-with-input.vue | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/resources/components/component-with-input.vue b/test/resources/components/component-with-input.vue
index ccbd1413f..bd1f04236 100644
--- a/test/resources/components/component-with-input.vue
+++ b/test/resources/components/component-with-input.vue
@@ -64,9 +64,6 @@ export default {
},
watch: {
- multiselectVal(newVal) {
- console.log(newVal)
- },
checkboxVal() {
this.counter++
},
From d8517d093265f9a7036e158bea189a6a3c592d6e Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:39:50 +1000
Subject: [PATCH 21/46] test: refactor trigger
---
test/specs/wrapper/trigger.spec.js | 51 +++++++++++++-----------------
1 file changed, 22 insertions(+), 29 deletions(-)
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 7d309e236..971ff3146 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -11,13 +11,6 @@ import Vue from 'vue'
import { itDoNotRunIf } from 'conditional-specs'
describeWithShallowAndMount('trigger', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('returns a promise that when resolved, the component is updated', async () => {
const wrapper = mountingMethod(ComponentWithEvents)
const toggle = wrapper.find('.toggle')
@@ -30,35 +23,35 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
const button = wrapper.find('.click')
button.trigger('click')
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
describe('causes keydown handler to fire with the appropriate keyCode when wrapper.trigger("keydown", { keyCode: 65 }) is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown').trigger('keydown', { keyCode: 65 })
- const keyboardEvent = keydownHandler.getCall(0).args[0]
+ const keyboardEvent = keydownHandler.mock.calls[0][0]
// Unfortunately, JSDom will give different types than PhantomJS for keyCodes (string vs number), so we have to use parseInt to normalize the types.
it('contains the keyCode', () => {
@@ -71,16 +64,16 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.find('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
- it('convert a registered key name to a key code', () => {
+ it.skip('convert a registered key name to a key code', () => {
const modifiers = {
enter: 13,
esc: 27,
@@ -98,14 +91,14 @@ describeWithShallowAndMount('trigger', mountingMethod => {
pageup: 33,
pagedown: 34
}
- const keyupHandler = jest.fn()()
+ const keyupHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keyupHandler }
})
for (const keyName in modifiers) {
const keyCode = modifiers[keyName]
wrapper.find('.keydown').trigger(`keyup.${keyName}`)
- expect(keyupHandler.lastCall.args[0].keyCode).toEqual(keyCode)
+ expect(keyupHandler.mock.calls[0][0].keyCode).toEqual(keyCode)
}
})
@@ -123,7 +116,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
)
it('adds options to event', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
@@ -134,11 +127,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
button.trigger('mousedown', {
button: 0
})
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('adds custom data to events', () => {
- const stub = jest.fn()()
+ const stub = jest.fn()
const TestComponent = {
template: '
',
methods: {
@@ -154,11 +147,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
customData: 123
})
- expect(stub).calledWith(123)
+ expect(stub).toHaveBeenCalledWith(123)
})
it('does not fire on valid disabled elements', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const ButtonComponent = {
template: 'Button ',
props: ['clickHandler']
@@ -169,9 +162,9 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
buttonWrapper.trigger('click')
- expect(clickHandler.called).toEqual(false)
+ expect(clickHandler).not.toHaveBeenCalled()
- const changeHandler = jest.fn()()
+ const changeHandler = jest.fn()
const InputComponent = {
template: ' ',
props: ['changeHandler']
@@ -182,11 +175,11 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
inputWrapper.trigger('change')
- expect(changeHandler.called).toEqual(false)
+ expect(changeHandler).not.toHaveBeenCalled()
})
it('fires on invalid disabled elements', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const LinkComponent = {
template: 'Link ',
props: ['clickHandler']
@@ -197,7 +190,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
}
})
linkWrapper.trigger('click')
- expect(clickHandler.called).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('handles .prevent', () => {
@@ -281,7 +274,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
const wrapper = mountingMethod(TestComponent)
wrapper.trigger('click')
- expect(lastEvent).to.be.an.instanceof(window.MouseEvent)
+ expect(lastEvent).toBeInstanceOf(window.MouseEvent)
}
)
From 08d4848a04a27acd08153c17f3cb4381fff4e183 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 5 Jul 2020 22:56:42 +1000
Subject: [PATCH 22/46] test: refactor wrapper-array specs
---
test/specs/config.spec.js | 6 ----
test/specs/mount.spec.js | 11 +------
test/specs/shallow-mount.spec.js | 15 ---------
test/specs/wrapper-array.spec.js | 41 +++++++++---------------
test/specs/wrapper-array/trigger.spec.js | 19 ++++-------
test/specs/wrapper.spec.js | 2 --
test/specs/wrapper/find.spec.js | 2 +-
7 files changed, 24 insertions(+), 72 deletions(-)
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index d9d29e3a9..d34cf0845 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -4,24 +4,18 @@ import { config, createLocalVue } from '@vue/test-utils'
import ComponentWithTransitions from '~resources/components/component-with-transitions.vue'
describeWithShallowAndMount('config', mountingMethod => {
- const sandbox = sinon.createSandbox()
let configStubsSave
let configSilentSave
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
- jest
- .fn()(console, 'error')
- .callThrough()
})
afterEach(() => {
config.stubs = configStubsSave
config.silent = configSilentSave
config.methods = {}
- sandbox.reset()
- sandbox.restore()
})
it('mocks a global variable', () => {
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index adab0972c..eed645140 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -11,19 +11,10 @@ import { describeRunIf, itDoNotRunIf, itSkipIf } from 'conditional-specs'
import Vuex from 'vuex'
describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
- const sandbox = sinon.createSandbox()
const windowSave = window
- beforeEach(() => {
- jest
- .fn()(console, 'error')
- .callThrough()
- })
-
afterEach(() => {
window = windowSave // eslint-disable-line no-native-reassign
- sandbox.reset()
- sandbox.restore()
})
it('returns new VueWrapper with mounted Vue instance if no options are passed', () => {
@@ -182,7 +173,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
itDoNotRunIf(vueVersion < 2.3, 'overrides methods', () => {
- const stub = jest.fn()()
+ const stub = jest.fn()
const TestComponent = Vue.extend({
template: '
',
methods: {
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index 9b39a458c..a0453e2a5 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -15,21 +15,6 @@ import { vueVersion } from '~resources/utils'
import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
- const sandbox = sinon.createSandbox()
- beforeEach(() => {
- jest
- .fn()(console, 'info')
- .callThrough()
- jest
- .fn()(console, 'error')
- .callThrough()
- })
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
expect(wrapper.find('functional-component-stub').classes()).toContain(
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index ecb457e6a..5f2b9b85e 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -2,13 +2,6 @@ import { Wrapper, WrapperArray } from '@vue/test-utils'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('WrapperArray', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
function getWrapperArray(wrappers) {
if (!wrappers) {
wrappers = [1, 2, 3].map(v => {
@@ -141,8 +134,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('contains returns true if every wrapper.contains() returns true', () => {
const selector = 'selector'
- const contains = jest.fn()()
- contains.withArgs(selector).returns(true)
+ const contains = jest.fn(() => true)
const wrapperArray = getWrapperArray([{ contains }, { contains }])
expect(wrapperArray.contains(selector)).toEqual(true)
})
@@ -157,8 +149,7 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
it('is returns true if every wrapper.is() returns true', () => {
const selector = 'selector'
- const is = jest.fn()()
- is.withArgs(selector).returns(true)
+ const is = jest.fn(() => true)
const wrapperArray = getWrapperArray([{ is }, { is }])
expect(wrapperArray.is(selector)).toEqual(true)
})
@@ -220,46 +211,46 @@ describeWithShallowAndMount('WrapperArray', mountingMethod => {
})
it('setMethods calls setMethods on each wrapper', () => {
- const setMethods = jest.fn()()
+ const setMethods = jest.fn()
const methods = {}
const wrapperArray = getWrapperArray([{ setMethods }, { setMethods }])
wrapperArray.setMethods(methods)
- expect(setMethods.calledTwice).toEqual(true)
- expect(setMethods.calledWith(methods)).toEqual(true)
+ expect(setMethods).toHaveBeenCalledTimes(2)
+ expect(setMethods).toHaveBeenCalledWith(methods)
})
it('setData calls setData on each wrapper', () => {
- const setData = jest.fn()()
+ const setData = jest.fn()
const data = {}
const wrapperArray = getWrapperArray([{ setData }, { setData }])
wrapperArray.setData(data)
- expect(setData.calledTwice).toEqual(true)
- expect(setData.calledWith(data)).toEqual(true)
+ expect(setData).toHaveBeenCalledTimes(2)
+ expect(setData).toHaveBeenCalledWith(data)
})
it('setProps calls setProps on each wrapper', () => {
- const setProps = jest.fn()()
+ const setProps = jest.fn()
const props = {}
const wrapperArray = getWrapperArray([{ setProps }, { setProps }])
wrapperArray.setProps(props)
- expect(setProps.calledTwice).toEqual(true)
- expect(setProps.calledWith(props)).toEqual(true)
+ expect(setProps).toHaveBeenCalledTimes(2)
+ expect(setProps).toHaveBeenCalledWith(props)
})
it('trigger calls trigger on each wrapper', () => {
- const trigger = jest.fn()()
+ const trigger = jest.fn()
const event = 'click'
const options = {}
const wrapperArray = getWrapperArray([{ trigger }, { trigger }])
wrapperArray.trigger(event, options)
- expect(trigger.calledTwice).toEqual(true)
- expect(trigger.calledWith(event, options)).toEqual(true)
+ expect(trigger).toHaveBeenCalledTimes(2)
+ expect(trigger).toHaveBeenCalledWith(event, options)
})
it('destroy calls destroy on each wrapper', () => {
- const destroy = jest.fn()()
+ const destroy = jest.fn()
const wrapperArray = getWrapperArray([{ destroy }, { destroy }])
wrapperArray.destroy()
- expect(destroy.calledTwice).toEqual(true)
+ expect(destroy).toHaveBeenCalledTimes(2)
})
})
diff --git a/test/specs/wrapper-array/trigger.spec.js b/test/specs/wrapper-array/trigger.spec.js
index 372ec6aa2..2592c6d2d 100644
--- a/test/specs/wrapper-array/trigger.spec.js
+++ b/test/specs/wrapper-array/trigger.spec.js
@@ -3,42 +3,35 @@ import ComponentWithEvents from '~resources/components/component-with-events.vue
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('trigger', mountingMethod => {
- const sandbox = sinon.createSandbox()
-
- afterEach(() => {
- sandbox.reset()
- sandbox.restore()
- })
-
it('causes click handler to fire when wrapper.trigger("click") is called on a Component', () => {
- const clickHandler = jest.fn()()
+ const clickHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { clickHandler }
})
const buttonArr = wrapper.findAll('.click')
buttonArr.trigger('click')
- expect(clickHandler.calledOnce).toEqual(true)
+ expect(clickHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.findAll('.keydown').trigger('keydown')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
it('causes keydown handler to fire when wrapper.trigger("keydown.enter") is fired on a Component', () => {
- const keydownHandler = jest.fn()()
+ const keydownHandler = jest.fn()
const wrapper = mountingMethod(ComponentWithEvents, {
propsData: { keydownHandler }
})
wrapper.findAll('.keydown-enter').trigger('keydown.enter')
- expect(keydownHandler.calledOnce).toEqual(true)
+ expect(keydownHandler).toHaveBeenCalled()
})
it('throws an error if type is not a string', () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index 5b4f40d9f..20a0e84ff 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -16,8 +16,6 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
})
describe('enableAutoDestroy', () => {
- const sandbox = sinon.createSandbox()
-
beforeEach(() => {
resetAutoDestroyState()
})
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 4aa6f8c86..496ec8bda 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -165,7 +165,7 @@ describeWithShallowAndMount('find', mountingMethod => {
render: h => h('div', {}, [h(Component)])
}
const wrapper = mountingMethod(FuncComponentWithChildren)
- expect(wrapper.findComponent(Component).exists()).to.be.true
+ expect(wrapper.findComponent(Component).exists()).toBe(true)
})
itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
From 495e12764dfa5ad6701c573c1073007b6759a9d6 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 19:47:56 +1000
Subject: [PATCH 23/46] test: update config.spec.js
---
test/specs/config.spec.js | 41 ++++++++++++++++++++++++---------------
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index d34cf0845..e7688a341 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -6,16 +6,20 @@ import ComponentWithTransitions from '~resources/components/component-with-trans
describeWithShallowAndMount('config', mountingMethod => {
let configStubsSave
let configSilentSave
+ let consoleErrorSave
beforeEach(() => {
configStubsSave = config.stubs
configSilentSave = config.silent
+ consoleErrorSave = console.error
+ console.error = jest.fn()
})
afterEach(() => {
config.stubs = configStubsSave
config.silent = configSilentSave
config.methods = {}
+ console.error = consoleErrorSave
})
it('mocks a global variable', () => {
@@ -70,7 +74,7 @@ describeWithShallowAndMount('config', mountingMethod => {
wrapper.setProps({
prop1: 'new value'
})
- expect(console.error).not.calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).not.toHaveBeenCalled()
})
it('does throw Vue warning when silent is set to false', () => {
@@ -86,7 +90,9 @@ describeWithShallowAndMount('config', mountingMethod => {
wrapper.setProps({
prop1: 'new value'
})
- expect(console.error).calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/[Vue warn]/)
+ )
})
it('stubs out transitions by default', async () => {
@@ -105,10 +111,12 @@ describeWithShallowAndMount('config', mountingMethod => {
}
const wrapper = mountingMethod(Component)
wrapper.name()
- expect(console.error).to.be.calledWith(sandbox.match('name is deprecated'))
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/name is deprecated/)
+ )
config.showDeprecationWarnings = false
wrapper.name()
- expect(console.error).to.have.callCount(1)
+ expect(console.error).toHaveBeenCalledTimes(1)
})
describe('attachToDocument deprecation warning', () => {
@@ -123,8 +131,9 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component, {
attachToDocument: true
})
- expect(console.error).to.be.calledWith(
- sandbox.match('attachToDocument is deprecated')
+
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(/attachToDocument is deprecated/)
)
})
@@ -135,8 +144,8 @@ describeWithShallowAndMount('config', mountingMethod => {
attachToDocument: true
})
- expect(console.error).not.to.be.calledWith(
- sandbox.match('attachToDocument is deprecated')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(/attachToDocument is deprecated/)
)
})
})
@@ -157,8 +166,8 @@ describeWithShallowAndMount('config', mountingMethod => {
methods: { foo: () => {} }
})
- expect(console.error).to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -169,8 +178,8 @@ describeWithShallowAndMount('config', mountingMethod => {
methods: { foo: () => {} }
})
- expect(console.error).not.to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -179,8 +188,8 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component).setMethods({ foo: () => {} })
- expect(console.error).to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
@@ -189,8 +198,8 @@ describeWithShallowAndMount('config', mountingMethod => {
mountingMethod(Component).setMethods({ foo: () => {} })
- expect(console.error).not.to.be.calledWith(
- sandbox.match(expectedErrorMessage)
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching(expectedErrorMessage)
)
})
})
From f29fbe5f50a18d98c4079594791c236dd8cd1632 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:02:17 +1000
Subject: [PATCH 24/46] test: update mount specs
---
test/specs/create-wrapper.spec.js | 4 ++--
test/specs/mount.spec.js | 36 +++++--------------------------
test/specs/shallow-mount.spec.js | 33 ++++++++++++++++++++++------
3 files changed, 33 insertions(+), 40 deletions(-)
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index 0ee6d5841..132dab044 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -9,8 +9,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const vm = new Constructor().$mount()
const wrapper = createWrapper(vm)
expect(wrapper.is(Component)).toEqual(true)
- expect(wrapper).instanceof(Wrapper)
- expect(wrapper.findAll('div')).instanceof(WrapperArray)
+ expect(wrapper).toBeInstanceOf(Wrapper)
+ expect(wrapper.findAll('div')).toBeInstanceOf(WrapperArray)
})
it('handles HTMLElement', () => {
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index eed645140..d1ec388c2 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -122,13 +122,12 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
)
it('does not use cached component', () => {
- jest.fn()(ComponentWithMixin.methods, 'someMethod')
+ ComponentWithMixin.methods.someMethod = jest.fn()
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
- ComponentWithMixin.methods.someMethod.restore()
- jest.fn()(ComponentWithMixin.methods, 'someMethod')
+ expect(ComponentWithMixin.methods.someMethod).toHaveBeenCalledTimes(1)
+ ComponentWithMixin.methods.someMethod = jest.fn()
mount(ComponentWithMixin)
- expect(ComponentWithMixin.methods.someMethod.callCount).toEqual(1)
+ expect(ComponentWithMixin.methods.someMethod).toHaveBeenCalledTimes(1)
})
it('throws an error if window is undefined', () => {
@@ -188,32 +187,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
}
}).vm.callStub()
- expect(stub).not.called
- })
-
- it.skip('overrides component prototype', () => {
- const mountSpy = sandbox.spy()
- const destroySpy = sandbox.spy()
- const Component = Vue.extend({})
- const {
- $mount: originalMount,
- $destroy: originalDestroy
- } = Component.prototype
- Component.prototype.$mount = function(...args) {
- originalMount.apply(this, args)
- mountSpy()
- return this
- }
- Component.prototype.$destroy = function() {
- originalDestroy.apply(this)
- destroySpy()
- }
-
- const wrapper = mount(Component)
- expect(mountSpy).called
- expect(destroySpy).not.called
- wrapper.destroy()
- expect(destroySpy).called
+ expect(stub).not.toHaveBeenCalled()
})
// Problems accessing options of twice extended components in Vue < 2.3
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index a0453e2a5..f8d111aab 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -15,6 +15,21 @@ import { vueVersion } from '~resources/utils'
import { describeRunIf, itDoNotRunIf } from 'conditional-specs'
describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
+ let consoleInfoSave = console.info
+ let consoleErrorSave = console.error
+
+ beforeEach(() => {
+ consoleInfoSave = console.info
+ consoleErrorSave = console.error
+ console.info = jest.fn()
+ console.error = jest.fn()
+ })
+
+ afterEach(() => {
+ console.info = consoleInfoSave
+ console.error = consoleErrorSave
+ })
+
it('renders dynamic class of functional child', () => {
const wrapper = shallowMount(ComponentWithFunctionalChild)
expect(wrapper.find('functional-component-stub').classes()).toContain(
@@ -58,7 +73,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
localVue.component('registered-component', ComponentWithLifecycleHooks)
mount(TestComponent, { localVue })
- expect(console.info.callCount).toEqual(4)
+ expect(console.info).toHaveBeenCalledTimes(4)
})
it('renders children', () => {
@@ -167,7 +182,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
shallowMount(Component)
mount(Component)
- expect(console.info.callCount).toEqual(4)
+ expect(console.info).toHaveBeenCalledTimes(4)
})
itDoNotRunIf(
@@ -192,7 +207,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
}
shallowMount(TestComponent)
- expect(console.error).not.calledWith(sandbox.match('[Vue warn]'))
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('[Vue warn]')
+ )
}
)
@@ -297,12 +314,14 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
const wrapper = shallowMount(TestComponent)
expect(wrapper.html()).toContain('')
- expect(console.error).not.calledWith('[Vue warn]')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('[Vue warn]')
+ )
})
it('does not call stubbed children lifecycle hooks', () => {
shallowMount(ComponentWithNestedChildren)
- expect(console.info.called).toEqual(false)
+ expect(console.info).not.toHaveBeenCalled()
})
it('stubs extended components', () => {
@@ -591,8 +610,8 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
}
shallowMount(TestComponent)
mount(TestComponent)
- expect(console.error).not.calledWith(
- sandbox.match('Unknown custom element')
+ expect(console.error).not.toHaveBeenCalledWith(
+ expect.stringMatching('Unknown custom element')
)
}
)
From cdce1e44d4069bb6bb251a97cd11daad4c152da7 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:07:06 +1000
Subject: [PATCH 25/46] test: use spyOn
---
test/specs/render.spec.js | 2 +-
test/specs/renderToString.spec.js | 4 ++--
test/specs/wrapper.spec.js | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index ddebc03f7..5b8f181c3 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -8,7 +8,7 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
template: ''
}
const wrapper = await render(TestComponent)
- expect(wrapper).to.be.an.instanceof(Cheerio)
+ expect(wrapper).toBeAnInstanceof(Cheerio)
expect(wrapper.find('h2').text()).toEqual('Test')
expect(wrapper.find('p').length).toEqual(2)
})
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index 4996402fd..0df707856 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -59,8 +59,8 @@ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
$route
}
})
- expect(str).contains('true')
- expect(str).contains('http://test.com')
+ expect(str).toContain('true')
+ expect(str).toContain('http://test.com')
})
it('mounts component with $parent set to options.parentComponent', async () => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index 20a0e84ff..fd9223fac 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -21,11 +21,11 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
})
it('calls the hook function', () => {
- const hookSpy = sandbox.spy()
+ const hookSpy = jest.fn()
enableAutoDestroy(hookSpy)
- expect(hookSpy).calledOnce
+ expect(hookSpy).toHaveBeenCalled()
})
it('uses the hook function to destroy wrappers', () => {
@@ -34,11 +34,11 @@ describeWithShallowAndMount('Wrapper', mountingMethod => {
hookCallback = callback
})
const wrapper = mountingMethod({ template: 'con tent
' })
- sandbox.spy(wrapper, 'destroy')
+ jest.spyOn(wrapper, 'destroy')
hookCallback()
- expect(wrapper.destroy).calledOnce
+ expect(wrapper.destroy).toHaveBeenCalled()
})
it('cannot be called twice', () => {
From a2680538f8dd126c2cb97aa70cde8714fe531daa Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:08:35 +1000
Subject: [PATCH 26/46] test: migrate tests
---
test/specs/wrapper/props.spec.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/specs/wrapper/props.spec.js b/test/specs/wrapper/props.spec.js
index 3991e7758..3da011614 100644
--- a/test/specs/wrapper/props.spec.js
+++ b/test/specs/wrapper/props.spec.js
@@ -72,9 +72,7 @@ describeWithShallowAndMount('props', mountingMethod => {
const message =
'[vue-test-utils]: wrapper.props() cannot be called on a mounted functional component.'
const fn = () => wrapper.find(FunctionalComponent).props()
- expect(fn)
- .toThrow()
- .with.property('message', message)
+ expect(fn).toThrow(message)
}
}
)
From 711017b860619c50007334ff7d4f7d3dd2d3d807 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:14:24 +1000
Subject: [PATCH 27/46] test: placeholder to prevent false failure
---
test/specs/render.spec.js | 21 +++--
test/specs/renderToString.spec.js | 135 +++++++++++++++---------------
2 files changed, 81 insertions(+), 75 deletions(-)
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index 5b8f181c3..a2df898b1 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -2,14 +2,17 @@ import { render } from '@vue/server-test-utils'
import Cheerio from 'cheerio'
import { describeDoNotRunIf } from 'conditional-specs'
-describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
- it('returns a cheerio wrapper of the rendered component', async () => {
- const TestComponent = {
- template: ''
- }
- const wrapper = await render(TestComponent)
- expect(wrapper).toBeAnInstanceof(Cheerio)
- expect(wrapper.find('h2').text()).toEqual('Test')
- expect(wrapper.find('p').length).toEqual(2)
+describe('render', () => {
+ it.todo('placeholder')
+ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'render', () => {
+ it('returns a cheerio wrapper of the rendered component', async () => {
+ const TestComponent = {
+ template: ''
+ }
+ const wrapper = await render(TestComponent)
+ expect(wrapper).toBeAnInstanceof(Cheerio)
+ expect(wrapper.find('h2').text()).toEqual('Test')
+ expect(wrapper.find('p').length).toEqual(2)
+ })
})
})
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index 0df707856..a66f48dca 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -3,88 +3,91 @@ import { createLocalVue } from '@vue/test-utils'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import { describeDoNotRunIf } from 'conditional-specs'
-describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
- it('returns a promise', async () => {
- const str = await renderToString({
- template: `{{this.val}}
`,
- data() {
- return { val: '123' }
- }
+describe('renderToString', () => {
+ it.todo('placeholder')
+ describeDoNotRunIf(process.env.TEST_ENV !== 'node', 'renderToString', () => {
+ it('returns a promise', async () => {
+ const str = await renderToString({
+ template: `{{this.val}}
`,
+ data() {
+ return { val: '123' }
+ }
+ })
+ expect(str).toContain('123')
})
- expect(str).toContain('123')
- })
- it('mounts functional component with a defined context when no context object passed in options', async () => {
- const defaultValue = '[vue-test-utils]: testProp default value'
- const Component = {
- functional: true,
- props: {
- testProp: {
- type: String,
- default: defaultValue
- }
- },
- render: (h, { props }) => h('div', props.testProp)
- }
- const str = await renderToString(Component)
- expect(str).toContain(defaultValue)
- })
+ it('mounts functional component with a defined context when no context object passed in options', async () => {
+ const defaultValue = '[vue-test-utils]: testProp default value'
+ const Component = {
+ functional: true,
+ props: {
+ testProp: {
+ type: String,
+ default: defaultValue
+ }
+ },
+ render: (h, { props }) => h('div', props.testProp)
+ }
+ const str = await renderToString(Component)
+ expect(str).toContain(defaultValue)
+ })
- it('mounts component using passed localVue as base Vue', async () => {
- const TestComponent = {
- template: `{{test}}
`
- }
- const localVue = createLocalVue()
- localVue.prototype.test = 'some value'
- const str = await renderToString(TestComponent, {
- localVue: localVue
+ it('mounts component using passed localVue as base Vue', async () => {
+ const TestComponent = {
+ template: `{{test}}
`
+ }
+ const localVue = createLocalVue()
+ localVue.prototype.test = 'some value'
+ const str = await renderToString(TestComponent, {
+ localVue: localVue
+ })
+ expect(str).toContain('some value')
})
- expect(str).toContain('some value')
- })
- it('adds variables to vm when passed', async () => {
- const TestComponent = {
- template: `
+ it('adds variables to vm when passed', async () => {
+ const TestComponent = {
+ template: `
{{$store.store}}
{{$route.path}}
`
- }
- const $store = { store: true }
- const $route = { path: 'http://test.com' }
- const str = await renderToString(TestComponent, {
- mocks: {
- $store,
- $route
}
- })
- expect(str).toContain('true')
- expect(str).toContain('http://test.com')
- })
-
- it('mounts component with $parent set to options.parentComponent', async () => {
- const Parent = {
- data: () => ({
- customName: 'Parent Name'
+ const $store = { store: true }
+ const $route = { path: 'http://test.com' }
+ const str = await renderToString(TestComponent, {
+ mocks: {
+ $store,
+ $route
+ }
})
- }
- const TestComponent = {
- template: '{{$parent.customName}}
'
- }
- const str = await renderToString(TestComponent, {
- parentComponent: Parent
+ expect(str).toContain('true')
+ expect(str).toContain('http://test.com')
})
- expect(str).toContain('Parent Name')
- })
- it('replaces component with template string ', async () => {
- const str = await renderToString(ComponentWithChild, {
- stubs: {
- ChildComponent: '
'
+ it('mounts component with $parent set to options.parentComponent', async () => {
+ const Parent = {
+ data: () => ({
+ customName: 'Parent Name'
+ })
+ }
+ const TestComponent = {
+ template: '{{$parent.customName}}
'
}
+ const str = await renderToString(TestComponent, {
+ parentComponent: Parent
+ })
+ expect(str).toContain('Parent Name')
})
- expect(str).toContain('"stub"')
+ it('replaces component with template string ', async () => {
+ const str = await renderToString(ComponentWithChild, {
+ stubs: {
+ ChildComponent: '
'
+ }
+ })
+
+ expect(str).toContain('"stub"')
+ })
})
})
From 85c626f278abd0f8a5b68011cf64c133b16071c4 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Mon, 6 Jul 2020 21:17:30 +1000
Subject: [PATCH 28/46] test: remove karma, sinon, chai and see what happens
---
package.json | 17 -
yarn.lock | 932 +++------------------------------------------------
2 files changed, 45 insertions(+), 904 deletions(-)
diff --git a/package.json b/package.json
index 21b6a4bb1..903ba50ff 100644
--- a/package.json
+++ b/package.json
@@ -22,13 +22,6 @@
"test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node",
"test:compat": "scripts/test-compat.sh",
"test:unit": "yarn build:test && yarn test:unit:only",
- "test:unit:only": "mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js",
- "test:unit:only:dev": "cross-env TARGET=dev yarn test:unit:only",
- "test:unit:debug": "yarn build:test && node --inspect-brk node_modules/.bin/mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js",
- "test:unit:karma": "yarn build:test && yarn test:unit:karma:only",
- "test:unit:karma:only": "cross-env TARGET=browser karma start test/setup/karma.conf.js --single-run",
- "test:unit:node": "yarn build:test && yarn test:unit:node:only",
- "test:unit:node:only": "cross-env TEST_ENV=node mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs/render.spec.js test/specs/renderToString.spec.js --require test/setup/mocha.setup.js",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
@@ -44,7 +37,6 @@
"@babel/plugin-syntax-flow": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
- "chai": "^4.0.0",
"chalk": "^2.4.2",
"conditional-specs": "^1.0.1",
"conventional-changelog": "^3.1.12",
@@ -57,13 +49,6 @@
"flow-bin": "^0.66.0",
"jsdom": "^12.0.0",
"jsdom-global": "^3.0.2",
- "karma": "^3.1.4",
- "karma-mocha": "^1.3.0",
- "karma-phantomjs-launcher": "^1.0.4",
- "karma-sinon-chai": "^2.0.2",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-spec-reporter": "^0.0.31",
- "karma-webpack": "^2.0.3",
"lerna": "^3.20.2",
"markdown-it-include": "^1.0.0",
"mocha": "^5.2.0",
@@ -75,8 +60,6 @@
"rollup-plugin-json": "4",
"rollup-plugin-node-resolve": "5",
"semver": "^6.3.0",
- "sinon": "^7.2.3",
- "sinon-chai": "^3.3.0",
"typescript": "3",
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
diff --git a/yarn.lock b/yarn.lock
index bde2ae2b8..86e06df6e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2768,13 +2768,6 @@
"@shellscape/koa-send" "^4.1.0"
debug "^2.6.8"
-"@sinonjs/commons@^1.0.2", "@sinonjs/commons@^1.3.0":
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.3.0.tgz#50a2754016b6f30a994ceda6d9a0a8c36adda849"
- integrity sha512-j4ZwhaHmwsCb4DlDOIWnI5YyKDNMoNThsmwEpfHx6a1EpsGZ9qYLxP++LMlmBRjtGptGHFsGItJ768snllFWpA==
- dependencies:
- type-detect "4.0.8"
-
"@sinonjs/commons@^1.7.0":
version "1.8.1"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.1.tgz#e7df00f98a203324f6dc7cc606cad9d4a8ab2217"
@@ -2789,22 +2782,6 @@
dependencies:
"@sinonjs/commons" "^1.7.0"
-"@sinonjs/formatio@^3.1.0":
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.1.0.tgz#6ac9d1eb1821984d84c4996726e45d1646d8cce5"
- integrity sha512-ZAR2bPHOl4Xg6eklUGpsdiIJ4+J1SNag1DHHrG/73Uz/nVwXqjgUtRPLoS+aVyieN9cSbc0E4LsU984tWcDyNg==
- dependencies:
- "@sinonjs/samsam" "^2 || ^3"
-
-"@sinonjs/samsam@^2 || ^3", "@sinonjs/samsam@^3.0.2":
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-3.0.2.tgz#304fb33bd5585a0b2df8a4c801fcb47fa84d8e43"
- integrity sha512-m08g4CS3J6lwRQk1pj1EO+KEVWbrbXsmi9Pw0ySmrIbcVxVaedoFgLvFsV8wHLwh01EpROVz3KvVcD1Jmks9FQ==
- dependencies:
- "@sinonjs/commons" "^1.0.2"
- array-from "^2.1.1"
- lodash.get "^4.4.2"
-
"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7":
version "7.1.9"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.9.tgz#77e59d438522a6fb898fa43dc3455c6e72f3963d"
@@ -3258,14 +3235,6 @@ accepts@^1.2.2:
mime-types "~2.1.18"
negotiator "0.6.1"
-accepts@~1.3.4:
- version "1.3.7"
- resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
- integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==
- dependencies:
- mime-types "~2.1.24"
- negotiator "0.6.2"
-
acorn-dynamic-import@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4"
@@ -3344,10 +3313,6 @@ acorn@^7.1.1:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
-after@0.8.2:
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
-
agent-base@4, agent-base@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
@@ -3395,7 +3360,7 @@ ajv-keywords@^3.4.1:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
-ajv@^5.1.0, ajv@^5.2.3, ajv@^5.3.0:
+ajv@^5.2.3, ajv@^5.3.0:
version "5.5.2"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965"
dependencies:
@@ -3614,19 +3579,10 @@ array-find-index@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
-array-from@^2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195"
- integrity sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=
-
array-ify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
-array-slice@^0.2.3:
- version "0.2.3"
- resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-0.2.3.tgz#dd3cfb80ed7973a75117cdac69b0b99ec86186f5"
-
array-union@^1.0.1, array-union@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@@ -3653,11 +3609,6 @@ array-unique@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
-arraybuffer.slice@~0.0.7:
- version "0.0.7"
- resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
- integrity sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==
-
arrify@^1.0.0, arrify@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -3693,10 +3644,6 @@ assert@^1.1.1:
dependencies:
util "0.10.3"
-assertion-error@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"
-
assign-symbols@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
@@ -3720,10 +3667,6 @@ async@^2.1.2:
dependencies:
lodash "^4.14.0"
-async@~0.9.0:
- version "0.9.2"
- resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
-
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -3775,10 +3718,6 @@ aws-sign2@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
-aws4@^1.6.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
-
aws4@^1.8.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
@@ -3935,10 +3874,6 @@ babylon@^6.8.4:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
-backo2@1.0.2:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
-
bail@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.2.tgz#f7d6c1731630a9f9f0d4d35ed1f962e2074a1764"
@@ -3952,18 +3887,10 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
-base64-arraybuffer@0.1.5:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8"
-
base64-js@^1.0.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.3.tgz#fb13668233d9614cf5fb4bce95a9ba4096cdf801"
-base64id@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/base64id/-/base64id-1.0.0.tgz#47688cb99bb6804f0e06d3e763b1c32e57d8e6b6"
-
base@^0.11.1:
version "0.11.2"
resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
@@ -3988,12 +3915,6 @@ before-after-hook@^2.0.0:
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==
-better-assert@~1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/better-assert/-/better-assert-1.0.2.tgz#40866b9e1b9e0b55b481894311e68faffaebc522"
- dependencies:
- callsite "1.0.0"
-
big.js@^3.1.3:
version "3.2.0"
resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
@@ -4016,12 +3937,7 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"
-blob@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683"
- integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==
-
-bluebird@^3.1.1, bluebird@^3.3.0, bluebird@^3.5.1:
+bluebird@^3.1.1, bluebird@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
@@ -4035,37 +3951,10 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
-body-parser@^1.16.1:
- version "1.18.2"
- resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454"
- dependencies:
- bytes "3.0.0"
- content-type "~1.0.4"
- debug "2.6.9"
- depd "~1.1.1"
- http-errors "~1.6.2"
- iconv-lite "0.4.19"
- on-finished "~2.3.0"
- qs "6.5.1"
- raw-body "2.3.2"
- type-is "~1.6.15"
-
boolbase@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
-boom@4.x.x:
- version "4.3.1"
- resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31"
- dependencies:
- hoek "4.x.x"
-
-boom@5.x.x:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02"
- dependencies:
- hoek "4.x.x"
-
boxen@^1.2.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b"
@@ -4086,12 +3975,6 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"
-braces@^0.1.2:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/braces/-/braces-0.1.5.tgz#c085711085291d8b75fdd74eab0f8597280711e6"
- dependencies:
- expand-range "^0.1.0"
-
braces@^1.8.2:
version "1.8.5"
resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
@@ -4303,10 +4186,6 @@ byte-size@^5.0.1:
resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw==
-bytes@3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
-
cacache@^10.0.4:
version "10.0.4"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460"
@@ -4398,10 +4277,6 @@ caller-path@^2.0.0:
dependencies:
caller-callsite "^2.0.0"
-callsite@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20"
-
callsites@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca"
@@ -4514,17 +4389,6 @@ center-align@^0.1.1:
align-text "^0.1.3"
lazy-cache "^1.0.3"
-chai@^4.0.0:
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c"
- dependencies:
- assertion-error "^1.0.1"
- check-error "^1.0.1"
- deep-eql "^3.0.0"
- get-func-name "^2.0.0"
- pathval "^1.0.0"
- type-detect "^4.0.0"
-
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -4579,10 +4443,6 @@ chardet@^0.7.0:
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
-check-error@^1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
-
cheerio@^1.0.0-rc.2:
version "1.0.0-rc.2"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db"
@@ -4660,11 +4520,6 @@ circular-json@^0.3.1:
version "0.3.3"
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
-circular-json@^0.5.5:
- version "0.5.9"
- resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.5.9.tgz#932763ae88f4f7dead7a0d09c8a51a4743a53b1d"
- integrity sha512-4ivwqHpIFJZBuhN3g/pEcdbnGUywkBblloGbkglyloVjjR3uT6tieI89MVOfbP2tHX5sgb01FuLgAOzebNlJNQ==
-
clap@^1.0.9:
version "1.2.3"
resolved "https://registry.yarnpkg.com/clap/-/clap-1.2.3.tgz#4f36745b32008492557f46412d66d50cb99bce51"
@@ -4852,7 +4707,7 @@ colormin@^1.0.5:
css-color-names "0.0.4"
has "^1.0.1"
-colors@^1.1.0, colors@^1.1.2, colors@~1.1.2:
+colors@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
@@ -4863,25 +4718,12 @@ columnify@^1.5.4:
strip-ansi "^3.0.0"
wcwidth "^1.0.0"
-combine-lists@^1.0.0:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/combine-lists/-/combine-lists-1.0.1.tgz#458c07e09e0d900fc28b70a3fec2dacd1d2cb7f6"
- dependencies:
- lodash "^4.5.0"
-
combined-stream@1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818"
dependencies:
delayed-stream "~1.0.0"
-combined-stream@~1.0.5:
- version "1.0.8"
- resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
- integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
- dependencies:
- delayed-stream "~1.0.0"
-
combined-stream@~1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828"
@@ -4944,24 +4786,16 @@ compare-func@^1.3.1:
array-ify "^1.0.0"
dot-prop "^3.0.0"
-component-bind@1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1"
-
-component-emitter@1.2.1, component-emitter@^1.2.1:
+component-emitter@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
-component-inherit@0.0.3:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143"
-
concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
-concat-stream@1.6.0, concat-stream@^1.5.0, concat-stream@^1.6.0:
+concat-stream@^1.5.0, concat-stream@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7"
dependencies:
@@ -5015,15 +4849,6 @@ connect-history-api-fallback@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a"
-connect@^3.6.0:
- version "3.6.6"
- resolved "https://registry.yarnpkg.com/connect/-/connect-3.6.6.tgz#09eff6c55af7236e137135a72574858b6786f524"
- dependencies:
- debug "2.6.9"
- finalhandler "1.1.0"
- parseurl "~1.3.2"
- utils-merge "1.0.1"
-
consola@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/consola/-/consola-1.3.0.tgz#b5effe41c4ecdce971d79268d72b8f9bde0a8c7a"
@@ -5064,7 +4889,7 @@ content-disposition@~0.5.0:
version "0.5.2"
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
-content-type@^1.0.0, content-type@~1.0.4:
+content-type@^1.0.0:
version "1.0.4"
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
@@ -5311,10 +5136,6 @@ convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
dependencies:
safe-buffer "~5.1.1"
-cookie@0.3.1:
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
-
cookies@~0.7.0:
version "0.7.1"
resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.7.1.tgz#7c8a615f5481c61ab9f16c833731bcb8f663b99b"
@@ -5358,15 +5179,15 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"
-core-js@^2.2.0, core-js@^2.5.0:
- version "2.5.3"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
-
core-js@^2.4.0, core-js@^2.6.5:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
+core-js@^2.5.0:
+ version "2.5.3"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
+
core-js@^2.5.3:
version "2.5.6"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d"
@@ -5473,12 +5294,6 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0"
which "^2.0.1"
-cryptiles@3.x.x:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe"
- dependencies:
- boom "5.x.x"
-
crypto-browserify@^3.11.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
@@ -5662,10 +5477,6 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"
-custom-event@~1.0.0:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425"
-
cyclist@~0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
@@ -5740,11 +5551,6 @@ date-fns@^1.27.2:
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
-date-format@^1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/date-format/-/date-format-1.2.0.tgz#615e828e233dd1ab9bb9ae0950e0ceccfa6ecad8"
- integrity sha1-YV6CjiM90aubua4JUODOzPpuytg=
-
date-now@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
@@ -5757,13 +5563,13 @@ de-indent@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
-debug@*, debug@3.1.0, debug@^3.1.0, debug@~3.1.0:
+debug@*, debug@3.1.0, debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
ms "2.0.0"
-debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
+debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
@@ -5805,12 +5611,6 @@ dedent@0.7.0, dedent@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
-deep-eql@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df"
- dependencies:
- type-detect "^4.0.0"
-
deep-equal@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"
@@ -5983,10 +5783,6 @@ dezalgo@^1.0.0:
asap "^2.0.0"
wrappy "1"
-di@^0.0.1:
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c"
-
diacritics@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
@@ -5996,7 +5792,7 @@ diff-sequences@^26.0.0:
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6"
integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==
-diff@3.5.0, diff@^3.5.0:
+diff@3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
@@ -6055,15 +5851,6 @@ dom-event-types@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dom-event-types/-/dom-event-types-1.0.0.tgz#5830a0a29e1bf837fe50a70cd80a597232813cae"
-dom-serialize@^2.2.0:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b"
- dependencies:
- custom-event "~1.0.0"
- ent "~2.2.0"
- extend "^3.0.0"
- void-elements "^2.0.0"
-
dom-serializer@0, dom-serializer@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82"
@@ -6239,10 +6026,6 @@ emojis-list@^3.0.0:
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==
-encodeurl@~1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
-
encoding@^0.1.11:
version "0.1.12"
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
@@ -6256,46 +6039,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
-engine.io-client@~3.2.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-3.2.1.tgz#6f54c0475de487158a1a7c77d10178708b6add36"
- integrity sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==
- dependencies:
- component-emitter "1.2.1"
- component-inherit "0.0.3"
- debug "~3.1.0"
- engine.io-parser "~2.1.1"
- has-cors "1.1.0"
- indexof "0.0.1"
- parseqs "0.0.5"
- parseuri "0.0.5"
- ws "~3.3.1"
- xmlhttprequest-ssl "~1.5.4"
- yeast "0.1.2"
-
-engine.io-parser@~2.1.0, engine.io-parser@~2.1.1:
- version "2.1.3"
- resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.1.3.tgz#757ab970fbf2dfb32c7b74b033216d5739ef79a6"
- integrity sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==
- dependencies:
- after "0.8.2"
- arraybuffer.slice "~0.0.7"
- base64-arraybuffer "0.1.5"
- blob "0.0.5"
- has-binary2 "~1.0.2"
-
-engine.io@~3.2.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.2.1.tgz#b60281c35484a70ee0351ea0ebff83ec8c9522a2"
- integrity sha512-+VlKzHzMhaU+GsCIg4AoXF1UdDFjHHwMmMKqMJNDNLlUlejz58FCy4LBqB2YVJskHGYl06BatYWKP2TVdVXE5w==
- dependencies:
- accepts "~1.3.4"
- base64id "1.0.0"
- cookie "0.3.1"
- debug "~3.1.0"
- engine.io-parser "~2.1.0"
- ws "~3.3.1"
-
enhanced-resolve@^3.4.0:
version "3.4.1"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e"
@@ -6313,10 +6056,6 @@ enhanced-resolve@^4.0.0:
memory-fs "^0.4.0"
tapable "^1.0.0"
-ent@~2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d"
-
entities@^1.1.1, entities@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
@@ -6453,7 +6192,7 @@ escalade@^3.0.1:
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4"
integrity sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ==
-escape-html@^1.0.3, escape-html@~1.0.1, escape-html@~1.0.3:
+escape-html@^1.0.3, escape-html@~1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -6641,10 +6380,6 @@ event-emitter@~0.3.5:
d "1"
es5-ext "~0.10.14"
-eventemitter3@1.x.x:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508"
-
eventemitter3@^3.1.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
@@ -6738,14 +6473,6 @@ exit@^0.1.2:
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
-expand-braces@^0.1.1:
- version "0.1.2"
- resolved "https://registry.yarnpkg.com/expand-braces/-/expand-braces-0.1.2.tgz#488b1d1d2451cb3d3a6b192cfc030f44c5855fea"
- dependencies:
- array-slice "^0.2.3"
- array-unique "^0.2.1"
- braces "^0.1.2"
-
expand-brackets@^0.1.4:
version "0.1.5"
resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b"
@@ -6765,13 +6492,6 @@ expand-brackets@^2.1.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"
-expand-range@^0.1.0:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-0.1.1.tgz#4cb8eda0993ca56fa4f41fc42f3cbb4ccadff044"
- dependencies:
- is-number "^0.1.1"
- repeat-string "^0.2.2"
-
expand-range@^1.8.1:
version "1.8.2"
resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337"
@@ -6811,7 +6531,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:
assign-symbols "^1.0.0"
is-extendable "^1.0.1"
-extend@^3.0.0, extend@~3.0.1:
+extend@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444"
@@ -6863,15 +6583,6 @@ extract-from-css@^0.4.4:
dependencies:
css "^2.1.0"
-extract-zip@^1.6.5:
- version "1.6.6"
- resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c"
- dependencies:
- concat-stream "1.6.0"
- debug "2.6.9"
- mkdirp "0.5.0"
- yauzl "2.4.1"
-
extsprintf@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
@@ -6956,12 +6667,6 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"
-fd-slicer@~1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65"
- dependencies:
- pend "~1.2.0"
-
figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"
@@ -7032,18 +6737,6 @@ fill-range@^7.0.1:
dependencies:
to-regex-range "^5.0.1"
-finalhandler@1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
- dependencies:
- debug "2.6.9"
- encodeurl "~1.0.1"
- escape-html "~1.0.3"
- on-finished "~2.3.0"
- parseurl "~1.3.2"
- statuses "~1.3.1"
- unpipe "~1.0.0"
-
find-cache-dir@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f"
@@ -7122,11 +6815,6 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"
-flatted@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
- integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
-
flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
@@ -7171,7 +6859,7 @@ forever-agent@~0.6.1:
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
-form-data@~2.3.1, form-data@~2.3.2:
+form-data@~2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099"
dependencies:
@@ -7205,14 +6893,6 @@ fs-extra@8.1.0, fs-extra@^8.1.0:
jsonfile "^4.0.0"
universalify "^0.1.0"
-fs-extra@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
- dependencies:
- graceful-fs "^4.1.2"
- jsonfile "^2.1.0"
- klaw "^1.0.0"
-
fs-extra@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
@@ -7311,10 +6991,6 @@ get-caller-file@^2.0.1:
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
-get-func-name@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"
-
get-own-enumerable-property-symbols@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
@@ -7659,7 +7335,7 @@ got@^6.7.1:
unzip-response "^2.0.1"
url-parse-lax "^1.0.0"
-graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.2:
+graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2:
version "4.2.3"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
@@ -7703,13 +7379,6 @@ har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
-har-validator@~5.0.3:
- version "5.0.3"
- resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd"
- dependencies:
- ajv "^5.1.0"
- har-schema "^2.0.0"
-
har-validator@~5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.0.tgz#44657f5688a22cfd4b72486e81b3a3fb11742c29"
@@ -7737,17 +7406,6 @@ has-ansi@^2.0.0:
dependencies:
ansi-regex "^2.0.0"
-has-binary2@~1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/has-binary2/-/has-binary2-1.0.3.tgz#7776ac627f3ea77250cfc332dab7ddf5e4f5d11d"
- integrity sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==
- dependencies:
- isarray "2.0.1"
-
-has-cors@1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39"
-
has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
@@ -7832,22 +7490,6 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"
-hasha@^2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/hasha/-/hasha-2.2.0.tgz#78d7cbfc1e6d66303fe79837365984517b2f6ee1"
- dependencies:
- is-stream "^1.0.1"
- pinkie-promise "^2.0.0"
-
-hawk@~6.0.2:
- version "6.0.2"
- resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038"
- dependencies:
- boom "4.x.x"
- cryptiles "3.x.x"
- hoek "4.x.x"
- sntp "2.x.x"
-
he@1.1.1, he@1.1.x, he@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
@@ -7955,15 +7597,6 @@ http-cache-semantics@^3.8.1:
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
-http-errors@1.6.2, http-errors@~1.6.2:
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
- dependencies:
- depd "1.1.1"
- inherits "2.0.3"
- setprototypeof "1.0.3"
- statuses ">= 1.3.1 < 2"
-
http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
version "1.6.3"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
@@ -7973,6 +7606,15 @@ http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
setprototypeof "1.1.0"
statuses ">= 1.4.0 < 2"
+http-errors@~1.6.2:
+ version "1.6.2"
+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
+ dependencies:
+ depd "1.1.1"
+ inherits "2.0.3"
+ setprototypeof "1.0.3"
+ statuses ">= 1.3.1 < 2"
+
http-proxy-agent@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
@@ -7981,13 +7623,6 @@ http-proxy-agent@^2.1.0:
agent-base "4"
debug "3.1.0"
-http-proxy@^1.13.0:
- version "1.16.2"
- resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742"
- dependencies:
- eventemitter3 "1.x.x"
- requires-port "1.x.x"
-
http-signature@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
@@ -8532,10 +8167,6 @@ is-npm@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
-is-number@^0.1.1:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806"
-
is-number@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f"
@@ -8694,7 +8325,7 @@ is-ssh@^1.3.0:
dependencies:
protocols "^1.1.0"
-is-stream@^1.0.0, is-stream@^1.0.1, is-stream@^1.1.0:
+is-stream@^1.0.0, is-stream@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
@@ -8773,19 +8404,10 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
-isarray@2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e"
- integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=
-
isarray@^2.0.1:
version "2.0.4"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.4.tgz#38e7bcbb0f3ba1b7933c86ba1894ddfc3781bbb7"
-isbinaryfile@^3.0.0:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.2.tgz#4a3e974ec0cba9004d3fc6cde7209ea69368a621"
-
isemail@3.x.x:
version "3.1.2"
resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.2.tgz#937cf919002077999a73ea8b1951d590e84e01dd"
@@ -9419,12 +9041,6 @@ json5@^1.0.1:
dependencies:
minimist "^1.2.0"
-jsonfile@^2.1.0:
- version "2.4.0"
- resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
- optionalDependencies:
- graceful-fs "^4.1.6"
-
jsonfile@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
@@ -9445,89 +9061,6 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.10.0"
-just-extend@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc"
- integrity sha512-FrLwOgm+iXrPV+5zDU6Jqu4gCRXbWEQg2O3SKONsWE4w7AXFRkryS53bpWdaL9cNol+AmR3AEYz6kn+o0fCPnw==
-
-karma-mocha@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/karma-mocha/-/karma-mocha-1.3.0.tgz#eeaac7ffc0e201eb63c467440d2b69c7cf3778bf"
- dependencies:
- minimist "1.2.0"
-
-karma-phantomjs-launcher@^1.0.4:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz#d23ca34801bda9863ad318e3bb4bd4062b13acd2"
- dependencies:
- lodash "^4.0.1"
- phantomjs-prebuilt "^2.1.7"
-
-karma-sinon-chai@^2.0.2:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/karma-sinon-chai/-/karma-sinon-chai-2.0.2.tgz#e28c109b989973abafc28a7c9f09ef24a05e07c2"
- integrity sha512-SDgh6V0CUd+7ruL1d3yG6lFzmJNGRNQuEuCYXLaorruNP9nwQfA7hpsp4clx4CbOo5Gsajh3qUOT7CrVStUKMw==
-
-karma-sourcemap-loader@^0.3.7:
- version "0.3.7"
- resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz#91322c77f8f13d46fed062b042e1009d4c4505d8"
- dependencies:
- graceful-fs "^4.1.2"
-
-karma-spec-reporter@^0.0.31:
- version "0.0.31"
- resolved "https://registry.yarnpkg.com/karma-spec-reporter/-/karma-spec-reporter-0.0.31.tgz#4830dc7148a155c7d7a186e632339a0d80fadec3"
- dependencies:
- colors "^1.1.2"
-
-karma-webpack@^2.0.3:
- version "2.0.9"
- resolved "https://registry.yarnpkg.com/karma-webpack/-/karma-webpack-2.0.9.tgz#61c88091f7dd910635134c032b266a465affb57f"
- dependencies:
- async "~0.9.0"
- loader-utils "^0.2.5"
- lodash "^3.8.0"
- source-map "^0.5.6"
- webpack-dev-middleware "^1.12.0"
-
-karma@^3.1.4:
- version "3.1.4"
- resolved "https://registry.yarnpkg.com/karma/-/karma-3.1.4.tgz#3890ca9722b10d1d14b726e1335931455788499e"
- integrity sha512-31Vo8Qr5glN+dZEVIpnPCxEGleqE0EY6CtC2X9TagRV3rRQ3SNrvfhddICkJgUK3AgqpeKSZau03QumTGhGoSw==
- dependencies:
- bluebird "^3.3.0"
- body-parser "^1.16.1"
- chokidar "^2.0.3"
- colors "^1.1.0"
- combine-lists "^1.0.0"
- connect "^3.6.0"
- core-js "^2.2.0"
- di "^0.0.1"
- dom-serialize "^2.2.0"
- expand-braces "^0.1.1"
- flatted "^2.0.0"
- glob "^7.1.1"
- graceful-fs "^4.1.2"
- http-proxy "^1.13.0"
- isbinaryfile "^3.0.0"
- lodash "^4.17.5"
- log4js "^3.0.0"
- mime "^2.3.1"
- minimatch "^3.0.2"
- optimist "^0.6.1"
- qjobs "^1.1.4"
- range-parser "^1.2.0"
- rimraf "^2.6.0"
- safe-buffer "^5.0.1"
- socket.io "2.1.1"
- source-map "^0.6.1"
- tmp "0.0.33"
- useragent "2.3.0"
-
-kew@^0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/kew/-/kew-0.7.0.tgz#79d93d2d33363d6fdd2970b335d9141ad591d79b"
-
keygrip@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.0.2.tgz#ad3297c557069dea8bcfe7a4fa491b75c5ddeb91"
@@ -9557,12 +9090,6 @@ kind-of@^6.0.0, kind-of@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
-klaw@^1.0.0:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
- optionalDependencies:
- graceful-fs "^4.1.9"
-
kleur@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
@@ -9855,7 +9382,7 @@ loader-runner@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"
-loader-utils@^0.2.16, loader-utils@^0.2.5:
+loader-utils@^0.2.16:
version "0.2.17"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
dependencies:
@@ -9991,11 +9518,7 @@ lodash@4.17.15:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
-lodash@^3.8.0:
- version "3.10.1"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
-
-lodash@^4.0.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.0:
+lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
@@ -10028,17 +9551,6 @@ log-update@^2.3.0:
cli-cursor "^2.0.0"
wrap-ansi "^3.0.1"
-log4js@^3.0.0:
- version "3.0.6"
- resolved "https://registry.yarnpkg.com/log4js/-/log4js-3.0.6.tgz#e6caced94967eeeb9ce399f9f8682a4b2b28c8ff"
- integrity sha512-ezXZk6oPJCWL483zj64pNkMuY/NcRX5MPiB0zE6tjZM137aeusrOnW1ecxgF9cmwMWkBMhjteQxBPoZBh9FDxQ==
- dependencies:
- circular-json "^0.5.5"
- date-format "^1.2.0"
- debug "^3.1.0"
- rfdc "^1.1.2"
- streamroller "0.7.0"
-
loglevelnext@^1.0.1, loglevelnext@^1.0.2:
version "1.0.5"
resolved "https://registry.yarnpkg.com/loglevelnext/-/loglevelnext-1.0.5.tgz#36fc4f5996d6640f539ff203ba819641680d75a2"
@@ -10046,16 +9558,6 @@ loglevelnext@^1.0.1, loglevelnext@^1.0.2:
es6-symbol "^3.1.1"
object.assign "^4.1.0"
-lolex@^2.3.2:
- version "2.7.5"
- resolved "https://registry.yarnpkg.com/lolex/-/lolex-2.7.5.tgz#113001d56bfc7e02d56e36291cc5c413d1aa0733"
- integrity sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==
-
-lolex@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/lolex/-/lolex-3.0.0.tgz#f04ee1a8aa13f60f1abd7b0e8f4213ec72ec193e"
- integrity sha512-hcnW80h3j2lbUfFdMArd5UPA/vxZJ+G8vobd+wg3nVEQA0EigStbYcrG030FJxL6xiDDPEkoMatV9xIh5OecQQ==
-
long@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
@@ -10090,7 +9592,7 @@ lowercase-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306"
-lru-cache@4.1.x, lru-cache@^4.0.1, lru-cache@^4.1.1:
+lru-cache@^4.0.1, lru-cache@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
dependencies:
@@ -10406,11 +9908,6 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"
-mime-db@1.40.0:
- version "1.40.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
- integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==
-
mime-db@1.43.0:
version "1.43.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
@@ -10425,7 +9922,7 @@ mime-db@~1.36.0:
version "1.36.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"
-mime-types@^2.0.7, mime-types@~2.1.17, mime-types@~2.1.18:
+mime-types@^2.0.7, mime-types@~2.1.18:
version "2.1.18"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8"
dependencies:
@@ -10444,26 +9941,10 @@ mime-types@~2.1.19:
dependencies:
mime-db "~1.36.0"
-mime-types@~2.1.24:
- version "2.1.24"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
- integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==
- dependencies:
- mime-db "1.40.0"
-
-mime@^1.5.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
-
mime@^2.0.3, mime@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369"
-mime@^2.3.1:
- version "2.4.4"
- resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5"
- integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==
-
mimic-fn@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
@@ -10615,12 +10096,6 @@ mkdirp@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e"
-mkdirp@0.5.0:
- version "0.5.0"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12"
- dependencies:
- minimist "0.0.8"
-
mkdirp@0.x, mkdirp@^0.5.3:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
@@ -10790,11 +10265,6 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
-negotiator@0.6.2:
- version "0.6.2"
- resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
- integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==
-
neo-async@^2.5.0:
version "2.5.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.1.tgz#acb909e327b1e87ec9ef15f41b8a269512ad41ee"
@@ -10808,17 +10278,6 @@ nice-try@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4"
-nise@^1.4.8:
- version "1.4.8"
- resolved "https://registry.yarnpkg.com/nise/-/nise-1.4.8.tgz#ce91c31e86cf9b2c4cac49d7fcd7f56779bfd6b0"
- integrity sha512-kGASVhuL4tlAV0tvA34yJYZIVihrUt/5bDwpp4tTluigxUr2bBlJeDXmivb6NuEdFkqvdv/Ybb9dm16PSKUhtw==
- dependencies:
- "@sinonjs/formatio" "^3.1.0"
- just-extend "^4.0.2"
- lolex "^2.3.2"
- path-to-regexp "^1.7.0"
- text-encoding "^0.6.4"
-
no-case@^2.2.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
@@ -11108,10 +10567,6 @@ nwsapi@^2.2.0:
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
-oauth-sign@~0.8.2:
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
-
oauth-sign@~0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
@@ -11121,10 +10576,6 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
-object-component@0.0.3:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291"
-
object-copy@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
@@ -11178,7 +10629,7 @@ octokit-pagination-methods@^1.1.0:
resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==
-on-finished@^2.1.0, on-finished@~2.3.0:
+on-finished@^2.1.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
dependencies:
@@ -11523,19 +10974,7 @@ parse5@^3.0.1:
dependencies:
"@types/node" "*"
-parseqs@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d"
- dependencies:
- better-assert "~1.0.0"
-
-parseuri@0.0.5:
- version "0.0.5"
- resolved "https://registry.yarnpkg.com/parseuri/-/parseuri-0.0.5.tgz#80204a50d4dbb779bfdc6ebe2778d90e4bce320a"
- dependencies:
- better-assert "~1.0.0"
-
-parseurl@^1.3.0, parseurl@~1.3.2:
+parseurl@^1.3.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3"
@@ -11593,12 +11032,6 @@ path-parse@^1.0.6:
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
-path-to-regexp@^1.7.0:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
- dependencies:
- isarray "0.0.1"
-
path-type@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
@@ -11625,10 +11058,6 @@ path-type@^4.0.0:
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
-pathval@^1.0.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0"
-
pbkdf2@^3.0.3:
version "3.0.14"
resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.14.tgz#a35e13c64799b06ce15320f459c230e68e73bade"
@@ -11639,28 +11068,10 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
-pend@~1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
-
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
-phantomjs-prebuilt@^2.1.7:
- version "2.1.16"
- resolved "https://registry.yarnpkg.com/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz#efd212a4a3966d3647684ea8ba788549be2aefef"
- dependencies:
- es6-promise "^4.0.3"
- extract-zip "^1.6.5"
- fs-extra "^1.0.0"
- hasha "^2.2.0"
- kew "^0.7.0"
- progress "^1.1.8"
- request "^2.81.0"
- request-progress "^2.0.1"
- which "^1.2.10"
-
picomatch@^2.0.4:
version "2.2.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
@@ -12158,11 +11569,6 @@ process@~0.5.1:
version "0.5.2"
resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf"
-progress@^1.1.8:
- version "1.1.8"
- resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
- integrity sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=
-
progress@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
@@ -12284,14 +11690,6 @@ q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
-qjobs@^1.1.4:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071"
-
-qs@6.5.1, qs@~6.5.1:
- version "6.5.1"
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
-
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
@@ -12337,19 +11735,10 @@ randomfill@^1.0.3:
randombytes "^2.0.5"
safe-buffer "^5.1.0"
-range-parser@^1.0.3, range-parser@^1.2.0:
+range-parser@^1.0.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
-raw-body@2.3.2:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"
- dependencies:
- bytes "3.0.0"
- http-errors "1.6.2"
- iconv-lite "0.4.19"
- unpipe "1.0.0"
-
rc@^1.0.1, rc@^1.1.6:
version "1.2.4"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3"
@@ -12529,19 +11918,6 @@ readable-stream@^2.1.5, readable-stream@^2.2.2:
string_decoder "~1.0.3"
util-deprecate "~1.0.1"
-readable-stream@^2.3.0:
- version "2.3.6"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
- integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
- dependencies:
- core-util-is "~1.0.0"
- inherits "~2.0.3"
- isarray "~1.0.0"
- process-nextick-args "~2.0.0"
- safe-buffer "~5.1.1"
- string_decoder "~1.1.1"
- util-deprecate "~1.0.1"
-
readdir-scoped-modules@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
@@ -12824,10 +12200,6 @@ repeat-element@^1.1.2:
resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==
-repeat-string@^0.2.2:
- version "0.2.2"
- resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-0.2.2.tgz#c7a8d3236068362059a7e4651fc6884e8b1fb4ae"
-
repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
@@ -12842,12 +12214,6 @@ replace-ext@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
-request-progress@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-2.0.1.tgz#5d36bb57961c673aa5b788dbc8141fdf23b44e08"
- dependencies:
- throttleit "^1.0.0"
-
request-promise-core@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6"
@@ -12878,33 +12244,6 @@ request-promise-native@^1.0.8:
stealthy-require "^1.1.1"
tough-cookie "^2.3.3"
-request@^2.81.0:
- version "2.85.0"
- resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa"
- dependencies:
- aws-sign2 "~0.7.0"
- aws4 "^1.6.0"
- caseless "~0.12.0"
- combined-stream "~1.0.5"
- extend "~3.0.1"
- forever-agent "~0.6.1"
- form-data "~2.3.1"
- har-validator "~5.0.3"
- hawk "~6.0.2"
- http-signature "~1.2.0"
- is-typedarray "~1.0.0"
- isstream "~0.1.2"
- json-stringify-safe "~5.0.1"
- mime-types "~2.1.17"
- oauth-sign "~0.8.2"
- performance-now "^2.1.0"
- qs "~6.5.1"
- safe-buffer "^5.1.1"
- stringstream "~0.0.5"
- tough-cookie "~2.3.3"
- tunnel-agent "^0.6.0"
- uuid "^3.1.0"
-
request@^2.88.0:
version "2.88.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
@@ -12982,10 +12321,6 @@ require-uncached@^1.0.3:
caller-path "^0.1.0"
resolve-from "^1.0.0"
-requires-port@1.x.x:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
-
resolve-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@@ -13097,11 +12432,6 @@ reusify@^1.0.0:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
-rfdc@^1.1.2:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.4.tgz#ba72cc1367a0ccd9cf81a870b3b58bd3ad07f8c2"
- integrity sha512-5C9HXdzK8EAqN7JDif30jqsBzavB7wLpaubisuQIGHWf2gUXSpzy6ArX/+Da8RjFpagWsCn+pIgxTMAmKw9Zug==
-
right-align@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
@@ -13113,7 +12443,7 @@ right-pad@^1.0.1:
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA=
-rimraf@^2.2.8, 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.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -13486,24 +12816,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=
-sinon-chai@^3.3.0:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.3.0.tgz#8084ff99451064910fbe2c2cb8ab540c00b740ea"
- integrity sha512-r2JhDY7gbbmh5z3Q62pNbrjxZdOAjpsqW/8yxAZRSqLZqowmfGZPGUZPFf3UX36NLis0cv8VEM5IJh9HgkSOAA==
-
-sinon@^7.2.3:
- version "7.2.3"
- resolved "https://registry.yarnpkg.com/sinon/-/sinon-7.2.3.tgz#f8bfd956df32ddf592f8c102fd46982366412d8e"
- integrity sha512-i6j7sqcLEqTYqUcMV327waI745VASvYuSuQMCjbAwlpAeuCgKZ3LtrjDxAbu+GjNQR0FEDpywtwGCIh8GicNyg==
- dependencies:
- "@sinonjs/commons" "^1.3.0"
- "@sinonjs/formatio" "^3.1.0"
- "@sinonjs/samsam" "^3.0.2"
- diff "^3.5.0"
- lolex "^3.0.0"
- nise "^1.4.8"
- supports-color "^5.5.0"
-
sisteransi@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
@@ -13571,58 +12883,6 @@ snapdragon@^0.8.1:
source-map-resolve "^0.5.0"
use "^3.1.0"
-sntp@2.x.x:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8"
- dependencies:
- hoek "4.x.x"
-
-socket.io-adapter@~1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz#2a805e8a14d6372124dd9159ad4502f8cb07f06b"
- integrity sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs=
-
-socket.io-client@2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.1.1.tgz#dcb38103436ab4578ddb026638ae2f21b623671f"
- integrity sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==
- dependencies:
- backo2 "1.0.2"
- base64-arraybuffer "0.1.5"
- component-bind "1.0.0"
- component-emitter "1.2.1"
- debug "~3.1.0"
- engine.io-client "~3.2.0"
- has-binary2 "~1.0.2"
- has-cors "1.1.0"
- indexof "0.0.1"
- object-component "0.0.3"
- parseqs "0.0.5"
- parseuri "0.0.5"
- socket.io-parser "~3.2.0"
- to-array "0.1.4"
-
-socket.io-parser@~3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.2.0.tgz#e7c6228b6aa1f814e6148aea325b51aa9499e077"
- integrity sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==
- dependencies:
- component-emitter "1.2.1"
- debug "~3.1.0"
- isarray "2.0.1"
-
-socket.io@2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.1.1.tgz#a069c5feabee3e6b214a75b40ce0652e1cfb9980"
- integrity sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==
- dependencies:
- debug "~3.1.0"
- engine.io "~3.2.0"
- has-binary2 "~1.0.2"
- socket.io-adapter "~1.1.0"
- socket.io-client "2.1.1"
- socket.io-parser "~3.2.0"
-
socks-proxy-agent@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
@@ -13826,10 +13086,6 @@ static-extend@^0.1.1:
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
-statuses@~1.3.1:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
-
std-env@^1.1.0, std-env@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/std-env/-/std-env-1.3.0.tgz#8ce754a401a61f1ac49c8eb55f2a8c0c63d54954"
@@ -13872,16 +13128,6 @@ stream-slice@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b"
-streamroller@0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-0.7.0.tgz#a1d1b7cf83d39afb0d63049a5acbf93493bdf64b"
- integrity sha512-WREzfy0r0zUqp3lGO096wRuUp7ho1X6uo/7DJfTlEi0Iv/4gT7YHqXDjKC2ioVGBZtE8QzsQD9nx1nIuoZ57jQ==
- dependencies:
- date-format "^1.2.0"
- debug "^3.1.0"
- mkdirp "^0.5.1"
- readable-stream "^2.3.0"
-
strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -13967,11 +13213,6 @@ stringify-object@^3.3.0:
is-obj "^1.0.1"
is-regexp "^1.0.0"
-stringstream@~0.0.5:
- version "0.0.6"
- resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72"
- integrity sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==
-
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
@@ -14105,13 +13346,6 @@ supports-color@^5.2.0:
dependencies:
has-flag "^3.0.0"
-supports-color@^5.5.0:
- version "5.5.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
- integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
- dependencies:
- has-flag "^3.0.0"
-
supports-color@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
@@ -14260,11 +13494,6 @@ test-exclude@^6.0.0:
glob "^7.1.4"
minimatch "^3.0.4"
-text-encoding@^0.6.4:
- version "0.6.4"
- resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
- integrity sha1-45mpgiV6J22uQou5KEXLcb3CbRk=
-
text-extensions@^1.0.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39"
@@ -14295,10 +13524,6 @@ throat@^5.0.0:
resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b"
integrity sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==
-throttleit@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
-
through2@^2.0.0, through2@^2.0.2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
@@ -14321,10 +13546,6 @@ time-fix-plugin@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/time-fix-plugin/-/time-fix-plugin-2.0.1.tgz#4943dd28c8fa36a543aec34e3af2a173abc43de1"
-time-stamp@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-2.0.0.tgz#95c6a44530e15ba8d6f4a3ecb8c3a3fac46da357"
-
timed-out@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
@@ -14339,7 +13560,7 @@ tiny-emitter@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c"
-tmp@0.0.33, tmp@0.0.x, tmp@^0.0.33:
+tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
dependencies:
@@ -14350,10 +13571,6 @@ tmpl@1.0.x:
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
-to-array@0.1.4:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
-
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
@@ -14410,7 +13627,7 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-tough-cookie@>=2.3.3, tough-cookie@~2.3.3:
+tough-cookie@>=2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
dependencies:
@@ -14529,7 +13746,7 @@ type-check@~0.3.2:
dependencies:
prelude-ls "~1.1.2"
-type-detect@4.0.8, type-detect@^4.0.0:
+type-detect@4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
@@ -14553,7 +13770,7 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
-type-is@^1.5.5, type-is@~1.6.15:
+type-is@^1.5.5:
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
dependencies:
@@ -14641,11 +13858,6 @@ uid-number@0.0.6:
resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=
-ultron@~1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
- integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==
-
umask@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
@@ -14796,10 +14008,6 @@ universalify@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
-unpipe@1.0.0, unpipe@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
-
unset-value@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
@@ -14885,14 +14093,6 @@ use@^3.1.0:
dependencies:
kind-of "^6.0.2"
-useragent@2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.3.0.tgz#217f943ad540cb2128658ab23fc960f6a88c9972"
- integrity sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==
- dependencies:
- lru-cache "4.1.x"
- tmp "0.0.x"
-
util-deprecate@^1.0.1, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
@@ -14925,10 +14125,6 @@ utila@~0.4:
version "0.4.0"
resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
-utils-merge@1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
-
uuid@^3.0.1, uuid@^3.1.0:
version "3.2.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
@@ -15020,10 +14216,6 @@ vm-browserify@0.0.4:
dependencies:
indexof "0.0.1"
-void-elements@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
-
vue-class-component@^7.2.3:
version "7.2.3"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
@@ -15314,16 +14506,6 @@ webpack-chain@^4.6.0:
deepmerge "^1.5.2"
javascript-stringify "^1.6.0"
-webpack-dev-middleware@^1.12.0:
- version "1.12.2"
- resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz#f8fc1120ce3b4fc5680ceecb43d777966b21105e"
- dependencies:
- memory-fs "~0.4.1"
- mime "^1.5.0"
- path-is-absolute "^1.0.0"
- range-parser "^1.0.3"
- time-stamp "^2.0.0"
-
webpack-dev-middleware@^3.0.0:
version "3.1.3"
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.1.3.tgz#8b32aa43da9ae79368c1bf1183f2b6cf5e1f39ed"
@@ -15533,12 +14715,6 @@ which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
-which@^1.2.10, which@^1.2.9:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
- dependencies:
- isexe "^2.0.0"
-
which@^1.2.14, which@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
@@ -15546,6 +14722,12 @@ which@^1.2.14, which@^1.3.1:
dependencies:
isexe "^2.0.0"
+which@^1.2.9:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
+ dependencies:
+ isexe "^2.0.0"
+
which@^2.0.1, which@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
@@ -15819,15 +15001,6 @@ ws@^7.2.3:
resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"
integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==
-ws@~3.3.1:
- version "3.3.3"
- resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2"
- integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==
- dependencies:
- async-limiter "~1.0.0"
- safe-buffer "~5.1.0"
- ultron "~1.1.0"
-
x-is-function@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/x-is-function/-/x-is-function-1.0.4.tgz#5d294dc3d268cbdd062580e0c5df77a391d1fa1e"
@@ -15849,11 +15022,6 @@ xmlchars@^2.2.0:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
-xmlhttprequest-ssl@~1.5.4:
- version "1.5.5"
- resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
- integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=
-
xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
@@ -15996,13 +15164,3 @@ yargs@~3.10.0:
cliui "^2.1.0"
decamelize "^1.0.0"
window-size "0.1.0"
-
-yauzl@2.4.1:
- version "2.4.1"
- resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005"
- dependencies:
- fd-slicer "~1.0.1"
-
-yeast@0.1.2:
- version "0.1.2"
- resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
From 002f686169d115f71218e59e0938834dc8d10f70 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 7 Jul 2020 17:52:19 +1000
Subject: [PATCH 29/46] test: do not use compiled dist files for tests
---
jest.config.js | 1 +
test/resources/utils.js | 4 ++--
test/specs/config.spec.js | 2 +-
test/specs/create-local-vue.spec.js | 2 +-
test/specs/create-wrapper.spec.js | 2 +-
test/specs/external-libraries.spec.js | 2 +-
test/specs/mount.spec.js | 2 +-
test/specs/render.spec.js | 2 +-
test/specs/renderToString.spec.js | 4 ++--
test/specs/shallow-mount.spec.js | 2 +-
test/specs/wrapper-array.spec.js | 2 +-
test/specs/wrapper.spec.js | 5 ++++-
12 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/jest.config.js b/jest.config.js
index 6d103eabc..59678951b 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,6 +1,7 @@
module.exports = {
moduleNameMapper: {
'^~(.*)$': '/test/$1',
+ '^packages/(.*)$': '/packages/$1',
'\\.(css|less|scss|sass)$': 'identity-obj-proxy'
},
transform: {
diff --git a/test/resources/utils.js b/test/resources/utils.js
index 8d50b0aed..1978ec793 100644
--- a/test/resources/utils.js
+++ b/test/resources/utils.js
@@ -1,8 +1,8 @@
/* global describe */
import Vue from 'vue'
-import { shallowMount, mount } from '@vue/test-utils'
-import { renderToString } from '@vue/server-test-utils'
+import { shallowMount, mount } from 'packages/test-utils/src'
+import { renderToString } from 'packages/server-test-utils/src'
export const vueVersion = Number(
`${Vue.version.split('.')[0]}.${Vue.version.split('.')[1]}`
diff --git a/test/specs/config.spec.js b/test/specs/config.spec.js
index e7688a341..4202d4150 100644
--- a/test/specs/config.spec.js
+++ b/test/specs/config.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import ComponentWithProps from '~resources/components/component-with-props.vue'
-import { config, createLocalVue } from '@vue/test-utils'
+import { config, createLocalVue } from 'packages/test-utils/src'
import ComponentWithTransitions from '~resources/components/component-with-transitions.vue'
describeWithShallowAndMount('config', mountingMethod => {
diff --git a/test/specs/create-local-vue.spec.js b/test/specs/create-local-vue.spec.js
index e8c4b89f8..09a928a01 100644
--- a/test/specs/create-local-vue.spec.js
+++ b/test/specs/create-local-vue.spec.js
@@ -1,7 +1,7 @@
import Vue from 'vue'
import Vuex from 'vuex'
import VueRouter from 'vue-router'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import ComponentWithVuex from '~resources/components/component-with-vuex.vue'
import ComponentWithRouter from '~resources/components/component-with-router.vue'
diff --git a/test/specs/create-wrapper.spec.js b/test/specs/create-wrapper.spec.js
index 132dab044..7ad4df56f 100644
--- a/test/specs/create-wrapper.spec.js
+++ b/test/specs/create-wrapper.spec.js
@@ -1,5 +1,5 @@
import Vue from 'vue'
-import { createWrapper, Wrapper, WrapperArray } from '@vue/test-utils'
+import { createWrapper, Wrapper, WrapperArray } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import { describeRunIf } from 'conditional-specs'
diff --git a/test/specs/external-libraries.spec.js b/test/specs/external-libraries.spec.js
index 4b4d2a92b..151d8779f 100644
--- a/test/specs/external-libraries.spec.js
+++ b/test/specs/external-libraries.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, mount } from '@vue/test-utils'
+import { createLocalVue, mount } from 'packages/test-utils/src'
import VeeValidate from 'vee-validate'
import { describeWithShallowAndMount } from '~resources/utils'
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index d1ec388c2..bbbc294cf 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -1,6 +1,6 @@
import Vue from 'vue'
import { compileToFunctions } from 'vue-template-compiler'
-import { mount, createLocalVue } from '@vue/test-utils'
+import { mount, createLocalVue } from 'packages/test-utils/src'
import CompositionAPI, { createElement } from '@vue/composition-api'
import Component from '~resources/components/component.vue'
import ComponentWithProps from '~resources/components/component-with-props.vue'
diff --git a/test/specs/render.spec.js b/test/specs/render.spec.js
index a2df898b1..a5954d78f 100644
--- a/test/specs/render.spec.js
+++ b/test/specs/render.spec.js
@@ -1,4 +1,4 @@
-import { render } from '@vue/server-test-utils'
+import { render } from 'packages/server-test-utils/src'
import Cheerio from 'cheerio'
import { describeDoNotRunIf } from 'conditional-specs'
diff --git a/test/specs/renderToString.spec.js b/test/specs/renderToString.spec.js
index a66f48dca..bb49c2ff6 100644
--- a/test/specs/renderToString.spec.js
+++ b/test/specs/renderToString.spec.js
@@ -1,5 +1,5 @@
-import { renderToString } from '@vue/server-test-utils'
-import { createLocalVue } from '@vue/test-utils'
+import { renderToString } from 'packages/server-test-utils/src'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import { describeDoNotRunIf } from 'conditional-specs'
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index f8d111aab..f310e32ca 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -1,6 +1,6 @@
import { compileToFunctions } from 'vue-template-compiler'
import Vue from 'vue'
-import { mount, shallowMount, createLocalVue } from '@vue/test-utils'
+import { mount, shallowMount, createLocalVue } from 'packages/test-utils/src'
import Component from '~resources/components/component.vue'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import ComponentWithFunctionalChild from '~resources/components/component-with-functional-child.vue'
diff --git a/test/specs/wrapper-array.spec.js b/test/specs/wrapper-array.spec.js
index 5f2b9b85e..f4de284a9 100644
--- a/test/specs/wrapper-array.spec.js
+++ b/test/specs/wrapper-array.spec.js
@@ -1,4 +1,4 @@
-import { Wrapper, WrapperArray } from '@vue/test-utils'
+import { Wrapper, WrapperArray } from 'packages/test-utils/src'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('WrapperArray', mountingMethod => {
diff --git a/test/specs/wrapper.spec.js b/test/specs/wrapper.spec.js
index fd9223fac..95934dac3 100644
--- a/test/specs/wrapper.spec.js
+++ b/test/specs/wrapper.spec.js
@@ -1,5 +1,8 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import { enableAutoDestroy, resetAutoDestroyState } from '@vue/test-utils'
+import {
+ enableAutoDestroy,
+ resetAutoDestroyState
+} from 'packages/test-utils/src'
describeWithShallowAndMount('Wrapper', mountingMethod => {
;['vnode', 'element', 'vm', 'options'].forEach(property => {
From 28fffd83e5f517cb8bf500bcd65d5c3f7c053eec Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Tue, 7 Jul 2020 17:54:24 +1000
Subject: [PATCH 30/46] test: make scripts minimal
---
.circleci/config.yml | 20 ++------------------
package.json | 17 +----------------
2 files changed, 3 insertions(+), 34 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b85fddcd9..9a40a3b06 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -42,15 +42,6 @@ jobs:
- run:
name: yarn bootstrap
command: yarn bootstrap
- build_test:
- <<: *defaults
- steps:
- - attach_workspace:
- at: ~/repo
- - *restore_node_modules
- - run:
- name: yarn build:test
- command: yarn build:test
test:
<<: *defaults
steps:
@@ -58,15 +49,8 @@ jobs:
at: ~/repo
- *restore_node_modules
- run:
- name: yarn test
- command: yarn test
- test_compat:
- <<: *defaults
- steps:
- - attach_workspace:
- at: ~/repo
- - *restore_node_modules
- - run: yarn test:compat
+ name: yarn test:unit
+ command: yarn test:unit
workflows:
version: 2
install-tests:
diff --git a/package.json b/package.json
index 903ba50ff..5bf7765fe 100644
--- a/package.json
+++ b/package.json
@@ -6,22 +6,7 @@
],
"scripts": {
"bootstrap": "lerna bootstrap",
- "build": "lerna run build",
- "build:test": "lerna run build:test",
- "clean": "lerna clean --yes",
- "commit": "git-cz",
- "docs": "vuepress dev docs",
- "docs:build": "vuepress build docs",
- "flow": "flow check",
- "lint": "eslint --ext js,vue .",
- "lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
- "lint:fix": "yarn lint -- --fix",
- "format": "prettier --write \"**/*.{js,json,vue,md}\"",
- "format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
- "release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\"",
- "test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node",
- "test:compat": "scripts/test-compat.sh",
- "test:unit": "yarn build:test && yarn test:unit:only",
+ "test:unit": "cross-env TARGET=dev yarn jest",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
From b51ec44a83cd75e3f07ef3dc5022c3b78d11d334 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Thu, 9 Jul 2020 19:06:45 +1000
Subject: [PATCH 31/46] test: update import paths
---
.../mounting-options/attachToDocument.spec.js | 2 +-
test/specs/mounting-options/localVue.spec.js | 2 +-
test/specs/mounting-options/methods.spec.js | 2 +-
test/specs/mounting-options/mocks.spec.js | 2 +-
test/specs/mounting-options/propsData.spec.js | 2 +-
test/specs/mounting-options/provide.spec.js | 4 ++--
test/specs/mounting-options/scopedSlots.spec.js | 2 +-
test/specs/mounting-options/slots.spec.js | 14 +++++++++-----
test/specs/mounting-options/stubs.spec.js | 16 +++++++++++-----
test/specs/wrapper-array/at.spec.js | 2 +-
test/specs/wrapper-array/attributes.spec.js | 2 +-
test/specs/wrapper-array/classes.spec.js | 2 +-
test/specs/wrapper-array/contains.spec.js | 2 +-
test/specs/wrapper-array/find.spec.js | 2 +-
test/specs/wrapper-array/findAll.spec.js | 2 +-
test/specs/wrapper-array/html.spec.js | 2 +-
test/specs/wrapper-array/isEmpty.spec.js | 2 +-
test/specs/wrapper-array/isVisible.spec.js | 2 +-
test/specs/wrapper-array/name.spec.js | 2 +-
test/specs/wrapper-array/overview.spec.js | 2 +-
test/specs/wrapper-array/props.spec.js | 2 +-
test/specs/wrapper-array/text.spec.js | 2 +-
test/specs/wrapper/emitted.spec.js | 2 +-
test/specs/wrapper/find.spec.js | 2 +-
24 files changed, 43 insertions(+), 33 deletions(-)
diff --git a/test/specs/mounting-options/attachToDocument.spec.js b/test/specs/mounting-options/attachToDocument.spec.js
index f01b0a90f..b0c026614 100644
--- a/test/specs/mounting-options/attachToDocument.spec.js
+++ b/test/specs/mounting-options/attachToDocument.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount, isRunningJSDOM } from '~resources/utils'
-import { renderToString } from '@vue/server-test-utils'
+import { renderToString } from 'packages/server-test-utils/src'
describeWithShallowAndMount('options.attachToDocument', mountingMethod => {
it('attaches root node to document', () => {
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 1f7811f50..53edc7933 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -4,7 +4,7 @@ import {
isRunningPhantomJS,
vueVersion
} from '~resources/utils'
-import { createLocalVue, shallowMount, mount } from '@vue/test-utils'
+import { createLocalVue, shallowMount, mount } from 'packages/test-utils/src'
import { itSkipIf, itRunIf, itDoNotRunIf } from 'conditional-specs'
import Vuex from 'vuex'
diff --git a/test/specs/mounting-options/methods.spec.js b/test/specs/mounting-options/methods.spec.js
index cf258dfcc..484777650 100644
--- a/test/specs/mounting-options/methods.spec.js
+++ b/test/specs/mounting-options/methods.spec.js
@@ -1,4 +1,4 @@
-import { config } from '@vue/test-utils'
+import { config } from 'packages/test-utils/src'
import { describeWithShallowAndMount } from '~resources/utils'
describeWithShallowAndMount('options.methods', mountingMethod => {
diff --git a/test/specs/mounting-options/mocks.spec.js b/test/specs/mounting-options/mocks.spec.js
index f0abec5e1..6f1d96d4c 100644
--- a/test/specs/mounting-options/mocks.spec.js
+++ b/test/specs/mounting-options/mocks.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, config } from '@vue/test-utils'
+import { createLocalVue, config } from 'packages/test-utils/src'
import Vue from 'vue'
import Component from '~resources/components/component.vue'
import ComponentWithVuex from '~resources/components/component-with-vuex.vue'
diff --git a/test/specs/mounting-options/propsData.spec.js b/test/specs/mounting-options/propsData.spec.js
index 6a5ca6799..120e403ca 100644
--- a/test/specs/mounting-options/propsData.spec.js
+++ b/test/specs/mounting-options/propsData.spec.js
@@ -1,4 +1,4 @@
-import { shallowMount } from '@vue/test-utils'
+import { shallowMount } from 'packages/test-utils/src'
import ComponentWithProps from '~resources/components/component-with-props.vue'
import { describeRunIf } from 'conditional-specs'
diff --git a/test/specs/mounting-options/provide.spec.js b/test/specs/mounting-options/provide.spec.js
index c940cfc49..1f3d7775f 100644
--- a/test/specs/mounting-options/provide.spec.js
+++ b/test/specs/mounting-options/provide.spec.js
@@ -1,5 +1,5 @@
-import { config } from '@vue/test-utils'
-import { createLocalVue } from '@vue/test-utils'
+import { config } from 'packages/test-utils/src'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithInject from '~resources/components/component-with-inject.vue'
import CompositionComponentWithInject from '~resources/components/component-with-inject-composition.vue'
import { injectSupported } from '~resources/utils'
diff --git a/test/specs/mounting-options/scopedSlots.spec.js b/test/specs/mounting-options/scopedSlots.spec.js
index 0e5c24c4c..7db63c449 100644
--- a/test/specs/mounting-options/scopedSlots.spec.js
+++ b/test/specs/mounting-options/scopedSlots.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import ComponentWithScopedSlots from '~resources/components/component-with-scoped-slots.vue'
import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
diff --git a/test/specs/mounting-options/slots.spec.js b/test/specs/mounting-options/slots.spec.js
index 0850b8f71..3c2997def 100644
--- a/test/specs/mounting-options/slots.spec.js
+++ b/test/specs/mounting-options/slots.spec.js
@@ -5,7 +5,7 @@ import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import ComponentWithParentName from '~resources/components/component-with-parent-name.vue'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
-import { mount, createLocalVue } from '@vue/test-utils'
+import { mount, createLocalVue } from 'packages/test-utils/src'
describeWithShallowAndMount('options.slots', mountingMethod => {
it('mounts component with default slot if passed component in slot object', () => {
@@ -136,8 +136,10 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
require.cache[
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () =>
@@ -381,8 +383,10 @@ describeWithShallowAndMount('options.slots', mountingMethod => {
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () => {
diff --git a/test/specs/mounting-options/stubs.spec.js b/test/specs/mounting-options/stubs.spec.js
index 80ded2583..91741d93d 100644
--- a/test/specs/mounting-options/stubs.spec.js
+++ b/test/specs/mounting-options/stubs.spec.js
@@ -3,8 +3,8 @@ import ComponentWithNestedChildren from '~resources/components/component-with-ne
import Component from '~resources/components/component.vue'
import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import ComponentWithNestedChildrenAndAttributes from '~resources/components/component-with-nested-childern-and-attributes.vue'
-import { createLocalVue, config } from '@vue/test-utils'
-import { config as serverConfig } from '@vue/server-test-utils'
+import { createLocalVue, config } from 'packages/test-utils/src'
+import { config as serverConfig } from 'packages/server-test-utils/src'
import Vue from 'vue'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf, itSkipIf, itRunIf } from 'conditional-specs'
@@ -13,10 +13,13 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
let configStubsSave
let serverConfigSave
let consoleErrorSave
+ let consoleInfoSave
beforeEach(() => {
consoleErrorSave = console.error
+ consoleInfoSave = console.info
console.error = jest.fn()
+ console.info = jest.fn()
configStubsSave = config.stubs
serverConfigSave = serverConfig.stubs
config.stubs = {}
@@ -27,6 +30,7 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
config.stubs = configStubsSave
serverConfig.stubs = serverConfigSave
console.error = consoleErrorSave
+ console.info = consoleInfoSave
})
it('accepts valid component stubs', () => {
@@ -266,9 +270,11 @@ describeWithShallowAndMount('options.stub', mountingMethod => {
require.cache[
require.resolve('vue-template-compiler')
].exports.compileToFunctions = undefined
- delete require.cache[require.resolve('@vue/test-utils')]
- delete require.cache[require.resolve('@vue/server-test-utils')]
- const mountingMethodFresh = require('@vue/test-utils')[mountingMethod.name]
+ delete require.cache[require.resolve('packages/test-utils/src')]
+ delete require.cache[require.resolve('packages/server-test-utils/src')]
+ const mountingMethodFresh = require('packages/test-utils/src')[
+ mountingMethod.name
+ ]
const message =
'[vue-test-utils]: vueTemplateCompiler is undefined, you must pass precompiled components if vue-template-compiler is undefined'
const fn = () =>
diff --git a/test/specs/wrapper-array/at.spec.js b/test/specs/wrapper-array/at.spec.js
index 0e8fc2a9e..90dcf1b2d 100644
--- a/test/specs/wrapper-array/at.spec.js
+++ b/test/specs/wrapper-array/at.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('at', mountingMethod => {
it('returns Wrapper at index', () => {
diff --git a/test/specs/wrapper-array/attributes.spec.js b/test/specs/wrapper-array/attributes.spec.js
index f31b2c97a..855bdb2a3 100644
--- a/test/specs/wrapper-array/attributes.spec.js
+++ b/test/specs/wrapper-array/attributes.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('attributes', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/classes.spec.js b/test/specs/wrapper-array/classes.spec.js
index a8ad82d56..780b69a6c 100644
--- a/test/specs/wrapper-array/classes.spec.js
+++ b/test/specs/wrapper-array/classes.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('classes', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/contains.spec.js b/test/specs/wrapper-array/contains.spec.js
index 6abd9428a..dd6ddbecc 100644
--- a/test/specs/wrapper-array/contains.spec.js
+++ b/test/specs/wrapper-array/contains.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('contains', mountingMethod => {
it('returns true if every Wrapper contains element', () => {
diff --git a/test/specs/wrapper-array/find.spec.js b/test/specs/wrapper-array/find.spec.js
index 03d7d027e..3c902c9de 100644
--- a/test/specs/wrapper-array/find.spec.js
+++ b/test/specs/wrapper-array/find.spec.js
@@ -1,5 +1,5 @@
import { describeWithShallowAndMount } from '~resources/utils'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('find', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/findAll.spec.js b/test/specs/wrapper-array/findAll.spec.js
index d84078c5f..ae8efcbe5 100644
--- a/test/specs/wrapper-array/findAll.spec.js
+++ b/test/specs/wrapper-array/findAll.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('findAll', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/html.spec.js b/test/specs/wrapper-array/html.spec.js
index a6ba4ae49..68d6d929b 100644
--- a/test/specs/wrapper-array/html.spec.js
+++ b/test/specs/wrapper-array/html.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('html', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/isEmpty.spec.js b/test/specs/wrapper-array/isEmpty.spec.js
index 9867409a6..fa1017ad6 100644
--- a/test/specs/wrapper-array/isEmpty.spec.js
+++ b/test/specs/wrapper-array/isEmpty.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('isEmpty', mountingMethod => {
it('returns true if node is empty', () => {
diff --git a/test/specs/wrapper-array/isVisible.spec.js b/test/specs/wrapper-array/isVisible.spec.js
index 53c5a9856..e6077759c 100644
--- a/test/specs/wrapper-array/isVisible.spec.js
+++ b/test/specs/wrapper-array/isVisible.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('isVisible', mountingMethod => {
it('returns true if node has no inline style', () => {
diff --git a/test/specs/wrapper-array/name.spec.js b/test/specs/wrapper-array/name.spec.js
index cca24893e..7859f2b15 100644
--- a/test/specs/wrapper-array/name.spec.js
+++ b/test/specs/wrapper-array/name.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('name', mountingMethod => {
it('throws an error when called on a WrapperArray', () => {
diff --git a/test/specs/wrapper-array/overview.spec.js b/test/specs/wrapper-array/overview.spec.js
index aed635dfb..af227ba17 100644
--- a/test/specs/wrapper-array/overview.spec.js
+++ b/test/specs/wrapper-array/overview.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('overview', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/props.spec.js b/test/specs/wrapper-array/props.spec.js
index b13d676d9..e3584bb12 100644
--- a/test/specs/wrapper-array/props.spec.js
+++ b/test/specs/wrapper-array/props.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('props', mountingMethod => {
it('throws error if wrapper array contains no items', () => {
diff --git a/test/specs/wrapper-array/text.spec.js b/test/specs/wrapper-array/text.spec.js
index acc7ba4a0..868d74492 100644
--- a/test/specs/wrapper-array/text.spec.js
+++ b/test/specs/wrapper-array/text.spec.js
@@ -1,6 +1,6 @@
import { describeWithShallowAndMount } from '~resources/utils'
import { compileToFunctions } from 'vue-template-compiler'
-import '@vue/test-utils'
+import 'packages/test-utils/src'
describeWithShallowAndMount('text', mountingMethod => {
it('throws error when called on a WrapperArray', () => {
diff --git a/test/specs/wrapper/emitted.spec.js b/test/specs/wrapper/emitted.spec.js
index e63464a1a..3f7053e9d 100644
--- a/test/specs/wrapper/emitted.spec.js
+++ b/test/specs/wrapper/emitted.spec.js
@@ -1,4 +1,4 @@
-import { createLocalVue, createWrapper } from '@vue/test-utils'
+import { createLocalVue, createWrapper } from 'packages/test-utils/src'
import { describeWithShallowAndMount, vueVersion } from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
import Vue from 'vue'
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 496ec8bda..4daf609e5 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -1,5 +1,5 @@
import { compileToFunctions } from 'vue-template-compiler'
-import { createLocalVue } from '@vue/test-utils'
+import { createLocalVue } from 'packages/test-utils/src'
import Vue from 'vue'
import ComponentWithChild from '~resources/components/component-with-child.vue'
import ComponentWithoutName from '~resources/components/component-without-name.vue'
From 014f9e62cd5f58ab06fa0b7597c5075cc07be28d Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Thu, 9 Jul 2020 19:07:35 +1000
Subject: [PATCH 32/46] chore: update circleci
---
.circleci/config.yml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9a40a3b06..5c5e428ac 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -59,14 +59,6 @@ workflows:
- bootstrap:
requires:
- install
- - build_test:
- requires:
- - install
- test:
requires:
- install
- - test_compat:
- requires:
- - install
- - build_test
- - test
From 4d528031c221120c4bf29bd60fdd478eae0f153a Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 13:29:07 -0400
Subject: [PATCH 33/46] chore(yarn.lock): dedupe the yarn lock file to run jest
tests
---
yarn.lock | 1033 ++++++++---------------------------------------------
1 file changed, 150 insertions(+), 883 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index 86e06df6e..fff46c4bb 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8,14 +8,7 @@
dependencies:
"@babel/highlight" "7.0.0-beta.47"
-"@babel/code-frame@^7.0.0":
- version "7.5.5"
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
- integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==
- dependencies:
- "@babel/highlight" "^7.0.0"
-
-"@babel/code-frame@^7.10.4":
+"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a"
integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==
@@ -446,16 +439,7 @@
esutils "^2.0.2"
js-tokens "^3.0.0"
-"@babel/highlight@^7.0.0":
- version "7.5.0"
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540"
- integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==
- dependencies:
- chalk "^2.0.0"
- esutils "^2.0.2"
- js-tokens "^4.0.0"
-
-"@babel/highlight@^7.10.4":
+"@babel/highlight@^7.0.0", "@babel/highlight@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"
integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==
@@ -2666,11 +2650,7 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3"
integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==
-"@nodelib/fs.stat@^1.0.1":
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.0.2.tgz#d056b68999769728a1cff8d643bc59eb6f0be436"
-
-"@nodelib/fs.stat@^1.1.2":
+"@nodelib/fs.stat@^1.0.1", "@nodelib/fs.stat@^1.1.2":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
@@ -2881,12 +2861,7 @@
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
-"@types/node@*":
- version "12.12.6"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.6.tgz#a47240c10d86a9a57bb0c633f0b2e0aea9ce9253"
- integrity sha512-FjsYUPzEJdGXjwKqSpE0/9QEh6kzhTAeObA54rn6j3rR4C/mzpI9L0KNfoeASSPMMdxIsoJuCLDWcM/rVjIsSA==
-
-"@types/node@>= 8":
+"@types/node@*", "@types/node@>= 8":
version "13.1.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.6.tgz#076028d0b0400be8105b89a0a55550c86684ffec"
integrity sha512-Jg1F+bmxcpENHP23sVKkNuU3uaxPnsBMW0cLjleiikFKomJQbsn0Cqk2yDvQArqzZN6ABfBkZ0To7pQ8sLdWDg==
@@ -3199,14 +3174,7 @@
mkdirp-promise "^5.0.1"
mz "^2.5.0"
-JSONStream@^1.0.4:
- version "1.3.2"
- resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.2.tgz#c102371b6ec3a7cf3b847ca00c20bb0fce4c6dea"
- dependencies:
- jsonparse "^1.2.0"
- through ">=2.2.7 <3"
-
-JSONStream@^1.3.4:
+JSONStream@^1.0.4, JSONStream@^1.3.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==
@@ -3214,11 +3182,7 @@ JSONStream@^1.3.4:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
-abab@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f"
-
-abab@^2.0.3:
+abab@^2.0.0, abab@^2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.4.tgz#6dfa57b417ca06d21b2478f0e638302f99c2405c"
integrity sha512-Eu9ELJWCz/c1e9gTiCY+FceWxcqzjYEbqMgtndnuSqZSUCOL73TWNK2mHfIj4Cw2E/ongOp+JISVNCmovt2KYQ==
@@ -3290,11 +3254,7 @@ acorn@^4.0.3:
version "4.0.13"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
-acorn@^5.0.0, acorn@^5.4.0:
- version "5.4.1"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.4.1.tgz#fdc58d9d17f4a4e98d102ded826a9b9759125102"
-
-acorn@^5.7.1:
+acorn@^5.0.0, acorn@^5.4.0, acorn@^5.7.1:
version "5.7.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
@@ -3303,12 +3263,7 @@ acorn@^6.1.1:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
-acorn@^7.1.0:
- version "7.1.0"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
- integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
-
-acorn@^7.1.1:
+acorn@^7.1.0, acorn@^7.1.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
@@ -3351,11 +3306,7 @@ ajv-keywords@^2.1.0:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762"
integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=
-ajv-keywords@^3.0.0, ajv-keywords@^3.1.0:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.1.0.tgz#ac2b27939c543e95d2c06e7f7f5c27be4aa543be"
-
-ajv-keywords@^3.4.1:
+ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
version "3.5.2"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
@@ -3369,15 +3320,7 @@ ajv@^5.2.3, ajv@^5.3.0:
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.3.0"
-ajv@^6.0.1, ajv@^6.1.0:
- version "6.2.0"
- resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.2.0.tgz#afac295bbaa0152449e522742e4547c1ae9328d2"
- dependencies:
- fast-deep-equal "^1.0.0"
- fast-json-stable-stringify "^2.0.0"
- json-schema-traverse "^0.3.0"
-
-ajv@^6.12.2, ajv@^6.12.3:
+ajv@^6.0.1, ajv@^6.1.0, ajv@^6.12.2, ajv@^6.12.3:
version "6.12.3"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
@@ -3429,11 +3372,7 @@ ansi-align@^2.0.0:
dependencies:
string-width "^2.0.0"
-ansi-escapes@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92"
-
-ansi-escapes@^3.2.0:
+ansi-escapes@^3.0.0, ansi-escapes@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
@@ -3677,11 +3616,7 @@ atob-lite@^2.0.0:
resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696"
integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=
-atob@^2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a"
-
-atob@^2.1.2:
+atob@^2.1.1, atob@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
@@ -3937,11 +3872,7 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"
-bluebird@^3.1.1, bluebird@^3.5.1:
- version "3.5.1"
- resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
-
-bluebird@^3.5.3, bluebird@^3.5.5:
+bluebird@^3.1.1, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
version "3.7.2"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
@@ -4084,20 +4015,13 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6:
caniuse-db "^1.0.30000639"
electron-to-chromium "^1.2.7"
-browserslist@^3.0.0:
+browserslist@^3.0.0, browserslist@^3.2.7:
version "3.2.8"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6"
dependencies:
caniuse-lite "^1.0.30000844"
electron-to-chromium "^1.3.47"
-browserslist@^3.2.7:
- version "3.2.7"
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.7.tgz#aa488634d320b55e88bab0256184dbbcca1e6de9"
- dependencies:
- caniuse-lite "^1.0.30000835"
- electron-to-chromium "^1.3.45"
-
browserslist@^4.12.0, browserslist@^4.8.5:
version "4.13.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.13.0.tgz#42556cba011e1b0a2775b611cba6a8eca18e940d"
@@ -4353,15 +4277,7 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000810"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000810.tgz#bd25830c41efab64339a2e381f49677343c84509"
-caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839:
- version "1.0.30000843"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000843.tgz#4fdec258dc641c385744cdd49d23c5459c3d4411"
-
-caniuse-lite@^1.0.30000844:
- version "1.0.30000844"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000844.tgz#de7c84cde0582143cf4f5abdf1b98e5a0539ad4a"
-
-caniuse-lite@^1.0.30001093:
+caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001093:
version "1.0.30001109"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001109.tgz#a9f3f26a0c3753b063d7acbb48dfb9c0e46f2b19"
integrity sha512-4JIXRodHzdS3HdK8nSgIqXYLExOvG+D2/EenSvcub2Kp3QEADjo2v2oUn5g0n0D+UNwG9BtwKOyGcSq2qvQXvQ==
@@ -4487,11 +4403,7 @@ chokidar@^2.0.2, chokidar@^2.0.3:
optionalDependencies:
fsevents "^1.1.2"
-chownr@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181"
-
-chownr@^1.1.1, chownr@^1.1.2:
+chownr@^1.0.1, chownr@^1.1.1, chownr@^1.1.2:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"
integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==
@@ -4676,11 +4588,7 @@ color-convert@^2.0.1:
dependencies:
color-name "~1.1.4"
-color-name@^1.0.0, color-name@^1.1.1:
- version "1.1.3"
- resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
-
-color-name@~1.1.4:
+color-name@^1.0.0, color-name@^1.1.1, color-name@~1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
@@ -4730,16 +4638,11 @@ combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"
-commander@2.15.1, commander@2.15.x, commander@^2.15.1, commander@~2.15.0:
+commander@2.15.1, commander@2.15.x, commander@~2.15.0:
version "2.15.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
-commander@^2.19.0:
- version "2.20.0"
- resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
- integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
-
-commander@^2.20.0, commander@~2.20.3:
+commander@^2.15.1, commander@^2.19.0, commander@^2.20.0, commander@~2.20.3:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
@@ -4900,7 +4803,7 @@ conventional-changelog-angular@^1.3.3:
compare-func "^1.3.1"
q "^1.5.1"
-conventional-changelog-angular@^5.0.3:
+conventional-changelog-angular@^5.0.3, conventional-changelog-angular@^5.0.5:
version "5.0.6"
resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059"
integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA==
@@ -4908,14 +4811,6 @@ conventional-changelog-angular@^5.0.3:
compare-func "^1.3.1"
q "^1.5.1"
-conventional-changelog-angular@^5.0.5:
- version "5.0.5"
- resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.5.tgz#69b541bcf3e538a8578b1e5fbaabe9bd8f572b57"
- integrity sha512-RrkdWnL/TVyWV1ayWmSsrWorsTDqjL/VwG5ZSEneBQrd65ONcfeA1cW7FLtNweQyMiKOyriCMTKRSlk18DjTrw==
- dependencies:
- compare-func "^1.3.1"
- q "^1.5.1"
-
conventional-changelog-atom@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-2.0.3.tgz#3bd14280aa09fe3ec49a0e8fe97b5002db02aad4"
@@ -5013,17 +4908,12 @@ conventional-changelog-jshint@^2.0.3:
compare-func "^1.3.1"
q "^1.5.1"
-conventional-changelog-preset-loader@^2.1.1:
+conventional-changelog-preset-loader@^2.1.1, conventional-changelog-preset-loader@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.0.tgz#580fa8ab02cef22c24294d25e52d7ccd247a9a6a"
integrity sha512-/rHb32J2EJnEXeK4NpDgMaAVTFZS3o1ExmjKMtYVgIC4MQn0vkNSbYpdGRotkfGGRWiqk3Ri3FBkiZGbAfIfOQ==
-conventional-changelog-preset-loader@^2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.2.0.tgz#571e2b3d7b53d65587bea9eedf6e37faa5db4fcc"
- integrity sha512-zXB+5vF7D5Y3Cb/rJfSyCCvFphCVmF8mFqOdncX3BmjZwAtGAPfYrBcT225udilCKvBbHgyzgxqz2GWDB5xShQ==
-
-conventional-changelog-writer@^4.0.6:
+conventional-changelog-writer@^4.0.6, conventional-changelog-writer@^4.0.9:
version "4.0.11"
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.11.tgz#9f56d2122d20c96eb48baae0bf1deffaed1edba4"
integrity sha512-g81GQOR392I+57Cw3IyP1f+f42ME6aEkbR+L7v1FBBWolB0xkjKTeCWVguzRrp6UiT1O6gBpJbEy2eq7AnV1rw==
@@ -5039,22 +4929,6 @@ conventional-changelog-writer@^4.0.6:
split "^1.0.0"
through2 "^3.0.0"
-conventional-changelog-writer@^4.0.9:
- version "4.0.9"
- resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.9.tgz#44ac4c48121bc90e71cb2947e1ea1a6c222ccd7f"
- integrity sha512-2Y3QfiAM37WvDMjkVNaRtZgxVzWKj73HE61YQ/95T53yle+CRwTVSl6Gbv/lWVKXeZcM5af9n9TDVf0k7Xh+cw==
- dependencies:
- compare-func "^1.3.1"
- conventional-commits-filter "^2.0.2"
- dateformat "^3.0.0"
- handlebars "^4.4.0"
- json-stringify-safe "^5.0.1"
- lodash "^4.2.1"
- meow "^4.0.0"
- semver "^6.0.0"
- split "^1.0.0"
- through2 "^3.0.0"
-
conventional-changelog@^3.1.12:
version "3.1.12"
resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.12.tgz#ede5b6803cfa8af6c7ea97e54ce5519508903afb"
@@ -5085,7 +4959,7 @@ conventional-commits-filter@^2.0.2:
lodash.ismatch "^4.4.0"
modify-values "^1.0.0"
-conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3:
+conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3, conventional-commits-parser@^3.0.5:
version "3.0.8"
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.8.tgz#23310a9bda6c93c874224375e72b09fb275fe710"
integrity sha512-YcBSGkZbYp7d+Cr3NWUeXbPDFUN6g3SaSIzOybi8bjHL5IJ5225OSCxJJ4LgziyEJ7AaJtE9L2/EU6H7Nt/DDQ==
@@ -5098,19 +4972,6 @@ conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.3:
through2 "^3.0.0"
trim-off-newlines "^1.0.0"
-conventional-commits-parser@^3.0.5:
- version "3.0.5"
- resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.5.tgz#df471d6cb3f6fecfd1356ac72e0b577dbdae0a9c"
- integrity sha512-qVz9+5JwdJzsbt7JbJ6P7NOXBGt8CyLFJYSjKAuPSgO+5UGfcsbk9EMR+lI8Unlvx6qwIc2YDJlrGIfay2ehNA==
- dependencies:
- JSONStream "^1.0.4"
- is-text-path "^2.0.0"
- lodash "^4.2.1"
- meow "^4.0.0"
- split2 "^2.0.0"
- through2 "^3.0.0"
- trim-off-newlines "^1.0.0"
-
conventional-recommended-bump@^5.0.0:
version "5.0.1"
resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-5.0.1.tgz#5af63903947b6e089e77767601cb592cabb106ba"
@@ -5125,11 +4986,7 @@ conventional-recommended-bump@^5.0.0:
meow "^4.0.0"
q "^1.5.1"
-convert-source-map@^1.1.0:
- version "1.5.1"
- resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
-
-convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
+convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==
@@ -5179,19 +5036,11 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"
-core-js@^2.4.0, core-js@^2.6.5:
+core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3, core-js@^2.6.5:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
-core-js@^2.5.0:
- version "2.5.3"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
-
-core-js@^2.5.3:
- version "2.5.6"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d"
-
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
@@ -5209,15 +5058,7 @@ cosmiconfig@^2.1.0, cosmiconfig@^2.1.1:
parse-json "^2.2.0"
require-from-string "^1.1.0"
-cosmiconfig@^5.0.2:
- version "5.0.5"
- resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.0.5.tgz#a809e3c2306891ce17ab70359dc8bdf661fe2cd0"
- dependencies:
- is-directory "^0.3.1"
- js-yaml "^3.9.0"
- parse-json "^4.0.0"
-
-cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1:
+cosmiconfig@^5.0.2, cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a"
integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==
@@ -5318,7 +5159,7 @@ css-color-names@0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
-css-loader@^0.28.11:
+css-loader@^0.28.11, css-loader@^0.28.4:
version "0.28.11"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.11.tgz#c3f9864a700be2711bb5a2462b2389b1a392dab7"
dependencies:
@@ -5337,25 +5178,6 @@ css-loader@^0.28.11:
postcss-value-parser "^3.3.0"
source-list-map "^2.0.0"
-css-loader@^0.28.4:
- version "0.28.10"
- resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.10.tgz#40282e79230f7bcb4e483efa631d670b735ebf42"
- dependencies:
- babel-code-frame "^6.26.0"
- css-selector-tokenizer "^0.7.0"
- cssnano "^3.10.0"
- icss-utils "^2.1.0"
- loader-utils "^1.0.2"
- lodash.camelcase "^4.3.0"
- object-assign "^4.1.1"
- postcss "^5.0.6"
- postcss-modules-extract-imports "^1.2.0"
- postcss-modules-local-by-default "^1.2.0"
- postcss-modules-scope "^1.1.0"
- postcss-modules-values "^1.3.0"
- postcss-value-parser "^3.3.0"
- source-list-map "^2.0.0"
-
css-parse@1.7.x:
version "1.7.0"
resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-1.7.0.tgz#321f6cf73782a6ff751111390fc05e2c657d8c9b"
@@ -5444,20 +5266,16 @@ csso@~2.3.1:
clap "^1.0.9"
source-map "^0.5.3"
-cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
- version "0.3.2"
- resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b"
+cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0", cssom@~0.3.6:
+ version "0.3.8"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
+ integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
cssom@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10"
integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==
-cssom@~0.3.6:
- version "0.3.8"
- resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
- integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
-
cssstyle@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-1.1.1.tgz#18b038a9c44d65f7a8e428a653b9f6fe42faf5fb"
@@ -5563,7 +5381,14 @@ de-indent@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
-debug@*, debug@3.1.0, debug@^3.1.0:
+debug@*, 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==
+ dependencies:
+ ms "^2.1.1"
+
+debug@3.1.0, debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
@@ -5575,13 +5400,6 @@ debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6
dependencies:
ms "2.0.0"
-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==
- dependencies:
- ms "^2.1.1"
-
debuglog@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -5805,14 +5623,7 @@ diffie-hellman@^5.0.0:
miller-rabin "^4.0.0"
randombytes "^2.0.0"
-dir-glob@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034"
- dependencies:
- arrify "^1.0.1"
- path-type "^3.0.0"
-
-dir-glob@^2.2.2:
+dir-glob@^2.0.0, dir-glob@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4"
integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==
@@ -5970,15 +5781,7 @@ ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
-electron-to-chromium@^1.2.7:
- version "1.3.34"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.34.tgz#d93498f40391bb0c16a603d8241b9951404157ed"
-
-electron-to-chromium@^1.3.45, electron-to-chromium@^1.3.47:
- version "1.3.47"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.47.tgz#764e887ca9104d01a0ac8eabee7dfc0e2ce14104"
-
-electron-to-chromium@^1.3.488:
+electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.45, electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.488:
version "1.3.516"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.516.tgz#03ec071b061e462b786bf7e7ce226fd7ab7cf1f6"
integrity sha512-WDM5AAQdOrvLqSX8g3Zd5AujBXfMxf96oeZkff0U2HF5op3tjShE+on2yay3r1UD4M9I3p0iHpAS4+yV8U8A9A==
@@ -6089,19 +5892,13 @@ errno@^0.1.3, errno@~0.1.7:
dependencies:
prr "~1.0.1"
-error-ex@^1.2.0:
+error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==
dependencies:
is-arrayish "^0.2.1"
-error-ex@^1.3.1:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc"
- dependencies:
- is-arrayish "^0.2.1"
-
error-inject@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/error-inject/-/error-inject-1.0.0.tgz#e2b3d91b54aed672f309d950d154850fa11d4f37"
@@ -6206,18 +6003,7 @@ escape-string-regexp@^2.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
-escodegen@^1.11.0:
- version "1.11.0"
- resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589"
- dependencies:
- esprima "^3.1.3"
- estraverse "^4.2.0"
- esutils "^2.0.2"
- optionator "^0.8.1"
- optionalDependencies:
- source-map "~0.6.1"
-
-escodegen@^1.14.1:
+escodegen@^1.11.0, escodegen@^1.14.1:
version "1.14.3"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==
@@ -6334,11 +6120,7 @@ esprima@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
-esprima@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
-
-esprima@^4.0.1:
+esprima@^4.0.0, esprima@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
@@ -6531,11 +6313,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:
assign-symbols "^1.0.0"
is-extendable "^1.0.1"
-extend@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444"
-
-extend@~3.0.2:
+extend@^3.0.0, extend@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
@@ -6602,18 +6380,7 @@ fast-deep-equal@^3.1.1:
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
-fast-glob@^2.0.2:
- version "2.2.2"
- resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.2.tgz#71723338ac9b4e0e2fff1d6748a2a13d5ed352bf"
- dependencies:
- "@mrmlnc/readdir-enhanced" "^2.2.1"
- "@nodelib/fs.stat" "^1.0.1"
- glob-parent "^3.1.0"
- is-glob "^4.0.0"
- merge2 "^1.2.1"
- micromatch "^3.1.10"
-
-fast-glob@^2.2.6:
+fast-glob@^2.0.2, fast-glob@^2.2.6:
version "2.2.7"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d"
integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==
@@ -6636,15 +6403,11 @@ fast-glob@^3.0.3:
merge2 "^1.3.0"
micromatch "^4.0.2"
-fast-json-stable-stringify@2.x:
+fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
-fast-json-stable-stringify@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
-
fast-levenshtein@~2.0.4:
version "2.0.6"
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
@@ -6929,7 +6692,7 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
-fsevents@^1.0.0:
+fsevents@^1.0.0, fsevents@^1.1.2:
version "1.2.11"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3"
integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==
@@ -6937,13 +6700,6 @@ fsevents@^1.0.0:
bindings "^1.5.0"
nan "^2.12.1"
-fsevents@^1.1.2:
- version "1.2.4"
- resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426"
- dependencies:
- nan "^2.9.2"
- node-pre-gyp "^0.10.0"
-
fsevents@^2.1.2:
version "2.1.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
@@ -7335,12 +7091,7 @@ got@^6.7.1:
unzip-response "^2.0.1"
url-parse-lax "^1.0.0"
-graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2:
- version "4.2.3"
- resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
- integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
-
-graceful-fs@^4.2.4:
+graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4:
version "4.2.4"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
@@ -7379,14 +7130,7 @@ har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
-har-validator@~5.1.0:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.0.tgz#44657f5688a22cfd4b72486e81b3a3fb11742c29"
- dependencies:
- ajv "^5.3.0"
- har-schema "^2.0.0"
-
-har-validator@~5.1.3:
+har-validator@~5.1.0, har-validator@~5.1.3:
version "5.1.5"
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd"
integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==
@@ -7597,7 +7341,7 @@ http-cache-semantics@^3.8.1:
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
-http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
+http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1, http-errors@~1.6.2:
version "1.6.3"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
dependencies:
@@ -7606,15 +7350,6 @@ http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1:
setprototypeof "1.1.0"
statuses ">= 1.4.0 < 2"
-http-errors@~1.6.2:
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
- dependencies:
- depd "1.1.1"
- inherits "2.0.3"
- setprototypeof "1.0.3"
- statuses ">= 1.3.1 < 2"
-
http-proxy-agent@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
@@ -7672,17 +7407,17 @@ husky@^3.1.0:
run-node "^1.0.0"
slash "^3.0.0"
-iconv-lite@0.4.19, iconv-lite@^0.4.17:
+iconv-lite@0.4.19:
version "0.4.19"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
-iconv-lite@0.4.23, iconv-lite@^0.4.4:
+iconv-lite@0.4.23:
version "0.4.23"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
dependencies:
safer-buffer ">= 2.1.2 < 3"
-iconv-lite@0.4.24, iconv-lite@^0.4.24, 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==
@@ -7909,22 +7644,12 @@ inquirer@^6.2.0:
strip-ansi "^5.1.0"
through "^2.3.6"
-interpret@^1.0.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
-
-interpret@^1.0.1:
+interpret@^1.0.0, interpret@^1.0.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==
-invariant@^2.2.0, invariant@^2.2.2:
- version "2.2.3"
- resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.3.tgz#1a827dfde7dcbd7c323f0ca826be8fa7c5e9d688"
- dependencies:
- loose-envify "^1.0.0"
-
-invariant@^2.2.4:
+invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
@@ -8134,13 +7859,7 @@ is-glob@^3.1.0:
dependencies:
is-extglob "^2.1.0"
-is-glob@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0"
- dependencies:
- is-extglob "^2.1.1"
-
-is-glob@^4.0.1:
+is-glob@^4.0.0, is-glob@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -8887,14 +8606,7 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
-js-yaml@^3.11.0, js-yaml@^3.4.3, js-yaml@^3.9.0, js-yaml@^3.9.1:
- version "3.11.0"
- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef"
- dependencies:
- argparse "^1.0.7"
- esprima "^4.0.0"
-
-js-yaml@^3.13.1:
+js-yaml@^3.11.0, js-yaml@^3.13.1, js-yaml@^3.4.3, js-yaml@^3.9.0, js-yaml@^3.9.1:
version "3.13.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -8992,15 +8704,11 @@ json-loader@^0.5.4:
version "0.5.7"
resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
-json-parse-better-errors@^1.0.0:
+json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
-json-parse-better-errors@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a"
-
json-schema-traverse@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
@@ -9391,24 +9099,7 @@ loader-utils@^0.2.16:
json5 "^0.5.0"
object-assign "^4.0.1"
-loader-utils@^1.0.2:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd"
- dependencies:
- big.js "^3.1.3"
- emojis-list "^2.0.0"
- json5 "^0.5.0"
-
-loader-utils@^1.1.0:
- version "1.2.3"
- resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
- integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==
- dependencies:
- big.js "^5.2.2"
- emojis-list "^2.0.0"
- json5 "^1.0.1"
-
-loader-utils@^1.4.0:
+loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@@ -9592,21 +9283,7 @@ lowercase-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306"
-lru-cache@^4.0.1, lru-cache@^4.1.1:
- version "4.1.1"
- resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
- dependencies:
- pseudomap "^1.0.2"
- yallist "^2.1.2"
-
-lru-cache@^4.1.2:
- version "4.1.3"
- resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c"
- dependencies:
- pseudomap "^1.0.2"
- yallist "^2.1.2"
-
-lru-cache@^4.1.5:
+lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2, lru-cache@^4.1.5:
version "4.1.5"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==
@@ -9843,11 +9520,7 @@ merge-stream@^2.0.0:
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
-merge2@^1.2.1:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.2.tgz#03212e3da8d86c4d8523cebd6318193414f94e34"
-
-merge2@^1.2.3, merge2@^1.3.0:
+merge2@^1.2.1, merge2@^1.2.3, merge2@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81"
integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==
@@ -9922,25 +9595,13 @@ mime-db@~1.36.0:
version "1.36.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"
-mime-types@^2.0.7, mime-types@~2.1.18:
- version "2.1.18"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8"
- dependencies:
- mime-db "~1.33.0"
-
-mime-types@^2.1.12:
+mime-types@^2.0.7, mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19:
version "2.1.26"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==
dependencies:
mime-db "1.43.0"
-mime-types@~2.1.19:
- version "2.1.20"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.20.tgz#930cb719d571e903738520f8470911548ca2cc19"
- dependencies:
- mime-db "~1.36.0"
-
mime@^2.0.3, mime@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369"
@@ -9998,11 +9659,11 @@ minimist@0.0.8:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
-minimist@1.2.0, minimist@^1.1.3, minimist@^1.2.0:
+minimist@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
-minimist@^1.1.1, minimist@^1.2.5:
+minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
@@ -10011,14 +9672,7 @@ minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
-minipass@^2.2.1, minipass@^2.2.4:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.0.tgz#2e11b1c46df7fe7f1afbe9a490280add21ffe384"
- dependencies:
- safe-buffer "^5.1.1"
- yallist "^3.0.0"
-
-minipass@^2.3.5, minipass@^2.8.6, minipass@^2.9.0:
+minipass@^2.2.1, minipass@^2.2.4, minipass@^2.3.5, minipass@^2.8.6, minipass@^2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
@@ -10026,13 +9680,7 @@ minipass@^2.3.5, minipass@^2.8.6, minipass@^2.9.0:
safe-buffer "^5.1.2"
yallist "^3.0.0"
-minizlib@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb"
- dependencies:
- minipass "^2.2.1"
-
-minizlib@^1.2.1:
+minizlib@^1.1.0, minizlib@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
@@ -10085,23 +9733,23 @@ mkdirp-promise@^5.0.1:
dependencies:
mkdirp "*"
-mkdirp@*, mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
- integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
+mkdirp@*, mkdirp@0.5.x, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.0, mkdirp@~0.5.1:
+ version "0.5.5"
+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
+ integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
dependencies:
- minimist "0.0.8"
+ minimist "^1.2.5"
mkdirp@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e"
-mkdirp@0.x, mkdirp@^0.5.3:
- version "0.5.5"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
- integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
+mkdirp@0.5.1:
+ version "0.5.1"
+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
+ integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
dependencies:
- minimist "^1.2.5"
+ minimist "0.0.8"
mocha-webpack@^1.0.1:
version "1.1.0"
@@ -10195,15 +9843,11 @@ mz@^2.5.0, mz@^2.6.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"
-nan@^2.12.1:
+nan@^2.12.1, nan@^2.9.2:
version "2.14.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
-nan@^2.9.2:
- version "2.10.0"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"
-
nanoassert@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-1.1.0.tgz#4f3152e09540fde28c76f44b19bbcd1d5a42478d"
@@ -10265,11 +9909,7 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
-neo-async@^2.5.0:
- version "2.5.1"
- resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.1.tgz#acb909e327b1e87ec9ef15f41b8a269512ad41ee"
-
-neo-async@^2.6.0:
+neo-async@^2.5.0, neo-async@^2.6.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
@@ -10404,7 +10044,7 @@ nopt@^4.0.1, nopt@~4.0.1:
abbrev "1"
osenv "^0.1.4"
-normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0:
+normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==
@@ -10414,15 +10054,6 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"
-normalize-package-data@^2.3.0, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5:
- version "2.4.0"
- resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
- dependencies:
- hosted-git-info "^2.1.4"
- is-builtin-module "^1.0.0"
- semver "2 || 3 || 4 || 5"
- validate-npm-package-license "^3.0.1"
-
normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
@@ -10485,14 +10116,7 @@ npm-normalize-package-bin@^1.0.0:
semver "^5.6.0"
validate-npm-package-name "^3.0.0"
-npm-packlist@^1.1.6:
- version "1.1.10"
- resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a"
- dependencies:
- ignore-walk "^3.0.1"
- npm-bundled "^1.0.1"
-
-npm-packlist@^1.4.4:
+npm-packlist@^1.1.6, npm-packlist@^1.4.4:
version "1.4.7"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848"
integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==
@@ -10558,11 +10182,7 @@ number-is-nan@^1.0.0:
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=
-nwsapi@^2.0.8:
- version "2.0.9"
- resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.0.9.tgz#77ac0cdfdcad52b6a1151a84e73254edc33ed016"
-
-nwsapi@^2.2.0:
+nwsapi@^2.0.8, nwsapi@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
@@ -11023,11 +10643,7 @@ path-key@^3.0.0, path-key@^3.1.0:
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
-path-parse@^1.0.5:
- version "1.0.5"
- resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
-
-path-parse@^1.0.6:
+path-parse@^1.0.5, path-parse@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
@@ -11072,16 +10688,11 @@ performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
-picomatch@^2.0.4:
+picomatch@^2.0.4, picomatch@^2.0.5:
version "2.2.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
-picomatch@^2.0.5:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
- integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==
-
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -11448,7 +11059,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6"
supports-color "^3.2.3"
-postcss@^6.0.0, postcss@^6.0.20, postcss@^6.0.22:
+postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.20, postcss@^6.0.22, postcss@^6.0.8:
version "6.0.22"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.22.tgz#e23b78314905c3b90cbd61702121e7a78848f2a3"
dependencies:
@@ -11456,14 +11067,6 @@ postcss@^6.0.0, postcss@^6.0.20, postcss@^6.0.22:
source-map "^0.6.1"
supports-color "^5.4.0"
-postcss@^6.0.1, postcss@^6.0.8:
- version "6.0.19"
- resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.19.tgz#76a78386f670b9d9494a655bf23ac012effd1555"
- dependencies:
- chalk "^2.3.1"
- source-map "^0.6.1"
- supports-color "^5.2.0"
-
postcss@^7.0.14:
version "7.0.32"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
@@ -11486,24 +11089,11 @@ preserve@^0.2.0:
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=
-prettier@^1.13.7:
- version "1.14.0"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.0.tgz#847c235522035fd988100f1f43cf20a7d24f9372"
-
-prettier@^1.16.0:
- version "1.18.2"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
- integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
-
-prettier@^1.18.2:
+prettier@^1.13.7, prettier@^1.16.0, prettier@^1.18.2, prettier@^1.7.0:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
-prettier@^1.7.0:
- version "1.10.2"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93"
-
pretty-bytes@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
@@ -11626,11 +11216,7 @@ pseudomap@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
-psl@^1.1.24:
- version "1.1.29"
- resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.29.tgz#60f580d360170bb722a797cc704411e6da850c67"
-
-psl@^1.1.28:
+psl@^1.1.24, psl@^1.1.28:
version "1.8.0"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
@@ -11672,20 +11258,16 @@ punycode@1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"
-punycode@2.x.x, punycode@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d"
+punycode@2.x.x, punycode@^2.1.0, punycode@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
+ integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
punycode@^1.2.4, punycode@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
-punycode@^2.1.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
- integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
-
q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
@@ -11739,16 +11321,7 @@ range-parser@^1.0.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
-rc@^1.0.1, rc@^1.1.6:
- version "1.2.4"
- resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3"
- dependencies:
- deep-extend "~0.4.0"
- ini "~1.3.0"
- minimist "^1.2.0"
- strip-json-comments "~2.0.1"
-
-rc@^1.1.7:
+rc@^1.0.1, rc@^1.1.6, rc@^1.1.7:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
@@ -11863,16 +11436,17 @@ read@1, read@~1.0.1:
dependencies:
mute-stream "~0.0.4"
-"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.4, readable-stream@^2.3.3:
- version "2.3.4"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.4.tgz#c946c3f47fa7d8eabc0b6150f4a12f69a4574071"
+"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3:
+ version "2.3.7"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
+ integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.3"
isarray "~1.0.0"
process-nextick-args "~2.0.0"
safe-buffer "~5.1.1"
- string_decoder "~1.0.3"
+ string_decoder "~1.1.1"
util-deprecate "~1.0.1"
readable-stream@1.0:
@@ -11893,31 +11467,6 @@ readable-stream@1.0:
string_decoder "^1.1.1"
util-deprecate "^1.0.1"
-readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6:
- version "2.3.7"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
- integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
- dependencies:
- core-util-is "~1.0.0"
- inherits "~2.0.3"
- isarray "~1.0.0"
- process-nextick-args "~2.0.0"
- safe-buffer "~5.1.1"
- string_decoder "~1.1.1"
- util-deprecate "~1.0.1"
-
-readable-stream@^2.1.5, readable-stream@^2.2.2:
- version "2.3.3"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
- dependencies:
- core-util-is "~1.0.0"
- inherits "~2.0.3"
- isarray "~1.0.0"
- process-nextick-args "~1.0.6"
- safe-buffer "~5.1.1"
- string_decoder "~1.0.3"
- util-deprecate "~1.0.1"
-
readdir-scoped-modules@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
@@ -11984,25 +11533,14 @@ regenerate-unicode-properties@^6.0.0:
dependencies:
regenerate "^1.3.3"
-regenerate-unicode-properties@^8.1.0:
- version "8.1.0"
- resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e"
- integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==
- dependencies:
- regenerate "^1.4.0"
-
-regenerate-unicode-properties@^8.2.0:
+regenerate-unicode-properties@^8.1.0, regenerate-unicode-properties@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec"
integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==
dependencies:
regenerate "^1.4.0"
-regenerate@^1.2.1:
- version "1.3.3"
- resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"
-
-regenerate@^1.3.3, regenerate@^1.4.0:
+regenerate@^1.2.1, regenerate@^1.3.3, regenerate@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
@@ -12055,30 +11593,7 @@ regexpu-core@^1.0.0:
regjsgen "^0.2.0"
regjsparser "^0.1.4"
-regexpu-core@^4.1.3, regexpu-core@^4.1.4:
- version "4.1.5"
- resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.1.5.tgz#57fdfe1148f8a7a069086228515130cf1820ddd0"
- dependencies:
- regenerate "^1.4.0"
- regenerate-unicode-properties "^6.0.0"
- regjsgen "^0.4.0"
- regjsparser "^0.3.0"
- unicode-match-property-ecmascript "^1.0.3"
- unicode-match-property-value-ecmascript "^1.0.1"
-
-regexpu-core@^4.5.4:
- version "4.6.0"
- resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6"
- integrity sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg==
- dependencies:
- regenerate "^1.4.0"
- regenerate-unicode-properties "^8.1.0"
- regjsgen "^0.5.0"
- regjsparser "^0.6.0"
- unicode-match-property-ecmascript "^1.0.4"
- unicode-match-property-value-ecmascript "^1.1.0"
-
-regexpu-core@^4.7.0:
+regexpu-core@^4.1.3, regexpu-core@^4.1.4, regexpu-core@^4.5.4, regexpu-core@^4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.0.tgz#fcbf458c50431b0bb7b45d6967b8192d91f3d938"
integrity sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==
@@ -12115,12 +11630,7 @@ regjsgen@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.4.0.tgz#c1eb4c89a209263f8717c782591523913ede2561"
-regjsgen@^0.5.0:
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c"
- integrity sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==
-
-regjsgen@^0.5.1:
+regjsgen@^0.5.0, regjsgen@^0.5.1:
version "0.5.2"
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733"
integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==
@@ -12137,14 +11647,7 @@ regjsparser@^0.3.0:
dependencies:
jsesc "~0.5.0"
-regjsparser@^0.6.0:
- version "0.6.0"
- resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.0.tgz#f1e6ae8b7da2bae96c99399b868cd6c933a2ba9c"
- integrity sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==
- dependencies:
- jsesc "~0.5.0"
-
-regjsparser@^0.6.4:
+regjsparser@^0.6.0, regjsparser@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272"
integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==
@@ -12227,15 +11730,7 @@ request-promise-core@1.1.4:
dependencies:
lodash "^4.17.19"
-request-promise-native@^1.0.5:
- version "1.0.5"
- resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5"
- dependencies:
- request-promise-core "1.1.1"
- stealthy-require "^1.1.0"
- tough-cookie ">=2.3.3"
-
-request-promise-native@^1.0.8:
+request-promise-native@^1.0.5, request-promise-native@^1.0.8:
version "1.0.9"
resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28"
integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==
@@ -12244,32 +11739,7 @@ request-promise-native@^1.0.8:
stealthy-require "^1.1.1"
tough-cookie "^2.3.3"
-request@^2.88.0:
- version "2.88.0"
- resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
- dependencies:
- aws-sign2 "~0.7.0"
- aws4 "^1.8.0"
- caseless "~0.12.0"
- combined-stream "~1.0.6"
- extend "~3.0.2"
- forever-agent "~0.6.1"
- form-data "~2.3.2"
- har-validator "~5.1.0"
- http-signature "~1.2.0"
- is-typedarray "~1.0.0"
- isstream "~0.1.2"
- json-stringify-safe "~5.0.1"
- mime-types "~2.1.19"
- oauth-sign "~0.9.0"
- performance-now "^2.1.0"
- qs "~6.5.2"
- safe-buffer "^5.1.2"
- tough-cookie "~2.4.3"
- tunnel-agent "^0.6.0"
- uuid "^3.3.2"
-
-request@^2.88.2:
+request@^2.88.0, request@^2.88.2:
version "2.88.2"
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
@@ -12378,39 +11848,13 @@ resolve-url@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
-resolve@^1.1.6, resolve@^1.10.0:
- version "1.14.2"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.2.tgz#dbf31d0fa98b1f29aa5169783b9c290cb865fea2"
- integrity sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==
- dependencies:
- path-parse "^1.0.6"
-
-resolve@^1.11.0, resolve@^1.11.1:
- version "1.12.0"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
- integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
- dependencies:
- path-parse "^1.0.6"
-
-resolve@^1.17.0:
+resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.17.0, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.6.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
dependencies:
path-parse "^1.0.6"
-resolve@^1.2.0, resolve@^1.4.0:
- version "1.5.0"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
- dependencies:
- path-parse "^1.0.5"
-
-resolve@^1.3.2, resolve@^1.6.0:
- version "1.7.1"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3"
- dependencies:
- path-parse "^1.0.5"
-
restore-cursor@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -12591,16 +12035,12 @@ rxjs@^6.3.3, rxjs@^6.4.0:
dependencies:
tslib "^1.9.0"
-safe-buffer@^5.0.1, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
+safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==
-safe-buffer@^5.1.0, safe-buffer@^5.1.1:
- version "5.1.1"
- resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
-
-safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
+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"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
@@ -12683,7 +12123,7 @@ semver-diff@^2.0.0:
dependencies:
semver "^5.0.3"
-"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.3.0, semver@^5.5.1, semver@^5.7.0, semver@^5.7.1:
+"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1:
version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@@ -12698,21 +12138,12 @@ semver@7.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
-semver@^5.0.3, semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
- integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
-
semver@^7.3.2:
version "7.3.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
-serialize-javascript@^1.3.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005"
-
-serialize-javascript@^1.4.0:
+serialize-javascript@^1.3.0, serialize-javascript@^1.4.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.5.0.tgz#1aa336162c88a890ddad5384baebc93a655161fe"
@@ -12915,17 +12346,7 @@ source-list-map@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085"
-source-map-resolve@^0.5.0:
- version "0.5.2"
- resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
- dependencies:
- atob "^2.1.1"
- decode-uri-component "^0.2.0"
- resolve-url "^0.2.1"
- source-map-url "^0.4.0"
- urix "^0.1.0"
-
-source-map-resolve@^0.5.2:
+source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
version "0.5.3"
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==
@@ -12936,15 +12357,7 @@ source-map-resolve@^0.5.2:
source-map-url "^0.4.0"
urix "^0.1.0"
-source-map-support@^0.5.0:
- version "0.5.16"
- resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"
- integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==
- dependencies:
- buffer-from "^1.0.0"
- source-map "^0.6.0"
-
-source-map-support@^0.5.6:
+source-map-support@^0.5.0, source-map-support@^0.5.6:
version "0.5.19"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
@@ -13078,11 +12491,7 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"
-"statuses@>= 1.3.1 < 2":
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"
-
-"statuses@>= 1.4.0 < 2", statuses@^1.2.0:
+"statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2", statuses@^1.2.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
@@ -13179,14 +12588,7 @@ string-width@^4.1.0, string-width@^4.2.0:
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.0"
-string_decoder@^1.0.0, string_decoder@~1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
- integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==
- dependencies:
- safe-buffer "~5.1.0"
-
-string_decoder@^1.1.1:
+string_decoder@^1.0.0, string_decoder@^1.1.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
@@ -13197,6 +12599,13 @@ string_decoder@~0.10.x:
version "0.10.31"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
+string_decoder@~1.0.3:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
+ integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==
+ dependencies:
+ safe-buffer "~5.1.0"
+
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
@@ -13317,7 +12726,7 @@ stylus@^0.54.5:
sax "0.5.x"
source-map "0.1.x"
-supports-color@5.4.0, supports-color@^5.3.0, supports-color@^5.4.0:
+supports-color@5.4.0, supports-color@^5.2.0, supports-color@^5.3.0, supports-color@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
dependencies:
@@ -13340,12 +12749,6 @@ supports-color@^4.2.1:
dependencies:
has-flag "^2.0.0"
-supports-color@^5.2.0:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.2.0.tgz#b0d5333b1184dd3666cbe5aa0b45c5ac7ac17a4a"
- dependencies:
- has-flag "^3.0.0"
-
supports-color@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
@@ -13390,11 +12793,7 @@ symbol-observable@^1.1.0:
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
-symbol-tree@^3.2.2:
- version "3.2.2"
- resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6"
-
-symbol-tree@^3.2.4:
+symbol-tree@^3.2.2, symbol-tree@^3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
@@ -13430,19 +12829,7 @@ tapable@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0.tgz#cbb639d9002eed9c6b5975eb20598d7936f1f9f2"
-tar@^4:
- version "4.4.2"
- resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.2.tgz#60685211ba46b38847b1ae7ee1a24d744a2cd462"
- dependencies:
- chownr "^1.0.1"
- fs-minipass "^1.2.5"
- minipass "^2.2.4"
- minizlib "^1.1.0"
- mkdirp "^0.5.0"
- safe-buffer "^5.1.2"
- yallist "^3.0.2"
-
-tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
+tar@^4, tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
version "4.4.13"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
@@ -13627,13 +13014,16 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-tough-cookie@>=2.3.3:
- version "2.3.3"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
+tough-cookie@>=2.3.3, tough-cookie@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
+ integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
dependencies:
- punycode "^1.4.1"
+ ip-regex "^2.1.0"
+ psl "^1.1.28"
+ punycode "^2.1.1"
-tough-cookie@^2.3.3, tough-cookie@~2.5.0:
+tough-cookie@^2.3.3, tough-cookie@^2.4.3, tough-cookie@~2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
@@ -13641,22 +13031,13 @@ tough-cookie@^2.3.3, tough-cookie@~2.5.0:
psl "^1.1.28"
punycode "^2.1.1"
-tough-cookie@^2.4.3, tough-cookie@~2.4.3:
+tough-cookie@~2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
dependencies:
psl "^1.1.24"
punycode "^1.4.1"
-tough-cookie@^3.0.1:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
- integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
- dependencies:
- ip-regex "^2.1.0"
- psl "^1.1.28"
- punycode "^2.1.1"
-
tr46@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
@@ -13870,23 +13251,12 @@ unherit@^1.0.4:
inherits "^2.0.1"
xtend "^4.0.1"
-unicode-canonical-property-names-ecmascript@^1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.3.tgz#f6119f417467593c0086357c85546b6ad5abc583"
-
-unicode-canonical-property-names-ecmascript@^1.0.4:
+unicode-canonical-property-names-ecmascript@^1.0.2, unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==
-unicode-match-property-ecmascript@^1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.3.tgz#db9b1cb4ffc67e0c5583780b1b59370e4cbe97b9"
- dependencies:
- unicode-canonical-property-names-ecmascript "^1.0.2"
- unicode-property-aliases-ecmascript "^1.0.3"
-
-unicode-match-property-ecmascript@^1.0.4:
+unicode-match-property-ecmascript@^1.0.3, unicode-match-property-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c"
integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==
@@ -13894,25 +13264,12 @@ unicode-match-property-ecmascript@^1.0.4:
unicode-canonical-property-names-ecmascript "^1.0.4"
unicode-property-aliases-ecmascript "^1.0.4"
-unicode-match-property-value-ecmascript@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.1.tgz#fea059120a016f403afd3bf586162b4db03e0604"
-
-unicode-match-property-value-ecmascript@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277"
- integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==
-
-unicode-match-property-value-ecmascript@^1.2.0:
+unicode-match-property-value-ecmascript@^1.0.1, unicode-match-property-value-ecmascript@^1.1.0, unicode-match-property-value-ecmascript@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531"
integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==
-unicode-property-aliases-ecmascript@^1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.3.tgz#ac3522583b9e630580f916635333e00c5ead690d"
-
-unicode-property-aliases-ecmascript@^1.0.4:
+unicode-property-aliases-ecmascript@^1.0.3, unicode-property-aliases-ecmascript@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==
@@ -13952,13 +13309,7 @@ uniqs@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"
-unique-filename@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.0.tgz#d05f2fe4032560871f30e93cbe735eea201514f3"
- dependencies:
- unique-slug "^2.0.0"
-
-unique-filename@^1.1.1:
+unique-filename@^1.1.0, unique-filename@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230"
integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==
@@ -14019,11 +13370,7 @@ unzip-response@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
-upath@^1.0.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd"
-
-upath@^1.2.0:
+upath@^1.0.0, upath@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==
@@ -14125,11 +13472,7 @@ utila@~0.4:
version "0.4.0"
resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
-uuid@^3.0.1, uuid@^3.1.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
-
-uuid@^3.3.2:
+uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
@@ -14270,20 +13613,7 @@ vue-router@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.1.tgz#d9b05ad9c7420ba0f626d6500d693e60092cc1e9"
-vue-server-renderer@^2.5.16:
- version "2.5.16"
- resolved "https://registry.yarnpkg.com/vue-server-renderer/-/vue-server-renderer-2.5.16.tgz#279ef8e37e502a0de3a9ae30758cc04a472eaac0"
- dependencies:
- chalk "^1.1.3"
- hash-sum "^1.0.2"
- he "^1.1.0"
- lodash.template "^4.4.0"
- lodash.uniq "^4.5.0"
- resolve "^1.2.0"
- serialize-javascript "^1.3.0"
- source-map "0.5.6"
-
-vue-server-renderer@^2.6.11:
+vue-server-renderer@^2.5.16, vue-server-renderer@^2.6.11:
version "2.6.11"
resolved "https://registry.yarnpkg.com/vue-server-renderer/-/vue-server-renderer-2.6.11.tgz#be8c9abc6aacc309828a755c021a05fc474b4bc3"
integrity sha512-V3faFJHr2KYfdSIalL+JjinZSHYUhlrvJ9pzCIjjwSh77+pkrsXpK4PucdPcng57+N77pd1LrKqwbqjQdktU1A==
@@ -14311,14 +13641,7 @@ vue-style-loader@^4.1.0:
hash-sum "^1.0.2"
loader-utils "^1.0.2"
-vue-template-compiler@^2.5.16:
- version "2.5.16"
- resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.16.tgz#93b48570e56c720cdf3f051cc15287c26fbd04cb"
- dependencies:
- de-indent "^1.0.2"
- he "^1.1.0"
-
-vue-template-compiler@^2.6.11:
+vue-template-compiler@^2.5.16, vue-template-compiler@^2.6.11:
version "2.6.11"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.11.tgz#c04704ef8f498b153130018993e56309d4698080"
integrity sha512-KIq15bvQDrcCjpGjrAhx4mUlyyHfdmTaoNfeoATHLAiWB+MU3cx4lOzMwrnUh9cCxy0Lt1T11hAFY6TQgroUAA==
@@ -14326,20 +13649,12 @@ vue-template-compiler@^2.6.11:
de-indent "^1.0.2"
he "^1.1.0"
-vue-template-es2015-compiler@^1.6.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"
-
-vue-template-es2015-compiler@^1.9.0:
+vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.9.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
-vue@^2.5.16:
- version "2.5.16"
- resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
-
-vue@^2.6.11:
+vue@^2.5.16, vue@^2.6.11:
version "2.6.11"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.11.tgz#76594d877d4b12234406e84e35275c6d514125c5"
integrity sha512-VfPwgcGABbGAue9+sfrD4PuwFar7gPb1yl1UK1MwXoQPAw0BKSqWfoYCT/ThFrdEVWoI51dBuyCoiNU9bZDZxQ==
@@ -14426,13 +13741,7 @@ vuex@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.1.tgz#e761352ebe0af537d4bb755a9b9dc4be3df7efd2"
-w3c-hr-time@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"
- dependencies:
- browser-process-hrtime "^0.1.2"
-
-w3c-hr-time@^1.0.2:
+w3c-hr-time@^1.0.1, w3c-hr-time@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==
@@ -14453,15 +13762,7 @@ walker@^1.0.7, walker@~1.0.5:
dependencies:
makeerror "1.0.x"
-watchpack@^1.4.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.4.0.tgz#4a1472bcbb952bd0a9bb4036801f954dfb39faac"
- dependencies:
- async "^2.1.2"
- chokidar "^1.7.0"
- graceful-fs "^4.1.2"
-
-watchpack@^1.5.0:
+watchpack@^1.4.0, watchpack@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
dependencies:
@@ -14653,30 +13954,14 @@ webpackbar@^2.6.1:
std-env "^1.3.0"
table "^4.0.3"
-whatwg-encoding@^1.0.1:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.3.tgz#57c235bc8657e914d24e1a397d3c82daee0a6ba3"
- dependencies:
- iconv-lite "0.4.19"
-
-whatwg-encoding@^1.0.4:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.4.tgz#63fb016b7435b795d9025632c086a5209dbd2621"
- dependencies:
- iconv-lite "0.4.23"
-
-whatwg-encoding@^1.0.5:
+whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.4, whatwg-encoding@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==
dependencies:
iconv-lite "0.4.24"
-whatwg-mimetype@^2.1.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.2.0.tgz#a3d58ef10b76009b042d03e25591ece89b88d171"
-
-whatwg-mimetype@^2.3.0:
+whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==
@@ -14715,19 +14000,13 @@ which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
-which@^1.2.14, which@^1.3.1:
+which@^1.2.14, which@^1.2.9, which@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
dependencies:
isexe "^2.0.0"
-which@^1.2.9:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
- dependencies:
- isexe "^2.0.0"
-
which@^2.0.1, which@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
@@ -14920,15 +14199,7 @@ wrappy@1:
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
-write-file-atomic@^2.0.0, write-file-atomic@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab"
- dependencies:
- graceful-fs "^4.1.11"
- imurmurhash "^0.1.4"
- signal-exit "^3.0.2"
-
-write-file-atomic@^2.4.2:
+write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2:
version "2.4.3"
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481"
integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==
@@ -15039,11 +14310,7 @@ yallist@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
-yallist@^3.0.0, yallist@^3.0.2:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9"
-
-yallist@^3.0.3:
+yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
From 1cd024c8fe5773578bc93072e1e19368bf72520a Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 13:38:47 -0400
Subject: [PATCH 34/46] chore(test/setup): remove the test setup directory
The test setup directory is no longer being used
---
test/setup/karma.conf.js | 22 ------------
test/setup/load-tests.js | 3 --
test/setup/mocha.setup.js | 0
test/setup/polyfills.js | 14 --------
test/setup/webpack.test.config.js | 60 -------------------------------
5 files changed, 99 deletions(-)
delete mode 100644 test/setup/karma.conf.js
delete mode 100644 test/setup/load-tests.js
delete mode 100644 test/setup/mocha.setup.js
delete mode 100644 test/setup/polyfills.js
delete mode 100644 test/setup/webpack.test.config.js
diff --git a/test/setup/karma.conf.js b/test/setup/karma.conf.js
deleted file mode 100644
index f540ef292..000000000
--- a/test/setup/karma.conf.js
+++ /dev/null
@@ -1,22 +0,0 @@
-const webpackConfig = require('./webpack.test.config.js')
-
-module.exports = function(config) {
- config.set({
- browsers: ['PhantomJS'],
- frameworks: ['mocha', 'sinon-chai'],
- reporters: ['spec'],
- files: [
- '../../node_modules/@babel/polyfill/dist/polyfill.js',
- './polyfills.js',
- 'load-tests.js'
- ],
- preprocessors: {
- 'load-tests.js': ['webpack', 'sourcemap']
- },
- client: { mocha: { timeout: 20000 } },
- webpack: webpackConfig,
- webpackMiddleware: {
- noInfo: true
- }
- })
-}
diff --git a/test/setup/load-tests.js b/test/setup/load-tests.js
deleted file mode 100644
index 9563fff0e..000000000
--- a/test/setup/load-tests.js
+++ /dev/null
@@ -1,3 +0,0 @@
-const testsContext = require.context('../specs', true, /\.spec\.(js|vue)$/)
-
-testsContext.keys().forEach(testsContext)
diff --git a/test/setup/mocha.setup.js b/test/setup/mocha.setup.js
deleted file mode 100644
index e69de29bb..000000000
diff --git a/test/setup/polyfills.js b/test/setup/polyfills.js
deleted file mode 100644
index 29552182e..000000000
--- a/test/setup/polyfills.js
+++ /dev/null
@@ -1,14 +0,0 @@
-if (typeof Element !== 'undefined' && !Element.prototype.matches) {
- Element.prototype.matches =
- Element.prototype.matchesSelector ||
- Element.prototype.mozMatchesSelector ||
- Element.prototype.msMatchesSelector ||
- Element.prototype.oMatchesSelector ||
- Element.prototype.webkitMatchesSelector ||
- function(s) {
- var matches = (this.document || this.ownerDocument).querySelectorAll(s)
- var i = matches.length
- while (--i >= 0 && matches.item(i) !== this) {}
- return i > -1
- }
-}
diff --git a/test/setup/webpack.test.config.js b/test/setup/webpack.test.config.js
deleted file mode 100644
index a391e9e0a..000000000
--- a/test/setup/webpack.test.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/* eslint-disable max-len */
-
-const nodeExternals = require('webpack-node-externals')
-const webpack = require('webpack')
-const browser = process.env.TARGET === 'browser'
-const path = require('path')
-
-const projectRoot = path.resolve(__dirname, '../../')
-
-const rules = [].concat(
- {
- test: /\.vue$/,
- loader: 'vue-loader'
- },
- {
- test: /\.js$/,
- loader: 'babel-loader',
- exclude: /node_modules/
- }
-)
-const externals = nodeExternals({
- // we need to allowlist both `create-instance` and files in `shared` package. Otherwise webpack won't bundle them in the test dev env
- allowlist: [
- '@vue/test-utils',
- '@vue/server-test-utils',
- 'create-instance',
- /^shared\/.*/
- ]
-})
-// define the default aliases
-let aliasedFiles = {}
-if (process.env.TARGET === 'dev') {
- // if we are in dev test mode, we want to alias all files to the src file, not dist
- aliasedFiles = {
- '@vue/server-test-utils': `@vue/server-test-utils/src/index.js`,
- '@vue/test-utils': `@vue/test-utils/src/index.js`
- }
-}
-module.exports = {
- module: {
- rules
- },
- externals: !browser ? [externals] : undefined,
- resolve: {
- alias: {
- ...aliasedFiles,
- '~resources': `${projectRoot}/test/resources`
- }
- },
- output: {
- devtoolModuleFilenameTemplate: '[absolute-resource-path]',
- devtoolFallbackModuleFilenameTemplate: '[absolute-resource-path]?[hash]'
- },
- devtool: '#inline-cheap-module-source-map',
- node: {
- fs: 'empty',
- module: 'empty'
- },
- plugins: [new webpack.EnvironmentPlugin(['TEST_ENV'])]
-}
From e9ab67717c5ea6c1018c5ead8eafe465d27ea2b9 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 13:40:06 -0400
Subject: [PATCH 35/46] chore: remove @babel/polyfill
@babel/polyfill is no longer needed as tests in browser are no longer applicable
---
package.json | 1 -
yarn.lock | 227 ++++++++++-----------------------------------------
2 files changed, 43 insertions(+), 185 deletions(-)
diff --git a/package.json b/package.json
index 5bf7765fe..b5689e2d9 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,6 @@
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-flow": "^7.0.0",
- "@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"chalk": "^2.4.2",
"conditional-specs": "^1.0.1",
diff --git a/yarn.lock b/yarn.lock
index fff46c4bb..da033176d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -439,7 +439,7 @@
esutils "^2.0.2"
js-tokens "^3.0.0"
-"@babel/highlight@^7.0.0", "@babel/highlight@^7.10.4":
+"@babel/highlight@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"
integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==
@@ -1289,14 +1289,6 @@
"@babel/helper-create-regexp-features-plugin" "^7.10.4"
"@babel/helper-plugin-utils" "^7.10.4"
-"@babel/polyfill@^7.0.0":
- version "7.10.4"
- resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.10.4.tgz#915e5bfe61490ac0199008e35ca9d7d151a8e45a"
- integrity sha512-8BYcnVqQ5kMD2HXoHInBH7H1b/uP3KdnwCYXOqFnXqguOyuu443WXusbIUbWEfY3Z0Txk0M1uG/8YuAMhNl6zg==
- dependencies:
- core-js "^2.6.5"
- regenerator-runtime "^0.13.4"
-
"@babel/preset-env@7.0.0-beta.47":
version "7.0.0-beta.47"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.0.0-beta.47.tgz#a3dab3b5fac4de56e3510bdbcb528f1cbdedbe2d"
@@ -2650,7 +2642,7 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3"
integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==
-"@nodelib/fs.stat@^1.0.1", "@nodelib/fs.stat@^1.1.2":
+"@nodelib/fs.stat@^1.1.2":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
@@ -3616,7 +3608,7 @@ atob-lite@^2.0.0:
resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696"
integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=
-atob@^2.1.1, atob@^2.1.2:
+atob@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
@@ -3942,10 +3934,6 @@ brorand@^1.0.1:
resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=
-browser-process-hrtime@^0.1.2:
- version "0.1.2"
- resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e"
-
browser-process-hrtime@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626"
@@ -4082,11 +4070,6 @@ buffer@^4.3.0:
ieee754 "^1.1.4"
isarray "^1.0.0"
-builtin-modules@^1.0.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
- integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=
-
builtin-modules@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"
@@ -4277,7 +4260,7 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000810"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000810.tgz#bd25830c41efab64339a2e381f49677343c84509"
-caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001093:
+caniuse-lite@^1.0.30000839, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001093:
version "1.0.30001109"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001109.tgz#a9f3f26a0c3753b063d7acbb48dfb9c0e46f2b19"
integrity sha512-4JIXRodHzdS3HdK8nSgIqXYLExOvG+D2/EenSvcub2Kp3QEADjo2v2oUn5g0n0D+UNwG9BtwKOyGcSq2qvQXvQ==
@@ -4370,7 +4353,7 @@ cheerio@^1.0.0-rc.2:
lodash "^4.15.0"
parse5 "^3.0.1"
-chokidar@^1.6.1, chokidar@^1.7.0:
+chokidar@^1.6.1:
version "1.7.0"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468"
dependencies:
@@ -5036,7 +5019,7 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"
-core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3, core-js@^2.6.5:
+core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
@@ -5394,7 +5377,7 @@ debug@3.1.0, debug@^3.1.0:
dependencies:
ms "2.0.0"
-debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
+debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
@@ -5438,11 +5421,6 @@ deep-extend@^0.6.0:
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
-deep-extend@~0.4.0:
- version "0.4.2"
- resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
- integrity sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=
-
deep-is@~0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
@@ -5545,10 +5523,6 @@ delegates@^1.0.0:
resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
-depd@1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359"
-
depd@^1.1.0, depd@~1.1.1, depd@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
@@ -5583,11 +5557,6 @@ detect-indent@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
-detect-libc@^1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
- integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
-
detect-newline@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
@@ -5781,7 +5750,7 @@ ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
-electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.45, electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.488:
+electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.488:
version "1.3.516"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.516.tgz#03ec071b061e462b786bf7e7ce226fd7ab7cf1f6"
integrity sha512-WDM5AAQdOrvLqSX8g3Zd5AujBXfMxf96oeZkff0U2HF5op3tjShE+on2yay3r1UD4M9I3p0iHpAS4+yV8U8A9A==
@@ -6116,10 +6085,6 @@ esprima@^2.6.0:
version "2.7.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
-esprima@^3.1.3:
- version "3.1.3"
- resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
-
esprima@^4.0.0, esprima@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
@@ -7130,7 +7095,7 @@ har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
-har-validator@~5.1.0, har-validator@~5.1.3:
+har-validator@~5.1.3:
version "5.1.5"
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd"
integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==
@@ -7407,17 +7372,7 @@ husky@^3.1.0:
run-node "^1.0.0"
slash "^3.0.0"
-iconv-lite@0.4.19:
- version "0.4.19"
- resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
-
-iconv-lite@0.4.23:
- version "0.4.23"
- resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
- dependencies:
- safer-buffer ">= 2.1.2 < 3"
-
-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:
+iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, 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==
@@ -7714,13 +7669,6 @@ is-buffer@^1.1.4, is-buffer@^1.1.5:
version "1.1.6"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
-is-builtin-module@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe"
- integrity sha1-VAVy0096wxGfj3bDDLwbHgN6/74=
- dependencies:
- builtin-modules "^1.0.0"
-
is-callable@^1.1.1, is-callable@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
@@ -8069,13 +8017,6 @@ is-text-path@^1.0.1:
dependencies:
text-extensions "^1.0.0"
-is-text-path@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636"
- integrity sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==
- dependencies:
- text-extensions "^2.0.0"
-
is-typedarray@^1.0.0, is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
@@ -8606,7 +8547,7 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
-js-yaml@^3.11.0, js-yaml@^3.13.1, js-yaml@^3.4.3, js-yaml@^3.9.0, js-yaml@^3.9.1:
+js-yaml@^3.11.0, js-yaml@^3.13.1, js-yaml@^3.4.3, js-yaml@^3.9.1:
version "3.13.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -9209,7 +9150,7 @@ lodash@4.17.15:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
-lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0:
+lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
@@ -9520,7 +9461,7 @@ merge-stream@^2.0.0:
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
-merge2@^1.2.1, merge2@^1.2.3, merge2@^1.3.0:
+merge2@^1.2.3, merge2@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81"
integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==
@@ -9586,15 +9527,6 @@ mime-db@1.43.0:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
-mime-db@~1.33.0:
- version "1.33.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db"
- integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==
-
-mime-db@~1.36.0:
- version "1.36.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"
-
mime-types@^2.0.7, mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19:
version "2.1.26"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
@@ -9672,7 +9604,7 @@ minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
-minipass@^2.2.1, minipass@^2.2.4, minipass@^2.3.5, minipass@^2.8.6, minipass@^2.9.0:
+minipass@^2.2.1, minipass@^2.3.5, minipass@^2.8.6, minipass@^2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
@@ -9680,7 +9612,7 @@ minipass@^2.2.1, minipass@^2.2.4, minipass@^2.3.5, minipass@^2.8.6, minipass@^2.
safe-buffer "^5.1.2"
yallist "^3.0.0"
-minizlib@^1.1.0, minizlib@^1.2.1:
+minizlib@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
@@ -9843,7 +9775,7 @@ mz@^2.5.0, mz@^2.6.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"
-nan@^2.12.1, nan@^2.9.2:
+nan@^2.12.1:
version "2.14.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
@@ -9897,14 +9829,6 @@ natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
-needle@^2.2.0:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d"
- dependencies:
- debug "^2.1.2"
- iconv-lite "^0.4.4"
- sax "^1.2.4"
-
negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
@@ -10005,21 +9929,6 @@ node-notifier@^7.0.0:
uuid "^8.2.0"
which "^2.0.2"
-node-pre-gyp@^0.10.0:
- version "0.10.0"
- resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz#6e4ef5bb5c5203c6552448828c852c40111aac46"
- dependencies:
- detect-libc "^1.0.2"
- mkdirp "^0.5.1"
- needle "^2.2.0"
- nopt "^4.0.1"
- npm-packlist "^1.1.6"
- npmlog "^4.0.2"
- rc "^1.1.7"
- rimraf "^2.6.1"
- semver "^5.3.0"
- tar "^4"
-
node-releases@^1.1.58:
version "1.1.60"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.60.tgz#6948bdfce8286f0b5d0e5a88e8384e954dfe7084"
@@ -10116,7 +10025,7 @@ npm-normalize-package-bin@^1.0.0:
semver "^5.6.0"
validate-npm-package-name "^3.0.0"
-npm-packlist@^1.1.6, npm-packlist@^1.4.4:
+npm-packlist@^1.4.4:
version "1.4.7"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848"
integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==
@@ -10153,7 +10062,7 @@ npm-run-path@^4.0.0:
dependencies:
path-key "^3.0.0"
-npmlog@^4.0.2, npmlog@^4.1.2:
+npmlog@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
@@ -10643,7 +10552,7 @@ path-key@^3.0.0, path-key@^3.1.0:
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
-path-parse@^1.0.5, path-parse@^1.0.6:
+path-parse@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
@@ -11141,11 +11050,6 @@ private@^0.1.6:
version "0.1.8"
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
-process-nextick-args@~1.0.6:
- version "1.0.7"
- resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
- integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=
-
process-nextick-args@~2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
@@ -11216,7 +11120,7 @@ pseudomap@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
-psl@^1.1.24, psl@^1.1.28:
+psl@^1.1.28:
version "1.8.0"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
@@ -11263,7 +11167,7 @@ punycode@2.x.x, punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
-punycode@^1.2.4, punycode@^1.4.1:
+punycode@^1.2.4:
version "1.4.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
@@ -11321,7 +11225,7 @@ range-parser@^1.0.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
-rc@^1.0.1, rc@^1.1.6, rc@^1.1.7:
+rc@^1.0.1, rc@^1.1.6:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
@@ -11527,20 +11431,14 @@ reduce@^1.0.1:
dependencies:
object-keys "~1.0.0"
-regenerate-unicode-properties@^6.0.0:
- version "6.0.0"
- resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-6.0.0.tgz#0fc26f9d5142289df4e177dec58f303d2d097c16"
- dependencies:
- regenerate "^1.3.3"
-
-regenerate-unicode-properties@^8.1.0, regenerate-unicode-properties@^8.2.0:
+regenerate-unicode-properties@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec"
integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==
dependencies:
regenerate "^1.4.0"
-regenerate@^1.2.1, regenerate@^1.3.3, regenerate@^1.4.0:
+regenerate@^1.2.1, regenerate@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
@@ -11626,11 +11524,7 @@ regjsgen@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7"
-regjsgen@^0.4.0:
- version "0.4.0"
- resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.4.0.tgz#c1eb4c89a209263f8717c782591523913ede2561"
-
-regjsgen@^0.5.0, regjsgen@^0.5.1:
+regjsgen@^0.5.1:
version "0.5.2"
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733"
integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==
@@ -11641,13 +11535,7 @@ regjsparser@^0.1.4:
dependencies:
jsesc "~0.5.0"
-regjsparser@^0.3.0:
- version "0.3.0"
- resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.3.0.tgz#3c326da7fcfd69fa0d332575a41c8c0cdf588c96"
- dependencies:
- jsesc "~0.5.0"
-
-regjsparser@^0.6.0, regjsparser@^0.6.4:
+regjsparser@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272"
integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==
@@ -11717,12 +11605,6 @@ replace-ext@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
-request-promise-core@1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6"
- dependencies:
- lodash "^4.13.1"
-
request-promise-core@1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f"
@@ -11887,7 +11769,7 @@ right-pad@^1.0.1:
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA=
-rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
+rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -12143,7 +12025,7 @@ semver@^7.3.2:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
-serialize-javascript@^1.3.0, serialize-javascript@^1.4.0:
+serialize-javascript@^1.4.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.5.0.tgz#1aa336162c88a890ddad5384baebc93a655161fe"
@@ -12179,10 +12061,6 @@ setimmediate@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
-setprototypeof@1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04"
-
setprototypeof@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
@@ -12491,7 +12369,7 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"
-"statuses@>= 1.3.1 < 2", "statuses@>= 1.4.0 < 2", statuses@^1.2.0:
+"statuses@>= 1.4.0 < 2", statuses@^1.2.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
@@ -12501,7 +12379,7 @@ std-env@^1.1.0, std-env@^1.3.0:
dependencies:
is-ci "^1.1.0"
-stealthy-require@^1.1.0, stealthy-require@^1.1.1:
+stealthy-require@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
@@ -12599,13 +12477,6 @@ string_decoder@~0.10.x:
version "0.10.31"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
-string_decoder@~1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
- integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==
- dependencies:
- safe-buffer "~5.1.0"
-
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
@@ -12726,7 +12597,7 @@ stylus@^0.54.5:
sax "0.5.x"
source-map "0.1.x"
-supports-color@5.4.0, supports-color@^5.2.0, supports-color@^5.3.0, supports-color@^5.4.0:
+supports-color@5.4.0, supports-color@^5.3.0, supports-color@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
dependencies:
@@ -12829,7 +12700,7 @@ tapable@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0.tgz#cbb639d9002eed9c6b5975eb20598d7936f1f9f2"
-tar@^4, tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
+tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
version "4.4.13"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
@@ -12885,11 +12756,6 @@ text-extensions@^1.0.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39"
-text-extensions@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-2.0.0.tgz#43eabd1b495482fae4a2bf65e5f56c29f69220f6"
- integrity sha512-F91ZqLgvi1E0PdvmxMgp+gcf6q8fMH7mhdwWfzXnl1k+GbpQDmi8l7DzLC5JTASKbwpY3TfxajAUzAXcv2NmsQ==
-
text-table@^0.2.0, text-table@~0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
@@ -13014,15 +12880,6 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-tough-cookie@>=2.3.3, tough-cookie@^3.0.1:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
- integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
- dependencies:
- ip-regex "^2.1.0"
- psl "^1.1.28"
- punycode "^2.1.1"
-
tough-cookie@^2.3.3, tough-cookie@^2.4.3, tough-cookie@~2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
@@ -13031,12 +12888,14 @@ tough-cookie@^2.3.3, tough-cookie@^2.4.3, tough-cookie@~2.5.0:
psl "^1.1.28"
punycode "^2.1.1"
-tough-cookie@~2.4.3:
- version "2.4.3"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
+tough-cookie@^3.0.1:
+ version "3.0.1"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
+ integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==
dependencies:
- psl "^1.1.24"
- punycode "^1.4.1"
+ ip-regex "^2.1.0"
+ psl "^1.1.28"
+ punycode "^2.1.1"
tr46@^1.0.1:
version "1.0.1"
@@ -13251,12 +13110,12 @@ unherit@^1.0.4:
inherits "^2.0.1"
xtend "^4.0.1"
-unicode-canonical-property-names-ecmascript@^1.0.2, unicode-canonical-property-names-ecmascript@^1.0.4:
+unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==
-unicode-match-property-ecmascript@^1.0.3, unicode-match-property-ecmascript@^1.0.4:
+unicode-match-property-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c"
integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==
@@ -13264,12 +13123,12 @@ unicode-match-property-ecmascript@^1.0.3, unicode-match-property-ecmascript@^1.0
unicode-canonical-property-names-ecmascript "^1.0.4"
unicode-property-aliases-ecmascript "^1.0.4"
-unicode-match-property-value-ecmascript@^1.0.1, unicode-match-property-value-ecmascript@^1.1.0, unicode-match-property-value-ecmascript@^1.2.0:
+unicode-match-property-value-ecmascript@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531"
integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==
-unicode-property-aliases-ecmascript@^1.0.3, unicode-property-aliases-ecmascript@^1.0.4:
+unicode-property-aliases-ecmascript@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==
From 29b327d1a1d696a808a217647ae9e47c4a674e1b Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 13:45:12 -0400
Subject: [PATCH 36/46] chore(babel.config.js): set preset-env target to node
current
Since browser tests are no longer applicable, jest is the only tool that is actively using babel.
The target can now be set to the current node environment, which in turn does not require additional
polyfills (core-js, regenerator-runtime, etc)
---
babel.config.js | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/babel.config.js b/babel.config.js
index 7dfb99a43..489067f6a 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,5 +1,15 @@
module.exports = {
- presets: ['@babel/preset-env', '@vue/babel-preset-jsx'],
+ presets: [
+ [
+ '@babel/preset-env',
+ {
+ targets: {
+ node: 'current'
+ }
+ }
+ ],
+ '@vue/babel-preset-jsx'
+ ],
plugins: [
'@babel/plugin-syntax-jsx',
'@babel/plugin-transform-flow-strip-types',
From 16c1244dc52e2716a7f5c1958b9c6bcd6628f674 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 13:52:17 -0400
Subject: [PATCH 37/46] test(setprops.spec.js): update newly added tests to
Jest
Update recently added watcher immediate tests to use jest assertions and mock functions over mocha
chai
---
test/specs/wrapper/setProps.spec.js | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index daa3b7a98..758b3ec1e 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -179,7 +179,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
})
it('invokes watchers with immediate set to "true"', async () => {
- const callback = sinon.spy()
+ const callback = jest.fn()
const TestComponent = {
template: '
',
props: ['propA'],
@@ -197,16 +197,15 @@ describeWithShallowAndMount('setProps', mountingMethod => {
propsData: { propA: 'none' }
})
- expect(callback.calledOnce)
- callback.resetHistory()
+ expect(callback).toHaveBeenCalledTimes(1)
await wrapper.setProps({ propA: 'value' })
- expect(wrapper.props().propA).to.equal('value')
- expect(callback.calledOnce)
+ expect(wrapper.props().propA).toEqual('value')
+ expect(callback).toHaveBeenCalledTimes(2)
})
it('invokes watchers with immediate set to "true" with deep objects', async () => {
- const callback = sinon.spy()
+ const callback = jest.fn()
const TestComponent = {
template: '
',
props: ['propA'],
@@ -231,8 +230,7 @@ describeWithShallowAndMount('setProps', mountingMethod => {
}
})
- expect(callback.calledOnce)
- callback.resetHistory()
+ expect(callback).toHaveBeenCalledTimes(1)
await wrapper.setProps({
propA: {
@@ -243,14 +241,14 @@ describeWithShallowAndMount('setProps', mountingMethod => {
key2: 'value2'
}
})
- expect(wrapper.props().propA).to.deep.equal({
+ expect(wrapper.props().propA).toEqual({
key: {
nestedKey: 'newValue',
anotherNestedKey: 'value'
},
key2: 'value2'
})
- expect(callback.calledOnce)
+ expect(callback).toHaveBeenCalledTimes(2)
})
})
From 96d990a9285bb5757018d9c72245ebbd73611627 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 14:04:10 -0400
Subject: [PATCH 38/46] fix(docs/): re include vuepress build scripts to deploy
docs
---
package.json | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package.json b/package.json
index b5689e2d9..fd17e9fa4 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,8 @@
],
"scripts": {
"bootstrap": "lerna bootstrap",
+ "docs": "vuepress dev docs",
+ "docs:build": "vuepress build docs",
"test:unit": "cross-env TARGET=dev yarn jest",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
From 178bd0584af7d32742ef7f9c86f77b6a68aeee9a Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 14:27:04 -0400
Subject: [PATCH 39/46] chore(package.json): remove webpack and mocha related
dependencies
These dependencies are no longer used and can be removed from the package.json
---
package.json | 9 +-
yarn.lock | 605 +++------------------------------------------------
2 files changed, 35 insertions(+), 579 deletions(-)
diff --git a/package.json b/package.json
index fd17e9fa4..2dbaa6aac 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,6 @@
"babel-eslint": "^9.0.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/babel-preset-jsx": "^1.1.2",
- "babel-loader": "^8.0.0",
"@babel/plugin-syntax-jsx": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
@@ -27,7 +26,6 @@
"conditional-specs": "^1.0.1",
"conventional-changelog": "^3.1.12",
"cross-env": "^5.0.0",
- "css-loader": "^0.28.4",
"eslint": "^4.18.1",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-markdown": "^1.0.0-beta.6",
@@ -37,8 +35,6 @@
"jsdom-global": "^3.0.2",
"lerna": "^3.20.2",
"markdown-it-include": "^1.0.0",
- "mocha": "^5.2.0",
- "mocha-webpack": "^1.0.1",
"rollup": "1",
"rollup-plugin-buble": "^0.19",
"rollup-plugin-commonjs": "10",
@@ -50,15 +46,12 @@
"vee-validate": "^2.1.3",
"vue": "^2.6.11",
"vue-class-component": "^7.2.3",
- "vue-loader": "^13.6.2",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.6.11",
"vue-template-compiler": "^2.6.11",
"vuepress": "^0.14.8",
"vuepress-theme-vue": "^1.0.3",
- "vuex": "^3.0.1",
- "webpack": "^3.0.1",
- "webpack-node-externals": "^2.5.0"
+ "vuex": "^3.0.1"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
diff --git a/yarn.lock b/yarn.lock
index da033176d..56f66c531 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2843,11 +2843,6 @@
"@types/istanbul-lib-coverage" "*"
"@types/istanbul-lib-report" "*"
-"@types/json-schema@^7.0.4":
- version "7.0.5"
- resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd"
- integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==
-
"@types/minimatch@*":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
@@ -3191,12 +3186,6 @@ accepts@^1.2.2:
mime-types "~2.1.18"
negotiator "0.6.1"
-acorn-dynamic-import@^2.0.0:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4"
- dependencies:
- acorn "^4.0.3"
-
acorn-dynamic-import@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278"
@@ -3242,10 +3231,6 @@ acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
-acorn@^4.0.3:
- version "4.0.13"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
-
acorn@^5.0.0, acorn@^5.4.0, acorn@^5.7.1:
version "5.7.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
@@ -3298,7 +3283,7 @@ ajv-keywords@^2.1.0:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762"
integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=
-ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
+ajv-keywords@^3.0.0, ajv-keywords@^3.1.0:
version "3.5.2"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
@@ -3312,7 +3297,7 @@ ajv@^5.2.3, ajv@^5.3.0:
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.3.0"
-ajv@^6.0.1, ajv@^6.1.0, ajv@^6.12.2, ajv@^6.12.3:
+ajv@^6.0.1, ajv@^6.1.0, ajv@^6.12.3:
version "6.12.3"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
@@ -3342,14 +3327,6 @@ algoliasearch@^3.24.5:
semver "^5.1.0"
tunnel-agent "^0.6.0"
-align-text@^0.1.1, align-text@^0.1.3:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117"
- dependencies:
- kind-of "^3.0.2"
- longest "^1.0.1"
- repeat-string "^1.5.2"
-
alphanum-sort@^1.0.1, alphanum-sort@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
@@ -3423,14 +3400,6 @@ any-promise@^1.0.0, any-promise@^1.1.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
-anymatch@^1.3.0:
- version "1.3.2"
- resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a"
- integrity sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==
- dependencies:
- micromatch "^2.1.5"
- normalize-path "^2.0.0"
-
anymatch@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
@@ -3592,12 +3561,6 @@ async@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
-async@^2.1.2:
- version "2.6.0"
- resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4"
- dependencies:
- lodash "^4.14.0"
-
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -3697,17 +3660,6 @@ babel-loader@8.0.0-beta.3:
mkdirp "^0.5.1"
util.promisify "^1.0.0"
-babel-loader@^8.0.0:
- version "8.1.0"
- resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.1.0.tgz#c611d5112bd5209abe8b9fa84c3e4da25275f1c3"
- integrity sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw==
- dependencies:
- find-cache-dir "^2.1.0"
- loader-utils "^1.4.0"
- mkdirp "^0.5.3"
- pify "^4.0.1"
- schema-utils "^2.6.5"
-
babel-plugin-dynamic-import-node@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-1.2.0.tgz#f91631e703e0595e47d4beafbb088576c87fbeee"
@@ -3786,7 +3738,7 @@ babel-preset-jest@^26.2.0:
babel-plugin-jest-hoist "^26.2.0"
babel-preset-current-node-syntax "^0.1.2"
-babel-runtime@^6.18.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
+babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
dependencies:
@@ -3939,11 +3891,6 @@ browser-process-hrtime@^1.0.0:
resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626"
integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==
-browser-stdout@1.3.1:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
- integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
-
browserify-aes@^1.0.0, browserify-aes@^1.0.4:
version "1.1.1"
resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.1.1.tgz#38b7ab55edb806ff2dcda1a7f1620773a477c49f"
@@ -4220,19 +4167,10 @@ camelcase-keys@^4.0.0:
map-obj "^2.0.0"
quick-lru "^1.0.0"
-camelcase@^1.0.2:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39"
-
camelcase@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f"
-camelcase@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a"
- integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo=
-
camelcase@^4.0.0, camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
@@ -4281,13 +4219,6 @@ caseless@~0.12.0:
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
-center-align@^0.1.1:
- version "0.1.3"
- resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad"
- dependencies:
- align-text "^0.1.3"
- lazy-cache "^1.0.3"
-
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -4353,21 +4284,6 @@ cheerio@^1.0.0-rc.2:
lodash "^4.15.0"
parse5 "^3.0.1"
-chokidar@^1.6.1:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468"
- dependencies:
- anymatch "^1.3.0"
- async-each "^1.0.0"
- glob-parent "^2.0.0"
- inherits "^2.0.1"
- is-binary-path "^1.0.0"
- is-glob "^2.0.0"
- path-is-absolute "^1.0.0"
- readdirp "^2.0.0"
- optionalDependencies:
- fsevents "^1.0.0"
-
chokidar@^2.0.2, chokidar@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.3.tgz#dcbd4f6cbb2a55b4799ba8a840ac527e5f4b1176"
@@ -4478,23 +4394,6 @@ clipboardy@^1.2.2:
arch "^2.1.0"
execa "^0.8.0"
-cliui@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1"
- dependencies:
- center-align "^0.1.1"
- right-align "^0.1.1"
- wordwrap "0.0.2"
-
-cliui@^3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
- integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=
- dependencies:
- string-width "^1.0.1"
- strip-ansi "^3.0.1"
- wrap-ansi "^2.0.0"
-
cliui@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
@@ -4621,7 +4520,7 @@ combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"
-commander@2.15.1, commander@2.15.x, commander@~2.15.0:
+commander@2.15.x, commander@~2.15.0:
version "2.15.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
@@ -4755,12 +4654,6 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
-consolidate@^0.14.0:
- version "0.14.5"
- resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.14.5.tgz#5a25047bc76f73072667c8cb52c989888f494c63"
- dependencies:
- bluebird "^3.1.1"
-
consolidate@^0.15.1:
version "0.15.1"
resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.15.1.tgz#21ab043235c71a07d45d9aad98593b0dba56bab7"
@@ -5142,7 +5035,7 @@ css-color-names@0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
-css-loader@^0.28.11, css-loader@^0.28.4:
+css-loader@^0.28.11:
version "0.28.11"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.11.tgz#c3f9864a700be2711bb5a2462b2389b1a392dab7"
dependencies:
@@ -5395,7 +5288,7 @@ decamelize-keys@^1.0.0:
decamelize "^1.1.0"
map-obj "^1.0.0"
-decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0:
+decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@@ -5579,11 +5472,6 @@ diff-sequences@^26.0.0:
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6"
integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==
-diff@3.5.0:
- version "3.5.0"
- resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
- integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
-
diffie-hellman@^5.0.0:
version "5.0.2"
resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e"
@@ -5811,15 +5699,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
-enhanced-resolve@^3.4.0:
- version "3.4.1"
- resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e"
- dependencies:
- graceful-fs "^4.1.2"
- memory-fs "^0.4.0"
- object-assign "^4.0.1"
- tapable "^0.2.7"
-
enhanced-resolve@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.0.0.tgz#e34a6eaa790f62fccd71d93959f56b2b432db10a"
@@ -5890,14 +5769,14 @@ es-to-primitive@^1.1.1:
is-date-object "^1.0.1"
is-symbol "^1.0.1"
-es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
+es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
version "0.10.39"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.39.tgz#fca21b67559277ca4ac1a1ed7048b107b6f76d87"
dependencies:
es6-iterator "~2.0.3"
es6-symbol "~3.1.1"
-es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
+es6-iterator@~2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
dependencies:
@@ -5905,17 +5784,6 @@ es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
es5-ext "^0.10.35"
es6-symbol "^3.1.1"
-es6-map@^0.1.3:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/es6-map/-/es6-map-0.1.5.tgz#9136e0503dcc06a301690f0bb14ff4e364e949f0"
- dependencies:
- d "1"
- es5-ext "~0.10.14"
- es6-iterator "~2.0.1"
- es6-set "~0.1.5"
- es6-symbol "~3.1.1"
- event-emitter "~0.3.5"
-
es6-promise@^4.0.3, es6-promise@^4.1.0:
version "4.2.4"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29"
@@ -5927,32 +5795,13 @@ es6-promisify@^5.0.0:
dependencies:
es6-promise "^4.0.3"
-es6-set@~0.1.5:
- version "0.1.5"
- resolved "https://registry.yarnpkg.com/es6-set/-/es6-set-0.1.5.tgz#d2b3ec5d4d800ced818db538d28974db0a73ccb1"
- dependencies:
- d "1"
- es5-ext "~0.10.14"
- es6-iterator "~2.0.1"
- es6-symbol "3.1.1"
- event-emitter "~0.3.5"
-
-es6-symbol@3.1.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
+es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
dependencies:
d "1"
es5-ext "~0.10.14"
-es6-weak-map@^2.0.1:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.2.tgz#5e3ab32251ffd1538a1f8e5ffa1357772f92d96f"
- dependencies:
- d "1"
- es5-ext "^0.10.14"
- es6-iterator "^2.0.1"
- es6-symbol "^3.1.1"
-
escalade@^3.0.1:
version "3.0.2"
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4"
@@ -5962,7 +5811,7 @@ escape-html@^1.0.3, escape-html@~1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
-escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
+escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
@@ -5984,15 +5833,6 @@ escodegen@^1.11.0, escodegen@^1.14.1:
optionalDependencies:
source-map "~0.6.1"
-escope@^3.6.0:
- version "3.6.0"
- resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3"
- dependencies:
- es6-map "^0.1.3"
- es6-weak-map "^2.0.1"
- esrecurse "^4.1.0"
- estraverse "^4.1.1"
-
eslint-plugin-flowtype@^2.46.1:
version "2.46.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.46.1.tgz#c4f81d580cd89c82bc3a85a1ccf4ae3a915143a4"
@@ -6120,13 +5960,6 @@ esutils@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
-event-emitter@~0.3.5:
- version "0.3.5"
- resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39"
- dependencies:
- d "1"
- es5-ext "~0.10.14"
-
eventemitter3@^3.1.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
@@ -6473,15 +6306,6 @@ find-cache-dir@^1.0.0:
make-dir "^1.0.0"
pkg-dir "^2.0.0"
-find-cache-dir@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7"
- integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==
- dependencies:
- commondir "^1.0.1"
- make-dir "^2.0.0"
- pkg-dir "^3.0.0"
-
find-node-modules@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/find-node-modules/-/find-node-modules-2.0.0.tgz#5db1fb9e668a3d451db3d618cd167cdd59e41b69"
@@ -6657,7 +6481,7 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
-fsevents@^1.0.0, fsevents@^1.1.2:
+fsevents@^1.1.2:
version "1.2.11"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3"
integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==
@@ -6702,11 +6526,6 @@ gensync@^1.0.0-beta.1:
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269"
integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==
-get-caller-file@^1.0.1:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
- integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==
-
get-caller-file@^2.0.1:
version "2.0.5"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
@@ -6889,17 +6708,6 @@ glob@7.0.x:
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@7.1.2:
- version "7.1.2"
- resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
- 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.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
@@ -7070,11 +6878,6 @@ gray-matter@^4.0.1:
section-matter "^1.0.0"
strip-bom-string "^1.0.0"
-growl@1.10.5:
- version "1.10.5"
- resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
- integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
-
growly@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
@@ -7119,10 +6922,6 @@ has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
-has-flag@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
-
has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
@@ -7199,7 +6998,7 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"
-he@1.1.1, he@1.1.x, he@^1.1.0:
+he@1.1.x, he@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
@@ -7599,7 +7398,7 @@ inquirer@^6.2.0:
strip-ansi "^5.1.0"
through "^2.3.6"
-interpret@^1.0.0, interpret@^1.0.1:
+interpret@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==
@@ -7611,11 +7410,6 @@ invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.4:
dependencies:
loose-envify "^1.0.0"
-invert-kv@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
- integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY=
-
ip-regex@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
@@ -8641,10 +8435,6 @@ jsesc@~0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
-json-loader@^0.5.4:
- version "0.5.7"
- resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
-
json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
@@ -8679,7 +8469,7 @@ json5@2.x, json5@^2.1.2:
dependencies:
minimist "^1.2.5"
-json5@^0.5.0, json5@^0.5.1:
+json5@^0.5.0:
version "0.5.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
@@ -8850,17 +8640,6 @@ latest-version@^3.0.0:
dependencies:
package-json "^4.0.0"
-lazy-cache@^1.0.3:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
-
-lcid@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
- integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=
- dependencies:
- invert-kv "^1.0.0"
-
leb@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/leb/-/leb-0.3.0.tgz#32bee9fad168328d6aea8522d833f4180eed1da3"
@@ -8994,15 +8773,6 @@ load-json-file@^1.0.0:
pinkie-promise "^2.0.0"
strip-bom "^2.0.0"
-load-json-file@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
- dependencies:
- graceful-fs "^4.1.2"
- parse-json "^2.2.0"
- pify "^2.0.0"
- strip-bom "^3.0.0"
-
load-json-file@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
@@ -9040,7 +8810,7 @@ loader-utils@^0.2.16:
json5 "^0.5.0"
object-assign "^4.0.1"
-loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.4.0:
+loader-utils@^1.0.2, loader-utils@^1.1.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@@ -9076,11 +8846,6 @@ lodash._reinterpolate@^3.0.0:
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=
-lodash.assign@^4.0.3, lodash.assign@^4.0.6:
- version "4.2.0"
- resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7"
- integrity sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=
-
lodash.camelcase@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"
@@ -9150,7 +8915,7 @@ lodash@4.17.15:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
-lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0:
+lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
@@ -9194,10 +8959,6 @@ long@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
-longest@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
-
longest@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8"
@@ -9268,7 +9029,7 @@ make-dir@^1.0.0:
dependencies:
pify "^3.0.0"
-make-dir@^2.0.0, make-dir@^2.1.0:
+make-dir@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==
@@ -9388,13 +9149,7 @@ media-typer@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
-mem@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"
- dependencies:
- mimic-fn "^1.0.0"
-
-memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1:
+memory-fs@^0.4.0, memory-fs@~0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
dependencies:
@@ -9479,7 +9234,7 @@ micromatch@4.x, micromatch@^4.0.2:
braces "^3.0.1"
picomatch "^2.0.5"
-micromatch@^2.1.5, micromatch@^2.3.11:
+micromatch@^2.3.11:
version "2.3.11"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
dependencies:
@@ -9572,7 +9327,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
-minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4:
+minimatch@^3.0.2, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -9586,11 +9341,6 @@ minimist-options@^3.0.1:
arrify "^1.0.1"
is-plain-obj "^1.1.0"
-minimist@0.0.8:
- version "0.0.8"
- resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
- integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
-
minimist@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
@@ -9665,7 +9415,7 @@ mkdirp-promise@^5.0.1:
dependencies:
mkdirp "*"
-mkdirp@*, mkdirp@0.5.x, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.0, mkdirp@~0.5.1:
+mkdirp@*, mkdirp@0.5.x, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
@@ -9676,53 +9426,6 @@ mkdirp@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e"
-mkdirp@0.5.1:
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
- integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
- dependencies:
- minimist "0.0.8"
-
-mocha-webpack@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/mocha-webpack/-/mocha-webpack-1.1.0.tgz#292158fc191641c943c1ee615329504f47c4b0ba"
- integrity sha512-brmE0tR6G5JbEzZXspJmF/uZm2J/YM/69M3VS6ND76i6wXbebFpE+bQDaehilK8CZanNSsTCcqTTLh1PZuRKJw==
- dependencies:
- babel-runtime "^6.18.0"
- chalk "^2.3.0"
- chokidar "^1.6.1"
- glob-parent "^3.1.0"
- globby "^6.1.0"
- interpret "^1.0.1"
- is-glob "^4.0.0"
- loader-utils "^1.1.0"
- lodash "^4.3.0"
- memory-fs "^0.4.1"
- nodent-runtime "^3.0.3"
- normalize-path "^2.0.1"
- progress "^2.0.0"
- source-map-support "^0.5.0"
- strip-ansi "^4.0.0"
- toposort "^1.0.0"
- yargs "^4.8.0"
-
-mocha@^5.2.0:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6"
- integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==
- dependencies:
- browser-stdout "1.3.1"
- commander "2.15.1"
- debug "3.1.0"
- diff "3.5.0"
- escape-string-regexp "1.0.5"
- glob "7.1.2"
- growl "1.10.5"
- he "1.1.1"
- minimatch "3.0.4"
- mkdirp "0.5.1"
- supports-color "5.4.0"
-
modify-values@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2"
@@ -9934,11 +9637,6 @@ node-releases@^1.1.58:
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.60.tgz#6948bdfce8286f0b5d0e5a88e8384e954dfe7084"
integrity sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA==
-nodent-runtime@^3.0.3:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/nodent-runtime/-/nodent-runtime-3.2.1.tgz#9e2755d85e39f764288f0d4752ebcfe3e541e00e"
- integrity sha512-7Ws63oC+215smeKJQCxzrK21VFVlCFBkwl0MOObt0HOpVQXs3u483sAmtkF33nNqZ5rSOQjB76fgyPBmAUrtCA==
-
nopt@1.0.10:
version "1.0.10"
resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
@@ -9963,7 +9661,7 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"
-normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
+normalize-path@^2.0.1, normalize-path@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
dependencies:
@@ -10238,21 +9936,6 @@ os-homedir@^2.0.0:
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-2.0.0.tgz#a0c76bb001a8392a503cbd46e7e650b3423a923c"
integrity sha512-saRNz0DSC5C/I++gFIaJTXoFJMRwiP5zHar5vV3xQ2TkgEw6hDCcU5F272JjUylpiVgBrZNQHnfjkLabTfb92Q==
-os-locale@^1.4.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9"
- integrity sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=
- dependencies:
- lcid "^1.0.0"
-
-os-locale@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2"
- dependencies:
- execa "^0.7.0"
- lcid "^1.0.0"
- mem "^1.1.0"
-
os-name@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801"
@@ -10566,12 +10249,6 @@ path-type@^1.0.0:
pify "^2.0.0"
pinkie-promise "^2.0.0"
-path-type@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
- dependencies:
- pify "^2.0.0"
-
path-type@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
@@ -10742,7 +10419,7 @@ postcss-filter-plugins@^2.0.0:
postcss "^5.0.4"
uniqid "^4.0.0"
-postcss-load-config@^1.1.0, postcss-load-config@^1.2.0:
+postcss-load-config@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-1.2.0.tgz#539e9afc9ddc8620121ebf9d8c3673e0ce50d28a"
dependencies:
@@ -10968,7 +10645,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6"
supports-color "^3.2.3"
-postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.20, postcss@^6.0.22, postcss@^6.0.8:
+postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.20, postcss@^6.0.22:
version "6.0.22"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.22.tgz#e23b78314905c3b90cbd61702121e7a78848f2a3"
dependencies:
@@ -10998,7 +10675,7 @@ preserve@^0.2.0:
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=
-prettier@^1.13.7, prettier@^1.16.0, prettier@^1.18.2, prettier@^1.7.0:
+prettier@^1.13.7, prettier@^1.16.0, prettier@^1.18.2:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
@@ -11275,13 +10952,6 @@ read-pkg-up@^1.0.1:
find-up "^1.0.0"
read-pkg "^1.0.0"
-read-pkg-up@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
- dependencies:
- find-up "^2.0.0"
- read-pkg "^2.0.0"
-
read-pkg-up@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07"
@@ -11307,14 +10977,6 @@ read-pkg@^1.0.0:
normalize-package-data "^2.3.2"
path-type "^1.0.0"
-read-pkg@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
- dependencies:
- load-json-file "^2.0.0"
- normalize-package-data "^2.3.2"
- path-type "^2.0.0"
-
read-pkg@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
@@ -11656,11 +11318,6 @@ require-from-string@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-1.2.1.tgz#529c9ccef27380adfec9a2f965b649bbee636418"
-require-main-filename@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
- integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=
-
require-main-filename@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
@@ -11730,7 +11387,7 @@ resolve-url@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
-resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.17.0, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.6.0:
+resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.17.0, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.6.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
@@ -11758,12 +11415,6 @@ reusify@^1.0.0:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
-right-align@^0.1.1:
- version "0.1.3"
- resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
- dependencies:
- align-text "^0.1.1"
-
right-pad@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
@@ -11974,15 +11625,6 @@ schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3, schema-utils@^0.4
ajv "^6.1.0"
ajv-keywords "^3.1.0"
-schema-utils@^2.6.5:
- version "2.7.0"
- resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7"
- integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==
- dependencies:
- "@types/json-schema" "^7.0.4"
- ajv "^6.12.2"
- ajv-keywords "^3.4.1"
-
section-matter@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167"
@@ -12235,7 +11877,7 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
source-map-url "^0.4.0"
urix "^0.1.0"
-source-map-support@^0.5.0, source-map-support@^0.5.6:
+source-map-support@^0.5.6:
version "0.5.19"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
@@ -12257,7 +11899,7 @@ source-map@0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
-source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
+source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
@@ -12597,12 +12239,6 @@ stylus@^0.54.5:
sax "0.5.x"
source-map "0.1.x"
-supports-color@5.4.0, supports-color@^5.3.0, supports-color@^5.4.0:
- version "5.4.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
- dependencies:
- has-flag "^3.0.0"
-
supports-color@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
@@ -12614,11 +12250,11 @@ supports-color@^3.2.3:
dependencies:
has-flag "^1.0.0"
-supports-color@^4.2.1:
- version "4.5.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
+supports-color@^5.3.0, supports-color@^5.4.0:
+ version "5.4.0"
+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
dependencies:
- has-flag "^2.0.0"
+ has-flag "^3.0.0"
supports-color@^6.1.0:
version "6.1.0"
@@ -12692,10 +12328,6 @@ table@^4.0.3:
slice-ansi "1.0.0"
string-width "^2.1.1"
-tapable@^0.2.7:
- version "0.2.8"
- resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22"
-
tapable@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0.tgz#cbb639d9002eed9c6b5975eb20598d7936f1f9f2"
@@ -13051,15 +12683,6 @@ uglify-js@3.3.x:
commander "~2.15.0"
source-map "~0.6.1"
-uglify-js@^2.8.29:
- version "2.8.29"
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
- dependencies:
- source-map "~0.5.1"
- yargs "~3.10.0"
- optionalDependencies:
- uglify-to-browserify "~1.0.0"
-
uglify-js@^3.1.4:
version "3.6.7"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.7.tgz#15f49211df6b8a01ee91322bbe46fa33223175dc"
@@ -13068,18 +12691,6 @@ uglify-js@^3.1.4:
commander "~2.20.3"
source-map "~0.6.1"
-uglify-to-browserify@~1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
-
-uglifyjs-webpack-plugin@^0.4.6:
- version "0.4.6"
- resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz#b951f4abb6bd617e66f63eb891498e391763e309"
- dependencies:
- source-map "^0.5.6"
- uglify-js "^2.8.29"
- webpack-sources "^1.0.1"
-
uglifyjs-webpack-plugin@^1.2.4:
version "1.2.5"
resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.5.tgz#2ef8387c8f1a903ec5e44fa36f9f3cbdcea67641"
@@ -13423,7 +13034,7 @@ vue-class-component@^7.2.3:
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
integrity sha512-oEqYpXKaFN+TaXU+mRLEx8dX0ah85aAJEe61mpdoUrq0Bhe/6sWhyZX1JjMQLhVsHAkncyhedhmCdDVSasUtDw==
-vue-hot-reload-api@^2.2.0, vue-hot-reload-api@^2.3.0:
+vue-hot-reload-api@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"
@@ -13440,24 +13051,6 @@ vue-jest@^4.0.0-beta.3:
source-map "0.5.6"
ts-jest "25.5.x"
-vue-loader@^13.6.2:
- version "13.7.1"
- resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.1.tgz#d9009d0abd392b4efe8b8fb1f542f6723b02dd3a"
- dependencies:
- consolidate "^0.14.0"
- hash-sum "^1.0.2"
- loader-utils "^1.1.0"
- lru-cache "^4.1.1"
- postcss "^6.0.8"
- postcss-load-config "^1.1.0"
- postcss-selector-parser "^2.0.0"
- prettier "^1.7.0"
- resolve "^1.4.0"
- source-map "^0.6.1"
- vue-hot-reload-api "^2.2.0"
- vue-style-loader "^3.0.0"
- vue-template-es2015-compiler "^1.6.0"
-
vue-loader@^15.2.4:
version "15.2.6"
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.2.6.tgz#4ad4e56a0ca1fd89ebc4220f9e3bd4723097b397"
@@ -13486,13 +13079,6 @@ vue-server-renderer@^2.5.16, vue-server-renderer@^2.6.11:
serialize-javascript "^2.1.2"
source-map "0.5.6"
-vue-style-loader@^3.0.0:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.1.2.tgz#6b66ad34998fc9520c2f1e4d5fa4091641c1597a"
- dependencies:
- hash-sum "^1.0.2"
- loader-utils "^1.0.2"
-
vue-style-loader@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.0.tgz#7588bd778e2c9f8d87bfc3c5a4a039638da7a863"
@@ -13621,7 +13207,7 @@ walker@^1.0.7, walker@~1.0.5:
dependencies:
makeerror "1.0.x"
-watchpack@^1.4.0, watchpack@^1.5.0:
+watchpack@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
dependencies:
@@ -13704,10 +13290,6 @@ webpack-merge@^4.1.2:
dependencies:
lodash "^4.17.5"
-webpack-node-externals@^2.5.0:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-2.5.0.tgz#8d50f3289c71bc2b921a8da228e0b652acc503f1"
-
webpack-serve@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/webpack-serve/-/webpack-serve-1.0.4.tgz#d1c83955926969ba195e5032f978da92ef07829c"
@@ -13744,33 +13326,6 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0:
source-list-map "^2.0.0"
source-map "~0.6.1"
-webpack@^3.0.1:
- version "3.11.0"
- resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.11.0.tgz#77da451b1d7b4b117adaf41a1a93b5742f24d894"
- dependencies:
- acorn "^5.0.0"
- acorn-dynamic-import "^2.0.0"
- ajv "^6.1.0"
- ajv-keywords "^3.1.0"
- async "^2.1.2"
- enhanced-resolve "^3.4.0"
- escope "^3.6.0"
- interpret "^1.0.0"
- json-loader "^0.5.4"
- json5 "^0.5.1"
- loader-runner "^2.3.0"
- loader-utils "^1.1.0"
- memory-fs "~0.4.1"
- mkdirp "~0.5.0"
- node-libs-browser "^2.0.0"
- source-map "^0.5.3"
- supports-color "^4.2.1"
- tapable "^0.2.7"
- uglifyjs-webpack-plugin "^0.4.6"
- watchpack "^1.4.0"
- webpack-sources "^1.0.1"
- yargs "^8.0.2"
-
webpack@^4.8.1:
version "4.8.3"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.8.3.tgz#957c8e80000f9e5cc03d775e78b472d8954f4eeb"
@@ -13850,11 +13405,6 @@ whet.extend@~0.9.9:
version "0.9.9"
resolved "https://registry.yarnpkg.com/whet.extend/-/whet.extend-0.9.9.tgz#f877d5bf648c97e5aa542fadc16d6a259b9c11a1"
-which-module@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
- integrity sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=
-
which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
@@ -13886,15 +13436,6 @@ widest-line@^2.0.0:
dependencies:
string-width "^2.1.1"
-window-size@0.1.0:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d"
-
-window-size@^0.2.0:
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075"
- integrity sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=
-
windows-release@^3.1.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f"
@@ -13907,10 +13448,6 @@ word-wrap@^1.0.3:
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==
-wordwrap@0.0.2:
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"
-
wordwrap@~0.0.2:
version "0.0.3"
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
@@ -14020,14 +13557,6 @@ worker-farm@^1.5.2:
dependencies:
errno "~0.1.7"
-wrap-ansi@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"
- integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=
- dependencies:
- string-width "^1.0.1"
- strip-ansi "^3.0.1"
-
wrap-ansi@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba"
@@ -14156,11 +13685,6 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
-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:
version "4.0.0"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
@@ -14196,20 +13720,6 @@ yargs-parser@^15.0.0:
camelcase "^5.0.0"
decamelize "^1.2.0"
-yargs-parser@^2.4.1:
- version "2.4.1"
- resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4"
- integrity sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=
- dependencies:
- camelcase "^3.0.0"
- lodash.assign "^4.0.6"
-
-yargs-parser@^7.0.0:
- version "7.0.0"
- resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9"
- dependencies:
- camelcase "^4.1.0"
-
yargs@^14.2.2:
version "14.2.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.2.tgz#2769564379009ff8597cdd38fba09da9b493c4b5"
@@ -14243,50 +13753,3 @@ yargs@^15.3.1:
which-module "^2.0.0"
y18n "^4.0.0"
yargs-parser "^18.1.2"
-
-yargs@^4.8.0:
- version "4.8.1"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0"
- integrity sha1-wMQpJMpKqmsObaFznfshZDn53cA=
- dependencies:
- cliui "^3.2.0"
- decamelize "^1.1.1"
- get-caller-file "^1.0.1"
- lodash.assign "^4.0.3"
- os-locale "^1.4.0"
- read-pkg-up "^1.0.1"
- require-directory "^2.1.1"
- require-main-filename "^1.0.1"
- set-blocking "^2.0.0"
- string-width "^1.0.1"
- which-module "^1.0.0"
- window-size "^0.2.0"
- y18n "^3.2.1"
- yargs-parser "^2.4.1"
-
-yargs@^8.0.2:
- version "8.0.2"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"
- dependencies:
- camelcase "^4.1.0"
- cliui "^3.2.0"
- decamelize "^1.1.1"
- get-caller-file "^1.0.1"
- os-locale "^2.0.0"
- read-pkg-up "^2.0.0"
- require-directory "^2.1.1"
- require-main-filename "^1.0.1"
- set-blocking "^2.0.0"
- string-width "^2.0.0"
- which-module "^2.0.0"
- y18n "^3.2.1"
- yargs-parser "^7.0.0"
-
-yargs@~3.10.0:
- version "3.10.0"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"
- dependencies:
- camelcase "^1.0.2"
- cliui "^2.1.0"
- decamelize "^1.0.0"
- window-size "0.1.0"
From dcbbb1b7dc2c6e873ef345f76392a4661bf6622d Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 14:34:40 -0400
Subject: [PATCH 40/46] ci(unit tests): run Jest tests in single thread to
prevent OOM exception
Since the circle container is only 4GB, running jest tests in parallel is problematic as the
container frequently runs out of memory. The memoryt can either be increased, or the tests can run
in a single thread
---
.circleci/config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 5c5e428ac..2b1f4faa4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -50,7 +50,7 @@ jobs:
- *restore_node_modules
- run:
name: yarn test:unit
- command: yarn test:unit
+ command: yarn test:unit -w 1
workflows:
version: 2
install-tests:
From cfd494f9af1646b340b82740829f1eefcf695ee6 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 1 Aug 2020 15:37:18 -0400
Subject: [PATCH 41/46] chore(package.json): move babel dependencies to dev
dependencies
Babel is now only currently used by jest or systems under test. These should now be considered
development dependencies
---
package.json | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/package.json b/package.json
index 2dbaa6aac..a65b0bfa6 100644
--- a/package.json
+++ b/package.json
@@ -12,16 +12,6 @@
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
- "@babel/core": "^7.0.0",
- "babel-eslint": "^9.0.0",
- "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
- "@vue/babel-preset-jsx": "^1.1.2",
- "@babel/plugin-syntax-jsx": "^7.0.0",
- "@babel/plugin-proposal-decorators": "^7.0.0",
- "@babel/plugin-transform-flow-strip-types": "^7.0.0",
- "@babel/plugin-proposal-class-properties": "^7.0.0",
- "@babel/plugin-syntax-flow": "^7.0.0",
- "@babel/preset-env": "^7.0.0",
"chalk": "^2.4.2",
"conditional-specs": "^1.0.1",
"conventional-changelog": "^3.1.12",
@@ -54,9 +44,19 @@
"vuex": "^3.0.1"
},
"devDependencies": {
+ "@babel/core": "^7.0.0",
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
+ "@babel/plugin-proposal-decorators": "^7.0.0",
+ "@babel/plugin-syntax-flow": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.0.0",
+ "@babel/plugin-transform-flow-strip-types": "^7.0.0",
+ "@babel/preset-env": "^7.0.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
+ "@vue/babel-preset-jsx": "^1.1.2",
+ "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/composition-api": "^0.6.4",
+ "babel-eslint": "^9.0.0",
"babel-jest": "^26.0.1",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
From 4517528cf33cf0e706497df2df751e15d2462ae5 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sun, 2 Aug 2020 17:19:07 -0400
Subject: [PATCH 42/46] improvement(test/setup): reimplement Browser Unit Tests
After converting to Jest, browser tests were removed due to capatability issues. This reimplements
the browser tests with similar techniques.
All related webpack/loaders have been updated to use the latest stable
releases
Chrome/HeadlessChrome is now being used to run these tests over the deprecated
PhantomJS
Karma and Jasmine are being used as a test runner while leveraging Jest's expect/assertion and mock/stubbing libraries
Highly inspired by https://github.com/tom-sherman/blog/blob/master/posts/02-running-jest-tests-in-a-browser.md.
1629
---
.circleci/config.yml | 28 +-
babel.config.js | 24 +-
package.json | 28 +-
packages/test-utils/src/wrapper.js | 4 +-
scripts/test-compat.sh | 17 +-
test/resources/utils.js | 4 +-
test/setup/karma.config.js | 42 +
test/setup/karma.setup.js | 22 +
test/setup/load-tests.js | 10 +
test/setup/webpack.test.config.js | 77 +
test/specs/create-dom-event.spec.js | 4 +-
test/specs/mount.spec.js | 4 +-
test/specs/mounting-options/attrs.spec.js | 4 +-
test/specs/mounting-options/listeners.spec.js | 8 +-
test/specs/mounting-options/localVue.spec.js | 4 +-
test/specs/shallow-mount.spec.js | 2 +-
test/specs/wrapper/contains.spec.js | 6 +-
test/specs/wrapper/find.spec.js | 6 +-
test/specs/wrapper/findAll.spec.js | 6 +-
test/specs/wrapper/isEmpty.spec.js | 9 +-
test/specs/wrapper/setProps.spec.js | 170 +-
test/specs/wrapper/setValue.spec.js | 22 +-
test/specs/wrapper/trigger.spec.js | 6 +-
yarn.lock | 1409 ++++++++++++++++-
24 files changed, 1746 insertions(+), 170 deletions(-)
create mode 100644 test/setup/karma.config.js
create mode 100644 test/setup/karma.setup.js
create mode 100644 test/setup/load-tests.js
create mode 100644 test/setup/webpack.test.config.js
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2b1f4faa4..b85fddcd9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -42,6 +42,15 @@ jobs:
- run:
name: yarn bootstrap
command: yarn bootstrap
+ build_test:
+ <<: *defaults
+ steps:
+ - attach_workspace:
+ at: ~/repo
+ - *restore_node_modules
+ - run:
+ name: yarn build:test
+ command: yarn build:test
test:
<<: *defaults
steps:
@@ -49,8 +58,15 @@ jobs:
at: ~/repo
- *restore_node_modules
- run:
- name: yarn test:unit
- command: yarn test:unit -w 1
+ name: yarn test
+ command: yarn test
+ test_compat:
+ <<: *defaults
+ steps:
+ - attach_workspace:
+ at: ~/repo
+ - *restore_node_modules
+ - run: yarn test:compat
workflows:
version: 2
install-tests:
@@ -59,6 +75,14 @@ workflows:
- bootstrap:
requires:
- install
+ - build_test:
+ requires:
+ - install
- test:
requires:
- install
+ - test_compat:
+ requires:
+ - install
+ - build_test
+ - test
diff --git a/babel.config.js b/babel.config.js
index 489067f6a..e7d78a63b 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,4 +1,4 @@
-module.exports = {
+const defaultOptions = {
presets: [
[
'@babel/preset-env',
@@ -19,3 +19,25 @@ module.exports = {
],
comments: false
}
+
+module.exports = api => {
+ if (api.env('browser')) {
+ // If running in the browser, use core-js to polyfill potentially missing functionality
+ return {
+ ...defaultOptions,
+ presets: [
+ [
+ '@babel/preset-env',
+ {
+ // currently, there are dependency resolution issues with older versions of vuepress. Once vuepress is upgraded, core-js can be moved to version 3
+ corejs: 2,
+ useBuiltIns: 'entry'
+ }
+ ],
+ '@vue/babel-preset-jsx'
+ ]
+ }
+ } else {
+ return defaultOptions
+ }
+}
diff --git a/package.json b/package.json
index a65b0bfa6..969cc4162 100644
--- a/package.json
+++ b/package.json
@@ -6,9 +6,18 @@
],
"scripts": {
"bootstrap": "lerna bootstrap",
+ "build:test": "lerna run build:test",
"docs": "vuepress dev docs",
"docs:build": "vuepress build docs",
+ "flow": "flow check",
+ "lint": "eslint --ext js,vue .",
+ "lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
+ "format": "prettier --write \"**/*.{js,json,vue,md}\"",
+ "format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
+ "test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit -w 1 && yarn test:unit:browser",
+ "test:compat": "scripts/test-compat.sh",
"test:unit": "cross-env TARGET=dev yarn jest",
+ "test:unit:browser": "cross-env TEST_ENV=browser TARGET=browser NODE_ENV=browser karma start ./test/setup/karma.config.js",
"test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types"
},
"dependencies": {
@@ -53,21 +62,36 @@
"@babel/preset-env": "^7.0.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
- "@vue/babel-preset-jsx": "^1.1.2",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
+ "@vue/babel-preset-jsx": "^1.1.2",
"@vue/composition-api": "^0.6.4",
"babel-eslint": "^9.0.0",
"babel-jest": "^26.0.1",
+ "babel-loader": "^8.1.0",
"commitizen": "^4.0.3",
+ "core-js": "2",
+ "css-loader": "^4.2.0",
"cz-conventional-changelog": "^3.0.2",
+ "expect": "^26.2.0",
"husky": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.0.1",
+ "jest-mock": "^26.2.0",
+ "karma": "^5.1.1",
+ "karma-chrome-launcher": "^3.1.0",
+ "karma-jasmine": "^3.3.1",
+ "karma-spec-reporter": "^0.0.32",
+ "karma-webpack": "^4.0.2",
"lint-staged": "^9.5.0",
"prettier": "^1.16.0",
+ "puppeteer": "^5.2.1",
"rollup-plugin-delete": "^1.2.0",
"rollup-plugin-replace": "^2.2.0",
- "vue-jest": "^4.0.0-beta.3"
+ "vue-jest": "^4.0.0-beta.3",
+ "vue-loader": "^15.9.3",
+ "vue-style-loader": "^4.1.2",
+ "webpack": "^4.44.1",
+ "webpack-node-externals": "^2.5.0"
},
"config": {
"commitizen": {
diff --git a/packages/test-utils/src/wrapper.js b/packages/test-utils/src/wrapper.js
index f93295386..6d1e49e6c 100644
--- a/packages/test-utils/src/wrapper.js
+++ b/packages/test-utils/src/wrapper.js
@@ -716,7 +716,9 @@ export default class Wrapper implements BaseWrapper {
const isUpdated = Object.keys(data).some(key => {
return (
// $FlowIgnore : Problem with possibly null this.vm
- this.vm[key] === data[key] || this.vm.$attrs[key] === data[key]
+ this.vm[key] === data[key] ||
+ // $FlowIgnore : Problem with possibly null this.vm
+ (this.vm.$attrs && this.vm.$attrs[key] === data[key])
)
})
return !isUpdated ? this.setProps(data).then(resolve()) : resolve()
diff --git a/scripts/test-compat.sh b/scripts/test-compat.sh
index 165ebffd7..0bb53b15a 100755
--- a/scripts/test-compat.sh
+++ b/scripts/test-compat.sh
@@ -2,11 +2,20 @@
set -e
+apt-get install bc
+
run() {
- echo "running unit tests with Vue $1"
- yarn add --pure-lockfile --non-interactive -W -D "vue@$1" "vue-template-compiler@$1" "vue-server-renderer@$1"
- yarn test:unit:only
- yarn test:unit:karma:only
+ # Only run tests for vue versions above 2.1.
+ # There are quite a few errors present with running the tests in Vue 2.1 and Vue 2.0, including in Node and in browser
+ browserTestCutoff="2.1"
+
+ if [ 1 -eq "$(echo "${browserTestCutoff} < ${1}" | bc)" ]
+ then
+ echo "running unit tests with Vue $1"
+ yarn add --pure-lockfile --non-interactive -W -D "vue@$1" "vue-template-compiler@$1" "vue-server-renderer@$1"
+ yarn test:unit -w 1
+ yarn test:unit:browser
+ fi
}
yarn build:test
diff --git a/test/resources/utils.js b/test/resources/utils.js
index 1978ec793..b265c94e6 100644
--- a/test/resources/utils.js
+++ b/test/resources/utils.js
@@ -13,10 +13,10 @@ export const isRunningJSDOM =
navigator.userAgent.includes &&
navigator.userAgent.includes('jsdom')
-export const isRunningPhantomJS =
+export const isRunningChrome =
typeof navigator !== 'undefined' &&
navigator.userAgent.includes &&
- navigator.userAgent.match(/PhantomJS/i)
+ navigator.userAgent.match(/Chrome/i)
export const injectSupported = vueVersion > 2.2
diff --git a/test/setup/karma.config.js b/test/setup/karma.config.js
new file mode 100644
index 000000000..8bebf7eed
--- /dev/null
+++ b/test/setup/karma.config.js
@@ -0,0 +1,42 @@
+const webpackConfig = require('./webpack.test.config.js')
+
+if (process.env.CI) {
+ // For CI runs, an installation of chrome/chromium is required
+ // see https://github.com/karma-runner/karma-chrome-launcher#headless-chromium-with-puppeteer for more details
+ process.env.CHROME_BIN = require('puppeteer').executablePath()
+}
+
+module.exports = config => {
+ config.set({
+ browsers: [process.env.CI ? 'ChromeHeadlessNoSandbox' : 'Chrome'],
+ ...(process.env.CI
+ ? {
+ customLaunchers: {
+ ChromeHeadlessNoSandbox: {
+ base: 'ChromeHeadless',
+ flags: ['--no-sandbox']
+ }
+ }
+ }
+ : {}),
+ singleRun: !!process.env.CI,
+ plugins: [
+ 'karma-webpack',
+ 'karma-jasmine',
+ 'karma-chrome-launcher',
+ 'karma-spec-reporter'
+ ],
+ basePath: '../../',
+ reporters: ['spec'],
+ frameworks: ['jasmine'],
+ files: ['./test/setup/karma.setup.js', './test/setup/load-tests.js'],
+ preprocessors: {
+ './test/setup/karma.setup.js': ['webpack'],
+ './test/setup/load-tests.js': ['webpack']
+ },
+ webpack: webpackConfig,
+ webpackMiddleware: {
+ noInfo: true
+ }
+ })
+}
diff --git a/test/setup/karma.setup.js b/test/setup/karma.setup.js
new file mode 100644
index 000000000..993291bd0
--- /dev/null
+++ b/test/setup/karma.setup.js
@@ -0,0 +1,22 @@
+/**
+ * Since running in the browser, polyfill missing functionality with core-js,
+ * as well as include the regenerator runtime.
+ * Please see https://babeljs.io/docs/en/babel-polyfill and https://github.com/zloirock/core-js for more details
+ */
+import 'core-js'
+import 'regenerator-runtime/runtime'
+
+import jest from 'jest-mock'
+import expect from 'expect'
+
+// Add Jest API to the global scope / browser window
+// Jasmine will be used as the test runner while leveraging Jest's expect/assertion and mock/stubbing libraries
+window.test = window.it
+window.test.each = inputs => (testName, test) =>
+ inputs.forEach(args => window.it(testName, () => test(...args)))
+window.test.todo = window.test.skip = () => {
+ return undefined
+}
+
+window.jest = jest
+window.expect = expect
diff --git a/test/setup/load-tests.js b/test/setup/load-tests.js
new file mode 100644
index 000000000..6ad10a846
--- /dev/null
+++ b/test/setup/load-tests.js
@@ -0,0 +1,10 @@
+/**
+ * require.context is used in order to build one bundle with karma-webpack.
+ * If globstars are used, a bundle is created per glob match.
+ * This creates obvious memory issues and is not desired.
+ *
+ * Please see https://github.com/webpack-contrib/karma-webpack#alternative-usage for more details
+ */
+const testsContext = require.context('../specs', true, /\.spec\.(js|vue)$/)
+
+testsContext.keys().forEach(testsContext)
diff --git a/test/setup/webpack.test.config.js b/test/setup/webpack.test.config.js
new file mode 100644
index 000000000..ca7300e8b
--- /dev/null
+++ b/test/setup/webpack.test.config.js
@@ -0,0 +1,77 @@
+/* eslint-disable max-len */
+
+const nodeExternals = require('webpack-node-externals')
+const webpack = require('webpack')
+const VueLoaderPlugin = require('vue-loader/lib/plugin')
+
+const browser = process.env.TARGET === 'browser'
+const path = require('path')
+
+const projectRoot = path.resolve(__dirname, '../../')
+
+const rules = [].concat(
+ {
+ test: /\.vue$/,
+ use: 'vue-loader'
+ },
+ {
+ test: /\.js$/,
+ use: 'babel-loader',
+ exclude: /node_modules/
+ },
+ {
+ test: /\.css$/,
+ use: [
+ {
+ loader: 'vue-style-loader'
+ },
+ {
+ loader: 'css-loader'
+ }
+ ]
+ }
+)
+const externals = nodeExternals({
+ // we need to allowlist both `create-instance` and files in `shared` package. Otherwise webpack won't bundle them in the test dev env
+ allowlist: [
+ '@vue/test-utils',
+ '@vue/server-test-utils',
+ 'create-instance',
+ /^shared\/.*/
+ ]
+})
+// define the default aliases
+let aliasedFiles = {}
+if (process.env.TARGET === 'browser') {
+ // if we are in dev test mode, we want to alias all files to the src file, not dist
+ aliasedFiles = {
+ '@vue/server-test-utils': `@vue/server-test-utils/src/index.js`,
+ '@vue/test-utils': `@vue/test-utils/src/index.js`
+ }
+}
+
+module.exports = {
+ // since NODE_ENV is used heavily in the testing suite, using `production` mode in CI will cause side effects
+ mode: 'development',
+ module: {
+ rules
+ },
+ externals: !browser ? [externals] : undefined,
+ resolve: {
+ alias: {
+ ...aliasedFiles,
+ '~resources': `${projectRoot}/test/resources`,
+ packages: path.resolve(projectRoot, 'packages')
+ }
+ },
+ output: {
+ devtoolModuleFilenameTemplate: '[absolute-resource-path]',
+ devtoolFallbackModuleFilenameTemplate: '[absolute-resource-path]?[hash]'
+ },
+ devtool: '#inline-cheap-module-source-map',
+ node: {
+ fs: 'empty',
+ module: 'empty'
+ },
+ plugins: [new webpack.EnvironmentPlugin(['TEST_ENV']), new VueLoaderPlugin()]
+}
diff --git a/test/specs/create-dom-event.spec.js b/test/specs/create-dom-event.spec.js
index ee47e243a..5472281ee 100644
--- a/test/specs/create-dom-event.spec.js
+++ b/test/specs/create-dom-event.spec.js
@@ -1,9 +1,9 @@
import createDOMEvent from '../../packages/test-utils/src/create-dom-event'
-import { isRunningPhantomJS } from '~resources/utils'
+import { isRunningChrome } from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
describe('createDOMEvent', () => {
- itDoNotRunIf(isRunningPhantomJS, 'returns cancelable event', () => {
+ itDoNotRunIf(isRunningChrome, 'returns cancelable event', () => {
const event = createDOMEvent('click', {})
expect(event.bubbles).toEqual(true)
expect(event.cancelable).toEqual(true)
diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js
index bbbc294cf..e5f3b7873 100644
--- a/test/specs/mount.spec.js
+++ b/test/specs/mount.spec.js
@@ -14,7 +14,9 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'mount', () => {
const windowSave = window
afterEach(() => {
- window = windowSave // eslint-disable-line no-native-reassign
+ if (process.env.TEST_ENV !== 'browser') {
+ window = windowSave // eslint-disable-line no-native-reassign
+ }
})
it('returns new VueWrapper with mounted Vue instance if no options are passed', () => {
diff --git a/test/specs/mounting-options/attrs.spec.js b/test/specs/mounting-options/attrs.spec.js
index 13a5fa576..9a09095a6 100644
--- a/test/specs/mounting-options/attrs.spec.js
+++ b/test/specs/mounting-options/attrs.spec.js
@@ -1,14 +1,14 @@
import { attrsSupported } from '~resources/utils'
import {
describeWithShallowAndMount,
- isRunningPhantomJS,
+ isRunningChrome,
vueVersion
} from '~resources/utils'
import { itSkipIf, itDoNotRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.attrs', mountingMethod => {
itDoNotRunIf(
- vueVersion < 2.4 || isRunningPhantomJS,
+ vueVersion < 2.4 || isRunningChrome,
'handles inherit attrs',
() => {
if (!attrsSupported) return
diff --git a/test/specs/mounting-options/listeners.spec.js b/test/specs/mounting-options/listeners.spec.js
index 0d9151eae..8f3345a50 100644
--- a/test/specs/mounting-options/listeners.spec.js
+++ b/test/specs/mounting-options/listeners.spec.js
@@ -1,14 +1,16 @@
import { listenersSupported } from '~resources/utils'
import {
describeWithShallowAndMount,
- isRunningPhantomJS,
+ isRunningChrome,
vueVersion
} from '~resources/utils'
import { itDoNotRunIf } from 'conditional-specs'
describeWithShallowAndMount('options.listeners', mountingMethod => {
+ it.skip('placeholder for potentially empty test describe', () => {})
+
itDoNotRunIf(
- isRunningPhantomJS || !listenersSupported,
+ isRunningChrome || !listenersSupported,
'handles inherit listeners',
() => {
const aListener = () => {}
@@ -28,7 +30,7 @@ describeWithShallowAndMount('options.listeners', mountingMethod => {
)
itDoNotRunIf(
- isRunningPhantomJS || !listenersSupported,
+ isRunningChrome || !listenersSupported,
'passes listeners to functional components',
() => {
const TestComponent = {
diff --git a/test/specs/mounting-options/localVue.spec.js b/test/specs/mounting-options/localVue.spec.js
index 53edc7933..bc9ae0f8d 100644
--- a/test/specs/mounting-options/localVue.spec.js
+++ b/test/specs/mounting-options/localVue.spec.js
@@ -1,7 +1,7 @@
import Vue from 'vue'
import {
describeWithShallowAndMount,
- isRunningPhantomJS,
+ isRunningChrome,
vueVersion
} from '~resources/utils'
import { createLocalVue, shallowMount, mount } from 'packages/test-utils/src'
@@ -10,7 +10,7 @@ import Vuex from 'vuex'
describeWithShallowAndMount('options.localVue', mountingMethod => {
itSkipIf(
- isRunningPhantomJS,
+ isRunningChrome,
'mounts component using passed localVue as base Vue',
() => {
const TestComponent = {
diff --git a/test/specs/shallow-mount.spec.js b/test/specs/shallow-mount.spec.js
index f310e32ca..2357161b4 100644
--- a/test/specs/shallow-mount.spec.js
+++ b/test/specs/shallow-mount.spec.js
@@ -460,7 +460,7 @@ describeRunIf(process.env.TEST_ENV !== 'node', 'shallowMount', () => {
expect(wrapper.findAll(RecursiveComponent).length).toEqual(3)
})
- it('handles extended stubs', () => {
+ itDoNotRunIf(vueVersion < 2.4, 'handles extended stubs', () => {
const ChildComponent = Vue.extend({
template: '
',
props: ['propA']
diff --git a/test/specs/wrapper/contains.spec.js b/test/specs/wrapper/contains.spec.js
index 6ed25de05..7db96757e 100644
--- a/test/specs/wrapper/contains.spec.js
+++ b/test/specs/wrapper/contains.spec.js
@@ -6,7 +6,7 @@ import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import {
functionalSFCsSupported,
describeWithShallowAndMount,
- isRunningPhantomJS
+ isRunningChrome
} from '~resources/utils'
import { itSkipIf } from 'conditional-specs'
import ComponentWithoutName from '~resources/components/component-without-name.vue'
@@ -25,7 +25,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
it('returns true if wrapper contains functional Vue component', () => {
if (!functionalSFCsSupported) {
- return false
+ return
}
const TestComponent = {
template: `
@@ -43,7 +43,7 @@ describeWithShallowAndMount('contains', mountingMethod => {
})
itSkipIf(
- isRunningPhantomJS,
+ isRunningChrome,
'returns true if wrapper contains Vue class component',
() => {
const TestComponent = {
diff --git a/test/specs/wrapper/find.spec.js b/test/specs/wrapper/find.spec.js
index 4daf609e5..d9c55f8de 100644
--- a/test/specs/wrapper/find.spec.js
+++ b/test/specs/wrapper/find.spec.js
@@ -12,7 +12,7 @@ import {
functionalSFCsSupported,
vueVersion,
describeWithShallowAndMount,
- isRunningPhantomJS
+ isRunningChrome
} from '~resources/utils'
import { itDoNotRunIf, itSkipIf } from 'conditional-specs'
@@ -38,7 +38,7 @@ describeWithShallowAndMount('find', mountingMethod => {
})
itDoNotRunIf(
- isRunningPhantomJS,
+ isRunningChrome,
'returns an array of Wrapper of elements matching class selector passed if they are declared inside a slot',
() => {
const wrapper = mountingMethod(ComponentWithSlots, {
@@ -168,7 +168,7 @@ describeWithShallowAndMount('find', mountingMethod => {
expect(wrapper.findComponent(Component).exists()).toBe(true)
})
- itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
+ itSkipIf(isRunningChrome, 'returns Wrapper of class component', () => {
const TestComponent = {
template: `
diff --git a/test/specs/wrapper/findAll.spec.js b/test/specs/wrapper/findAll.spec.js
index 51ac3f3c7..b74c095d7 100644
--- a/test/specs/wrapper/findAll.spec.js
+++ b/test/specs/wrapper/findAll.spec.js
@@ -9,7 +9,7 @@ import ComponentAsAClass from '~resources/components/component-as-a-class.vue'
import {
functionalSFCsSupported,
describeWithShallowAndMount,
- isRunningPhantomJS
+ isRunningChrome
} from '~resources/utils'
import { itDoNotRunIf, itSkipIf } from 'conditional-specs'
@@ -36,7 +36,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
})
itDoNotRunIf(
- isRunningPhantomJS,
+ isRunningChrome,
'returns nodes matching class selector inside a slot',
() => {
const wrapper = mountingMethod(ComponentWithSlots, {
@@ -227,7 +227,7 @@ describeWithShallowAndMount('findAll', mountingMethod => {
expect(wrapper.findAll(ComponentWithoutName).length).toEqual(3)
})
- itSkipIf(isRunningPhantomJS, 'returns Wrapper of class component', () => {
+ itSkipIf(isRunningChrome, 'returns Wrapper of class component', () => {
const TestComponent = {
template: `
diff --git a/test/specs/wrapper/isEmpty.spec.js b/test/specs/wrapper/isEmpty.spec.js
index 863d9a7be..64c3ca661 100644
--- a/test/specs/wrapper/isEmpty.spec.js
+++ b/test/specs/wrapper/isEmpty.spec.js
@@ -1,8 +1,5 @@
import { compileToFunctions } from 'vue-template-compiler'
-import {
- describeWithShallowAndMount,
- isRunningPhantomJS
-} from '~resources/utils'
+import { describeWithShallowAndMount, isRunningChrome } from '~resources/utils'
import { itSkipIf, itDoNotRunIf } from 'conditional-specs'
describeWithShallowAndMount('isEmpty', mountingMethod => {
@@ -67,7 +64,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
}
)
- itSkipIf(isRunningPhantomJS, 'returns true if innerHTML is empty', () => {
+ itSkipIf(isRunningChrome, 'returns true if innerHTML is empty', () => {
const TestComponent = {
render(createElement) {
return createElement('div', {
@@ -81,7 +78,7 @@ describeWithShallowAndMount('isEmpty', mountingMethod => {
expect(wrapper.find('svg').isEmpty()).toEqual(true)
})
- it('returns false if innerHTML is not empty', () => {
+ itSkipIf(isRunningChrome, 'returns false if innerHTML is not empty', () => {
const TestComponent = {
render(createElement) {
return createElement('div', {
diff --git a/test/specs/wrapper/setProps.spec.js b/test/specs/wrapper/setProps.spec.js
index 758b3ec1e..604b17c9d 100644
--- a/test/specs/wrapper/setProps.spec.js
+++ b/test/specs/wrapper/setProps.spec.js
@@ -6,7 +6,7 @@ import {
isPromise,
vueVersion
} from '~resources/utils'
-import { itDoNotRunIf } from 'conditional-specs'
+import { itDoNotRunIf, itSkipIf } from 'conditional-specs'
import Vue from 'vue'
describeWithShallowAndMount('setProps', mountingMethod => {
@@ -80,28 +80,32 @@ describeWithShallowAndMount('setProps', mountingMethod => {
})
describe('watchers', () => {
- it('updates watched prop', () => {
- const TestComponent = {
- template: '
',
- props: ['propA'],
- mounted() {
- this.$watch(
- 'propA',
- function() {
- this.propA
- },
- { immediate: true }
- )
+ itSkipIf(
+ vueVersion < 2.3 && process.env.TEST_ENV === 'browser',
+ 'updates watched prop',
+ async () => {
+ const TestComponent = {
+ template: '
',
+ props: ['propA'],
+ mounted() {
+ this.$watch(
+ 'propA',
+ function() {
+ this.propA
+ },
+ { immediate: true }
+ )
+ }
}
- }
- const wrapper = mountingMethod(TestComponent, {
- propsData: { propA: 'none' }
- })
+ const wrapper = mountingMethod(TestComponent, {
+ propsData: { propA: 'none' }
+ })
- wrapper.setProps({ propA: 'value' })
- expect(wrapper.props().propA).toEqual('value')
- expect(wrapper.vm.propA).toEqual('value')
- })
+ await wrapper.setProps({ propA: 'value' })
+ expect(wrapper.props().propA).toEqual('value')
+ expect(wrapper.vm.propA).toEqual('value')
+ }
+ )
it('runs watchers correctly', async () => {
const TestComponent = {
@@ -177,79 +181,85 @@ describeWithShallowAndMount('setProps', mountingMethod => {
await wrapper.setProps({ prop1 })
expect(wrapper.vm.prop2).toEqual(prop1)
})
-
- it('invokes watchers with immediate set to "true"', async () => {
- const callback = jest.fn()
- const TestComponent = {
- template: '
',
- props: ['propA'],
- mounted() {
- this.$watch(
- 'propA',
- function() {
- callback()
- },
- { immediate: true }
- )
+ itSkipIf(
+ vueVersion < 2.3 && process.env.TEST_ENV === 'browser',
+ 'invokes watchers with immediate set to "true"',
+ async () => {
+ const callback = jest.fn()
+ const TestComponent = {
+ template: '
',
+ props: ['propA'],
+ mounted() {
+ this.$watch(
+ 'propA',
+ function() {
+ callback()
+ },
+ { immediate: true }
+ )
+ }
}
- }
- const wrapper = mountingMethod(TestComponent, {
- propsData: { propA: 'none' }
- })
-
- expect(callback).toHaveBeenCalledTimes(1)
+ const wrapper = mountingMethod(TestComponent, {
+ propsData: { propA: 'none' }
+ })
- await wrapper.setProps({ propA: 'value' })
- expect(wrapper.props().propA).toEqual('value')
- expect(callback).toHaveBeenCalledTimes(2)
- })
+ expect(callback).toHaveBeenCalledTimes(1)
- it('invokes watchers with immediate set to "true" with deep objects', async () => {
- const callback = jest.fn()
- const TestComponent = {
- template: '
',
- props: ['propA'],
- mounted() {
- this.$watch(
- 'propA',
- function() {
- callback()
- },
- { immediate: true }
- )
- }
+ await wrapper.setProps({ propA: 'value' })
+ expect(wrapper.props().propA).toEqual('value')
+ expect(callback).toHaveBeenCalledTimes(2)
}
- const wrapper = mountingMethod(TestComponent, {
- propsData: {
+ )
+ itSkipIf(
+ vueVersion < 2.3 && process.env.TEST_ENV === 'browser',
+ 'invokes watchers with immediate set to "true" with deep objects',
+ async () => {
+ const callback = jest.fn()
+ const TestComponent = {
+ template: '
',
+ props: ['propA'],
+ mounted() {
+ this.$watch(
+ 'propA',
+ function() {
+ callback()
+ },
+ { immediate: true }
+ )
+ }
+ }
+ const wrapper = mountingMethod(TestComponent, {
+ propsData: {
+ propA: {
+ key: {
+ nestedKey: 'value'
+ },
+ key2: 'value2'
+ }
+ }
+ })
+
+ expect(callback).toHaveBeenCalledTimes(1)
+
+ await wrapper.setProps({
propA: {
key: {
- nestedKey: 'value'
+ nestedKey: 'newValue',
+ anotherNestedKey: 'value'
},
key2: 'value2'
}
- }
- })
-
- expect(callback).toHaveBeenCalledTimes(1)
-
- await wrapper.setProps({
- propA: {
+ })
+ expect(wrapper.props().propA).toEqual({
key: {
nestedKey: 'newValue',
anotherNestedKey: 'value'
},
key2: 'value2'
- }
- })
- expect(wrapper.props().propA).toEqual({
- key: {
- nestedKey: 'newValue',
- anotherNestedKey: 'value'
- },
- key2: 'value2'
- })
- expect(callback).toHaveBeenCalledTimes(2)
- })
+ })
+ expect(callback).toHaveBeenCalledTimes(2)
+ }
+ )
})
it('props and setProps should return the same reference when called with same object', () => {
diff --git a/test/specs/wrapper/setValue.spec.js b/test/specs/wrapper/setValue.spec.js
index 680909c0a..0b660f09f 100644
--- a/test/specs/wrapper/setValue.spec.js
+++ b/test/specs/wrapper/setValue.spec.js
@@ -65,16 +65,18 @@ describeWithShallowAndMount('setValue', mountingMethod => {
expect(wrapper.text()).toContain('selectB')
})
- it.only('sets element of multiselect value', async () => {
- const wrapper = mountingMethod(ComponentWithInput)
- const select = wrapper.find('select.multiselect')
- await select.setValue(['selectA', 'selectC'])
-
- const selectedOptions = Array.from(select.element.selectedOptions).map(
- o => o.value
- )
- expect(selectedOptions).toEqual(['selectA', 'selectC'])
- })
+ if (process.env.TEST_ENV !== 'browser') {
+ it.only('sets element of multiselect value', async () => {
+ const wrapper = mountingMethod(ComponentWithInput)
+ const select = wrapper.find('select.multiselect')
+ await select.setValue(['selectA', 'selectC'])
+
+ const selectedOptions = Array.from(select.element.selectedOptions).map(
+ o => o.value
+ )
+ expect(selectedOptions).toEqual(['selectA', 'selectC'])
+ })
+ }
it('overrides elements of multiselect', () => {
const wrapper = mountingMethod(ComponentWithInput)
diff --git a/test/specs/wrapper/trigger.spec.js b/test/specs/wrapper/trigger.spec.js
index 971ff3146..deec1da96 100644
--- a/test/specs/wrapper/trigger.spec.js
+++ b/test/specs/wrapper/trigger.spec.js
@@ -3,7 +3,7 @@ import ComponentWithScopedSlots from '~resources/components/component-with-scope
import {
describeWithShallowAndMount,
scopedSlotsSupported,
- isRunningPhantomJS,
+ isRunningChrome,
isPromise,
vueVersion
} from '~resources/utils'
@@ -58,7 +58,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
expect(parseInt(keyboardEvent.keyCode, 10)).toEqual(65)
})
- itDoNotRunIf(isRunningPhantomJS, 'contains the code', () => {
+ itDoNotRunIf(isRunningChrome, 'contains the code', () => {
expect(parseInt(keyboardEvent.code, 10)).toEqual(65)
})
})
@@ -256,7 +256,7 @@ describeWithShallowAndMount('trigger', mountingMethod => {
})
itDoNotRunIf(
- isRunningPhantomJS,
+ isRunningChrome,
'trigger should create events with correct interface',
() => {
let lastEvent
diff --git a/yarn.lock b/yarn.lock
index 56f66c531..3c44cccc6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2843,6 +2843,11 @@
"@types/istanbul-lib-coverage" "*"
"@types/istanbul-lib-report" "*"
+"@types/json-schema@^7.0.4":
+ version "7.0.5"
+ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd"
+ integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==
+
"@types/minimatch@*":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
@@ -2897,6 +2902,13 @@
dependencies:
"@types/yargs-parser" "*"
+"@types/yauzl@^2.9.1":
+ version "2.9.1"
+ resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af"
+ integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA==
+ dependencies:
+ "@types/node" "*"
+
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040"
@@ -3020,30 +3032,78 @@
debug "^3.1.0"
webassemblyjs "1.4.3"
+"@webassemblyjs/ast@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964"
+ integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==
+ dependencies:
+ "@webassemblyjs/helper-module-context" "1.9.0"
+ "@webassemblyjs/helper-wasm-bytecode" "1.9.0"
+ "@webassemblyjs/wast-parser" "1.9.0"
+
"@webassemblyjs/floating-point-hex-parser@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.4.3.tgz#f5aee4c376a717c74264d7bacada981e7e44faad"
+"@webassemblyjs/floating-point-hex-parser@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4"
+ integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==
+
+"@webassemblyjs/helper-api-error@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2"
+ integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==
+
"@webassemblyjs/helper-buffer@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.4.3.tgz#0434b55958519bf503697d3824857b1dea80b729"
dependencies:
debug "^3.1.0"
+"@webassemblyjs/helper-buffer@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00"
+ integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==
+
"@webassemblyjs/helper-code-frame@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.4.3.tgz#f1349ca3e01a8e29ee2098c770773ef97af43641"
dependencies:
"@webassemblyjs/wast-printer" "1.4.3"
+"@webassemblyjs/helper-code-frame@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27"
+ integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==
+ dependencies:
+ "@webassemblyjs/wast-printer" "1.9.0"
+
"@webassemblyjs/helper-fsm@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.4.3.tgz#65a921db48fb43e868f17b27497870bdcae22b79"
+"@webassemblyjs/helper-fsm@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8"
+ integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==
+
+"@webassemblyjs/helper-module-context@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07"
+ integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+
"@webassemblyjs/helper-wasm-bytecode@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.4.3.tgz#0e5b4b5418e33f8a26e940b7809862828c3721a5"
+"@webassemblyjs/helper-wasm-bytecode@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790"
+ integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==
+
"@webassemblyjs/helper-wasm-section@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.4.3.tgz#9ceedd53a3f152c3412e072887ade668d0b1acbf"
@@ -3054,12 +3114,41 @@
"@webassemblyjs/wasm-gen" "1.4.3"
debug "^3.1.0"
+"@webassemblyjs/helper-wasm-section@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346"
+ integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-buffer" "1.9.0"
+ "@webassemblyjs/helper-wasm-bytecode" "1.9.0"
+ "@webassemblyjs/wasm-gen" "1.9.0"
+
+"@webassemblyjs/ieee754@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4"
+ integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==
+ dependencies:
+ "@xtuc/ieee754" "^1.2.0"
+
"@webassemblyjs/leb128@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.4.3.tgz#5a5e5949dbb5adfe3ae95664d0439927ac557fb8"
dependencies:
leb "^0.3.0"
+"@webassemblyjs/leb128@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95"
+ integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==
+ dependencies:
+ "@xtuc/long" "4.2.2"
+
+"@webassemblyjs/utf8@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab"
+ integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==
+
"@webassemblyjs/validation@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/validation/-/validation-1.4.3.tgz#9e66c9b3079d7bbcf2070c1bf52a54af2a09aac9"
@@ -3080,6 +3169,20 @@
"@webassemblyjs/wast-printer" "1.4.3"
debug "^3.1.0"
+"@webassemblyjs/wasm-edit@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf"
+ integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-buffer" "1.9.0"
+ "@webassemblyjs/helper-wasm-bytecode" "1.9.0"
+ "@webassemblyjs/helper-wasm-section" "1.9.0"
+ "@webassemblyjs/wasm-gen" "1.9.0"
+ "@webassemblyjs/wasm-opt" "1.9.0"
+ "@webassemblyjs/wasm-parser" "1.9.0"
+ "@webassemblyjs/wast-printer" "1.9.0"
+
"@webassemblyjs/wasm-gen@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.4.3.tgz#8553164d0154a6be8f74d653d7ab355f73240aa4"
@@ -3088,6 +3191,17 @@
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
"@webassemblyjs/leb128" "1.4.3"
+"@webassemblyjs/wasm-gen@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c"
+ integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-wasm-bytecode" "1.9.0"
+ "@webassemblyjs/ieee754" "1.9.0"
+ "@webassemblyjs/leb128" "1.9.0"
+ "@webassemblyjs/utf8" "1.9.0"
+
"@webassemblyjs/wasm-opt@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.4.3.tgz#26c7a23bfb136aa405b1d3410e63408ec60894b8"
@@ -3098,6 +3212,16 @@
"@webassemblyjs/wasm-parser" "1.4.3"
debug "^3.1.0"
+"@webassemblyjs/wasm-opt@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61"
+ integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-buffer" "1.9.0"
+ "@webassemblyjs/wasm-gen" "1.9.0"
+ "@webassemblyjs/wasm-parser" "1.9.0"
+
"@webassemblyjs/wasm-parser@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.4.3.tgz#7ddd3e408f8542647ed612019cfb780830993698"
@@ -3108,6 +3232,18 @@
"@webassemblyjs/wasm-parser" "1.4.3"
webassemblyjs "1.4.3"
+"@webassemblyjs/wasm-parser@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e"
+ integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-api-error" "1.9.0"
+ "@webassemblyjs/helper-wasm-bytecode" "1.9.0"
+ "@webassemblyjs/ieee754" "1.9.0"
+ "@webassemblyjs/leb128" "1.9.0"
+ "@webassemblyjs/utf8" "1.9.0"
+
"@webassemblyjs/wast-parser@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.4.3.tgz#3250402e2c5ed53dbe2233c9de1fe1f9f0d51745"
@@ -3119,6 +3255,18 @@
long "^3.2.0"
webassemblyjs "1.4.3"
+"@webassemblyjs/wast-parser@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914"
+ integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/floating-point-hex-parser" "1.9.0"
+ "@webassemblyjs/helper-api-error" "1.9.0"
+ "@webassemblyjs/helper-code-frame" "1.9.0"
+ "@webassemblyjs/helper-fsm" "1.9.0"
+ "@xtuc/long" "4.2.2"
+
"@webassemblyjs/wast-printer@1.4.3":
version "1.4.3"
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.4.3.tgz#3d59aa8d0252d6814a3ef4e6d2a34c9ded3904e0"
@@ -3127,6 +3275,15 @@
"@webassemblyjs/wast-parser" "1.4.3"
long "^3.2.0"
+"@webassemblyjs/wast-printer@1.9.0":
+ version "1.9.0"
+ resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899"
+ integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/wast-parser" "1.9.0"
+ "@xtuc/long" "4.2.2"
+
"@webpack-contrib/config-loader@^1.1.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@webpack-contrib/config-loader/-/config-loader-1.2.1.tgz#5b3dd474e207437939d294d200c68b7b00008e04"
@@ -3152,6 +3309,16 @@
text-table "^0.2.0"
webpack-log "^1.1.2"
+"@xtuc/ieee754@^1.2.0":
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790"
+ integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==
+
+"@xtuc/long@4.2.2":
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
+ integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
+
"@zkochan/cmd-shim@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e"
@@ -3186,6 +3353,14 @@ accepts@^1.2.2:
mime-types "~2.1.18"
negotiator "0.6.1"
+accepts@~1.3.4:
+ version "1.3.7"
+ resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
+ integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==
+ dependencies:
+ mime-types "~2.1.24"
+ negotiator "0.6.2"
+
acorn-dynamic-import@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz#901ceee4c7faaef7e07ad2a47e890675da50a278"
@@ -3240,11 +3415,21 @@ acorn@^6.1.1:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
+acorn@^6.4.1:
+ version "6.4.1"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474"
+ integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==
+
acorn@^7.1.0, acorn@^7.1.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
+after@0.8.2:
+ version "0.8.2"
+ resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
+ integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=
+
agent-base@4, agent-base@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
@@ -3252,6 +3437,11 @@ agent-base@4, agent-base@^4.3.0:
dependencies:
es6-promisify "^5.0.0"
+agent-base@5:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c"
+ integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==
+
agent-base@~4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
@@ -3278,12 +3468,17 @@ aggregate-error@^3.0.0:
clean-stack "^2.0.0"
indent-string "^4.0.0"
+ajv-errors@^1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d"
+ integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==
+
ajv-keywords@^2.1.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762"
integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=
-ajv-keywords@^3.0.0, ajv-keywords@^3.1.0:
+ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
version "3.5.2"
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d"
integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
@@ -3297,7 +3492,7 @@ ajv@^5.2.3, ajv@^5.3.0:
fast-json-stable-stringify "^2.0.0"
json-schema-traverse "^0.3.0"
-ajv@^6.0.1, ajv@^6.1.0, ajv@^6.12.3:
+ajv@^6.0.1, ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3:
version "6.12.3"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706"
integrity sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==
@@ -3341,6 +3536,11 @@ ansi-align@^2.0.0:
dependencies:
string-width "^2.0.0"
+ansi-colors@^3.0.0:
+ version "3.2.4"
+ resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf"
+ integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==
+
ansi-escapes@^3.0.0, ansi-escapes@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
@@ -3407,7 +3607,7 @@ anymatch@^2.0.0:
micromatch "^3.1.4"
normalize-path "^2.1.1"
-anymatch@^3.0.3:
+anymatch@^3.0.3, anymatch@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"
integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==
@@ -3509,6 +3709,11 @@ array-unique@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
+arraybuffer.slice@~0.0.7:
+ version "0.0.7"
+ resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
+ integrity sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==
+
arrify@^1.0.0, arrify@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -3548,7 +3753,7 @@ assign-symbols@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
-async-each@^1.0.0:
+async-each@^1.0.0, async-each@^1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
@@ -3660,6 +3865,17 @@ babel-loader@8.0.0-beta.3:
mkdirp "^0.5.1"
util.promisify "^1.0.0"
+babel-loader@^8.1.0:
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.1.0.tgz#c611d5112bd5209abe8b9fa84c3e4da25275f1c3"
+ integrity sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw==
+ dependencies:
+ find-cache-dir "^2.1.0"
+ loader-utils "^1.4.0"
+ mkdirp "^0.5.3"
+ pify "^4.0.1"
+ schema-utils "^2.6.5"
+
babel-plugin-dynamic-import-node@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-1.2.0.tgz#f91631e703e0595e47d4beafbb088576c87fbeee"
@@ -3753,6 +3969,11 @@ babylon@^6.8.4:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
+backo2@1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
+ integrity sha1-MasayLEpNjRj41s+u2n038+6eUc=
+
bail@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.2.tgz#f7d6c1731630a9f9f0d4d35ed1f962e2074a1764"
@@ -3766,10 +3987,20 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
+base64-arraybuffer@0.1.5:
+ version "0.1.5"
+ resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8"
+ integrity sha1-c5JncZI7Whl0etZmqlzUv5xunOg=
+
base64-js@^1.0.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.3.tgz#fb13668233d9614cf5fb4bce95a9ba4096cdf801"
+base64id@2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6"
+ integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==
+
base@^0.11.1:
version "0.11.2"
resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
@@ -3794,6 +4025,13 @@ before-after-hook@^2.0.0:
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A==
+better-assert@~1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/better-assert/-/better-assert-1.0.2.tgz#40866b9e1b9e0b55b481894311e68faffaebc522"
+ integrity sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=
+ dependencies:
+ callsite "1.0.0"
+
big.js@^3.1.3:
version "3.2.0"
resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
@@ -3809,6 +4047,11 @@ binary-extensions@^1.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==
+binary-extensions@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9"
+ integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==
+
bindings@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
@@ -3816,6 +4059,20 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"
+bl@^4.0.1:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/bl/-/bl-4.0.2.tgz#52b71e9088515d0606d9dd9cc7aa48dc1f98e73a"
+ integrity sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==
+ dependencies:
+ buffer "^5.5.0"
+ inherits "^2.0.4"
+ readable-stream "^3.4.0"
+
+blob@0.0.5:
+ version "0.0.5"
+ resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683"
+ integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==
+
bluebird@^3.1.1, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
version "3.7.2"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
@@ -3826,6 +4083,22 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
+body-parser@^1.19.0:
+ version "1.19.0"
+ resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
+ integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==
+ dependencies:
+ bytes "3.1.0"
+ content-type "~1.0.4"
+ debug "2.6.9"
+ depd "~1.1.2"
+ http-errors "1.7.2"
+ iconv-lite "0.4.24"
+ on-finished "~2.3.0"
+ qs "6.7.0"
+ raw-body "2.4.0"
+ type-is "~1.6.17"
+
boolbase@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
@@ -3859,7 +4132,7 @@ braces@^1.8.2:
preserve "^0.2.0"
repeat-element "^1.1.2"
-braces@^2.3.0, braces@^2.3.1:
+braces@^2.3.0, braces@^2.3.1, braces@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
dependencies:
@@ -3874,7 +4147,7 @@ braces@^2.3.0, braces@^2.3.1:
split-string "^3.0.2"
to-regex "^3.0.1"
-braces@^3.0.1:
+braces@^3.0.1, braces@^3.0.2, braces@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
@@ -4000,6 +4273,11 @@ buble@^0.19.8:
os-homedir "^2.0.0"
regexpu-core "^4.5.4"
+buffer-crc32@~0.2.3:
+ version "0.2.13"
+ resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
+ integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
+
buffer-from@1.x, buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
@@ -4017,6 +4295,14 @@ buffer@^4.3.0:
ieee754 "^1.1.4"
isarray "^1.0.0"
+buffer@^5.2.1, buffer@^5.5.0:
+ version "5.6.0"
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786"
+ integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==
+ dependencies:
+ base64-js "^1.0.2"
+ ieee754 "^1.1.4"
+
builtin-modules@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"
@@ -4040,6 +4326,11 @@ byte-size@^5.0.1:
resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw==
+bytes@3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
+ integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==
+
cacache@^10.0.4:
version "10.0.4"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460"
@@ -4079,6 +4370,27 @@ cacache@^12.0.0, cacache@^12.0.3:
unique-filename "^1.1.1"
y18n "^4.0.0"
+cacache@^12.0.2:
+ version "12.0.4"
+ resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c"
+ integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==
+ dependencies:
+ bluebird "^3.5.5"
+ chownr "^1.1.1"
+ figgy-pudding "^3.5.1"
+ glob "^7.1.4"
+ graceful-fs "^4.1.15"
+ infer-owner "^1.0.3"
+ lru-cache "^5.1.1"
+ mississippi "^3.0.0"
+ mkdirp "^0.5.1"
+ move-concurrently "^1.0.1"
+ promise-inflight "^1.0.1"
+ rimraf "^2.6.3"
+ ssri "^6.0.1"
+ unique-filename "^1.1.1"
+ y18n "^4.0.0"
+
cache-base@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
@@ -4131,6 +4443,11 @@ caller-path@^2.0.0:
dependencies:
caller-callsite "^2.0.0"
+callsite@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20"
+ integrity sha1-KAOY5dZkvXQDi28JBRU+borxvCA=
+
callsites@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca"
@@ -4302,6 +4619,40 @@ chokidar@^2.0.2, chokidar@^2.0.3:
optionalDependencies:
fsevents "^1.1.2"
+chokidar@^2.1.8:
+ version "2.1.8"
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
+ integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==
+ dependencies:
+ anymatch "^2.0.0"
+ async-each "^1.0.1"
+ braces "^2.3.2"
+ glob-parent "^3.1.0"
+ inherits "^2.0.3"
+ is-binary-path "^1.0.0"
+ is-glob "^4.0.0"
+ normalize-path "^3.0.0"
+ path-is-absolute "^1.0.0"
+ readdirp "^2.2.1"
+ upath "^1.1.1"
+ optionalDependencies:
+ fsevents "^1.2.7"
+
+chokidar@^3.0.0, chokidar@^3.4.1:
+ version "3.4.1"
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.1.tgz#e905bdecf10eaa0a0b1db0c664481cc4cbc22ba1"
+ integrity sha512-TQTJyr2stihpC4Sya9hs2Xh+O2wf+igjL36Y75xx2WdHuiICcn/XJza46Jwt0eT5hVpQOzo3FpY3cj3RVYLX0g==
+ dependencies:
+ anymatch "~3.1.1"
+ braces "~3.0.2"
+ glob-parent "~5.1.0"
+ is-binary-path "~2.1.0"
+ is-glob "~4.0.1"
+ normalize-path "~3.0.0"
+ readdirp "~3.4.0"
+ optionalDependencies:
+ fsevents "~2.1.2"
+
chownr@^1.0.1, chownr@^1.1.1, chownr@^1.1.2:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"
@@ -4311,6 +4662,13 @@ chrome-trace-event@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-0.1.3.tgz#d395af2d31c87b90a716c831fe326f69768ec084"
+chrome-trace-event@^1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
+ integrity sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==
+ dependencies:
+ tslib "^1.9.0"
+
ci-info@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4"
@@ -4497,6 +4855,11 @@ colormin@^1.0.5:
css-color-names "0.0.4"
has "^1.0.1"
+colors@^1.1.2, colors@^1.4.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
+ integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
+
colors@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
@@ -4571,10 +4934,25 @@ compare-func@^1.3.1:
array-ify "^1.0.0"
dot-prop "^3.0.0"
-component-emitter@^1.2.1:
+component-bind@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1"
+ integrity sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=
+
+component-emitter@1.2.1, component-emitter@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
+component-emitter@~1.3.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
+ integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==
+
+component-inherit@0.0.3:
+ version "0.0.3"
+ resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143"
+ integrity sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=
+
concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -4634,6 +5012,16 @@ connect-history-api-fallback@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#b06873934bc5e344fef611a196a6faae0aee015a"
+connect@^3.7.0:
+ version "3.7.0"
+ resolved "https://registry.yarnpkg.com/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8"
+ integrity sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==
+ dependencies:
+ debug "2.6.9"
+ finalhandler "1.1.2"
+ parseurl "~1.3.3"
+ utils-merge "1.0.1"
+
consola@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/consola/-/consola-1.3.0.tgz#b5effe41c4ecdce971d79268d72b8f9bde0a8c7a"
@@ -4668,7 +5056,7 @@ content-disposition@~0.5.0:
version "0.5.2"
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
-content-type@^1.0.0:
+content-type@^1.0.0, content-type@~1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
@@ -4869,6 +5257,11 @@ convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0,
dependencies:
safe-buffer "~5.1.1"
+cookie@0.3.1:
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
+ integrity sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=
+
cookies@~0.7.0:
version "0.7.1"
resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.7.1.tgz#7c8a615f5481c61ab9f16c833731bcb8f663b99b"
@@ -4912,7 +5305,7 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"
-core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3:
+core-js@2, core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.3:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
@@ -5054,6 +5447,25 @@ css-loader@^0.28.11:
postcss-value-parser "^3.3.0"
source-list-map "^2.0.0"
+css-loader@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-4.2.0.tgz#b57efb92ac8f0cd85bf92d89df9634ef1f51b8bf"
+ integrity sha512-ko7a9b0iFpWtk9eSI/C8IICvZeGtYnjxYjw45rJprokXj/+kBd/siX4vAIBq9Uij8Jubc4jL1EvSnTjCEwaHSw==
+ dependencies:
+ camelcase "^6.0.0"
+ cssesc "^3.0.0"
+ icss-utils "^4.1.1"
+ loader-utils "^2.0.0"
+ normalize-path "^3.0.0"
+ postcss "^7.0.32"
+ postcss-modules-extract-imports "^2.0.0"
+ postcss-modules-local-by-default "^3.0.3"
+ postcss-modules-scope "^2.2.0"
+ postcss-modules-values "^3.0.0"
+ postcss-value-parser "^4.1.0"
+ schema-utils "^2.7.0"
+ semver "^7.3.2"
+
css-parse@1.7.x:
version "1.7.0"
resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-1.7.0.tgz#321f6cf73782a6ff751111390fc05e2c657d8c9b"
@@ -5171,6 +5583,11 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"
+custom-event@~1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425"
+ integrity sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=
+
cyclist@~0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
@@ -5245,6 +5662,16 @@ date-fns@^1.27.2:
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
+date-format@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/date-format/-/date-format-2.1.0.tgz#31d5b5ea211cf5fd764cd38baf9d033df7e125cf"
+ integrity sha512-bYQuGLeFxhkxNOF3rcMtiZxvCBAquGzZm6oWA1oZ0g2THUzivaRhv8uOhdr19LmoobSOLoIAxeUK2RdbM8IFTA==
+
+date-format@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/date-format/-/date-format-3.0.0.tgz#eb8780365c7d2b1511078fb491e6479780f3ad95"
+ integrity sha512-eyTcpKOcamdhWJXj56DpQMo1ylSQpcGtGKXcU0Tb97+K56/CF5amAqqqNj0+KvA0iw2ynxtHWFsPDSClCxe48w==
+
date-now@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
@@ -5257,22 +5684,22 @@ de-indent@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"
-debug@*, debug@^4.1.0, debug@^4.1.1:
+debug@*, debug@4, debug@^4.1.0, debug@^4.1.1, debug@~4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
dependencies:
ms "^2.1.1"
-debug@3.1.0, debug@^3.1.0:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
+debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
+ version "2.6.9"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
ms "2.0.0"
-debug@^2.2.0, debug@^2.3.3, debug@^2.6.1, debug@^2.6.3, debug@^2.6.8:
- version "2.6.9"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
+debug@3.1.0, debug@^3.1.0, debug@~3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
ms "2.0.0"
@@ -5455,6 +5882,11 @@ detect-newline@^3.0.0:
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
+devtools-protocol@0.0.781568:
+ version "0.0.781568"
+ resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.781568.tgz#4cdca90a952d2c77831096ff6cd32695d8715a04"
+ integrity sha512-9Uqnzy6m6zEStluH9iyJ3iHyaQziFnMnLeC8vK0eN6smiJmIx7+yB64d67C2lH/LZra+5cGscJAJsNXO+MdPMg==
+
dezalgo@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456"
@@ -5463,6 +5895,11 @@ dezalgo@^1.0.0:
asap "^2.0.0"
wrappy "1"
+di@^0.0.1:
+ version "0.0.1"
+ resolved "https://registry.yarnpkg.com/di/-/di-0.0.1.tgz#806649326ceaa7caa3306d75d985ea2748ba913c"
+ integrity sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=
+
diacritics@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
@@ -5519,6 +5956,16 @@ dom-event-types@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dom-event-types/-/dom-event-types-1.0.0.tgz#5830a0a29e1bf837fe50a70cd80a597232813cae"
+dom-serialize@^2.2.1:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b"
+ integrity sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=
+ dependencies:
+ custom-event "~1.0.0"
+ ent "~2.2.0"
+ extend "^3.0.0"
+ void-elements "^2.0.0"
+
dom-serializer@0, dom-serializer@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82"
@@ -5686,6 +6133,11 @@ emojis-list@^3.0.0:
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==
+encodeurl@~1.0.2:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
+ integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=
+
encoding@^0.1.11:
version "0.1.12"
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
@@ -5699,6 +6151,53 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
+end-of-stream@^1.4.1:
+ version "1.4.4"
+ resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
+ integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
+ dependencies:
+ once "^1.4.0"
+
+engine.io-client@~3.4.0:
+ version "3.4.3"
+ resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-3.4.3.tgz#192d09865403e3097e3575ebfeb3861c4d01a66c"
+ integrity sha512-0NGY+9hioejTEJCaSJZfWZLk4FPI9dN+1H1C4+wj2iuFba47UgZbJzfWs4aNFajnX/qAaYKbe2lLTfEEWzCmcw==
+ dependencies:
+ component-emitter "~1.3.0"
+ component-inherit "0.0.3"
+ debug "~4.1.0"
+ engine.io-parser "~2.2.0"
+ has-cors "1.1.0"
+ indexof "0.0.1"
+ parseqs "0.0.5"
+ parseuri "0.0.5"
+ ws "~6.1.0"
+ xmlhttprequest-ssl "~1.5.4"
+ yeast "0.1.2"
+
+engine.io-parser@~2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.2.0.tgz#312c4894f57d52a02b420868da7b5c1c84af80ed"
+ integrity sha512-6I3qD9iUxotsC5HEMuuGsKA0cXerGz+4uGcXQEkfBidgKf0amsjrrtwcbwK/nzpZBxclXlV7gGl9dgWvu4LF6w==
+ dependencies:
+ after "0.8.2"
+ arraybuffer.slice "~0.0.7"
+ base64-arraybuffer "0.1.5"
+ blob "0.0.5"
+ has-binary2 "~1.0.2"
+
+engine.io@~3.4.0:
+ version "3.4.2"
+ resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.4.2.tgz#8fc84ee00388e3e228645e0a7d3dfaeed5bd122c"
+ integrity sha512-b4Q85dFkGw+TqgytGPrGgACRUhsdKc9S9ErRAXpPGy/CXKs4tYoHDkvIRdsseAF7NjfVwjRFIn6KTnbw7LwJZg==
+ dependencies:
+ accepts "~1.3.4"
+ base64id "2.0.0"
+ cookie "0.3.1"
+ debug "~4.1.0"
+ engine.io-parser "~2.2.0"
+ ws "^7.1.2"
+
enhanced-resolve@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.0.0.tgz#e34a6eaa790f62fccd71d93959f56b2b432db10a"
@@ -5707,6 +6206,20 @@ enhanced-resolve@^4.0.0:
memory-fs "^0.4.0"
tapable "^1.0.0"
+enhanced-resolve@^4.3.0:
+ version "4.3.0"
+ resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz#3b806f3bfafc1ec7de69551ef93cca46c1704126"
+ integrity sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ==
+ dependencies:
+ graceful-fs "^4.1.2"
+ memory-fs "^0.5.0"
+ tapable "^1.0.0"
+
+ent@~2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d"
+ integrity sha1-6WQhkyWiHQX0RGai9obtbOX13R0=
+
entities@^1.1.1, entities@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
@@ -5807,7 +6320,7 @@ escalade@^3.0.1:
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4"
integrity sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ==
-escape-html@^1.0.3, escape-html@~1.0.1:
+escape-html@^1.0.3, escape-html@~1.0.1, escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -5867,6 +6380,14 @@ eslint-scope@3.7.1, eslint-scope@^3.7.1:
esrecurse "^4.1.0"
estraverse "^4.1.1"
+eslint-scope@^4.0.3:
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
+ integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==
+ dependencies:
+ esrecurse "^4.1.0"
+ estraverse "^4.1.1"
+
eslint-visitor-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
@@ -5965,10 +6486,20 @@ eventemitter3@^3.1.0:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
+eventemitter3@^4.0.0:
+ version "4.0.4"
+ resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384"
+ integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==
+
events@^1.0.0, events@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
+events@^3.0.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379"
+ integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==
+
evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02"
@@ -6159,6 +6690,17 @@ extract-from-css@^0.4.4:
dependencies:
css "^2.1.0"
+extract-zip@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a"
+ integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==
+ dependencies:
+ debug "^4.1.1"
+ get-stream "^5.1.0"
+ yauzl "^2.10.0"
+ optionalDependencies:
+ "@types/yauzl" "^2.9.1"
+
extsprintf@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
@@ -6228,6 +6770,13 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"
+fd-slicer@~1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
+ integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=
+ dependencies:
+ pend "~1.2.0"
+
figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"
@@ -6298,6 +6847,19 @@ fill-range@^7.0.1:
dependencies:
to-regex-range "^5.0.1"
+finalhandler@1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
+ integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==
+ dependencies:
+ debug "2.6.9"
+ encodeurl "~1.0.2"
+ escape-html "~1.0.3"
+ on-finished "~2.3.0"
+ parseurl "~1.3.3"
+ statuses "~1.5.0"
+ unpipe "~1.0.0"
+
find-cache-dir@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f"
@@ -6306,6 +6868,15 @@ find-cache-dir@^1.0.0:
make-dir "^1.0.0"
pkg-dir "^2.0.0"
+find-cache-dir@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7"
+ integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==
+ dependencies:
+ commondir "^1.0.1"
+ make-dir "^2.0.0"
+ pkg-dir "^3.0.0"
+
find-node-modules@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/find-node-modules/-/find-node-modules-2.0.0.tgz#5db1fb9e668a3d451db3d618cd167cdd59e41b69"
@@ -6367,6 +6938,11 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"
+flatted@^2.0.1, flatted@^2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
+ integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
+
flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
@@ -6390,6 +6966,11 @@ flush-write-stream@^1.0.0:
inherits "^2.0.1"
readable-stream "^2.0.4"
+follow-redirects@^1.0.0:
+ version "1.12.1"
+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.12.1.tgz#de54a6205311b93d60398ebc01cf7015682312b6"
+ integrity sha512-tmRv0AVuR7ZyouUHLeNSiO6pqulF7dYa3s19c6t+wz9LD69/uSzdMxJ2S91nTI9U3rt/IldxpzMOFejp6f0hjg==
+
for-in@^1.0.1, for-in@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
@@ -6436,6 +7017,11 @@ from2@^2.1.0:
inherits "^2.0.1"
readable-stream "^2.0.0"
+fs-constants@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
+ integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
+
fs-extra@8.1.0, fs-extra@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
@@ -6489,7 +7075,15 @@ fsevents@^1.1.2:
bindings "^1.5.0"
nan "^2.12.1"
-fsevents@^2.1.2:
+fsevents@^1.2.7:
+ version "1.2.13"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38"
+ integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==
+ dependencies:
+ bindings "^1.5.0"
+ nan "^2.12.1"
+
+fsevents@^2.1.2, fsevents@~2.1.2:
version "2.1.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
@@ -6580,7 +7174,7 @@ get-stream@^4.0.0, get-stream@^4.1.0:
dependencies:
pump "^3.0.0"
-get-stream@^5.0.0:
+get-stream@^5.0.0, get-stream@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9"
integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==
@@ -6693,6 +7287,13 @@ glob-parent@^5.0.0, glob-parent@^5.1.0:
dependencies:
is-glob "^4.0.1"
+glob-parent@~5.1.0:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
+ integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==
+ dependencies:
+ is-glob "^4.0.1"
+
glob-to-regexp@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
@@ -6720,7 +7321,7 @@ glob@7.1.4:
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.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:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
@@ -6918,6 +7519,18 @@ has-ansi@^2.0.0:
dependencies:
ansi-regex "^2.0.0"
+has-binary2@~1.0.2:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/has-binary2/-/has-binary2-1.0.3.tgz#7776ac627f3ea77250cfc332dab7ddf5e4f5d11d"
+ integrity sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==
+ dependencies:
+ isarray "2.0.1"
+
+has-cors@1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39"
+ integrity sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=
+
has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
@@ -7105,6 +7718,17 @@ http-cache-semantics@^3.8.1:
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
+http-errors@1.7.2:
+ version "1.7.2"
+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f"
+ integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==
+ dependencies:
+ depd "~1.1.2"
+ inherits "2.0.3"
+ setprototypeof "1.1.1"
+ statuses ">= 1.5.0 < 2"
+ toidentifier "1.0.0"
+
http-errors@^1.2.8, http-errors@^1.6.1, http-errors@~1.6.1, http-errors@~1.6.2:
version "1.6.3"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
@@ -7122,6 +7746,15 @@ http-proxy-agent@^2.1.0:
agent-base "4"
debug "3.1.0"
+http-proxy@^1.18.1:
+ version "1.18.1"
+ resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
+ integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
+ dependencies:
+ eventemitter3 "^4.0.0"
+ follow-redirects "^1.0.0"
+ requires-port "^1.0.0"
+
http-signature@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
@@ -7142,6 +7775,14 @@ https-proxy-agent@^2.2.3:
agent-base "^4.3.0"
debug "^3.1.0"
+https-proxy-agent@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b"
+ integrity sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==
+ dependencies:
+ agent-base "5"
+ debug "4"
+
human-signals@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
@@ -7188,6 +7829,13 @@ icss-utils@^2.1.0:
dependencies:
postcss "^6.0.1"
+icss-utils@^4.0.0, icss-utils@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"
+ integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==
+ dependencies:
+ postcss "^7.0.14"
+
identity-obj-proxy@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
@@ -7310,7 +7958,7 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"
-inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3:
+inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, 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==
@@ -7459,6 +8107,13 @@ is-binary-path@^1.0.0:
dependencies:
binary-extensions "^1.0.0"
+is-binary-path@~2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
+ integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
+ dependencies:
+ binary-extensions "^2.0.0"
+
is-buffer@^1.1.4, is-buffer@^1.1.5:
version "1.1.6"
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
@@ -7601,7 +8256,7 @@ is-glob@^3.1.0:
dependencies:
is-extglob "^2.1.0"
-is-glob@^4.0.0, is-glob@^4.0.1:
+is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -7858,10 +8513,20 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
+isarray@2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e"
+ integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=
+
isarray@^2.0.1:
version "2.0.4"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.4.tgz#38e7bcbb0f3ba1b7933c86ba1894ddfc3781bbb7"
+isbinaryfile@^4.0.6:
+ version "4.0.6"
+ resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.6.tgz#edcb62b224e2b4710830b67498c8e4e5a4d2610b"
+ integrity sha512-ORrEy+SNVqUhrCaal4hA4fBzhggQQ+BaLntyPOdoEiwlKZW9BZiJXjg3RMiruE4tPEI3pyVPpySHQF/dKWperg==
+
isemail@3.x.x:
version "3.1.2"
resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.2.tgz#937cf919002077999a73ea8b1951d590e84e01dd"
@@ -7935,6 +8600,11 @@ istanbul-reports@^3.0.2:
html-escaper "^2.0.0"
istanbul-lib-report "^3.0.0"
+jasmine-core@^3.5.0:
+ version "3.6.0"
+ resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.6.0.tgz#491f3bb23941799c353ceb7a45b38a950ebc5a20"
+ integrity sha512-8uQYa7zJN8hq9z+g8z1bqCfdC8eoDAeVnM5sfqs7KHv9/ifoJ500m018fpFc7RDaO6SWCLCXwo/wPSNcdYTgcw==
+
javascript-stringify@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
@@ -8435,7 +9105,7 @@ jsesc@~0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
-json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1:
+json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
@@ -8500,6 +9170,69 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.10.0"
+karma-chrome-launcher@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz#805a586799a4d05f4e54f72a204979f3f3066738"
+ integrity sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==
+ dependencies:
+ which "^1.2.1"
+
+karma-jasmine@^3.3.1:
+ version "3.3.1"
+ resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-3.3.1.tgz#c01b1a2ec973e1531c1f6535e1d7d66b8e4275c2"
+ integrity sha512-Nxh7eX9mOQMyK0VSsMxdod+bcqrR/ikrmEiWj5M6fwuQ7oI+YEF1FckaDsWfs6TIpULm9f0fTKMjF7XcrvWyqQ==
+ dependencies:
+ jasmine-core "^3.5.0"
+
+karma-spec-reporter@^0.0.32:
+ version "0.0.32"
+ resolved "https://registry.yarnpkg.com/karma-spec-reporter/-/karma-spec-reporter-0.0.32.tgz#2e9c7207ea726771260259f82becb543209e440a"
+ integrity sha1-LpxyB+pyZ3EmAln4K+y1QyCeRAo=
+ dependencies:
+ colors "^1.1.2"
+
+karma-webpack@^4.0.2:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/karma-webpack/-/karma-webpack-4.0.2.tgz#23219bd95bdda853e3073d3874d34447c77bced0"
+ integrity sha512-970/okAsdUOmiMOCY8sb17A2I8neS25Ad9uhyK3GHgmRSIFJbDcNEFE8dqqUhNe9OHiCC9k3DMrSmtd/0ymP1A==
+ dependencies:
+ clone-deep "^4.0.1"
+ loader-utils "^1.1.0"
+ neo-async "^2.6.1"
+ schema-utils "^1.0.0"
+ source-map "^0.7.3"
+ webpack-dev-middleware "^3.7.0"
+
+karma@^5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/karma/-/karma-5.1.1.tgz#4e472c1e5352d73edbd2090726afdb01d7869d72"
+ integrity sha512-xAlOr5PMqUbiKXSv5PCniHWV3aiwj6wIZ0gUVcwpTCPVQm/qH2WAMFWxtnpM6KJqhkRWrIpovR4Rb0rn8GtJzQ==
+ dependencies:
+ body-parser "^1.19.0"
+ braces "^3.0.2"
+ chokidar "^3.0.0"
+ colors "^1.4.0"
+ connect "^3.7.0"
+ di "^0.0.1"
+ dom-serialize "^2.2.1"
+ flatted "^2.0.2"
+ glob "^7.1.6"
+ graceful-fs "^4.2.4"
+ http-proxy "^1.18.1"
+ isbinaryfile "^4.0.6"
+ lodash "^4.17.15"
+ log4js "^6.2.1"
+ mime "^2.4.5"
+ minimatch "^3.0.4"
+ qjobs "^1.2.0"
+ range-parser "^1.2.1"
+ rimraf "^3.0.2"
+ socket.io "^2.3.0"
+ source-map "^0.6.1"
+ tmp "0.2.1"
+ ua-parser-js "0.7.21"
+ yargs "^15.3.1"
+
keygrip@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.0.2.tgz#ad3297c557069dea8bcfe7a4fa491b75c5ddeb91"
@@ -8801,6 +9534,11 @@ loader-runner@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"
+loader-runner@^2.4.0:
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
+ integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==
+
loader-utils@^0.2.16:
version "0.2.17"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
@@ -8810,7 +9548,7 @@ loader-utils@^0.2.16:
json5 "^0.5.0"
object-assign "^4.0.1"
-loader-utils@^1.0.2, loader-utils@^1.1.0:
+loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@@ -8819,6 +9557,15 @@ loader-utils@^1.0.2, loader-utils@^1.1.0:
emojis-list "^3.0.0"
json5 "^1.0.1"
+loader-utils@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0"
+ integrity sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==
+ dependencies:
+ big.js "^5.2.2"
+ emojis-list "^3.0.0"
+ json5 "^2.1.2"
+
locate-path@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
@@ -8948,6 +9695,17 @@ log-update@^2.3.0:
cli-cursor "^2.0.0"
wrap-ansi "^3.0.1"
+log4js@^6.2.1:
+ version "6.3.0"
+ resolved "https://registry.yarnpkg.com/log4js/-/log4js-6.3.0.tgz#10dfafbb434351a3e30277a00b9879446f715bcb"
+ integrity sha512-Mc8jNuSFImQUIateBFwdOQcmC6Q5maU0VVvdC2R6XMb66/VnT+7WS4D/0EeNMZu1YODmJe5NIn2XftCzEocUgw==
+ dependencies:
+ date-format "^3.0.0"
+ debug "^4.1.1"
+ flatted "^2.0.1"
+ rfdc "^1.1.4"
+ streamroller "^2.2.4"
+
loglevelnext@^1.0.1, loglevelnext@^1.0.2:
version "1.0.5"
resolved "https://registry.yarnpkg.com/loglevelnext/-/loglevelnext-1.0.5.tgz#36fc4f5996d6640f539ff203ba819641680d75a2"
@@ -9029,7 +9787,7 @@ make-dir@^1.0.0:
dependencies:
pify "^3.0.0"
-make-dir@^2.1.0:
+make-dir@^2.0.0, make-dir@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==
@@ -9149,13 +9907,21 @@ media-typer@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
-memory-fs@^0.4.0, memory-fs@~0.4.1:
+memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
dependencies:
errno "^0.1.3"
readable-stream "^2.0.1"
+memory-fs@^0.5.0:
+ version "0.5.0"
+ resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c"
+ integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==
+ dependencies:
+ errno "^0.1.3"
+ readable-stream "^2.0.1"
+
meow@5.0.0, meow@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4"
@@ -9282,6 +10048,11 @@ mime-db@1.43.0:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
+mime-db@1.44.0:
+ version "1.44.0"
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"
+ integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==
+
mime-types@^2.0.7, mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19:
version "2.1.26"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
@@ -9289,10 +10060,22 @@ mime-types@^2.0.7, mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19:
dependencies:
mime-db "1.43.0"
+mime-types@~2.1.24:
+ version "2.1.27"
+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f"
+ integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==
+ dependencies:
+ mime-db "1.44.0"
+
mime@^2.0.3, mime@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.3.1.tgz#b1621c54d63b97c47d3cfe7f7215f7d64517c369"
+mime@^2.4.4, mime@^2.4.5:
+ version "2.4.6"
+ resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.6.tgz#e5b407c90db442f2beb5b162373d07b69affa4d1"
+ integrity sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==
+
mimic-fn@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
@@ -9408,6 +10191,11 @@ mixin-deep@^1.2.0:
for-in "^1.0.2"
is-extendable "^1.0.1"
+mkdirp-classic@^0.5.2:
+ version "0.5.3"
+ resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
+ integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
+
mkdirp-promise@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1"
@@ -9415,7 +10203,7 @@ mkdirp-promise@^5.0.1:
dependencies:
mkdirp "*"
-mkdirp@*, mkdirp@0.5.x, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
+mkdirp@*, mkdirp@0.5.x, mkdirp@0.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.0, mkdirp@~0.5.1:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
@@ -9536,11 +10324,21 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
+negotiator@0.6.2:
+ version "0.6.2"
+ resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
+ integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==
+
neo-async@^2.5.0, neo-async@^2.6.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
+neo-async@^2.6.1:
+ version "2.6.2"
+ resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
+ integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
+
nice-try@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4"
@@ -9615,6 +10413,35 @@ node-libs-browser@^2.0.0:
util "^0.10.3"
vm-browserify "0.0.4"
+node-libs-browser@^2.2.1:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425"
+ integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==
+ dependencies:
+ assert "^1.1.1"
+ browserify-zlib "^0.2.0"
+ buffer "^4.3.0"
+ console-browserify "^1.1.0"
+ constants-browserify "^1.0.0"
+ crypto-browserify "^3.11.0"
+ domain-browser "^1.1.1"
+ events "^3.0.0"
+ https-browserify "^1.0.0"
+ os-browserify "^0.3.0"
+ path-browserify "0.0.1"
+ process "^0.11.10"
+ punycode "^1.2.4"
+ querystring-es3 "^0.2.0"
+ readable-stream "^2.3.3"
+ stream-browserify "^2.0.1"
+ stream-http "^2.7.2"
+ string_decoder "^1.0.0"
+ timers-browserify "^2.0.4"
+ tty-browserify "0.0.0"
+ url "^0.11.0"
+ util "^0.11.0"
+ vm-browserify "^1.0.1"
+
node-modules-regexp@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
@@ -9667,7 +10494,7 @@ normalize-path@^2.0.1, normalize-path@^2.1.1:
dependencies:
remove-trailing-separator "^1.0.1"
-normalize-path@^3.0.0:
+normalize-path@^3.0.0, normalize-path@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
@@ -9803,6 +10630,11 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
+object-component@0.0.3:
+ version "0.0.3"
+ resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291"
+ integrity sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=
+
object-copy@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
@@ -9856,7 +10688,7 @@ octokit-pagination-methods@^1.1.0:
resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==
-on-finished@^2.1.0:
+on-finished@^2.1.0, on-finished@~2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
dependencies:
@@ -10186,10 +11018,29 @@ parse5@^3.0.1:
dependencies:
"@types/node" "*"
+parseqs@0.0.5:
+ version "0.0.5"
+ resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d"
+ integrity sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=
+ dependencies:
+ better-assert "~1.0.0"
+
+parseuri@0.0.5:
+ version "0.0.5"
+ resolved "https://registry.yarnpkg.com/parseuri/-/parseuri-0.0.5.tgz#80204a50d4dbb779bfdc6ebe2778d90e4bce320a"
+ integrity sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=
+ dependencies:
+ better-assert "~1.0.0"
+
parseurl@^1.3.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3"
+parseurl@~1.3.3:
+ version "1.3.3"
+ resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
+ integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
+
pascalcase@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
@@ -10198,6 +11049,11 @@ path-browserify@0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a"
+path-browserify@0.0.1:
+ version "0.0.1"
+ resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a"
+ integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==
+
path-dirname@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
@@ -10270,11 +11126,16 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
+pend@~1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
+ integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA=
+
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
-picomatch@^2.0.4, picomatch@^2.0.5:
+picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1:
version "2.2.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
@@ -10518,6 +11379,13 @@ postcss-modules-extract-imports@^1.2.0:
dependencies:
postcss "^6.0.1"
+postcss-modules-extract-imports@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e"
+ integrity sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==
+ dependencies:
+ postcss "^7.0.5"
+
postcss-modules-local-by-default@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069"
@@ -10525,6 +11393,16 @@ postcss-modules-local-by-default@^1.2.0:
css-selector-tokenizer "^0.7.0"
postcss "^6.0.1"
+postcss-modules-local-by-default@^3.0.3:
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0"
+ integrity sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==
+ dependencies:
+ icss-utils "^4.1.1"
+ postcss "^7.0.32"
+ postcss-selector-parser "^6.0.2"
+ postcss-value-parser "^4.1.0"
+
postcss-modules-scope@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90"
@@ -10532,6 +11410,14 @@ postcss-modules-scope@^1.1.0:
css-selector-tokenizer "^0.7.0"
postcss "^6.0.1"
+postcss-modules-scope@^2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee"
+ integrity sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==
+ dependencies:
+ postcss "^7.0.6"
+ postcss-selector-parser "^6.0.0"
+
postcss-modules-values@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20"
@@ -10539,6 +11425,14 @@ postcss-modules-values@^1.3.0:
icss-replace-symbols "^1.1.0"
postcss "^6.0.1"
+postcss-modules-values@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10"
+ integrity sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==
+ dependencies:
+ icss-utils "^4.0.0"
+ postcss "^7.0.6"
+
postcss-normalize-charset@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz#ef9ee71212d7fe759c78ed162f61ed62b5cb93f1"
@@ -10598,7 +11492,7 @@ postcss-selector-parser@^3.1.1:
indexes-of "^1.0.1"
uniq "^1.0.1"
-postcss-selector-parser@^6.0.2:
+postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c"
integrity sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==
@@ -10628,6 +11522,11 @@ postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^
version "3.3.0"
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15"
+postcss-value-parser@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb"
+ integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==
+
postcss-zindex@^2.0.1:
version "2.2.0"
resolved "https://registry.yarnpkg.com/postcss-zindex/-/postcss-zindex-2.2.0.tgz#d2109ddc055b91af67fc4cb3b025946639d2af22"
@@ -10653,7 +11552,7 @@ postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.20, postcss@^6.0.22:
source-map "^0.6.1"
supports-color "^5.4.0"
-postcss@^7.0.14:
+postcss@^7.0.14, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6:
version "7.0.32"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.32.tgz#4310d6ee347053da3433db2be492883d62cec59d"
integrity sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==
@@ -10744,6 +11643,11 @@ progress@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
+progress@^2.0.1:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
+ integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
+
promise-inflight@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
@@ -10788,6 +11692,11 @@ protoduck@^5.0.1:
dependencies:
genfun "^5.0.0"
+proxy-from-env@^1.0.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
+ integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
+
prr@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
@@ -10849,10 +11758,38 @@ punycode@^1.2.4:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
+puppeteer@^5.2.1:
+ version "5.2.1"
+ resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-5.2.1.tgz#7f0564f0a5384f352a38c8cc42af875cd87f4ea6"
+ integrity sha512-PZoZG7u+T6N1GFWBQmGVG162Ak5MAy8nYSVpeeQrwJK2oYUlDWpHEJPcd/zopyuEMTv7DiztS1blgny1txR2qw==
+ dependencies:
+ debug "^4.1.0"
+ devtools-protocol "0.0.781568"
+ extract-zip "^2.0.0"
+ https-proxy-agent "^4.0.0"
+ mime "^2.0.3"
+ pkg-dir "^4.2.0"
+ progress "^2.0.1"
+ proxy-from-env "^1.0.0"
+ rimraf "^3.0.2"
+ tar-fs "^2.0.0"
+ unbzip2-stream "^1.3.3"
+ ws "^7.2.3"
+
q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
+qjobs@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/qjobs/-/qjobs-1.2.0.tgz#c45e9c61800bd087ef88d7e256423bdd49e5d071"
+ integrity sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==
+
+qs@6.7.0:
+ version "6.7.0"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
+ integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==
+
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
@@ -10891,6 +11828,13 @@ randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5:
dependencies:
safe-buffer "^5.1.0"
+randombytes@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
+ integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
+ dependencies:
+ safe-buffer "^5.1.0"
+
randomfill@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458"
@@ -10902,6 +11846,21 @@ range-parser@^1.0.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
+range-parser@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
+ integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
+
+raw-body@2.4.0:
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332"
+ integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==
+ dependencies:
+ bytes "3.1.0"
+ http-errors "1.7.2"
+ iconv-lite "0.4.24"
+ unpipe "1.0.0"
+
rc@^1.0.1, rc@^1.1.6:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
@@ -11033,6 +11992,15 @@ readable-stream@1.0:
string_decoder "^1.1.1"
util-deprecate "^1.0.1"
+readable-stream@^3.1.1, readable-stream@^3.4.0:
+ version "3.6.0"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
+ integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
+ dependencies:
+ inherits "^2.0.3"
+ string_decoder "^1.1.1"
+ util-deprecate "^1.0.1"
+
readdir-scoped-modules@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
@@ -11043,7 +12011,7 @@ readdir-scoped-modules@^1.0.0:
graceful-fs "^4.1.2"
once "^1.3.0"
-readdirp@^2.0.0:
+readdirp@^2.0.0, readdirp@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==
@@ -11052,6 +12020,13 @@ readdirp@^2.0.0:
micromatch "^3.1.10"
readable-stream "^2.0.2"
+readdirp@~3.4.0:
+ version "3.4.0"
+ resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada"
+ integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==
+ dependencies:
+ picomatch "^2.2.1"
+
rechoir@^0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
@@ -11330,6 +12305,11 @@ require-uncached@^1.0.3:
caller-path "^0.1.0"
resolve-from "^1.0.0"
+requires-port@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
+ integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
+
resolve-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@@ -11415,6 +12395,11 @@ reusify@^1.0.0:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
+rfdc@^1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.4.tgz#ba72cc1367a0ccd9cf81a870b3b58bd3ad07f8c2"
+ integrity sha512-5C9HXdzK8EAqN7JDif30jqsBzavB7wLpaubisuQIGHWf2gUXSpzy6ArX/+Da8RjFpagWsCn+pIgxTMAmKw9Zug==
+
right-pad@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
@@ -11434,6 +12419,13 @@ rimraf@^3.0.0:
dependencies:
glob "^7.1.3"
+rimraf@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
+ integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
+ dependencies:
+ glob "^7.1.3"
+
ripemd160@^2.0.0, ripemd160@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7"
@@ -11625,6 +12617,24 @@ schema-utils@^0.4.0, schema-utils@^0.4.2, schema-utils@^0.4.3, schema-utils@^0.4
ajv "^6.1.0"
ajv-keywords "^3.1.0"
+schema-utils@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
+ integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==
+ dependencies:
+ ajv "^6.1.0"
+ ajv-errors "^1.0.0"
+ ajv-keywords "^3.1.0"
+
+schema-utils@^2.6.5, schema-utils@^2.7.0:
+ version "2.7.0"
+ resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7"
+ integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==
+ dependencies:
+ "@types/json-schema" "^7.0.4"
+ ajv "^6.12.2"
+ ajv-keywords "^3.4.1"
+
section-matter@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167"
@@ -11676,6 +12686,13 @@ serialize-javascript@^2.1.2:
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-2.1.2.tgz#ecec53b0e0317bdc95ef76ab7074b7384785fa61"
integrity sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ==
+serialize-javascript@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-3.1.0.tgz#8bf3a9170712664ef2561b44b691eafe399214ea"
+ integrity sha512-JIJT1DGiWmIKhzRsG91aS6Ze4sFUrYbltlkg2onR5OrnNM02Kl/hnY/T4FN2omvyeBbQmMJv+K4cPOpGzOTFBg==
+ dependencies:
+ randombytes "^2.1.0"
+
set-blocking@^2.0.0, set-blocking@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
@@ -11707,6 +12724,11 @@ setprototypeof@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
+setprototypeof@1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
+ integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==
+
sha.js@^2.4.0, sha.js@^2.4.8:
version "2.4.10"
resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.10.tgz#b1fde5cd7d11a5626638a07c604ab909cfa31f9b"
@@ -11834,6 +12856,61 @@ snapdragon@^0.8.1:
source-map-resolve "^0.5.0"
use "^3.1.0"
+socket.io-adapter@~1.1.0:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9"
+ integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g==
+
+socket.io-client@2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.3.0.tgz#14d5ba2e00b9bcd145ae443ab96b3f86cbcc1bb4"
+ integrity sha512-cEQQf24gET3rfhxZ2jJ5xzAOo/xhZwK+mOqtGRg5IowZsMgwvHwnf/mCRapAAkadhM26y+iydgwsXGObBB5ZdA==
+ dependencies:
+ backo2 "1.0.2"
+ base64-arraybuffer "0.1.5"
+ component-bind "1.0.0"
+ component-emitter "1.2.1"
+ debug "~4.1.0"
+ engine.io-client "~3.4.0"
+ has-binary2 "~1.0.2"
+ has-cors "1.1.0"
+ indexof "0.0.1"
+ object-component "0.0.3"
+ parseqs "0.0.5"
+ parseuri "0.0.5"
+ socket.io-parser "~3.3.0"
+ to-array "0.1.4"
+
+socket.io-parser@~3.3.0:
+ version "3.3.0"
+ resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.3.0.tgz#2b52a96a509fdf31440ba40fed6094c7d4f1262f"
+ integrity sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng==
+ dependencies:
+ component-emitter "1.2.1"
+ debug "~3.1.0"
+ isarray "2.0.1"
+
+socket.io-parser@~3.4.0:
+ version "3.4.1"
+ resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.4.1.tgz#b06af838302975837eab2dc980037da24054d64a"
+ integrity sha512-11hMgzL+WCLWf1uFtHSNvliI++tcRUWdoeYuwIl+Axvwy9z2gQM+7nJyN3STj1tLj5JyIUH8/gpDGxzAlDdi0A==
+ dependencies:
+ component-emitter "1.2.1"
+ debug "~4.1.0"
+ isarray "2.0.1"
+
+socket.io@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.3.0.tgz#cd762ed6a4faeca59bc1f3e243c0969311eb73fb"
+ integrity sha512-2A892lrj0GcgR/9Qk81EaY2gYhCBxurV0PfmmESO6p27QPrUK1J3zdns+5QPqvUYK2q657nSj0guoIil9+7eFg==
+ dependencies:
+ debug "~4.1.0"
+ engine.io "~3.4.0"
+ has-binary2 "~1.0.2"
+ socket.io-adapter "~1.1.0"
+ socket.io-client "2.3.0"
+ socket.io-parser "~3.4.0"
+
socks-proxy-agent@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
@@ -11877,7 +12954,7 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
source-map-url "^0.4.0"
urix "^0.1.0"
-source-map-support@^0.5.6:
+source-map-support@^0.5.6, source-map-support@~0.5.12:
version "0.5.19"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
@@ -12011,7 +13088,7 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"
-"statuses@>= 1.4.0 < 2", statuses@^1.2.0:
+"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@^1.2.0, statuses@~1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
@@ -12057,6 +13134,15 @@ stream-slice@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b"
+streamroller@^2.2.4:
+ version "2.2.4"
+ resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-2.2.4.tgz#c198ced42db94086a6193608187ce80a5f2b0e53"
+ integrity sha512-OG79qm3AujAM9ImoqgWEY1xG4HX+Lw+yY6qZj9R1K2mhF5bEmQ849wvrb+4vt4jLMLzwXttJlQbOdPOQVRv7DQ==
+ dependencies:
+ date-format "^2.1.0"
+ debug "^4.1.1"
+ fs-extra "^8.1.0"
+
strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -12332,6 +13418,32 @@ tapable@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0.tgz#cbb639d9002eed9c6b5975eb20598d7936f1f9f2"
+tapable@^1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
+ integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
+
+tar-fs@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.0.tgz#d1cdd121ab465ee0eb9ccde2d35049d3f3daf0d5"
+ integrity sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==
+ dependencies:
+ chownr "^1.1.1"
+ mkdirp-classic "^0.5.2"
+ pump "^3.0.0"
+ tar-stream "^2.0.0"
+
+tar-stream@^2.0.0:
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.1.3.tgz#1e2022559221b7866161660f118255e20fa79e41"
+ integrity sha512-Z9yri56Dih8IaK8gncVPx4Wqt86NDmQTSh49XLZgjWpGZL9GK9HKParS2scqHCC4w6X9Gh2jwaU45V47XTKwVA==
+ dependencies:
+ bl "^4.0.1"
+ end-of-stream "^1.4.1"
+ fs-constants "^1.0.0"
+ inherits "^2.0.3"
+ readable-stream "^3.1.1"
+
tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
version "4.4.13"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
@@ -12375,6 +13487,30 @@ terminal-link@^2.0.0:
ansi-escapes "^4.2.1"
supports-hyperlinks "^2.0.0"
+terser-webpack-plugin@^1.4.3:
+ version "1.4.4"
+ resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.4.tgz#2c63544347324baafa9a56baaddf1634c8abfc2f"
+ integrity sha512-U4mACBHIegmfoEe5fdongHESNJWqsGU+W0S/9+BmYGVQDw1+c2Ow05TpMhxjPK1sRb7cuYq1BPl1e5YHJMTCqA==
+ dependencies:
+ cacache "^12.0.2"
+ find-cache-dir "^2.1.0"
+ is-wsl "^1.1.0"
+ schema-utils "^1.0.0"
+ serialize-javascript "^3.1.0"
+ source-map "^0.6.1"
+ terser "^4.1.2"
+ webpack-sources "^1.4.0"
+ worker-farm "^1.7.0"
+
+terser@^4.1.2:
+ version "4.8.0"
+ resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17"
+ integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==
+ dependencies:
+ commander "^2.20.0"
+ source-map "~0.6.1"
+ source-map-support "~0.5.12"
+
test-exclude@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"
@@ -12423,7 +13559,7 @@ through2@^3.0.0:
dependencies:
readable-stream "2 || 3"
-through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@~2.3.4:
+through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3.4:
version "2.3.8"
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
@@ -12445,6 +13581,13 @@ tiny-emitter@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c"
+tmp@0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"
+ integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==
+ dependencies:
+ rimraf "^3.0.0"
+
tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
@@ -12456,6 +13599,11 @@ tmpl@1.0.x:
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
+to-array@0.1.4:
+ version "0.1.4"
+ resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
+ integrity sha1-F+bBH3PdTz10zaek/zI46a2b+JA=
+
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
@@ -12497,6 +13645,11 @@ to-regex@^3.0.1, to-regex@^3.0.2:
regex-not "^1.0.2"
safe-regex "^1.1.0"
+toidentifier@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
+ integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
+
toml@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/toml/-/toml-2.3.3.tgz#8d683d729577cb286231dfc7a8affe58d31728fb"
@@ -12649,6 +13802,14 @@ type-is@^1.5.5:
media-typer "0.3.0"
mime-types "~2.1.18"
+type-is@~1.6.17:
+ version "1.6.18"
+ resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
+ integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==
+ dependencies:
+ media-typer "0.3.0"
+ mime-types "~2.1.24"
+
typedarray-to-buffer@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
@@ -12665,6 +13826,11 @@ typescript@3:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.2.tgz#27e489b95fa5909445e9fef5ee48d81697ad18fb"
integrity sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==
+ua-parser-js@0.7.21:
+ version "0.7.21"
+ resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777"
+ integrity sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ==
+
uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376"
@@ -12714,6 +13880,14 @@ umask@^1.1.0:
resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=
+unbzip2-stream@^1.3.3:
+ version "1.4.3"
+ resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7"
+ integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==
+ dependencies:
+ buffer "^5.2.1"
+ through "^2.3.8"
+
unherit@^1.0.4:
version "1.1.0"
resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.0.tgz#6b9aaedfbf73df1756ad9e316dd981885840cd7d"
@@ -12829,6 +14003,11 @@ universalify@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
+unpipe@1.0.0, unpipe@~1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
+ integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=
+
unset-value@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
@@ -12840,7 +14019,7 @@ unzip-response@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
-upath@^1.0.0, upath@^1.2.0:
+upath@^1.0.0, upath@^1.1.1, upath@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==
@@ -12934,6 +14113,13 @@ util@0.10.3, util@^0.10.3:
dependencies:
inherits "2.0.1"
+util@^0.11.0:
+ version "0.11.1"
+ resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61"
+ integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==
+ dependencies:
+ inherits "2.0.3"
+
utila@~0.3:
version "0.3.3"
resolved "https://registry.yarnpkg.com/utila/-/utila-0.3.3.tgz#d7e8e7d7e309107092b05f8d9688824d633a4226"
@@ -12942,6 +14128,11 @@ utila@~0.4:
version "0.4.0"
resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
+utils-merge@1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
+ integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
+
uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
@@ -13029,6 +14220,16 @@ vm-browserify@0.0.4:
dependencies:
indexof "0.0.1"
+vm-browserify@^1.0.1:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
+ integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
+
+void-elements@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec"
+ integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=
+
vue-class-component@^7.2.3:
version "7.2.3"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-7.2.3.tgz#a5b1abd53513a72ad51098752e2dedd499807cca"
@@ -13061,6 +14262,17 @@ vue-loader@^15.2.4:
vue-hot-reload-api "^2.3.0"
vue-style-loader "^4.1.0"
+vue-loader@^15.9.3:
+ version "15.9.3"
+ resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.9.3.tgz#0de35d9e555d3ed53969516cac5ce25531299dda"
+ integrity sha512-Y67VnGGgVLH5Voostx8JBZgPQTlDQeOVBLOEsjc2cXbCYBKexSKEpOA56x0YZofoDOTszrLnIShyOX1p9uCEHA==
+ dependencies:
+ "@vue/component-compiler-utils" "^3.1.0"
+ hash-sum "^1.0.2"
+ loader-utils "^1.1.0"
+ vue-hot-reload-api "^2.3.0"
+ vue-style-loader "^4.1.0"
+
vue-router@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.1.tgz#d9b05ad9c7420ba0f626d6500d693e60092cc1e9"
@@ -13086,6 +14298,14 @@ vue-style-loader@^4.1.0:
hash-sum "^1.0.2"
loader-utils "^1.0.2"
+vue-style-loader@^4.1.2:
+ version "4.1.2"
+ resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.2.tgz#dedf349806f25ceb4e64f3ad7c0a44fba735fcf8"
+ integrity sha512-0ip8ge6Gzz/Bk0iHovU9XAUQaFt/G2B61bnWa2tCcqqdgfHs1lF9xXorFbE55Gmy92okFT+8bfmySuUOu13vxQ==
+ dependencies:
+ hash-sum "^1.0.2"
+ loader-utils "^1.0.2"
+
vue-template-compiler@^2.5.16, vue-template-compiler@^2.6.11:
version "2.6.11"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.11.tgz#c04704ef8f498b153130018993e56309d4698080"
@@ -13207,6 +14427,13 @@ walker@^1.0.7, walker@~1.0.5:
dependencies:
makeerror "1.0.x"
+watchpack-chokidar2@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz#9948a1866cbbd6cb824dea13a7ed691f6c8ddff0"
+ integrity sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA==
+ dependencies:
+ chokidar "^2.1.8"
+
watchpack@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
@@ -13215,6 +14442,17 @@ watchpack@^1.5.0:
graceful-fs "^4.1.2"
neo-async "^2.5.0"
+watchpack@^1.7.4:
+ version "1.7.4"
+ resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.4.tgz#6e9da53b3c80bb2d6508188f5b200410866cd30b"
+ integrity sha512-aWAgTW4MoSJzZPAicljkO1hsi1oKj/RRq/OJQh2PKI2UKL04c2Bs+MBOB+BBABHTXJpf9mCwHN7ANCvYsvY2sg==
+ dependencies:
+ graceful-fs "^4.1.2"
+ neo-async "^2.5.0"
+ optionalDependencies:
+ chokidar "^3.4.1"
+ watchpack-chokidar2 "^2.0.0"
+
wcwidth@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
@@ -13264,6 +14502,17 @@ webpack-dev-middleware@^3.0.0:
url-join "^4.0.0"
webpack-log "^1.0.1"
+webpack-dev-middleware@^3.7.0:
+ version "3.7.2"
+ resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3"
+ integrity sha512-1xC42LxbYoqLNAhV6YzTYacicgMZQTqRd27Sim9wn5hJrX3I5nxYy1SxSd4+gjUFsz1dQFj+yEe6zEVmSkeJjw==
+ dependencies:
+ memory-fs "^0.4.1"
+ mime "^2.4.4"
+ mkdirp "^0.5.1"
+ range-parser "^1.2.1"
+ webpack-log "^2.0.0"
+
webpack-hot-client@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/webpack-hot-client/-/webpack-hot-client-3.0.0.tgz#b714f257a264001275bc1491741685779cde12f2"
@@ -13284,12 +14533,25 @@ webpack-log@^1.0.1, webpack-log@^1.1.1, webpack-log@^1.1.2:
loglevelnext "^1.0.1"
uuid "^3.1.0"
+webpack-log@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f"
+ integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==
+ dependencies:
+ ansi-colors "^3.0.0"
+ uuid "^3.3.2"
+
webpack-merge@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.1.2.tgz#5d372dddd3e1e5f8874f5bf5a8e929db09feb216"
dependencies:
lodash "^4.17.5"
+webpack-node-externals@^2.5.0:
+ version "2.5.0"
+ resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-2.5.0.tgz#8d50f3289c71bc2b921a8da228e0b652acc503f1"
+ integrity sha512-g7/Z7Q/gsP8GkJkKZuJggn6RSb5PvxW1YD5vvmRZIxaSxAzkqjfL5n9CslVmNYlSqBVCyiqFgOqVS2IOObCSRg==
+
webpack-serve@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/webpack-serve/-/webpack-serve-1.0.4.tgz#d1c83955926969ba195e5032f978da92ef07829c"
@@ -13326,6 +14588,43 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0:
source-list-map "^2.0.0"
source-map "~0.6.1"
+webpack-sources@^1.4.0, webpack-sources@^1.4.1:
+ version "1.4.3"
+ resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
+ integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==
+ dependencies:
+ source-list-map "^2.0.0"
+ source-map "~0.6.1"
+
+webpack@^4.44.1:
+ version "4.44.1"
+ resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21"
+ integrity sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ==
+ dependencies:
+ "@webassemblyjs/ast" "1.9.0"
+ "@webassemblyjs/helper-module-context" "1.9.0"
+ "@webassemblyjs/wasm-edit" "1.9.0"
+ "@webassemblyjs/wasm-parser" "1.9.0"
+ acorn "^6.4.1"
+ ajv "^6.10.2"
+ ajv-keywords "^3.4.1"
+ chrome-trace-event "^1.0.2"
+ enhanced-resolve "^4.3.0"
+ eslint-scope "^4.0.3"
+ json-parse-better-errors "^1.0.2"
+ loader-runner "^2.4.0"
+ loader-utils "^1.2.3"
+ memory-fs "^0.4.1"
+ micromatch "^3.1.10"
+ mkdirp "^0.5.3"
+ neo-async "^2.6.1"
+ node-libs-browser "^2.2.1"
+ schema-utils "^1.0.0"
+ tapable "^1.1.3"
+ terser-webpack-plugin "^1.4.3"
+ watchpack "^1.7.4"
+ webpack-sources "^1.4.1"
+
webpack@^4.8.1:
version "4.8.3"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.8.3.tgz#957c8e80000f9e5cc03d775e78b472d8954f4eeb"
@@ -13409,7 +14708,7 @@ which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
-which@^1.2.14, which@^1.2.9, which@^1.3.1:
+which@^1.2.1, which@^1.2.14, which@^1.2.9, which@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
@@ -13557,6 +14856,13 @@ worker-farm@^1.5.2:
dependencies:
errno "~0.1.7"
+worker-farm@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8"
+ integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==
+ dependencies:
+ errno "~0.1.7"
+
wrap-ansi@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba"
@@ -13655,11 +14961,18 @@ ws@^6.0.0:
dependencies:
async-limiter "~1.0.0"
-ws@^7.2.3:
+ws@^7.1.2, ws@^7.2.3:
version "7.3.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"
integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==
+ws@~6.1.0:
+ version "6.1.4"
+ resolved "https://registry.yarnpkg.com/ws/-/ws-6.1.4.tgz#5b5c8800afab925e94ccb29d153c8d02c1776ef9"
+ integrity sha512-eqZfL+NE/YQc1/ZynhojeV8q+H050oR8AZ2uIev7RU10svA9ZnJUddHcOUZTJLinZ9yEfdA2kSATS2qZK5fhJA==
+ dependencies:
+ async-limiter "~1.0.0"
+
x-is-function@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/x-is-function/-/x-is-function-1.0.4.tgz#5d294dc3d268cbdd062580e0c5df77a391d1fa1e"
@@ -13681,6 +14994,11 @@ xmlchars@^2.2.0:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
+xmlhttprequest-ssl@~1.5.4:
+ version "1.5.5"
+ resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
+ integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=
+
xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
@@ -13753,3 +15071,16 @@ yargs@^15.3.1:
which-module "^2.0.0"
y18n "^4.0.0"
yargs-parser "^18.1.2"
+
+yauzl@^2.10.0:
+ version "2.10.0"
+ resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
+ integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=
+ dependencies:
+ buffer-crc32 "~0.2.3"
+ fd-slicer "~1.1.0"
+
+yeast@0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
+ integrity sha1-AI4G2AlDIMNy28L47XagymyKxBk=
From 368111060cb72aa61760edbd0ad2d21701084c01 Mon Sep 17 00:00:00 2001
From: Bill
Date: Mon, 3 Aug 2020 23:35:12 -0400
Subject: [PATCH 43/46] chore(scripts): re add missing build scripts
Add back build scripts that were initially removed from jest migration
---
package.json | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package.json b/package.json
index 969cc4162..60d8b4a15 100644
--- a/package.json
+++ b/package.json
@@ -6,14 +6,19 @@
],
"scripts": {
"bootstrap": "lerna bootstrap",
+ "build": "lerna run build",
"build:test": "lerna run build:test",
+ "clean": "lerna clean --yes",
+ "commit": "git-cz",
"docs": "vuepress dev docs",
"docs:build": "vuepress build docs",
"flow": "flow check",
"lint": "eslint --ext js,vue .",
"lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
+ "lint:fix": "yarn lint -- --fix",
"format": "prettier --write \"**/*.{js,json,vue,md}\"",
"format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
+ "release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\"",
"test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit -w 1 && yarn test:unit:browser",
"test:compat": "scripts/test-compat.sh",
"test:unit": "cross-env TARGET=dev yarn jest",
From 0eb83a101cef4077a09d2b8194932cd88e8acf07 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 8 Aug 2020 23:35:35 -0400
Subject: [PATCH 44/46] chore(jsdom): remove JSDOM and JSDOM-Global
JSDOM and JSDOM-Global are no longer used with the removal of the mocha tests. JSDOM is still used
implicitly by jest.
---
package.json | 2 -
yarn.lock | 114 +++++++--------------------------------------------
2 files changed, 15 insertions(+), 101 deletions(-)
diff --git a/package.json b/package.json
index 60d8b4a15..50f8d2b09 100644
--- a/package.json
+++ b/package.json
@@ -35,8 +35,6 @@
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-vue-libs": "^2.1.0",
"flow-bin": "^0.66.0",
- "jsdom": "^12.0.0",
- "jsdom-global": "^3.0.2",
"lerna": "^3.20.2",
"markdown-it-include": "^1.0.0",
"rollup": "1",
diff --git a/yarn.lock b/yarn.lock
index 3c44cccc6..0d859daf4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3336,7 +3336,7 @@ JSONStream@^1.0.4, JSONStream@^1.3.4:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
-abab@^2.0.0, abab@^2.0.3:
+abab@^2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.4.tgz#6dfa57b417ca06d21b2478f0e638302f99c2405c"
integrity sha512-Eu9ELJWCz/c1e9gTiCY+FceWxcqzjYEbqMgtndnuSqZSUCOL73TWNK2mHfIj4Cw2E/ongOp+JISVNCmovt2KYQ==
@@ -3372,12 +3372,6 @@ acorn-dynamic-import@^4.0.0:
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948"
integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==
-acorn-globals@^4.1.0:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538"
- dependencies:
- acorn "^5.0.0"
-
acorn-globals@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45"
@@ -3406,7 +3400,7 @@ acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
-acorn@^5.0.0, acorn@^5.4.0, acorn@^5.7.1:
+acorn@^5.0.0, acorn@^5.4.0:
version "5.7.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
@@ -3671,10 +3665,6 @@ array-differ@^2.0.3:
resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1"
integrity sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w==
-array-equal@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93"
-
array-find-index@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
@@ -5554,21 +5544,15 @@ csso@~2.3.1:
clap "^1.0.9"
source-map "^0.5.3"
-cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0", cssom@~0.3.6:
- version "0.3.8"
- resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
- integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
-
cssom@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10"
integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==
-cssstyle@^1.0.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-1.1.1.tgz#18b038a9c44d65f7a8e428a653b9f6fe42faf5fb"
- dependencies:
- cssom "0.3.x"
+cssom@~0.3.6:
+ version "0.3.8"
+ resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
+ integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
cssstyle@^2.2.0:
version "2.3.0"
@@ -5640,14 +5624,6 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"
-data-urls@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-1.0.1.tgz#d416ac3896918f29ca84d81085bc3705834da579"
- dependencies:
- abab "^2.0.0"
- whatwg-mimetype "^2.1.0"
- whatwg-url "^7.0.0"
-
data-urls@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b"
@@ -5989,12 +5965,6 @@ domelementtype@~1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b"
-domexception@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90"
- dependencies:
- webidl-conversions "^4.0.2"
-
domexception@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304"
@@ -6334,7 +6304,7 @@ escape-string-regexp@^2.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
-escodegen@^1.11.0, escodegen@^1.14.1:
+escodegen@^1.14.1:
version "1.14.3"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==
@@ -7651,12 +7621,6 @@ html-comment-regex@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.1.tgz#668b93776eaae55ebde8f3ad464b307a4963625e"
-html-encoding-sniffer@^1.0.2:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8"
- dependencies:
- whatwg-encoding "^1.0.1"
-
html-encoding-sniffer@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3"
@@ -9031,40 +8995,6 @@ jsbn@~0.1.0:
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
-jsdom-global@^3.0.2:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/jsdom-global/-/jsdom-global-3.0.2.tgz#6bd299c13b0c4626b2da2c0393cd4385d606acb9"
-
-jsdom@^12.0.0:
- version "12.0.0"
- resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-12.0.0.tgz#043ffaac60605d87adf77a1ec3eb7686918b6b64"
- dependencies:
- abab "^2.0.0"
- acorn "^5.7.1"
- acorn-globals "^4.1.0"
- array-equal "^1.0.0"
- cssom ">= 0.3.2 < 0.4.0"
- cssstyle "^1.0.0"
- data-urls "^1.0.1"
- domexception "^1.0.1"
- escodegen "^1.11.0"
- html-encoding-sniffer "^1.0.2"
- nwsapi "^2.0.8"
- parse5 "5.1.0"
- pn "^1.1.0"
- request "^2.88.0"
- request-promise-native "^1.0.5"
- sax "^1.2.4"
- symbol-tree "^3.2.2"
- tough-cookie "^2.4.3"
- w3c-hr-time "^1.0.1"
- webidl-conversions "^4.0.2"
- whatwg-encoding "^1.0.4"
- whatwg-mimetype "^2.1.0"
- whatwg-url "^7.0.0"
- ws "^6.0.0"
- xml-name-validator "^3.0.0"
-
jsdom@^16.2.2:
version "16.3.0"
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.3.0.tgz#75690b7dac36c67be49c336dcd7219bbbed0810c"
@@ -10616,7 +10546,7 @@ number-is-nan@^1.0.0:
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=
-nwsapi@^2.0.8, nwsapi@^2.2.0:
+nwsapi@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
@@ -11003,10 +10933,6 @@ parse-url@^5.0.0:
parse-path "^4.0.0"
protocols "^1.4.0"
-parse5@5.1.0:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
-
parse5@5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
@@ -11203,10 +11129,6 @@ pluralize@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777"
-pn@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
-
portfinder@^1.0.13:
version "1.0.13"
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9"
@@ -12249,7 +12171,7 @@ request-promise-core@1.1.4:
dependencies:
lodash "^4.17.19"
-request-promise-native@^1.0.5, request-promise-native@^1.0.8:
+request-promise-native@^1.0.8:
version "1.0.9"
resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28"
integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==
@@ -12599,7 +12521,7 @@ sax@0.5.x:
version "0.5.8"
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
-sax@^1.2.4, sax@~1.2.1:
+sax@~1.2.1:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
@@ -13386,7 +13308,7 @@ symbol-observable@^1.1.0:
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
-symbol-tree@^3.2.2, symbol-tree@^3.2.4:
+symbol-tree@^3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
@@ -13665,7 +13587,7 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-tough-cookie@^2.3.3, tough-cookie@^2.4.3, tough-cookie@~2.5.0:
+tough-cookie@^2.3.3, tough-cookie@~2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
@@ -14406,7 +14328,7 @@ vuex@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.0.1.tgz#e761352ebe0af537d4bb755a9b9dc4be3df7efd2"
-w3c-hr-time@^1.0.1, w3c-hr-time@^1.0.2:
+w3c-hr-time@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==
@@ -14667,14 +14589,14 @@ webpackbar@^2.6.1:
std-env "^1.3.0"
table "^4.0.3"
-whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.4, whatwg-encoding@^1.0.5:
+whatwg-encoding@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==
dependencies:
iconv-lite "0.4.24"
-whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.3.0:
+whatwg-mimetype@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==
@@ -14955,12 +14877,6 @@ ws@^4.0.0:
async-limiter "~1.0.0"
safe-buffer "~5.1.0"
-ws@^6.0.0:
- version "6.0.0"
- resolved "https://registry.yarnpkg.com/ws/-/ws-6.0.0.tgz#eaa494aded00ac4289d455bac8d84c7c651cef35"
- dependencies:
- async-limiter "~1.0.0"
-
ws@^7.1.2, ws@^7.2.3:
version "7.3.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"
From 6cbfadf50606042e020b27330ea3fddf52038665 Mon Sep 17 00:00:00 2001
From: Lachlan Miller
Date: Sun, 16 Aug 2020 01:50:07 +1000
Subject: [PATCH 45/46] chore: update eslintrc
---
.eslintrc | 1 +
1 file changed, 1 insertion(+)
diff --git a/.eslintrc b/.eslintrc
index 7cf4c15c8..dad888b1d 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -14,6 +14,7 @@
"plugin:flowtype/recommended"
],
"rules": {
+ "template-curly-spacing" : "off",
"no-debugger": 2,
"no-proto": 0,
"space-before-function-paren": 0,
From afad86ee1191aa78dfe13232a926eaaa0b162a18 Mon Sep 17 00:00:00 2001
From: Bill
Date: Sat, 15 Aug 2020 20:36:50 -0400
Subject: [PATCH 46/46] chore(karma.config.js): set singleRun to true for all
runtimes
Set singleRun option in karma to true locally and in CI so the test process always terminates when
finished
---
test/setup/karma.config.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/setup/karma.config.js b/test/setup/karma.config.js
index 8bebf7eed..30f12e8d4 100644
--- a/test/setup/karma.config.js
+++ b/test/setup/karma.config.js
@@ -19,7 +19,7 @@ module.exports = config => {
}
}
: {}),
- singleRun: !!process.env.CI,
+ singleRun: true,
plugins: [
'karma-webpack',
'karma-jasmine',