From 59be77a2f3c6fa2c709cd1ce919c33f3aad3eca4 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 29 Jan 2019 09:31:14 +0000 Subject: [PATCH 001/221] feat: .nuxtignore (#4647) --- packages/builder/package.json | 1 + packages/builder/src/builder.js | 56 ++++++-- packages/builder/src/ignore.js | 51 +++++++ packages/vue-app/template/middleware.js | 22 +-- packages/vue-app/template/store.js | 135 +++++++++--------- test/fixtures/with-config/.nuxtignore | 4 + .../with-config/layouts/test-ignore.vue | 1 + .../with-config/middleware/test-ignore.js | 1 + .../with-config/pages/test-ignore.vue | 0 .../fixtures/with-config/store/test-ignore.js | 1 + test/unit/with-config.test.js | 5 + yarn.lock | 2 +- 12 files changed, 178 insertions(+), 101 deletions(-) create mode 100644 packages/builder/src/ignore.js create mode 100644 test/fixtures/with-config/.nuxtignore create mode 100644 test/fixtures/with-config/layouts/test-ignore.vue create mode 100644 test/fixtures/with-config/middleware/test-ignore.js create mode 100644 test/fixtures/with-config/pages/test-ignore.vue create mode 100644 test/fixtures/with-config/store/test-ignore.js diff --git a/packages/builder/package.json b/packages/builder/package.json index 33e7cafead..ff898de455 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -16,6 +16,7 @@ "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", + "ignore": "^5.0.4", "lodash": "^4.17.11", "pify": "^4.0.1", "semver": "^5.6.0", diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index ad4fabf8f8..add279d862 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -31,6 +31,7 @@ import { isIndexFileAndFolder } from '@nuxt/utils' +import Ignore from './ignore' import BuildContext from './context' const glob = pify(Glob) @@ -86,6 +87,9 @@ export default class Builder { // } this.bundleBuilder = this.getBundleBuilder(bundleBuilder) + this.ignore = new Ignore({ + rootDir: this.options.srcDir + }) } getBundleBuilder(BundleBuilder) { @@ -132,6 +136,18 @@ export default class Builder { ) } + async resolveFiles(dir, cwd = this.options.srcDir) { + return this.ignore.filter(await glob(`${dir}/**/*.{${this.supportedExtensions.join(',')}}`, { + cwd, + ignore: this.options.ignore + })) + } + + async resolveRelative(dir) { + const dirPrefix = new RegExp(`^${dir}/`) + return (await this.resolveFiles(dir)).map(file => ({ src: file.replace(dirPrefix, '') })) + } + resolvePlugins() { // Check plugins exist then set alias to their real path return Promise.all(this.plugins.map(async (p) => { @@ -318,14 +334,12 @@ export default class Builder { router: this.options.router, env: this.options.env, head: this.options.head, - middleware: fsExtra.existsSync(path.join(this.options.srcDir, this.options.dir.middleware)), store: this.options.store, globalName: this.options.globalName, globals: this.globals, css: this.options.css, plugins: this.plugins, appPath: './App.js', - ignorePrefix: this.options.ignorePrefix, layouts: Object.assign({}, this.options.layouts), loading: typeof this.options.loading === 'string' @@ -344,10 +358,7 @@ export default class Builder { // -- Layouts -- if (fsExtra.existsSync(path.resolve(this.options.srcDir, this.options.dir.layouts))) { const configLayouts = this.options.layouts - const layoutsFiles = await glob(`${this.options.dir.layouts}/**/*.{${this.supportedExtensions.join(',')}}`, { - cwd: this.options.srcDir, - ignore: this.options.ignore - }) + const layoutsFiles = await this.resolveFiles(this.options.dir.layouts) layoutsFiles.forEach((file) => { const name = file .replace(new RegExp(`^${this.options.dir.layouts}/`), '') @@ -392,16 +403,14 @@ export default class Builder { } else if (this._nuxtPages) { // Use nuxt.js createRoutes bases on pages/ const files = {} - ;(await glob(`${this.options.dir.pages}/**/*.{${this.supportedExtensions.join(',')}}`, { - cwd: this.options.srcDir, - ignore: this.options.ignore - })).forEach((f) => { - const key = f.replace(new RegExp(`\\.(${this.supportedExtensions.join('|')})$`), '') + const ext = new RegExp(`\\.(${this.supportedExtensions.join('|')})$`) + for (const page of await this.resolveFiles(this.options.dir.pages)) { + const key = page.replace(ext, '') // .vue file takes precedence over other extensions - if (/\.vue$/.test(f) || !files[key]) { - files[key] = f.replace(/(['"])/g, '\\$1') + if (/\.vue$/.test(page) || !files[key]) { + files[key] = page.replace(/(['"])/g, '\\$1') } - }) + } templateVars.router.routes = createRoutes( Object.values(files), this.options.srcDir, @@ -438,9 +447,24 @@ export default class Builder { // -- Store -- // Add store if needed if (this.options.store) { + templateVars.storeModules = (await this.resolveRelative(this.options.dir.store)) + .sort(({ src: p1 }, { src: p2 }) => { + // modules are sorted from low to high priority (for overwriting properties) + let res = p1.split('/').length - p2.split('/').length + if (res === 0 && p1.includes('/index.')) { + res = -1 + } else if (res === 0 && p2.includes('/index.')) { + res = 1 + } + return res + }) + templatesFiles.push('store.js') } + // -- Middleware -- + templateVars.middleware = await this.resolveRelative(this.options.dir.middleware) + // Resolve template files const customTemplateFiles = this.options.build.templates.map( t => t.dst || path.basename(t.src || t) @@ -676,6 +700,10 @@ export default class Builder { ...this.options.watch ].map(this.nuxt.resolver.resolveAlias) + if (this.ignore.ignoreFile) { + nuxtRestartWatch.push(this.ignore.ignoreFile) + } + this.watchers.restart = chokidar .watch(nuxtRestartWatch, this.options.watchers.chokidar) .on('all', (event, _path) => { diff --git a/packages/builder/src/ignore.js b/packages/builder/src/ignore.js new file mode 100644 index 0000000000..ae770f5e03 --- /dev/null +++ b/packages/builder/src/ignore.js @@ -0,0 +1,51 @@ +import path from 'path' +import fs from 'fs-extra' +import ignore from 'ignore' + +export default class Ignore { + constructor(options) { + this.rootDir = options.rootDir + this.addIgnoresRules() + } + + static get IGNORE_FILENAME() { + return '.nuxtignore' + } + + findIgnoreFile() { + if (!this.ignoreFile) { + const ignoreFile = path.resolve(this.rootDir, Ignore.IGNORE_FILENAME) + if (fs.existsSync(ignoreFile) && fs.statSync(ignoreFile).isFile()) { + this.ignoreFile = ignoreFile + this.ignore = ignore() + } + } + return this.ignoreFile + } + + readIgnoreFile() { + if (this.findIgnoreFile()) { + return fs.readFileSync(this.ignoreFile, 'utf8') + } + } + + addIgnoresRules() { + const content = this.readIgnoreFile() + if (content) { + this.ignore.add(content) + } + } + + filter(paths) { + if (this.ignore) { + return this.ignore.filter([].concat(paths || [])) + } + return paths + } + + reload() { + delete this.ignore + delete this.ignoreFile + this.addIgnoresRules() + } +} diff --git a/packages/vue-app/template/middleware.js b/packages/vue-app/template/middleware.js index fc887e509f..2fcd5c62f3 100644 --- a/packages/vue-app/template/middleware.js +++ b/packages/vue-app/template/middleware.js @@ -1,18 +1,8 @@ -<% if (middleware) { %> -const files = require.context('@/<%= dir.middleware %>', false, /^\.\/(?!<%= ignorePrefix %>)[^.]+\.(<%= extensions %>)$/) -const filenames = files.keys() - -function getModule(filename) { - const file = files(filename) - return file.default || file -} const middleware = {} - -// Generate the middleware -for (const filename of filenames) { - const name = filename.replace(/^\.\//, '').replace(/\.(<%= extensions %>)$/, '') - middleware[name] = getModule(filename) -} - +<% middleware.forEach(m => { + const name = m.src.replace(new RegExp(`\\.(${extensions})$`), '') +%> +middleware['<%= name %>'] = require('@/<%= dir.middleware %>/<%= m.src %>'); +middleware['<%= name %>'] = middleware['<%= name %>'].default || middleware['<%= name %>'] +<% }) %> export default middleware -<% } else { %>export default {}<% } %> diff --git a/packages/vue-app/template/store.js b/packages/vue-app/template/store.js index 2dca5d22aa..05d15abcaa 100644 --- a/packages/vue-app/template/store.js +++ b/packages/vue-app/template/store.js @@ -6,29 +6,12 @@ Vue.use(Vuex) const log = console // on server-side, consola will catch all console.log const VUEX_PROPERTIES = ['state', 'getters', 'actions', 'mutations'] let store = {} -let fileResolver void (function updateModules() { - fileResolver = require.context('@/<%= dir.store %>', true, /^\.\/(?!<%= ignorePrefix %>)[^.]+\.(<%= extensions %>)$/) - - // Paths are sorted from low to high priority (for overwriting properties) - const paths = fileResolver.keys().sort((p1, p2) => { - let res = p1.split('/').length - p2.split('/').length - - if (res === 0 && p1.includes('/index.')) { - res = -1 - } else if (res === 0 && p2.includes('/index.')) { - res = 1 - } - return res - }) - - // Check if {dir.store}/index.js exists - const indexPath = paths.find(path => path.includes('./index.')) - - if (indexPath) { - store = requireModule(indexPath, { isRoot: true }) - } + <% storeModules.some(s => { + if(s.src.indexOf('index.') === 0) { %> + store = normalizeRoot(require('@/<%= dir.store %>/<%= s.src %>'), '<%= dir.store %>/<%= s.src %>') + <% return true }}) %> // If store is an exported method = classic mode (deprecated) if (typeof store === 'function') { @@ -38,47 +21,17 @@ void (function updateModules() { // Enforce store modules store.modules = store.modules || {} - for (const path of paths) { - // Remove store path + extension (./foo/index.js -> foo/index) - const namespace = path.replace(/^\.\//, '').replace(/\.(<%= extensions %>)$/, '') + <% storeModules.forEach(s => { + if(s.src.indexOf('index.') !== 0) { %> + resolveStoreModules(require('@/<%= dir.store %>/<%= s.src %>'), '<%= s.src %>')<% }}) %> - // Ignore indexFile, handled before - if (namespace === 'index') { - continue - } - - const namespaces = namespace.split('/') - let moduleName = namespaces[namespaces.length - 1] - const moduleData = requireModule(path, { isState: moduleName === 'state' }) - - // If path is a known Vuex property - if (VUEX_PROPERTIES.includes(moduleName)) { - const property = moduleName - const storeModule = getStoreModule(store, namespaces, { isProperty: true }) - - // Replace state since it's a function - mergeProperty(storeModule, moduleData, property) - continue - } - - // If file is foo/index.js, it should be saved as foo - const isIndexModule = (moduleName === 'index') - if (isIndexModule) { - namespaces.pop() - moduleName = namespaces[namespaces.length - 1] - } - - const storeModule = getStoreModule(store, namespaces) - - for (const property of VUEX_PROPERTIES) { - mergeProperty(storeModule, moduleData[property], property) - } - } // If the environment supports hot reloading... <% if (isDev) { %> if (process.client && module.hot) { // Whenever any Vuex module is updated... - module.hot.accept(fileResolver.id, () => { + module.hot.accept([<% storeModules.forEach(s => { %> + '@/<%= dir.store %>/<%= s.src %>',<% }) %> + ], () => { // Update `root.modules` with the latest definitions. updateModules() // Trigger a hot update in the store. @@ -94,26 +47,68 @@ export const createStore = store instanceof Function ? store : () => { }, store)) } -// Dynamically require module -function requireModule(path, { isRoot = false, isState = false } = {}) { - const file = fileResolver(path) - let moduleData = file.default || file +function resolveStoreModules(moduleData, filename) { + moduleData = moduleData.default || moduleData + // Remove store src + extension (./foo/index.js -> foo/index) + const namespace = filename.replace(/\.(<%= extensions %>)$/, '') + const namespaces = namespace.split('/') + let moduleName = namespaces[namespaces.length - 1] + const filePath = `<%= dir.store %>/${filename}` - if (isState && typeof moduleData !== 'function') { - log.warn(`${path} should export a method that returns an object`) - const state = Object.assign({}, moduleData) - return () => state - } - if (isRoot && moduleData.commit) { - throw new Error('[nuxt] <%= dir.store %>/' + path.replace('./', '') + ' should export a method that returns a Vuex instance.') + moduleData = moduleName === 'state' + ? normalizeState(moduleData, filePath) + : normalizeModule(moduleData, filePath) + + // If src is a known Vuex property + if (VUEX_PROPERTIES.includes(moduleName)) { + const property = moduleName + const storeModule = getStoreModule(store, namespaces, { isProperty: true }) + + // Replace state since it's a function + mergeProperty(storeModule, moduleData, property) + return } - if (isRoot && typeof moduleData !== 'function') { + // If file is foo/index.js, it should be saved as foo + const isIndexModule = (moduleName === 'index') + if (isIndexModule) { + namespaces.pop() + moduleName = namespaces[namespaces.length - 1] + } + + const storeModule = getStoreModule(store, namespaces) + + for (const property of VUEX_PROPERTIES) { + mergeProperty(storeModule, moduleData[property], property) + } +} + +function normalizeRoot(moduleData, filePath) { + moduleData = moduleData.default || moduleData + + if (moduleData.commit) { + throw new Error(`[nuxt] ${filePath} should export a method that returns a Vuex instance.`) + } + + if (typeof moduleData !== 'function') { // Avoid TypeError: setting a property that has only a getter when overwriting top level keys moduleData = Object.assign({}, moduleData) } + return normalizeModule(moduleData, filePath) +} + +function normalizeState(moduleData, filePath) { + if (typeof moduleData !== 'function') { + log.warn(`${filePath} should export a method that returns an object`) + const state = Object.assign({}, moduleData) + return () => state + } + return normalizeModule(moduleData, filePath) +} + +function normalizeModule(moduleData, filePath) { if (moduleData.state && typeof moduleData.state !== 'function') { - log.warn(`'state' should be a method that returns an object in ${path}`) + log.warn(`'state' should be a method that returns an object in ${filePath}`) const state = Object.assign({}, moduleData.state) // Avoid TypeError: setting a property that has only a getter when overwriting top level keys moduleData = Object.assign({}, moduleData, { state: () => state }) diff --git a/test/fixtures/with-config/.nuxtignore b/test/fixtures/with-config/.nuxtignore new file mode 100644 index 0000000000..d26f128cc3 --- /dev/null +++ b/test/fixtures/with-config/.nuxtignore @@ -0,0 +1,4 @@ +layouts/test-ignore.vue +pages/test-ignore.vue +store/test-ignore.js +middleware/test-ignore.js diff --git a/test/fixtures/with-config/layouts/test-ignore.vue b/test/fixtures/with-config/layouts/test-ignore.vue new file mode 100644 index 0000000000..55585a388c --- /dev/null +++ b/test/fixtures/with-config/layouts/test-ignore.vue @@ -0,0 +1 @@ +throw new Error('This file should be ignored!!') diff --git a/test/fixtures/with-config/middleware/test-ignore.js b/test/fixtures/with-config/middleware/test-ignore.js new file mode 100644 index 0000000000..55585a388c --- /dev/null +++ b/test/fixtures/with-config/middleware/test-ignore.js @@ -0,0 +1 @@ +throw new Error('This file should be ignored!!') diff --git a/test/fixtures/with-config/pages/test-ignore.vue b/test/fixtures/with-config/pages/test-ignore.vue new file mode 100644 index 0000000000..e69de29bb2 diff --git a/test/fixtures/with-config/store/test-ignore.js b/test/fixtures/with-config/store/test-ignore.js new file mode 100644 index 0000000000..55585a388c --- /dev/null +++ b/test/fixtures/with-config/store/test-ignore.js @@ -0,0 +1 @@ +throw new Error('This file should be ignored!!') diff --git a/test/unit/with-config.test.js b/test/unit/with-config.test.js index 374f44b791..dd34c79a32 100644 --- a/test/unit/with-config.test.js +++ b/test/unit/with-config.test.js @@ -180,6 +180,11 @@ describe('with-config', () => { .rejects.toMatchObject({ statusCode: 404 }) }) + test('should ignore files in .nuxtignore', async () => { + await expect(rp(url('/test-ignore'))) + .rejects.toMatchObject({ statusCode: 404 }) + }) + test('renderAndGetWindow options', async () => { const fakeErrorLog = jest.fn() const mockOptions = { diff --git a/yarn.lock b/yarn.lock index 92ecb43a43..58a8d01f06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5478,7 +5478,7 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2: +ignore@^5.0.2, ignore@^5.0.4: version "5.0.4" resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.4.tgz#33168af4a21e99b00c5d41cbadb6a6cb49903a45" integrity sha512-WLsTMEhsQuXpCiG173+f3aymI43SXa+fB1rSfbzyP4GkPP+ZFVuO0/3sFUGNBtifisPeDcl/uD/Y2NxZ7xFq4g== From e22a282eaba17e46b8c7294b65406af7ebc0ae06 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 29 Jan 2019 10:16:45 +0000 Subject: [PATCH 002/221] test: unit tests for generator (#4857) --- packages/generator/src/generator.js | 8 +- packages/generator/test/__utils__/index.js | 14 + packages/generator/test/generator.gen.test.js | 220 ++++++++++++++++ .../generator/test/generator.init.test.js | 228 ++++++++++++++++ .../generator/test/generator.route.test.js | 243 ++++++++++++++++++ packages/generator/test/index.test.js | 11 + 6 files changed, 719 insertions(+), 5 deletions(-) create mode 100644 packages/generator/test/__utils__/index.js create mode 100644 packages/generator/test/generator.gen.test.js create mode 100644 packages/generator/test/generator.init.test.js create mode 100644 packages/generator/test/generator.route.test.js create mode 100644 packages/generator/test/index.test.js diff --git a/packages/generator/src/generator.js b/packages/generator/src/generator.js index 0616a0c85d..3c073463e1 100644 --- a/packages/generator/src/generator.js +++ b/packages/generator/src/generator.js @@ -147,7 +147,7 @@ export default class Generator { const fallbackPath = path.join(this.distPath, fallback) // Prevent conflicts - if (fsExtra.existsSync(fallbackPath)) { + if (await fsExtra.exists(fallbackPath)) { consola.warn(`SPA fallback was configured, but the configured path (${fallbackPath}) already exists.`) return } @@ -164,8 +164,7 @@ export default class Generator { await this.nuxt.callHook('generate:distRemoved', this) // Copy static and built files - /* istanbul ignore if */ - if (fsExtra.existsSync(this.staticRoutes)) { + if (await fsExtra.exists(this.staticRoutes)) { await fsExtra.copy(this.staticRoutes, this.distPath) } await fsExtra.copy(this.srcBuiltPath, this.distNuxtPath) @@ -210,7 +209,6 @@ export default class Generator { pageErrors.push({ type: 'handled', route, error: res.error }) } } catch (err) { - /* istanbul ignore next */ pageErrors.push({ type: 'unhandled', route, error: err }) Array.prototype.push.apply(errors, pageErrors) @@ -236,7 +234,7 @@ export default class Generator { if (minificationOptions) { try { html = htmlMinifier.minify(html, minificationOptions) - } catch (err) /* istanbul ignore next */ { + } catch (err) { const minifyErr = new Error( `HTML minification failed. Make sure the route generates valid HTML. Failed HTML:\n ${html}` ) diff --git a/packages/generator/test/__utils__/index.js b/packages/generator/test/__utils__/index.js new file mode 100644 index 0000000000..a83a706acf --- /dev/null +++ b/packages/generator/test/__utils__/index.js @@ -0,0 +1,14 @@ +export const createNuxt = () => ({ + ready: jest.fn(), + callHook: jest.fn(), + server: { + renderRoute: jest.fn(() => ({ html: 'rendered html' })) + }, + options: { + srcDir: '/var/nuxt/src', + buildDir: '/var/nuxt/build', + generate: { dir: '/var/nuxt/generate' }, + build: { publicPath: '__public' }, + dir: { static: '/var/nuxt/static' } + } +}) diff --git a/packages/generator/test/generator.gen.test.js b/packages/generator/test/generator.gen.test.js new file mode 100644 index 0000000000..fb2752515c --- /dev/null +++ b/packages/generator/test/generator.gen.test.js @@ -0,0 +1,220 @@ +import path from 'path' +import chalk from 'chalk' +import consola from 'consola' +import fsExtra from 'fs-extra' +import { waitFor } from '@nuxt/utils' + +import Generator from '../src/generator' +import { createNuxt } from './__utils__' + +jest.mock('path') +jest.mock('chalk', () => ({ + red: jest.fn(str => `red:${str}`), + yellow: jest.fn(str => `yellow:${str}`), + grey: jest.fn(str => `grey:${str}`) +})) +jest.mock('fs-extra') +jest.mock('@nuxt/utils') + +describe('generator: generate routes', () => { + const sep = path.sep + + beforeAll(() => { + path.sep = '[sep]' + path.join.mockImplementation((...args) => `join(${args.join(', ')})`) + }) + + afterAll(() => { + path.sep = sep + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should generate with build and init by default', async () => { + const nuxt = createNuxt() + const builder = jest.fn() + const generator = new Generator(nuxt, builder) + + const routes = ['routes'] + const errors = ['errors'] + generator.initiate = jest.fn() + generator.initRoutes = jest.fn(() => routes) + generator.generateRoutes = jest.fn(() => errors) + generator.afterGenerate = jest.fn() + + await generator.generate() + + expect(consola.debug).toBeCalledTimes(2) + expect(consola.debug).nthCalledWith(1, 'Initializing generator...') + expect(consola.debug).nthCalledWith(2, 'Preparing routes for generate...') + expect(generator.initiate).toBeCalledTimes(1) + expect(generator.initiate).toBeCalledWith({ build: true, init: true }) + expect(generator.initRoutes).toBeCalledTimes(1) + expect(consola.info).toBeCalledTimes(1) + expect(consola.info).toBeCalledWith('Generating pages') + expect(generator.generateRoutes).toBeCalledTimes(1) + expect(generator.generateRoutes).toBeCalledWith(routes) + expect(generator.afterGenerate).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:done', generator, errors) + }) + + test('should generate without build and init when disabled', async () => { + const nuxt = createNuxt() + const builder = jest.fn() + const generator = new Generator(nuxt, builder) + + const routes = ['routes'] + const errors = ['errors'] + generator.initiate = jest.fn() + generator.initRoutes = jest.fn(() => routes) + generator.generateRoutes = jest.fn(() => errors) + generator.afterGenerate = jest.fn() + + await generator.generate({ build: false, init: false }) + + expect(generator.initiate).toBeCalledTimes(1) + expect(generator.initiate).toBeCalledWith({ build: false, init: false }) + }) + + test('should generate routes', async () => { + const nuxt = createNuxt() + nuxt.options.generate = { + ...nuxt.options.generate, + concurrency: 2, + interval: 100 + } + const routes = [ + { route: '/index', payload: { param: 'test-index' } }, + { route: '/about', payload: { param: 'test-about' } }, + { route: '/foo', payload: { param: 'test-foo' } }, + { route: '/bar', payload: { param: 'test-bar' } }, + { route: '/baz', payload: { param: 'test-baz' } } + ] + const generator = new Generator(nuxt) + + generator.generateRoute = jest.fn() + jest.spyOn(routes, 'splice') + + const errors = await generator.generateRoutes(routes) + + expect(routes.splice).toBeCalledTimes(3) + expect(routes.splice).toBeCalledWith(0, 2) + expect(waitFor).toBeCalledTimes(5) + expect(waitFor).nthCalledWith(1, 0) + expect(waitFor).nthCalledWith(2, 100) + expect(waitFor).nthCalledWith(3, 0) + expect(waitFor).nthCalledWith(4, 100) + expect(waitFor).nthCalledWith(5, 0) + expect(generator.generateRoute).toBeCalledTimes(5) + expect(generator.generateRoute).nthCalledWith(1, { route: '/index', payload: { param: 'test-index' }, errors }) + expect(generator.generateRoute).nthCalledWith(2, { route: '/about', payload: { param: 'test-about' }, errors }) + expect(generator.generateRoute).nthCalledWith(3, { route: '/foo', payload: { param: 'test-foo' }, errors }) + expect(generator.generateRoute).nthCalledWith(4, { route: '/bar', payload: { param: 'test-bar' }, errors }) + expect(generator.generateRoute).nthCalledWith(5, { route: '/baz', payload: { param: 'test-baz' }, errors }) + + generator._formatErrors = jest.fn() + errors.toString() + + expect(generator._formatErrors).toBeCalledTimes(1) + expect(generator._formatErrors).toBeCalledWith(errors) + + routes.splice.mockRestore() + }) + + test('should format errors', () => { + const nuxt = createNuxt() + const generator = new Generator(nuxt) + + const errors = generator._formatErrors([ + { type: 'handled', route: '/foo', error: 'foo failed' }, + { type: 'unhandled', route: '/bar', error: { stack: 'bar failed' } } + ]) + + expect(chalk.yellow).toBeCalledTimes(1) + expect(chalk.yellow).toBeCalledWith(' /foo\n\n') + expect(chalk.red).toBeCalledTimes(1) + expect(chalk.red).toBeCalledWith(' /bar\n\n') + expect(chalk.grey).toBeCalledTimes(2) + expect(chalk.grey).nthCalledWith(1, '"foo failed"\n') + expect(chalk.grey).nthCalledWith(2, 'bar failed') + expect(errors).toEqual(`yellow: /foo + +grey:"foo failed" + +red: /bar + +grey:bar failed`) + }) + + test('should write fallback html after generate', async () => { + const nuxt = createNuxt() + nuxt.options.generate.fallback = 'fallback.html' + const generator = new Generator(nuxt) + path.join.mockClear() + fsExtra.exists.mockReturnValueOnce(false) + + await generator.afterGenerate() + + expect(path.join).toBeCalledTimes(1) + expect(path.join).toBeCalledWith(generator.distPath, 'fallback.html') + expect(fsExtra.exists).toBeCalledTimes(1) + expect(fsExtra.exists).toBeCalledWith(`join(${generator.distPath}, fallback.html)`) + expect(nuxt.server.renderRoute).toBeCalledTimes(1) + expect(nuxt.server.renderRoute).toBeCalledWith('/', { spa: true }) + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, fallback.html)`, 'rendered html', 'utf8') + }) + + test('should disable writing fallback if fallback is empty or not string', async () => { + const nuxt = createNuxt() + const generator = new Generator(nuxt) + path.join.mockClear() + + nuxt.options.generate.fallback = '' + await generator.afterGenerate() + + nuxt.options.generate.fallback = jest.fn() + await generator.afterGenerate() + + expect(path.join).not.toBeCalled() + expect(fsExtra.exists).not.toBeCalled() + expect(nuxt.server.renderRoute).not.toBeCalled() + expect(fsExtra.writeFile).not.toBeCalled() + }) + + test('should disable writing fallback if fallback path is not existed', async () => { + const nuxt = createNuxt() + nuxt.options.generate.fallback = 'fallback.html' + const generator = new Generator(nuxt) + path.join.mockClear() + fsExtra.exists.mockReturnValueOnce(true) + + await generator.afterGenerate() + + expect(path.join).toBeCalledTimes(1) + expect(path.join).toBeCalledWith(generator.distPath, 'fallback.html') + expect(fsExtra.exists).toBeCalledTimes(1) + expect(fsExtra.exists).toBeCalledWith(`join(${generator.distPath}, fallback.html)`) + expect(nuxt.server.renderRoute).not.toBeCalled() + expect(fsExtra.writeFile).not.toBeCalled() + }) + + test('should disable writing fallback if fallback is empty or not string', async () => { + const nuxt = createNuxt() + const generator = new Generator(nuxt) + path.join.mockClear() + + nuxt.options.generate.fallback = '' + await generator.afterGenerate() + + nuxt.options.generate.fallback = jest.fn() + await generator.afterGenerate() + + expect(path.join).not.toBeCalled() + expect(fsExtra.exists).not.toBeCalled() + expect(fsExtra.writeFile).not.toBeCalled() + }) +}) diff --git a/packages/generator/test/generator.init.test.js b/packages/generator/test/generator.init.test.js new file mode 100644 index 0000000000..23e6cba71c --- /dev/null +++ b/packages/generator/test/generator.init.test.js @@ -0,0 +1,228 @@ +import path from 'path' +import consola from 'consola' +import fsExtra from 'fs-extra' +import { flatRoutes, isString, isUrl, promisifyRoute } from '@nuxt/utils' + +import Generator from '../src/generator' +import { createNuxt } from './__utils__' + +jest.mock('path') +jest.mock('fs-extra') +jest.mock('@nuxt/utils') + +describe('generator: initialize', () => { + beforeAll(() => { + isString.mockImplementation(str => typeof str === 'string') + path.join.mockImplementation((...args) => `join(${args.join(', ')})`) + path.resolve.mockImplementation((...args) => `resolve(${args.join(', ')})`) + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should construct Generator', () => { + isUrl.mockReturnValueOnce(true) + const nuxt = createNuxt() + nuxt.options = { + ...nuxt.options, + build: { publicPath: 'http://localhost:3000' } + } + const builder = jest.fn() + const generator = new Generator(nuxt, builder) + + expect(generator.nuxt).toBe(nuxt) + expect(generator.options).toBe(nuxt.options) + expect(generator.builder).toBe(builder) + expect(generator.staticRoutes).toEqual('resolve(/var/nuxt/src, /var/nuxt/static)') + expect(generator.srcBuiltPath).toBe('resolve(/var/nuxt/build, dist, client)') + expect(generator.distPath).toBe('/var/nuxt/generate') + expect(generator.distNuxtPath).toBe('join(/var/nuxt/generate, )') + }) + + test('should append publicPath to distPath if publicPath is not url', () => { + isUrl.mockReturnValueOnce(false) + const nuxt = createNuxt() + nuxt.options = { + ...nuxt.options, + build: { publicPath: '__public' } + } + const builder = jest.fn() + const generator = new Generator(nuxt, builder) + + expect(generator.distNuxtPath).toBe('join(/var/nuxt/generate, __public)') + }) + + test('should initiate with build and init by default', async () => { + const nuxt = createNuxt() + const builder = { forGenerate: jest.fn(), build: jest.fn() } + const generator = new Generator(nuxt, builder) + + generator.initDist = jest.fn() + + await generator.initiate() + + expect(nuxt.ready).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:before', generator, { dir: generator.distPath }) + expect(builder.forGenerate).toBeCalledTimes(1) + expect(builder.build).toBeCalledTimes(1) + expect(generator.initDist).toBeCalledTimes(1) + }) + + test('should initiate without build and init if disabled', async () => { + const nuxt = createNuxt() + const builder = { forGenerate: jest.fn(), build: jest.fn() } + const generator = new Generator(nuxt, builder) + + generator.initDist = jest.fn() + + await generator.initiate({ build: false, init: false }) + + expect(nuxt.ready).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:before', generator, { dir: generator.distPath }) + expect(builder.forGenerate).not.toBeCalled() + expect(builder.build).not.toBeCalled() + expect(generator.initDist).not.toBeCalled() + }) + + test('should init routes with generate.routes and router.routes', async () => { + const nuxt = createNuxt() + nuxt.options = { + ...nuxt.options, + generate: { + ...nuxt.options.generate, + exclude: [/test/], + routes: ['/foo', '/foo/bar'] + }, + router: { + mode: 'history', + routes: ['/index', '/about', '/test'] + } + } + const generator = new Generator(nuxt) + + flatRoutes.mockImplementationOnce(routes => routes) + promisifyRoute.mockImplementationOnce(routes => routes) + generator.decorateWithPayloads = jest.fn(() => 'decoratedRoutes') + + const routes = await generator.initRoutes() + + expect(promisifyRoute).toBeCalledTimes(1) + expect(promisifyRoute).toBeCalledWith(['/foo', '/foo/bar']) + expect(flatRoutes).toBeCalledTimes(1) + expect(flatRoutes).toBeCalledWith(['/index', '/about', '/test']) + expect(generator.decorateWithPayloads).toBeCalledTimes(1) + expect(generator.decorateWithPayloads).toBeCalledWith(['/index', '/about'], ['/foo', '/foo/bar']) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:extendRoutes', 'decoratedRoutes') + expect(routes).toEqual('decoratedRoutes') + }) + + test('should init routes with hash mode', async () => { + const nuxt = createNuxt() + nuxt.options = { + ...nuxt.options, + generate: { + ...nuxt.options.generate, + exclude: [/test/], + routes: ['/foo', '/foo/bar'] + }, + router: { + mode: 'hash', + routes: ['/index', '/about', '/test'] + } + } + const generator = new Generator(nuxt) + + flatRoutes.mockImplementationOnce(routes => routes) + promisifyRoute.mockImplementationOnce(routes => routes) + generator.decorateWithPayloads = jest.fn(() => 'decoratedRoutes') + + const routes = await generator.initRoutes() + + expect(promisifyRoute).not.toBeCalled() + expect(flatRoutes).not.toBeCalled() + expect(generator.decorateWithPayloads).toBeCalledTimes(1) + expect(generator.decorateWithPayloads).toBeCalledWith(['/'], []) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:extendRoutes', 'decoratedRoutes') + expect(routes).toEqual('decoratedRoutes') + + promisifyRoute.mockReset() + flatRoutes.mockReset() + }) + + test('should throw error when route can not be resolved', async () => { + const nuxt = createNuxt() + nuxt.options.router = { mode: 'history' } + const generator = new Generator(nuxt) + + promisifyRoute.mockImplementationOnce(() => { + throw new Error('promisifyRoute failed') + }) + + await expect(generator.initRoutes()).rejects.toThrow('promisifyRoute failed') + + expect(promisifyRoute).toBeCalledTimes(1) + expect(promisifyRoute).toBeCalledWith([]) + expect(consola.error).toBeCalledTimes(1) + expect(consola.error).toBeCalledWith('Could not resolve routes') + }) + + test('should initialize destination folder', async () => { + const nuxt = createNuxt() + nuxt.options.generate.fallback = 'fallback.html' + const generator = new Generator(nuxt) + path.join.mockClear() + path.resolve.mockClear() + fsExtra.exists.mockReturnValueOnce(false) + + await generator.initDist() + + expect(fsExtra.remove).toBeCalledTimes(1) + expect(fsExtra.remove).toBeCalledWith(generator.distPath) + expect(nuxt.callHook).toBeCalledTimes(2) + expect(nuxt.callHook).nthCalledWith(1, 'generate:distRemoved', generator) + expect(fsExtra.exists).toBeCalledTimes(1) + expect(fsExtra.exists).toBeCalledWith(generator.staticRoutes) + expect(fsExtra.copy).toBeCalledTimes(1) + expect(fsExtra.copy).toBeCalledWith(generator.srcBuiltPath, generator.distNuxtPath) + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith(generator.distPath, '.nojekyll') + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`resolve(${generator.distPath}, .nojekyll)`, '') + expect(nuxt.callHook).nthCalledWith(2, 'generate:distCopied', generator) + }) + + test('should copy static routes if path exists', async () => { + const nuxt = createNuxt() + nuxt.options.generate.fallback = 'fallback.html' + const generator = new Generator(nuxt) + fsExtra.exists.mockReturnValueOnce(true) + + await generator.initDist() + + expect(fsExtra.copy).toBeCalledTimes(2) + expect(fsExtra.copy).nthCalledWith(1, generator.staticRoutes, generator.distPath) + expect(fsExtra.copy).nthCalledWith(2, generator.srcBuiltPath, generator.distNuxtPath) + }) + + test('should decorate routes with payloads', () => { + const nuxt = createNuxt() + const generator = new Generator(nuxt) + + const routes = ['/index', '/about', '/test'] + const generateRoutes = ['/foo', { route: '/foo/bar', payload: { param: 'foo bar' } }] + const routeMap = generator.decorateWithPayloads(routes, generateRoutes) + + expect(routeMap).toEqual([ + { payload: null, route: '/index' }, + { payload: null, route: '/about' }, + { payload: null, route: '/test' }, + { payload: null, route: '/foo' }, + { payload: { param: 'foo bar' }, route: '/foo/bar' } + ]) + }) +}) diff --git a/packages/generator/test/generator.route.test.js b/packages/generator/test/generator.route.test.js new file mode 100644 index 0000000000..567fa9552f --- /dev/null +++ b/packages/generator/test/generator.route.test.js @@ -0,0 +1,243 @@ +import path from 'path' +import consola from 'consola' +import fsExtra from 'fs-extra' +import htmlMinifier from 'html-minifier' + +import Generator from '../src/generator' +import { createNuxt } from './__utils__' + +jest.mock('path') +jest.mock('fs-extra') +jest.mock('html-minifier') +jest.mock('@nuxt/utils') + +describe('generator: generate route', () => { + const sep = path.sep + + beforeAll(() => { + path.sep = '[sep]' + path.join.mockImplementation((...args) => `join(${args.join(', ')})`) + path.dirname.mockImplementation((...args) => `dirname(${args.join(', ')})`) + }) + + afterAll(() => { + path.sep = sep + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should generate route', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + nuxt.options.generate.minify = undefined + const generator = new Generator(nuxt) + path.join.mockClear() + + const route = '/foo' + const payload = {} + const errors = [] + + const returned = await generator.generateRoute({ route, payload, errors }) + + expect(nuxt.server.renderRoute).toBeCalledTimes(1) + expect(nuxt.server.renderRoute).toBeCalledWith('/foo', { _generate: true, payload }) + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, '[sep]', '/foo.html') + expect(path.join).nthCalledWith(2, generator.distPath, 'join([sep], /foo.html)') + expect(nuxt.callHook).toBeCalledTimes(2) + expect(nuxt.callHook).nthCalledWith(1, 'generate:page', { + route, + html: 'rendered html', + path: `join(${generator.distPath}, join([sep], /foo.html))` + }) + expect(nuxt.callHook).nthCalledWith(2, 'generate:routeCreated', { + route, + errors: [], + path: `join(${generator.distPath}, join([sep], /foo.html))` + }) + expect(fsExtra.mkdirp).toBeCalledTimes(1) + expect(fsExtra.mkdirp).toBeCalledWith(`dirname(join(${generator.distPath}, join([sep], /foo.html)))`) + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, join([sep], /foo.html))`, 'rendered html', 'utf8') + expect(returned).toEqual(true) + }) + + test('should create unhandled error if render route has any exception', async () => { + const nuxt = createNuxt() + const error = new Error('render route failed') + nuxt.server.renderRoute.mockImplementationOnce(() => { + throw error + }) + const generator = new Generator(nuxt) + generator._formatErrors = jest.fn(() => `formatted errors`) + + const route = '/foo' + const payload = {} + const errors = [] + + const returned = await generator.generateRoute({ route, payload, errors }) + + expect(nuxt.server.renderRoute).toBeCalledTimes(1) + expect(nuxt.server.renderRoute).toBeCalledWith('/foo', { _generate: true, payload }) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('generate:routeFailed', { + route, + errors: [{ type: 'unhandled', route, error }] + }) + expect(generator._formatErrors).toBeCalledTimes(1) + expect(generator._formatErrors).toBeCalledWith([{ type: 'unhandled', route, error }]) + expect(consola.error).toBeCalledTimes(1) + expect(consola.error).toBeCalledWith('formatted errors') + expect(errors).toEqual([{ + error, + route, + type: 'unhandled' + }]) + expect(returned).toEqual(false) + }) + + test('should create handled error if render route failed', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + nuxt.options.generate.minify = undefined + const error = new Error('render route failed') + nuxt.server.renderRoute.mockReturnValueOnce({ + html: 'renderer html', + error + }) + const generator = new Generator(nuxt) + + const route = '/foo' + const payload = {} + const errors = [] + + const returned = await generator.generateRoute({ route, payload, errors }) + + expect(consola.error).toBeCalledTimes(1) + expect(consola.error).toBeCalledWith('Error generating /foo') + expect(errors).toEqual([{ + error, + route, + type: 'handled' + }]) + expect(returned).toEqual(true) + }) + + test('should warn generate.minify deprecation message', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + nuxt.options.generate.minify = false + const generator = new Generator(nuxt) + + const route = '/foo' + + const returned = await generator.generateRoute({ route }) + + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith( + 'generate.minify has been deprecated and will be removed in the next major version. Use build.html.minify instead!' + ) + expect(returned).toEqual(true) + }) + + test('should minify generated html', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: { value: 'test-minify' } } + nuxt.options.generate.minify = undefined + const generator = new Generator(nuxt) + htmlMinifier.minify.mockReturnValueOnce('minified rendered html') + + const route = '/foo' + + const returned = await generator.generateRoute({ route }) + + expect(htmlMinifier.minify).toBeCalledTimes(1) + expect(htmlMinifier.minify).toBeCalledWith('rendered html', { value: 'test-minify' }) + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, join([sep], /foo.html))`, 'minified rendered html', 'utf8') + expect(returned).toEqual(true) + }) + + test('should create unhandled error if minify failed', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: { value: 'test-minify' } } + nuxt.options.generate.minify = undefined + const generator = new Generator(nuxt) + htmlMinifier.minify.mockImplementationOnce(() => { + throw new Error('minify html failed') + }) + + const route = '/foo' + const errors = [] + + const returned = await generator.generateRoute({ route, errors }) + + expect(htmlMinifier.minify).toBeCalledTimes(1) + expect(htmlMinifier.minify).toBeCalledWith('rendered html', { value: 'test-minify' }) + expect(errors).toEqual([{ + route, + type: 'unhandled', + error: new Error('HTML minification failed. Make sure the route generates valid HTML. Failed HTML:\n rendered html') + }]) + expect(returned).toEqual(true) + }) + + test('should generate file in sub folder', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + nuxt.options.generate.subFolders = true + const generator = new Generator(nuxt) + path.join.mockClear() + + const route = '/foo' + + const returned = await generator.generateRoute({ route }) + + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, route, '[sep]', 'index.html') + expect(path.join).nthCalledWith(2, generator.distPath, 'join(/foo, [sep], index.html)') + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, join(/foo, [sep], index.html))`, 'rendered html', 'utf8') + expect(returned).toEqual(true) + }) + + test('should generate 404 file in flat folder', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + nuxt.options.generate.subFolders = true + const generator = new Generator(nuxt) + path.join.mockClear() + path.join.mockReturnValueOnce('/404/index.html') + + const route = '/404' + + const returned = await generator.generateRoute({ route }) + + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, route, '[sep]', 'index.html') + expect(path.join).nthCalledWith(2, generator.distPath, '/404.html') + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, /404.html)`, 'rendered html', 'utf8') + expect(returned).toEqual(true) + }) + + test('should generate file in flat folder if route is epmty', async () => { + const nuxt = createNuxt() + nuxt.options.build.html = { minify: false } + const generator = new Generator(nuxt) + path.join.mockClear() + + const route = '' + + const returned = await generator.generateRoute({ route }) + + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, '[sep]', 'index.html') + expect(path.join).nthCalledWith(2, generator.distPath, 'join([sep], index.html)') + expect(fsExtra.writeFile).toBeCalledTimes(1) + expect(fsExtra.writeFile).toBeCalledWith(`join(${generator.distPath}, join([sep], index.html))`, 'rendered html', 'utf8') + expect(returned).toEqual(true) + }) +}) diff --git a/packages/generator/test/index.test.js b/packages/generator/test/index.test.js new file mode 100644 index 0000000000..4c5a70b22d --- /dev/null +++ b/packages/generator/test/index.test.js @@ -0,0 +1,11 @@ +import { Generator } from '../src' + +jest.mock('../src/generator', () => ({ + generator: true +})) + +describe('generator: entry', () => { + test('should export Generator', () => { + expect(Generator.generator).toEqual(true) + }) +}) From 15015925813b4e5095ed6c5422b030bb43c640ca Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 29 Jan 2019 11:07:10 +0000 Subject: [PATCH 003/221] chore(deps): update all non-major dependencies (#4872) --- package.json | 2 +- packages/builder/package.json | 2 +- packages/typescript/package.json | 2 +- yarn.lock | 51 ++++++++++++++++++++++++++------ 4 files changed, 45 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 0371642a15..d455f6dc26 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "get-port": "^4.1.0", "glob": "^7.1.3", "jest": "^23.6.0", - "jest-junit": "^6.1.0", + "jest-junit": "^6.2.1", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", "lerna": "3.10.7", diff --git a/packages/builder/package.json b/packages/builder/package.json index ff898de455..6221cbc332 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -16,7 +16,7 @@ "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", - "ignore": "^5.0.4", + "ignore": "^5.0.5", "lodash": "^4.17.11", "pify": "^4.0.1", "semver": "^5.6.0", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 438f8796fa..65e5727e19 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.18", + "@types/node": "^10.12.19", "chalk": "^2.4.2", "consola": "^2.3.2", "enquirer": "^2.3.0", diff --git a/yarn.lock b/yarn.lock index 58a8d01f06..1f92f4acc8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1346,11 +1346,16 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7", "@types/node@^10.12.18": +"@types/node@*", "@types/node@^10.11.7": version "10.12.18" resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== +"@types/node@^10.12.19": + version "10.12.19" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.19.tgz#ca1018c26be01f07e66ac7fefbeb6407e4490c61" + integrity sha512-2NVovndCjJQj6fUUn9jCgpP4WSqr+u1SoUZMZyJkhGeBFsm6dE46l31S7lPUYt9uQ28XI+ibrJA1f5XyH5HNtA== + "@types/q@^1.5.1": version "1.5.1" resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" @@ -5478,11 +5483,16 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2, ignore@^5.0.4: +ignore@^5.0.2: version "5.0.4" resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.4.tgz#33168af4a21e99b00c5d41cbadb6a6cb49903a45" integrity sha512-WLsTMEhsQuXpCiG173+f3aymI43SXa+fB1rSfbzyP4GkPP+ZFVuO0/3sFUGNBtifisPeDcl/uD/Y2NxZ7xFq4g== +ignore@^5.0.5: + version "5.0.5" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.5.tgz#c663c548d6ce186fb33616a8ccb5d46e56bdbbf9" + integrity sha512-kOC8IUb8HSDMVcYrDVezCxpJkzSQWTAzf3olpKM6o9rM5zpojx23O0Fl8Wr4+qJ6ZbPEHqf1fdwev/DS7v7pmA== + import-cwd@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -6169,6 +6179,11 @@ jest-get-type@^22.1.0: resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" integrity sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w== +jest-get-type@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.0.0.tgz#36e72930b78e33da59a4f63d44d332188278940b" + integrity sha512-z6/Eyf6s9ZDGz7eOvl+fzpuJmN9i0KyTt1no37/dHu8galssxz5ZEgnc1KaV8R31q1khxyhB4ui/X5ZjjPk77w== + jest-haste-map@^23.6.0: version "23.6.0" resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-23.6.0.tgz#2e3eb997814ca696d62afdb3f2529f5bbc935e16" @@ -6201,13 +6216,12 @@ jest-jasmine2@^23.6.0: jest-util "^23.4.0" pretty-format "^23.6.0" -jest-junit@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/jest-junit/-/jest-junit-6.1.0.tgz#7c9ee19de705fb212bf4bfa5ab08334452cb597d" - integrity sha512-o/FKO45Ayomv2dMgXrmCfPi6eaHxVYnUEqWtJUWP4PFkjKOtKs2iLgwY5nz1tN49UpCDHNQBiGRSWPdr/qTcwg== +jest-junit@^6.2.1: + version "6.2.1" + resolved "https://registry.npmjs.org/jest-junit/-/jest-junit-6.2.1.tgz#5bf69813d5c2ae583500816eee79a73b90179629" + integrity sha512-zMbwKzZGo9TQOjdBUNQdTEf81QvOrwiQtLIUSEyCwPXYx/G/DJGXEJcqs8viXxn6poJ4Xh4pYGDLD0DKDwtfVA== dependencies: - jest-config "^23.6.0" - jest-validate "^23.0.1" + jest-validate "^24.0.0" mkdirp "^0.5.1" strip-ansi "^4.0.0" xml "^1.0.1" @@ -6347,7 +6361,7 @@ jest-util@^23.4.0: slash "^1.0.0" source-map "^0.6.0" -jest-validate@^23.0.1, jest-validate@^23.6.0: +jest-validate@^23.6.0: version "23.6.0" resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-23.6.0.tgz#36761f99d1ed33fcd425b4e4c5595d62b6597474" integrity sha512-OFKapYxe72yz7agrDAWi8v2WL8GIfVqcbKRCLbRG9PAxtzF9b1SEDdTpytNDN12z2fJynoBwpMpvj2R39plI2A== @@ -6357,6 +6371,17 @@ jest-validate@^23.0.1, jest-validate@^23.6.0: leven "^2.1.0" pretty-format "^23.6.0" +jest-validate@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-24.0.0.tgz#aa8571a46983a6538328fef20406b4a496b6c020" + integrity sha512-vMrKrTOP4BBFIeOWsjpsDgVXATxCspC9S1gqvbJ3Tnn/b9ACsJmteYeVx9830UMV28Cob1RX55x96Qq3Tfad4g== + dependencies: + camelcase "^5.0.0" + chalk "^2.0.1" + jest-get-type "^24.0.0" + leven "^2.1.0" + pretty-format "^24.0.0" + jest-watcher@^23.4.0: version "23.4.0" resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-23.4.0.tgz#d2e28ce74f8dad6c6afc922b92cabef6ed05c91c" @@ -8939,6 +8964,14 @@ pretty-format@^23.6.0: ansi-regex "^3.0.0" ansi-styles "^3.2.0" +pretty-format@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591" + integrity sha512-LszZaKG665djUcqg5ZQq+XzezHLKrxsA86ZABTozp+oNhkdqa+tG2dX4qa6ERl5c/sRDrAa3lHmwnvKoP+OG/g== + dependencies: + ansi-regex "^4.0.0" + ansi-styles "^3.2.0" + pretty-time@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e" From e9ba2f97d27992c51287a940ed11beb63f907f54 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 29 Jan 2019 11:29:55 +0000 Subject: [PATCH 004/221] test: add describe.posix and win --- test/fixtures/sockets/sockets.test.js | 2 +- test/unit/cli.test.js | 2 +- test/unit/sockets.test.js | 2 +- test/utils/setup.js | 9 +++++++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/test/fixtures/sockets/sockets.test.js b/test/fixtures/sockets/sockets.test.js index 348ae57023..c018dba3a4 100644 --- a/test/fixtures/sockets/sockets.test.js +++ b/test/fixtures/sockets/sockets.test.js @@ -1,5 +1,5 @@ import { buildFixture } from '../../utils/build' -describe.skip.win('unix socket', () => { +describe.posix('unix socket', () => { buildFixture('sockets') }) diff --git a/test/unit/cli.test.js b/test/unit/cli.test.js index 0e40959420..51927b3188 100644 --- a/test/unit/cli.test.js +++ b/test/unit/cli.test.js @@ -20,7 +20,7 @@ const close = async (nuxtInt) => { } } -describe.skip.win('cli', () => { +describe.posix('cli', () => { test('nuxt dev', async () => { let stdout = '' const { env } = process diff --git a/test/unit/sockets.test.js b/test/unit/sockets.test.js index 92e1c7907a..2b2bd5bf90 100644 --- a/test/unit/sockets.test.js +++ b/test/unit/sockets.test.js @@ -2,7 +2,7 @@ import { loadFixture, Nuxt } from '../utils' let nuxt = null -describe.skip.win('basic sockets', () => { +describe.posix('basic sockets', () => { test('/', async () => { const options = await loadFixture('sockets') nuxt = new Nuxt(options) diff --git a/test/utils/setup.js b/test/utils/setup.js index a20c15f164..bb74d136c9 100644 --- a/test/utils/setup.js +++ b/test/utils/setup.js @@ -2,8 +2,13 @@ import consola from 'consola' import chalk from 'chalk' import env from 'std-env' -describe.skip.win = env.windows ? describe.skip : describe -test.skip.win = env.windows ? test.skip : test +const isWin = env.windows + +describe.win = isWin ? describe : describe.skip +test.win = isWin ? test : test.skip + +describe.posix = !isWin ? describe : describe.skip +test.posix = !isWin ? test : test.skip chalk.enabled = false From 445d50c2502360e290c7d7f1058d349a161da515 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 29 Jan 2019 22:41:05 +0330 Subject: [PATCH 005/221] chore(deps): update all non-major dependencies (#4879) --- package.json | 4 +- yarn.lock | 1507 +++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 1430 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index d455f6dc26..65944f5bdd 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "eslint": "^5.12.1", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", - "eslint-plugin-import": "^2.15.0", - "eslint-plugin-jest": "^22.1.3", + "eslint-plugin-import": "^2.16.0", + "eslint-plugin-jest": "^22.2.0", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index 1f92f4acc8..95400849e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1329,6 +1329,139 @@ mustache "^2.3.0" stack-trace "0.0.10" +"@octokit/endpoint@^3.1.1": + version "3.1.1" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.1.tgz#ede9afefaa4d6b7584169e12346425c6fbb45cc3" + integrity sha512-KPkoTvKwCTetu/UqonLs1pfwFO5HAqTv/Ksp9y4NAg//ZgUCpvJsT4Hrst85uEzJvkB8+LxKyR4Bfv2X8O4cmQ== + dependencies: + deepmerge "3.0.0" + is-plain-object "^2.0.4" + universal-user-agent "^2.0.1" + url-template "^2.0.8" + +"@octokit/request@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@octokit/request/-/request-2.3.0.tgz#da2672308bcf0b9376ef66f51bddbe5eb87cc00a" + integrity sha512-5YRqYNZOAaL7+nt7w3Scp6Sz4P2g7wKFP9npx1xdExMomk8/M/ICXVLYVam2wzxeY0cIc6wcKpjC5KI4jiNbGw== + dependencies: + "@octokit/endpoint" "^3.1.1" + is-plain-object "^2.0.4" + node-fetch "^2.3.0" + universal-user-agent "^2.0.1" + +"@octokit/rest@^16.13.1": + version "16.13.3" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.13.3.tgz#706fd99eb94de7fad13c4ebdf2d589bb4df41ba5" + integrity sha512-vrCQYuLkGcFCWe0VyWdRfhmAcyZWLL/Igwz+qnFyRKXn9ml1li0Au8e4hGXbY6Q3kQ+3YWUOGDl3OkO1znh7dA== + dependencies: + "@octokit/request" "2.3.0" + before-after-hook "^1.2.0" + btoa-lite "^1.0.0" + lodash.get "^4.4.2" + lodash.set "^4.3.2" + lodash.uniq "^4.5.0" + octokit-pagination-methods "^1.1.0" + universal-user-agent "^2.0.0" + url-template "^2.0.8" + +"@semantic-release/changelog@^3": + version "3.0.2" + resolved "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-3.0.2.tgz#b09a8e0d072ef54d2bc7a5c82f6112dc3c8ae85d" + integrity sha512-pDUaBNAuPAqQ+ArHwvR160RG2LbfyIVz9EJXgxH0V547rlx/hCs0Sp7L4Rtzi5Z+d6CHcv9g2ynxplE1xAzp2g== + dependencies: + "@semantic-release/error" "^2.1.0" + aggregate-error "^2.0.0" + fs-extra "^7.0.0" + lodash "^4.17.4" + +"@semantic-release/commit-analyzer@^6", "@semantic-release/commit-analyzer@^6.1.0": + version "6.1.0" + resolved "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-6.1.0.tgz#32bbe3c23da86e23edf072fbb276fa2f383fcb17" + integrity sha512-2lb+t6muGenI86mYGpZYOgITx9L3oZYF697tJoqXeQEk0uw0fm+OkkOuDTBA3Oax9ftoNIrCKv9bwgYvxrbM6w== + dependencies: + conventional-changelog-angular "^5.0.0" + conventional-commits-filter "^2.0.0" + conventional-commits-parser "^3.0.0" + debug "^4.0.0" + import-from "^2.1.0" + lodash "^4.17.4" + +"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0" + integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg== + +"@semantic-release/git@^7": + version "7.0.8" + resolved "https://registry.npmjs.org/@semantic-release/git/-/git-7.0.8.tgz#b9e1af094a19d4e96974b90a969ad0e6782c8727" + integrity sha512-sA+XoPU6GrV+A4YswO0b5JWL1KbzmyyaqUK6Y2poDkIVPlj+oQdi/stpKz/bKF5z9ChMGP87OVPMeUyXGaNFtw== + dependencies: + "@semantic-release/error" "^2.1.0" + aggregate-error "^2.0.0" + debug "^4.0.0" + dir-glob "^2.0.0" + execa "^1.0.0" + fs-extra "^7.0.0" + globby "^9.0.0" + lodash "^4.17.4" + micromatch "^3.1.4" + p-reduce "^1.0.0" + +"@semantic-release/github@^5.1.0": + version "5.2.10" + resolved "https://registry.npmjs.org/@semantic-release/github/-/github-5.2.10.tgz#bf325f11685d59b864c8946d7d30fcb749d89e37" + integrity sha512-z/UwIxKb+EMiJDIy/57MBzJ80ar5H9GJQRyML/ILQ8dlrPwXs7cTyTvC7AesrF7t1mJZtg3ht9Qf9RdtR/LGzw== + dependencies: + "@octokit/rest" "^16.13.1" + "@semantic-release/error" "^2.2.0" + aggregate-error "^2.0.0" + bottleneck "^2.0.1" + debug "^4.0.0" + dir-glob "^2.0.0" + fs-extra "^7.0.0" + globby "^9.0.0" + http-proxy-agent "^2.1.0" + https-proxy-agent "^2.2.1" + issue-parser "^3.0.0" + lodash "^4.17.4" + mime "^2.0.3" + p-filter "^1.0.0" + p-retry "^3.0.0" + parse-github-url "^1.0.1" + url-join "^4.0.0" + +"@semantic-release/npm@^5", "@semantic-release/npm@^5.0.5": + version "5.1.4" + resolved "https://registry.npmjs.org/@semantic-release/npm/-/npm-5.1.4.tgz#970b62765e6c5d51f94e1c14d3bc1f5a224e2ed0" + integrity sha512-YRl8VTVwnRTl/sVRvTXs1ncYcuvuGrqPEXYy+lUK1YRLq25hkrhIdv3Ju0u1zGLqVCA8qRlF3NzWl7pULJXVog== + dependencies: + "@semantic-release/error" "^2.2.0" + aggregate-error "^2.0.0" + execa "^1.0.0" + fs-extra "^7.0.0" + lodash "^4.17.4" + nerf-dart "^1.0.0" + normalize-url "^4.0.0" + npm "6.5.0" + rc "^1.2.8" + read-pkg "^4.0.0" + registry-auth-token "^3.3.1" + +"@semantic-release/release-notes-generator@^7", "@semantic-release/release-notes-generator@^7.1.2": + version "7.1.4" + resolved "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-7.1.4.tgz#8f4f752c5a8385abdaac1256127cef05988bc2ad" + integrity sha512-pWPouZujddgb6t61t9iA9G3yIfp3TeQ7bPbV1ixYSeP6L7gI1+Du82fY/OHfEwyifpymLUQW0XnIKgKct5IMMw== + dependencies: + conventional-changelog-angular "^5.0.0" + conventional-changelog-writer "^4.0.0" + conventional-commits-filter "^2.0.0" + conventional-commits-parser "^3.0.0" + debug "^4.0.0" + get-stream "^4.0.0" + import-from "^2.1.0" + into-stream "^4.0.0" + lodash "^4.17.4" + "@types/babel-types@*", "@types/babel-types@^7.0.0": version "7.0.4" resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.4.tgz#bfd5b0d0d1ba13e351dff65b6e52783b816826c8" @@ -1621,7 +1754,7 @@ abab@^2.0.0: resolved "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" integrity sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w== -abbrev@1: +abbrev@1, abbrev@~1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== @@ -1698,6 +1831,14 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" +aggregate-error@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-2.0.0.tgz#65bd82beba40097eacb2f1077a5b55c593b18abc" + integrity sha512-xA1VQPApQdDehIIpS3gBFkMGDRb9pDYwZPVUOoX8A0lU3GB0mjiACqsa9ByBurU53erhjamf5I4VNRitCfXhjg== + dependencies: + clean-stack "^2.0.0" + indent-string "^3.0.0" + ajv-errors@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" @@ -1732,6 +1873,13 @@ alphanum-sort@^1.0.0: resolved "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM= +ansi-align@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" + integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= + dependencies: + string-width "^2.0.0" + ansi-align@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" @@ -1781,6 +1929,16 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" +ansicolors@~0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" + integrity sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk= + +ansistyles@~0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" + integrity sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk= + anymatch@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -1796,7 +1954,7 @@ append-transform@^0.4.0: dependencies: default-require-extensions "^1.0.0" -aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2: +aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2, aproba@~1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== @@ -1806,6 +1964,11 @@ aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2: resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== +archy@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" + integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= + are-we-there-yet@~1.1.2: version "1.1.5" resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" @@ -1826,6 +1989,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +argv-formatter@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz#a0ca0cbc29a5b73e836eebe1cbf6c5e0e4eb82f9" + integrity sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk= + argv@^0.0.2: version "0.0.2" resolved "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab" @@ -1893,7 +2061,7 @@ array-reduce@~0.0.0: resolved "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b" integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= -array-union@^1.0.1: +array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -1905,6 +2073,11 @@ array-uniq@^1.0.1: resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= +array-uniq@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-2.0.0.tgz#0009e30306e37a6dd2e2e2480db5316fdade1583" + integrity sha512-O3QZEr+3wDj7otzF7PjNGs6CA3qmYMLvt5xGkjY/V0VxS+ovvqVo/5wKM/OVOAyuX4DTh9H31zE/yKtO66hTkg== + array-unique@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" @@ -2255,6 +2428,11 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" +before-after-hook@^1.2.0: + version "1.3.2" + resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-1.3.2.tgz#7bfbf844ad670aa7a96b5a4e4e15bd74b08ed66b" + integrity sha512-zyPgY5dgbf99c0uGUjhY4w+mxqEGxPKg9RQDl34VvrVh2bM31lFN+mwR1ZHepq/KA3VCPk1gwJZL6IIJqjLy2w== + bfj@^6.1.1: version "6.1.1" resolved "https://registry.npmjs.org/bfj/-/bfj-6.1.1.tgz#05a3b7784fbd72cfa3c22e56002ef99336516c48" @@ -2329,6 +2507,24 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= +bottleneck@^2.0.1: + version "2.15.3" + resolved "https://registry.npmjs.org/bottleneck/-/bottleneck-2.15.3.tgz#64f2fc1a5e4c506fd5b73863ac3f2ab1d2d6a349" + integrity sha512-2sHF/gMwTshF//gQninQBEHDNBXuvDLfSczPHpDc2U/9SC+P/97Zt01hy7UTEV0atSZ9BQBIHsdju/6wn7m4+w== + +boxen@^1.2.1: + version "1.3.0" + resolved "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" + integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== + dependencies: + ansi-align "^2.0.0" + camelcase "^4.0.0" + chalk "^2.0.1" + cli-boxes "^1.0.0" + string-width "^2.0.0" + term-size "^1.2.0" + widest-line "^2.0.0" + boxen@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/boxen/-/boxen-2.1.0.tgz#8d576156e33fc26a34d6be8635fd16b1d745f0b2" @@ -2474,6 +2670,11 @@ bser@^2.0.0: dependencies: node-int64 "^0.4.0" +btoa-lite@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" + integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= + buffer-from@1.x, buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" @@ -2528,7 +2729,26 @@ bytes@3.0.0: resolved "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= -cacache@^11.0.1, cacache@^11.0.2, cacache@^11.3.2: +cacache@^10.0.4: + version "10.0.4" + resolved "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460" + integrity sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA== + dependencies: + bluebird "^3.5.1" + chownr "^1.0.1" + glob "^7.1.2" + graceful-fs "^4.1.11" + lru-cache "^4.1.1" + mississippi "^2.0.0" + mkdirp "^0.5.1" + move-concurrently "^1.0.1" + promise-inflight "^1.0.1" + rimraf "^2.6.2" + ssri "^5.2.4" + unique-filename "^1.1.0" + y18n "^4.0.0" + +cacache@^11.0.1, cacache@^11.0.2, cacache@^11.2.0, cacache@^11.3.2: version "11.3.2" resolved "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz#2d81e308e3d258ca38125b676b98b2ac9ce69bfa" integrity sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg== @@ -2574,6 +2794,11 @@ cache-loader@^2.0.1: normalize-path "^3.0.0" schema-utils "^1.0.0" +call-limit@~1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/call-limit/-/call-limit-1.1.0.tgz#6fd61b03f3da42a2cd0ec2b60f02bd0e71991fea" + integrity sha1-b9YbA/PaQqLNDsK2DwK9DnGZH+o= + call-me-maybe@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" @@ -2638,7 +2863,7 @@ camelcase@^2.0.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= -camelcase@^4.1.0: +camelcase@^4.0.0, camelcase@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= @@ -2675,6 +2900,19 @@ capture-exit@^1.2.0: dependencies: rsvp "^3.3.3" +capture-stack-trace@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" + integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== + +cardinal@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" + integrity sha1-fMEFXYItISlU0HsIXeolHMe8VQU= + dependencies: + ansicolors "~0.3.2" + redeyed "~2.1.0" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -2757,11 +2995,16 @@ chokidar@^2.0.2, chokidar@^2.0.4: optionalDependencies: fsevents "^1.2.2" -chownr@^1.1.1: +chownr@^1.0.1, chownr@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== +chownr@~1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" + integrity sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE= + chrome-trace-event@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz#45a91bd2c20c9411f0963b5aaeb9a1b95e09cc48" @@ -2774,6 +3017,13 @@ ci-info@^1.5.0, ci-info@^1.6.0: resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== +cidr-regex@^2.0.10: + version "2.0.10" + resolved "https://registry.npmjs.org/cidr-regex/-/cidr-regex-2.0.10.tgz#af13878bd4ad704de77d6dc800799358b3afa70d" + integrity sha512-sB3ogMQXWvreNPbJUZMRApxuRYd+KoIo4RGQ81VatjmMW6WJPo+IJZ2846FGItr9VzKo5w7DXzijPLGtSd0N3Q== + dependencies: + ip-regex "^2.1.0" + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -2804,11 +3054,24 @@ clean-css@4.2.x, clean-css@^4.1.11: dependencies: source-map "~0.6.0" +clean-stack@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.0.0.tgz#301bfa9e8dd2d3d984c0e542f7aa67b996f63e0a" + integrity sha512-VEoL9Qh7I8s8iHnV53DaeWSt8NJ0g3khMfK6NiCPB7H657juhro+cSw2O88uo3bo0c0X5usamtXk0/Of0wXa5A== + cli-boxes@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= +cli-columns@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/cli-columns/-/cli-columns-3.1.2.tgz#6732d972979efc2ae444a1f08e08fa139c96a18e" + integrity sha1-ZzLZcpee/CrkRKHwjgj6E5yWoY4= + dependencies: + string-width "^2.0.0" + strip-ansi "^3.0.1" + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -2826,6 +3089,13 @@ cli-table3@^0.5.0: optionalDependencies: colors "^1.1.2" +cli-table@^0.3.1: + version "0.3.1" + resolved "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" + integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM= + dependencies: + colors "1.0.3" + cli-width@^2.0.0: version "2.2.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -2859,7 +3129,7 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -cmd-shim@^2.0.2: +cmd-shim@^2.0.2, cmd-shim@~2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb" integrity sha1-b8vamUg6j9FdfTChlspp1oii79s= @@ -2938,6 +3208,11 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.2" +colors@1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" + integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs= + colors@^1.1.2: version "1.3.3" resolved "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" @@ -2948,7 +3223,7 @@ colors@~1.1.2: resolved "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM= -columnify@^1.5.4: +columnify@^1.5.4, columnify@~1.5.4: version "1.5.4" resolved "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs= @@ -3021,7 +3296,7 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@1.6.2, concat-stream@^1.5.0, concat-stream@^1.6.0: +concat-stream@1.6.2, concat-stream@^1.5.0, concat-stream@^1.5.2, concat-stream@^1.6.0: version "1.6.2" resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3039,6 +3314,18 @@ config-chain@^1.1.11, config-chain@^1.1.12: ini "^1.3.4" proto-list "~1.2.1" +configstore@^3.0.0: + version "3.1.2" + resolved "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" + integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== + dependencies: + dot-prop "^4.1.0" + graceful-fs "^4.1.2" + make-dir "^1.0.0" + unique-string "^1.0.0" + write-file-atomic "^2.0.0" + xdg-basedir "^3.0.0" + connect@^3.6.6: version "3.6.6" resolved "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz#09eff6c55af7236e137135a72574858b6786f524" @@ -3067,7 +3354,7 @@ console-browserify@^1.1.0: dependencies: date-now "^0.1.4" -console-control-strings@^1.0.0, console-control-strings@~1.1.0: +console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= @@ -3109,7 +3396,7 @@ content-type@~1.0.4: resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -conventional-changelog-angular@^5.0.2: +conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.2: version "5.0.2" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.2.tgz#39d945635e03b6d0c9d4078b1df74e06163dc66a" integrity sha512-yx7m7lVrXmt4nKWQgWZqxSALEiAKZhOAcbxdUaU9575mB0CzXVbgrgpfSnSP7OqWDUTYGD0YVJ0MSRdyOPgAwA== @@ -3141,7 +3428,7 @@ conventional-changelog-preset-loader@^2.0.2: resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.0.2.tgz#81d1a07523913f3d17da3a49f0091f967ad345b0" integrity sha512-pBY+qnUoJPXAXXqVGwQaVmcye05xi6z231QM98wHWamGAmu/ghkBprQAwmF5bdmyobdVxiLhPY3PrCfSeUNzRQ== -conventional-changelog-writer@^4.0.2: +conventional-changelog-writer@^4.0.0, conventional-changelog-writer@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.2.tgz#eb493ed84269e7a663da36e49af51c54639c9a67" integrity sha512-d8/FQY/fix2xXEBUhOo8u3DCbyEw3UOQgYHxLsPDw+wHUDma/GQGAGsGtoH876WyNs32fViHmTOUrgRKVLvBug== @@ -3157,7 +3444,7 @@ conventional-changelog-writer@^4.0.2: split "^1.0.0" through2 "^2.0.0" -conventional-commits-filter@^2.0.1: +conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.1.tgz#55a135de1802f6510b6758e0a6aa9e0b28618db3" integrity sha512-92OU8pz/977udhBjgPEbg3sbYzIxMDFTlQT97w7KdhR9igNqdJvy8smmedAAgn4tPiqseFloKkrVfbXCVd+E7A== @@ -3165,7 +3452,7 @@ conventional-commits-filter@^2.0.1: is-subset "^0.1.1" modify-values "^1.0.0" -conventional-commits-parser@^3.0.1: +conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.1.tgz#fe1c49753df3f98edb2285a5e485e11ffa7f2e4c" integrity sha512-P6U5UOvDeidUJ8ebHVDIoXzI7gMlQ1OF/id6oUvp8cnZvOXMt1n8nYl74Ey9YMn0uVQtxmCtjPQawpsssBWtGg== @@ -3246,7 +3533,7 @@ cosmiconfig@^4.0.0: parse-json "^4.0.0" require-from-string "^2.0.1" -cosmiconfig@^5.0.0, cosmiconfig@^5.0.2: +cosmiconfig@^5.0.0, cosmiconfig@^5.0.1, cosmiconfig@^5.0.2: version "5.0.7" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.0.7.tgz#39826b292ee0d78eda137dfa3173bd1c21a43b04" integrity sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA== @@ -3264,6 +3551,13 @@ create-ecdh@^4.0.0: bn.js "^4.1.0" elliptic "^6.0.0" +create-error-class@^3.0.0: + version "3.0.2" + resolved "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" + integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= + dependencies: + capture-stack-trace "^1.0.0" + create-hash@^1.1.0, create-hash@^1.1.2: version "1.2.0" resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" @@ -3332,6 +3626,11 @@ crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" +crypto-random-string@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" + integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= + css-blank-pseudo@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-0.1.4.tgz#dfdefd3254bf8a82027993674ccf35483bfcb3c5" @@ -3641,14 +3940,14 @@ debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: +debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== dependencies: ms "^2.1.1" -debuglog@^1.0.1: +debuglog@*, debuglog@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -3686,6 +3985,11 @@ deep-is@~0.1.3: resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= +deepmerge@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.0.0.tgz#ca7903b34bfa1f8c2eab6779280775a411bfc6ba" + integrity sha512-a8z8bkgHsAML+uHLqmMS83HHlpy3PvZOOuiTQqaa3wu8ZVg3h0hqHk6aCsGdOnZV2XMM/FRimNGjUh0KCcmHBw== + deepmerge@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.1.0.tgz#a612626ce4803da410d77554bfd80361599c034d" @@ -3778,7 +4082,7 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" -detect-indent@^5.0.0: +detect-indent@^5.0.0, detect-indent@~5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= @@ -3793,7 +4097,7 @@ detect-newline@^2.1.0: resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I= -dezalgo@^1.0.0: +dezalgo@^1.0.0, dezalgo@~1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= @@ -3823,6 +4127,13 @@ dir-glob@2.0.0: arrify "^1.0.1" path-type "^3.0.0" +dir-glob@^2.0.0, dir-glob@^2.2.1: + version "2.2.2" + resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" + integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== + dependencies: + path-type "^3.0.0" + doctrine@1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" @@ -3924,13 +4235,30 @@ dot-prop@^3.0.0: dependencies: is-obj "^1.0.0" -dot-prop@^4.1.1, dot-prop@^4.2.0: +dot-prop@^4.1.0, dot-prop@^4.1.1, dot-prop@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== dependencies: is-obj "^1.0.0" +dotenv@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" + integrity sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow== + +duplexer2@~0.1.0: + version "0.1.4" + resolved "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" + integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= + dependencies: + readable-stream "^2.0.2" + +duplexer3@^0.1.4: + version "0.1.4" + resolved "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" + integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= + duplexer@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" @@ -3954,6 +4282,11 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" +editor@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/editor/-/editor-1.0.0.tgz#60c7f87bd62bcc6a894fa8ccd6afb7823a24f742" + integrity sha1-YMf4e9YrzGqJT6jM1q+3gjok90I= + editorconfig@^0.15.2: version "0.15.2" resolved "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.2.tgz#047be983abb9ab3c2eefe5199cb2b7c5689f0702" @@ -4054,6 +4387,14 @@ entities@^1.1.1, entities@~1.1.1: resolved "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== +env-ci@^3.0.0: + version "3.2.0" + resolved "https://registry.npmjs.org/env-ci/-/env-ci-3.2.0.tgz#982f02a0501ca8c43bf0765c5bd3d83ffb28b23a" + integrity sha512-TFjNiDlXrL8/pfHswdvJGEZzJcq3aBPb8Eka83hlGLwuNw9F9BC9S9ETlkfkItLRT9k5JgpGgeP+rL6/3cEbcw== + dependencies: + execa "^1.0.0" + java-properties "^0.2.9" + err-code@^1.0.0: version "1.1.2" resolved "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" @@ -4173,10 +4514,10 @@ eslint-plugin-es@^1.3.1: eslint-utils "^1.3.0" regexpp "^2.0.1" -eslint-plugin-import@^2.15.0: - version "2.15.0" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.15.0.tgz#d8f3c28b8988ccde5df964706faa7c1e52f0602a" - integrity sha512-LEHqgR+RcnpGqYW7h9WMkPb/tP+ekKxWdQDztfTtZeV43IHF+X8lXU+1HOCcR4oXD24qRgEwNSxIweD5uNKGVg== +eslint-plugin-import@^2.16.0: + version "2.16.0" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz#97ac3e75d0791c4fac0e15ef388510217be7f66f" + integrity sha512-z6oqWlf1x5GkHIFgrSvtmudnqM6Q60KM4KvpWi5ubonMjycLjndvd5+8VAZIsTlHC03djdgJuyKG6XO577px6A== dependencies: contains-path "^0.1.0" debug "^2.6.9" @@ -4189,10 +4530,17 @@ eslint-plugin-import@^2.15.0: read-pkg-up "^2.0.0" resolve "^1.9.0" -eslint-plugin-jest@^22.1.3: - version "22.1.3" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.1.3.tgz#4444108dfcddc5d2117ed6dc551f529d7e73a99e" - integrity sha512-JTZTI6WQoNruAugNyCO8fXfTONVcDd5i6dMRFA5g3rUFn1UDDLILY1bTL6alvNXbW2U7Sc2OSpi8m08pInnq0A== +eslint-plugin-jest@^22.2.0: + version "22.2.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.2.0.tgz#8178c7ed05cc161fa54b557818d6eb84e9de03de" + integrity sha512-bwtSH4T44fILboewWOA0k+FBhRFt2/rVfGRqRR4HcIOrOR3da3uorhKARjVqx6N58AX5Srb1v0XAxUK3t+SkiA== + dependencies: + "@semantic-release/changelog" "^3" + "@semantic-release/commit-analyzer" "^6" + "@semantic-release/git" "^7" + "@semantic-release/npm" "^5" + "@semantic-release/release-notes-generator" "^7" + semantic-release "15" eslint-plugin-node@^8.0.1: version "8.0.1" @@ -4320,7 +4668,7 @@ esprima@^3.1.3: resolved "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM= -esprima@^4.0.0: +esprima@^4.0.0, esprima@~4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -4384,6 +4732,19 @@ exec-sh@^0.2.0: dependencies: merge "^1.2.0" +execa@^0.10.0: + version "0.10.0" + resolved "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" + integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== + dependencies: + cross-spawn "^6.0.0" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + execa@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -4583,7 +4944,7 @@ fast-deep-equal@^2.0.1: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-glob@^2.0.2: +fast-glob@^2.0.2, fast-glob@^2.2.6: version "2.2.6" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.6.tgz#a5d5b697ec8deda468d85a74035290a025a95295" integrity sha512-0BvMaZc1k9F+MeWWMe8pL6YltFzZYcJsYU7D4JyDA6PAczaXvxqQQ/z+mDF7/4Mw01DeUc+i3CTKajnkANkV4w== @@ -4624,7 +4985,7 @@ fd-slicer@~1.0.1: dependencies: pend "~1.2.0" -figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: +figgy-pudding@^3.0.0, figgy-pudding@^3.1.0, figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: version "3.5.1" resolved "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== @@ -4770,6 +5131,14 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" +find-versions@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/find-versions/-/find-versions-3.0.0.tgz#2c05a86e839c249101910100b354196785a2c065" + integrity sha512-IUvtItVFNmTtKoB0PRfbkR0zR9XMG5rWNO3qI1S8L0zdv+v2gqzM0pAunloxqbqAfT8w7bg8n/5gHzTXte8H5A== + dependencies: + array-uniq "^2.0.0" + semver-regex "^2.0.0" + flat-cache@^1.2.1: version "1.3.4" resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz#2c2ef77525cc2929007dfffa1dd314aa9c9dee6f" @@ -4848,7 +5217,15 @@ fresh@0.5.2, fresh@^0.5.2: resolved "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= -from2@^2.1.0: +from2@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/from2/-/from2-1.3.0.tgz#88413baaa5f9a597cfde9221d86986cd3c061dfd" + integrity sha1-iEE7qqX5pZfP3pIh2GmGzTwGHf0= + dependencies: + inherits "~2.0.1" + readable-stream "~1.1.10" + +from2@^2.1.0, from2@^2.1.1: version "2.3.0" resolved "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= @@ -4872,7 +5249,7 @@ fs-minipass@^1.2.5: dependencies: minipass "^2.2.1" -fs-vacuum@^1.2.10: +fs-vacuum@^1.2.10, fs-vacuum@~1.2.10: version "1.2.10" resolved "https://registry.npmjs.org/fs-vacuum/-/fs-vacuum-1.2.10.tgz#b7629bec07a4031a2548fdf99f5ecf1cc8b31e36" integrity sha1-t2Kb7AekAxolSP35n17PHMizHjY= @@ -4881,7 +5258,7 @@ fs-vacuum@^1.2.10: path-is-inside "^1.0.1" rimraf "^2.5.2" -fs-write-stream-atomic@^1.0.8: +fs-write-stream-atomic@^1.0.8, fs-write-stream-atomic@~1.0.10: version "1.0.10" resolved "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= @@ -4943,7 +5320,7 @@ genfun@^5.0.0: resolved "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== -gentle-fs@^2.0.0: +gentle-fs@^2.0.0, gentle-fs@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/gentle-fs/-/gentle-fs-2.0.1.tgz#585cfd612bfc5cd52471fdb42537f016a5ce3687" integrity sha512-cEng5+3fuARewXktTEGbwsktcldA+YsnUEaXZwcK/3pjSE1X9ObnTs+/8rYf8s+RnIcQm2D5x3rwpN7Zom8Bew== @@ -5012,6 +5389,18 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" +git-log-parser@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz#2e6a4c1b13fc00028207ba795a7ac31667b9fd4a" + integrity sha1-LmpMGxP8AAKCB7p5WnrDFme5/Uo= + dependencies: + argv-formatter "~1.0.0" + spawn-error-forwarder "~1.0.0" + split2 "~1.0.0" + stream-combiner2 "~1.1.1" + through2 "~2.0.0" + traverse "~0.6.6" + git-raw-commits@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" @@ -5086,6 +5475,13 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" +global-dirs@^0.1.0: + version "0.1.1" + resolved "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" + integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= + dependencies: + ini "^1.3.4" + globals@^11.1.0, globals@^11.7.0: version "11.10.0" resolved "https://registry.npmjs.org/globals/-/globals-11.10.0.tgz#1e09776dffda5e01816b3bb4077c8b59c24eaa50" @@ -5109,6 +5505,36 @@ globby@^8.0.1: pify "^3.0.0" slash "^1.0.0" +globby@^9.0.0: + version "9.0.0" + resolved "https://registry.npmjs.org/globby/-/globby-9.0.0.tgz#3800df736dc711266df39b4ce33fe0d481f94c23" + integrity sha512-q0qiO/p1w/yJ0hk8V9x1UXlgsXUxlGd0AHUOXZVXBO6aznDtpx7M8D1kBrCAItoPm+4l8r6ATXV1JpjY2SBQOw== + dependencies: + array-union "^1.0.2" + dir-glob "^2.2.1" + fast-glob "^2.2.6" + glob "^7.1.3" + ignore "^4.0.3" + pify "^4.0.1" + slash "^2.0.0" + +got@^6.7.1: + version "6.7.1" + resolved "https://registry.npmjs.org/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" + integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= + dependencies: + create-error-class "^3.0.0" + duplexer3 "^0.1.4" + get-stream "^3.0.0" + is-redirect "^1.0.0" + is-retry-allowed "^1.0.0" + is-stream "^1.0.0" + lowercase-keys "^1.0.0" + safe-buffer "^5.0.1" + timed-out "^4.0.0" + 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.6: version "4.1.15" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" @@ -5182,6 +5608,11 @@ has-flag@^1.0.0: resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= +has-flag@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" + integrity sha1-6CB68cx7MNRGzHC3NLXovhj4jVE= + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5192,7 +5623,7 @@ has-symbols@^1.0.0: resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= -has-unicode@^2.0.0, has-unicode@^2.0.1: +has-unicode@^2.0.0, has-unicode@^2.0.1, has-unicode@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= @@ -5288,12 +5719,17 @@ home-or-tmp@^3.0.0: resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz#57a8fe24cf33cdd524860a15821ddc25c86671fb" integrity sha1-V6j+JM8zzdUkhgoVgh3cJchmcfs= +hook-std@^1.1.0: + version "1.2.0" + resolved "https://registry.npmjs.org/hook-std/-/hook-std-1.2.0.tgz#b37d533ea5f40068fe368cb4d022ee1992588c27" + integrity sha512-yntre2dbOAjgQ5yoRykyON0D9T96BfshR8IuiL/r3celeHD8I/76w4qo8m3z99houR4Z678jakV3uXrQdSvW/w== + hoopy@^0.1.2: version "0.1.4" resolved "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== -hosted-git-info@^2.1.4, hosted-git-info@^2.6.0: +hosted-git-info@^2.1.4, hosted-git-info@^2.6.0, hosted-git-info@^2.7.1: version "2.7.1" resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== @@ -5415,7 +5851,7 @@ https-browserify@^1.0.0: resolved "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= -https-proxy-agent@^2.2.1: +https-proxy-agent@^2.2.0, https-proxy-agent@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" integrity sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ== @@ -5466,6 +5902,11 @@ iferr@^0.1.5: resolved "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= +iferr@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/iferr/-/iferr-1.0.2.tgz#e9fde49a9da06dc4a4194c6c9ed6d08305037a6d" + integrity sha512-9AfeLfji44r5TKInjhz3W9DyZI1zR1JAf2hVBMGhddAKPqBsupb89jGfbCTHIGZd6fGZl9WlHdn4AObygyMKwg== + ignore-walk@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" @@ -5478,7 +5919,7 @@ ignore@^3.3.5: resolved "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== -ignore@^4.0.6: +ignore@^4.0.3, ignore@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== @@ -5523,6 +5964,11 @@ import-from@^2.1.0: dependencies: resolve-from "^3.0.0" +import-lazy@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" + integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= + import-local@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" @@ -5531,7 +5977,7 @@ import-local@^1.0.0: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" -imurmurhash@^0.1.4: +imurmurhash@*, imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -5558,7 +6004,7 @@ indexof@0.0.1: resolved "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" integrity sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10= -inflight@^1.0.4: +inflight@^1.0.4, inflight@~1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= @@ -5614,6 +6060,14 @@ inquirer@^6.1.0, inquirer@^6.2.0: strip-ansi "^5.0.0" through "^2.3.6" +into-stream@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/into-stream/-/into-stream-4.0.0.tgz#ef10ee2ffb6f78af34c93194bbdc36c35f7d8a9d" + integrity sha512-i29KNyE5r0Y/UQzcQ0IbZO1MYJ53Jn0EcFRZPj5FzWKYH17kDFEOwuA+3jroymOI06SW1dEDnly9A1CAreC5dg== + dependencies: + from2 "^2.1.1" + p-is-promise "^2.0.0" + invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -5631,12 +6085,17 @@ invert-kv@^2.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== +ip-regex@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" + integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= + ip-regex@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-3.0.0.tgz#0a934694b4066558c46294244a23cc33116bf732" integrity sha512-T8wDtjy+Qf2TAPDQmBp0eGKJ8GavlWlUnamr3wRn6vvdZlKVuJXXMlSncYFRYgVHOM3If5NR1H4+OvVQU9Idvg== -ip@^1.1.5: +ip@^1.1.4, ip@^1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= @@ -5706,6 +6165,13 @@ is-ci@^1.0.10: dependencies: ci-info "^1.5.0" +is-cidr@^2.0.6: + version "2.0.7" + resolved "https://registry.npmjs.org/is-cidr/-/is-cidr-2.0.7.tgz#0fd4b863c26b2eb2d157ed21060c4f3f8dd356ce" + integrity sha512-YfOm5liUO1RoYfFh+lhiGNYtbLzem7IXzFqvfjXh+zLCEuAiznTBlQ2QcMWxsgYeOFmjzljOxJfmZID4/cRBAQ== + dependencies: + cidr-regex "^2.0.10" + is-color-stop@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" @@ -5847,11 +6313,24 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" +is-installed-globally@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" + integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA= + dependencies: + global-dirs "^0.1.0" + is-path-inside "^1.0.0" + is-module@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= +is-npm@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" + integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= + is-number@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -5876,6 +6355,13 @@ is-obj@^1.0.0: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= +is-path-inside@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= + dependencies: + path-is-inside "^1.0.1" + is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -5903,6 +6389,11 @@ is-promise@^2.0.0, is-promise@^2.1.0: resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= +is-redirect@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" + integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= + is-regex@^1.0.3, is-regex@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -5915,7 +6406,12 @@ is-resolvable@^1.0.0: resolved "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== -is-stream@^1.1.0: +is-retry-allowed@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" + integrity sha1-EaBgVotnM5REAz0BJaYaINVk+zQ= + +is-stream@^1.0.0, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -5993,6 +6489,17 @@ isstream@~0.1.2: resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= +issue-parser@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/issue-parser/-/issue-parser-3.0.1.tgz#ee8dd677fdb5be64541f81fa5e7267baa271a7ee" + integrity sha512-5wdT3EE8Kq38x/hJD8QZCJ9scGoOZ5QnzwXyClkviSWTS+xOCE6hJ0qco3H5n5jCsFqpbofZCcMWqlXJzF72VQ== + dependencies: + lodash.capitalize "^4.2.1" + lodash.escaperegexp "^4.1.2" + lodash.isplainobject "^4.0.6" + lodash.isstring "^4.0.1" + lodash.uniqby "^4.7.0" + istanbul-api@^1.3.1: version "1.3.7" resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.7.tgz#a86c770d2b03e11e3f778cd7aedd82d2722092aa" @@ -6063,6 +6570,11 @@ istanbul-reports@^1.5.1: dependencies: handlebars "^4.0.3" +java-properties@^0.2.9: + version "0.2.10" + resolved "https://registry.npmjs.org/java-properties/-/java-properties-0.2.10.tgz#2551560c25fa1ad94d998218178f233ad9b18f60" + integrity sha512-CpKJh9VRNhS+XqZtg1UMejETGEiqwCGDC/uwPEEQwc2nfdbSm73SIE29TplG2gLYuBOOTNDqxzG6A9NtEPLt0w== + jest-changed-files@^23.4.2: version "23.4.2" resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.2.tgz#1eed688370cd5eebafe4ae93d34bb3b64968fe83" @@ -6652,6 +7164,13 @@ last-call-webpack-plugin@^3.0.0: lodash "^4.17.5" webpack-sources "^1.1.0" +latest-version@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" + integrity sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU= + dependencies: + package-json "^4.0.0" + launch-editor-middleware@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/launch-editor-middleware/-/launch-editor-middleware-2.2.1.tgz#e14b07e6c7154b0a4b86a0fd345784e45804c157" @@ -6677,6 +7196,11 @@ lazy-cache@^1.0.3: resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= +lazy-property@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/lazy-property/-/lazy-property-1.0.0.tgz#84ddc4b370679ba8bd4cdcfa4c06b43d57111147" + integrity sha1-hN3Es3Bnm6i9TNz6TAa0PVcREUc= + lcid@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -6732,6 +7256,26 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +libcipm@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/libcipm/-/libcipm-2.0.2.tgz#4f38c2b37acf2ec156936cef1cbf74636568fc7b" + integrity sha512-9uZ6/LAflVEijksTRq/RX0e+pGA4mr8tND9Cmk2JMg7j2fFUBrs8PpFX2DOAJR/XoxPzz+5h8bkWmtIYLunKAg== + dependencies: + bin-links "^1.1.2" + bluebird "^3.5.1" + find-npm-prefix "^1.0.2" + graceful-fs "^4.1.11" + lock-verify "^2.0.2" + mkdirp "^0.5.1" + npm-lifecycle "^2.0.3" + npm-logical-tree "^1.2.1" + npm-package-arg "^6.1.0" + pacote "^8.1.6" + protoduck "^5.0.0" + read-package-json "^2.0.13" + rimraf "^2.6.2" + worker-farm "^1.6.0" + libnpm@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/libnpm/-/libnpm-2.0.1.tgz#a48fcdee3c25e13c77eb7c60a0efe561d7fb0d8f" @@ -6777,6 +7321,14 @@ libnpmconfig@^1.2.1: find-up "^3.0.0" ini "^1.3.5" +libnpmhook@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-4.0.1.tgz#63641654de772cbeb96a88527a7fd5456ec3c2d7" + integrity sha512-3qqpfqvBD1712WA6iGe0stkG40WwAeoWcujA6BlC0Be1JArQbqwabnEnZ0CRcD05Tf1fPYJYdCbSfcfedEJCOg== + dependencies: + figgy-pudding "^3.1.0" + npm-registry-fetch "^3.0.0" + libnpmhook@^5.0.2: version "5.0.2" resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-5.0.2.tgz#d12817b0fb893f36f1d5be20017f2aea25825d94" @@ -6831,6 +7383,20 @@ libnpmteam@^1.0.1: get-stream "^4.0.0" npm-registry-fetch "^3.8.0" +libnpx@^10.2.0: + version "10.2.0" + resolved "https://registry.npmjs.org/libnpx/-/libnpx-10.2.0.tgz#1bf4a1c9f36081f64935eb014041da10855e3102" + integrity sha512-X28coei8/XRCt15cYStbLBph+KGhFra4VQhRBPuH/HHMkC5dxM8v24RVgUsvODKCrUZ0eTgiTqJp6zbl0sskQQ== + dependencies: + dotenv "^5.0.1" + npm-package-arg "^6.0.0" + rimraf "^2.6.2" + safe-buffer "^5.1.0" + update-notifier "^2.3.0" + which "^1.3.0" + y18n "^4.0.0" + yargs "^11.0.0" + load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -6910,12 +7476,69 @@ lock-verify@^2.0.2: npm-package-arg "^5.1.2 || 6" semver "^5.4.1" +lockfile@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/lockfile/-/lockfile-1.0.4.tgz#07f819d25ae48f87e538e6578b6964a4981a5609" + integrity sha512-cvbTwETRfsFh4nHsL1eGWapU1XFi5Ot9E85sWAwia7Y7EgB7vfqcZhTKZ+l7hCGxSPoushMv5GKhT5PdLv03WA== + dependencies: + signal-exit "^3.0.2" + +lodash._baseindexof@*: + version "3.1.0" + resolved "https://registry.npmjs.org/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" + integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= + +lodash._baseuniq@~4.6.0: + version "4.6.0" + resolved "https://registry.npmjs.org/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" + integrity sha1-DrtE5FaBSveQXGIS+iybLVG4Qeg= + dependencies: + lodash._createset "~4.0.0" + lodash._root "~3.0.0" + +lodash._bindcallback@*: + version "3.0.1" + resolved "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" + integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= + +lodash._cacheindexof@*: + version "3.0.2" + resolved "https://registry.npmjs.org/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" + integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= + +lodash._createcache@*: + version "3.1.2" + resolved "https://registry.npmjs.org/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" + integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= + dependencies: + lodash._getnative "^3.0.0" + +lodash._createset@~4.0.0: + version "4.0.3" + resolved "https://registry.npmjs.org/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" + integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= + +lodash._getnative@*, lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= + lodash._reinterpolate@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= -lodash.clonedeep@^4.5.0: +lodash._root@~3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" + integrity sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI= + +lodash.capitalize@^4.2.1: + version "4.2.1" + resolved "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9" + integrity sha1-+CbJtOKoUR2E46yinbBeGk87cqk= + +lodash.clonedeep@^4.5.0, lodash.clonedeep@~4.5.0: version "4.5.0" resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= @@ -6925,11 +7548,26 @@ lodash.debounce@^4.0.8: resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.escaperegexp@^4.1.2: + version "4.1.2" + resolved "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347" + integrity sha1-ZHYsSGGAglGKw99Mz11YhtriA0c= + +lodash.get@^4.4.2: + version "4.4.2" + resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" + integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= + lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= +lodash.isstring@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" + integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= + lodash.kebabcase@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" @@ -6940,6 +7578,16 @@ lodash.memoize@^4.1.2: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.restparam@*: + version "3.6.1" + resolved "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" + integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= + +lodash.set@^4.3.2: + version "4.3.2" + resolved "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" + integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= + lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -6960,16 +7608,36 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "~3.0.0" -lodash.uniq@^4.5.0: +lodash.toarray@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" + integrity sha1-JMS/zWsvuji/0FlNsRedjptlZWE= + +lodash.union@~4.6.0: + version "4.6.0" + resolved "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" + integrity sha1-SLtQiECfFvGCFmZkHETdGqrjzYg= + +lodash.uniq@^4.5.0, lodash.uniq@~4.5.0: version "4.5.0" resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= +lodash.uniqby@^4.7.0: + version "4.7.0" + resolved "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302" + integrity sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI= + lodash.uniqueid@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/lodash.uniqueid/-/lodash.uniqueid-4.0.1.tgz#3268f26a7c88e4f4b1758d679271814e31fa5b26" integrity sha1-MmjyanyI5PSxdY1nknGBTjH6WyY= +lodash.without@~4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac" + integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw= + lodash@4.17.11, lodash@4.x, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: version "4.17.11" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" @@ -7000,7 +7668,12 @@ lower-case@^1.1.1: resolved "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= -lru-cache@^4.0.1, lru-cache@^4.1.2, lru-cache@^4.1.3: +lowercase-keys@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" + integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== + +lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2, lru-cache@^4.1.3: version "4.1.5" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -7015,6 +7688,11 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +macos-release@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab" + integrity sha512-iCM3ZGeqIzlrH7KxYK+fphlJpCCczyHXc+HhRVbEu9uNTCrzYJjvvtefzeKTCVHd5AP/aD/fzC80JZ4ZP+dQ/A== + magic-string@0.25.1, magic-string@^0.25.1: version "0.25.1" resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" @@ -7034,7 +7712,7 @@ make-error@1.x, make-error@^1.1.1: resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== -make-fetch-happen@^4.0.1: +"make-fetch-happen@^2.5.0 || 3 || 4", make-fetch-happen@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-4.0.1.tgz#141497cb878f243ba93136c83d8aba12c216c083" integrity sha512-7R5ivfy9ilRJ1EMKIOziwrns9fGeAD4bAha8EB7BIiBBLHm2KeTUGCrICFt2rbHfzheTLynv50GnNTK1zDTrcQ== @@ -7051,6 +7729,23 @@ make-fetch-happen@^4.0.1: socks-proxy-agent "^4.0.0" ssri "^6.0.0" +make-fetch-happen@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-3.0.0.tgz#7b661d2372fc4710ab5cc8e1fa3c290eea69a961" + integrity sha512-FmWY7gC0mL6Z4N86vE14+m719JKE4H0A+pyiOH18B025gF/C113pyfb4gHDDYP5cqnRMHOz06JGdmffC/SES+w== + dependencies: + agentkeepalive "^3.4.1" + cacache "^10.0.4" + http-cache-semantics "^3.8.1" + http-proxy-agent "^2.1.0" + https-proxy-agent "^2.2.0" + lru-cache "^4.1.2" + mississippi "^3.0.0" + node-fetch-npm "^2.0.2" + promise-retry "^1.1.1" + socks-proxy-agent "^3.0.1" + ssri "^5.2.4" + makeerror@1.0.x: version "1.0.11" resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" @@ -7087,6 +7782,23 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" +marked-terminal@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/marked-terminal/-/marked-terminal-3.2.0.tgz#3fc91d54569332bcf096292af178d82219000474" + integrity sha512-Yr1yVS0BbDG55vx7be1D0mdv+jGs9AW563o/Tt/7FTsId2J0yqhrTeXAqq/Q0DyyXltIn6CSxzesQuFqXgafjQ== + dependencies: + ansi-escapes "^3.1.0" + cardinal "^2.1.1" + chalk "^2.4.1" + cli-table "^0.3.1" + node-emoji "^1.4.1" + supports-hyperlinks "^1.0.1" + +marked@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/marked/-/marked-0.6.0.tgz#a18d01cfdcf8d15c3c455b71c8329e5e0f01faa1" + integrity sha512-HduzIW2xApSXKXJSpCipSxKyvMbwRRa/TwMbepmlZziKdH8548WSoDP4SxzulEKjlo8BE39l+2fwJZuRKOln6g== + math-random@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" @@ -7106,6 +7818,11 @@ mdn-data@~1.1.0: resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01" integrity sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA== +meant@~1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/meant/-/meant-1.0.1.tgz#66044fea2f23230ec806fb515efea29c44d2115d" + integrity sha512-UakVLFjKkbbUwNWJ2frVLnnAtbb7D7DsloxRd3s/gDpI8rdv8W5Hp3NaDb+POBI1fQdeussER6NB8vpcRURvlg== + media-typer@0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -7313,7 +8030,7 @@ minimist@~0.0.1: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.2.1, minipass@^2.3.4, minipass@^2.3.5: +minipass@^2.2.1, minipass@^2.3.3, minipass@^2.3.4, minipass@^2.3.5: version "2.3.5" resolved "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== @@ -7328,6 +8045,22 @@ minizlib@^1.1.1: dependencies: minipass "^2.2.1" +mississippi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz#3442a508fafc28500486feea99409676e4ee5a6f" + integrity sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw== + dependencies: + concat-stream "^1.5.0" + duplexify "^3.4.2" + end-of-stream "^1.1.0" + flush-write-stream "^1.0.0" + from2 "^2.1.0" + parallel-transform "^1.1.0" + pump "^2.0.1" + pumpify "^1.3.3" + stream-each "^1.1.0" + through2 "^2.0.0" + mississippi@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" @@ -7462,6 +8195,11 @@ neo-async@^2.5.0, neo-async@^2.6.0: resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835" integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA== +nerf-dart@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" + integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo= + nice-try@^1.0.4: version "1.0.5" resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -7482,6 +8220,13 @@ node-cache@^4.1.1: clone "2.x" lodash "4.x" +node-emoji@^1.4.1: + version "1.8.1" + resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz#6eec6bfb07421e2148c75c6bba72421f8530a826" + integrity sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg== + dependencies: + lodash.toarray "^4.4.0" + node-fetch-npm@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" @@ -7606,7 +8351,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.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.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@~1.0.1 || ^2.0.0", normalize-package-data@~2.4.0: version "2.4.0" resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== @@ -7638,17 +8383,37 @@ normalize-url@^3.0.0: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== -normalize-url@^4.1.0: +normalize-url@^4.0.0, normalize-url@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.1.0.tgz#307e74c87473efa81969ad1b4bb91f1990178904" integrity sha512-X781mkWeK6PDMAZJfGn/wnwil4dV6pIdF9euiNqtA89uJvZuNDJO2YyJxiwpPhTQcF5pYUU1v+kcOxzYV6rZlA== +npm-audit-report@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-1.3.2.tgz#303bc78cd9e4c226415076a4f7e528c89fc77018" + integrity sha512-abeqS5ONyXNaZJPGAf6TOUMNdSe1Y6cpc9MLBRn+CuUoYbfdca6AxOyXVlfIv9OgKX+cacblbG5w7A6ccwoTPw== + dependencies: + cli-table3 "^0.5.0" + console-control-strings "^1.1.0" + npm-bundled@^1.0.1: version "1.0.5" resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979" integrity sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g== -npm-lifecycle@^2.1.0: +npm-cache-filename@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.2.tgz#ded306c5b0bfc870a9e9faf823bc5f283e05ae11" + integrity sha1-3tMGxbC/yHCp6fr4I7xfKD4FrhE= + +npm-install-checks@~3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-3.0.0.tgz#d4aecdfd51a53e3723b7b2f93b2ee28e307bc0d7" + integrity sha1-1K7N/VGlPjcjt7L5Oy7ijjB7wNc= + dependencies: + semver "^2.3.0 || 3.x || 4 || 5" + +npm-lifecycle@^2.0.3, npm-lifecycle@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-2.1.0.tgz#1eda2eedb82db929e3a0c50341ab0aad140ed569" integrity sha512-QbBfLlGBKsktwBZLj6AviHC6Q9Y3R/AY4a2PYSIRhSKSS0/CxRyD/PfxEX6tPeOCXQgMSNdwGeECacstgptc+g== @@ -7667,7 +8432,7 @@ npm-logical-tree@^1.2.1: resolved "https://registry.npmjs.org/npm-logical-tree/-/npm-logical-tree-1.2.1.tgz#44610141ca24664cad35d1e607176193fd8f5b88" integrity sha512-AJI/qxDB2PWI4LG1CYN579AY1vCiNyWfkiquCsJWqntRu/WwimVrC8yXeILBFHDwxfOejxewlmnvW9XXjMlYIg== -"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: +"npm-package-arg@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== @@ -7677,7 +8442,7 @@ npm-logical-tree@^1.2.1: semver "^5.5.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.12, npm-packlist@^1.1.6: +npm-packlist@^1.1.10, npm-packlist@^1.1.12, npm-packlist@^1.1.6: version "1.2.0" resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz#55a60e793e272f00862c7089274439a4cc31fc7f" integrity sha512-7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ== @@ -7685,7 +8450,7 @@ npm-packlist@^1.1.12, npm-packlist@^1.1.6: ignore-walk "^3.0.1" npm-bundled "^1.0.1" -npm-pick-manifest@^2.2.3: +npm-pick-manifest@^2.1.0, npm-pick-manifest@^2.2.3: version "2.2.3" resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz#32111d2a9562638bb2c8f2bf27f7f3092c8fae40" integrity sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA== @@ -7694,6 +8459,14 @@ npm-pick-manifest@^2.2.3: npm-package-arg "^6.0.0" semver "^5.4.1" +npm-profile@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/npm-profile/-/npm-profile-3.0.2.tgz#58d568f1b56ef769602fd0aed8c43fa0e0de0f57" + integrity sha512-rEJOFR6PbwOvvhGa2YTNOJQKNuc6RovJ6T50xPU7pS9h/zKPNCJ+VHZY2OFXyZvEi+UQYtHRTp8O/YM3tUD20A== + dependencies: + aproba "^1.1.2 || 2" + make-fetch-happen "^2.5.0 || 3 || 4" + npm-profile@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/npm-profile/-/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa" @@ -7703,6 +8476,49 @@ npm-profile@^4.0.1: figgy-pudding "^3.4.1" npm-registry-fetch "^3.8.0" +npm-registry-client@^8.6.0: + version "8.6.0" + resolved "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-8.6.0.tgz#7f1529f91450732e89f8518e0f21459deea3e4c4" + integrity sha512-Qs6P6nnopig+Y8gbzpeN/dkt+n7IyVd8f45NTMotGk6Qo7GfBmzwYx6jRLoOOgKiMnaQfYxsuyQlD8Mc3guBhg== + dependencies: + concat-stream "^1.5.2" + graceful-fs "^4.1.6" + normalize-package-data "~1.0.1 || ^2.0.0" + npm-package-arg "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" + once "^1.3.3" + request "^2.74.0" + retry "^0.10.0" + safe-buffer "^5.1.1" + semver "2 >=2.2.1 || 3.x || 4 || 5" + slide "^1.1.3" + ssri "^5.2.4" + optionalDependencies: + npmlog "2 || ^3.1.0 || ^4.0.0" + +npm-registry-fetch@^1.1.0: + version "1.1.1" + resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-1.1.1.tgz#710bc5947d9ee2c549375072dab6d5d17baf2eb2" + integrity sha512-ev+zxOXsgAqRsR8Rk+ErjgWOlbrXcqGdme94/VNdjDo1q8TSy10Pp8xgDv/ZmMk2jG/KvGtXUNG4GS3+l6xbDw== + dependencies: + bluebird "^3.5.1" + figgy-pudding "^3.0.0" + lru-cache "^4.1.2" + make-fetch-happen "^3.0.0" + npm-package-arg "^6.0.0" + safe-buffer "^5.1.1" + +npm-registry-fetch@^3.0.0: + version "3.9.0" + resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz#44d841780e2833f06accb34488f8c7450d1a6856" + integrity sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw== + dependencies: + JSONStream "^1.3.4" + bluebird "^3.5.1" + figgy-pudding "^3.4.1" + lru-cache "^4.1.3" + make-fetch-happen "^4.0.1" + npm-package-arg "^6.1.0" + npm-registry-fetch@^3.8.0: version "3.8.0" resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.8.0.tgz#aa7d9a7c92aff94f48dba0984bdef4bd131c88cc" @@ -7722,7 +8538,136 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.2, npmlog@^4.1.2: +npm-user-validate@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/npm-user-validate/-/npm-user-validate-1.0.0.tgz#8ceca0f5cea04d4e93519ef72d0557a75122e951" + integrity sha1-jOyg9c6gTU6TUZ73LQVXp1Ei6VE= + +npm@6.5.0: + version "6.5.0" + resolved "https://registry.npmjs.org/npm/-/npm-6.5.0.tgz#30ed48d4cd4d17d68ee04a5fcf9fa2ca9167d819" + integrity sha512-SPq8zG2Kto+Xrq55E97O14Jla13PmQT5kSnvwBj88BmJZ5Nvw++OmlWfhjkB67pcgP5UEXljEtnGFKZtOgt6MQ== + dependencies: + JSONStream "^1.3.4" + abbrev "~1.1.1" + ansicolors "~0.3.2" + ansistyles "~0.1.3" + aproba "~1.2.0" + archy "~1.0.0" + bin-links "^1.1.2" + bluebird "^3.5.3" + byte-size "^4.0.3" + cacache "^11.2.0" + call-limit "~1.1.0" + chownr "~1.0.1" + ci-info "^1.6.0" + cli-columns "^3.1.2" + cli-table3 "^0.5.0" + cmd-shim "~2.0.2" + columnify "~1.5.4" + config-chain "^1.1.12" + debuglog "*" + detect-indent "~5.0.0" + detect-newline "^2.1.0" + dezalgo "~1.0.3" + editor "~1.0.0" + figgy-pudding "^3.5.1" + find-npm-prefix "^1.0.2" + fs-vacuum "~1.2.10" + fs-write-stream-atomic "~1.0.10" + gentle-fs "^2.0.1" + glob "^7.1.3" + graceful-fs "^4.1.15" + has-unicode "~2.0.1" + hosted-git-info "^2.7.1" + iferr "^1.0.2" + imurmurhash "*" + inflight "~1.0.6" + inherits "~2.0.3" + ini "^1.3.5" + init-package-json "^1.10.3" + is-cidr "^2.0.6" + json-parse-better-errors "^1.0.2" + lazy-property "~1.0.0" + libcipm "^2.0.2" + libnpmhook "^4.0.1" + libnpx "^10.2.0" + lock-verify "^2.0.2" + lockfile "^1.0.4" + lodash._baseindexof "*" + lodash._baseuniq "~4.6.0" + lodash._bindcallback "*" + lodash._cacheindexof "*" + lodash._createcache "*" + lodash._getnative "*" + lodash.clonedeep "~4.5.0" + lodash.restparam "*" + lodash.union "~4.6.0" + lodash.uniq "~4.5.0" + lodash.without "~4.4.0" + lru-cache "^4.1.3" + meant "~1.0.1" + mississippi "^3.0.0" + mkdirp "~0.5.1" + move-concurrently "^1.0.1" + node-gyp "^3.8.0" + nopt "~4.0.1" + normalize-package-data "~2.4.0" + npm-audit-report "^1.3.1" + npm-cache-filename "~1.0.2" + npm-install-checks "~3.0.0" + npm-lifecycle "^2.1.0" + npm-package-arg "^6.1.0" + npm-packlist "^1.1.12" + npm-pick-manifest "^2.1.0" + npm-profile "^3.0.2" + npm-registry-client "^8.6.0" + npm-registry-fetch "^1.1.0" + npm-user-validate "~1.0.0" + npmlog "~4.1.2" + once "~1.4.0" + opener "^1.5.1" + osenv "^0.1.5" + pacote "^8.1.6" + path-is-inside "~1.0.2" + promise-inflight "~1.0.1" + qrcode-terminal "^0.12.0" + query-string "^6.1.0" + qw "~1.0.1" + read "~1.0.7" + read-cmd-shim "~1.0.1" + read-installed "~4.0.3" + read-package-json "^2.0.13" + read-package-tree "^5.2.1" + readable-stream "^2.3.6" + readdir-scoped-modules "*" + request "^2.88.0" + retry "^0.12.0" + rimraf "~2.6.2" + safe-buffer "^5.1.2" + semver "^5.5.1" + sha "~2.0.1" + slide "~1.1.6" + sorted-object "~2.0.1" + sorted-union-stream "~2.1.3" + ssri "^6.0.1" + stringify-package "^1.0.0" + tar "^4.4.8" + text-table "~0.2.0" + tiny-relative-date "^1.3.0" + uid-number "0.0.6" + umask "~1.1.0" + unique-filename "~1.1.0" + unpipe "~1.0.0" + update-notifier "^2.5.0" + uuid "^3.3.2" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "~3.0.0" + which "^1.3.1" + worker-farm "^1.6.0" + write-file-atomic "^2.3.0" + +"npmlog@0 || 1 || 2 || 3 || 4", "npmlog@2 || ^3.1.0 || ^4.0.0", npmlog@^4.0.2, npmlog@^4.1.2, npmlog@~4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -7828,6 +8773,11 @@ object.values@^1.0.4: function-bind "^1.1.1" has "^1.0.3" +octokit-pagination-methods@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" + integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -7840,7 +8790,7 @@ on-headers@^1.0.1, on-headers@~1.0.1: resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c= -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0, once@~1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -7915,6 +8865,14 @@ os-locale@^3.0.0: lcid "^2.0.0" mem "^4.0.0" +os-name@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/os-name/-/os-name-3.0.0.tgz#e1434dbfddb8e74b44c98b56797d951b7648a5d9" + integrity sha512-7c74tib2FsdFbQ3W+qj8Tyd1R3Z6tuVRNNxXjJcZ4NgjIEQU9N/prVMqcW29XZPXGACqaXN3jq58/6hoaoXH6g== + dependencies: + macos-release "^2.0.0" + windows-release "^3.1.0" + os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -7933,6 +8891,13 @@ p-defer@^1.0.0: resolved "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= +p-filter@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/p-filter/-/p-filter-1.0.0.tgz#629d317150209c8fd508ba137713ef4bb920e9db" + integrity sha1-Yp0xcVAgnI/VCLoTdxPvS7kg6ds= + dependencies: + p-map "^1.0.0" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -7943,6 +8908,11 @@ p-is-promise@^1.1.0: resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= +p-is-promise@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz#7554e3d572109a87e1f3f53f6a7d85d1b194f4c5" + integrity sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg== + p-limit@^1.1.0: version "1.3.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -7978,7 +8948,7 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^1.2.0: +p-map@^1.0.0, p-map@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" integrity sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA== @@ -7993,6 +8963,13 @@ p-reduce@^1.0.0: resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= +p-retry@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" + integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== + dependencies: + retry "^0.12.0" + p-try@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -8010,6 +8987,47 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" +package-json@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" + integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= + dependencies: + got "^6.7.1" + registry-auth-token "^3.0.1" + registry-url "^3.0.3" + semver "^5.1.0" + +pacote@^8.1.6: + version "8.1.6" + resolved "https://registry.npmjs.org/pacote/-/pacote-8.1.6.tgz#8e647564d38156367e7a9dc47a79ca1ab278d46e" + integrity sha512-wTOOfpaAQNEQNtPEx92x9Y9kRWVu45v583XT8x2oEV2xRB74+xdqMZIeGW4uFvAyZdmSBtye+wKdyyLaT8pcmw== + dependencies: + bluebird "^3.5.1" + cacache "^11.0.2" + get-stream "^3.0.0" + glob "^7.1.2" + lru-cache "^4.1.3" + make-fetch-happen "^4.0.1" + minimatch "^3.0.4" + minipass "^2.3.3" + mississippi "^3.0.0" + mkdirp "^0.5.1" + normalize-package-data "^2.4.0" + npm-package-arg "^6.1.0" + npm-packlist "^1.1.10" + npm-pick-manifest "^2.1.0" + osenv "^0.1.5" + promise-inflight "^1.0.1" + promise-retry "^1.1.1" + protoduck "^5.0.0" + rimraf "^2.6.2" + safe-buffer "^5.1.2" + semver "^5.5.0" + ssri "^6.0.0" + tar "^4.4.3" + unique-filename "^1.1.0" + which "^1.3.0" + pacote@^9.2.3: version "9.4.0" resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.0.tgz#af979abdeb175cd347c3e33be3241af1ed254807" @@ -8088,6 +9106,11 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= +parse-github-url@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" + integrity sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw== + parse-glob@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" @@ -8167,7 +9190,7 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2: +path-is-inside@^1.0.1, path-is-inside@^1.0.2, path-is-inside@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= @@ -8265,6 +9288,14 @@ pirates@^4.0.0: dependencies: node-modules-regexp "^1.0.0" +pkg-conf@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz#2126514ca6f2abfebd168596df18ba57867f0058" + integrity sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg= + dependencies: + find-up "^2.0.0" + load-json-file "^4.0.0" + pkg-dir@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" @@ -8933,6 +9964,11 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +prepend-http@^1.0.1: + version "1.0.4" + resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" + integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= + preserve@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" @@ -8997,7 +10033,7 @@ progress@^2.0.0, progress@^2.0.1: resolved "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -promise-inflight@^1.0.1: +promise-inflight@^1.0.1, promise-inflight@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= @@ -9037,7 +10073,7 @@ proto-list@~1.2.1: resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= -protoduck@^5.0.1: +protoduck@^5.0.0, protoduck@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== @@ -9196,7 +10232,7 @@ pug@^2.0.3: pug-runtime "^2.0.4" pug-strip-comments "^1.0.3" -pump@^2.0.0: +pump@^2.0.0, pump@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== @@ -9255,11 +10291,24 @@ q@^1.1.2, q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= +qrcode-terminal@^0.12.0: + version "0.12.0" + resolved "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" + integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== + qs@6.5.2, qs@~6.5.2: version "6.5.2" resolved "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +query-string@^6.1.0: + version "6.2.0" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.2.0.tgz#468edeb542b7e0538f9f9b1aeb26f034f19c86e1" + integrity sha512-5wupExkIt8RYL4h/FE+WTg3JHk62e6fFPWtAZA9J5IWK1PfTfKkMS93HBUHcFpeYi9KsY5pFbh+ldvEyaz5MyA== + dependencies: + decode-uri-component "^0.2.0" + strict-uri-encode "^2.0.0" + querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -9275,6 +10324,11 @@ quick-lru@^1.0.0: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= +qw@~1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/qw/-/qw-1.0.1.tgz#efbfdc740f9ad054304426acb183412cc8b996d4" + integrity sha1-77/cdA+a0FQwRCassYNBLMi5ltQ= + randomatic@^3.0.0: version "3.1.1" resolved "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" @@ -9314,7 +10368,7 @@ raw-body@2.3.3: iconv-lite "0.4.23" unpipe "1.0.0" -rc@^1.2.7: +rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -9331,13 +10385,27 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-cmd-shim@^1.0.1: +read-cmd-shim@^1.0.1, read-cmd-shim@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b" integrity sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs= dependencies: graceful-fs "^4.1.2" +read-installed@~4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz#ff9b8b67f187d1e4c29b9feb31f6b223acd19067" + integrity sha1-/5uLZ/GH0eTCm5/rMfayI6zRkGc= + dependencies: + debuglog "^1.0.1" + read-package-json "^2.0.0" + readdir-scoped-modules "^1.0.0" + semver "2 || 3 || 4 || 5" + slide "~1.1.3" + util-extend "^1.0.1" + optionalDependencies: + graceful-fs "^4.1.2" + "read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13: version "2.0.13" resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.13.tgz#2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a" @@ -9350,7 +10418,7 @@ read-cmd-shim@^1.0.1: optionalDependencies: graceful-fs "^4.1.2" -read-package-tree@^5.1.6: +read-package-tree@^5.1.6, read-package-tree@^5.2.1: version "5.2.1" resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.2.1.tgz#6218b187d6fac82289ce4387bbbaf8eef536ad63" integrity sha512-2CNoRoh95LxY47LvqrehIAfUVda2JbuFE/HaGYs42bNrGG+ojbw1h3zOcPcQ+1GQ3+rkzNndZn85u1XyZ3UsIA== @@ -9385,6 +10453,14 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" +read-pkg-up@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" + integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== + dependencies: + find-up "^3.0.0" + read-pkg "^3.0.0" + read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" @@ -9412,7 +10488,16 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -read@1, read@~1.0.1: +read-pkg@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237" + integrity sha1-ljYlN48+HE1IyFhytabsfV0JMjc= + dependencies: + normalize-package-data "^2.3.2" + parse-json "^4.0.0" + pify "^3.0.0" + +read@1, read@~1.0.1, read@~1.0.7: version "1.0.7" resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= @@ -9451,7 +10536,17 @@ readable-stream@^3.0.6: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdir-scoped-modules@^1.0.0: +readable-stream@~1.1.10: + version "1.1.14" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" + integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk= + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" integrity sha1-n6+jfShr5dksuuve4DDcm19AZ0c= @@ -9493,6 +10588,13 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" +redeyed@~2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" + integrity sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs= + dependencies: + esprima "~4.0.0" + regenerate-unicode-properties@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz#107405afcc4a190ec5ed450ecaa00ed0cafa7a4c" @@ -9572,6 +10674,21 @@ regexpu-core@^4.1.3, regexpu-core@^4.2.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.0.2" +registry-auth-token@^3.0.1, registry-auth-token@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" + integrity sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ== + dependencies: + rc "^1.1.6" + safe-buffer "^5.0.1" + +registry-url@^3.0.3: + version "3.1.0" + resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" + integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= + dependencies: + rc "^1.0.1" + regjsgen@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" @@ -9650,7 +10767,7 @@ request-promise-native@^1.0.5: stealthy-require "^1.1.0" tough-cookie ">=2.3.3" -request@^2.87.0, request@^2.88.0: +request@^2.74.0, request@^2.87.0, request@^2.88.0: version "2.88.0" resolved "https://registry.npmjs.org/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== @@ -9743,6 +10860,11 @@ retry@^0.10.0: resolved "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q= +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= + rgb-regex@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" @@ -9941,7 +11063,51 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.1, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: +semantic-release@15: + version "15.13.3" + resolved "https://registry.npmjs.org/semantic-release/-/semantic-release-15.13.3.tgz#412720b9c09f39f04df67478fa409a914107e05b" + integrity sha512-cax0xPPTtsxHlrty2HxhPql2TTvS74Ni2O8BzwFHxNY/mviVKEhI4OxHzBYJkpVxx1fMVj36+oH7IlP+SJtPNA== + dependencies: + "@semantic-release/commit-analyzer" "^6.1.0" + "@semantic-release/error" "^2.2.0" + "@semantic-release/github" "^5.1.0" + "@semantic-release/npm" "^5.0.5" + "@semantic-release/release-notes-generator" "^7.1.2" + aggregate-error "^2.0.0" + cosmiconfig "^5.0.1" + debug "^4.0.0" + env-ci "^3.0.0" + execa "^1.0.0" + figures "^2.0.0" + find-versions "^3.0.0" + get-stream "^4.0.0" + git-log-parser "^1.2.0" + hook-std "^1.1.0" + hosted-git-info "^2.7.1" + lodash "^4.17.4" + marked "^0.6.0" + marked-terminal "^3.2.0" + p-locate "^3.0.0" + p-reduce "^1.0.0" + read-pkg-up "^4.0.0" + resolve-from "^4.0.0" + semver "^5.4.1" + signale "^1.2.1" + yargs "^12.0.0" + +semver-diff@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" + integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= + dependencies: + semver "^5.0.3" + +semver-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" + integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== + +"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.6.0" resolved "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== @@ -10040,6 +11206,14 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" +sha@~2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/sha/-/sha-2.0.1.tgz#6030822fbd2c9823949f8f72ed6411ee5cf25aae" + integrity sha1-YDCCL70smCOUn49y7WQR7lzyWq4= + dependencies: + graceful-fs "^4.1.2" + readable-stream "^2.0.2" + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -10077,6 +11251,15 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= +signale@^1.2.1: + version "1.3.0" + resolved "https://registry.npmjs.org/signale/-/signale-1.3.0.tgz#1b4917c2c7a8691550adca0ad1da750a662b4497" + integrity sha512-TyFhsQ9wZDYDfsPqWMyjCxsDoMwfpsT0130Mce7wDiVCSDdtWSg83dOqoj8aGpGCs3n1YPcam6sT1OFPuGT/OQ== + dependencies: + chalk "^2.3.2" + figures "^2.0.0" + pkg-conf "^2.1.0" + simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -10108,11 +11291,16 @@ slice-ansi@2.0.0: astral-regex "^1.0.0" is-fullwidth-code-point "^2.0.0" -slide@^1.1.6: +slide@^1.1.3, slide@^1.1.6, slide@~1.1.3, slide@~1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= +smart-buffer@^1.0.13: + version "1.1.15" + resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-1.1.15.tgz#7f114b5b65fab3e2a35aa775bb12f0d1c649bf16" + integrity sha1-fxFLW2X6s+KjWqd1uxLw0cZJvxY= + smart-buffer@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" @@ -10148,6 +11336,14 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" +socks-proxy-agent@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-3.0.1.tgz#2eae7cf8e2a82d34565761539a7f9718c5617659" + integrity sha512-ZwEDymm204mTzvdqyUqOdovVr2YRd2NYskrYrF2LXyZ9qDiMAoFESGK8CRphiO7rtbo2Y757k2Nia3x2hGtalA== + dependencies: + agent-base "^4.1.0" + socks "^1.1.10" + socks-proxy-agent@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" @@ -10156,6 +11352,14 @@ socks-proxy-agent@^4.0.0: agent-base "~4.2.0" socks "~2.2.0" +socks@^1.1.10: + version "1.1.10" + resolved "https://registry.npmjs.org/socks/-/socks-1.1.10.tgz#5b8b7fc7c8f341c53ed056e929b7bf4de8ba7b5a" + integrity sha1-W4t/x8jzQcU+0FbpKbe/Tei6e1o= + dependencies: + ip "^1.1.4" + smart-buffer "^1.0.13" + socks@~2.2.0: version "2.2.2" resolved "https://registry.npmjs.org/socks/-/socks-2.2.2.tgz#f061219fc2d4d332afb4af93e865c84d3fa26e2b" @@ -10184,6 +11388,19 @@ sort-package-json@^1.18.0: detect-indent "^5.0.0" sort-object-keys "^1.1.2" +sorted-object@~2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/sorted-object/-/sorted-object-2.0.1.tgz#7d631f4bd3a798a24af1dffcfbfe83337a5df5fc" + integrity sha1-fWMfS9OnmKJK8d/8+/6DM3pd9fw= + +sorted-union-stream@~2.1.3: + version "2.1.3" + resolved "https://registry.npmjs.org/sorted-union-stream/-/sorted-union-stream-2.1.3.tgz#c7794c7e077880052ff71a8d4a2dbb4a9a638ac7" + integrity sha1-x3lMfgd4gAUv9xqNSi27Sppjisc= + dependencies: + from2 "^1.3.0" + stream-iterate "^1.1.0" + source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" @@ -10245,6 +11462,11 @@ sourcemap-codec@^1.4.1: resolved "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== +spawn-error-forwarder@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz#1afd94738e999b0346d7b9fc373be55e07577029" + integrity sha1-Gv2Uc46ZmwNG17n8NzvlXgdXcCk= + spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -10285,6 +11507,13 @@ split2@^2.0.0: dependencies: through2 "^2.0.2" +split2@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz#52e2e221d88c75f9a73f90556e263ff96772b314" + integrity sha1-UuLiIdiMdfmnP5BVbiY/+WdysxQ= + dependencies: + through2 "~2.0.0" + split@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -10312,6 +11541,13 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" +ssri@^5.2.4: + version "5.3.0" + resolved "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz#ba3872c9c6d33a0704a7d71ff045e5ec48999d06" + integrity sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ== + dependencies: + safe-buffer "^5.1.1" + ssri@^6.0.0, ssri@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" @@ -10382,6 +11618,14 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" +stream-combiner2@~1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz#fb4d8a1420ea362764e21ad4780397bebcb41cbe" + integrity sha1-+02KFCDqNidk4hrUeAOXvry0HL4= + dependencies: + duplexer2 "~0.1.0" + readable-stream "^2.0.2" + stream-each@^1.1.0: version "1.2.3" resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -10401,11 +11645,24 @@ stream-http@^2.7.2: to-arraybuffer "^1.0.0" xtend "^4.0.0" +stream-iterate@^1.1.0: + version "1.2.0" + resolved "https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.2.0.tgz#2bd7c77296c1702a46488b8ad41f79865eecd4e1" + integrity sha1-K9fHcpbBcCpGSIuK1B95hl7s1OE= + dependencies: + readable-stream "^2.1.5" + stream-shift "^1.0.0" + stream-shift@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY= + string-length@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" @@ -10560,7 +11817,7 @@ supports-color@^3.1.2: dependencies: has-flag "^1.0.0" -supports-color@^5.3.0: +supports-color@^5.0.0, supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== @@ -10574,6 +11831,14 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" +supports-hyperlinks@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz#71daedf36cc1060ac5100c351bb3da48c29c0ef7" + integrity sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw== + dependencies: + has-flag "^2.0.0" + supports-color "^5.0.0" + svg-tags@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" @@ -10633,7 +11898,7 @@ tar@^2.0.0: fstream "^1.0.2" inherits "2" -tar@^4, tar@^4.4.8: +tar@^4, tar@^4.4.3, tar@^4.4.8: version "4.4.8" resolved "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" integrity sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ== @@ -10709,7 +11974,7 @@ text-extensions@^1.0.0: resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== -text-table@^0.2.0: +text-table@^0.2.0, text-table@~0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= @@ -10728,7 +11993,7 @@ throat@^4.0.0: resolved "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo= -through2@^2.0.0, through2@^2.0.2: +through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: version "2.0.5" resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -10746,6 +12011,11 @@ time-fix-plugin@^2.0.5: resolved "https://registry.npmjs.org/time-fix-plugin/-/time-fix-plugin-2.0.5.tgz#41c76e734217cc91a08ea525fdde56de119fb683" integrity sha512-veHRiEsQ50KSrfdhkZiFvZIjRoyfyfxpgskD+P7uVQAcNe6rIMLZ8vhjFRE2XrPqQdy+4CF+jXsWAlgVy9Bfcg== +timed-out@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" + integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= + timers-browserify@^2.0.4: version "2.0.10" resolved "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz#1d28e3d2aadf1d5a5996c4e9f95601cd053480ae" @@ -10758,6 +12028,11 @@ timsort@^0.3.0: resolved "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= +tiny-relative-date@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz#fa08aad501ed730f31cc043181d995c39a935e07" + integrity sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A== + tmp@^0.0.33: version "0.0.33" resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -10852,6 +12127,11 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" +traverse@~0.6.6: + version "0.6.6" + resolved "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" + integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= + trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" @@ -11029,7 +12309,7 @@ uid-number@0.0.6: resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= -umask@^1.1.0: +umask@^1.1.0, umask@~1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= @@ -11077,7 +12357,7 @@ uniqs@^2.0.0: resolved "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" integrity sha1-/+3ks2slKQaW5uFl1KWe25mOawI= -unique-filename@^1.1.1: +unique-filename@^1.1.0, unique-filename@^1.1.1, unique-filename@~1.1.0: version "1.1.1" resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== @@ -11091,6 +12371,20 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" +unique-string@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" + integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo= + dependencies: + crypto-random-string "^1.0.0" + +universal-user-agent@^2.0.0, universal-user-agent@^2.0.1: + version "2.0.3" + resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.0.3.tgz#9f6f09f9cc33de867bb720d84c08069b14937c6c" + integrity sha512-eRHEHhChCBHrZsA4WEhdgiOKgdvgrMIHwnwnqD0r5C6AO8kwKcG7qSku3iXdhvHL3YvsS9ZkSGN8h/hIpoFC8g== + dependencies: + os-name "^3.0.0" + universalify@^0.1.0: version "0.1.2" resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -11114,11 +12408,32 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" +unzip-response@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" + integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= + upath@^1.0.5, upath@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" integrity sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw== +update-notifier@^2.3.0, update-notifier@^2.5.0: + version "2.5.0" + resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" + integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== + dependencies: + boxen "^1.2.1" + chalk "^2.0.1" + configstore "^3.0.0" + import-lazy "^2.1.0" + is-ci "^1.0.10" + is-installed-globally "^0.1.0" + is-npm "^1.0.0" + latest-version "^3.0.0" + semver-diff "^2.0.0" + xdg-basedir "^3.0.0" + upper-case@^1.1.1: version "1.1.3" resolved "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" @@ -11136,6 +12451,11 @@ urix@^0.1.0: resolved "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= +url-join@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/url-join/-/url-join-4.0.0.tgz#4d3340e807d3773bda9991f8305acdcc2a665d2a" + integrity sha1-TTNA6AfTdzvamZH4MFrNzCpmXSo= + url-loader@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz#b971d191b83af693c5e3fea4064be9e1f2d7f8d8" @@ -11145,6 +12465,18 @@ url-loader@^1.1.2: mime "^2.0.3" schema-utils "^1.0.0" +url-parse-lax@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" + integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= + dependencies: + prepend-http "^1.0.1" + +url-template@^2.0.8: + version "2.0.8" + resolved "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" + integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= + url@^0.11.0: version "0.11.0" resolved "https://registry.npmjs.org/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -11168,6 +12500,11 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1: resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= +util-extend@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz#a7c216d267545169637b3b6edc6ca9119e2ff93f" + integrity sha1-p8IW0mdUUWljeztu3GypEZ4v+T8= + util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" @@ -11205,7 +12542,7 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: +validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3, validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -11213,7 +12550,7 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -validate-npm-package-name@^3.0.0: +validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= @@ -11588,6 +12925,13 @@ window-size@0.1.0: resolved "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" integrity sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0= +windows-release@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/windows-release/-/windows-release-3.1.0.tgz#8d4a7e266cbf5a233f6c717dac19ce00af36e12e" + integrity sha512-hBb7m7acFgQPQc222uEQTmdcGLeBmQLNLFIh0rDk3CwFOBrfjefLzEfEfmpMq8Af/n/GnFf3eYf203FY1PmudA== + dependencies: + execa "^0.10.0" + with@^5.0.0: version "5.1.1" resolved "https://registry.npmjs.org/with/-/with-5.1.1.tgz#fa4daa92daf32c4ea94ed453c81f04686b575dfe" @@ -11611,7 +12955,7 @@ wordwrap@~1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= -worker-farm@^1.5.2: +worker-farm@^1.5.2, worker-farm@^1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz#aecc405976fab5a95526180846f0dba288f3a4a0" integrity sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ== @@ -11690,6 +13034,11 @@ ws@^6.0.0, ws@^6.1.0, ws@^6.1.2: dependencies: async-limiter "~1.0.0" +xdg-basedir@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" + integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= + xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -11802,7 +13151,7 @@ yargs@^11.0.0: y18n "^3.2.1" yargs-parser "^9.0.2" -yargs@^12.0.1: +yargs@^12.0.0, yargs@^12.0.1: version "12.0.5" resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== From 774823ba4174aae5b16dda1fd7f2ff02210c6aab Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Tue, 29 Jan 2019 20:19:21 +0100 Subject: [PATCH 006/221] fix tsconfig + remove forgotten duplicated test (#4886) --- packages/typescript/src/index.js | 5 ++- packages/typescript/test/setup.test.js | 5 ++- packages/typescript/tsconfig.json | 1 + test/unit/typescript.setup.test.js | 46 -------------------------- 4 files changed, 9 insertions(+), 48 deletions(-) delete mode 100644 test/unit/typescript.setup.test.js diff --git a/packages/typescript/src/index.js b/packages/typescript/src/index.js index c6ec5f4a5c..4631bdedd5 100644 --- a/packages/typescript/src/index.js +++ b/packages/typescript/src/index.js @@ -44,6 +44,9 @@ export async function setup(tsConfigPath) { } // https://github.com/TypeStrong/ts-node register({ - project: tsConfigPath + project: tsConfigPath, + compilerOptions: { + module: 'commonjs' + } }) } diff --git a/packages/typescript/test/setup.test.js b/packages/typescript/test/setup.test.js index f111a33fd8..2f50ed5829 100644 --- a/packages/typescript/test/setup.test.js +++ b/packages/typescript/test/setup.test.js @@ -35,7 +35,10 @@ describe('typescript setup', () => { expect(register).toHaveBeenCalledTimes(1) expect(register).toHaveBeenCalledWith({ - project: tsConfigPath + project: tsConfigPath, + compilerOptions: { + module: 'commonjs' + } }) }) diff --git a/packages/typescript/tsconfig.json b/packages/typescript/tsconfig.json index bd217e8b00..d4a6699b61 100644 --- a/packages/typescript/tsconfig.json +++ b/packages/typescript/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "target": "esnext", + "module": "esnext", "moduleResolution": "node", "lib": [ "esnext", diff --git a/test/unit/typescript.setup.test.js b/test/unit/typescript.setup.test.js deleted file mode 100644 index f111a33fd8..0000000000 --- a/test/unit/typescript.setup.test.js +++ /dev/null @@ -1,46 +0,0 @@ -import { resolve } from 'path' -import { exists, mkdirp, readJSON, remove } from 'fs-extra' -import { register } from 'ts-node' -import { setup as setupTypeScript } from '@nuxt/typescript' - -jest.mock('ts-node') - -describe('typescript setup', () => { - const rootDir = 'tmp' - const tsConfigPath = resolve(rootDir, 'tsconfig.json') - - beforeAll(async () => { - // We're assuming that rootDir provided to setupTypeScript is existing so we create the tested one - await mkdirp(rootDir) - await setupTypeScript(tsConfigPath) - }) - - test('tsconfig.json has been generated if missing', async () => { - expect(await exists(tsConfigPath)).toBe(true) - expect(await readJSON(tsConfigPath)).toEqual({ - extends: '@nuxt/typescript', - compilerOptions: { - baseUrl: '.', - types: [ - '@types/node', - '@nuxt/vue-app' - ] - } - }) - }) - - test('ts-node has been registered once', async () => { - // Call setupTypeScript a second time to test guard - await setupTypeScript(tsConfigPath) - - expect(register).toHaveBeenCalledTimes(1) - expect(register).toHaveBeenCalledWith({ - project: tsConfigPath - }) - }) - - afterAll(async () => { - // Clean workspace by removing the temporary folder (and the generated tsconfig.json at the same time) - await remove(tsConfigPath) - }) -}) From 5101dc6aae45c5e78179cffedbaa6cadaf596cf1 Mon Sep 17 00:00:00 2001 From: andoshin11 Date: Wed, 30 Jan 2019 04:21:49 +0900 Subject: [PATCH 007/221] chore(examples): add tsx example (#4855) --- examples/typescript-tsx/README.md | 1 + .../components/HelloWorld/HelloWorld.tsx | 14 ++++++++++++ .../components/HelloWorld/index.ts | 3 +++ .../components/HelloWorld/styles.css | 4 ++++ .../components/HelloWorld/styles.css.d.ts | 1 + examples/typescript-tsx/nuxt.config.ts | 14 ++++++++++++ examples/typescript-tsx/package.json | 22 +++++++++++++++++++ examples/typescript-tsx/pages/index.tsx | 13 +++++++++++ examples/typescript-tsx/shims-tsx.d.ts | 11 ++++++++++ examples/typescript-tsx/tsconfig.json | 8 +++++++ examples/typescript-tsx/tslint.json | 7 ++++++ 11 files changed, 98 insertions(+) create mode 100644 examples/typescript-tsx/README.md create mode 100644 examples/typescript-tsx/components/HelloWorld/HelloWorld.tsx create mode 100644 examples/typescript-tsx/components/HelloWorld/index.ts create mode 100644 examples/typescript-tsx/components/HelloWorld/styles.css create mode 100644 examples/typescript-tsx/components/HelloWorld/styles.css.d.ts create mode 100644 examples/typescript-tsx/nuxt.config.ts create mode 100644 examples/typescript-tsx/package.json create mode 100644 examples/typescript-tsx/pages/index.tsx create mode 100644 examples/typescript-tsx/shims-tsx.d.ts create mode 100644 examples/typescript-tsx/tsconfig.json create mode 100644 examples/typescript-tsx/tslint.json diff --git a/examples/typescript-tsx/README.md b/examples/typescript-tsx/README.md new file mode 100644 index 0000000000..38953c9511 --- /dev/null +++ b/examples/typescript-tsx/README.md @@ -0,0 +1 @@ +# TSX example diff --git a/examples/typescript-tsx/components/HelloWorld/HelloWorld.tsx b/examples/typescript-tsx/components/HelloWorld/HelloWorld.tsx new file mode 100644 index 0000000000..ae3dc5c485 --- /dev/null +++ b/examples/typescript-tsx/components/HelloWorld/HelloWorld.tsx @@ -0,0 +1,14 @@ +import Vue from 'vue' +import styles from './styles.css' + +export default Vue.extend({ + beforeCreate () { + // Render Inline CSS on SSR + if ((styles as any).__inject__) { + (styles as any).__inject__(this.$ssrContext) + } + }, + render () { + return

Hello world!

+ } +}) diff --git a/examples/typescript-tsx/components/HelloWorld/index.ts b/examples/typescript-tsx/components/HelloWorld/index.ts new file mode 100644 index 0000000000..15483d21b0 --- /dev/null +++ b/examples/typescript-tsx/components/HelloWorld/index.ts @@ -0,0 +1,3 @@ +import HelloWorld from './HelloWorld' + +export default HelloWorld diff --git a/examples/typescript-tsx/components/HelloWorld/styles.css b/examples/typescript-tsx/components/HelloWorld/styles.css new file mode 100644 index 0000000000..18820dbb8d --- /dev/null +++ b/examples/typescript-tsx/components/HelloWorld/styles.css @@ -0,0 +1,4 @@ +.title { + font-style: italic; + color: green; +} diff --git a/examples/typescript-tsx/components/HelloWorld/styles.css.d.ts b/examples/typescript-tsx/components/HelloWorld/styles.css.d.ts new file mode 100644 index 0000000000..59532069e2 --- /dev/null +++ b/examples/typescript-tsx/components/HelloWorld/styles.css.d.ts @@ -0,0 +1 @@ +export const title: string; diff --git a/examples/typescript-tsx/nuxt.config.ts b/examples/typescript-tsx/nuxt.config.ts new file mode 100644 index 0000000000..ab83d37160 --- /dev/null +++ b/examples/typescript-tsx/nuxt.config.ts @@ -0,0 +1,14 @@ +export default { + build: { + loaders: { + vueStyle: { + manualInject: true + }, + css: { + modules: true, + importLoaders: 1, + localIdentName: '[local]_[hash:base64:5]' + } + } + } +} diff --git a/examples/typescript-tsx/package.json b/examples/typescript-tsx/package.json new file mode 100644 index 0000000000..80507973ca --- /dev/null +++ b/examples/typescript-tsx/package.json @@ -0,0 +1,22 @@ +{ + "name": "typescript-tsx", + "private": true, + "version": "1.0.0", + "scripts": { + "dev": "nuxt-ts", + "build": "nuxt-ts build", + "start": "nuxt-ts start", + "generate": "nuxt-ts generate", + "lint": "tslint --project .", + "lint:fix": "tslint --project . --fix", + "post-update": "yarn upgrade --latest", + "watch:css": "tcm components -w" + }, + "dependencies": { + "nuxt-ts": "latest" + }, + "devDependencies": { + "tslint-config-standard": "^8.0.1", + "typed-css-modules": "^0.3.7" + } +} diff --git a/examples/typescript-tsx/pages/index.tsx b/examples/typescript-tsx/pages/index.tsx new file mode 100644 index 0000000000..aa5ea4f55d --- /dev/null +++ b/examples/typescript-tsx/pages/index.tsx @@ -0,0 +1,13 @@ +import Vue from 'vue' +import HelloWorld from '../components/HelloWorld' + +export default Vue.extend({ + name: 'Home', + render () { + return ( +
+ +
+ ) + } +}) diff --git a/examples/typescript-tsx/shims-tsx.d.ts b/examples/typescript-tsx/shims-tsx.d.ts new file mode 100644 index 0000000000..64fc0a8a6d --- /dev/null +++ b/examples/typescript-tsx/shims-tsx.d.ts @@ -0,0 +1,11 @@ +import Vue, { VNode } from 'vue' + +declare global { + namespace JSX { + interface Element extends VNode {} + interface ElementClass extends Vue {} + interface IntrinsicElements { + [elem: string]: any + } + } +} diff --git a/examples/typescript-tsx/tsconfig.json b/examples/typescript-tsx/tsconfig.json new file mode 100644 index 0000000000..fe19900507 --- /dev/null +++ b/examples/typescript-tsx/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "@nuxt/typescript", + "compilerOptions": { + "baseUrl": ".", + "noImplicitThis": true, + "types": ["@types/node", "@nuxt/vue-app"] + } +} diff --git a/examples/typescript-tsx/tslint.json b/examples/typescript-tsx/tslint.json new file mode 100644 index 0000000000..0c17b301f4 --- /dev/null +++ b/examples/typescript-tsx/tslint.json @@ -0,0 +1,7 @@ +{ + "defaultSeverity": "error", + "extends": ["tslint-config-standard"], + "rules": { + "prefer-const": true + } +} From 96bab9f09c5440d3a6928f8728ae4d756b01564d Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 29 Jan 2019 19:23:42 +0000 Subject: [PATCH 008/221] test: unit tests for @nuxt/util (#4880) --- packages/utils/src/lang.js | 2 +- packages/utils/src/resolve.js | 4 +- packages/utils/src/route.js | 1 - packages/utils/src/serialize.js | 1 - packages/utils/src/task.js | 1 - .../test/__snapshots__/route.test.js.snap | 121 +++++++ packages/utils/test/context.test.js | 24 ++ packages/utils/test/index.test.js | 22 ++ packages/utils/test/lang.test.js | 55 +++ packages/utils/test/resolve.posix.test.js | 85 +++++ packages/utils/test/resolve.win.test.js | 90 +++++ packages/utils/test/route.test.js | 198 +++++++++++ packages/utils/test/serialize.test.js | 61 ++++ packages/utils/test/task.test.js | 106 ++++++ packages/utils/test/timer.test.js | 165 +++++++++ test/unit/utils.test.js | 324 ------------------ 16 files changed, 929 insertions(+), 331 deletions(-) create mode 100644 packages/utils/test/__snapshots__/route.test.js.snap create mode 100644 packages/utils/test/context.test.js create mode 100644 packages/utils/test/index.test.js create mode 100644 packages/utils/test/lang.test.js create mode 100644 packages/utils/test/resolve.posix.test.js create mode 100644 packages/utils/test/resolve.win.test.js create mode 100644 packages/utils/test/route.test.js create mode 100644 packages/utils/test/serialize.test.js create mode 100644 packages/utils/test/task.test.js create mode 100644 packages/utils/test/timer.test.js diff --git a/packages/utils/src/lang.js b/packages/utils/src/lang.js index 4a3c68ca81..a98f294ea3 100644 --- a/packages/utils/src/lang.js +++ b/packages/utils/src/lang.js @@ -4,7 +4,7 @@ export const encodeHtml = function encodeHtml(str) { export const isString = obj => typeof obj === 'string' || obj instanceof String -export const isNonEmptyString = obj => obj && isString(obj) +export const isNonEmptyString = obj => Boolean(obj && isString(obj)) export const isPureObject = function isPureObject(o) { return !Array.isArray(o) && typeof o === 'object' diff --git a/packages/utils/src/resolve.js b/packages/utils/src/resolve.js index 1d63c5a880..65e0da8bad 100644 --- a/packages/utils/src/resolve.js +++ b/packages/utils/src/resolve.js @@ -11,7 +11,6 @@ export const startsWithRootAlias = startsWithAlias(['@@', '~~']) export const isWindows = /^win/.test(process.platform) export const wp = function wp(p = '') { - /* istanbul ignore if */ if (isWindows) { return p.replace(/\\/g, '\\\\') } @@ -19,7 +18,6 @@ export const wp = function wp(p = '') { } export const wChunk = function wChunk(p = '') { - /* istanbul ignore if */ if (isWindows) { return p.replace(/\//g, '_') } @@ -62,7 +60,7 @@ export const relativeTo = function relativeTo() { // Make correct relative path let rp = path.relative(dir, _path) if (rp[0] !== '.') { - rp = './' + rp + rp = '.' + path.sep + rp } return wp(rp) diff --git a/packages/utils/src/route.js b/packages/utils/src/route.js index e75bbaf09c..5bda20e779 100644 --- a/packages/utils/src/route.js +++ b/packages/utils/src/route.js @@ -9,7 +9,6 @@ export const flatRoutes = function flatRoutes(router, _path = '', routes = []) { if ([':', '*'].some(c => r.path.includes(c))) { return } - /* istanbul ignore if */ if (r.children) { if (_path === '' && r.path === '/') { routes.push('/') diff --git a/packages/utils/src/serialize.js b/packages/utils/src/serialize.js index d04bd31194..7428fb6a81 100644 --- a/packages/utils/src/serialize.js +++ b/packages/utils/src/serialize.js @@ -1,4 +1,3 @@ - import serialize from 'serialize-javascript' export function serializeFunction(func) { diff --git a/packages/utils/src/task.js b/packages/utils/src/task.js index 412096d119..b3186d135a 100644 --- a/packages/utils/src/task.js +++ b/packages/utils/src/task.js @@ -10,7 +10,6 @@ export const parallel = function parallel(tasks, fn) { } export const chainFn = function chainFn(base, fn) { - /* istanbul ignore if */ if (typeof fn !== 'function') { return base } diff --git a/packages/utils/test/__snapshots__/route.test.js.snap b/packages/utils/test/__snapshots__/route.test.js.snap new file mode 100644 index 0000000000..7ac1ccbc04 --- /dev/null +++ b/packages/utils/test/__snapshots__/route.test.js.snap @@ -0,0 +1,121 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`util: route util: route create createRoutes should allow snake case routes in posix system 1`] = ` +Array [ + Object { + "chunkName": "pages/parent/index", + "component": "/some/nuxt/app/pages/parent/index.vue", + "name": "parent", + "path": "/parent", + }, + Object { + "chunkName": "pages/snake_case_route", + "component": "/some/nuxt/app/pages/snake_case_route.vue", + "name": "snake_case_route", + "path": "/snake_case_route", + }, + Object { + "chunkName": "pages/parent/child/index", + "component": "/some/nuxt/app/pages/parent/child/index.vue", + "name": "parent-child", + "path": "/parent/child", + }, + Object { + "chunkName": "pages/parent/child/test", + "component": "/some/nuxt/app/pages/parent/child/test.vue", + "name": "parent-child-test", + "path": "/parent/child/test", + }, + Object { + "children": Array [ + Object { + "chunkName": "pages/another_route/_id", + "component": "/some/nuxt/app/pages/another_route/_id.vue", + "name": "another_route-id", + "path": "", + }, + ], + "chunkName": "pages/another_route/_id", + "component": "/some/nuxt/app/pages/another_route/_id.vue", + "path": "/another_route/:id?", + }, + Object { + "chunkName": "pages/subpage/_param", + "component": "/some/nuxt/app/pages/subpage/_param.vue", + "name": "subpage-param", + "path": "/subpage/:param?", + }, + Object { + "chunkName": "pages/index", + "component": "/some/nuxt/app/pages/index.vue", + "name": "index", + "path": "/", + }, + Object { + "chunkName": "pages/_param", + "component": "/some/nuxt/app/pages/_param.vue", + "name": "param", + "path": "/:param", + }, +] +`; + +exports[`util: route util: route create createRoutes should allow snake case routes in windows system 1`] = ` +Array [ + Object { + "chunkName": "pages/parent/index", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\index.vue", + "name": "parent", + "path": "/parent", + }, + Object { + "chunkName": "pages/snake_case_route", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\snake_case_route.vue", + "name": "snake_case_route", + "path": "/snake_case_route", + }, + Object { + "chunkName": "pages/parent/child/index", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\child\\\\\\\\index.vue", + "name": "parent-child", + "path": "/parent/child", + }, + Object { + "chunkName": "pages/parent/child/test", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\child\\\\\\\\test.vue", + "name": "parent-child-test", + "path": "/parent/child/test", + }, + Object { + "children": Array [ + Object { + "chunkName": "pages/another_route/_id", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\another_route\\\\\\\\_id.vue", + "name": "another_route-id", + "path": "", + }, + ], + "chunkName": "pages/another_route/_id", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\another_route\\\\\\\\_id.vue", + "path": "/another_route/:id?", + }, + Object { + "chunkName": "pages/subpage/_param", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\subpage\\\\\\\\_param.vue", + "name": "subpage-param", + "path": "/subpage/:param?", + }, + Object { + "chunkName": "pages/index", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\index.vue", + "name": "index", + "path": "/", + }, + Object { + "chunkName": "pages/_param", + "component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\_param.vue", + "name": "param", + "path": "/:param", + }, +] +`; diff --git a/packages/utils/test/context.test.js b/packages/utils/test/context.test.js new file mode 100644 index 0000000000..bc2aa7effd --- /dev/null +++ b/packages/utils/test/context.test.js @@ -0,0 +1,24 @@ +import { getContext, determineGlobals } from '../src/context' + +describe('util: context', () => { + test('should get context with req and res', () => { + const ctx = getContext({ a: 1 }, { b: 2 }) + + expect(getContext.length).toBe(2) + expect(typeof ctx.req).toBe('object') + expect(typeof ctx.res).toBe('object') + expect(ctx.req.a).toBe(1) + expect(ctx.res.b).toBe(2) + }) + + test('should get correct globals', () => { + const globals = { + foo: name => `${name}: foo`, + bar: name => `${name}: bar`, + baz: 'baz' + } + const result = determineGlobals('global', globals) + + expect(result).toEqual({ bar: 'global: bar', foo: 'global: foo', baz: 'baz' }) + }) +}) diff --git a/packages/utils/test/index.test.js b/packages/utils/test/index.test.js new file mode 100644 index 0000000000..0ad3710d59 --- /dev/null +++ b/packages/utils/test/index.test.js @@ -0,0 +1,22 @@ +import * as Util from '../src' +import * as context from '../src/context' +import * as lang from '../src/lang' +import * as resolve from '../src/resolve' +import * as route from '../src/route' +import * as serialize from '../src/serialize' +import * as task from '../src/task' +import * as timer from '../src/timer' + +describe('util: entry', () => { + test('should export all methods from utils folder', () => { + expect(Util).toEqual({ + ...context, + ...lang, + ...resolve, + ...route, + ...serialize, + ...task, + ...timer + }) + }) +}) diff --git a/packages/utils/test/lang.test.js b/packages/utils/test/lang.test.js new file mode 100644 index 0000000000..f3132a877c --- /dev/null +++ b/packages/utils/test/lang.test.js @@ -0,0 +1,55 @@ +import { + encodeHtml, isString, isNonEmptyString, + isPureObject, isUrl, urlJoin, wrapArray, stripWhitespace +} from '../src/lang' + +describe('util: lang', () => { + test('should check if given argument is string', () => { + expect(isString('str')).toEqual(true) + expect(isString(String(100))).toEqual(true) + expect(isString(100)).toEqual(false) + expect(isString([])).toEqual(false) + }) + + test('should check if given argument is empty string', () => { + expect(isNonEmptyString('str')).toEqual(true) + expect(isNonEmptyString([])).toEqual(false) + expect(isNonEmptyString('')).toEqual(false) + }) + + test('should check if given argument is pure object', () => { + expect(isPureObject({})).toEqual(true) + expect(isPureObject([])).toEqual(false) + expect(isPureObject(Number('1'))).toEqual(false) + }) + + test('should check if given argument is url', () => { + expect(isUrl('http://localhost')).toEqual(true) + expect(isUrl('https://localhost')).toEqual(true) + expect(isUrl('//localhost')).toEqual(true) + expect(isUrl('localhost')).toEqual(false) + }) + + test('should wrap given argument with array', () => { + expect(wrapArray([ 'array' ])).toEqual([ 'array' ]) + expect(wrapArray('str')).toEqual([ 'str' ]) + }) + + test('should strip white spaces in given argument', () => { + expect(stripWhitespace('foo')).toEqual('foo') + expect(stripWhitespace('foo\t\r\f\n')).toEqual('foo\n') + expect(stripWhitespace('foo{\n\n\n')).toEqual('foo{\n') + expect(stripWhitespace('\n\n\n\f\r\f}')).toEqual('\n\f\r\f}') + expect(stripWhitespace('foo\n\n\nbar')).toEqual('foo\n\nbar') + expect(stripWhitespace('foo\n\n\n')).toEqual('foo\n') + }) + + test('should encode html', () => { + const html = '

Hello

' + expect(encodeHtml(html)).toEqual('<h1>Hello</h1>') + }) + + test('should join url', () => { + expect(urlJoin('test', '/about')).toEqual('test/about') + }) +}) diff --git a/packages/utils/test/resolve.posix.test.js b/packages/utils/test/resolve.posix.test.js new file mode 100644 index 0000000000..650ccd3402 --- /dev/null +++ b/packages/utils/test/resolve.posix.test.js @@ -0,0 +1,85 @@ +import consola from 'consola' + +import { + startsWithAlias, startsWithSrcAlias, wp, wChunk, + relativeTo, defineAlias, isIndexFileAndFolder, getMainModule +} from '../src/resolve' + +describe.posix('util: resolve', () => { + test('should check if path starts with alias', () => { + expect(startsWithAlias(['/var'])('/var/nuxt/src')).toEqual(true) + }) + + test('should check if path starts with root alias', () => { + expect(startsWithSrcAlias('@/assets')).toEqual(true) + expect(startsWithSrcAlias('~/pages')).toEqual(true) + }) + + test('should check if path starts with src alias', () => { + expect(startsWithSrcAlias('@@/src/assets')).toEqual(true) + expect(startsWithSrcAlias('~~/src/pages')).toEqual(true) + }) + + test('should return same path in linux', () => { + expect(wp('/var/nuxt\\ src/')).toEqual('/var/nuxt\\ src/') + }) + + test('should return same path in linux', () => { + expect(wChunk('nuxt/layout/test')).toEqual('nuxt/layout/test') + }) + + test('should define alias', () => { + const nuxt = {} + const server = { + name: 'nuxt', + bound: () => 'bound fn', + test: () => 'test defineAlias' + } + + defineAlias(nuxt, server, ['name', 'bound']) + defineAlias(nuxt, server, ['test'], { bind: false, warn: true }) + + expect(nuxt.name).toEqual(server.name) + expect(nuxt.bound).not.toBe(server.bound) + expect(nuxt.bound()).toEqual('bound fn') + expect(nuxt.test).toBe(server.test) + expect(nuxt.test()).toEqual('test defineAlias') + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith({ + message: `'test' is deprecated'`, + additional: expect.any(String) + }) + }) + + test('should check if given argument is index file or folder', () => { + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test'])).toEqual(false) + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test/index.js'])).toEqual(false) + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test', '/var/nuxt/plugins/test/index.js'])).toEqual(true) + }) + + test('should return main module', () => { + expect(getMainModule()).toHaveProperty('children', 'exports', 'filename', 'path') + }) + + describe('relativeTo', () => { + const path1 = '@/foo' + const path2 = '@/bar' + + test('should resolve alias path', () => { + expect(relativeTo(path1, path2)).toBe('@/bar') + }) + + test('should keep webpack inline loaders prepended', () => { + expect(relativeTo(path1, `loader1!loader2!${path2}`)) + .toEqual('loader1!loader2!@/bar') + }) + + test('should check path which is not started with alias', () => { + expect(relativeTo('/var/nuxt/foo/bar', '/var/nuxt/foo/baz')).toBe('../baz') + }) + + test('should check path which is not started with alias ', () => { + expect(relativeTo('/var/nuxt/foo', '/var/nuxt/foo/bar')).toBe('./bar') + }) + }) +}) diff --git a/packages/utils/test/resolve.win.test.js b/packages/utils/test/resolve.win.test.js new file mode 100644 index 0000000000..80ca1ea474 --- /dev/null +++ b/packages/utils/test/resolve.win.test.js @@ -0,0 +1,90 @@ +import consola from 'consola' + +import { + wp, wChunk, r, relativeTo, + startsWithAlias, startsWithSrcAlias, + defineAlias, isIndexFileAndFolder, getMainModule +} from '../src/resolve' + +describe.win('util: resolve windows', () => { + test('should format windows separator', () => { + expect(wp('c:\\nuxt\\src')).toEqual('c:\\\\nuxt\\\\src') + }) + + test('should format windows path', () => { + expect(wChunk('nuxt/layout/test')).toEqual('nuxt_layout_test') + }) + + test('should resolve alias path', () => { + expect(r('@\\layout\\test')).toEqual('@\\\\layout\\\\test') + }) + + test('should check if path starts with alias', () => { + expect(startsWithAlias(['#'])('#layout/test')).toEqual(true) + }) + + test('should check if path starts with root alias', () => { + expect(startsWithSrcAlias('@/assets')).toEqual(true) + expect(startsWithSrcAlias('~/pages')).toEqual(true) + }) + + test('should check if path starts with src alias', () => { + expect(startsWithSrcAlias('@@/src/assets')).toEqual(true) + expect(startsWithSrcAlias('~~/src/pages')).toEqual(true) + }) + + test('should define alias', () => { + const nuxt = {} + const server = { + name: 'nuxt', + bound: () => 'bound fn', + test: () => 'test defineAlias' + } + + defineAlias(nuxt, server, ['name', 'bound']) + defineAlias(nuxt, server, ['test'], { bind: false, warn: true }) + + expect(nuxt.name).toEqual(server.name) + expect(nuxt.bound).not.toBe(server.bound) + expect(nuxt.bound()).toEqual('bound fn') + expect(nuxt.test).toBe(server.test) + expect(nuxt.test()).toEqual('test defineAlias') + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith({ + message: `'test' is deprecated'`, + additional: expect.any(String) + }) + }) + + test('should check if given argument is index file or folder', () => { + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test'])).toEqual(false) + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test/index.js'])).toEqual(false) + expect(isIndexFileAndFolder(['/var/nuxt/plugins/test', '/var/nuxt/plugins/test/index.js'])).toEqual(true) + }) + + test('should return main module', () => { + expect(getMainModule()).toHaveProperty('children', 'exports', 'filename', 'path') + }) + + describe('relativeTo', () => { + const path1 = '@\\foo' + const path2 = '@\\bar' + + test('should resolve alias path', () => { + expect(relativeTo(path1, path2)).toBe('@\\\\bar') + }) + + test('should keep webpack inline loaders prepended', () => { + expect(relativeTo(path1, `loader1!loader2!${path2}`)) + .toBe('loader1!loader2!@\\\\bar') + }) + + test('should check path which is not started with alias', () => { + expect(relativeTo('c:\\foo\\bar', 'c:\\foo\\baz')).toBe('..\\\\baz') + }) + + test('should check path which is not started with alias ', () => { + expect(relativeTo('c:\\foo', 'c:\\foo\\baz')).toBe('.\\\\baz') + }) + }) +}) diff --git a/packages/utils/test/route.test.js b/packages/utils/test/route.test.js new file mode 100644 index 0000000000..e61420d7d4 --- /dev/null +++ b/packages/utils/test/route.test.js @@ -0,0 +1,198 @@ +import { flatRoutes, createRoutes, guardDir, promisifyRoute } from '../src/route' + +describe('util: route', () => { + test('should flat route with path', () => { + const routes = flatRoutes([ + { name: 'login', path: '/login' }, + { name: 'about', path: '/about' }, + { name: 'posts', + path: '', + children: [ + { name: 'posts-list', path: '' }, + { name: 'posts-create', path: 'post' } + ] + } + ]) + expect(routes).toEqual([ '/login', '/about', '', '/post' ]) + }) + + test('should ignore route with * and :', () => { + const routes = flatRoutes([ + { name: 'login', path: '/login' }, + { name: 'foo', path: '/foo/:id' }, + { name: 'bar', path: '/bar/*' } + ]) + expect(routes).toEqual([ '/login' ]) + }) + + test('should resolve route with /', () => { + const routes = flatRoutes([ + { name: 'foo', + path: '/', + children: [ + { name: 'foo-bar', path: 'foo/bar' }, + { name: 'foo-baz', path: 'foo/baz' } + ] + } + ]) + expect(routes).toEqual([ '/', '/foo/bar', '/foo/baz' ]) + }) + + describe('util: route guard', () => { + test('should guard parent dir', () => { + expect(() => { + guardDir({ dir1: '/root/parent', dir2: '/root' }, 'dir1', 'dir2') + }).toThrow() + }) + + test('should guard same dir', () => { + expect(() => { + guardDir({ dir1: '/root/parent', dir2: '/root/parent' }, 'dir1', 'dir2') + }).toThrow() + }) + + test('should not guard same level dir', () => { + expect(() => { + guardDir({ dir1: '/root/parent-next', dir2: '/root/parent' }, 'dir1', 'dir2') + }).not.toThrow() + }) + + test('should not guard same level dir - 2', () => { + expect(() => { + guardDir({ dir1: '/root/parent', dir2: '/root/parent-next' }, 'dir1', 'dir2') + }).not.toThrow() + }) + + test('should not guard child dir', () => { + expect(() => { + guardDir({ dir1: '/root/parent', dir2: '/root/parent/child' }, 'dir1', 'dir2') + }).not.toThrow() + }) + }) + + describe('util: route promisifyRoute', () => { + test('should promisify array routes', () => { + const array = [1] + const promise = promisifyRoute(array) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res).toBe(array) + }) + }) + + test('should promisify functional routes', () => { + const array = [1, 2] + const fn = function () { + return array + } + const promise = promisifyRoute(fn) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res).toBe(array) + }) + }) + + test('should promisify promisable functional routes', () => { + const array = [1, 2, 3] + const fn = function () { + return new Promise((resolve) => { + resolve(array) + }) + } + const promise = promisifyRoute(fn) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res).toBe(array) + }) + }) + + test('should promisify promisable functional routes with arguments', () => { + const fn = function (array) { + return new Promise((resolve) => { + resolve(array) + }) + } + const array = [1, 2, 3] + const promise = promisifyRoute(fn, array) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res).toBe(array) + }) + }) + + test('should promisify functional routes with error', () => { + const fn = function (cb) { + cb(new Error('Error here')) + } + const promise = promisifyRoute(fn) + expect(typeof promise).toBe('object') + return promise.catch((e) => { + expect(e.message).toBe('Error here') + }) + }) + + test('should promisify functional routes with arguments and error', () => { + const fn = function (cb, array) { + cb(new Error('Error here: ' + array.join())) + } + const array = [1, 2, 3, 4] + const promise = promisifyRoute(fn, array) + expect(typeof promise).toBe('object') + return promise.catch((e) => { + expect(e.message).toBe('Error here: ' + array.join()) + }) + }) + + test('should promisify functional routes with result', () => { + const array = [1, 2, 3, 4] + const fn = function (cb) { + cb(null, array) + } + const promise = promisifyRoute(fn) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res).toBe(array) + }) + }) + + test('should promisify functional routes with arguments and result', () => { + const fn = function (cb, array, object) { + cb(null, { array, object }) + } + const array = [1, 2, 3, 4] + const object = { a: 1 } + const promise = promisifyRoute(fn, array, object) + expect(typeof promise).toBe('object') + return promise.then((res) => { + expect(res.array).toBe(array) + expect(res.object).toBe(object) + }) + }) + }) + + describe('util: route create', () => { + const files = [ + 'pages/index.vue', + 'pages/_param.vue', + 'pages/subpage/_param.vue', + 'pages/snake_case_route.vue', + 'pages/another_route/_id.vue', + 'pages/another_route/_id.vue', + 'pages/parent/index.vue', + 'pages/parent/child/index.vue', + 'pages/parent/child/test.vue' + ] + const srcDir = '/some/nuxt/app' + const pagesDir = 'pages' + + test.posix('createRoutes should allow snake case routes in posix system', () => { + const routesResult = createRoutes(files, srcDir, pagesDir) + expect(routesResult).toMatchSnapshot() + }) + + test.win('createRoutes should allow snake case routes in windows system', () => { + const routesResult = createRoutes(files, srcDir, pagesDir) + expect(routesResult).toMatchSnapshot() + }) + }) +}) diff --git a/packages/utils/test/serialize.test.js b/packages/utils/test/serialize.test.js new file mode 100644 index 0000000000..bb9c0df6c4 --- /dev/null +++ b/packages/utils/test/serialize.test.js @@ -0,0 +1,61 @@ +import { serializeFunction } from '../src/serialize' + +describe('util: serialize', () => { + test('should serialize normal function', () => { + const obj = { + fn: function () {} + } + expect(serializeFunction(obj.fn)).toEqual('function () {}') + }) + + test('should serialize shorthand function', () => { + const obj = { + fn() {} + } + expect(serializeFunction(obj.fn)).toEqual('function() {}') + }) + + test('should serialize arrow function', () => { + const obj = { + fn: () => {} + } + expect(serializeFunction(obj.fn)).toEqual('() => {}') + }) + + test('should not replace custom scripts', () => { + const obj = { + fn() { + return 'function xyz(){};a=false?true:xyz();' + } + } + + expect(serializeFunction(obj.fn)).toEqual(`function () { + return 'function xyz(){};a=false?true:xyz();'; + }`) + }) + + test('should serialize internal function', () => { + const obj = { + fn(arg) { + if (arg) { + return { + title() { + return 'test' + } + } + } + } + } + + expect(serializeFunction(obj.fn)).toEqual(`function(arg) { + if (arg) { + return { + title: function () { + return 'test'; + } + + }; + } + }`) + }) +}) diff --git a/packages/utils/test/task.test.js b/packages/utils/test/task.test.js new file mode 100644 index 0000000000..69cbbcdecc --- /dev/null +++ b/packages/utils/test/task.test.js @@ -0,0 +1,106 @@ +import consola from 'consola' +import { sequence, parallel, chainFn } from '../src/task' + +describe('util: task', () => { + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should call fn in sequence', async () => { + const fn = jest.fn(consola.log) + await sequence([1, 2, 3, 4], fn) + + expect(fn).toBeCalledTimes(4) + expect(consola.log).toBeCalledTimes(4) + expect(consola.log).nthCalledWith(1, 1) + expect(consola.log).nthCalledWith(2, 2) + expect(consola.log).nthCalledWith(3, 3) + expect(consola.log).nthCalledWith(4, 4) + }) + + test('should call fn in parallel', async () => { + jest.spyOn(Promise, 'all') + jest.spyOn(Promise, 'resolve') + + await parallel([1, 2, 3, 4], (num, index) => [num, index]) + + expect(Promise.all).toBeCalledTimes(1) + expect(Promise.resolve).toBeCalledTimes(4) + expect(Promise.resolve).nthCalledWith(1, [1, 0]) + expect(Promise.resolve).nthCalledWith(2, [2, 1]) + expect(Promise.resolve).nthCalledWith(3, [3, 2]) + expect(Promise.resolve).nthCalledWith(4, [4, 3]) + + Promise.all.mockRestore() + Promise.resolve.mockRestore() + }) + + test('chainFn (mutate, mutate)', () => { + // Pass more than one argument to test that they're actually taken into account + const firstFn = function (obj, count) { + obj.foo = count + 1 + } + const secondFn = function (obj, count) { + obj.bar = count + 2 + } + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) + }) + + test('chainFn (mutate, return)', () => { + const firstFn = function (obj, count) { + obj.foo = count + 1 + } + const secondFn = function (obj, count) { + return Object.assign({}, obj, { bar: count + 2 }) + } + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) + }) + + test('chainFn (return, mutate)', () => { + const firstFn = function (obj, count) { + return Object.assign({}, obj, { foo: count + 1 }) + } + const secondFn = function (obj, count) { + obj.bar = count + 2 + } + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) + }) + + test('chainFn (return, return)', () => { + const firstFn = function (obj, count) { + return Object.assign({}, obj, { foo: count + 1 }) + } + const secondFn = function (obj, count) { + return Object.assign({}, obj, { bar: count + 2 }) + } + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) + }) + + test('chainFn (return, non-function)', () => { + const firstFn = function (obj, count) { + return Object.assign({}, obj, { foo: count + 1 }) + } + const secondFn = '' + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn).toBe(firstFn) + }) + + test('chainFn (non-function, return)', () => { + const firstFn = '' + const secondFn = function (obj, count) { + return Object.assign({}, obj, { bar: count + 2 }) + } + + const chainedFn = chainFn(firstFn, secondFn) + expect(chainedFn({}, 10)).toEqual({ bar: 12 }) + }) +}) diff --git a/packages/utils/test/timer.test.js b/packages/utils/test/timer.test.js new file mode 100644 index 0000000000..2a89335e8e --- /dev/null +++ b/packages/utils/test/timer.test.js @@ -0,0 +1,165 @@ +import { timeout, waitFor, Timer } from '../src/timer' + +describe('util: timer', () => { + test('timeout (promise)', async () => { + const result = await timeout(Promise.resolve('time not run out'), 100) + expect(result).toEqual('time not run out') + }) + + test('timeout (async function)', async () => { + const result = await timeout(async () => { + await waitFor(10) + return 'time not run out' + }, 100) + expect(result).toEqual('time not run out') + }) + + test('timeout (timeout in 100ms)', async () => { + const call = timeout(waitFor(200), 100, 'timeout test 100ms') + await expect(call).rejects.toThrow('timeout test 100ms') + }) + + test('timeout (async timeout in 100ms)', async () => { + const call = timeout(async () => { + await waitFor(500) + }, 100, 'timeout test 100ms') + await expect(call).rejects.toThrow('timeout test 100ms') + }) + + test('waitFor', async () => { + const delay = 100 + const s = process.hrtime() + await waitFor(delay) + const t = process.hrtime(s) + // Node.js makes no guarantees about the exact timing of when callbacks will fire + // HTML5 specifies a minimum delay of 4ms for timeouts + // although arbitrary, use this value to determine our lower limit + expect((t[0] * 1e9 + t[1]) / 1e6).not.toBeLessThan(delay - 4) + await waitFor() + }) + + describe('util: timer Timer', () => { + beforeAll(() => { + // jest.spyOn() + }) + + test('should construct Timer', () => { + const timer = new Timer() + expect(timer._times).toBeInstanceOf(Map) + }) + + test('should create new time record', () => { + const timer = new Timer() + timer.hrtime = jest.fn(() => 'hrtime') + + const time = timer.start('test', 'test Timer') + + expect(timer.hrtime).toBeCalledTimes(1) + expect(time).toEqual({ description: 'test Timer', name: 'test', start: 'hrtime' }) + }) + + test('should stop and remove time record', () => { + const timer = new Timer() + timer.hrtime = jest.fn(() => 'hrtime') + timer.start('test', 'test Timer') + + const time = timer.end('test') + + expect(timer._times.size).toEqual(0) + expect(timer.hrtime).toBeCalledTimes(2) + expect(timer.hrtime).nthCalledWith(2, 'hrtime') + expect(time).toEqual({ description: 'test Timer', name: 'test', duration: 'hrtime', start: 'hrtime' }) + }) + + test('should be quiet if end with nonexistent time', () => { + const timer = new Timer() + + const time = timer.end('test') + + expect(time).toBeUndefined() + }) + + test('should use bigint hrtime if supports', () => { + const timer = new Timer() + const hrtime = process.hrtime + process.hrtime = { + bigint: jest.fn(() => 'bingint hrtime') + } + + const time = timer.hrtime() + + expect(time).toEqual('bingint hrtime') + expect(process.hrtime.bigint).toBeCalledTimes(1) + + process.hrtime = hrtime + }) + + if (BigInt) { + test('should calculate duration with bigint hrtime', () => { + const timer = new Timer() + const hrtime = process.hrtime + process.hrtime = { + bigint: jest.fn() + .mockReturnValueOnce(BigInt(100000000)) + .mockReturnValueOnce(BigInt(213000000)) + } + + let time = timer.hrtime() + time = timer.hrtime(time) + + expect(time).toEqual(BigInt(113)) + expect(process.hrtime.bigint).toBeCalledTimes(2) + + process.hrtime = hrtime + }) + } + + test('should use hrtime if bigint it not supported', () => { + const timer = new Timer() + const hrtime = process.hrtime + process.hrtime = jest.fn(() => 'hrtime') + process.hrtime.bigint = undefined + + const time = timer.hrtime() + + expect(time).toEqual('hrtime') + expect(process.hrtime).toBeCalledTimes(1) + + process.hrtime = hrtime + }) + + test('should calculate duration with hrtime', () => { + const timer = new Timer() + const hrtime = process.hrtime + process.hrtime = jest.fn() + .mockReturnValueOnce([1, 500000]) + .mockReturnValueOnce([2, 600000]) + process.hrtime.bigint = undefined + + let time = timer.hrtime() + time = timer.hrtime(time) + + expect(time).toEqual(2000.6) + expect(process.hrtime).toBeCalledTimes(2) + expect(process.hrtime).nthCalledWith(1) + expect(process.hrtime).nthCalledWith(2, [1, 500000]) + + process.hrtime = hrtime + }) + + test('should clear all times', () => { + const timer = new Timer() + timer.hrtime = jest.fn(() => 'hrtime') + + timer.start('time-1', 'test time-1') + timer.start('time-2', 'test time-2') + timer.start('time-3', 'test time-3') + + expect(timer._times.size).toEqual(3) + + timer.clear() + + expect(timer._times.size).toEqual(0) + }) + }) +}) diff --git a/test/unit/utils.test.js b/test/unit/utils.test.js index 84515e4712..140465218b 100644 --- a/test/unit/utils.test.js +++ b/test/unit/utils.test.js @@ -1,332 +1,8 @@ -import path from 'path' import { waitUntil } from '../utils' -import * as Utils from '../../packages/utils/src/index' describe('utils', () => { - test('encodeHtml', () => { - const html = '

Hello

' - expect(Utils.encodeHtml(html)).toBe('<h1>Hello</h1>') - }) - - test('getContext', () => { - const ctx = Utils.getContext({ a: 1 }, { b: 2 }) - expect(Utils.getContext.length).toBe(2) - expect(typeof ctx.req).toBe('object') - expect(typeof ctx.res).toBe('object') - expect(ctx.req.a).toBe(1) - expect(ctx.res.b).toBe(2) - }) - - test('waitFor', async () => { - const delay = 100 - const s = process.hrtime() - await Utils.waitFor(delay) - const t = process.hrtime(s) - // Node.js makes no guarantees about the exact timing of when callbacks will fire - // HTML5 specifies a minimum delay of 4ms for timeouts - // although arbitrary, use this value to determine our lower limit - expect((t[0] * 1e9 + t[1]) / 1e6).not.toBeLessThan(delay - 4) - await Utils.waitFor() - }) - test('waitUntil', async () => { expect(await waitUntil(() => true, 0.1, 100)).toBe(false) expect(await waitUntil(() => false, 0.1, 100)).toBe(true) }) - - test('timeout (promise)', async () => { - const result = await Utils.timeout(Promise.resolve('time not run out'), 100) - expect(result).toBe('time not run out') - }) - - test('timeout (async function)', async () => { - const result = await Utils.timeout(async () => { - await Utils.waitFor(10) - return 'time not run out' - }, 100) - expect(result).toBe('time not run out') - }) - - test('timeout (timeout in 100ms)', async () => { - const timeout = Utils.timeout(Utils.waitFor(200), 100, 'timeout test 100ms') - await expect(timeout).rejects.toThrow('timeout test 100ms') - }) - - test('timeout (async timeout in 100ms)', async () => { - const timeout = Utils.timeout(async () => { - await Utils.waitFor(500) - }, 100, 'timeout test 100ms') - await expect(timeout).rejects.toThrow('timeout test 100ms') - }) - - test('urlJoin', () => { - expect(Utils.urlJoin('test', '/about')).toBe('test/about') - }) - - test('promisifyRoute (array)', () => { - const array = [1] - const promise = Utils.promisifyRoute(array) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res).toBe(array) - }) - }) - - test('promisifyRoute (fn => array)', () => { - const array = [1, 2] - const fn = function () { - return array - } - const promise = Utils.promisifyRoute(fn) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res).toBe(array) - }) - }) - - test('promisifyRoute (fn => promise)', () => { - const array = [1, 2, 3] - const fn = function () { - return new Promise((resolve) => { - resolve(array) - }) - } - const promise = Utils.promisifyRoute(fn) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res).toBe(array) - }) - }) - - test('promisifyRoute ((fn(args) => promise))', () => { - const fn = function (array) { - return new Promise((resolve) => { - resolve(array) - }) - } - const array = [1, 2, 3] - const promise = Utils.promisifyRoute(fn, array) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res).toBe(array) - }) - }) - - test('promisifyRoute (fn(cb) with error)', () => { - const fn = function (cb) { - cb(new Error('Error here')) - } - const promise = Utils.promisifyRoute(fn) - expect(typeof promise).toBe('object') - return promise.catch((e) => { - expect(e.message).toBe('Error here') - }) - }) - - test('promisifyRoute (fn(cb, args) with error)', () => { - const fn = function (cb, array) { - cb(new Error('Error here: ' + array.join())) - } - const array = [1, 2, 3, 4] - const promise = Utils.promisifyRoute(fn, array) - expect(typeof promise).toBe('object') - return promise.catch((e) => { - expect(e.message).toBe('Error here: ' + array.join()) - }) - }) - - test('promisifyRoute (fn(cb) with result)', () => { - const array = [1, 2, 3, 4] - const fn = function (cb) { - cb(null, array) - } - const promise = Utils.promisifyRoute(fn) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res).toBe(array) - }) - }) - - test('promisifyRoute (fn(cb, args) with result)', () => { - const fn = function (cb, array, object) { - cb(null, { array, object }) - } - const array = [1, 2, 3, 4] - const object = { a: 1 } - const promise = Utils.promisifyRoute(fn, array, object) - expect(typeof promise).toBe('object') - return promise.then((res) => { - expect(res.array).toBe(array) - expect(res.object).toBe(object) - }) - }) - - test('chainFn (mutate, mutate)', () => { - // Pass more than one argument to test that they're actually taken into account - const firstFn = function (obj, count) { - obj.foo = count + 1 - } - const secondFn = function (obj, count) { - obj.bar = count + 2 - } - - const chainedFn = Utils.chainFn(firstFn, secondFn) - expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) - }) - - test('chainFn (mutate, return)', () => { - const firstFn = function (obj, count) { - obj.foo = count + 1 - } - const secondFn = function (obj, count) { - return Object.assign({}, obj, { bar: count + 2 }) - } - - const chainedFn = Utils.chainFn(firstFn, secondFn) - expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) - }) - - test('chainFn (return, mutate)', () => { - const firstFn = function (obj, count) { - return Object.assign({}, obj, { foo: count + 1 }) - } - const secondFn = function (obj, count) { - obj.bar = count + 2 - } - - const chainedFn = Utils.chainFn(firstFn, secondFn) - expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) - }) - - test('chainFn (return, return)', () => { - const firstFn = function (obj, count) { - return Object.assign({}, obj, { foo: count + 1 }) - } - const secondFn = function (obj, count) { - return Object.assign({}, obj, { bar: count + 2 }) - } - - const chainedFn = Utils.chainFn(firstFn, secondFn) - expect(chainedFn({}, 10)).toEqual({ foo: 11, bar: 12 }) - }) - - test('flatRoutes', () => { - const routes = Utils.flatRoutes([ - { name: 'login', path: '/login' }, - { name: 'about', path: '/about' }, - { name: 'posts', - path: '', - children: [ - { name: 'posts-list', - path: '' - }, - { name: 'posts-create', - path: 'post' - } - ] - } - ]) - expect(routes).toMatchObject([ '/login', '/about', '', '/post' ]) - }) - - describe('relativeTo', () => { - const path1 = path.join(path.sep, 'foo', 'bar') - const path2 = path.join(path.sep, 'foo', 'baz') - - test('makes path relative to dir', () => { - expect(Utils.relativeTo(path1, path2)).toBe(Utils.wp(`..${path.sep}baz`)) - }) - - test('keeps webpack inline loaders prepended', () => { - expect(Utils.relativeTo(path1, `loader1!loader2!${path2}`)) - .toBe(Utils.wp(`loader1!loader2!..${path.sep}baz`)) - }) - }) - - describe('guardDir', () => { - test('Parent dir is guarded', () => { - expect(() => { - Utils.guardDir({ - dir1: '/root/parent', - dir2: '/root' - }, 'dir1', 'dir2') - }).toThrow() - }) - - test('Same dir is guarded', () => { - expect(() => { - Utils.guardDir({ - dir1: '/root/parent', - dir2: '/root/parent' - }, 'dir1', 'dir2') - }).toThrow() - }) - - test('Same level dir is not guarded', () => { - expect(() => { - Utils.guardDir({ - dir1: '/root/parent-next', - dir2: '/root/parent' - }, 'dir1', 'dir2') - }).not.toThrow() - }) - - test('Same level dir is not guarded 2', () => { - expect(() => { - Utils.guardDir({ - dir1: '/root/parent', - dir2: '/root/parent-next' - }, 'dir1', 'dir2') - }).not.toThrow() - }) - - test('Child dir is not guarded', () => { - expect(() => { - Utils.guardDir({ - dir1: '/root/parent', - dir2: '/root/parent/child' - }, 'dir1', 'dir2') - }).not.toThrow() - }) - }) -}) - -test('createRoutes should allow snake case routes', () => { - const files = [ - 'pages/_param.vue', - 'pages/subpage/_param.vue', - 'pages/snake_case_route.vue', - 'pages/another_route/_id.vue' - ] - const srcDir = '/some/nuxt/app' - const pagesDir = 'pages' - const routesResult = Utils.createRoutes(files, srcDir, pagesDir) - const expectedResult = [ - { - name: 'snake_case_route', - path: '/snake_case_route', - component: Utils.r('/some/nuxt/app/pages/snake_case_route.vue'), - chunkName: 'pages/snake_case_route' - }, - { - name: 'another_route-id', - path: '/another_route/:id?', - component: Utils.r('/some/nuxt/app/pages/another_route/_id.vue'), - chunkName: 'pages/another_route/_id' - }, - { - name: 'subpage-param', - path: '/subpage/:param?', - component: Utils.r('/some/nuxt/app/pages/subpage/_param.vue'), - chunkName: 'pages/subpage/_param' - }, - { - name: 'param', - path: '/:param?', - component: Utils.r('/some/nuxt/app/pages/_param.vue'), - chunkName: 'pages/_param' - } - ] - - expect(routesResult).toEqual(expectedResult) }) From 928a230f9177393fdeb08b5c557751023c6b7e1f Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 29 Jan 2019 20:29:21 +0000 Subject: [PATCH 009/221] hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) --- packages/config/src/options.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 90973da87f..6abedf12a3 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -291,6 +291,10 @@ export function getNuxtConfig(_options) { options.build.optimization.minimize = !options.dev } + if (options.dev) { + options.build.extractCSS = false + } + // Enable optimizeCSS only when extractCSS is enabled if (options.build.optimizeCSS === undefined) { options.build.optimizeCSS = options.build.extractCSS ? {} : false From de6ca3a4f9a6ae04f744c9cc4176bffe68500aef Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 29 Jan 2019 22:07:13 +0000 Subject: [PATCH 010/221] hotfix: extractCSS error in dev mode (#4892) --- packages/config/src/options.js | 4 ---- packages/webpack/src/config/base.js | 30 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 6abedf12a3..90973da87f 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -291,10 +291,6 @@ export function getNuxtConfig(_options) { options.build.optimization.minimize = !options.dev } - if (options.dev) { - options.build.extractCSS = false - } - // Enable optimizeCSS only when extractCSS is enabled if (options.build.optimizeCSS === undefined) { options.build.optimizeCSS = options.build.extractCSS ? {} : false diff --git a/packages/webpack/src/config/base.js b/packages/webpack/src/config/base.js index 13bfe40aad..ab458b88d1 100644 --- a/packages/webpack/src/config/base.js +++ b/packages/webpack/src/config/base.js @@ -327,15 +327,27 @@ export default class WebpackBaseConfig { } plugins() { - const plugins = [new VueLoader.VueLoaderPlugin()] - - Array.prototype.push.apply(plugins, this.options.build.plugins || []) + const plugins = [] // Add timefix-plugin before others plugins if (this.options.dev) { - plugins.unshift(new TimeFixPlugin()) + plugins.push(new TimeFixPlugin()) } + // CSS extraction) + if (this.options.build.extractCSS) { + plugins.push(new ExtractCssChunksPlugin(Object.assign({ + filename: this.getFileName('css'), + chunkFilename: this.getFileName('css'), + // TODO: https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/132 + reloadAll: true + }, this.options.build.extractCSS))) + } + + plugins.push(new VueLoader.VueLoaderPlugin()) + + Array.prototype.push.apply(plugins, this.options.build.plugins || []) + // Hide warnings about plugins without a default export (#1179) plugins.push(new WarnFixPlugin()) @@ -370,16 +382,6 @@ export default class WebpackBaseConfig { } })) - // CSS extraction) - if (this.options.build.extractCSS) { - plugins.push(new ExtractCssChunksPlugin(Object.assign({ - filename: this.getFileName('css'), - chunkFilename: this.getFileName('css'), - // TODO: https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/132 - reloadAll: true - }, this.options.build.extractCSS))) - } - if (this.options.build.hardSource) { plugins.push(new HardSourcePlugin(Object.assign({}, this.options.build.hardSource))) } From 86530d8952d994c6a989bc9fa16d52f6c9a8dabe Mon Sep 17 00:00:00 2001 From: Alexandre Chopin Date: Wed, 30 Jan 2019 11:29:24 +0100 Subject: [PATCH 011/221] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce940cac15..cc7657a199 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

+

Build Status Azure Build Status From 584787933243aac3ce43dd236b25f2b1cd381c85 Mon Sep 17 00:00:00 2001 From: Alexandre Chopin Date: Wed, 30 Jan 2019 11:29:51 +0100 Subject: [PATCH 012/221] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc7657a199..3608868610 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

+


Build Status Azure Build Status From e6fcb33fd926c51ca53f39f89e64697b8e0a51d6 Mon Sep 17 00:00:00 2001 From: Alexandre Chopin Date: Wed, 30 Jan 2019 11:32:57 +0100 Subject: [PATCH 013/221] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3608868610..90c598be24 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -


+


Build Status Azure Build Status From 9788467736b662d2ed5f68a1cf49ba8d05d8a2e8 Mon Sep 17 00:00:00 2001 From: Alexandre Chopin Date: Wed, 30 Jan 2019 11:41:28 +0100 Subject: [PATCH 014/221] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90c598be24..680281796c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -


+


Build Status Azure Build Status From 0088b333f8cd6ce42845060797a7601ed702f19f Mon Sep 17 00:00:00 2001 From: phof <37412+phof@users.noreply.github.com> Date: Wed, 30 Jan 2019 12:34:33 +0100 Subject: [PATCH 015/221] Fixes #4882 (#4893) --- packages/vue-app/template/components/nuxt-link.client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-app/template/components/nuxt-link.client.js b/packages/vue-app/template/components/nuxt-link.client.js index 7e4b35585e..4ae3791aa8 100644 --- a/packages/vue-app/template/components/nuxt-link.client.js +++ b/packages/vue-app/template/components/nuxt-link.client.js @@ -94,7 +94,7 @@ export default { }<% if (router.linkPrefetchedClass) { %>, addPrefetchedClass() { if (this.prefetchedClass !== 'false') { - this.$el.className += (this.$el.className + ' ' + this.prefetchedClass).trim() + this.$el.className = (this.$el.className + ' ' + this.prefetchedClass).trim() } }<% } %> } From 3348cd6cd5dbcae1d480f11f3ef20f8ccb1a7683 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Wed, 30 Jan 2019 17:39:09 +0330 Subject: [PATCH 016/221] release: 2.4.1 (#4889) # Bugfixes * Handle `async` components correctly when using `nuxt-ts` (PR #4886) * Fix `extractCSS` in `dev` mode (PR #4888) * Correctly apply class when using `linkPrefetchedClass` (PR #4893) --- CHANGELOG.md | 11 +++++++++++ distributions/nuxt-legacy/CHANGELOG.md | 8 ++++++++ distributions/nuxt-legacy/package.json | 12 ++++++------ distributions/nuxt-start/CHANGELOG.md | 8 ++++++++ distributions/nuxt-start/package.json | 6 +++--- distributions/nuxt-ts/CHANGELOG.md | 8 ++++++++ distributions/nuxt-ts/package.json | 14 +++++++------- distributions/nuxt/CHANGELOG.md | 8 ++++++++ distributions/nuxt/package.json | 12 ++++++------ lerna.json | 2 +- packages/babel-preset-app/CHANGELOG.md | 8 ++++++++ packages/babel-preset-app/package.json | 2 +- packages/builder/CHANGELOG.md | 8 ++++++++ packages/builder/package.json | 6 +++--- packages/cli/CHANGELOG.md | 8 ++++++++ packages/cli/package.json | 4 ++-- packages/config/CHANGELOG.md | 8 ++++++++ packages/config/package.json | 4 ++-- packages/core/CHANGELOG.md | 8 ++++++++ packages/core/package.json | 10 +++++----- packages/generator/CHANGELOG.md | 8 ++++++++ packages/generator/package.json | 4 ++-- packages/server/CHANGELOG.md | 8 ++++++++ packages/server/package.json | 6 +++--- packages/typescript/CHANGELOG.md | 8 ++++++++ packages/typescript/package.json | 2 +- packages/utils/CHANGELOG.md | 8 ++++++++ packages/utils/package.json | 2 +- packages/vue-app/CHANGELOG.md | 8 ++++++++ packages/vue-app/package.json | 2 +- packages/vue-renderer/CHANGELOG.md | 8 ++++++++ packages/vue-renderer/package.json | 4 ++-- packages/webpack/CHANGELOG.md | 8 ++++++++ packages/webpack/package.json | 6 +++--- 34 files changed, 188 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d71f6d7176..eefa75b116 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + + +### Bug Fixes + +* keepAliveProps broken in ([#4521](https://github.com/nuxt/nuxt.js/issues/4521)) ([b48b220](https://github.com/nuxt/nuxt.js/commit/b48b220)) + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/distributions/nuxt-legacy/CHANGELOG.md b/distributions/nuxt-legacy/CHANGELOG.md index bec4f68f7d..7738e95d9b 100644 --- a/distributions/nuxt-legacy/CHANGELOG.md +++ b/distributions/nuxt-legacy/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package nuxt-legacy + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/distributions/nuxt-legacy/package.json b/distributions/nuxt-legacy/package.json index dcc12b31f2..5ed80c4f7b 100644 --- a/distributions/nuxt-legacy/package.json +++ b/distributions/nuxt-legacy/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-legacy", - "version": "2.4.0", + "version": "2.4.1", "description": "Legacy build of Nuxt.js for Node.js < 8.0.0", "keywords": [ "nuxt", @@ -54,12 +54,12 @@ "@babel/polyfill": "^7.2.5", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", - "@nuxt/builder": "2.4.0", - "@nuxt/cli": "2.4.0", - "@nuxt/core": "2.4.0", - "@nuxt/generator": "2.4.0", + "@nuxt/builder": "2.4.1", + "@nuxt/cli": "2.4.1", + "@nuxt/core": "2.4.1", + "@nuxt/generator": "2.4.1", "@nuxt/opencollective": "^0.2.1", - "@nuxt/webpack": "2.4.0" + "@nuxt/webpack": "2.4.1" }, "engines": { "node": ">=6.0.0", diff --git a/distributions/nuxt-start/CHANGELOG.md b/distributions/nuxt-start/CHANGELOG.md index f977ecec9a..71a87d0a7a 100644 --- a/distributions/nuxt-start/CHANGELOG.md +++ b/distributions/nuxt-start/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package nuxt-start + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 38642a2911..83f27571b3 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-start", - "version": "2.4.0", + "version": "2.4.1", "description": "Starts Nuxt.js Application in production mode", "keywords": [ "nuxt", @@ -52,8 +52,8 @@ "main": "dist/nuxt-start.js", "bin": "bin/nuxt-start.js", "dependencies": { - "@nuxt/cli": "2.4.0", - "@nuxt/core": "2.4.0", + "@nuxt/cli": "2.4.1", + "@nuxt/core": "2.4.1", "vue": "^2.5.22", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", diff --git a/distributions/nuxt-ts/CHANGELOG.md b/distributions/nuxt-ts/CHANGELOG.md index 3f900f5c8c..07d0a7a41e 100644 --- a/distributions/nuxt-ts/CHANGELOG.md +++ b/distributions/nuxt-ts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package nuxt-ts + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/distributions/nuxt-ts/package.json b/distributions/nuxt-ts/package.json index dee318d1a8..575bde8155 100644 --- a/distributions/nuxt-ts/package.json +++ b/distributions/nuxt-ts/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-ts", - "version": "2.4.0", + "version": "2.4.1", "description": "Nuxt With Runtime Typescript Support", "keywords": [ "nuxt", @@ -56,13 +56,13 @@ "nuxts": "bin/nuxt-ts.js" }, "dependencies": { - "@nuxt/builder": "2.4.0", - "@nuxt/cli": "2.4.0", - "@nuxt/core": "2.4.0", - "@nuxt/generator": "2.4.0", + "@nuxt/builder": "2.4.1", + "@nuxt/cli": "2.4.1", + "@nuxt/core": "2.4.1", + "@nuxt/generator": "2.4.1", "@nuxt/opencollective": "^0.2.1", - "@nuxt/typescript": "2.4.0", - "@nuxt/webpack": "2.4.0" + "@nuxt/typescript": "2.4.1", + "@nuxt/webpack": "2.4.1" }, "engines": { "node": ">=6.0.0", diff --git a/distributions/nuxt/CHANGELOG.md b/distributions/nuxt/CHANGELOG.md index bec4f68f7d..128577695b 100644 --- a/distributions/nuxt/CHANGELOG.md +++ b/distributions/nuxt/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package nuxt + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/distributions/nuxt/package.json b/distributions/nuxt/package.json index 4dc9b6b7a5..aba94a00fe 100644 --- a/distributions/nuxt/package.json +++ b/distributions/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "nuxt", - "version": "2.4.0", + "version": "2.4.1", "description": "A minimalistic framework for server-rendered Vue.js applications (inspired by Next.js)", "keywords": [ "nuxt", @@ -54,12 +54,12 @@ "postinstall": "opencollective || exit 0" }, "dependencies": { - "@nuxt/builder": "2.4.0", - "@nuxt/cli": "2.4.0", - "@nuxt/core": "2.4.0", - "@nuxt/generator": "2.4.0", + "@nuxt/builder": "2.4.1", + "@nuxt/cli": "2.4.1", + "@nuxt/core": "2.4.1", + "@nuxt/generator": "2.4.1", "@nuxt/opencollective": "^0.2.1", - "@nuxt/webpack": "2.4.0" + "@nuxt/webpack": "2.4.1" }, "engines": { "node": ">=8.0.0", diff --git a/lerna.json b/lerna.json index d1fdf1ffdb..75735026e2 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.4.0", + "version": "2.4.1", "npmClient": "yarn", "useWorkspaces": true, "conventionalCommits": true, diff --git a/packages/babel-preset-app/CHANGELOG.md b/packages/babel-preset-app/CHANGELOG.md index 05c89b62e2..c321988e9e 100644 --- a/packages/babel-preset-app/CHANGELOG.md +++ b/packages/babel-preset-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/babel-preset-app + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/babel-preset-app/package.json b/packages/babel-preset-app/package.json index 1798a8544e..baa05a3404 100644 --- a/packages/babel-preset-app/package.json +++ b/packages/babel-preset-app/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/babel-preset-app", - "version": "2.4.0", + "version": "2.4.1", "description": "babel-preset-app for nuxt.js", "repository": "nuxt/nuxt.js", "license": "MIT", diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index a4f81a7c2c..059455472d 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/builder + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/builder/package.json b/packages/builder/package.json index 6221cbc332..9a6d76b369 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/builder", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -9,8 +9,8 @@ "main": "dist/builder.js", "dependencies": { "@nuxt/devalue": "^1.2.0", - "@nuxt/utils": "2.4.0", - "@nuxt/vue-app": "2.4.0", + "@nuxt/utils": "2.4.1", + "@nuxt/vue-app": "2.4.1", "chokidar": "^2.0.4", "consola": "^2.3.2", "fs-extra": "^7.0.1", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index db89e1a776..967001914a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/cli + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/cli/package.json b/packages/cli/package.json index df00092fda..75c6b10f08 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/cli", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -12,7 +12,7 @@ "nuxt-cli": "bin/nuxt-cli.js" }, "dependencies": { - "@nuxt/config": "2.4.0", + "@nuxt/config": "2.4.1", "boxen": "^2.1.0", "chalk": "^2.4.2", "consola": "^2.3.2", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 27a6de3236..c498da4c3e 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/config + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/config/package.json b/packages/config/package.json index 4eb168c295..b3cb60748f 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/config", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -8,7 +8,7 @@ ], "main": "dist/config.js", "dependencies": { - "@nuxt/utils": "2.4.0", + "@nuxt/utils": "2.4.1", "consola": "^2.3.2", "std-env": "^2.2.1" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 01dd199ff9..680ad5355f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/core + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/core/package.json b/packages/core/package.json index ae4f4e929d..2fbd91f5a7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/core", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -8,11 +8,11 @@ ], "main": "dist/core.js", "dependencies": { - "@nuxt/config": "2.4.0", + "@nuxt/config": "2.4.1", "@nuxt/devalue": "^1.2.0", - "@nuxt/server": "2.4.0", - "@nuxt/utils": "2.4.0", - "@nuxt/vue-renderer": "2.4.0", + "@nuxt/server": "2.4.1", + "@nuxt/utils": "2.4.1", + "@nuxt/vue-renderer": "2.4.1", "consola": "^2.3.2", "debug": "^4.1.1", "esm": "^3.1.4", diff --git a/packages/generator/CHANGELOG.md b/packages/generator/CHANGELOG.md index 903412504b..351ba91cd7 100644 --- a/packages/generator/CHANGELOG.md +++ b/packages/generator/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/generator + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/generator/package.json b/packages/generator/package.json index 75fc1909ff..52006a0e01 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/generator", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -8,7 +8,7 @@ ], "main": "dist/generator.js", "dependencies": { - "@nuxt/utils": "2.4.0", + "@nuxt/utils": "2.4.1", "chalk": "^2.4.2", "consola": "^2.3.2", "fs-extra": "^7.0.1", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 3982de9f7e..e443214027 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/server + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/server/package.json b/packages/server/package.json index 294d0c77c7..ec5252d224 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/server", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -8,8 +8,8 @@ ], "main": "dist/server.js", "dependencies": { - "@nuxt/config": "2.4.0", - "@nuxt/utils": "2.4.0", + "@nuxt/config": "2.4.1", + "@nuxt/utils": "2.4.1", "@nuxtjs/youch": "^4.2.3", "chalk": "^2.4.2", "compression": "^1.7.3", diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index a048aeec10..7adf8178e4 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/typescript + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 65e5727e19..2cfb68787b 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/typescript", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 47ce0a3968..aad53e641d 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/utils + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/utils/package.json b/packages/utils/package.json index 41708916e5..16933742d7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/utils", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ diff --git a/packages/vue-app/CHANGELOG.md b/packages/vue-app/CHANGELOG.md index 41f3941a8b..c2cbe02b7f 100644 --- a/packages/vue-app/CHANGELOG.md +++ b/packages/vue-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/vue-app + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 273e5a42a6..87f706498a 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/vue-app", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ diff --git a/packages/vue-renderer/CHANGELOG.md b/packages/vue-renderer/CHANGELOG.md index 36ae04c5ac..a235c784ce 100644 --- a/packages/vue-renderer/CHANGELOG.md +++ b/packages/vue-renderer/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/vue-renderer + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 8a1c3b37f1..6656108ea8 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/vue-renderer", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -9,7 +9,7 @@ "main": "dist/vue-renderer.js", "dependencies": { "@nuxt/devalue": "^1.2.0", - "@nuxt/utils": "2.4.0", + "@nuxt/utils": "2.4.1", "consola": "^2.3.2", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", diff --git a/packages/webpack/CHANGELOG.md b/packages/webpack/CHANGELOG.md index 6a3cdb2352..c1fb67f89b 100644 --- a/packages/webpack/CHANGELOG.md +++ b/packages/webpack/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30) + +**Note:** Version bump only for package @nuxt/webpack + + + + + # [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 59be896de5..b57cc38575 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/webpack", - "version": "2.4.0", + "version": "2.4.1", "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ @@ -10,9 +10,9 @@ "dependencies": { "@babel/core": "^7.2.2", "@babel/polyfill": "^7.2.5", - "@nuxt/babel-preset-app": "2.4.0", + "@nuxt/babel-preset-app": "2.4.1", "@nuxt/friendly-errors-webpack-plugin": "^2.4.0", - "@nuxt/utils": "2.4.0", + "@nuxt/utils": "2.4.1", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000932", From 4c5a59e149a1021be0cbc4b86e211d9db205c4ee Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Wed, 30 Jan 2019 16:54:26 +0000 Subject: [PATCH 017/221] refactor: generate routes and template files in builder (#4883) --- packages/builder/src/builder.js | 364 ++++++++---------- .../src/{context.js => context/build.js} | 0 packages/builder/src/context/template.js | 76 ++++ 3 files changed, 236 insertions(+), 204 deletions(-) rename packages/builder/src/{context.js => context/build.js} (100%) create mode 100644 packages/builder/src/context/template.js diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index add279d862..b172132175 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -5,7 +5,6 @@ import fsExtra from 'fs-extra' import Glob from 'glob' import hash from 'hash-sum' import pify from 'pify' -import serialize from 'serialize-javascript' import upath from 'upath' import semver from 'semver' @@ -15,16 +14,11 @@ import template from 'lodash/template' import uniq from 'lodash/uniq' import uniqBy from 'lodash/uniqBy' -import devalue from '@nuxt/devalue' - import { r, - wp, - wChunk, createRoutes, relativeTo, waitFor, - serializeFunction, determineGlobals, stripWhitespace, isString, @@ -32,7 +26,8 @@ import { } from '@nuxt/utils' import Ignore from './ignore' -import BuildContext from './context' +import BuildContext from './context/build' +import TemplateContext from './context/template' const glob = pify(Glob) @@ -106,78 +101,6 @@ export default class Builder { return new BundleBuilder(context) } - normalizePlugins() { - return uniqBy( - this.options.plugins.map((p) => { - if (typeof p === 'string') { - p = { src: p } - } - const pluginBaseName = path.basename(p.src, path.extname(p.src)).replace( - /[^a-zA-Z?\d\s:]/g, - '' - ) - - if (p.ssr === false) { - p.mode = 'client' - } else if (p.mode === undefined) { - p.mode = 'all' - } else if (!['client', 'server', 'all'].includes(p.mode)) { - consola.warn(`Invalid plugin mode (server/client/all): '${p.mode}'. Falling back to 'all'`) - p.mode = 'all' - } - - return { - src: this.nuxt.resolver.resolveAlias(p.src), - mode: p.mode, - name: 'nuxt_plugin_' + pluginBaseName + '_' + hash(p.src) - } - }), - p => p.name - ) - } - - async resolveFiles(dir, cwd = this.options.srcDir) { - return this.ignore.filter(await glob(`${dir}/**/*.{${this.supportedExtensions.join(',')}}`, { - cwd, - ignore: this.options.ignore - })) - } - - async resolveRelative(dir) { - const dirPrefix = new RegExp(`^${dir}/`) - return (await this.resolveFiles(dir)).map(file => ({ src: file.replace(dirPrefix, '') })) - } - - resolvePlugins() { - // Check plugins exist then set alias to their real path - return Promise.all(this.plugins.map(async (p) => { - const ext = '{?(.+([^.])),/index.+([^.])}' - const pluginFiles = await glob(`${p.src}${ext}`) - - if (!pluginFiles || pluginFiles.length === 0) { - throw new Error(`Plugin not found: ${p.src}`) - } - - if (pluginFiles.length > 1 && !isIndexFileAndFolder(pluginFiles)) { - consola.warn({ - message: `Found ${pluginFiles.length} plugins that match the configuration, suggest to specify extension:`, - additional: '\n' + pluginFiles.map(x => `- ${x}`).join('\n') - }) - } - - const modes = ['client', 'server'] - const modePattern = new RegExp(`\\.(${modes.join('|')})\\.\\w+$`) - pluginFiles[0].replace(modePattern, (_, mode) => { - // mode in nuxt.config has higher priority - if (p.mode === 'all' && modes.includes(mode)) { - p.mode = mode - } - }) - - p.src = this.relativeToBuild(p.src) - })) - } - forGenerate() { this.bundleBuilder.forGenerate() } @@ -297,12 +220,12 @@ export default class Builder { // Suggest dependency fixes (TODO: automate me) if (dpendencyFixes.length) { consola.error( - `Please install missing dependencies:\n`, + 'Please install missing dependencies:\n', '\n', - `Using yarn:\n`, + 'Using yarn:\n', `yarn add ${dpendencyFixes.join(' ')}\n`, '\n', - `Using npm:\n`, + 'Using npm:\n', `npm i ${dpendencyFixes.join(' ')}\n` ) throw new Error('Missing Template Dependencies') @@ -310,59 +233,82 @@ export default class Builder { } async generateRoutesAndFiles() { - consola.debug(`Generating nuxt files`) + consola.debug('Generating nuxt files') // Plugins this.plugins = Array.from(this.normalizePlugins()) - // -- Templates -- - let templatesFiles = Array.from(this.template.files) + const templateContext = new TemplateContext(this, this.options) - const templateVars = { - options: this.options, - extensions: this.options.extensions - .map(ext => ext.replace(/^\./, '')) - .join('|'), - messages: this.options.messages, - splitChunks: this.options.build.splitChunks, - uniqBy, - isDev: this.options.dev, - isTest: this.options.test, - debug: this.options.debug, - vue: { config: this.options.vue.config }, - mode: this.options.mode, - router: this.options.router, - env: this.options.env, - head: this.options.head, - store: this.options.store, - globalName: this.options.globalName, - globals: this.globals, - css: this.options.css, - plugins: this.plugins, - appPath: './App.js', - layouts: Object.assign({}, this.options.layouts), - loading: - typeof this.options.loading === 'string' - ? this.relativeToBuild(this.options.srcDir, this.options.loading) - : this.options.loading, - transition: this.options.transition, - layoutTransition: this.options.layoutTransition, - dir: this.options.dir, - components: { - ErrorPage: this.options.ErrorPage - ? this.relativeToBuild(this.options.ErrorPage) - : null - } - } + await Promise.all([ + this.resolveLayouts(templateContext), + this.resolveRoutes(templateContext), + this.resolveStore(templateContext), + this.resolveMiddleware(templateContext) + ]) - // -- Layouts -- + await this.resolveCustomTemplates(templateContext) + + await this.resolveLoadingIndicator(templateContext) + + // Add vue-app template dir to watchers + this.options.build.watch.push(this.template.dir) + + await this.compileTemplates(templateContext) + + consola.success('Nuxt files generated') + } + + normalizePlugins() { + return uniqBy( + this.options.plugins.map((p) => { + if (typeof p === 'string') { + p = { src: p } + } + const pluginBaseName = path.basename(p.src, path.extname(p.src)).replace( + /[^a-zA-Z?\d\s:]/g, + '' + ) + + if (p.ssr === false) { + p.mode = 'client' + } else if (p.mode === undefined) { + p.mode = 'all' + } else if (!['client', 'server', 'all'].includes(p.mode)) { + consola.warn(`Invalid plugin mode (server/client/all): '${p.mode}'. Falling back to 'all'`) + p.mode = 'all' + } + + return { + src: this.nuxt.resolver.resolveAlias(p.src), + mode: p.mode, + name: 'nuxt_plugin_' + pluginBaseName + '_' + hash(p.src) + } + }), + p => p.name + ) + } + + async resolveFiles(dir, cwd = this.options.srcDir) { + return this.ignore.filter(await glob(`${dir}/**/*.{${this.supportedExtensions.join(',')}}`, { + cwd, + ignore: this.options.ignore + })) + } + + async resolveRelative(dir) { + const dirPrefix = new RegExp(`^${dir}/`) + return (await this.resolveFiles(dir)).map(file => ({ src: file.replace(dirPrefix, '') })) + } + + async resolveLayouts({ templateVars, templateFiles }) { if (fsExtra.existsSync(path.resolve(this.options.srcDir, this.options.dir.layouts))) { - const configLayouts = this.options.layouts - const layoutsFiles = await this.resolveFiles(this.options.dir.layouts) - layoutsFiles.forEach((file) => { + for (const file of await this.resolveFiles(this.options.dir.layouts)) { const name = file .replace(new RegExp(`^${this.options.dir.layouts}/`), '') .replace(new RegExp(`\\.(${this.supportedExtensions.join('|')})$`), '') + + // Layout Priority: module.addLayout > .vue file > other extensions if (name === 'error') { if (!templateVars.components.ErrorPage) { templateVars.components.ErrorPage = this.relativeToBuild( @@ -370,27 +316,26 @@ export default class Builder { file ) } - return - } - // Layout Priority: module.addLayout > .vue file > other extensions - if (configLayouts[name]) { - consola.warn(`Duplicate layout registration, "${name}" has been registered as "${configLayouts[name]}"`) + } else if (this.options.layouts[name]) { + consola.warn(`Duplicate layout registration, "${name}" has been registered as "${this.options.layouts[name]}"`) } else if (!templateVars.layouts[name] || /\.vue$/.test(file)) { templateVars.layouts[name] = this.relativeToBuild( this.options.srcDir, file ) } - }) + } } + // If no default layout, create its folder and add the default folder if (!templateVars.layouts.default) { await fsExtra.mkdirp(r(this.options.buildDir, 'layouts')) - templatesFiles.push('layouts/default.vue') + templateFiles.push('layouts/default.vue') templateVars.layouts.default = './layouts/default.vue' } + } - // -- Routes -- + async resolveRoutes({ templateVars }) { consola.debug('Generating routes...') if (this._defaultPage) { @@ -443,8 +388,9 @@ export default class Builder { // Make routes accessible for other modules and webpack configs this.routes = templateVars.router.routes + } - // -- Store -- + async resolveStore({ templateVars, templateFiles }) { // Add store if needed if (this.options.store) { templateVars.storeModules = (await this.resolveRelative(this.options.dir.store)) @@ -459,51 +405,55 @@ export default class Builder { return res }) - templatesFiles.push('store.js') + templateFiles.push('store.js') } + } + async resolveMiddleware({ templateVars }) { // -- Middleware -- templateVars.middleware = await this.resolveRelative(this.options.dir.middleware) + } + async resolveCustomTemplates(templateContext) { // Resolve template files const customTemplateFiles = this.options.build.templates.map( t => t.dst || path.basename(t.src || t) ) - templatesFiles = templatesFiles - .map((file) => { - // Skip if custom file was already provided in build.templates[] - if (customTemplateFiles.includes(file)) { - return - } - // Allow override templates using a file with same name in ${srcDir}/app - const customPath = r(this.options.srcDir, 'app', file) - const customFileExists = fsExtra.existsSync(customPath) + const templateFiles = await Promise.all(templateContext.templateFiles.map(async (file) => { + // Skip if custom file was already provided in build.templates[] + if (customTemplateFiles.includes(file)) { + return + } + // Allow override templates using a file with same name in ${srcDir}/app + const customPath = r(this.options.srcDir, 'app', file) + const customFileExists = await fsExtra.exists(customPath) - return { - src: customFileExists ? customPath : r(this.template.dir, file), - dst: file, - custom: customFileExists - } - }) + return { + src: customFileExists ? customPath : r(this.template.dir, file), + dst: file, + custom: customFileExists + } + })) + + templateContext.templateFiles = templateFiles .filter(Boolean) + // Add custom template files + .concat( + this.options.build.templates.map((t) => { + return Object.assign( + { + src: r(this.options.srcDir, t.src || t), + dst: t.dst || path.basename(t.src || t), + custom: true + }, + t + ) + }) + ) + } - // -- Custom templates -- - // Add custom template files - templatesFiles = templatesFiles.concat( - this.options.build.templates.map((t) => { - return Object.assign( - { - src: r(this.options.srcDir, t.src || t), - dst: t.dst || path.basename(t.src || t), - custom: true - }, - t - ) - }) - ) - - // -- Loading indicator -- + async resolveLoadingIndicator({ templateFiles }) { if (this.options.loadingIndicator.name) { let indicatorPath = path.resolve( this.template.dir, @@ -512,7 +462,7 @@ export default class Builder { ) let customIndicator = false - if (!fsExtra.existsSync(indicatorPath)) { + if (!await fsExtra.exists(indicatorPath)) { indicatorPath = this.nuxt.resolver.resolveAlias( this.options.loadingIndicator.name ) @@ -525,63 +475,42 @@ export default class Builder { } if (indicatorPath) { - templatesFiles.push({ + templateFiles.push({ src: indicatorPath, dst: 'loading.html', custom: customIndicator, options: this.options.loadingIndicator }) } else { - /* istanbul ignore next */ - // eslint-disable-next-line no-console - console.error( + consola.error( `Could not fetch loading indicator: ${ this.options.loadingIndicator.name }` ) } } + } + + async compileTemplates(templateContext) { + // Prepare template options + const { templateVars, templateFiles, templateOptions } = templateContext await this.nuxt.callHook('build:templates', { - templatesFiles, templateVars, + templateFiles, resolve: r }) - // Prepare template options - let lodash = null - const templateOptions = { - imports: { - serialize, - serializeFunction, - devalue, - hash, - r, - wp, - wChunk, - resolvePath: this.nuxt.resolver.resolvePath, - resolveAlias: this.nuxt.resolver.resolveAlias, - relativeToBuild: this.relativeToBuild, - // Legacy support: https://github.com/nuxt/nuxt.js/issues/4350 - _: new Proxy({}, { - get(target, prop) { - if (!lodash) { - consola.warn('Avoid using _ inside templates') - lodash = require('lodash') - } - return lodash[prop] - } - }) - }, - interpolate: /<%=([\s\S]+?)%>/g + templateOptions.imports = { + ...templateOptions.imports, + resolvePath: this.nuxt.resolver.resolvePath, + resolveAlias: this.nuxt.resolver.resolveAlias, + relativeToBuild: this.relativeToBuild } - // Add vue-app template dir to watchers - this.options.build.watch.push(this.template.dir) - // Interpret and move template files to .nuxt/ await Promise.all( - templatesFiles.map(async ({ src, dst, options, custom }) => { + templateFiles.map(async ({ src, dst, options, custom }) => { // Add custom templates to watcher if (custom) { this.options.build.watch.push(src) @@ -603,7 +532,6 @@ export default class Builder { ) ) } catch (err) { - /* istanbul ignore next */ throw new Error(`Could not compile template ${src}: ${err.message}`) } const _path = r(this.options.buildDir, dst) @@ -611,8 +539,36 @@ export default class Builder { await fsExtra.outputFile(_path, content, 'utf8') }) ) + } - consola.success('Nuxt files generated') + resolvePlugins() { + // Check plugins exist then set alias to their real path + return Promise.all(this.plugins.map(async (p) => { + const ext = '{?(.+([^.])),/index.+([^.])}' + const pluginFiles = await glob(`${p.src}${ext}`) + + if (!pluginFiles || pluginFiles.length === 0) { + throw new Error(`Plugin not found: ${p.src}`) + } + + if (pluginFiles.length > 1 && !isIndexFileAndFolder(pluginFiles)) { + consola.warn({ + message: `Found ${pluginFiles.length} plugins that match the configuration, suggest to specify extension:`, + additional: '\n' + pluginFiles.map(x => `- ${x}`).join('\n') + }) + } + + const modes = ['client', 'server'] + const modePattern = new RegExp(`\\.(${modes.join('|')})\\.\\w+$`) + pluginFiles[0].replace(modePattern, (_, mode) => { + // mode in nuxt.config has higher priority + if (p.mode === 'all' && modes.includes(mode)) { + p.mode = mode + } + }) + + p.src = this.relativeToBuild(p.src) + })) } // TODO: Uncomment when generateConfig enabled again diff --git a/packages/builder/src/context.js b/packages/builder/src/context/build.js similarity index 100% rename from packages/builder/src/context.js rename to packages/builder/src/context/build.js diff --git a/packages/builder/src/context/template.js b/packages/builder/src/context/template.js new file mode 100644 index 0000000000..f3af55b268 --- /dev/null +++ b/packages/builder/src/context/template.js @@ -0,0 +1,76 @@ +import hash from 'hash-sum' +import consola from 'consola' +import uniqBy from 'lodash/uniqBy' +import serialize from 'serialize-javascript' + +import devalue from '@nuxt/devalue' +import { r, wp, wChunk, serializeFunction } from '@nuxt/utils' + +export default class TemplateContext { + constructor(builder, options) { + this.templateFiles = Array.from(builder.template.files) + this.templateVars = { + options: options, + extensions: options.extensions + .map(ext => ext.replace(/^\./, '')) + .join('|'), + messages: options.messages, + splitChunks: options.build.splitChunks, + uniqBy, + isDev: options.dev, + isTest: options.test, + debug: options.debug, + vue: { config: options.vue.config }, + mode: options.mode, + router: options.router, + env: options.env, + head: options.head, + store: options.store, + globalName: options.globalName, + globals: builder.globals, + css: options.css, + plugins: builder.plugins, + appPath: './App.js', + layouts: Object.assign({}, options.layouts), + loading: + typeof options.loading === 'string' + ? builder.relativeToBuild(options.srcDir, options.loading) + : options.loading, + transition: options.transition, + layoutTransition: options.layoutTransition, + dir: options.dir, + components: { + ErrorPage: options.ErrorPage + ? builder.relativeToBuild(options.ErrorPage) + : null + } + } + } + + get templateOptions() { + let lodash = null + + return { + imports: { + serialize, + serializeFunction, + devalue, + hash, + r, + wp, + wChunk, + // Legacy support: https://github.com/nuxt/nuxt.js/issues/4350 + _: new Proxy({}, { + get(target, prop) { + if (!lodash) { + consola.warn('Avoid using _ inside templates') + lodash = require('lodash') + } + return lodash[prop] + } + }) + }, + interpolate: /<%=([\s\S]+?)%>/g + } + } +} From 738c1820b2955f10970431120e3a2c102a7c8064 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Wed, 30 Jan 2019 19:10:04 +0000 Subject: [PATCH 018/221] chore(README): replace modules with AwesomeNuxt (#4905) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 680281796c..6eba96be2b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - 🎬 Video: [1 minute demo](https://www.youtube.com/watch?v=kmf-p-pTi40) - 🐦 Twitter: [@nuxt_js](https://twitter.nuxtjs.org/) - 💬 Chat: [Discord](https://discord.nuxtjs.org/) -- 📦 [Nuxt.js Modules](https://github.com/nuxt-community/modules) +- 🌟 [AwesomeNuxt](https://awesome.nuxtjs.org/) - 👉 [Play with Nuxt.js online](https://template.nuxtjs.org) ## Features From f70645e5aa0705543798e028182f795f16e4c594 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Fri, 1 Feb 2019 11:56:26 +0000 Subject: [PATCH 019/221] fix: revert templatFiles name (#4924) --- packages/builder/src/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index b172132175..dfc55b5030 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -497,7 +497,7 @@ export default class Builder { await this.nuxt.callHook('build:templates', { templateVars, - templateFiles, + templatesFiles: templateFiles, resolve: r }) From be41ae1c2fd9dc846ef94dcd3fc627b33efeb53c Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Fri, 1 Feb 2019 13:02:41 +0000 Subject: [PATCH 020/221] example(vuex-store): change to module store (#4923) --- examples/vuex-store/store/index.js | 19 +++++++------------ examples/vuex-store/store/mutations.js | 7 ------- 2 files changed, 7 insertions(+), 19 deletions(-) delete mode 100644 examples/vuex-store/store/mutations.js diff --git a/examples/vuex-store/store/index.js b/examples/vuex-store/store/index.js index 8172cac5d8..b22221c9c7 100644 --- a/examples/vuex-store/store/index.js +++ b/examples/vuex-store/store/index.js @@ -1,14 +1,9 @@ -import Vuex from 'vuex' +export const state = () => ({ + counter: 0 +}) -import mutations from './mutations' - -const createStore = () => { - return new Vuex.Store({ - state: { - counter: 0 - }, - mutations - }) +export const mutations = { + increment(state) { + state.counter++ + } } - -export default createStore diff --git a/examples/vuex-store/store/mutations.js b/examples/vuex-store/store/mutations.js deleted file mode 100644 index 81783007a1..0000000000 --- a/examples/vuex-store/store/mutations.js +++ /dev/null @@ -1,7 +0,0 @@ -const mutations = { - increment(state) { - state.counter++ - } -} - -export default mutations From 0223e56dd4b2e7db6cabf16d0ede1a3fe4019fb6 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Fri, 1 Feb 2019 13:03:32 +0000 Subject: [PATCH 021/221] fix: remove cache-loader for external resources (#4915) --- packages/webpack/src/config/base.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/webpack/src/config/base.js b/packages/webpack/src/config/base.js index ab458b88d1..efb8b7de30 100644 --- a/packages/webpack/src/config/base.js +++ b/packages/webpack/src/config/base.js @@ -295,33 +295,33 @@ export default class WebpackBaseConfig { }, { test: /\.(png|jpe?g|gif|svg|webp)$/i, - use: perfLoader.asset().concat({ + use: [{ loader: 'url-loader', options: Object.assign( this.loaders.imgUrl, { name: this.getFileName('img') } ) - }) + }] }, { test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/i, - use: perfLoader.asset().concat({ + use: [{ loader: 'url-loader', options: Object.assign( this.loaders.fontUrl, { name: this.getFileName('font') } ) - }) + }] }, { test: /\.(webm|mp4|ogv)$/i, - use: perfLoader.asset().concat({ + use: [{ loader: 'file-loader', options: Object.assign( this.loaders.file, { name: this.getFileName('video') } ) - }) + }] } ] } From d7b57e0d97b7253601fef86c8165f5589b41d1a4 Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Fri, 1 Feb 2019 14:05:03 +0100 Subject: [PATCH 022/221] improvement(ts): transpileOnly when using `nuxt-ts start` (#4906) --- packages/typescript/src/index.js | 3 ++- packages/typescript/test/setup.test.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/typescript/src/index.js b/packages/typescript/src/index.js index 4631bdedd5..6cc30c8c49 100644 --- a/packages/typescript/src/index.js +++ b/packages/typescript/src/index.js @@ -47,6 +47,7 @@ export async function setup(tsConfigPath) { project: tsConfigPath, compilerOptions: { module: 'commonjs' - } + }, + transpileOnly: process.argv[2] === 'start' }) } diff --git a/packages/typescript/test/setup.test.js b/packages/typescript/test/setup.test.js index 2f50ed5829..54b0614274 100644 --- a/packages/typescript/test/setup.test.js +++ b/packages/typescript/test/setup.test.js @@ -38,7 +38,8 @@ describe('typescript setup', () => { project: tsConfigPath, compilerOptions: { module: 'commonjs' - } + }, + transpileOnly: false }) }) From 47898fbdac6b79bd4e712adc70535fdefba30dc0 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Fri, 1 Feb 2019 13:06:06 +0000 Subject: [PATCH 023/221] chore(examples): rebase on latest stable nuxt version (#4874) --- examples/async-component-injection/package.json | 2 +- examples/async-data/package.json | 2 +- examples/auth-jwt/package.json | 2 +- examples/auth-routes/package.json | 2 +- examples/axios/package.json | 2 +- examples/cached-components/package.json | 2 +- examples/coffeescript/package.json | 2 +- examples/custom-build/package.json | 2 +- examples/custom-layouts/package.json | 2 +- examples/custom-loading/package.json | 2 +- examples/custom-page-loading/package.json | 2 +- examples/custom-port-host/package.json | 2 +- examples/custom-routes/package.json | 2 +- examples/custom-server/package.json | 2 +- examples/dynamic-components/package.json | 2 +- examples/dynamic-layouts/package.json | 2 +- examples/global-css/package.json | 2 +- examples/hello-world/package.json | 2 +- examples/i18n/package.json | 2 +- examples/jest-vtu-example/package.json | 2 +- examples/jsx/package.json | 2 +- examples/layout-transitions/package.json | 2 +- examples/markdownit/package.json | 2 +- examples/meta-info/package.json | 2 +- examples/middleware/package.json | 2 +- examples/nested-components/package.json | 2 +- examples/nested-routes/package.json | 2 +- examples/no-ssr/package.json | 2 +- examples/nuxt-prefetch/package.json | 2 +- examples/plugins-vendor/package.json | 2 +- examples/pug/package.json | 2 +- examples/routes-meta/package.json | 2 +- examples/routes-transitions/package.json | 2 +- examples/scroll-behavior/package.json | 2 +- examples/spa/package.json | 2 +- examples/static-images/package.json | 2 +- examples/storybook/package.json | 2 +- examples/style-resources/package.json | 2 +- examples/styled-vue/package.json | 2 +- examples/tailwindcss/package.json | 2 +- examples/typescript-vuex/package.json | 2 +- examples/typescript-vuex/tsconfig.json | 4 ++-- examples/typescript/package.json | 2 +- examples/typescript/tsconfig.json | 4 ++-- examples/uikit/package.json | 2 +- examples/vue-apollo/package.json | 2 +- examples/vue-chartjs/package.json | 2 +- examples/vue-class-component/package.json | 2 +- examples/vuex-persistedstate/package.json | 2 +- examples/vuex-store-modules/package.json | 2 +- examples/vuex-store/package.json | 2 +- examples/web-worker/package.json | 2 +- examples/with-amp/package.json | 2 +- examples/with-ava/package.json | 2 +- examples/with-buefy/package.json | 2 +- examples/with-cookies/package.json | 2 +- examples/with-element-ui/package.json | 2 +- examples/with-feathers/package.json | 2 +- examples/with-firebase/package.json | 2 +- examples/with-keep-alive/package.json | 2 +- examples/with-museui/package.json | 2 +- examples/with-purgecss/package.json | 2 +- examples/with-sockets/package.json | 2 +- examples/with-tape/package.json | 2 +- examples/with-vue-material/package.json | 2 +- examples/with-vuetify/package.json | 2 +- examples/with-vuikit/package.json | 2 +- examples/with-vux/package.json | 2 +- 68 files changed, 70 insertions(+), 70 deletions(-) diff --git a/examples/async-component-injection/package.json b/examples/async-component-injection/package.json index 7d3f4896f7..a9e00066e2 100644 --- a/examples/async-component-injection/package.json +++ b/examples/async-component-injection/package.json @@ -1,7 +1,7 @@ { "name": "example-async-components-injection", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/async-data/package.json b/examples/async-data/package.json index 29bd404f16..d7f692ae86 100644 --- a/examples/async-data/package.json +++ b/examples/async-data/package.json @@ -2,7 +2,7 @@ "name": "example-async-data", "dependencies": { "axios": "latest", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/auth-jwt/package.json b/examples/auth-jwt/package.json index 863bd2810d..246a6e2dfd 100644 --- a/examples/auth-jwt/package.json +++ b/examples/auth-jwt/package.json @@ -3,7 +3,7 @@ "dependencies": { "cookieparser": "^0.1.0", "js-cookie": "^2.2.0", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/auth-routes/package.json b/examples/auth-routes/package.json index 8dacdc7bc6..257b35faf7 100644 --- a/examples/auth-routes/package.json +++ b/examples/auth-routes/package.json @@ -5,7 +5,7 @@ "body-parser": "^1.17.2", "express": "^4.15.3", "express-session": "^1.15.3", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/axios/package.json b/examples/axios/package.json index d4fc578194..195df2c1b2 100644 --- a/examples/axios/package.json +++ b/examples/axios/package.json @@ -4,7 +4,7 @@ "dependencies": { "@nuxtjs/axios": "^5.0.0", "@nuxtjs/proxy": "^1.1.2", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/cached-components/package.json b/examples/cached-components/package.json index b6ae221185..88467bb0c4 100644 --- a/examples/cached-components/package.json +++ b/examples/cached-components/package.json @@ -2,7 +2,7 @@ "name": "example-cached-components", "dependencies": { "lru-cache": "^4.0.2", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/coffeescript/package.json b/examples/coffeescript/package.json index 8516dd52e1..df5a495709 100644 --- a/examples/coffeescript/package.json +++ b/examples/coffeescript/package.json @@ -11,7 +11,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "devDependencies": { "coffee-loader": "^0.8.0", diff --git a/examples/custom-build/package.json b/examples/custom-build/package.json index 86f1499dab..07ce2d2076 100644 --- a/examples/custom-build/package.json +++ b/examples/custom-build/package.json @@ -2,7 +2,7 @@ "name": "example-custom-build", "description": "", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-layouts/package.json b/examples/custom-layouts/package.json index 23c29f0bb4..847a5dc029 100644 --- a/examples/custom-layouts/package.json +++ b/examples/custom-layouts/package.json @@ -1,7 +1,7 @@ { "name": "example-custom-layouts", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-loading/package.json b/examples/custom-loading/package.json index a2571cdf6a..e717c873ba 100644 --- a/examples/custom-loading/package.json +++ b/examples/custom-loading/package.json @@ -1,7 +1,7 @@ { "name": "example-custom-loading", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-page-loading/package.json b/examples/custom-page-loading/package.json index 33a5faf2a0..202221c461 100644 --- a/examples/custom-page-loading/package.json +++ b/examples/custom-page-loading/package.json @@ -1,7 +1,7 @@ { "name": "example-custom-page-loading", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-port-host/package.json b/examples/custom-port-host/package.json index e5b1f7971d..151d727e87 100644 --- a/examples/custom-port-host/package.json +++ b/examples/custom-port-host/package.json @@ -1,7 +1,7 @@ { "name": "example-custom-port-host", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-routes/package.json b/examples/custom-routes/package.json index 38d678a47c..89f98e1b03 100644 --- a/examples/custom-routes/package.json +++ b/examples/custom-routes/package.json @@ -2,7 +2,7 @@ "name": "example-custom-routes", "dependencies": { "axios": "latest", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/custom-server/package.json b/examples/custom-server/package.json index ca15a00e35..a608690fcb 100644 --- a/examples/custom-server/package.json +++ b/examples/custom-server/package.json @@ -2,7 +2,7 @@ "name": "example-custom-server", "dependencies": { "express": "^4.15.3", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "node server.js", diff --git a/examples/dynamic-components/package.json b/examples/dynamic-components/package.json index 992ca12416..0839a6bbfc 100644 --- a/examples/dynamic-components/package.json +++ b/examples/dynamic-components/package.json @@ -2,7 +2,7 @@ "name": "example-dynamic-components", "dependencies": { "chart.js": "^2.7.0", - "nuxt-edge": "latest", + "nuxt": "latest", "vue-chartjs": "^2.8.7" }, "scripts": { diff --git a/examples/dynamic-layouts/package.json b/examples/dynamic-layouts/package.json index dea7619e05..bc28c96149 100644 --- a/examples/dynamic-layouts/package.json +++ b/examples/dynamic-layouts/package.json @@ -1,7 +1,7 @@ { "name": "example-dynamic-layouts", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/global-css/package.json b/examples/global-css/package.json index 73de465f6c..d25e597e14 100644 --- a/examples/global-css/package.json +++ b/examples/global-css/package.json @@ -2,7 +2,7 @@ "name": "example-global-css", "dependencies": { "bulma": "^0.5.1", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index a93a322b71..c1521ad7bf 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -1,7 +1,7 @@ { "name": "example-hello-world", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/i18n/package.json b/examples/i18n/package.json index 1918a2e69e..84105bae75 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -1,7 +1,7 @@ { "name": "example-i18n", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "vue-i18n": "^7.3.2" }, "scripts": { diff --git a/examples/jest-vtu-example/package.json b/examples/jest-vtu-example/package.json index 6819bff5bc..d4956fbfae 100644 --- a/examples/jest-vtu-example/package.json +++ b/examples/jest-vtu-example/package.json @@ -9,7 +9,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "devDependencies": { "@babel/core": "^7.1.2", diff --git a/examples/jsx/package.json b/examples/jsx/package.json index 432c82791f..17a52325ec 100644 --- a/examples/jsx/package.json +++ b/examples/jsx/package.json @@ -1,7 +1,7 @@ { "name": "example-jsx", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/layout-transitions/package.json b/examples/layout-transitions/package.json index b0925efaab..27bba12d6a 100644 --- a/examples/layout-transitions/package.json +++ b/examples/layout-transitions/package.json @@ -2,7 +2,7 @@ "name": "example-layout-transitions", "dependencies": { "axios": "^0.15.3", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/markdownit/package.json b/examples/markdownit/package.json index 064b51bbfb..1a613b9bd5 100644 --- a/examples/markdownit/package.json +++ b/examples/markdownit/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "dependencies": { "@nuxtjs/markdownit": "^1.1.2", - "nuxt-edge": "latest", + "nuxt": "latest", "pug": "^2.0.0-rc.4" }, "scripts": { diff --git a/examples/meta-info/package.json b/examples/meta-info/package.json index 615138bc5f..2c046bb617 100644 --- a/examples/meta-info/package.json +++ b/examples/meta-info/package.json @@ -1,7 +1,7 @@ { "name": "example-meta-info", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 4e7a8c867c..b2b3d44114 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -1,7 +1,7 @@ { "name": "example-middleware", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/nested-components/package.json b/examples/nested-components/package.json index 3bd53e3a76..b60fda7c1f 100644 --- a/examples/nested-components/package.json +++ b/examples/nested-components/package.json @@ -1,7 +1,7 @@ { "name": "example-nested-components", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/nested-routes/package.json b/examples/nested-routes/package.json index 0def519291..00c2f3d48c 100644 --- a/examples/nested-routes/package.json +++ b/examples/nested-routes/package.json @@ -1,7 +1,7 @@ { "name": "example-nested-routes", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/no-ssr/package.json b/examples/no-ssr/package.json index 04868bb2d9..de8ab5cb71 100644 --- a/examples/no-ssr/package.json +++ b/examples/no-ssr/package.json @@ -1,7 +1,7 @@ { "name": "example-no-ssr", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/nuxt-prefetch/package.json b/examples/nuxt-prefetch/package.json index 6747461236..f178162548 100644 --- a/examples/nuxt-prefetch/package.json +++ b/examples/nuxt-prefetch/package.json @@ -1,7 +1,7 @@ { "name": "example-nuxt-prefetch", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/plugins-vendor/package.json b/examples/plugins-vendor/package.json index a0b64fe62b..0ed33e7547 100644 --- a/examples/plugins-vendor/package.json +++ b/examples/plugins-vendor/package.json @@ -3,7 +3,7 @@ "dependencies": { "axios": "^0.16.2", "mini-toastr": "^0.6.5", - "nuxt-edge": "latest", + "nuxt": "latest", "vue-notifications": "^0.8.0" }, "scripts": { diff --git a/examples/pug/package.json b/examples/pug/package.json index 213ddefa3a..7b7d6585db 100644 --- a/examples/pug/package.json +++ b/examples/pug/package.json @@ -1,7 +1,7 @@ { "name": "example-pug", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "pug": "^2.0.3", "pug-loader": "^2.4.0" }, diff --git a/examples/routes-meta/package.json b/examples/routes-meta/package.json index e159a20711..2eae745848 100644 --- a/examples/routes-meta/package.json +++ b/examples/routes-meta/package.json @@ -1,7 +1,7 @@ { "name": "examples-routes-meta", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "wingcss": "^1.0.0-beta" }, "scripts": { diff --git a/examples/routes-transitions/package.json b/examples/routes-transitions/package.json index 4fa70badf9..b71b1c928e 100644 --- a/examples/routes-transitions/package.json +++ b/examples/routes-transitions/package.json @@ -2,7 +2,7 @@ "name": "example-routes-transitions", "dependencies": { "axios": "^0.15.3", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/scroll-behavior/package.json b/examples/scroll-behavior/package.json index 19c77bab1d..7db9bc4261 100644 --- a/examples/scroll-behavior/package.json +++ b/examples/scroll-behavior/package.json @@ -2,7 +2,7 @@ "name": "example-scroll-behavior", "dependencies": { "@nuxtjs/axios": "^5.3.6", - "nuxt-edge": "latest", + "nuxt": "latest", "vue-router": "https://github.com/homerjam/vue-router#dist" }, "scripts": { diff --git a/examples/spa/package.json b/examples/spa/package.json index 1fc945316e..6517c98127 100644 --- a/examples/spa/package.json +++ b/examples/spa/package.json @@ -1,7 +1,7 @@ { "name": "example-spa", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/static-images/package.json b/examples/static-images/package.json index 5ea6218cff..fa90475587 100644 --- a/examples/static-images/package.json +++ b/examples/static-images/package.json @@ -1,7 +1,7 @@ { "name": "example-static-images", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/storybook/package.json b/examples/storybook/package.json index 45e47dc423..a4823c239d 100644 --- a/examples/storybook/package.json +++ b/examples/storybook/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "chart.js": "^2.7.1", - "nuxt-edge": "latest", + "nuxt": "latest", "vue-chartjs": "^3.1.1", "vuetify": "1.2.6" }, diff --git a/examples/style-resources/package.json b/examples/style-resources/package.json index f675f7efaa..d33729f748 100644 --- a/examples/style-resources/package.json +++ b/examples/style-resources/package.json @@ -3,7 +3,7 @@ "dependencies": { "less": "^2.7.3", "less-loader": "^4.0.5", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/styled-vue/package.json b/examples/styled-vue/package.json index 4d3e94ec85..9277599399 100644 --- a/examples/styled-vue/package.json +++ b/examples/styled-vue/package.json @@ -2,7 +2,7 @@ "name": "example-styled-vue", "version": "1.0.0", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index ca49f487f7..d2238ed659 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -8,7 +8,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "devDependencies": { "autoprefixer": "^7.1.6", diff --git a/examples/typescript-vuex/package.json b/examples/typescript-vuex/package.json index 9973e39dd6..767f9cd8ef 100644 --- a/examples/typescript-vuex/package.json +++ b/examples/typescript-vuex/package.json @@ -3,7 +3,7 @@ "private": true, "dependencies": { "axios": "^0.18.0", - "nuxt-ts-edge": "latest", + "nuxt-ts": "latest", "tachyons": "^4.11.1", "vue-property-decorator": "^7.3.0", "vuex-class": "^0.3.1" diff --git a/examples/typescript-vuex/tsconfig.json b/examples/typescript-vuex/tsconfig.json index 2b98ff6b4b..6b563db445 100644 --- a/examples/typescript-vuex/tsconfig.json +++ b/examples/typescript-vuex/tsconfig.json @@ -1,11 +1,11 @@ { - "extends": "@nuxt/typescript-edge", + "extends": "@nuxt/typescript", "compilerOptions": { "baseUrl": ".", "noImplicitAny": false, "types": [ "@types/node", - "@nuxt/vue-app-edge" + "@nuxt/vue-app" ] } } diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 0d28e44bcd..aa696b9fc4 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -2,7 +2,7 @@ "version": "1.0.0", "private": true, "dependencies": { - "nuxt-ts-edge": "latest", + "nuxt-ts": "latest", "vue-property-decorator": "^7.3.0" }, "scripts": { diff --git a/examples/typescript/tsconfig.json b/examples/typescript/tsconfig.json index b2825067b2..62357534f4 100644 --- a/examples/typescript/tsconfig.json +++ b/examples/typescript/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "@nuxt/typescript-edge", + "extends": "@nuxt/typescript", "compilerOptions": { "baseUrl": ".", "types": [ "@types/node", - "@nuxt/vue-app-edge" + "@nuxt/vue-app" ] }, } diff --git a/examples/uikit/package.json b/examples/uikit/package.json index ab8bbdce75..6340233176 100644 --- a/examples/uikit/package.json +++ b/examples/uikit/package.json @@ -1,7 +1,7 @@ { "name": "example-uikit", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "uikit": "^3.0.0-beta.30", "jquery": "^3.2.1" }, diff --git a/examples/vue-apollo/package.json b/examples/vue-apollo/package.json index f2344fbc0d..704507342c 100644 --- a/examples/vue-apollo/package.json +++ b/examples/vue-apollo/package.json @@ -2,7 +2,7 @@ "name": "example-vue-apollo", "dependencies": { "@nuxtjs/apollo": "^2.1.1", - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/vue-chartjs/package.json b/examples/vue-chartjs/package.json index 0157c6b051..0a0be106da 100644 --- a/examples/vue-chartjs/package.json +++ b/examples/vue-chartjs/package.json @@ -4,7 +4,7 @@ "axios": "^0.16.2", "chart.js": "^2.7.1", "moment": "^2.18.1", - "nuxt-edge": "latest", + "nuxt": "latest", "vue-chartjs": "^3.1.0" }, "scripts": { diff --git a/examples/vue-class-component/package.json b/examples/vue-class-component/package.json index 6b57af78d7..6cb041f7f2 100644 --- a/examples/vue-class-component/package.json +++ b/examples/vue-class-component/package.json @@ -1,7 +1,7 @@ { "name": "example-vue-class-component", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "nuxt-class-component": "latest" }, "scripts": { diff --git a/examples/vuex-persistedstate/package.json b/examples/vuex-persistedstate/package.json index ede2867060..679bd58b8a 100644 --- a/examples/vuex-persistedstate/package.json +++ b/examples/vuex-persistedstate/package.json @@ -1,7 +1,7 @@ { "name": "example-persisted-state", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "vuex-persistedstate": "^2.0.0" }, "scripts": { diff --git a/examples/vuex-store-modules/package.json b/examples/vuex-store-modules/package.json index d637bb72d7..2b30bc27ab 100644 --- a/examples/vuex-store-modules/package.json +++ b/examples/vuex-store-modules/package.json @@ -1,7 +1,7 @@ { "name": "example-vuex-store-modules", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/vuex-store/package.json b/examples/vuex-store/package.json index cd8ae6f989..f36e0c3ca5 100644 --- a/examples/vuex-store/package.json +++ b/examples/vuex-store/package.json @@ -1,7 +1,7 @@ { "name": "example-vuex-store", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/web-worker/package.json b/examples/web-worker/package.json index b70cd20a47..c417b3bf6e 100644 --- a/examples/web-worker/package.json +++ b/examples/web-worker/package.json @@ -12,7 +12,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "devDependencies": { "babel-eslint": "^8.2.6", diff --git a/examples/with-amp/package.json b/examples/with-amp/package.json index 1480f32ee6..999d240f52 100644 --- a/examples/with-amp/package.json +++ b/examples/with-amp/package.json @@ -2,7 +2,7 @@ "name": "example-with-amp", "version": "1.0.0", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/with-ava/package.json b/examples/with-ava/package.json index 8fe8464d0b..e5f008dea5 100755 --- a/examples/with-ava/package.json +++ b/examples/with-ava/package.json @@ -12,6 +12,6 @@ "jsdom": "^11.0.0" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" } } diff --git a/examples/with-buefy/package.json b/examples/with-buefy/package.json index 4834759a38..126b946569 100644 --- a/examples/with-buefy/package.json +++ b/examples/with-buefy/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "buefy": "^0.5.4", - "nuxt-edge": "latest", + "nuxt": "latest", "vue": "~2.4.4" }, "devDependencies": { diff --git a/examples/with-cookies/package.json b/examples/with-cookies/package.json index 3c2af9e923..c7b01c606f 100644 --- a/examples/with-cookies/package.json +++ b/examples/with-cookies/package.json @@ -3,7 +3,7 @@ "dependencies": { "cookie": "^0.3.1", "js-cookie": "^2.1.4", - "nuxt-edge": "latest", + "nuxt": "latest", "post-update": "yarn upgrade --latest" }, "scripts": { diff --git a/examples/with-element-ui/package.json b/examples/with-element-ui/package.json index 147ec18b70..6e1108f59d 100644 --- a/examples/with-element-ui/package.json +++ b/examples/with-element-ui/package.json @@ -4,7 +4,7 @@ "license": "MIT", "dependencies": { "element-ui": "^2", - "nuxt-edge": "latest", + "nuxt": "latest", "post-update": "yarn upgrade --latest" }, "scripts": { diff --git a/examples/with-feathers/package.json b/examples/with-feathers/package.json index 019a450c2a..f742b4cd5f 100644 --- a/examples/with-feathers/package.json +++ b/examples/with-feathers/package.json @@ -33,7 +33,7 @@ "feathers-rest": "^1.6.0", "feathers-socketio": "^1.4.2", "nedb": "^1.8.0", - "nuxt-edge": "latest", + "nuxt": "latest", "passport": "^0.3.2", "winston": "^2.3.0" }, diff --git a/examples/with-firebase/package.json b/examples/with-firebase/package.json index cafcd33cd4..868a7b25de 100644 --- a/examples/with-firebase/package.json +++ b/examples/with-firebase/package.json @@ -16,6 +16,6 @@ "license": "MIT", "dependencies": { "axios": "^0.15.3", - "nuxt-edge": "latest" + "nuxt": "latest" } } diff --git a/examples/with-keep-alive/package.json b/examples/with-keep-alive/package.json index 8dbc86f2db..9aa427ac1e 100644 --- a/examples/with-keep-alive/package.json +++ b/examples/with-keep-alive/package.json @@ -1,7 +1,7 @@ { "name": "example-with-keep-alive", "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "scripts": { "dev": "nuxt", diff --git a/examples/with-museui/package.json b/examples/with-museui/package.json index d85db357d5..fb60a2449d 100644 --- a/examples/with-museui/package.json +++ b/examples/with-museui/package.json @@ -1,7 +1,7 @@ { "name": "example-with-museui", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "muse-ui": "latest" }, "scripts": { diff --git a/examples/with-purgecss/package.json b/examples/with-purgecss/package.json index f75d058aa1..4807507df8 100644 --- a/examples/with-purgecss/package.json +++ b/examples/with-purgecss/package.json @@ -8,7 +8,7 @@ "post-update": "yarn upgrade --latest" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" }, "devDependencies": { "glob-all": "^3.1.0", diff --git a/examples/with-sockets/package.json b/examples/with-sockets/package.json index 05e83aa105..cb26d42472 100644 --- a/examples/with-sockets/package.json +++ b/examples/with-sockets/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "express": "^4.14.0", - "nuxt-edge": "latest", + "nuxt": "latest", "socket.io": "^1.7.2", "socket.io-client": "^1.7.2" }, diff --git a/examples/with-tape/package.json b/examples/with-tape/package.json index ba15a7697b..73d07461a0 100755 --- a/examples/with-tape/package.json +++ b/examples/with-tape/package.json @@ -17,6 +17,6 @@ "vue-test-utils": "^1.0.0-beta.2" }, "dependencies": { - "nuxt-edge": "latest" + "nuxt": "latest" } } diff --git a/examples/with-vue-material/package.json b/examples/with-vue-material/package.json index 172a6a6d1d..41527211f3 100644 --- a/examples/with-vue-material/package.json +++ b/examples/with-vue-material/package.json @@ -2,7 +2,7 @@ "name": "example-with-vue-material", "version": "1.0.0", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "vue": "~2.4.4", "vue-material": "beta" }, diff --git a/examples/with-vuetify/package.json b/examples/with-vuetify/package.json index a790bcda3b..3e6d3b281a 100644 --- a/examples/with-vuetify/package.json +++ b/examples/with-vuetify/package.json @@ -1,7 +1,7 @@ { "name": "example-with-vuetify", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "vuetify": "latest", "vuetify-loader": "latest" }, diff --git a/examples/with-vuikit/package.json b/examples/with-vuikit/package.json index f20fda65dd..991b564ae5 100644 --- a/examples/with-vuikit/package.json +++ b/examples/with-vuikit/package.json @@ -3,7 +3,7 @@ "dependencies": { "@vuikit/icons": "latest", "@vuikit/theme": "latest", - "nuxt-edge": "latest", + "nuxt": "latest", "vuikit": "latest" }, "scripts": { diff --git a/examples/with-vux/package.json b/examples/with-vux/package.json index bd017b2a7c..d2662ff552 100644 --- a/examples/with-vux/package.json +++ b/examples/with-vux/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "nuxt-edge": "latest", + "nuxt": "latest", "vux": "^2.8.0" }, "scripts": { From 1fb9af33a36188145cf2297af5bf868c42939c86 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Fri, 1 Feb 2019 15:07:55 +0200 Subject: [PATCH 024/221] chore(examples): zero-downtime pm2 typescript example (#4907) --- examples/pm2-typescript/README.md | 26 +++++++++++++++++++++ examples/pm2-typescript/ecosystem.config.js | 13 +++++++++++ examples/pm2-typescript/nuxt.config.ts | 9 +++++++ examples/pm2-typescript/package.json | 18 ++++++++++++++ examples/pm2-typescript/pages/index.vue | 12 ++++++++++ examples/pm2-typescript/tsconfig.json | 10 ++++++++ examples/pm2-typescript/tslint.json | 9 +++++++ 7 files changed, 97 insertions(+) create mode 100644 examples/pm2-typescript/README.md create mode 100644 examples/pm2-typescript/ecosystem.config.js create mode 100644 examples/pm2-typescript/nuxt.config.ts create mode 100644 examples/pm2-typescript/package.json create mode 100644 examples/pm2-typescript/pages/index.vue create mode 100644 examples/pm2-typescript/tsconfig.json create mode 100644 examples/pm2-typescript/tslint.json diff --git a/examples/pm2-typescript/README.md b/examples/pm2-typescript/README.md new file mode 100644 index 0000000000..636cecc3b3 --- /dev/null +++ b/examples/pm2-typescript/README.md @@ -0,0 +1,26 @@ +# PM2 with nuxt-ts example + +[Gracefull zero-downtime restart](https://pm2.io/doc/en/runtime/best-practices/graceful-shutdown/#graceful-start) + +`ecosystem.config.js` - configuration file for pm2 + +`listen_timeout` option depends on your need + +## Zero-downtime deployment +*all depends on your deployment method. It's just example + +#### Directories: +- `$PROJECT_ROOT` - your project root path on server +- `/current` - root dir for nginx(if you are using [proxy configuration](https://nuxtjs.org/faq/nginx-proxy/)) +- `/_tmp` - Temporary dir to install and build project +- `/_old` - Previous build. Can be useful for fast reverting + +#### Steps: +- deploy project to $PROJECT_ROOT/_tmp +- `cd $PROJECT_ROOT/_tmp` +- `npm i` +- `nuxt build` or if you are using TypeScript `nuxt-ts build` +- `mv $PROJECT_ROOT/current $PROJECT_ROOT/_old` +- `mv $PROJECT_ROOT/_tmp $PROJECT_ROOT/current` +- `cd $PROJECT_PATH/current` +- `pm2 startOrReload ecosystem.config.js` diff --git a/examples/pm2-typescript/ecosystem.config.js b/examples/pm2-typescript/ecosystem.config.js new file mode 100644 index 0000000000..12f957ed7d --- /dev/null +++ b/examples/pm2-typescript/ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'pm2-nuxt-ts', + script: './node_modules/.bin/nuxt-ts', + args: 'start', + instances: 2, + exec_mode: 'cluster', + wait_ready: true, + listen_timeout: 5000 + } + ] +} diff --git a/examples/pm2-typescript/nuxt.config.ts b/examples/pm2-typescript/nuxt.config.ts new file mode 100644 index 0000000000..f50231e1fa --- /dev/null +++ b/examples/pm2-typescript/nuxt.config.ts @@ -0,0 +1,9 @@ +export default { + hooks: { + listen () { + if (process.send) { + process.send('ready') + } + } + } +} diff --git a/examples/pm2-typescript/package.json b/examples/pm2-typescript/package.json new file mode 100644 index 0000000000..c087e4795d --- /dev/null +++ b/examples/pm2-typescript/package.json @@ -0,0 +1,18 @@ +{ + "version": "1.0.0", + "private": true, + "dependencies": { + "nuxt-ts": "latest", + "vue-property-decorator": "^7.3.0" + }, + "scripts": { + "dev": "nuxt-ts", + "build": "nuxt-ts build", + "start": "nuxt-ts start", + "generate": "nuxt-ts generate", + "lint": "tslint --project ." + }, + "devDependencies": { + "tslint-config-standard": "^8.0.1" + } +} diff --git a/examples/pm2-typescript/pages/index.vue b/examples/pm2-typescript/pages/index.vue new file mode 100644 index 0000000000..0f6dbe1e07 --- /dev/null +++ b/examples/pm2-typescript/pages/index.vue @@ -0,0 +1,12 @@ + + + diff --git a/examples/pm2-typescript/tsconfig.json b/examples/pm2-typescript/tsconfig.json new file mode 100644 index 0000000000..e088a2e41c --- /dev/null +++ b/examples/pm2-typescript/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "@nuxt/typescript", + "compilerOptions": { + "baseUrl": ".", + "types": [ + "@types/node", + "@nuxt/vue-app" + ] + } +} diff --git a/examples/pm2-typescript/tslint.json b/examples/pm2-typescript/tslint.json new file mode 100644 index 0000000000..085d45bd4b --- /dev/null +++ b/examples/pm2-typescript/tslint.json @@ -0,0 +1,9 @@ +{ + "defaultSeverity": "error", + "extends": [ + "tslint-config-standard" + ], + "rules": { + "prefer-const": true + } +} From 569b6aab9c6f01e107c0d909e57408316e700458 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Fri, 1 Feb 2019 13:08:47 +0000 Subject: [PATCH 025/221] refactor: typos (#4922) --- packages/builder/src/builder.js | 12 ++++++------ packages/core/src/resolver.js | 9 ++++++--- packages/core/test/resolver.test.js | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index dfc55b5030..155ab4871d 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -198,7 +198,7 @@ export default class Builder { validateTemplate() { // Validate template dependencies const templateDependencies = this.template.dependencies - const dpendencyFixes = [] + const dependencyFixes = [] for (const depName in templateDependencies) { const depVersion = templateDependencies[depName] const requiredVersion = `${depName}@${depVersion}` @@ -209,24 +209,24 @@ export default class Builder { const validVersion = semver.satisfies(pkg.version, depVersion) if (!validVersion) { consola.warn(`${requiredVersion} is required but ${depName}@${pkg.version} is installed!`) - dpendencyFixes.push(requiredVersion) + dependencyFixes.push(requiredVersion) } } else { consola.warn(`${depName}@${depVersion} is required but not installed!`) - dpendencyFixes.push(requiredVersion) + dependencyFixes.push(requiredVersion) } } // Suggest dependency fixes (TODO: automate me) - if (dpendencyFixes.length) { + if (dependencyFixes.length) { consola.error( 'Please install missing dependencies:\n', '\n', 'Using yarn:\n', - `yarn add ${dpendencyFixes.join(' ')}\n`, + `yarn add ${dependencyFixes.join(' ')}\n`, '\n', 'Using npm:\n', - `npm i ${dpendencyFixes.join(' ')}\n` + `npm i ${dependencyFixes.join(' ')}\n` ) throw new Error('Missing Template Dependencies') } diff --git a/packages/core/src/resolver.js b/packages/core/src/resolver.js index 684e543df9..7fa3a731ac 100644 --- a/packages/core/src/resolver.js +++ b/packages/core/src/resolver.js @@ -111,11 +111,14 @@ export default class Resolver { throw new Error(`Cannot resolve "${path}" from "${resolvedPath}"`) } - requireModule(path, { esm, useESM = esm, alias, isAlias = alias, intropDefault } = {}) { + requireModule(path, { esm, useESM = esm, alias, isAlias = alias, intropDefault, interopDefault = intropDefault } = {}) { let resolvedPath = path let requiredModule // TODO: Remove in Nuxt 3 + if (intropDefault) { + consola.warn('Using intropDefault is deprecated and will be removed in Nuxt 3. Use `interopDefault` instead.') + } if (alias) { consola.warn('Using alias is deprecated and will be removed in Nuxt 3. Use `isAlias` instead.') } @@ -148,8 +151,8 @@ export default class Resolver { lastError = e } - // Introp default - if (intropDefault !== false && requiredModule && requiredModule.default) { + // Interop default + if (interopDefault !== false && requiredModule && requiredModule.default) { requiredModule = requiredModule.default } diff --git a/packages/core/test/resolver.test.js b/packages/core/test/resolver.test.js index 44f1c5c0a8..21af631add 100644 --- a/packages/core/test/resolver.test.js +++ b/packages/core/test/resolver.test.js @@ -384,14 +384,14 @@ describe('core: resolver', () => { expect(resolvedModule).toEqual('resolved module') }) - test('should require es modules without default export when intropDefault is disabled', () => { + test('should require es modules without default export when interopDefault is disabled', () => { const resolver = new Resolver({ options: {} }) resolver.resolvePath = jest.fn() resolver.esm = jest.fn(() => ({ default: 'resolved module' })) - const resolvedModule = resolver.requireModule('/var/nuxt/resolver/module', { intropDefault: false }) + const resolvedModule = resolver.requireModule('/var/nuxt/resolver/module', { interopDefault: false }) expect(resolvedModule).toEqual({ default: 'resolved module' }) }) From 268851fe858d9cec0adeb38ca85cd4293713c27b Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Fri, 1 Feb 2019 16:04:06 +0000 Subject: [PATCH 026/221] fix: bundle resources other than js(x)/json in node_modules (#4913) --- packages/webpack/src/config/server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/webpack/src/config/server.js b/packages/webpack/src/config/server.js index 0fb29ac6ae..f2e34f1045 100644 --- a/packages/webpack/src/config/server.js +++ b/packages/webpack/src/config/server.js @@ -16,8 +16,7 @@ export default class WebpackServerConfig extends WebpackBaseConfig { normalizeWhitelist() { const whitelist = [ - /\.css$/, - /\?vue&type=style/ + /\.(?!js(x|on)?$)/i ] for (const pattern of this.options.build.transpile) { if (pattern instanceof RegExp) { From ca191240fb204ff41557f01e003bb44dca56ac67 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Fri, 1 Feb 2019 16:25:32 +0000 Subject: [PATCH 027/221] fix: extra properties in templateFiles (#4925) --- packages/builder/src/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index 155ab4871d..7626e3cf5d 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -447,7 +447,7 @@ export default class Builder { dst: t.dst || path.basename(t.src || t), custom: true }, - t + typeof t === 'object' ? t : undefined ) }) ) From cdec133cb31c1fbe53a564e83809c9a06645c6e9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 2 Feb 2019 14:39:07 +0330 Subject: [PATCH 028/221] chore(deps): update all non-major dependencies (#4894) --- package.json | 12 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/typescript/package.json | 4 +- packages/webpack/package.json | 2 +- yarn.lock | 1600 +++--------------------------- 6 files changed, 134 insertions(+), 1488 deletions(-) diff --git a/package.json b/package.json index 65944f5bdd..1629da20f6 100644 --- a/package.json +++ b/package.json @@ -37,16 +37,16 @@ "consola": "^2.3.2", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.12.1", + "eslint": "^5.13.0", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", - "eslint-plugin-jest": "^22.2.0", + "eslint-plugin-jest": "^22.2.2", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.1.0", - "esm": "^3.1.4", + "esm": "^3.2.0", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", @@ -57,12 +57,12 @@ "jest-junit": "^6.2.1", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", - "lerna": "3.10.7", + "lerna": "3.10.8", "lodash": "^4.17.11", "node-fetch": "^2.3.0", "pug": "^2.0.3", "pug-plain-loader": "^1.0.0", - "puppeteer": "^1.11.0", + "puppeteer": "~1.11.0", "request": "^2.88.0", "request-promise-native": "^1.0.5", "rimraf": "^2.6.3", @@ -78,7 +78,7 @@ "ts-jest": "^23.10.5", "ts-loader": "^5.3.3", "tslint": "^5.12.1", - "typescript": "^3.2.4", + "typescript": "^3.3.1", "vue-jest": "^3.0.2", "vue-property-decorator": "^7.3.0" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index ab7800a1b1..a541a8685f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^2.1.0", "chalk": "^2.4.2", "consola": "^2.3.2", - "esm": "^3.1.4", + "esm": "^3.2.0", "execa": "^1.0.0", "minimist": "^1.2.0", "pretty-bytes": "^5.1.0", diff --git a/packages/core/package.json b/packages/core/package.json index 5c0616e9a1..be5c3e7882 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.2", "consola": "^2.3.2", "debug": "^4.1.1", - "esm": "^3.1.4", + "esm": "^3.2.0", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/typescript/package.json b/packages/typescript/package.json index b4049942f6..a535e662f5 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.19", + "@types/node": "^10.12.21", "chalk": "^2.4.2", "consola": "^2.3.2", "enquirer": "^2.3.0", @@ -19,7 +19,7 @@ "ts-loader": "^5.3.3", "ts-node": "^8.0.2", "tslint": "^5.12.1", - "typescript": "^3.2.4" + "typescript": "^3.3.1" }, "publishConfig": { "access": "public" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index ba2e251e64..b803662ad3 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.2", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000932", + "caniuse-lite": "^1.0.30000933", "chalk": "^2.4.2", "consola": "^2.3.2", "css-loader": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index 95400849e3..02e409d5d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -737,16 +737,16 @@ read-package-tree "^5.1.6" semver "^5.5.0" -"@lerna/changed@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.10.6.tgz#48fed2e6c890b39a71f1dac29e42a6f853956d71" - integrity sha512-nZDVq/sKdhgoAg1BVnpqjqUUz5+zedG+AnU+6mjEN2f23YVtRCsW55N4I9eEdW2pxXUaCY85Hj/HPSA74BYaFg== +"@lerna/changed@3.10.8": + version "3.10.8" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.10.8.tgz#7ed17a00c4ca0f6437ce9f7d4925d5e779b8553c" + integrity sha512-K2BQPpSS93uNJqi8A5mwrFR9I6Pa/a0jgR/26jun0Wa39DTOjf5WP7EDvXQ8Pftx5kMdHb5hQDwvMCcBJw25mA== dependencies: "@lerna/collect-updates" "3.10.1" "@lerna/command" "3.10.6" "@lerna/listable" "3.10.6" "@lerna/output" "3.6.0" - "@lerna/version" "3.10.6" + "@lerna/version" "3.10.8" "@lerna/check-working-tree@3.10.0": version "3.10.0" @@ -816,10 +816,10 @@ libnpm "^2.0.1" lodash "^4.17.5" -"@lerna/conventional-commits@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.10.0.tgz#284cc16bd3c387f841ff6bec42bcadaa2d13d8e4" - integrity sha512-8FvO0eR8g/tEgkb6eRVYaD39TsqMKsOXp17EV48jciciEqcrF/d1Ypu6ilK1GDp6R/1m2mbjt/b52a/qrO+xaw== +"@lerna/conventional-commits@3.10.8": + version "3.10.8" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.10.8.tgz#b9f6dd8a09bc679f6afbb8296456de59e268fe3e" + integrity sha512-kjODN5f++nsvNT6w9zPuzN+tfNlq7QaKzy6KOMUb+AvGfI4+AKw8z9Uhr8AGvyuFgyNVI69/vdFaXrWC4iTKtQ== dependencies: "@lerna/validation-error" "3.6.0" conventional-changelog-angular "^5.0.2" @@ -828,6 +828,7 @@ fs-extra "^7.0.0" get-stream "^4.0.0" libnpm "^2.0.1" + pify "^3.0.0" semver "^5.5.0" "@lerna/create-symlink@3.6.0": @@ -1116,10 +1117,10 @@ inquirer "^6.2.0" libnpm "^2.0.1" -"@lerna/publish@3.10.7": - version "3.10.7" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.10.7.tgz#8c5a3268398152e1f7993ff7bb6722a0363797af" - integrity sha512-Qd8pml2l9s6GIvNX1pTnia+Ddjsm9LF3pRRoOQeugAdv2IJNf45c/83AAEyE9M2ShG5VjgxEITNW4Lg49zipjQ== +"@lerna/publish@3.10.8": + version "3.10.8" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.10.8.tgz#fcf73ab2468807f5a8f3339234c2f66f0f65b088" + integrity sha512-kS3zia6knsoN8nd+6ihuwRhicBM6HRmbDgoa4uii4+ZqLVz4dniHYfHCMcZzHYSN8Kj35MsT25Ax1iq5eCjxmQ== dependencies: "@lerna/batch-packages" "3.10.6" "@lerna/check-working-tree" "3.10.0" @@ -1138,7 +1139,7 @@ "@lerna/run-lifecycle" "3.10.5" "@lerna/run-parallel-batches" "3.0.0" "@lerna/validation-error" "3.6.0" - "@lerna/version" "3.10.6" + "@lerna/version" "3.10.8" figgy-pudding "^3.5.1" fs-extra "^7.0.0" libnpm "^2.0.1" @@ -1241,17 +1242,17 @@ dependencies: libnpm "^2.0.1" -"@lerna/version@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.10.6.tgz#c31c2bb1aabbdc851407534155567b5cdf48e0fb" - integrity sha512-77peW2ROlHHl1e/tHBUmhpb8tsO6CIdlx34XapZhUuIVykrkOuqVFFxqMecrGG8SJe0e3l1G+Fah7bJTQcG0kw== +"@lerna/version@3.10.8": + version "3.10.8" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.10.8.tgz#14a645724b0369f84a0bf4c1eb093e8e96a219f1" + integrity sha512-Iko2OkwwkjyK+tIklnH/72M/f54muSiRJurCsC3JqdM8aZaeDXeUrHmAyl7nQLfBlSsHfHyRax/ELkREmO5Tng== dependencies: "@lerna/batch-packages" "3.10.6" "@lerna/check-working-tree" "3.10.0" "@lerna/child-process" "3.3.0" "@lerna/collect-updates" "3.10.1" "@lerna/command" "3.10.6" - "@lerna/conventional-commits" "3.10.0" + "@lerna/conventional-commits" "3.10.8" "@lerna/output" "3.6.0" "@lerna/prompt" "3.6.0" "@lerna/run-lifecycle" "3.10.5" @@ -1329,139 +1330,6 @@ mustache "^2.3.0" stack-trace "0.0.10" -"@octokit/endpoint@^3.1.1": - version "3.1.1" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.1.tgz#ede9afefaa4d6b7584169e12346425c6fbb45cc3" - integrity sha512-KPkoTvKwCTetu/UqonLs1pfwFO5HAqTv/Ksp9y4NAg//ZgUCpvJsT4Hrst85uEzJvkB8+LxKyR4Bfv2X8O4cmQ== - dependencies: - deepmerge "3.0.0" - is-plain-object "^2.0.4" - universal-user-agent "^2.0.1" - url-template "^2.0.8" - -"@octokit/request@2.3.0": - version "2.3.0" - resolved "https://registry.npmjs.org/@octokit/request/-/request-2.3.0.tgz#da2672308bcf0b9376ef66f51bddbe5eb87cc00a" - integrity sha512-5YRqYNZOAaL7+nt7w3Scp6Sz4P2g7wKFP9npx1xdExMomk8/M/ICXVLYVam2wzxeY0cIc6wcKpjC5KI4jiNbGw== - dependencies: - "@octokit/endpoint" "^3.1.1" - is-plain-object "^2.0.4" - node-fetch "^2.3.0" - universal-user-agent "^2.0.1" - -"@octokit/rest@^16.13.1": - version "16.13.3" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.13.3.tgz#706fd99eb94de7fad13c4ebdf2d589bb4df41ba5" - integrity sha512-vrCQYuLkGcFCWe0VyWdRfhmAcyZWLL/Igwz+qnFyRKXn9ml1li0Au8e4hGXbY6Q3kQ+3YWUOGDl3OkO1znh7dA== - dependencies: - "@octokit/request" "2.3.0" - before-after-hook "^1.2.0" - btoa-lite "^1.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" - universal-user-agent "^2.0.0" - url-template "^2.0.8" - -"@semantic-release/changelog@^3": - version "3.0.2" - resolved "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-3.0.2.tgz#b09a8e0d072ef54d2bc7a5c82f6112dc3c8ae85d" - integrity sha512-pDUaBNAuPAqQ+ArHwvR160RG2LbfyIVz9EJXgxH0V547rlx/hCs0Sp7L4Rtzi5Z+d6CHcv9g2ynxplE1xAzp2g== - dependencies: - "@semantic-release/error" "^2.1.0" - aggregate-error "^2.0.0" - fs-extra "^7.0.0" - lodash "^4.17.4" - -"@semantic-release/commit-analyzer@^6", "@semantic-release/commit-analyzer@^6.1.0": - version "6.1.0" - resolved "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-6.1.0.tgz#32bbe3c23da86e23edf072fbb276fa2f383fcb17" - integrity sha512-2lb+t6muGenI86mYGpZYOgITx9L3oZYF697tJoqXeQEk0uw0fm+OkkOuDTBA3Oax9ftoNIrCKv9bwgYvxrbM6w== - dependencies: - conventional-changelog-angular "^5.0.0" - conventional-commits-filter "^2.0.0" - conventional-commits-parser "^3.0.0" - debug "^4.0.0" - import-from "^2.1.0" - lodash "^4.17.4" - -"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0" - integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg== - -"@semantic-release/git@^7": - version "7.0.8" - resolved "https://registry.npmjs.org/@semantic-release/git/-/git-7.0.8.tgz#b9e1af094a19d4e96974b90a969ad0e6782c8727" - integrity sha512-sA+XoPU6GrV+A4YswO0b5JWL1KbzmyyaqUK6Y2poDkIVPlj+oQdi/stpKz/bKF5z9ChMGP87OVPMeUyXGaNFtw== - dependencies: - "@semantic-release/error" "^2.1.0" - aggregate-error "^2.0.0" - debug "^4.0.0" - dir-glob "^2.0.0" - execa "^1.0.0" - fs-extra "^7.0.0" - globby "^9.0.0" - lodash "^4.17.4" - micromatch "^3.1.4" - p-reduce "^1.0.0" - -"@semantic-release/github@^5.1.0": - version "5.2.10" - resolved "https://registry.npmjs.org/@semantic-release/github/-/github-5.2.10.tgz#bf325f11685d59b864c8946d7d30fcb749d89e37" - integrity sha512-z/UwIxKb+EMiJDIy/57MBzJ80ar5H9GJQRyML/ILQ8dlrPwXs7cTyTvC7AesrF7t1mJZtg3ht9Qf9RdtR/LGzw== - dependencies: - "@octokit/rest" "^16.13.1" - "@semantic-release/error" "^2.2.0" - aggregate-error "^2.0.0" - bottleneck "^2.0.1" - debug "^4.0.0" - dir-glob "^2.0.0" - fs-extra "^7.0.0" - globby "^9.0.0" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.1" - issue-parser "^3.0.0" - lodash "^4.17.4" - mime "^2.0.3" - p-filter "^1.0.0" - p-retry "^3.0.0" - parse-github-url "^1.0.1" - url-join "^4.0.0" - -"@semantic-release/npm@^5", "@semantic-release/npm@^5.0.5": - version "5.1.4" - resolved "https://registry.npmjs.org/@semantic-release/npm/-/npm-5.1.4.tgz#970b62765e6c5d51f94e1c14d3bc1f5a224e2ed0" - integrity sha512-YRl8VTVwnRTl/sVRvTXs1ncYcuvuGrqPEXYy+lUK1YRLq25hkrhIdv3Ju0u1zGLqVCA8qRlF3NzWl7pULJXVog== - dependencies: - "@semantic-release/error" "^2.2.0" - aggregate-error "^2.0.0" - execa "^1.0.0" - fs-extra "^7.0.0" - lodash "^4.17.4" - nerf-dart "^1.0.0" - normalize-url "^4.0.0" - npm "6.5.0" - rc "^1.2.8" - read-pkg "^4.0.0" - registry-auth-token "^3.3.1" - -"@semantic-release/release-notes-generator@^7", "@semantic-release/release-notes-generator@^7.1.2": - version "7.1.4" - resolved "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-7.1.4.tgz#8f4f752c5a8385abdaac1256127cef05988bc2ad" - integrity sha512-pWPouZujddgb6t61t9iA9G3yIfp3TeQ7bPbV1ixYSeP6L7gI1+Du82fY/OHfEwyifpymLUQW0XnIKgKct5IMMw== - dependencies: - conventional-changelog-angular "^5.0.0" - conventional-changelog-writer "^4.0.0" - conventional-commits-filter "^2.0.0" - conventional-commits-parser "^3.0.0" - debug "^4.0.0" - get-stream "^4.0.0" - import-from "^2.1.0" - into-stream "^4.0.0" - lodash "^4.17.4" - "@types/babel-types@*", "@types/babel-types@^7.0.0": version "7.0.4" resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.4.tgz#bfd5b0d0d1ba13e351dff65b6e52783b816826c8" @@ -1484,10 +1352,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== -"@types/node@^10.12.19": - version "10.12.19" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.19.tgz#ca1018c26be01f07e66ac7fefbeb6407e4490c61" - integrity sha512-2NVovndCjJQj6fUUn9jCgpP4WSqr+u1SoUZMZyJkhGeBFsm6dE46l31S7lPUYt9uQ28XI+ibrJA1f5XyH5HNtA== +"@types/node@^10.12.21": + version "10.12.21" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.21.tgz#7e8a0c34cf29f4e17a36e9bd0ea72d45ba03908e" + integrity sha512-CBgLNk4o3XMnqMc0rhb6lc77IwShMEglz05deDcn2lQxyXEZivfwgYJu7SMha9V5XcrP6qZuevTHV/QrN2vjKQ== "@types/q@^1.5.1": version "1.5.1" @@ -1754,7 +1622,7 @@ abab@^2.0.0: resolved "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" integrity sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w== -abbrev@1, abbrev@~1.1.1: +abbrev@1: version "1.1.1" resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== @@ -1831,14 +1699,6 @@ agentkeepalive@^3.4.1: dependencies: humanize-ms "^1.2.1" -aggregate-error@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-2.0.0.tgz#65bd82beba40097eacb2f1077a5b55c593b18abc" - integrity sha512-xA1VQPApQdDehIIpS3gBFkMGDRb9pDYwZPVUOoX8A0lU3GB0mjiACqsa9ByBurU53erhjamf5I4VNRitCfXhjg== - dependencies: - clean-stack "^2.0.0" - indent-string "^3.0.0" - ajv-errors@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" @@ -1873,13 +1733,6 @@ alphanum-sort@^1.0.0: resolved "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM= -ansi-align@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" - integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= - dependencies: - string-width "^2.0.0" - ansi-align@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" @@ -1929,16 +1782,6 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansicolors@~0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" - integrity sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk= - -ansistyles@~0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" - integrity sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk= - anymatch@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" @@ -1954,7 +1797,7 @@ append-transform@^0.4.0: dependencies: default-require-extensions "^1.0.0" -aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2, aproba@~1.2.0: +aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2: version "1.2.0" resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== @@ -1964,11 +1807,6 @@ aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2, aproba@~1.2.0: resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -archy@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= - are-we-there-yet@~1.1.2: version "1.1.5" resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" @@ -1989,11 +1827,6 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -argv-formatter@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz#a0ca0cbc29a5b73e836eebe1cbf6c5e0e4eb82f9" - integrity sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk= - argv@^0.0.2: version "0.0.2" resolved "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab" @@ -2061,7 +1894,7 @@ array-reduce@~0.0.0: resolved "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b" integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys= -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= @@ -2073,11 +1906,6 @@ array-uniq@^1.0.1: resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= -array-uniq@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-2.0.0.tgz#0009e30306e37a6dd2e2e2480db5316fdade1583" - integrity sha512-O3QZEr+3wDj7otzF7PjNGs6CA3qmYMLvt5xGkjY/V0VxS+ovvqVo/5wKM/OVOAyuX4DTh9H31zE/yKtO66hTkg== - array-unique@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" @@ -2428,11 +2256,6 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -before-after-hook@^1.2.0: - version "1.3.2" - resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-1.3.2.tgz#7bfbf844ad670aa7a96b5a4e4e15bd74b08ed66b" - integrity sha512-zyPgY5dgbf99c0uGUjhY4w+mxqEGxPKg9RQDl34VvrVh2bM31lFN+mwR1ZHepq/KA3VCPk1gwJZL6IIJqjLy2w== - bfj@^6.1.1: version "6.1.1" resolved "https://registry.npmjs.org/bfj/-/bfj-6.1.1.tgz#05a3b7784fbd72cfa3c22e56002ef99336516c48" @@ -2507,24 +2330,6 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -bottleneck@^2.0.1: - version "2.15.3" - resolved "https://registry.npmjs.org/bottleneck/-/bottleneck-2.15.3.tgz#64f2fc1a5e4c506fd5b73863ac3f2ab1d2d6a349" - integrity sha512-2sHF/gMwTshF//gQninQBEHDNBXuvDLfSczPHpDc2U/9SC+P/97Zt01hy7UTEV0atSZ9BQBIHsdju/6wn7m4+w== - -boxen@^1.2.1: - version "1.3.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" - integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== - dependencies: - ansi-align "^2.0.0" - camelcase "^4.0.0" - chalk "^2.0.1" - cli-boxes "^1.0.0" - string-width "^2.0.0" - term-size "^1.2.0" - widest-line "^2.0.0" - boxen@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/boxen/-/boxen-2.1.0.tgz#8d576156e33fc26a34d6be8635fd16b1d745f0b2" @@ -2670,11 +2475,6 @@ bser@^2.0.0: dependencies: node-int64 "^0.4.0" -btoa-lite@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" - integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= - buffer-from@1.x, buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" @@ -2729,26 +2529,7 @@ bytes@3.0.0: resolved "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= -cacache@^10.0.4: - version "10.0.4" - resolved "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460" - integrity sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA== - dependencies: - bluebird "^3.5.1" - chownr "^1.0.1" - glob "^7.1.2" - graceful-fs "^4.1.11" - lru-cache "^4.1.1" - mississippi "^2.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.2" - ssri "^5.2.4" - unique-filename "^1.1.0" - y18n "^4.0.0" - -cacache@^11.0.1, cacache@^11.0.2, cacache@^11.2.0, cacache@^11.3.2: +cacache@^11.0.1, cacache@^11.0.2, cacache@^11.3.2: version "11.3.2" resolved "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz#2d81e308e3d258ca38125b676b98b2ac9ce69bfa" integrity sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg== @@ -2794,11 +2575,6 @@ cache-loader@^2.0.1: normalize-path "^3.0.0" schema-utils "^1.0.0" -call-limit@~1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/call-limit/-/call-limit-1.1.0.tgz#6fd61b03f3da42a2cd0ec2b60f02bd0e71991fea" - integrity sha1-b9YbA/PaQqLNDsK2DwK9DnGZH+o= - call-me-maybe@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" @@ -2863,7 +2639,7 @@ camelcase@^2.0.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= -camelcase@^4.0.0, camelcase@^4.1.0: +camelcase@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= @@ -2888,10 +2664,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000930.tgz#c238bab82bedb462bcbdc61d0334932dcc084d8a" integrity sha512-KD+pw9DderBLB8CGqBzYyFWpnrPVOEjsjargU/CvkNyg60od3cxSPTcTeMPhxJhDbkQPWvOz5BAyBzNl/St9vg== -caniuse-lite@^1.0.30000932: - version "1.0.30000932" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000932.tgz#d01763e9ce77810962ca7391ff827b5949ce4272" - integrity sha512-4bghJFItvzz8m0T3lLZbacmEY9X1Z2AtIzTr7s7byqZIOumASfr4ynDx7rtm0J85nDmx8vsgR6vnaSoeU8Oh0A== +caniuse-lite@^1.0.30000933: + version "1.0.30000933" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000933.tgz#5871ff54b3177675ae1c2a275b2aae7abf2b9222" + integrity sha512-d3QXv7eFTU40DSedSP81dV/ajcGSKpT+GW+uhtWmLvQm9bPk0KK++7i1e2NSW/CXGZhWFt2mFbFtCJ5I5bMuVA== capture-exit@^1.2.0: version "1.2.0" @@ -2900,19 +2676,6 @@ capture-exit@^1.2.0: dependencies: rsvp "^3.3.3" -capture-stack-trace@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" - integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== - -cardinal@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz#7cc1055d822d212954d07b085dea251cc7bc5505" - integrity sha1-fMEFXYItISlU0HsIXeolHMe8VQU= - dependencies: - ansicolors "~0.3.2" - redeyed "~2.1.0" - caseless@~0.12.0: version "0.12.0" resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -2995,16 +2758,11 @@ chokidar@^2.0.2, chokidar@^2.0.4: optionalDependencies: fsevents "^1.2.2" -chownr@^1.0.1, chownr@^1.1.1: +chownr@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g== -chownr@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" - integrity sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE= - chrome-trace-event@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz#45a91bd2c20c9411f0963b5aaeb9a1b95e09cc48" @@ -3017,13 +2775,6 @@ ci-info@^1.5.0, ci-info@^1.6.0: resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== -cidr-regex@^2.0.10: - version "2.0.10" - resolved "https://registry.npmjs.org/cidr-regex/-/cidr-regex-2.0.10.tgz#af13878bd4ad704de77d6dc800799358b3afa70d" - integrity sha512-sB3ogMQXWvreNPbJUZMRApxuRYd+KoIo4RGQ81VatjmMW6WJPo+IJZ2846FGItr9VzKo5w7DXzijPLGtSd0N3Q== - dependencies: - ip-regex "^2.1.0" - cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -3054,24 +2805,11 @@ clean-css@4.2.x, clean-css@^4.1.11: dependencies: source-map "~0.6.0" -clean-stack@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.0.0.tgz#301bfa9e8dd2d3d984c0e542f7aa67b996f63e0a" - integrity sha512-VEoL9Qh7I8s8iHnV53DaeWSt8NJ0g3khMfK6NiCPB7H657juhro+cSw2O88uo3bo0c0X5usamtXk0/Of0wXa5A== - cli-boxes@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= -cli-columns@^3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/cli-columns/-/cli-columns-3.1.2.tgz#6732d972979efc2ae444a1f08e08fa139c96a18e" - integrity sha1-ZzLZcpee/CrkRKHwjgj6E5yWoY4= - dependencies: - string-width "^2.0.0" - strip-ansi "^3.0.1" - cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -3089,13 +2827,6 @@ cli-table3@^0.5.0: optionalDependencies: colors "^1.1.2" -cli-table@^0.3.1: - version "0.3.1" - resolved "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" - integrity sha1-9TsFJmqLGguTSz0IIebi3FkUriM= - dependencies: - colors "1.0.3" - cli-width@^2.0.0: version "2.2.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -3129,7 +2860,7 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -cmd-shim@^2.0.2, cmd-shim@~2.0.2: +cmd-shim@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz#6fcbda99483a8fd15d7d30a196ca69d688a2efdb" integrity sha1-b8vamUg6j9FdfTChlspp1oii79s= @@ -3208,11 +2939,6 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.2" -colors@1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs= - colors@^1.1.2: version "1.3.3" resolved "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" @@ -3223,7 +2949,7 @@ colors@~1.1.2: resolved "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM= -columnify@^1.5.4, columnify@~1.5.4: +columnify@^1.5.4: version "1.5.4" resolved "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs= @@ -3296,7 +3022,7 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@1.6.2, concat-stream@^1.5.0, concat-stream@^1.5.2, concat-stream@^1.6.0: +concat-stream@1.6.2, concat-stream@^1.5.0, concat-stream@^1.6.0: version "1.6.2" resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3314,18 +3040,6 @@ config-chain@^1.1.11, config-chain@^1.1.12: ini "^1.3.4" proto-list "~1.2.1" -configstore@^3.0.0: - version "3.1.2" - resolved "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" - integrity sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw== - dependencies: - dot-prop "^4.1.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" - connect@^3.6.6: version "3.6.6" resolved "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz#09eff6c55af7236e137135a72574858b6786f524" @@ -3354,7 +3068,7 @@ console-browserify@^1.1.0: dependencies: date-now "^0.1.4" -console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: +console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= @@ -3396,7 +3110,7 @@ content-type@~1.0.4: resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -conventional-changelog-angular@^5.0.0, conventional-changelog-angular@^5.0.2: +conventional-changelog-angular@^5.0.2: version "5.0.2" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.2.tgz#39d945635e03b6d0c9d4078b1df74e06163dc66a" integrity sha512-yx7m7lVrXmt4nKWQgWZqxSALEiAKZhOAcbxdUaU9575mB0CzXVbgrgpfSnSP7OqWDUTYGD0YVJ0MSRdyOPgAwA== @@ -3428,7 +3142,7 @@ conventional-changelog-preset-loader@^2.0.2: resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.0.2.tgz#81d1a07523913f3d17da3a49f0091f967ad345b0" integrity sha512-pBY+qnUoJPXAXXqVGwQaVmcye05xi6z231QM98wHWamGAmu/ghkBprQAwmF5bdmyobdVxiLhPY3PrCfSeUNzRQ== -conventional-changelog-writer@^4.0.0, conventional-changelog-writer@^4.0.2: +conventional-changelog-writer@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.2.tgz#eb493ed84269e7a663da36e49af51c54639c9a67" integrity sha512-d8/FQY/fix2xXEBUhOo8u3DCbyEw3UOQgYHxLsPDw+wHUDma/GQGAGsGtoH876WyNs32fViHmTOUrgRKVLvBug== @@ -3444,7 +3158,7 @@ conventional-changelog-writer@^4.0.0, conventional-changelog-writer@^4.0.2: split "^1.0.0" through2 "^2.0.0" -conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.1: +conventional-commits-filter@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.1.tgz#55a135de1802f6510b6758e0a6aa9e0b28618db3" integrity sha512-92OU8pz/977udhBjgPEbg3sbYzIxMDFTlQT97w7KdhR9igNqdJvy8smmedAAgn4tPiqseFloKkrVfbXCVd+E7A== @@ -3452,7 +3166,7 @@ conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.1: is-subset "^0.1.1" modify-values "^1.0.0" -conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.1: +conventional-commits-parser@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.0.1.tgz#fe1c49753df3f98edb2285a5e485e11ffa7f2e4c" integrity sha512-P6U5UOvDeidUJ8ebHVDIoXzI7gMlQ1OF/id6oUvp8cnZvOXMt1n8nYl74Ey9YMn0uVQtxmCtjPQawpsssBWtGg== @@ -3533,7 +3247,7 @@ cosmiconfig@^4.0.0: parse-json "^4.0.0" require-from-string "^2.0.1" -cosmiconfig@^5.0.0, cosmiconfig@^5.0.1, cosmiconfig@^5.0.2: +cosmiconfig@^5.0.0, cosmiconfig@^5.0.2: version "5.0.7" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.0.7.tgz#39826b292ee0d78eda137dfa3173bd1c21a43b04" integrity sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA== @@ -3551,13 +3265,6 @@ create-ecdh@^4.0.0: bn.js "^4.1.0" elliptic "^6.0.0" -create-error-class@^3.0.0: - version "3.0.2" - resolved "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" - integrity sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y= - dependencies: - capture-stack-trace "^1.0.0" - create-hash@^1.1.0, create-hash@^1.1.2: version "1.2.0" resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" @@ -3626,11 +3333,6 @@ crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" -crypto-random-string@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" - integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= - css-blank-pseudo@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-0.1.4.tgz#dfdefd3254bf8a82027993674ccf35483bfcb3c5" @@ -3940,14 +3642,14 @@ debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: +debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== dependencies: ms "^2.1.1" -debuglog@*, debuglog@^1.0.1: +debuglog@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -3985,11 +3687,6 @@ deep-is@~0.1.3: resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= -deepmerge@3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.0.0.tgz#ca7903b34bfa1f8c2eab6779280775a411bfc6ba" - integrity sha512-a8z8bkgHsAML+uHLqmMS83HHlpy3PvZOOuiTQqaa3wu8ZVg3h0hqHk6aCsGdOnZV2XMM/FRimNGjUh0KCcmHBw== - deepmerge@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.1.0.tgz#a612626ce4803da410d77554bfd80361599c034d" @@ -4082,7 +3779,7 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" -detect-indent@^5.0.0, detect-indent@~5.0.0: +detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= @@ -4097,7 +3794,7 @@ detect-newline@^2.1.0: resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I= -dezalgo@^1.0.0, dezalgo@~1.0.3: +dezalgo@^1.0.0: version "1.0.3" resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= @@ -4127,13 +3824,6 @@ dir-glob@2.0.0: arrify "^1.0.1" path-type "^3.0.0" -dir-glob@^2.0.0, dir-glob@^2.2.1: - version "2.2.2" - resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - doctrine@1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" @@ -4235,30 +3925,13 @@ dot-prop@^3.0.0: dependencies: is-obj "^1.0.0" -dot-prop@^4.1.0, dot-prop@^4.1.1, dot-prop@^4.2.0: +dot-prop@^4.1.1, dot-prop@^4.2.0: version "4.2.0" resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== dependencies: is-obj "^1.0.0" -dotenv@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" - integrity sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow== - -duplexer2@~0.1.0: - version "0.1.4" - resolved "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" - integrity sha1-ixLauHjA1p4+eJEFFmKjL8a93ME= - dependencies: - readable-stream "^2.0.2" - -duplexer3@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" - integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= - duplexer@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" @@ -4282,11 +3955,6 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -editor@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/editor/-/editor-1.0.0.tgz#60c7f87bd62bcc6a894fa8ccd6afb7823a24f742" - integrity sha1-YMf4e9YrzGqJT6jM1q+3gjok90I= - editorconfig@^0.15.2: version "0.15.2" resolved "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.2.tgz#047be983abb9ab3c2eefe5199cb2b7c5689f0702" @@ -4387,14 +4055,6 @@ entities@^1.1.1, entities@~1.1.1: resolved "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== -env-ci@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/env-ci/-/env-ci-3.2.0.tgz#982f02a0501ca8c43bf0765c5bd3d83ffb28b23a" - integrity sha512-TFjNiDlXrL8/pfHswdvJGEZzJcq3aBPb8Eka83hlGLwuNw9F9BC9S9ETlkfkItLRT9k5JgpGgeP+rL6/3cEbcw== - dependencies: - execa "^1.0.0" - java-properties "^0.2.9" - err-code@^1.0.0: version "1.1.2" resolved "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" @@ -4530,17 +4190,10 @@ eslint-plugin-import@^2.16.0: read-pkg-up "^2.0.0" resolve "^1.9.0" -eslint-plugin-jest@^22.2.0: - version "22.2.0" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.2.0.tgz#8178c7ed05cc161fa54b557818d6eb84e9de03de" - integrity sha512-bwtSH4T44fILboewWOA0k+FBhRFt2/rVfGRqRR4HcIOrOR3da3uorhKARjVqx6N58AX5Srb1v0XAxUK3t+SkiA== - dependencies: - "@semantic-release/changelog" "^3" - "@semantic-release/commit-analyzer" "^6" - "@semantic-release/git" "^7" - "@semantic-release/npm" "^5" - "@semantic-release/release-notes-generator" "^7" - semantic-release "15" +eslint-plugin-jest@^22.2.2: + version "22.2.2" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.2.2.tgz#2a80d70a20c27dfb1503a6f32cdcb647fe5476df" + integrity sha512-hnWgh9o39VJfz6lJEyQJdTW7dN2yynlGkmPOlU/oMHh+d7WVMsJP1GeDTB520VCDljEdKExCwD5IBpQIUl4mJg== eslint-plugin-node@^8.0.1: version "8.0.1" @@ -4597,10 +4250,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.12.1: - version "5.12.1" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.12.1.tgz#5ca9931fb9029d04e7be92b03ce3b58edfac7e3b" - integrity sha512-54NV+JkTpTu0d8+UYSA8mMKAG4XAsaOrozA9rCW7tgneg1mevcL7wIotPC+fZ0SkWwdhNqoXoxnQCTBp7UvTsg== +eslint@^5.13.0: + version "5.13.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.13.0.tgz#ce71cc529c450eed9504530939aa97527861ede9" + integrity sha512-nqD5WQMisciZC5EHZowejLKQjWGuFS5c70fxqSKlnDME+oz9zmE8KTlX+lHSg+/5wsC/kf9Q9eMkC8qS3oM2fg== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.5.3" @@ -4631,7 +4284,6 @@ eslint@^5.12.1: natural-compare "^1.4.0" optionator "^0.8.2" path-is-inside "^1.0.2" - pluralize "^7.0.0" progress "^2.0.0" regexpp "^2.0.1" semver "^5.5.1" @@ -4640,10 +4292,10 @@ eslint@^5.12.1: table "^5.0.2" text-table "^0.2.0" -esm@^3.1.4: - version "3.1.4" - resolved "https://registry.npmjs.org/esm/-/esm-3.1.4.tgz#d75f7c1b16e5be57e0446c267d8c0fda9566983d" - integrity sha512-GScwIz0110RTNzBmAQEdqaAYkD9zVhj2Jo+jeizjIcdyTw+C6S0Zv/dlPYgfF41hRTu2f1vQYliubzIkusx2gA== +esm@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.0.tgz#089011156cf817ccdae38c877cbe03301df04136" + integrity sha512-yK4IiHmmInOk9q4xbJXdUfPV0ju7GbRCbhtpe5/gH7nRiD6RAb12Ix7zfsqQkDL5WERwzFlq/eT6zTXDWwIk+w== espree@^4.1.0: version "4.1.0" @@ -4668,7 +4320,7 @@ esprima@^3.1.3: resolved "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM= -esprima@^4.0.0, esprima@~4.0.0: +esprima@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== @@ -4732,19 +4384,6 @@ exec-sh@^0.2.0: dependencies: merge "^1.2.0" -execa@^0.10.0: - version "0.10.0" - resolved "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" - integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== - dependencies: - cross-spawn "^6.0.0" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - execa@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -4944,7 +4583,7 @@ fast-deep-equal@^2.0.1: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-glob@^2.0.2, fast-glob@^2.2.6: +fast-glob@^2.0.2: version "2.2.6" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.6.tgz#a5d5b697ec8deda468d85a74035290a025a95295" integrity sha512-0BvMaZc1k9F+MeWWMe8pL6YltFzZYcJsYU7D4JyDA6PAczaXvxqQQ/z+mDF7/4Mw01DeUc+i3CTKajnkANkV4w== @@ -4985,7 +4624,7 @@ fd-slicer@~1.0.1: dependencies: pend "~1.2.0" -figgy-pudding@^3.0.0, figgy-pudding@^3.1.0, figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: +figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: version "3.5.1" resolved "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== @@ -5131,14 +4770,6 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -find-versions@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/find-versions/-/find-versions-3.0.0.tgz#2c05a86e839c249101910100b354196785a2c065" - integrity sha512-IUvtItVFNmTtKoB0PRfbkR0zR9XMG5rWNO3qI1S8L0zdv+v2gqzM0pAunloxqbqAfT8w7bg8n/5gHzTXte8H5A== - dependencies: - array-uniq "^2.0.0" - semver-regex "^2.0.0" - flat-cache@^1.2.1: version "1.3.4" resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz#2c2ef77525cc2929007dfffa1dd314aa9c9dee6f" @@ -5217,15 +4848,7 @@ fresh@0.5.2, fresh@^0.5.2: resolved "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= -from2@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/from2/-/from2-1.3.0.tgz#88413baaa5f9a597cfde9221d86986cd3c061dfd" - integrity sha1-iEE7qqX5pZfP3pIh2GmGzTwGHf0= - dependencies: - inherits "~2.0.1" - readable-stream "~1.1.10" - -from2@^2.1.0, from2@^2.1.1: +from2@^2.1.0: version "2.3.0" resolved "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= @@ -5249,7 +4872,7 @@ fs-minipass@^1.2.5: dependencies: minipass "^2.2.1" -fs-vacuum@^1.2.10, fs-vacuum@~1.2.10: +fs-vacuum@^1.2.10: version "1.2.10" resolved "https://registry.npmjs.org/fs-vacuum/-/fs-vacuum-1.2.10.tgz#b7629bec07a4031a2548fdf99f5ecf1cc8b31e36" integrity sha1-t2Kb7AekAxolSP35n17PHMizHjY= @@ -5258,7 +4881,7 @@ fs-vacuum@^1.2.10, fs-vacuum@~1.2.10: path-is-inside "^1.0.1" rimraf "^2.5.2" -fs-write-stream-atomic@^1.0.8, fs-write-stream-atomic@~1.0.10: +fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= @@ -5320,7 +4943,7 @@ genfun@^5.0.0: resolved "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== -gentle-fs@^2.0.0, gentle-fs@^2.0.1: +gentle-fs@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/gentle-fs/-/gentle-fs-2.0.1.tgz#585cfd612bfc5cd52471fdb42537f016a5ce3687" integrity sha512-cEng5+3fuARewXktTEGbwsktcldA+YsnUEaXZwcK/3pjSE1X9ObnTs+/8rYf8s+RnIcQm2D5x3rwpN7Zom8Bew== @@ -5389,18 +5012,6 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" -git-log-parser@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz#2e6a4c1b13fc00028207ba795a7ac31667b9fd4a" - integrity sha1-LmpMGxP8AAKCB7p5WnrDFme5/Uo= - dependencies: - argv-formatter "~1.0.0" - spawn-error-forwarder "~1.0.0" - split2 "~1.0.0" - stream-combiner2 "~1.1.1" - through2 "~2.0.0" - traverse "~0.6.6" - git-raw-commits@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" @@ -5475,13 +5086,6 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -global-dirs@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= - dependencies: - ini "^1.3.4" - globals@^11.1.0, globals@^11.7.0: version "11.10.0" resolved "https://registry.npmjs.org/globals/-/globals-11.10.0.tgz#1e09776dffda5e01816b3bb4077c8b59c24eaa50" @@ -5505,36 +5109,6 @@ globby@^8.0.1: pify "^3.0.0" slash "^1.0.0" -globby@^9.0.0: - version "9.0.0" - resolved "https://registry.npmjs.org/globby/-/globby-9.0.0.tgz#3800df736dc711266df39b4ce33fe0d481f94c23" - integrity sha512-q0qiO/p1w/yJ0hk8V9x1UXlgsXUxlGd0AHUOXZVXBO6aznDtpx7M8D1kBrCAItoPm+4l8r6ATXV1JpjY2SBQOw== - dependencies: - array-union "^1.0.2" - dir-glob "^2.2.1" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" - -got@^6.7.1: - version "6.7.1" - resolved "https://registry.npmjs.org/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" - integrity sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA= - dependencies: - create-error-class "^3.0.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-redirect "^1.0.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - 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.6: version "4.1.15" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" @@ -5608,11 +5182,6 @@ has-flag@^1.0.0: resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= -has-flag@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" - integrity sha1-6CB68cx7MNRGzHC3NLXovhj4jVE= - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5623,7 +5192,7 @@ has-symbols@^1.0.0: resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q= -has-unicode@^2.0.0, has-unicode@^2.0.1, has-unicode@~2.0.1: +has-unicode@^2.0.0, has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= @@ -5719,17 +5288,12 @@ home-or-tmp@^3.0.0: resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz#57a8fe24cf33cdd524860a15821ddc25c86671fb" integrity sha1-V6j+JM8zzdUkhgoVgh3cJchmcfs= -hook-std@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/hook-std/-/hook-std-1.2.0.tgz#b37d533ea5f40068fe368cb4d022ee1992588c27" - integrity sha512-yntre2dbOAjgQ5yoRykyON0D9T96BfshR8IuiL/r3celeHD8I/76w4qo8m3z99houR4Z678jakV3uXrQdSvW/w== - hoopy@^0.1.2: version "0.1.4" resolved "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== -hosted-git-info@^2.1.4, hosted-git-info@^2.6.0, hosted-git-info@^2.7.1: +hosted-git-info@^2.1.4, hosted-git-info@^2.6.0: version "2.7.1" resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== @@ -5851,7 +5415,7 @@ https-browserify@^1.0.0: resolved "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= -https-proxy-agent@^2.2.0, https-proxy-agent@^2.2.1: +https-proxy-agent@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" integrity sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ== @@ -5902,11 +5466,6 @@ iferr@^0.1.5: resolved "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= -iferr@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/iferr/-/iferr-1.0.2.tgz#e9fde49a9da06dc4a4194c6c9ed6d08305037a6d" - integrity sha512-9AfeLfji44r5TKInjhz3W9DyZI1zR1JAf2hVBMGhddAKPqBsupb89jGfbCTHIGZd6fGZl9WlHdn4AObygyMKwg== - ignore-walk@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" @@ -5919,7 +5478,7 @@ ignore@^3.3.5: resolved "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== -ignore@^4.0.3, ignore@^4.0.6: +ignore@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== @@ -5964,11 +5523,6 @@ import-from@^2.1.0: dependencies: resolve-from "^3.0.0" -import-lazy@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" - integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= - import-local@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" @@ -5977,7 +5531,7 @@ import-local@^1.0.0: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" -imurmurhash@*, imurmurhash@^0.1.4: +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -6004,7 +5558,7 @@ indexof@0.0.1: resolved "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" integrity sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10= -inflight@^1.0.4, inflight@~1.0.6: +inflight@^1.0.4: version "1.0.6" resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= @@ -6060,14 +5614,6 @@ inquirer@^6.1.0, inquirer@^6.2.0: strip-ansi "^5.0.0" through "^2.3.6" -into-stream@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/into-stream/-/into-stream-4.0.0.tgz#ef10ee2ffb6f78af34c93194bbdc36c35f7d8a9d" - integrity sha512-i29KNyE5r0Y/UQzcQ0IbZO1MYJ53Jn0EcFRZPj5FzWKYH17kDFEOwuA+3jroymOI06SW1dEDnly9A1CAreC5dg== - dependencies: - from2 "^2.1.1" - p-is-promise "^2.0.0" - invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -6085,17 +5631,12 @@ invert-kv@^2.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= - ip-regex@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-3.0.0.tgz#0a934694b4066558c46294244a23cc33116bf732" integrity sha512-T8wDtjy+Qf2TAPDQmBp0eGKJ8GavlWlUnamr3wRn6vvdZlKVuJXXMlSncYFRYgVHOM3If5NR1H4+OvVQU9Idvg== -ip@^1.1.4, ip@^1.1.5: +ip@^1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= @@ -6165,13 +5706,6 @@ is-ci@^1.0.10: dependencies: ci-info "^1.5.0" -is-cidr@^2.0.6: - version "2.0.7" - resolved "https://registry.npmjs.org/is-cidr/-/is-cidr-2.0.7.tgz#0fd4b863c26b2eb2d157ed21060c4f3f8dd356ce" - integrity sha512-YfOm5liUO1RoYfFh+lhiGNYtbLzem7IXzFqvfjXh+zLCEuAiznTBlQ2QcMWxsgYeOFmjzljOxJfmZID4/cRBAQ== - dependencies: - cidr-regex "^2.0.10" - is-color-stop@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" @@ -6313,24 +5847,11 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" -is-installed-globally@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" - integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA= - dependencies: - global-dirs "^0.1.0" - is-path-inside "^1.0.0" - is-module@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= - is-number@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -6355,13 +5876,6 @@ is-obj@^1.0.0: resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" - is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -6389,11 +5903,6 @@ is-promise@^2.0.0, is-promise@^2.1.0: resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= - is-regex@^1.0.3, is-regex@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -6406,12 +5915,7 @@ is-resolvable@^1.0.0: resolved "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== -is-retry-allowed@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" - integrity sha1-EaBgVotnM5REAz0BJaYaINVk+zQ= - -is-stream@^1.0.0, is-stream@^1.1.0: +is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -6489,17 +5993,6 @@ isstream@~0.1.2: resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -issue-parser@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/issue-parser/-/issue-parser-3.0.1.tgz#ee8dd677fdb5be64541f81fa5e7267baa271a7ee" - integrity sha512-5wdT3EE8Kq38x/hJD8QZCJ9scGoOZ5QnzwXyClkviSWTS+xOCE6hJ0qco3H5n5jCsFqpbofZCcMWqlXJzF72VQ== - dependencies: - lodash.capitalize "^4.2.1" - lodash.escaperegexp "^4.1.2" - lodash.isplainobject "^4.0.6" - lodash.isstring "^4.0.1" - lodash.uniqby "^4.7.0" - istanbul-api@^1.3.1: version "1.3.7" resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.7.tgz#a86c770d2b03e11e3f778cd7aedd82d2722092aa" @@ -6570,11 +6063,6 @@ istanbul-reports@^1.5.1: dependencies: handlebars "^4.0.3" -java-properties@^0.2.9: - version "0.2.10" - resolved "https://registry.npmjs.org/java-properties/-/java-properties-0.2.10.tgz#2551560c25fa1ad94d998218178f233ad9b18f60" - integrity sha512-CpKJh9VRNhS+XqZtg1UMejETGEiqwCGDC/uwPEEQwc2nfdbSm73SIE29TplG2gLYuBOOTNDqxzG6A9NtEPLt0w== - jest-changed-files@^23.4.2: version "23.4.2" resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.2.tgz#1eed688370cd5eebafe4ae93d34bb3b64968fe83" @@ -7164,13 +6652,6 @@ last-call-webpack-plugin@^3.0.0: lodash "^4.17.5" webpack-sources "^1.1.0" -latest-version@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" - integrity sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU= - dependencies: - package-json "^4.0.0" - launch-editor-middleware@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/launch-editor-middleware/-/launch-editor-middleware-2.2.1.tgz#e14b07e6c7154b0a4b86a0fd345784e45804c157" @@ -7196,11 +6677,6 @@ lazy-cache@^1.0.3: resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= -lazy-property@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/lazy-property/-/lazy-property-1.0.0.tgz#84ddc4b370679ba8bd4cdcfa4c06b43d57111147" - integrity sha1-hN3Es3Bnm6i9TNz6TAa0PVcREUc= - lcid@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -7220,14 +6696,14 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@3.10.7: - version "3.10.7" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.10.7.tgz#9d308b1fee1697f89fe90e6bc37e51c03b531557" - integrity sha512-ha/dehl/L3Nw0pbdir5z6Hrv2oYBg5ym2fTcuk8HCLe7Zdb/ylIHdrgW8CU9eTVZkwr4et8RdVtxFA/+xa65/Q== +lerna@3.10.8: + version "3.10.8" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.10.8.tgz#89e04b5e29f7d6acb3cec7ce59cec2d4343e5cf4" + integrity sha512-Ua5SkZnVk+gtplaw/IiXOckk9TEvNwNyTXJke5gkf0vxku809iRmI7RlI0mKFUjeweBs7AJDgBoD/A+vHst/UQ== dependencies: "@lerna/add" "3.10.6" "@lerna/bootstrap" "3.10.6" - "@lerna/changed" "3.10.6" + "@lerna/changed" "3.10.8" "@lerna/clean" "3.10.6" "@lerna/cli" "3.10.7" "@lerna/create" "3.10.6" @@ -7237,9 +6713,9 @@ lerna@3.10.7: "@lerna/init" "3.10.6" "@lerna/link" "3.10.6" "@lerna/list" "3.10.6" - "@lerna/publish" "3.10.7" + "@lerna/publish" "3.10.8" "@lerna/run" "3.10.6" - "@lerna/version" "3.10.6" + "@lerna/version" "3.10.8" import-local "^1.0.0" libnpm "^2.0.1" @@ -7256,26 +6732,6 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -libcipm@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/libcipm/-/libcipm-2.0.2.tgz#4f38c2b37acf2ec156936cef1cbf74636568fc7b" - integrity sha512-9uZ6/LAflVEijksTRq/RX0e+pGA4mr8tND9Cmk2JMg7j2fFUBrs8PpFX2DOAJR/XoxPzz+5h8bkWmtIYLunKAg== - dependencies: - bin-links "^1.1.2" - bluebird "^3.5.1" - find-npm-prefix "^1.0.2" - graceful-fs "^4.1.11" - lock-verify "^2.0.2" - mkdirp "^0.5.1" - npm-lifecycle "^2.0.3" - npm-logical-tree "^1.2.1" - npm-package-arg "^6.1.0" - pacote "^8.1.6" - protoduck "^5.0.0" - read-package-json "^2.0.13" - rimraf "^2.6.2" - worker-farm "^1.6.0" - libnpm@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/libnpm/-/libnpm-2.0.1.tgz#a48fcdee3c25e13c77eb7c60a0efe561d7fb0d8f" @@ -7321,14 +6777,6 @@ libnpmconfig@^1.2.1: find-up "^3.0.0" ini "^1.3.5" -libnpmhook@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-4.0.1.tgz#63641654de772cbeb96a88527a7fd5456ec3c2d7" - integrity sha512-3qqpfqvBD1712WA6iGe0stkG40WwAeoWcujA6BlC0Be1JArQbqwabnEnZ0CRcD05Tf1fPYJYdCbSfcfedEJCOg== - dependencies: - figgy-pudding "^3.1.0" - npm-registry-fetch "^3.0.0" - libnpmhook@^5.0.2: version "5.0.2" resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-5.0.2.tgz#d12817b0fb893f36f1d5be20017f2aea25825d94" @@ -7383,20 +6831,6 @@ libnpmteam@^1.0.1: get-stream "^4.0.0" npm-registry-fetch "^3.8.0" -libnpx@^10.2.0: - version "10.2.0" - resolved "https://registry.npmjs.org/libnpx/-/libnpx-10.2.0.tgz#1bf4a1c9f36081f64935eb014041da10855e3102" - integrity sha512-X28coei8/XRCt15cYStbLBph+KGhFra4VQhRBPuH/HHMkC5dxM8v24RVgUsvODKCrUZ0eTgiTqJp6zbl0sskQQ== - dependencies: - dotenv "^5.0.1" - npm-package-arg "^6.0.0" - rimraf "^2.6.2" - safe-buffer "^5.1.0" - update-notifier "^2.3.0" - which "^1.3.0" - y18n "^4.0.0" - yargs "^11.0.0" - load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -7476,69 +6910,12 @@ lock-verify@^2.0.2: npm-package-arg "^5.1.2 || 6" semver "^5.4.1" -lockfile@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/lockfile/-/lockfile-1.0.4.tgz#07f819d25ae48f87e538e6578b6964a4981a5609" - integrity sha512-cvbTwETRfsFh4nHsL1eGWapU1XFi5Ot9E85sWAwia7Y7EgB7vfqcZhTKZ+l7hCGxSPoushMv5GKhT5PdLv03WA== - dependencies: - signal-exit "^3.0.2" - -lodash._baseindexof@*: - version "3.1.0" - resolved "https://registry.npmjs.org/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" - integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= - -lodash._baseuniq@~4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" - integrity sha1-DrtE5FaBSveQXGIS+iybLVG4Qeg= - dependencies: - lodash._createset "~4.0.0" - lodash._root "~3.0.0" - -lodash._bindcallback@*: - version "3.0.1" - resolved "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" - integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= - -lodash._cacheindexof@*: - version "3.0.2" - resolved "https://registry.npmjs.org/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" - integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= - -lodash._createcache@*: - version "3.1.2" - resolved "https://registry.npmjs.org/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" - integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= - dependencies: - lodash._getnative "^3.0.0" - -lodash._createset@~4.0.0: - version "4.0.3" - resolved "https://registry.npmjs.org/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" - integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= - -lodash._getnative@*, lodash._getnative@^3.0.0: - version "3.9.1" - resolved "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" - integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= - lodash._reinterpolate@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= -lodash._root@~3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" - integrity sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI= - -lodash.capitalize@^4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9" - integrity sha1-+CbJtOKoUR2E46yinbBeGk87cqk= - -lodash.clonedeep@^4.5.0, lodash.clonedeep@~4.5.0: +lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= @@ -7548,26 +6925,11 @@ lodash.debounce@^4.0.8: resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= -lodash.escaperegexp@^4.1.2: - version "4.1.2" - resolved "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347" - integrity sha1-ZHYsSGGAglGKw99Mz11YhtriA0c= - -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" - integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= - lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= -lodash.isstring@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= - lodash.kebabcase@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" @@ -7578,16 +6940,6 @@ lodash.memoize@^4.1.2: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.restparam@*: - version "3.6.1" - resolved "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" - integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= - -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= - lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -7608,36 +6960,16 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "~3.0.0" -lodash.toarray@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" - integrity sha1-JMS/zWsvuji/0FlNsRedjptlZWE= - -lodash.union@~4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" - integrity sha1-SLtQiECfFvGCFmZkHETdGqrjzYg= - -lodash.uniq@^4.5.0, lodash.uniq@~4.5.0: +lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash.uniqby@^4.7.0: - version "4.7.0" - resolved "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302" - integrity sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI= - lodash.uniqueid@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/lodash.uniqueid/-/lodash.uniqueid-4.0.1.tgz#3268f26a7c88e4f4b1758d679271814e31fa5b26" integrity sha1-MmjyanyI5PSxdY1nknGBTjH6WyY= -lodash.without@~4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac" - integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw= - lodash@4.17.11, lodash@4.x, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: version "4.17.11" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" @@ -7668,12 +7000,7 @@ lower-case@^1.1.1: resolved "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= -lowercase-keys@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" - integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== - -lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2, lru-cache@^4.1.3: +lru-cache@^4.0.1, lru-cache@^4.1.2, lru-cache@^4.1.3: version "4.1.5" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -7688,11 +7015,6 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" -macos-release@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab" - integrity sha512-iCM3ZGeqIzlrH7KxYK+fphlJpCCczyHXc+HhRVbEu9uNTCrzYJjvvtefzeKTCVHd5AP/aD/fzC80JZ4ZP+dQ/A== - magic-string@0.25.1, magic-string@^0.25.1: version "0.25.1" resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" @@ -7712,7 +7034,7 @@ make-error@1.x, make-error@^1.1.1: resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== -"make-fetch-happen@^2.5.0 || 3 || 4", make-fetch-happen@^4.0.1: +make-fetch-happen@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-4.0.1.tgz#141497cb878f243ba93136c83d8aba12c216c083" integrity sha512-7R5ivfy9ilRJ1EMKIOziwrns9fGeAD4bAha8EB7BIiBBLHm2KeTUGCrICFt2rbHfzheTLynv50GnNTK1zDTrcQ== @@ -7729,23 +7051,6 @@ make-error@1.x, make-error@^1.1.1: socks-proxy-agent "^4.0.0" ssri "^6.0.0" -make-fetch-happen@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-3.0.0.tgz#7b661d2372fc4710ab5cc8e1fa3c290eea69a961" - integrity sha512-FmWY7gC0mL6Z4N86vE14+m719JKE4H0A+pyiOH18B025gF/C113pyfb4gHDDYP5cqnRMHOz06JGdmffC/SES+w== - dependencies: - agentkeepalive "^3.4.1" - cacache "^10.0.4" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.0" - lru-cache "^4.1.2" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^3.0.1" - ssri "^5.2.4" - makeerror@1.0.x: version "1.0.11" resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" @@ -7782,23 +7087,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -marked-terminal@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/marked-terminal/-/marked-terminal-3.2.0.tgz#3fc91d54569332bcf096292af178d82219000474" - integrity sha512-Yr1yVS0BbDG55vx7be1D0mdv+jGs9AW563o/Tt/7FTsId2J0yqhrTeXAqq/Q0DyyXltIn6CSxzesQuFqXgafjQ== - dependencies: - ansi-escapes "^3.1.0" - cardinal "^2.1.1" - chalk "^2.4.1" - cli-table "^0.3.1" - node-emoji "^1.4.1" - supports-hyperlinks "^1.0.1" - -marked@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/marked/-/marked-0.6.0.tgz#a18d01cfdcf8d15c3c455b71c8329e5e0f01faa1" - integrity sha512-HduzIW2xApSXKXJSpCipSxKyvMbwRRa/TwMbepmlZziKdH8548WSoDP4SxzulEKjlo8BE39l+2fwJZuRKOln6g== - math-random@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" @@ -7818,11 +7106,6 @@ mdn-data@~1.1.0: resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01" integrity sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA== -meant@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/meant/-/meant-1.0.1.tgz#66044fea2f23230ec806fb515efea29c44d2115d" - integrity sha512-UakVLFjKkbbUwNWJ2frVLnnAtbb7D7DsloxRd3s/gDpI8rdv8W5Hp3NaDb+POBI1fQdeussER6NB8vpcRURvlg== - media-typer@0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -8030,7 +7313,7 @@ minimist@~0.0.1: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= -minipass@^2.2.1, minipass@^2.3.3, minipass@^2.3.4, minipass@^2.3.5: +minipass@^2.2.1, minipass@^2.3.4, minipass@^2.3.5: version "2.3.5" resolved "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" integrity sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA== @@ -8045,22 +7328,6 @@ minizlib@^1.1.1: dependencies: minipass "^2.2.1" -mississippi@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz#3442a508fafc28500486feea99409676e4ee5a6f" - integrity sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^2.0.1" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - mississippi@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" @@ -8195,11 +7462,6 @@ neo-async@^2.5.0, neo-async@^2.6.0: resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835" integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA== -nerf-dart@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" - integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo= - nice-try@^1.0.4: version "1.0.5" resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -8220,13 +7482,6 @@ node-cache@^4.1.1: clone "2.x" lodash "4.x" -node-emoji@^1.4.1: - version "1.8.1" - resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz#6eec6bfb07421e2148c75c6bba72421f8530a826" - integrity sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg== - dependencies: - lodash.toarray "^4.4.0" - node-fetch-npm@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" @@ -8351,7 +7606,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.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@~1.0.1 || ^2.0.0", normalize-package-data@~2.4.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: version "2.4.0" resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== @@ -8383,37 +7638,17 @@ normalize-url@^3.0.0: resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== -normalize-url@^4.0.0, normalize-url@^4.1.0: +normalize-url@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-4.1.0.tgz#307e74c87473efa81969ad1b4bb91f1990178904" integrity sha512-X781mkWeK6PDMAZJfGn/wnwil4dV6pIdF9euiNqtA89uJvZuNDJO2YyJxiwpPhTQcF5pYUU1v+kcOxzYV6rZlA== -npm-audit-report@^1.3.1: - version "1.3.2" - resolved "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-1.3.2.tgz#303bc78cd9e4c226415076a4f7e528c89fc77018" - integrity sha512-abeqS5ONyXNaZJPGAf6TOUMNdSe1Y6cpc9MLBRn+CuUoYbfdca6AxOyXVlfIv9OgKX+cacblbG5w7A6ccwoTPw== - dependencies: - cli-table3 "^0.5.0" - console-control-strings "^1.1.0" - npm-bundled@^1.0.1: version "1.0.5" resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979" integrity sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g== -npm-cache-filename@~1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.2.tgz#ded306c5b0bfc870a9e9faf823bc5f283e05ae11" - integrity sha1-3tMGxbC/yHCp6fr4I7xfKD4FrhE= - -npm-install-checks@~3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-3.0.0.tgz#d4aecdfd51a53e3723b7b2f93b2ee28e307bc0d7" - integrity sha1-1K7N/VGlPjcjt7L5Oy7ijjB7wNc= - dependencies: - semver "^2.3.0 || 3.x || 4 || 5" - -npm-lifecycle@^2.0.3, npm-lifecycle@^2.1.0: +npm-lifecycle@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-2.1.0.tgz#1eda2eedb82db929e3a0c50341ab0aad140ed569" integrity sha512-QbBfLlGBKsktwBZLj6AviHC6Q9Y3R/AY4a2PYSIRhSKSS0/CxRyD/PfxEX6tPeOCXQgMSNdwGeECacstgptc+g== @@ -8432,7 +7667,7 @@ npm-logical-tree@^1.2.1: resolved "https://registry.npmjs.org/npm-logical-tree/-/npm-logical-tree-1.2.1.tgz#44610141ca24664cad35d1e607176193fd8f5b88" integrity sha512-AJI/qxDB2PWI4LG1CYN579AY1vCiNyWfkiquCsJWqntRu/WwimVrC8yXeILBFHDwxfOejxewlmnvW9XXjMlYIg== -"npm-package-arg@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: +"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== @@ -8442,7 +7677,7 @@ npm-logical-tree@^1.2.1: semver "^5.5.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.10, npm-packlist@^1.1.12, npm-packlist@^1.1.6: +npm-packlist@^1.1.12, npm-packlist@^1.1.6: version "1.2.0" resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz#55a60e793e272f00862c7089274439a4cc31fc7f" integrity sha512-7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ== @@ -8450,7 +7685,7 @@ npm-packlist@^1.1.10, npm-packlist@^1.1.12, npm-packlist@^1.1.6: ignore-walk "^3.0.1" npm-bundled "^1.0.1" -npm-pick-manifest@^2.1.0, npm-pick-manifest@^2.2.3: +npm-pick-manifest@^2.2.3: version "2.2.3" resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz#32111d2a9562638bb2c8f2bf27f7f3092c8fae40" integrity sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA== @@ -8459,14 +7694,6 @@ npm-pick-manifest@^2.1.0, npm-pick-manifest@^2.2.3: npm-package-arg "^6.0.0" semver "^5.4.1" -npm-profile@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/npm-profile/-/npm-profile-3.0.2.tgz#58d568f1b56ef769602fd0aed8c43fa0e0de0f57" - integrity sha512-rEJOFR6PbwOvvhGa2YTNOJQKNuc6RovJ6T50xPU7pS9h/zKPNCJ+VHZY2OFXyZvEi+UQYtHRTp8O/YM3tUD20A== - dependencies: - aproba "^1.1.2 || 2" - make-fetch-happen "^2.5.0 || 3 || 4" - npm-profile@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/npm-profile/-/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa" @@ -8476,49 +7703,6 @@ npm-profile@^4.0.1: figgy-pudding "^3.4.1" npm-registry-fetch "^3.8.0" -npm-registry-client@^8.6.0: - version "8.6.0" - resolved "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-8.6.0.tgz#7f1529f91450732e89f8518e0f21459deea3e4c4" - integrity sha512-Qs6P6nnopig+Y8gbzpeN/dkt+n7IyVd8f45NTMotGk6Qo7GfBmzwYx6jRLoOOgKiMnaQfYxsuyQlD8Mc3guBhg== - dependencies: - concat-stream "^1.5.2" - graceful-fs "^4.1.6" - normalize-package-data "~1.0.1 || ^2.0.0" - npm-package-arg "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" - once "^1.3.3" - request "^2.74.0" - retry "^0.10.0" - safe-buffer "^5.1.1" - semver "2 >=2.2.1 || 3.x || 4 || 5" - slide "^1.1.3" - ssri "^5.2.4" - optionalDependencies: - npmlog "2 || ^3.1.0 || ^4.0.0" - -npm-registry-fetch@^1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-1.1.1.tgz#710bc5947d9ee2c549375072dab6d5d17baf2eb2" - integrity sha512-ev+zxOXsgAqRsR8Rk+ErjgWOlbrXcqGdme94/VNdjDo1q8TSy10Pp8xgDv/ZmMk2jG/KvGtXUNG4GS3+l6xbDw== - dependencies: - bluebird "^3.5.1" - figgy-pudding "^3.0.0" - lru-cache "^4.1.2" - make-fetch-happen "^3.0.0" - npm-package-arg "^6.0.0" - safe-buffer "^5.1.1" - -npm-registry-fetch@^3.0.0: - version "3.9.0" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz#44d841780e2833f06accb34488f8c7450d1a6856" - integrity sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw== - dependencies: - JSONStream "^1.3.4" - bluebird "^3.5.1" - figgy-pudding "^3.4.1" - lru-cache "^4.1.3" - make-fetch-happen "^4.0.1" - npm-package-arg "^6.1.0" - npm-registry-fetch@^3.8.0: version "3.8.0" resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.8.0.tgz#aa7d9a7c92aff94f48dba0984bdef4bd131c88cc" @@ -8538,136 +7722,7 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" -npm-user-validate@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/npm-user-validate/-/npm-user-validate-1.0.0.tgz#8ceca0f5cea04d4e93519ef72d0557a75122e951" - integrity sha1-jOyg9c6gTU6TUZ73LQVXp1Ei6VE= - -npm@6.5.0: - version "6.5.0" - resolved "https://registry.npmjs.org/npm/-/npm-6.5.0.tgz#30ed48d4cd4d17d68ee04a5fcf9fa2ca9167d819" - integrity sha512-SPq8zG2Kto+Xrq55E97O14Jla13PmQT5kSnvwBj88BmJZ5Nvw++OmlWfhjkB67pcgP5UEXljEtnGFKZtOgt6MQ== - dependencies: - JSONStream "^1.3.4" - abbrev "~1.1.1" - ansicolors "~0.3.2" - ansistyles "~0.1.3" - aproba "~1.2.0" - archy "~1.0.0" - bin-links "^1.1.2" - bluebird "^3.5.3" - byte-size "^4.0.3" - cacache "^11.2.0" - call-limit "~1.1.0" - chownr "~1.0.1" - ci-info "^1.6.0" - cli-columns "^3.1.2" - cli-table3 "^0.5.0" - cmd-shim "~2.0.2" - columnify "~1.5.4" - config-chain "^1.1.12" - debuglog "*" - detect-indent "~5.0.0" - detect-newline "^2.1.0" - dezalgo "~1.0.3" - editor "~1.0.0" - figgy-pudding "^3.5.1" - find-npm-prefix "^1.0.2" - fs-vacuum "~1.2.10" - fs-write-stream-atomic "~1.0.10" - gentle-fs "^2.0.1" - glob "^7.1.3" - graceful-fs "^4.1.15" - has-unicode "~2.0.1" - hosted-git-info "^2.7.1" - iferr "^1.0.2" - imurmurhash "*" - inflight "~1.0.6" - inherits "~2.0.3" - ini "^1.3.5" - init-package-json "^1.10.3" - is-cidr "^2.0.6" - json-parse-better-errors "^1.0.2" - lazy-property "~1.0.0" - libcipm "^2.0.2" - libnpmhook "^4.0.1" - libnpx "^10.2.0" - lock-verify "^2.0.2" - lockfile "^1.0.4" - lodash._baseindexof "*" - lodash._baseuniq "~4.6.0" - lodash._bindcallback "*" - lodash._cacheindexof "*" - lodash._createcache "*" - lodash._getnative "*" - lodash.clonedeep "~4.5.0" - lodash.restparam "*" - lodash.union "~4.6.0" - lodash.uniq "~4.5.0" - lodash.without "~4.4.0" - lru-cache "^4.1.3" - meant "~1.0.1" - mississippi "^3.0.0" - mkdirp "~0.5.1" - move-concurrently "^1.0.1" - node-gyp "^3.8.0" - nopt "~4.0.1" - normalize-package-data "~2.4.0" - npm-audit-report "^1.3.1" - npm-cache-filename "~1.0.2" - npm-install-checks "~3.0.0" - npm-lifecycle "^2.1.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.1.12" - npm-pick-manifest "^2.1.0" - npm-profile "^3.0.2" - npm-registry-client "^8.6.0" - npm-registry-fetch "^1.1.0" - npm-user-validate "~1.0.0" - npmlog "~4.1.2" - once "~1.4.0" - opener "^1.5.1" - osenv "^0.1.5" - pacote "^8.1.6" - path-is-inside "~1.0.2" - promise-inflight "~1.0.1" - qrcode-terminal "^0.12.0" - query-string "^6.1.0" - qw "~1.0.1" - read "~1.0.7" - read-cmd-shim "~1.0.1" - read-installed "~4.0.3" - read-package-json "^2.0.13" - read-package-tree "^5.2.1" - readable-stream "^2.3.6" - readdir-scoped-modules "*" - request "^2.88.0" - retry "^0.12.0" - rimraf "~2.6.2" - safe-buffer "^5.1.2" - semver "^5.5.1" - sha "~2.0.1" - slide "~1.1.6" - sorted-object "~2.0.1" - sorted-union-stream "~2.1.3" - ssri "^6.0.1" - stringify-package "^1.0.0" - tar "^4.4.8" - text-table "~0.2.0" - tiny-relative-date "^1.3.0" - uid-number "0.0.6" - umask "~1.1.0" - unique-filename "~1.1.0" - unpipe "~1.0.0" - update-notifier "^2.5.0" - uuid "^3.3.2" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "~3.0.0" - which "^1.3.1" - worker-farm "^1.6.0" - write-file-atomic "^2.3.0" - -"npmlog@0 || 1 || 2 || 3 || 4", "npmlog@2 || ^3.1.0 || ^4.0.0", npmlog@^4.0.2, npmlog@^4.1.2, npmlog@~4.1.2: +"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.2, npmlog@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -8773,11 +7828,6 @@ object.values@^1.0.4: function-bind "^1.1.1" has "^1.0.3" -octokit-pagination-methods@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" - integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== - on-finished@~2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -8790,7 +7840,7 @@ on-headers@^1.0.1, on-headers@~1.0.1: resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c= -once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0, once@~1.4.0: +once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -8865,14 +7915,6 @@ os-locale@^3.0.0: lcid "^2.0.0" mem "^4.0.0" -os-name@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/os-name/-/os-name-3.0.0.tgz#e1434dbfddb8e74b44c98b56797d951b7648a5d9" - integrity sha512-7c74tib2FsdFbQ3W+qj8Tyd1R3Z6tuVRNNxXjJcZ4NgjIEQU9N/prVMqcW29XZPXGACqaXN3jq58/6hoaoXH6g== - dependencies: - macos-release "^2.0.0" - windows-release "^3.1.0" - os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -8891,13 +7933,6 @@ p-defer@^1.0.0: resolved "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= -p-filter@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-filter/-/p-filter-1.0.0.tgz#629d317150209c8fd508ba137713ef4bb920e9db" - integrity sha1-Yp0xcVAgnI/VCLoTdxPvS7kg6ds= - dependencies: - p-map "^1.0.0" - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -8908,11 +7943,6 @@ p-is-promise@^1.1.0: resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= -p-is-promise@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz#7554e3d572109a87e1f3f53f6a7d85d1b194f4c5" - integrity sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg== - p-limit@^1.1.0: version "1.3.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -8948,7 +7978,7 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^1.0.0, p-map@^1.2.0: +p-map@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" integrity sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA== @@ -8963,13 +7993,6 @@ p-reduce@^1.0.0: resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo= -p-retry@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" - integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== - dependencies: - retry "^0.12.0" - p-try@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -8987,47 +8010,6 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -package-json@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" - integrity sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0= - dependencies: - got "^6.7.1" - registry-auth-token "^3.0.1" - registry-url "^3.0.3" - semver "^5.1.0" - -pacote@^8.1.6: - version "8.1.6" - resolved "https://registry.npmjs.org/pacote/-/pacote-8.1.6.tgz#8e647564d38156367e7a9dc47a79ca1ab278d46e" - integrity sha512-wTOOfpaAQNEQNtPEx92x9Y9kRWVu45v583XT8x2oEV2xRB74+xdqMZIeGW4uFvAyZdmSBtye+wKdyyLaT8pcmw== - dependencies: - bluebird "^3.5.1" - cacache "^11.0.2" - get-stream "^3.0.0" - glob "^7.1.2" - lru-cache "^4.1.3" - make-fetch-happen "^4.0.1" - minimatch "^3.0.4" - minipass "^2.3.3" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.1.10" - npm-pick-manifest "^2.1.0" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.0" - rimraf "^2.6.2" - safe-buffer "^5.1.2" - semver "^5.5.0" - ssri "^6.0.0" - tar "^4.4.3" - unique-filename "^1.1.0" - which "^1.3.0" - pacote@^9.2.3: version "9.4.0" resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.0.tgz#af979abdeb175cd347c3e33be3241af1ed254807" @@ -9106,11 +8088,6 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= -parse-github-url@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" - integrity sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw== - parse-glob@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" @@ -9190,7 +8167,7 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2, path-is-inside@~1.0.2: +path-is-inside@^1.0.1, path-is-inside@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= @@ -9288,14 +8265,6 @@ pirates@^4.0.0: dependencies: node-modules-regexp "^1.0.0" -pkg-conf@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz#2126514ca6f2abfebd168596df18ba57867f0058" - integrity sha1-ISZRTKbyq/69FoWW3xi6V4Z/AFg= - dependencies: - find-up "^2.0.0" - load-json-file "^4.0.0" - pkg-dir@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" @@ -9310,11 +8279,6 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -pluralize@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" - integrity sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow== - pn@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" @@ -9964,11 +8928,6 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - preserve@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" @@ -10033,7 +8992,7 @@ progress@^2.0.0, progress@^2.0.1: resolved "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -promise-inflight@^1.0.1, promise-inflight@~1.0.1: +promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= @@ -10073,7 +9032,7 @@ proto-list@~1.2.1: resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= -protoduck@^5.0.0, protoduck@^5.0.1: +protoduck@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== @@ -10232,7 +9191,7 @@ pug@^2.0.3: pug-runtime "^2.0.4" pug-strip-comments "^1.0.3" -pump@^2.0.0, pump@^2.0.1: +pump@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== @@ -10272,7 +9231,7 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@^1.11.0: +puppeteer@~1.11.0: version "1.11.0" resolved "https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz#63cdbe12b07275cd6e0b94bce41f3fcb20305770" integrity sha512-iG4iMOHixc2EpzqRV+pv7o3GgmU2dNYEMkvKwSaQO/vMZURakwSOn/EYJ6OIRFYOque1qorzIBvrytPIQB3YzQ== @@ -10291,24 +9250,11 @@ q@^1.1.2, q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qrcode-terminal@^0.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" - integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== - qs@6.5.2, qs@~6.5.2: version "6.5.2" resolved "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== -query-string@^6.1.0: - version "6.2.0" - resolved "https://registry.npmjs.org/query-string/-/query-string-6.2.0.tgz#468edeb542b7e0538f9f9b1aeb26f034f19c86e1" - integrity sha512-5wupExkIt8RYL4h/FE+WTg3JHk62e6fFPWtAZA9J5IWK1PfTfKkMS93HBUHcFpeYi9KsY5pFbh+ldvEyaz5MyA== - dependencies: - decode-uri-component "^0.2.0" - strict-uri-encode "^2.0.0" - querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -10324,11 +9270,6 @@ quick-lru@^1.0.0: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= -qw@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/qw/-/qw-1.0.1.tgz#efbfdc740f9ad054304426acb183412cc8b996d4" - integrity sha1-77/cdA+a0FQwRCassYNBLMi5ltQ= - randomatic@^3.0.0: version "3.1.1" resolved "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" @@ -10368,7 +9309,7 @@ raw-body@2.3.3: iconv-lite "0.4.23" unpipe "1.0.0" -rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: +rc@^1.2.7: version "1.2.8" resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -10385,27 +9326,13 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-cmd-shim@^1.0.1, read-cmd-shim@~1.0.1: +read-cmd-shim@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz#2d5d157786a37c055d22077c32c53f8329e91c7b" integrity sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs= dependencies: graceful-fs "^4.1.2" -read-installed@~4.0.3: - version "4.0.3" - resolved "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz#ff9b8b67f187d1e4c29b9feb31f6b223acd19067" - integrity sha1-/5uLZ/GH0eTCm5/rMfayI6zRkGc= - dependencies: - debuglog "^1.0.1" - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - semver "2 || 3 || 4 || 5" - slide "~1.1.3" - util-extend "^1.0.1" - optionalDependencies: - graceful-fs "^4.1.2" - "read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13: version "2.0.13" resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.0.13.tgz#2e82ebd9f613baa6d2ebe3aa72cefe3f68e41f4a" @@ -10418,7 +9345,7 @@ read-installed@~4.0.3: optionalDependencies: graceful-fs "^4.1.2" -read-package-tree@^5.1.6, read-package-tree@^5.2.1: +read-package-tree@^5.1.6: version "5.2.1" resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.2.1.tgz#6218b187d6fac82289ce4387bbbaf8eef536ad63" integrity sha512-2CNoRoh95LxY47LvqrehIAfUVda2JbuFE/HaGYs42bNrGG+ojbw1h3zOcPcQ+1GQ3+rkzNndZn85u1XyZ3UsIA== @@ -10453,14 +9380,6 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== - dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" - read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" @@ -10488,16 +9407,7 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -read-pkg@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237" - integrity sha1-ljYlN48+HE1IyFhytabsfV0JMjc= - dependencies: - normalize-package-data "^2.3.2" - parse-json "^4.0.0" - pify "^3.0.0" - -read@1, read@~1.0.1, read@~1.0.7: +read@1, read@~1.0.1: version "1.0.7" resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= @@ -10536,17 +9446,7 @@ readable-stream@^3.0.6: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@~1.1.10: - version "1.1.14" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" - integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: +readdir-scoped-modules@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" integrity sha1-n6+jfShr5dksuuve4DDcm19AZ0c= @@ -10588,13 +9488,6 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" -redeyed@~2.1.0: - version "2.1.1" - resolved "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz#8984b5815d99cb220469c99eeeffe38913e6cc0b" - integrity sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs= - dependencies: - esprima "~4.0.0" - regenerate-unicode-properties@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz#107405afcc4a190ec5ed450ecaa00ed0cafa7a4c" @@ -10674,21 +9567,6 @@ regexpu-core@^4.1.3, regexpu-core@^4.2.0: unicode-match-property-ecmascript "^1.0.4" unicode-match-property-value-ecmascript "^1.0.2" -registry-auth-token@^3.0.1, registry-auth-token@^3.3.1: - version "3.3.2" - resolved "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" - integrity sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ== - dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" - -registry-url@^3.0.3: - version "3.1.0" - resolved "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= - dependencies: - rc "^1.0.1" - regjsgen@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" @@ -10767,7 +9645,7 @@ request-promise-native@^1.0.5: stealthy-require "^1.1.0" tough-cookie ">=2.3.3" -request@^2.74.0, request@^2.87.0, request@^2.88.0: +request@^2.87.0, request@^2.88.0: version "2.88.0" resolved "https://registry.npmjs.org/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== @@ -10860,11 +9738,6 @@ retry@^0.10.0: resolved "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q= -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= - rgb-regex@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" @@ -11063,51 +9936,7 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -semantic-release@15: - version "15.13.3" - resolved "https://registry.npmjs.org/semantic-release/-/semantic-release-15.13.3.tgz#412720b9c09f39f04df67478fa409a914107e05b" - integrity sha512-cax0xPPTtsxHlrty2HxhPql2TTvS74Ni2O8BzwFHxNY/mviVKEhI4OxHzBYJkpVxx1fMVj36+oH7IlP+SJtPNA== - dependencies: - "@semantic-release/commit-analyzer" "^6.1.0" - "@semantic-release/error" "^2.2.0" - "@semantic-release/github" "^5.1.0" - "@semantic-release/npm" "^5.0.5" - "@semantic-release/release-notes-generator" "^7.1.2" - aggregate-error "^2.0.0" - cosmiconfig "^5.0.1" - debug "^4.0.0" - env-ci "^3.0.0" - execa "^1.0.0" - figures "^2.0.0" - find-versions "^3.0.0" - get-stream "^4.0.0" - git-log-parser "^1.2.0" - hook-std "^1.1.0" - hosted-git-info "^2.7.1" - lodash "^4.17.4" - marked "^0.6.0" - marked-terminal "^3.2.0" - p-locate "^3.0.0" - p-reduce "^1.0.0" - read-pkg-up "^4.0.0" - resolve-from "^4.0.0" - semver "^5.4.1" - signale "^1.2.1" - yargs "^12.0.0" - -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= - dependencies: - semver "^5.0.3" - -semver-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" - integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== - -"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.0.1, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: version "5.6.0" resolved "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== @@ -11206,14 +10035,6 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -sha@~2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/sha/-/sha-2.0.1.tgz#6030822fbd2c9823949f8f72ed6411ee5cf25aae" - integrity sha1-YDCCL70smCOUn49y7WQR7lzyWq4= - dependencies: - graceful-fs "^4.1.2" - readable-stream "^2.0.2" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -11251,15 +10072,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= -signale@^1.2.1: - version "1.3.0" - resolved "https://registry.npmjs.org/signale/-/signale-1.3.0.tgz#1b4917c2c7a8691550adca0ad1da750a662b4497" - integrity sha512-TyFhsQ9wZDYDfsPqWMyjCxsDoMwfpsT0130Mce7wDiVCSDdtWSg83dOqoj8aGpGCs3n1YPcam6sT1OFPuGT/OQ== - dependencies: - chalk "^2.3.2" - figures "^2.0.0" - pkg-conf "^2.1.0" - simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -11291,16 +10103,11 @@ slice-ansi@2.0.0: astral-regex "^1.0.0" is-fullwidth-code-point "^2.0.0" -slide@^1.1.3, slide@^1.1.6, slide@~1.1.3, slide@~1.1.6: +slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= -smart-buffer@^1.0.13: - version "1.1.15" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-1.1.15.tgz#7f114b5b65fab3e2a35aa775bb12f0d1c649bf16" - integrity sha1-fxFLW2X6s+KjWqd1uxLw0cZJvxY= - smart-buffer@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" @@ -11336,14 +10143,6 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -socks-proxy-agent@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-3.0.1.tgz#2eae7cf8e2a82d34565761539a7f9718c5617659" - integrity sha512-ZwEDymm204mTzvdqyUqOdovVr2YRd2NYskrYrF2LXyZ9qDiMAoFESGK8CRphiO7rtbo2Y757k2Nia3x2hGtalA== - dependencies: - agent-base "^4.1.0" - socks "^1.1.10" - socks-proxy-agent@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.1.tgz#5936bf8b707a993079c6f37db2091821bffa6473" @@ -11352,14 +10151,6 @@ socks-proxy-agent@^4.0.0: agent-base "~4.2.0" socks "~2.2.0" -socks@^1.1.10: - version "1.1.10" - resolved "https://registry.npmjs.org/socks/-/socks-1.1.10.tgz#5b8b7fc7c8f341c53ed056e929b7bf4de8ba7b5a" - integrity sha1-W4t/x8jzQcU+0FbpKbe/Tei6e1o= - dependencies: - ip "^1.1.4" - smart-buffer "^1.0.13" - socks@~2.2.0: version "2.2.2" resolved "https://registry.npmjs.org/socks/-/socks-2.2.2.tgz#f061219fc2d4d332afb4af93e865c84d3fa26e2b" @@ -11388,19 +10179,6 @@ sort-package-json@^1.18.0: detect-indent "^5.0.0" sort-object-keys "^1.1.2" -sorted-object@~2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/sorted-object/-/sorted-object-2.0.1.tgz#7d631f4bd3a798a24af1dffcfbfe83337a5df5fc" - integrity sha1-fWMfS9OnmKJK8d/8+/6DM3pd9fw= - -sorted-union-stream@~2.1.3: - version "2.1.3" - resolved "https://registry.npmjs.org/sorted-union-stream/-/sorted-union-stream-2.1.3.tgz#c7794c7e077880052ff71a8d4a2dbb4a9a638ac7" - integrity sha1-x3lMfgd4gAUv9xqNSi27Sppjisc= - dependencies: - from2 "^1.3.0" - stream-iterate "^1.1.0" - source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" @@ -11462,11 +10240,6 @@ sourcemap-codec@^1.4.1: resolved "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== -spawn-error-forwarder@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz#1afd94738e999b0346d7b9fc373be55e07577029" - integrity sha1-Gv2Uc46ZmwNG17n8NzvlXgdXcCk= - spdx-correct@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" @@ -11507,13 +10280,6 @@ split2@^2.0.0: dependencies: through2 "^2.0.2" -split2@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz#52e2e221d88c75f9a73f90556e263ff96772b314" - integrity sha1-UuLiIdiMdfmnP5BVbiY/+WdysxQ= - dependencies: - through2 "~2.0.0" - split@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" @@ -11541,13 +10307,6 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" -ssri@^5.2.4: - version "5.3.0" - resolved "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz#ba3872c9c6d33a0704a7d71ff045e5ec48999d06" - integrity sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ== - dependencies: - safe-buffer "^5.1.1" - ssri@^6.0.0, ssri@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" @@ -11618,14 +10377,6 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" -stream-combiner2@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz#fb4d8a1420ea362764e21ad4780397bebcb41cbe" - integrity sha1-+02KFCDqNidk4hrUeAOXvry0HL4= - dependencies: - duplexer2 "~0.1.0" - readable-stream "^2.0.2" - stream-each@^1.1.0: version "1.2.3" resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -11645,24 +10396,11 @@ stream-http@^2.7.2: to-arraybuffer "^1.0.0" xtend "^4.0.0" -stream-iterate@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/stream-iterate/-/stream-iterate-1.2.0.tgz#2bd7c77296c1702a46488b8ad41f79865eecd4e1" - integrity sha1-K9fHcpbBcCpGSIuK1B95hl7s1OE= - dependencies: - readable-stream "^2.1.5" - stream-shift "^1.0.0" - stream-shift@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY= - string-length@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed" @@ -11817,7 +10555,7 @@ supports-color@^3.1.2: dependencies: has-flag "^1.0.0" -supports-color@^5.0.0, supports-color@^5.3.0: +supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== @@ -11831,14 +10569,6 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -supports-hyperlinks@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-1.0.1.tgz#71daedf36cc1060ac5100c351bb3da48c29c0ef7" - integrity sha512-HHi5kVSefKaJkGYXbDuKbUGRVxqnWGn3J2e39CYcNJEfWciGq2zYtOhXLTlvrOZW1QU7VX67w7fMmWafHX9Pfw== - dependencies: - has-flag "^2.0.0" - supports-color "^5.0.0" - svg-tags@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" @@ -11898,7 +10628,7 @@ tar@^2.0.0: fstream "^1.0.2" inherits "2" -tar@^4, tar@^4.4.3, tar@^4.4.8: +tar@^4, tar@^4.4.8: version "4.4.8" resolved "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" integrity sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ== @@ -11974,7 +10704,7 @@ text-extensions@^1.0.0: resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== -text-table@^0.2.0, text-table@~0.2.0: +text-table@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= @@ -11993,7 +10723,7 @@ throat@^4.0.0: resolved "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo= -through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: +through2@^2.0.0, through2@^2.0.2: version "2.0.5" resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -12011,11 +10741,6 @@ time-fix-plugin@^2.0.5: resolved "https://registry.npmjs.org/time-fix-plugin/-/time-fix-plugin-2.0.5.tgz#41c76e734217cc91a08ea525fdde56de119fb683" integrity sha512-veHRiEsQ50KSrfdhkZiFvZIjRoyfyfxpgskD+P7uVQAcNe6rIMLZ8vhjFRE2XrPqQdy+4CF+jXsWAlgVy9Bfcg== -timed-out@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= - timers-browserify@^2.0.4: version "2.0.10" resolved "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz#1d28e3d2aadf1d5a5996c4e9f95601cd053480ae" @@ -12028,11 +10753,6 @@ timsort@^0.3.0: resolved "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= -tiny-relative-date@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz#fa08aad501ed730f31cc043181d995c39a935e07" - integrity sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A== - tmp@^0.0.33: version "0.0.33" resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -12127,11 +10847,6 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" -traverse@~0.6.6: - version "0.6.6" - resolved "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" - integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= - trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" @@ -12271,10 +10986,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.2.4: - version "3.2.4" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d" - integrity sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg== +typescript@^3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.1.tgz#6de14e1db4b8a006ac535e482c8ba018c55f750b" + integrity sha512-cTmIDFW7O0IHbn1DPYjkiebHxwtCMU+eTy30ZtJNBPF9j2O1ITu5XH2YnBeVRKWHqF+3JQwWJv0Q0aUgX8W7IA== ua-parser-js@^0.7.19: version "0.7.19" @@ -12309,7 +11024,7 @@ uid-number@0.0.6: resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= -umask@^1.1.0, umask@~1.1.0: +umask@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= @@ -12357,7 +11072,7 @@ uniqs@^2.0.0: resolved "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" integrity sha1-/+3ks2slKQaW5uFl1KWe25mOawI= -unique-filename@^1.1.0, unique-filename@^1.1.1, unique-filename@~1.1.0: +unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== @@ -12371,20 +11086,6 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" -unique-string@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" - integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo= - dependencies: - crypto-random-string "^1.0.0" - -universal-user-agent@^2.0.0, universal-user-agent@^2.0.1: - version "2.0.3" - resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.0.3.tgz#9f6f09f9cc33de867bb720d84c08069b14937c6c" - integrity sha512-eRHEHhChCBHrZsA4WEhdgiOKgdvgrMIHwnwnqD0r5C6AO8kwKcG7qSku3iXdhvHL3YvsS9ZkSGN8h/hIpoFC8g== - dependencies: - os-name "^3.0.0" - universalify@^0.1.0: version "0.1.2" resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -12408,32 +11109,11 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -unzip-response@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" - integrity sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c= - upath@^1.0.5, upath@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" integrity sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw== -update-notifier@^2.3.0, update-notifier@^2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" - integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== - dependencies: - boxen "^1.2.1" - chalk "^2.0.1" - configstore "^3.0.0" - import-lazy "^2.1.0" - is-ci "^1.0.10" - is-installed-globally "^0.1.0" - is-npm "^1.0.0" - latest-version "^3.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" - upper-case@^1.1.1: version "1.1.3" resolved "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" @@ -12451,11 +11131,6 @@ urix@^0.1.0: resolved "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-join@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/url-join/-/url-join-4.0.0.tgz#4d3340e807d3773bda9991f8305acdcc2a665d2a" - integrity sha1-TTNA6AfTdzvamZH4MFrNzCpmXSo= - url-loader@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz#b971d191b83af693c5e3fea4064be9e1f2d7f8d8" @@ -12465,18 +11140,6 @@ url-loader@^1.1.2: mime "^2.0.3" schema-utils "^1.0.0" -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - integrity sha1-evjzA2Rem9eaJy56FKxovAYJ2nM= - dependencies: - prepend-http "^1.0.1" - -url-template@^2.0.8: - version "2.0.8" - resolved "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" - integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= - url@^0.11.0: version "0.11.0" resolved "https://registry.npmjs.org/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -12500,11 +11163,6 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1: resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -util-extend@^1.0.1: - version "1.0.3" - resolved "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz#a7c216d267545169637b3b6edc6ca9119e2ff93f" - integrity sha1-p8IW0mdUUWljeztu3GypEZ4v+T8= - util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" @@ -12542,7 +11200,7 @@ uuid@^3.0.1, uuid@^3.3.2: resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3, validate-npm-package-license@^3.0.4: +validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: version "3.0.4" resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -12550,7 +11208,7 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3, valida spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: +validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= @@ -12925,13 +11583,6 @@ window-size@0.1.0: resolved "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" integrity sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0= -windows-release@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/windows-release/-/windows-release-3.1.0.tgz#8d4a7e266cbf5a233f6c717dac19ce00af36e12e" - integrity sha512-hBb7m7acFgQPQc222uEQTmdcGLeBmQLNLFIh0rDk3CwFOBrfjefLzEfEfmpMq8Af/n/GnFf3eYf203FY1PmudA== - dependencies: - execa "^0.10.0" - with@^5.0.0: version "5.1.1" resolved "https://registry.npmjs.org/with/-/with-5.1.1.tgz#fa4daa92daf32c4ea94ed453c81f04686b575dfe" @@ -12955,7 +11606,7 @@ wordwrap@~1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= -worker-farm@^1.5.2, worker-farm@^1.6.0: +worker-farm@^1.5.2: version "1.6.0" resolved "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz#aecc405976fab5a95526180846f0dba288f3a4a0" integrity sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ== @@ -13034,11 +11685,6 @@ ws@^6.0.0, ws@^6.1.0, ws@^6.1.2: dependencies: async-limiter "~1.0.0" -xdg-basedir@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" - integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= - xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" @@ -13151,7 +11797,7 @@ yargs@^11.0.0: y18n "^3.2.1" yargs-parser "^9.0.2" -yargs@^12.0.0, yargs@^12.0.1: +yargs@^12.0.1: version "12.0.5" resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== From 940a36fd650f769add76037037197a2b22b19e3f Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 3 Feb 2019 10:06:01 +0330 Subject: [PATCH 029/221] chore: use puppeteer-core (#4929) --- .circleci/config.yml | 2 -- package.json | 5 +++-- test/utils/browser.js | 27 +++++++++++++++++---------- yarn.lock | 8 ++++---- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 35c04eb206..436dc9e06b 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -147,8 +147,6 @@ jobs: test-types: <<: *defaults - docker: - - image: circleci/node:latest-browsers steps: - checkout - attach_workspace: diff --git a/package.json b/package.json index 1629da20f6..64092399ab 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "node-fetch": "^2.3.0", "pug": "^2.0.3", "pug-plain-loader": "^1.0.0", - "puppeteer": "~1.11.0", + "puppeteer-core": "^1.12.1", "request": "^2.88.0", "request-promise-native": "^1.0.5", "rimraf": "^2.6.3", @@ -80,7 +80,8 @@ "tslint": "^5.12.1", "typescript": "^3.3.1", "vue-jest": "^3.0.2", - "vue-property-decorator": "^7.3.0" + "vue-property-decorator": "^7.3.0", + "which": "^1.3.1" }, "repository": { "type": "git", diff --git a/test/utils/browser.js b/test/utils/browser.js index 9cfedec129..ca5aa9afd1 100644 --- a/test/utils/browser.js +++ b/test/utils/browser.js @@ -1,17 +1,24 @@ -import puppeteer from 'puppeteer' +import puppeteer from 'puppeteer-core' +import which from 'which' export default class Browser { async start(options = {}) { // https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions - this.browser = await puppeteer.launch( - Object.assign( - { - args: ['--no-sandbox', '--disable-setuid-sandbox'], - executablePath: process.env.PUPPETEER_EXECUTABLE_PATH - }, - options - ) - ) + const _opts = { + args: [ + '--no-sandbox', + '--disable-setuid-sandbox' + ], + executablePath: process.env.PUPPETEER_EXECUTABLE_PATH, + ...options + } + + if (!_opts.executablePath) { + const resolve = cmd => which.sync(cmd, { nothrow: true }) + _opts.executablePath = resolve('google-chrome') || resolve('chromium') + } + + this.browser = await puppeteer.launch(_opts) } async close() { diff --git a/yarn.lock b/yarn.lock index 02e409d5d9..8d7b51c695 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9231,10 +9231,10 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@~1.11.0: - version "1.11.0" - resolved "https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz#63cdbe12b07275cd6e0b94bce41f3fcb20305770" - integrity sha512-iG4iMOHixc2EpzqRV+pv7o3GgmU2dNYEMkvKwSaQO/vMZURakwSOn/EYJ6OIRFYOque1qorzIBvrytPIQB3YzQ== +puppeteer-core@^1.12.1: + version "1.12.1" + resolved "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-1.12.1.tgz#aec39d9c199ceff6ddd4da00e0733bb73fce4156" + integrity sha512-arGXPRe1dkX3+tOh1GMQ0Ny3CoOCRurkHAW4AZEBIBMX/LdY6ReFqRTT9YSV3d9zzxiIat9kJc3v9h9nkxAu3g== dependencies: debug "^4.1.0" extract-zip "^1.6.6" From efc288082905d91989aa9871bbc3fe70a089feee Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sun, 3 Feb 2019 11:56:05 +0000 Subject: [PATCH 030/221] chore(deps): update dependency caniuse-lite to ^1.0.30000934 (#4934) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index b803662ad3..6e54cd0d2c 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.2", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000933", + "caniuse-lite": "^1.0.30000934", "chalk": "^2.4.2", "consola": "^2.3.2", "css-loader": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index 8d7b51c695..0eca5fca38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2664,10 +2664,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000930.tgz#c238bab82bedb462bcbdc61d0334932dcc084d8a" integrity sha512-KD+pw9DderBLB8CGqBzYyFWpnrPVOEjsjargU/CvkNyg60od3cxSPTcTeMPhxJhDbkQPWvOz5BAyBzNl/St9vg== -caniuse-lite@^1.0.30000933: - version "1.0.30000933" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000933.tgz#5871ff54b3177675ae1c2a275b2aae7abf2b9222" - integrity sha512-d3QXv7eFTU40DSedSP81dV/ajcGSKpT+GW+uhtWmLvQm9bPk0KK++7i1e2NSW/CXGZhWFt2mFbFtCJ5I5bMuVA== +caniuse-lite@^1.0.30000934: + version "1.0.30000934" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000934.tgz#4f2d749f51e9e2d4e9b182f8f121d26ec4208e8d" + integrity sha512-o7yfZn0R9N+mWAuksDsdLsb1gu9o//XK0QSU0zSSReKNRsXsFc/n/psxi0YSPNiqlKxImp5h4DHnAPdwYJ8nNA== capture-exit@^1.2.0: version "1.2.0" From 422155ea14974464a817805909e85b53a416a05d Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Sun, 3 Feb 2019 22:21:51 +0000 Subject: [PATCH 031/221] fix: warn when using array postcss configuration (#4936) --- packages/webpack/src/utils/postcss.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/webpack/src/utils/postcss.js b/packages/webpack/src/utils/postcss.js index 4c1c9299fc..0e82a78c25 100644 --- a/packages/webpack/src/utils/postcss.js +++ b/packages/webpack/src/utils/postcss.js @@ -1,5 +1,6 @@ import fs from 'fs' import path from 'path' +import consola from 'consola' import defaults from 'lodash/defaults' import merge from 'lodash/merge' import cloneDeep from 'lodash/cloneDeep' @@ -93,7 +94,10 @@ export default class PostcssConfig { } normalize(config) { + // TODO: Remove in Nuxt 3 if (Array.isArray(config)) { + consola.warn('Using an Array as `build.postcss` will be deprecated in Nuxt 3. Please switch to the object' + + ' declaration') config = { plugins: config } } return config From 43491f6e530953836fa31bed8ddd425f42477d79 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Mon, 4 Feb 2019 10:34:04 +0000 Subject: [PATCH 032/221] feat(test): unit tests for @nuxt/builder (#4834) --- packages/builder/src/builder.js | 9 +- packages/builder/test/__utils__/index.js | 15 + packages/builder/test/builder.build.test.js | 287 ++++++++ packages/builder/test/builder.common.test.js | 59 ++ packages/builder/test/builder.ctor.test.js | 117 ++++ .../builder/test/builder.generate.test.js | 642 ++++++++++++++++++ packages/builder/test/builder.plugin.test.js | 145 ++++ packages/builder/test/builder.watch.test.js | 330 +++++++++ .../__snapshots__/template.test.js.snap | 105 +++ packages/builder/test/context/build.test.js | 23 + .../builder/test/context/template.test.js | 81 +++ packages/builder/test/ignore.test.js | 147 ++++ packages/builder/test/index.test.js | 9 + 13 files changed, 1963 insertions(+), 6 deletions(-) create mode 100644 packages/builder/test/__utils__/index.js create mode 100644 packages/builder/test/builder.build.test.js create mode 100644 packages/builder/test/builder.common.test.js create mode 100644 packages/builder/test/builder.ctor.test.js create mode 100644 packages/builder/test/builder.generate.test.js create mode 100644 packages/builder/test/builder.plugin.test.js create mode 100644 packages/builder/test/builder.watch.test.js create mode 100644 packages/builder/test/context/__snapshots__/template.test.js.snap create mode 100644 packages/builder/test/context/build.test.js create mode 100644 packages/builder/test/context/template.test.js create mode 100644 packages/builder/test/ignore.test.js create mode 100644 packages/builder/test/index.test.js diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index 7626e3cf5d..76ca642adf 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -107,12 +107,10 @@ export default class Builder { async build() { // Avoid calling build() method multiple times when dev:true - /* istanbul ignore if */ if (this._buildStatus === STATUS.BUILD_DONE && this.options.dev) { return this } // If building - /* istanbul ignore if */ if (this._buildStatus === STATUS.BUILDING) { await waitFor(1000) return this.build() @@ -302,7 +300,7 @@ export default class Builder { } async resolveLayouts({ templateVars, templateFiles }) { - if (fsExtra.existsSync(path.resolve(this.options.srcDir, this.options.dir.layouts))) { + if (await fsExtra.exists(path.resolve(this.options.srcDir, this.options.dir.layouts))) { for (const file of await this.resolveFiles(this.options.dir.layouts)) { const name = file .replace(new RegExp(`^${this.options.dir.layouts}/`), '') @@ -467,7 +465,7 @@ export default class Builder { this.options.loadingIndicator.name ) - if (fsExtra.existsSync(indicatorPath)) { + if (await fsExtra.exists(indicatorPath)) { customIndicator = true } else { indicatorPath = null @@ -572,7 +570,7 @@ export default class Builder { } // TODO: Uncomment when generateConfig enabled again - // async generateConfig() /* istanbul ignore next */ { + // async generateConfig() { // const config = path.resolve(this.options.buildDir, 'build.config.js') // const options = omit(this.options, Options.unsafeKeys) // await fsExtra.writeFile( @@ -603,7 +601,6 @@ export default class Builder { patterns = patterns.map(upath.normalizeSafe) const options = this.options.watchers.chokidar - /* istanbul ignore next */ const refreshFiles = debounce(() => this.generateRoutesAndFiles(), 200) // Watch for src Files diff --git a/packages/builder/test/__utils__/index.js b/packages/builder/test/__utils__/index.js new file mode 100644 index 0000000000..054ce5eeda --- /dev/null +++ b/packages/builder/test/__utils__/index.js @@ -0,0 +1,15 @@ +export const createNuxt = () => ({ + options: { + globalName: 'global_name', + globals: [], + build: {}, + router: {} + }, + ready: jest.fn(), + hook: jest.fn(), + callHook: jest.fn(), + resolver: { + requireModule: jest.fn(() => ({ template: 'builder-template' })), + resolveAlias: jest.fn(src => `resolveAlias(${src})`) + } +}) diff --git a/packages/builder/test/builder.build.test.js b/packages/builder/test/builder.build.test.js new file mode 100644 index 0000000000..8c16aea08b --- /dev/null +++ b/packages/builder/test/builder.build.test.js @@ -0,0 +1,287 @@ +import path from 'path' +import consola from 'consola' +import fsExtra from 'fs-extra' +import semver from 'semver' +import { r, waitFor } from '@nuxt/utils' + +import Builder from '../src/builder' +import { createNuxt } from './__utils__' + +jest.mock('fs-extra') +jest.mock('semver') +jest.mock('hash-sum', () => src => `hash(${src})`) +jest.mock('@nuxt/utils') +jest.mock('../src/ignore') + +describe('builder: builder build', () => { + beforeAll(() => { + jest.spyOn(path, 'join').mockImplementation((...args) => `join(${args.join(', ')})`) + }) + + afterAll(() => { + path.join.mockRestore() + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should build all resources', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.buildDir = '/var/nuxt/build' + nuxt.options.dir = { pages: '/var/nuxt/src/pages' } + nuxt.options.build.createRoutes = jest.fn() + + const bundleBuilder = { build: jest.fn() } + const builder = new Builder(nuxt, bundleBuilder) + builder.validatePages = jest.fn() + builder.validateTemplate = jest.fn() + builder.generateRoutesAndFiles = jest.fn() + builder.resolvePlugins = jest.fn() + + r.mockImplementation((dir, src) => `r(${dir})`) + + const buildReturn = await builder.build() + + expect(consola.info).toBeCalledTimes(1) + expect(consola.info).toBeCalledWith('Production build') + expect(nuxt.ready).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledTimes(2) + expect(nuxt.callHook).nthCalledWith(1, 'build:before', builder, nuxt.options.build) + expect(builder.validatePages).toBeCalledTimes(1) + expect(builder.validateTemplate).toBeCalledTimes(1) + expect(consola.success).toBeCalledTimes(1) + expect(consola.success).toBeCalledWith('Builder initialized') + expect(consola.debug).toBeCalledTimes(1) + expect(consola.debug).toBeCalledWith('App root: /var/nuxt/src') + expect(fsExtra.remove).toBeCalledTimes(1) + expect(fsExtra.remove).toBeCalledWith('r(/var/nuxt/build)') + expect(fsExtra.mkdirp).toBeCalledTimes(3) + expect(fsExtra.mkdirp).nthCalledWith(1, 'r(/var/nuxt/build)') + expect(fsExtra.mkdirp).nthCalledWith(2, 'r(/var/nuxt/build)') + expect(fsExtra.mkdirp).nthCalledWith(3, 'r(/var/nuxt/build)') + expect(r).toBeCalledTimes(4) + expect(r).nthCalledWith(1, '/var/nuxt/build') + expect(r).nthCalledWith(2, '/var/nuxt/build', 'components') + expect(r).nthCalledWith(3, '/var/nuxt/build', 'dist', 'client') + expect(r).nthCalledWith(4, '/var/nuxt/build', 'dist', 'server') + expect(builder.generateRoutesAndFiles).toBeCalledTimes(1) + expect(builder.resolvePlugins).toBeCalledTimes(1) + expect(bundleBuilder.build).toBeCalledTimes(1) + expect(builder._buildStatus).toEqual(2) + expect(nuxt.callHook).nthCalledWith(2, 'build:done', builder) + expect(buildReturn).toBe(builder) + }) + + test('should prevent duplicate build in dev mode', async () => { + const nuxt = createNuxt() + nuxt.options.dev = true + const builder = new Builder(nuxt, {}) + builder._buildStatus = 3 + + waitFor.mockImplementationOnce(() => { + builder.build = jest.fn(() => 'calling build') + }) + + const buildReturn = await builder.build() + + expect(nuxt.ready).not.toBeCalled() + expect(waitFor).toBeCalledTimes(1) + expect(waitFor).toBeCalledWith(1000) + expect(builder.build).toBeCalledTimes(1) + expect(buildReturn).toBe('calling build') + }) + + test('should wait 1000ms and retry if building is in progress', async () => { + const nuxt = createNuxt() + nuxt.options.dev = true + const builder = new Builder(nuxt, {}) + builder._buildStatus = 2 + + const buildReturn = await builder.build() + + expect(nuxt.ready).not.toBeCalled() + expect(buildReturn).toBe(builder) + }) + + test('should build in dev mode and print dev mode building messages', async () => { + const nuxt = createNuxt() + nuxt.options.dev = true + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.buildDir = '/var/nuxt/build' + nuxt.options.dir = { pages: '/var/nuxt/src/pages' } + nuxt.options.build.createRoutes = jest.fn() + + const bundleBuilder = { build: jest.fn() } + const builder = new Builder(nuxt, bundleBuilder) + builder.validatePages = jest.fn() + builder.validateTemplate = jest.fn() + builder.generateRoutesAndFiles = jest.fn() + builder.resolvePlugins = jest.fn() + + await builder.build() + + expect(consola.info).toBeCalledTimes(2) + expect(consola.info).nthCalledWith(1, 'Preparing project for development') + expect(consola.info).nthCalledWith(2, 'Initial build may take a while') + expect(fsExtra.mkdirp).toBeCalledTimes(1) + expect(fsExtra.mkdirp).toBeCalledWith('r(/var/nuxt/build)') + expect(r).toBeCalledTimes(2) + expect(r).nthCalledWith(1, '/var/nuxt/build') + expect(r).nthCalledWith(2, '/var/nuxt/build', 'components') + }) + + test('should throw error when validateTemplate failed', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.validatePages = jest.fn() + builder.validateTemplate = jest.fn(() => { + throw new Error('validate failed') + }) + consola.success.mockImplementationOnce(() => { + throw new Error('exit') + }) + + await expect(builder.build()).rejects.toThrow('exit') + + expect(builder._buildStatus).toEqual(3) + expect(consola.fatal).toBeCalledTimes(1) + expect(consola.fatal).toBeCalledWith(new Error('validate failed')) + }) + + test('should warn built-in page will be used if no pages dir found', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { pages: '/var/nuxt/src/pages' } + const builder = new Builder(nuxt, {}) + fsExtra.exists.mockReturnValue(false) + + await builder.validatePages() + + expect(builder._nuxtPages).toEqual(true) + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, '/var/nuxt/src', '/var/nuxt/src/pages') + expect(path.join).nthCalledWith(2, '/var/nuxt/src', '..', '/var/nuxt/src/pages') + expect(fsExtra.exists).toBeCalledTimes(2) + expect(fsExtra.exists).nthCalledWith(1, 'join(/var/nuxt/src, /var/nuxt/src/pages)') + expect(fsExtra.exists).nthCalledWith(2, 'join(/var/nuxt/src, .., /var/nuxt/src/pages)') + expect(builder._defaultPage).toEqual(true) + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith('No `/var/nuxt/src/pages` directory found in /var/nuxt/src. Using the default built-in page.') + }) + + test('should throw error if pages is found in parent dir', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { pages: '/var/nuxt/src/pages' } + const builder = new Builder(nuxt, {}) + fsExtra.exists + .mockReturnValueOnce(false) + .mockReturnValueOnce(true) + + await expect(builder.validatePages()).rejects.toThrow( + 'No `/var/nuxt/src/pages` directory found in /var/nuxt/src. Did you mean to run `nuxt` in the parent (`../`) directory?' + ) + + expect(builder._nuxtPages).toEqual(true) + expect(path.join).toBeCalledTimes(2) + expect(path.join).nthCalledWith(1, '/var/nuxt/src', '/var/nuxt/src/pages') + expect(path.join).nthCalledWith(2, '/var/nuxt/src', '..', '/var/nuxt/src/pages') + expect(fsExtra.exists).toBeCalledTimes(2) + expect(fsExtra.exists).nthCalledWith(1, 'join(/var/nuxt/src, /var/nuxt/src/pages)') + expect(fsExtra.exists).nthCalledWith(2, 'join(/var/nuxt/src, .., /var/nuxt/src/pages)') + expect(builder._defaultPage).toBeUndefined() + }) + + test('should pass validation if createRoutes is function', async () => { + const nuxt = createNuxt() + nuxt.options.build.createRoutes = jest.fn() + const builder = new Builder(nuxt, {}) + + await builder.validatePages() + + expect(builder._nuxtPages).toEqual(false) + expect(fsExtra.exists).not.toBeCalled() + }) + + test('should pass validation if pages exists', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { pages: '/var/nuxt/src/pages' } + const builder = new Builder(nuxt, {}) + fsExtra.exists.mockReturnValueOnce(true) + + await builder.validatePages() + + expect(builder._nuxtPages).toEqual(true) + expect(path.join).toBeCalledTimes(1) + expect(path.join).toBeCalledWith('/var/nuxt/src', '/var/nuxt/src/pages') + expect(fsExtra.exists).toBeCalledTimes(1) + expect(fsExtra.exists).toBeCalledWith('join(/var/nuxt/src, /var/nuxt/src/pages)') + expect(builder._defaultPage).toBeUndefined() + }) + + test('should validate dependencies in template', () => { + const nuxt = createNuxt() + nuxt.options.build.template = { + dependencies: { + vue: 'latest', + nuxt: 'edge' + } + } + const builder = new Builder(nuxt, {}) + semver.satisfies + .mockReturnValueOnce(true) + .mockReturnValueOnce(true) + nuxt.resolver.requireModule + .mockReturnValueOnce({ version: 'alpha' }) + .mockReturnValueOnce({ version: 'beta' }) + + builder.validateTemplate() + + expect(nuxt.resolver.requireModule).toBeCalledTimes(2) + expect(nuxt.resolver.requireModule).nthCalledWith(1, 'join(vue, package.json)') + expect(nuxt.resolver.requireModule).nthCalledWith(2, 'join(nuxt, package.json)') + expect(semver.satisfies).toBeCalledTimes(2) + expect(semver.satisfies).nthCalledWith(1, 'alpha', 'latest') + expect(semver.satisfies).nthCalledWith(2, 'beta', 'edge') + }) + + test('should warn and throw error if dependencies is not installed', () => { + const nuxt = createNuxt() + nuxt.options.build.template = { + dependencies: { + vue: 'latest', + nuxt: 'edge' + } + } + const builder = new Builder(nuxt, {}) + semver.satisfies + .mockReturnValueOnce(false) + nuxt.resolver.requireModule + .mockReturnValueOnce({ version: 'alpha' }) + .mockReturnValueOnce(undefined) + + expect(() => builder.validateTemplate()).toThrow('Missing Template Dependencies') + + expect(nuxt.resolver.requireModule).toBeCalledTimes(2) + expect(nuxt.resolver.requireModule).nthCalledWith(1, 'join(vue, package.json)') + expect(nuxt.resolver.requireModule).nthCalledWith(2, 'join(nuxt, package.json)') + expect(consola.warn).toBeCalledTimes(2) + expect(consola.warn).nthCalledWith(1, 'vue@latest is required but vue@alpha is installed!') + expect(consola.warn).nthCalledWith(2, 'nuxt@edge is required but not installed!') + expect(consola.error).toBeCalledTimes(1) + expect(consola.error).toBeCalledWith( + 'Please install missing dependencies:\n', + '\n', + 'Using yarn:\n', + 'yarn add vue@latest nuxt@edge\n', + '\n', + 'Using npm:\n', + 'npm i vue@latest nuxt@edge\n' + ) + expect(semver.satisfies).toBeCalledTimes(1) + expect(semver.satisfies).nthCalledWith(1, 'alpha', 'latest') + }) +}) diff --git a/packages/builder/test/builder.common.test.js b/packages/builder/test/builder.common.test.js new file mode 100644 index 0000000000..2f58289083 --- /dev/null +++ b/packages/builder/test/builder.common.test.js @@ -0,0 +1,59 @@ +import { BundleBuilder } from '@nuxt/webpack' + +import Builder from '../src/builder' +import BuildContext from '../src/context/build' +import { createNuxt } from './__utils__' + +jest.mock('@nuxt/webpack', () => ({ + BundleBuilder: jest.fn(function () { + this.name = 'webpack_builder' + }) +})) +jest.mock('../src/context/build', () => jest.fn(function () { + this.name = 'build_context' +})) +jest.mock('../src/ignore') + +describe('builder: builder common', () => { + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should get webpack builder by default', () => { + const builder = new Builder(createNuxt(), {}) + + const bundleBuilder = builder.getBundleBuilder() + + expect(BuildContext).toBeCalledTimes(1) + expect(BuildContext).toBeCalledWith(builder) + expect(BundleBuilder).toBeCalledTimes(1) + expect(BundleBuilder).toBeCalledWith({ name: 'build_context' }) + expect(bundleBuilder).toEqual({ name: 'webpack_builder' }) + }) + + test('should get custom builder from given constructor', () => { + const builder = new Builder(createNuxt(), {}) + + const CustomBundleBuilder = jest.fn(function () { + this.name = 'custom_builder' + }) + const bundleBuilder = builder.getBundleBuilder(CustomBundleBuilder) + + expect(BuildContext).toBeCalledTimes(1) + expect(BuildContext).toBeCalledWith(builder) + expect(CustomBundleBuilder).toBeCalledTimes(1) + expect(CustomBundleBuilder).toBeCalledWith({ name: 'build_context' }) + expect(bundleBuilder).toEqual({ name: 'custom_builder' }) + }) + + test('should call bundleBuilder forGenerate', () => { + const bundleBuilder = { + forGenerate: jest.fn() + } + const builder = new Builder(createNuxt(), bundleBuilder) + + builder.forGenerate() + + expect(bundleBuilder.forGenerate).toBeCalledTimes(1) + }) +}) diff --git a/packages/builder/test/builder.ctor.test.js b/packages/builder/test/builder.ctor.test.js new file mode 100644 index 0000000000..73c9ac6750 --- /dev/null +++ b/packages/builder/test/builder.ctor.test.js @@ -0,0 +1,117 @@ +import consola from 'consola' +import { relativeTo, determineGlobals } from '@nuxt/utils' + +import Builder from '../src/builder' +import { createNuxt } from './__utils__' + +jest.mock('@nuxt/utils') +jest.mock('../src/ignore') + +describe('builder: builder constructor', () => { + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should construct builder', () => { + const nuxt = createNuxt() + + const bundleBuilder = {} + determineGlobals.mockReturnValueOnce('__global') + + const builder = new Builder(nuxt, bundleBuilder) + + expect(builder.nuxt).toEqual(nuxt) + expect(builder.plugins).toEqual([]) + expect(builder.options).toEqual(nuxt.options) + + expect(determineGlobals).toBeCalledTimes(1) + expect(determineGlobals).toBeCalledWith(nuxt.options.globalName, nuxt.options.globals) + + expect(builder.watchers).toEqual({ + files: null, + custom: null, + restart: null + }) + expect(builder.supportedExtensions).toEqual(['vue', 'js', 'ts', 'tsx']) + expect(builder.relativeToBuild).toBeInstanceOf(Function) + + expect(builder._buildStatus).toEqual(1) + + expect(nuxt.resolver.requireModule).toBeCalledTimes(1) + expect(nuxt.resolver.requireModule).toBeCalledWith('@nuxt/vue-app') + expect(builder.template).toEqual('builder-template') + + expect(builder.bundleBuilder).toBe(bundleBuilder) + }) + + test('should call relativeTo in relativeToBuild', () => { + const nuxt = createNuxt() + nuxt.options.buildDir = '/var/nuxt/build' + const bundleBuilder = {} + const builder = new Builder(nuxt, bundleBuilder) + + const args = [{}, {}] + builder.relativeToBuild(...args) + + expect(relativeTo).toBeCalledTimes(1) + expect(relativeTo).toBeCalledWith('/var/nuxt/build', ...args) + }) + + test('should add hooks in dev mode', () => { + const nuxt = createNuxt() + nuxt.options.dev = true + + const bundleBuilder = {} + determineGlobals.mockReturnValueOnce('__global') + + const builder = new Builder(nuxt, bundleBuilder) + + expect(builder.options.dev).toEqual(true) + + expect(nuxt.hook).toBeCalledTimes(2) + expect(nuxt.hook).toBeCalledWith('build:done', expect.any(Function)) + expect(nuxt.hook).toBeCalledWith('close', expect.any(Function)) + + const doneHook = nuxt.hook.mock.calls[0][1] + builder.watchClient = jest.fn() + builder.watchRestart = jest.fn() + doneHook() + expect(consola.info).toBeCalledTimes(1) + expect(consola.info).toBeCalledWith('Waiting for file changes') + expect(builder.watchClient).toBeCalledTimes(1) + expect(builder.watchRestart).toBeCalledTimes(1) + + const closeHook = nuxt.hook.mock.calls[1][1] + builder.close = jest.fn() + closeHook() + expect(builder.close).toBeCalledTimes(1) + }) + + test('should add hooks in analyze mode', () => { + const nuxt = createNuxt() + nuxt.options.build.analyze = true + + const bundleBuilder = {} + const builder = new Builder(nuxt, bundleBuilder) + + expect(builder.options.build.analyze).toEqual(true) + + expect(nuxt.hook).toBeCalledTimes(1) + expect(nuxt.hook).toBeCalledWith('build:done', expect.any(Function)) + + const doneHook = nuxt.hook.mock.calls[0][1] + doneHook() + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith('Notice: Please do not deploy bundles built with analyze mode, it\'s only for analyzing purpose.') + }) + + test('should support function template', () => { + const nuxt = createNuxt() + nuxt.options.build.template = jest.fn() + const bundleBuilder = {} + const builder = new Builder(nuxt, bundleBuilder) + + expect(builder.template).toBe(nuxt.options.build.template) + expect(nuxt.resolver.requireModule).not.toBeCalled() + }) +}) diff --git a/packages/builder/test/builder.generate.test.js b/packages/builder/test/builder.generate.test.js new file mode 100644 index 0000000000..47c68f842a --- /dev/null +++ b/packages/builder/test/builder.generate.test.js @@ -0,0 +1,642 @@ +import path from 'path' +import Glob from 'glob' +import fs from 'fs-extra' +import consola from 'consola' +import template from 'lodash/template' +import { r, createRoutes, stripWhitespace } from '@nuxt/utils' +import Builder from '../src/builder' +import TemplateContext from '../src/context/template' +import { createNuxt } from './__utils__' + +jest.mock('glob') +jest.mock('pify', () => fn => fn) +jest.mock('fs-extra') +jest.mock('lodash/template') +jest.mock('@nuxt/utils') +jest.mock('../src/context/template', () => jest.fn()) +jest.mock('../src/ignore', () => function () { + this.filter = jest.fn(files => files) +}) + +describe('builder: builder generate', () => { + beforeAll(() => { + r.mockImplementation((...args) => `r(${args.join(', ')})`) + fs.readFile.mockImplementation((...args) => `readFile(${args.join(', ')})`) + fs.outputFile.mockImplementation((...args) => `outputFile(${args.join(', ')})`) + jest.spyOn(path, 'join').mockImplementation((...args) => `join(${args.join(', ')})`) + jest.spyOn(path, 'resolve').mockImplementation((...args) => `resolve(${args.join(', ')})`) + }) + + afterAll(() => { + path.join.mockRestore() + path.resolve.mockRestore() + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should generate routes and files', async () => { + const nuxt = createNuxt() + nuxt.options.build = { + template: { + dir: '/var/nuxt/src/template', + files: [ 'App.js', 'index.js' ] + }, + watch: [] + } + const builder = new Builder(nuxt, {}) + builder.normalizePlugins = jest.fn(() => [{ name: 'test_plugin' }]) + builder.resolveLayouts = jest.fn(() => 'resolveLayouts') + builder.resolveRoutes = jest.fn(() => 'resolveRoutes') + builder.resolveStore = jest.fn(() => 'resolveStore') + builder.resolveMiddleware = jest.fn(() => 'resolveMiddleware') + builder.resolveCustomTemplates = jest.fn() + builder.resolveLoadingIndicator = jest.fn() + builder.compileTemplates = jest.fn() + jest.spyOn(Promise, 'all').mockImplementation(() => {}) + + await builder.generateRoutesAndFiles() + + expect(consola.debug).toBeCalledTimes(1) + expect(consola.debug).toBeCalledWith('Generating nuxt files') + expect(TemplateContext).toBeCalledTimes(1) + expect(TemplateContext).toBeCalledWith(builder, builder.options) + expect(builder.normalizePlugins).toBeCalledTimes(1) + expect(builder.resolveLayouts).toBeCalledTimes(1) + expect(builder.resolveRoutes).toBeCalledTimes(1) + expect(builder.resolveStore).toBeCalledTimes(1) + expect(builder.resolveMiddleware).toBeCalledTimes(1) + expect(Promise.all).toBeCalledTimes(1) + expect(Promise.all).toBeCalledWith([ + 'resolveLayouts', + 'resolveRoutes', + 'resolveStore', + 'resolveMiddleware' + ]) + expect(builder.resolveCustomTemplates).toBeCalledTimes(1) + expect(builder.resolveLoadingIndicator).toBeCalledTimes(1) + expect(builder.options.build.watch).toEqual(['/var/nuxt/src/template']) + expect(builder.compileTemplates).toBeCalledTimes(1) + expect(consola.success).toBeCalledTimes(1) + expect(consola.success).toBeCalledWith('Nuxt files generated') + + Promise.all.mockRestore() + }) + + test('should resolve files', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.ignore = '/var/nuxt/ignore' + const builder = new Builder(nuxt, {}) + Glob.mockReturnValue('matched files') + + const files = await builder.resolveFiles('/var/nuxt/dir') + + expect(Glob).toBeCalledTimes(1) + expect(Glob).toBeCalledWith( + '/var/nuxt/dir/**/*.{vue,js,ts,tsx}', + { cwd: '/var/nuxt/src', ignore: '/var/nuxt/ignore' } + ) + expect(builder.ignore.filter).toBeCalledTimes(1) + expect(builder.ignore.filter).toBeCalledWith('matched files') + expect(files).toEqual('matched files') + }) + + test('should resolve relative files', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.resolveFiles = jest.fn(dir => [ `${dir}/foo.vue`, `${dir}/bar.vue`, `${dir}/baz.vue` ]) + + const files = await builder.resolveRelative('/var/nuxt/dir') + + expect(builder.resolveFiles).toBeCalledTimes(1) + expect(builder.resolveFiles).toBeCalledWith('/var/nuxt/dir') + expect(files).toEqual([ + { src: 'foo.vue' }, + { src: 'bar.vue' }, + { src: 'baz.vue' } + ]) + }) + + test('should resolve store modules', async () => { + const nuxt = createNuxt() + nuxt.options.store = true + nuxt.options.dir = { + store: '/var/nuxt/src/store' + } + const builder = new Builder(nuxt, {}) + builder.resolveRelative = jest.fn(dir => [ + { src: `${dir}/index.js` }, + { src: `${dir}/bar.js` }, + { src: `${dir}/baz.js` }, + { src: `${dir}/foo/bar.js` }, + { src: `${dir}/foo/baz.js` }, + { src: `${dir}/foo/index.js` } + ]) + + const templateVars = {} + const templateFiles = [] + await builder.resolveStore({ templateVars, templateFiles }) + + expect(templateVars.storeModules).toEqual([ + { 'src': '/var/nuxt/src/store/index.js' }, + { 'src': '/var/nuxt/src/store/bar.js' }, + { 'src': '/var/nuxt/src/store/baz.js' }, + { 'src': '/var/nuxt/src/store/foo/index.js' }, + { 'src': '/var/nuxt/src/store/foo/bar.js' }, + { 'src': '/var/nuxt/src/store/foo/baz.js' }] + ) + expect(templateFiles).toEqual(['store.js']) + }) + + test('should disable store resolving', async () => { + const nuxt = createNuxt() + nuxt.options.dir = { + store: '/var/nuxt/src/store' + } + const builder = new Builder(nuxt, {}) + + const templateVars = {} + const templateFiles = [] + await builder.resolveStore({ templateVars, templateFiles }) + + expect(templateVars.storeModules).toBeUndefined() + expect(templateFiles).toEqual([]) + }) + + test('should resolve middleware', async () => { + const nuxt = createNuxt() + nuxt.options.store = false + nuxt.options.dir = { + middleware: '/var/nuxt/src/middleware' + } + const builder = new Builder(nuxt, {}) + builder.resolveRelative = jest.fn(dir => [ + { src: `${dir}/midd.js` } + ]) + + const templateVars = {} + await builder.resolveMiddleware({ templateVars }) + + expect(templateVars.middleware).toEqual([ { src: '/var/nuxt/src/middleware/midd.js' } ]) + }) + + test('should custom templates', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.build = { + template: { dir: '/var/nuxt/templates' }, + templates: [ + '/var/nuxt/templates/foo.js', + { src: '/var/nuxt/templates/bar.js' }, + { src: '/var/nuxt/templates/baz.js', dst: 'baz.js' } + ] + } + const builder = new Builder(nuxt, {}) + fs.exists.mockReturnValueOnce(true) + + const templateContext = { + templateFiles: [ + 'foo.js', + 'bar.js', + 'baz.js', + 'router.js', + 'store.js', + 'middleware.js' + ] + } + await builder.resolveCustomTemplates(templateContext) + + expect(templateContext.templateFiles).toEqual([ + { custom: true, dst: 'router.js', src: 'r(/var/nuxt/src, app, router.js)' }, + { custom: undefined, dst: 'store.js', src: 'r(/var/nuxt/templates, store.js)' }, + { custom: undefined, dst: 'middleware.js', src: 'r(/var/nuxt/templates, middleware.js)' }, + { custom: true, dst: 'foo.js', src: 'r(/var/nuxt/src, /var/nuxt/templates/foo.js)' }, + { custom: true, dst: 'bar.js', src: '/var/nuxt/templates/bar.js' }, + { custom: true, dst: 'baz.js', src: '/var/nuxt/templates/baz.js' } + ]) + }) + + test('should resolve loading indicator', async () => { + const nuxt = createNuxt() + nuxt.options.loadingIndicator = { + name: 'test_loading_indicator' + } + nuxt.options.build = { + template: { dir: '/var/nuxt/templates' } + } + const builder = new Builder(nuxt, {}) + fs.exists.mockReturnValueOnce(true) + + const templateFiles = [] + await builder.resolveLoadingIndicator({ templateFiles }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt/templates', 'views/loading', 'test_loading_indicator.html') + expect(fs.exists).toBeCalledTimes(1) + expect(fs.exists).toBeCalledWith('resolve(/var/nuxt/templates, views/loading, test_loading_indicator.html)') + expect(templateFiles).toEqual([{ + custom: false, + dst: 'loading.html', + options: { name: 'test_loading_indicator' }, + src: 'resolve(/var/nuxt/templates, views/loading, test_loading_indicator.html)' + }]) + }) + + test('should resolve alias loading indicator', async () => { + const nuxt = createNuxt() + nuxt.options.loadingIndicator = { + name: '@/app/template.vue' + } + nuxt.options.build = { + template: { dir: '/var/nuxt/templates' } + } + const builder = new Builder(nuxt, {}) + fs.exists + .mockReturnValueOnce(false) + .mockReturnValueOnce(true) + + const templateFiles = [] + await builder.resolveLoadingIndicator({ templateFiles }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt/templates', 'views/loading', '@/app/template.vue.html') + expect(fs.exists).toBeCalledTimes(2) + expect(fs.exists).nthCalledWith(1, 'resolve(/var/nuxt/templates, views/loading, @/app/template.vue.html)') + expect(fs.exists).nthCalledWith(2, 'resolveAlias(@/app/template.vue)') + expect(templateFiles).toEqual([{ + custom: true, + dst: 'loading.html', + options: { name: '@/app/template.vue' }, + src: 'resolveAlias(@/app/template.vue)' + }]) + }) + + test('should display error if three is not loading indicator', async () => { + const nuxt = createNuxt() + nuxt.options.loadingIndicator = { + name: '@/app/empty.vue' + } + nuxt.options.build = { + template: { dir: '/var/nuxt/templates' } + } + const builder = new Builder(nuxt, {}) + fs.exists + .mockReturnValueOnce(false) + .mockReturnValueOnce(false) + + const templateFiles = [] + await builder.resolveLoadingIndicator({ templateFiles }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt/templates', 'views/loading', '@/app/empty.vue.html') + expect(fs.exists).toBeCalledTimes(2) + expect(fs.exists).nthCalledWith(1, 'resolve(/var/nuxt/templates, views/loading, @/app/empty.vue.html)') + expect(fs.exists).nthCalledWith(2, 'resolveAlias(@/app/empty.vue)') + expect(consola.error).toBeCalledTimes(1) + expect(consola.error).toBeCalledWith('Could not fetch loading indicator: @/app/empty.vue') + expect(templateFiles).toEqual([]) + }) + + test('should disable loading indicator', async () => { + const nuxt = createNuxt() + nuxt.options.loadingIndicator = { + name: false + } + const builder = new Builder(nuxt, {}) + + await builder.resolveLoadingIndicator({ templateFiles: [] }) + + expect(path.resolve).not.toBeCalled() + }) + + test('should compile templates', async () => { + const nuxt = createNuxt() + nuxt.options.build.watch = [] + nuxt.options.buildDir = '/var/nuxt/build' + const builder = new Builder(nuxt, {}) + builder.relativeToBuild = jest.fn() + const templateFn = jest.fn(() => 'compiled content') + template.mockImplementation(() => templateFn) + stripWhitespace.mockImplementation(content => `trim(${content})`) + + const templateContext = { + templateVars: { test: 'template_vars' }, + templateFiles: [ + { src: '/var/nuxt/src/foo.js', dst: 'foo.js', options: { foo: true } }, + { src: '/var/nuxt/src/bar.js', dst: 'bar.js', options: { bar: true } }, + { src: '/var/nuxt/src/baz.js', dst: 'baz.js', custom: true } + ], + templateOptions: {} + } + await builder.compileTemplates(templateContext) + + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith('build:templates', { + templateVars: templateContext.templateVars, + templatesFiles: templateContext.templateFiles, + resolve: r + }) + expect(templateContext.templateOptions.imports).toEqual({ + resolvePath: nuxt.resolver.resolvePath, + resolveAlias: nuxt.resolver.resolveAlias, + relativeToBuild: builder.relativeToBuild + }) + expect(nuxt.options.build.watch).toEqual([ '/var/nuxt/src/baz.js' ]) + expect(fs.readFile).toBeCalledTimes(3) + expect(fs.readFile).nthCalledWith(1, '/var/nuxt/src/foo.js', 'utf8') + expect(fs.readFile).nthCalledWith(2, '/var/nuxt/src/bar.js', 'utf8') + expect(fs.readFile).nthCalledWith(3, '/var/nuxt/src/baz.js', 'utf8') + expect(template).toBeCalledTimes(3) + expect(template).nthCalledWith(1, 'readFile(/var/nuxt/src/foo.js, utf8)', templateContext.templateOptions) + expect(template).nthCalledWith(2, 'readFile(/var/nuxt/src/bar.js, utf8)', templateContext.templateOptions) + expect(template).nthCalledWith(3, 'readFile(/var/nuxt/src/baz.js, utf8)', templateContext.templateOptions) + expect(templateFn).toBeCalledTimes(3) + expect(templateFn).nthCalledWith(1, { + ...templateContext.templateVars, + custom: undefined, + dst: 'foo.js', + src: '/var/nuxt/src/foo.js', + options: { foo: true } + }) + expect(templateFn).nthCalledWith(2, { + ...templateContext.templateVars, + custom: undefined, + dst: 'bar.js', + src: '/var/nuxt/src/bar.js', + options: { bar: true } + }) + expect(templateFn).nthCalledWith(3, { + ...templateContext.templateVars, + custom: true, + dst: 'baz.js', + src: '/var/nuxt/src/baz.js', + options: {} + }) + expect(stripWhitespace).toBeCalledTimes(3) + expect(stripWhitespace).nthCalledWith(1, 'compiled content') + expect(stripWhitespace).nthCalledWith(2, 'compiled content') + expect(stripWhitespace).nthCalledWith(3, 'compiled content') + expect(fs.outputFile).toBeCalledTimes(3) + expect(fs.outputFile).nthCalledWith(1, 'r(/var/nuxt/build, foo.js)', 'trim(compiled content)', 'utf8') + expect(fs.outputFile).nthCalledWith(2, 'r(/var/nuxt/build, bar.js)', 'trim(compiled content)', 'utf8') + expect(fs.outputFile).nthCalledWith(3, 'r(/var/nuxt/build, baz.js)', 'trim(compiled content)', 'utf8') + }) + + test('should throw error if compile failed', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.relativeToBuild = jest.fn() + template.mockImplementation(() => { + throw new Error('compile failed') + }) + + const templateContext = { + templateVars: { test: 'template_vars' }, + templateFiles: [ { src: '/var/nuxt/src/foo.js' } ], + templateOptions: {} + } + await expect(builder.compileTemplates(templateContext)).rejects.toThrow( + 'Could not compile template /var/nuxt/src/foo.js: compile failed' + ) + }) + + describe('builder: builder resolveLayouts', () => { + test('should resolve layouts', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.buildDir = '/var/nuxt/build' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts' + } + nuxt.options.layouts = { + foo: '/var/nuxt/layouts/foo/index.vue' + } + const builder = new Builder(nuxt, {}) + builder.resolveFiles = jest.fn(layouts => [ + `${layouts}/foo.vue`, + `${layouts}/bar.js`, + `${layouts}/baz.vue`, + `${layouts}/error.vue` + ]) + builder.relativeToBuild = jest.fn((...args) => `relativeBuild(${args.join(', ')})`) + fs.exists.mockReturnValueOnce(true) + + const templateVars = { + components: {}, + layouts: { + bar: '/var/nuxt/layouts/bar/index.vue' + } + } + const templateFiles = [] + await builder.resolveLayouts({ templateVars, templateFiles }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt/src', '/var/nuxt/src/layouts') + expect(fs.exists).toBeCalledTimes(1) + expect(fs.exists).toBeCalledWith('resolve(/var/nuxt/src, /var/nuxt/src/layouts)') + expect(builder.resolveFiles).toBeCalledTimes(1) + expect(builder.resolveFiles).toBeCalledWith('/var/nuxt/src/layouts') + expect(builder.relativeToBuild).toBeCalledTimes(2) + expect(builder.relativeToBuild).nthCalledWith(1, '/var/nuxt/src', '/var/nuxt/src/layouts/baz.vue') + expect(builder.relativeToBuild).nthCalledWith(2, '/var/nuxt/src', '/var/nuxt/src/layouts/error.vue') + expect(templateVars.components.ErrorPage).toEqual('relativeBuild(/var/nuxt/src, /var/nuxt/src/layouts/error.vue)') + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith('Duplicate layout registration, "foo" has been registered as "/var/nuxt/layouts/foo/index.vue"') + expect(templateVars.layouts).toEqual({ + bar: '/var/nuxt/layouts/bar/index.vue', + baz: 'relativeBuild(/var/nuxt/src, /var/nuxt/src/layouts/baz.vue)', + default: './layouts/default.vue' + }) + expect(fs.mkdirp).toBeCalledTimes(1) + expect(fs.mkdirp).toBeCalledWith('r(/var/nuxt/build, layouts)') + expect(templateFiles).toEqual(['layouts/default.vue']) + expect(templateVars.layouts.default).toEqual('./layouts/default.vue') + }) + + test('should resolve error layouts', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts' + } + const builder = new Builder(nuxt, {}) + builder.resolveFiles = jest.fn(layouts => [ + `${layouts}/error.vue` + ]) + builder.relativeToBuild = jest.fn((...args) => `relativeBuild(${args.join(', ')})`) + fs.exists.mockReturnValueOnce(true) + + const templateVars = { + components: { + ErrorPage: '/var/nuxt/components/error.vue' + }, + layouts: { + default: '/var/nuxt/layouts/default.vue' + } + } + await builder.resolveLayouts({ templateVars }) + + expect(builder.relativeToBuild).not.toBeCalled() + expect(templateVars.components.ErrorPage).toEqual('/var/nuxt/components/error.vue') + }) + + test('should not resolve layouts if layouts dir does not exist', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts' + } + const builder = new Builder(nuxt, {}) + + const templateVars = { + layouts: { + default: '/var/nuxt/layouts/default.vue' + } + } + await builder.resolveLayouts({ templateVars }) + builder.resolveFiles = jest.fn() + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt/src', '/var/nuxt/src/layouts') + expect(fs.exists).toBeCalledTimes(1) + expect(fs.exists).toBeCalledWith('resolve(/var/nuxt/src, /var/nuxt/src/layouts)') + expect(builder.resolveFiles).not.toBeCalled() + expect(fs.mkdirp).not.toBeCalled() + }) + }) + + describe('builder: builder resolveRoutes', () => { + test('should resolve routes via build.createRoutes', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.build.createRoutes = jest.fn(() => [ { name: 'default_route' } ]) + nuxt.options.router.extendRoutes = jest.fn(routes => [ ...routes, { name: 'extend_route' } ]) + const builder = new Builder(nuxt, {}) + + const templateVars = { + router: { + routes: [] + } + } + await builder.resolveRoutes({ templateVars }) + + expect(consola.debug).toBeCalledTimes(1) + expect(consola.debug).toBeCalledWith('Generating routes...') + expect(nuxt.options.build.createRoutes).toBeCalledTimes(1) + expect(nuxt.options.build.createRoutes).toBeCalledWith('/var/nuxt/src') + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith( + 'build:extendRoutes', + [ { name: 'default_route' } ], + r + ) + expect(nuxt.options.router.extendRoutes).toBeCalledTimes(1) + expect(nuxt.options.router.extendRoutes).toBeCalledWith([ { name: 'default_route' } ], r) + expect(templateVars.router.routes).toEqual([ + { name: 'default_route' }, + { name: 'extend_route' } + ]) + expect(builder.routes).toEqual(templateVars.router.routes) + }) + + test('should resolve routes from defualt pages dir', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.build = { + createRoutes: jest.fn(), + template: { dir: '/var/nuxt/templates' } + } + nuxt.options.router.routeNameSplitter = '[splitter]' + createRoutes.mockReturnValueOnce([ { name: 'default_route' } ]) + const builder = new Builder(nuxt, {}) + builder._defaultPage = true + + const templateVars = { + router: { + routes: [] + } + } + await builder.resolveRoutes({ templateVars }) + + expect(consola.debug).toBeCalledTimes(1) + expect(consola.debug).toBeCalledWith('Generating routes...') + expect(nuxt.options.build.createRoutes).not.toBeCalled() + expect(createRoutes).toBeCalledTimes(1) + expect(createRoutes).toBeCalledWith([ 'index.vue' ], '/var/nuxt/templates/pages', '', '[splitter]') + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith( + 'build:extendRoutes', + [ { name: 'default_route' } ], + r + ) + expect(templateVars.router.routes).toEqual([ + { name: 'default_route' } + ]) + expect(builder.routes).toEqual(templateVars.router.routes) + }) + + test('should resolve routes from dir.pages', async () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + pages: '/var/nuxt/pages' + } + nuxt.options.build = { + createRoutes: jest.fn() + } + nuxt.options.router = { + routeNameSplitter: '[splitter]', + extendRoutes: jest.fn() + } + createRoutes.mockImplementationOnce(files => files.map(file => ({ path: file }))) + const builder = new Builder(nuxt, {}) + builder._nuxtPages = true + builder.resolveFiles = jest.fn(dir => [ + `${dir}/foo.js`, + `${dir}/bar.vue`, + `${dir}/baz.vue`, + `${dir}/foo.vue`, + `${dir}/bar.js` + ]) + + const templateVars = { + router: { + routes: [] + } + } + await builder.resolveRoutes({ templateVars }) + + expect(consola.debug).toBeCalledTimes(1) + expect(consola.debug).toBeCalledWith('Generating routes...') + expect(nuxt.options.build.createRoutes).not.toBeCalled() + expect(builder.resolveFiles).toBeCalledTimes(1) + expect(builder.resolveFiles).toBeCalledWith('/var/nuxt/pages') + + expect(createRoutes).toBeCalledTimes(1) + expect(createRoutes).toBeCalledWith( + [ '/var/nuxt/pages/foo.vue', '/var/nuxt/pages/bar.vue', '/var/nuxt/pages/baz.vue' ], + '/var/nuxt/src', + '/var/nuxt/pages', + '[splitter]' + ) + expect(nuxt.callHook).toBeCalledTimes(1) + expect(nuxt.callHook).toBeCalledWith( + 'build:extendRoutes', + [ + { path: '/var/nuxt/pages/foo.vue' }, + { path: '/var/nuxt/pages/bar.vue' }, + { path: '/var/nuxt/pages/baz.vue' } + ], + r + ) + expect(templateVars.router.routes).toEqual([ + { path: '/var/nuxt/pages/foo.vue' }, + { path: '/var/nuxt/pages/bar.vue' }, + { path: '/var/nuxt/pages/baz.vue' } + ]) + expect(builder.routes).toEqual(templateVars.router.routes) + }) + }) +}) diff --git a/packages/builder/test/builder.plugin.test.js b/packages/builder/test/builder.plugin.test.js new file mode 100644 index 0000000000..79ae6da50b --- /dev/null +++ b/packages/builder/test/builder.plugin.test.js @@ -0,0 +1,145 @@ +import Glob from 'glob' +import consola from 'consola' +import { isIndexFileAndFolder } from '@nuxt/utils' + +import Builder from '../src/builder' +import { createNuxt } from './__utils__' + +jest.mock('glob') +jest.mock('pify', () => fn => fn) +jest.mock('hash-sum', () => src => `hash(${src})`) +jest.mock('@nuxt/utils') +jest.mock('../src/ignore') + +describe('builder: builder plugins', () => { + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should normalize plugins', () => { + const nuxt = createNuxt() + nuxt.options.plugins = [ + '/var/nuxt/plugins/test.js', + { src: '/var/nuxt/plugins/test.server', mode: 'server' }, + { src: '/var/nuxt/plugins/test.client', ssr: false } + ] + const builder = new Builder(nuxt, {}) + + const plugins = builder.normalizePlugins() + + expect(plugins).toEqual([ + { + mode: 'all', + name: 'nuxt_plugin_test_hash(/var/nuxt/plugins/test.js)', + src: 'resolveAlias(/var/nuxt/plugins/test.js)' + }, + { + mode: 'server', + name: 'nuxt_plugin_test_hash(/var/nuxt/plugins/test.server)', + src: 'resolveAlias(/var/nuxt/plugins/test.server)' + }, + { + mode: 'client', + name: 'nuxt_plugin_test_hash(/var/nuxt/plugins/test.client)', + src: 'resolveAlias(/var/nuxt/plugins/test.client)' + } + ]) + }) + + test('should warning and fallback invalid mode when normalize plugins', () => { + const nuxt = createNuxt() + nuxt.options.plugins = [ + { src: '/var/nuxt/plugins/test', mode: 'abc' } + ] + const builder = new Builder(nuxt, {}) + + const plugins = builder.normalizePlugins() + + expect(plugins).toEqual([ + { + mode: 'all', + name: 'nuxt_plugin_test_hash(/var/nuxt/plugins/test)', + src: 'resolveAlias(/var/nuxt/plugins/test)' + } + ]) + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith("Invalid plugin mode (server/client/all): 'abc'. Falling back to 'all'") + }) + + test('should resolve plugins', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.plugins = [ + { src: '/var/nuxt/plugins/test.js', mode: 'all' }, + { src: '/var/nuxt/plugins/test.client', mode: 'client' }, + { src: '/var/nuxt/plugins/test.server', mode: 'server' } + ] + builder.relativeToBuild = jest.fn(src => `relative(${src})`) + for (let step = 0; step < builder.plugins.length; step++) { + Glob.mockImplementationOnce(src => [`${src.replace(/\{.*\}/, '')}.js`]) + } + + await builder.resolvePlugins() + + expect(Glob).toBeCalledTimes(3) + expect(Glob).nthCalledWith(1, '/var/nuxt/plugins/test.js{?(.+([^.])),/index.+([^.])}') + expect(Glob).nthCalledWith(2, '/var/nuxt/plugins/test.client{?(.+([^.])),/index.+([^.])}') + expect(Glob).nthCalledWith(3, '/var/nuxt/plugins/test.server{?(.+([^.])),/index.+([^.])}') + expect(builder.plugins).toEqual([ + { mode: 'all', src: 'relative(/var/nuxt/plugins/test.js)' }, + { mode: 'client', src: 'relative(/var/nuxt/plugins/test.client)' }, + { mode: 'server', src: 'relative(/var/nuxt/plugins/test.server)' } + ]) + }) + + test('should throw error if plugin no existed', () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.plugins = [ + { src: '/var/nuxt/plugins/test.js', mode: 'all' } + ] + Glob.mockImplementationOnce(() => []) + + expect(builder.resolvePlugins()).rejects.toThrow('Plugin not found: /var/nuxt/plugins/test.js') + }) + + test('should warn if there are multiple files and not index', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.plugins = [ + { src: '/var/nuxt/plugins/test', mode: 'all' } + ] + builder.relativeToBuild = jest.fn(src => `relative(${src})`) + + Glob.mockImplementationOnce(src => [`${src}.js`, `${src}.ts`]) + isIndexFileAndFolder.mockReturnValueOnce(false) + + await builder.resolvePlugins() + + expect(builder.plugins).toEqual([ + { mode: 'all', src: 'relative(/var/nuxt/plugins/test)' } + ]) + }) + + test('should detect plugin mode for client/server plugins', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.plugins = [ + { src: '/var/nuxt/plugins/test.js', mode: 'all' }, + { src: '/var/nuxt/plugins/test.client', mode: 'all' }, + { src: '/var/nuxt/plugins/test.server', mode: 'all' } + ] + builder.relativeToBuild = jest.fn(src => `relative(${src})`) + for (let step = 0; step < builder.plugins.length; step++) { + Glob.mockImplementationOnce(src => [`${src.replace(/\{.*\}/, '')}.js`]) + } + + await builder.resolvePlugins() + + expect(builder.plugins).toEqual([ + { mode: 'all', src: 'relative(/var/nuxt/plugins/test.js)' }, + { mode: 'client', src: 'relative(/var/nuxt/plugins/test.client)' }, + { mode: 'server', src: 'relative(/var/nuxt/plugins/test.server)' } + ]) + }) +}) diff --git a/packages/builder/test/builder.watch.test.js b/packages/builder/test/builder.watch.test.js new file mode 100644 index 0000000000..bf5b079680 --- /dev/null +++ b/packages/builder/test/builder.watch.test.js @@ -0,0 +1,330 @@ +import chokidar from 'chokidar' +import upath from 'upath' +import debounce from 'lodash/debounce' +import { r, isString } from '@nuxt/utils' + +import Builder from '../src/builder' +import { createNuxt } from './__utils__' + +jest.mock('chokidar', () => ({ + watch: jest.fn().mockReturnThis(), + on: jest.fn().mockReturnThis(), + close: jest.fn().mockReturnThis() +})) +jest.mock('upath', () => ({ normalizeSafe: jest.fn(src => src) })) +jest.mock('lodash/debounce', () => jest.fn(fn => fn)) +jest.mock('@nuxt/utils') +jest.mock('../src/ignore') + +describe('builder: builder watch', () => { + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should watch client files', () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' + } + nuxt.options.build.watch = [] + nuxt.options.watchers = { + chokidar: { test: true } + } + const builder = new Builder(nuxt, {}) + r.mockImplementation((dir, src) => src) + + builder.watchClient() + + const patterns = [ + '/var/nuxt/src/layouts', + '/var/nuxt/src/store', + '/var/nuxt/src/middleware', + '/var/nuxt/src/layouts/*.{vue,js,ts,tsx}', + '/var/nuxt/src/layouts/**/*.{vue,js,ts,tsx}' + ] + + expect(r).toBeCalledTimes(5) + expect(r).nthCalledWith(1, '/var/nuxt/src', '/var/nuxt/src/layouts') + expect(r).nthCalledWith(2, '/var/nuxt/src', '/var/nuxt/src/store') + expect(r).nthCalledWith(3, '/var/nuxt/src', '/var/nuxt/src/middleware') + expect(r).nthCalledWith(4, '/var/nuxt/src', '/var/nuxt/src/layouts/*.{vue,js,ts,tsx}') + expect(r).nthCalledWith(5, '/var/nuxt/src', '/var/nuxt/src/layouts/**/*.{vue,js,ts,tsx}') + + expect(upath.normalizeSafe).toBeCalledTimes(5) + expect(upath.normalizeSafe).nthCalledWith(1, '/var/nuxt/src/layouts', 0, patterns) + expect(upath.normalizeSafe).nthCalledWith(2, '/var/nuxt/src/store', 1, patterns) + expect(upath.normalizeSafe).nthCalledWith(3, '/var/nuxt/src/middleware', 2, patterns) + expect(upath.normalizeSafe).nthCalledWith(4, '/var/nuxt/src/layouts/*.{vue,js,ts,tsx}', 3, patterns) + expect(upath.normalizeSafe).nthCalledWith(5, '/var/nuxt/src/layouts/**/*.{vue,js,ts,tsx}', 4, patterns) + + expect(chokidar.watch).toBeCalledTimes(1) + expect(chokidar.watch).toBeCalledWith(patterns, { test: true }) + expect(chokidar.on).toBeCalledTimes(2) + expect(chokidar.on).nthCalledWith(1, 'add', expect.any(Function)) + expect(chokidar.on).nthCalledWith(2, 'unlink', expect.any(Function)) + }) + + test('should watch pages files', () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' + } + nuxt.options.build.watch = [] + nuxt.options.watchers = { + chokidar: { test: true } + } + const builder = new Builder(nuxt, {}) + builder._nuxtPages = true + r.mockImplementation((dir, src) => src) + + builder.watchClient() + + expect(r).toBeCalledTimes(8) + expect(r).nthCalledWith(6, '/var/nuxt/src', '/var/nuxt/src/pages') + expect(r).nthCalledWith(7, '/var/nuxt/src', '/var/nuxt/src/pages/*.{vue,js,ts,tsx}') + expect(r).nthCalledWith(8, '/var/nuxt/src', '/var/nuxt/src/pages/**/*.{vue,js,ts,tsx}') + }) + + test('should watch custom in watchClient', () => { + const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' + } + nuxt.options.build.watch = [] + nuxt.options.watchers = { + chokidar: { test: true } + } + const builder = new Builder(nuxt, {}) + builder.watchCustom = jest.fn() + r.mockImplementation((dir, src) => src) + + builder.watchClient() + + expect(debounce).toBeCalledTimes(1) + expect(debounce).toBeCalledWith(expect.any(Function), 200) + + const refreshFiles = chokidar.on.mock.calls[0][1] + builder.generateRoutesAndFiles = jest.fn() + refreshFiles() + expect(builder.generateRoutesAndFiles).toBeCalled() + expect(builder.watchCustom).toBeCalledTimes(1) + expect(builder.watchCustom).toBeCalledWith(refreshFiles) + }) + + test('should watch custom patterns', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true } + } + nuxt.options.build.watch = [ + '/var/nuxt/src/custom' + ] + nuxt.options.build.styleResources = [ + '/var/nuxt/src/style' + ] + const builder = new Builder(nuxt, {}) + const refreshFiles = jest.fn() + + builder.watchCustom(refreshFiles) + + expect(chokidar.watch).toBeCalledTimes(1) + expect(chokidar.watch).toBeCalledWith( + ['/var/nuxt/src/custom', '/var/nuxt/src/style'], + { test: true } + ) + expect(chokidar.on).toBeCalledTimes(1) + expect(chokidar.on).toBeCalledWith('change', refreshFiles) + }) + + test('should call refreshFiles before watching custom patterns', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true } + } + nuxt.options.build.watch = [ + '/var/nuxt/src/custom' + ] + const builder = new Builder(nuxt, {}) + const refreshFiles = jest.fn() + + builder.watchCustom(refreshFiles, true) + + expect(refreshFiles).toBeCalledTimes(1) + }) + + test('should rewatch custom patterns when event is included in rewatchOnRawEvents', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true }, + rewatchOnRawEvents: ['rename'] + } + nuxt.options.build.watch = [ + '/var/nuxt/src/custom' + ] + const builder = new Builder(nuxt, {}) + const refreshFiles = jest.fn() + + builder.watchCustom(refreshFiles) + + expect(chokidar.on).toBeCalledTimes(2) + expect(chokidar.on).nthCalledWith(2, 'raw', expect.any(Function)) + + const rewatchHandler = chokidar.on.mock.calls[1][1] + builder.watchCustom = jest.fn() + rewatchHandler('rename') + rewatchHandler('change') + + expect(chokidar.close).toBeCalledTimes(1) + expect(builder.watchers.custom).toBeNull() + expect(builder.watchCustom).toBeCalledTimes(1) + expect(builder.watchCustom).toBeCalledWith(refreshFiles, true) + }) + + test('should watch files for restarting server', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true } + } + nuxt.options.watch = [ + '/var/nuxt/src/watch/test' + ] + nuxt.options.serverMiddleware = [ + '/var/nuxt/src/middleware/test', + { obj: 'test' } + ] + const builder = new Builder(nuxt, {}) + builder.ignore.ignoreFile = '/var/nuxt/src/.nuxtignore' + isString.mockImplementationOnce(src => typeof src === 'string') + + builder.watchRestart() + + expect(chokidar.watch).toBeCalledTimes(1) + expect(chokidar.watch).toBeCalledWith( + [ + 'resolveAlias(/var/nuxt/src/middleware/test)', + 'resolveAlias(/var/nuxt/src/watch/test)', + '/var/nuxt/src/.nuxtignore' + ], + { test: true } + ) + expect(chokidar.on).toBeCalledTimes(1) + expect(chokidar.on).toBeCalledWith('all', expect.any(Function)) + }) + + test('should trigger restarting when files changed', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true } + } + nuxt.options.watch = [ + '/var/nuxt/src/watch/test' + ] + nuxt.options.serverMiddleware = [] + const builder = new Builder(nuxt, {}) + + builder.watchRestart() + + const restartHandler = chokidar.on.mock.calls[0][1] + const watchingFile = '/var/nuxt/src/watch/test/index.js' + restartHandler('add', watchingFile) + restartHandler('change', watchingFile) + restartHandler('unlink', watchingFile) + + expect(nuxt.callHook).toBeCalledTimes(6) + expect(nuxt.callHook).nthCalledWith(1, 'watch:fileChanged', builder, watchingFile) + expect(nuxt.callHook).nthCalledWith(2, 'watch:restart', { event: 'add', path: watchingFile }) + expect(nuxt.callHook).nthCalledWith(3, 'watch:fileChanged', builder, watchingFile) + expect(nuxt.callHook).nthCalledWith(4, 'watch:restart', { event: 'change', path: watchingFile }) + expect(nuxt.callHook).nthCalledWith(5, 'watch:fileChanged', builder, watchingFile) + expect(nuxt.callHook).nthCalledWith(6, 'watch:restart', { event: 'unlink', path: watchingFile }) + }) + + test('should ignore other events in watchRestart', () => { + const nuxt = createNuxt() + nuxt.options.watchers = { + chokidar: { test: true } + } + nuxt.options.watch = [ + '/var/nuxt/src/watch/test' + ] + nuxt.options.serverMiddleware = [] + const builder = new Builder(nuxt, {}) + + builder.watchRestart() + + const restartHandler = chokidar.on.mock.calls[0][1] + const watchingFile = '/var/nuxt/src/watch/test/index.js' + restartHandler('rename', watchingFile) + + expect(nuxt.callHook).not.toBeCalled() + }) + + test('should unwatch every watcher', () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + builder.watchers = { + files: { close: jest.fn() }, + custom: { close: jest.fn() }, + restart: { close: jest.fn() } + } + + builder.unwatch() + + expect(builder.watchers.files.close).toBeCalledTimes(1) + expect(builder.watchers.custom.close).toBeCalledTimes(1) + expect(builder.watchers.restart.close).toBeCalledTimes(1) + }) + + test('should close watch and bundle builder', async () => { + const nuxt = createNuxt() + const bundleBuilderClose = jest.fn() + const builder = new Builder(nuxt, { close: bundleBuilderClose }) + builder.unwatch = jest.fn() + + expect(builder.__closed).toBeUndefined() + + await builder.close() + + expect(builder.__closed).toEqual(true) + expect(builder.unwatch).toBeCalledTimes(1) + expect(bundleBuilderClose).toBeCalledTimes(1) + }) + + test('should close bundleBuilder only if close api exists', async () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, { }) + builder.unwatch = jest.fn() + + expect(builder.__closed).toBeUndefined() + + await builder.close() + + expect(builder.__closed).toEqual(true) + expect(builder.unwatch).toBeCalledTimes(1) + }) + + test('should prevent duplicate close', async () => { + const nuxt = createNuxt() + const bundleBuilderClose = jest.fn() + const builder = new Builder(nuxt, { close: bundleBuilderClose }) + builder.unwatch = jest.fn() + builder.__closed = true + + await builder.close() + + expect(builder.unwatch).not.toBeCalled() + expect(bundleBuilderClose).not.toBeCalled() + }) +}) diff --git a/packages/builder/test/context/__snapshots__/template.test.js.snap b/packages/builder/test/context/__snapshots__/template.test.js.snap new file mode 100644 index 0000000000..952b4e7193 --- /dev/null +++ b/packages/builder/test/context/__snapshots__/template.test.js.snap @@ -0,0 +1,105 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`builder: buildContext should construct context 1`] = ` +TemplateContext { + "templateFiles": Array [ + "template.js", + ], + "templateVars": Object { + "appPath": "./App.js", + "components": Object { + "ErrorPage": "relativeBuild(test_error_page)", + }, + "css": Array [ + "test.css", + ], + "debug": "test_debug", + "dir": Array [ + "test_dir", + ], + "env": "test_env", + "extensions": "test|ext", + "globalName": "test_global", + "globals": Array [ + "globals", + ], + "head": "test_head", + "isDev": "test_dev", + "isTest": "test_test", + "layoutTransition": Object { + "name": "test_layout_trans", + }, + "layouts": Object { + "test-layout": "test.template", + }, + "loading": "relativeBuild(test_src_dir, test-loading)", + "messages": Object { + "test": "test message", + }, + "mode": "test mode", + "options": Object { + "ErrorPage": "test_error_page", + "build": Object { + "splitChunks": Object { + "testSC": true, + }, + }, + "css": Array [ + "test.css", + ], + "debug": "test_debug", + "dev": "test_dev", + "dir": Array [ + "test_dir", + ], + "env": "test_env", + "extensions": Array [ + "test", + "ext", + ], + "globalName": "test_global", + "head": "test_head", + "layoutTransition": Object { + "name": "test_layout_trans", + }, + "layouts": Object { + "test-layout": "test.template", + }, + "loading": "test-loading", + "messages": Object { + "test": "test message", + }, + "mode": "test mode", + "router": Object { + "route": "test", + }, + "srcDir": "test_src_dir", + "store": "test_store", + "test": "test_test", + "transition": Object { + "name": "test_trans", + }, + "vue": Object { + "config": "test_config", + }, + }, + "plugins": Array [ + "plugins", + ], + "router": Object { + "route": "test", + }, + "splitChunks": Object { + "testSC": true, + }, + "store": "test_store", + "transition": Object { + "name": "test_trans", + }, + "uniqBy": [Function], + "vue": Object { + "config": "test_config", + }, + }, +} +`; diff --git a/packages/builder/test/context/build.test.js b/packages/builder/test/context/build.test.js new file mode 100644 index 0000000000..693d96ed23 --- /dev/null +++ b/packages/builder/test/context/build.test.js @@ -0,0 +1,23 @@ +import BuildContext from '../../src/context/build' + +describe('builder: buildContext', () => { + test('should construct context', () => { + const builder = { + nuxt: { options: {} } + } + const context = new BuildContext(builder) + expect(context._builder).toEqual(builder) + expect(context.nuxt).toEqual(builder.nuxt) + expect(context.options).toEqual(builder.nuxt.options) + expect(context.isStatic).toEqual(false) + }) + + test('should return builder plugins context', () => { + const builder = { + plugins: [], + nuxt: { options: {} } + } + const context = new BuildContext(builder) + expect(context.plugins).toEqual(builder.plugins) + }) +}) diff --git a/packages/builder/test/context/template.test.js b/packages/builder/test/context/template.test.js new file mode 100644 index 0000000000..3ad3872c06 --- /dev/null +++ b/packages/builder/test/context/template.test.js @@ -0,0 +1,81 @@ +import hash from 'hash-sum' +import consola from 'consola' +import serialize from 'serialize-javascript' + +import devalue from '@nuxt/devalue' +import { r, wp, wChunk, serializeFunction } from '@nuxt/utils' +import TemplateContext from '../../src/context/template' + +jest.mock('lodash', () => ({ test: 'test lodash', warn: 'only once' })) + +describe('builder: buildContext', () => { + const builder = { + template: { files: ['template.js'] }, + globals: [ 'globals' ], + plugins: [ 'plugins' ], + relativeToBuild: jest.fn((...args) => `relativeBuild(${args.join(', ')})`) + } + const options = { + extensions: [ 'test', 'ext' ], + messages: { test: 'test message' }, + build: { + splitChunks: { testSC: true } + }, + dev: 'test_dev', + test: 'test_test', + debug: 'test_debug', + vue: { config: 'test_config' }, + mode: 'test mode', + router: { route: 'test' }, + env: 'test_env', + head: 'test_head', + store: 'test_store', + globalName: 'test_global', + css: [ 'test.css' ], + layouts: { + 'test-layout': 'test.template' + }, + srcDir: 'test_src_dir', + loading: 'test-loading', + transition: { name: 'test_trans' }, + layoutTransition: { name: 'test_layout_trans' }, + dir: ['test_dir'], + ErrorPage: 'test_error_page' + } + + test('should construct context', () => { + const context = new TemplateContext(builder, options) + expect(context).toMatchSnapshot() + }) + + test('should return object loading template options', () => { + const context = new TemplateContext(builder, { + ...options, + loading: { name: 'test_loading' } + }) + + expect(context.templateVars.loading).toEqual({ name: 'test_loading' }) + }) + + test('should return object loading template options', () => { + const context = new TemplateContext(builder, options) + const templateOptions = context.templateOptions + expect(templateOptions).toEqual({ + imports: { + serialize, + serializeFunction, + devalue, + hash, + r, + wp, + wChunk, + _: {} + }, + interpolate: /<%=([\s\S]+?)%>/g + }) + expect(templateOptions.imports._.test).toEqual('test lodash') + expect(templateOptions.imports._.warn).toEqual('only once') + expect(consola.warn).toBeCalledTimes(1) + expect(consola.warn).toBeCalledWith('Avoid using _ inside templates') + }) +}) diff --git a/packages/builder/test/ignore.test.js b/packages/builder/test/ignore.test.js new file mode 100644 index 0000000000..3f6fe9f071 --- /dev/null +++ b/packages/builder/test/ignore.test.js @@ -0,0 +1,147 @@ +import path from 'path' +import fs from 'fs-extra' + +import Ignore from '../src/ignore' + +jest.mock('path') +jest.mock('fs-extra') +jest.mock('ignore', () => () => ({ + add: jest.fn(), + filter: jest.fn(paths => paths) +})) + +describe('builder: Ignore', () => { + beforeAll(() => { + path.resolve.mockImplementation((...args) => `resolve(${args.join(', ')})`) + }) + + beforeEach(() => { + jest.clearAllMocks() + }) + + test('should construct Ignore', () => { + jest.spyOn(Ignore.prototype, 'addIgnoresRules').mockImplementation(() => {}) + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + expect(Ignore.IGNORE_FILENAME).toEqual('.nuxtignore') + expect(ignore.rootDir).toEqual('/var/nuxt') + expect(ignore.addIgnoresRules).toBeCalledTimes(1) + + Ignore.prototype.addIgnoresRules.mockRestore() + }) + + test('should add ignore file', () => { + jest.spyOn(Ignore.prototype, 'addIgnoresRules') + jest.spyOn(Ignore.prototype, 'readIgnoreFile').mockReturnValue('') + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + expect(Ignore.IGNORE_FILENAME).toEqual('.nuxtignore') + expect(ignore.rootDir).toEqual('/var/nuxt') + expect(ignore.addIgnoresRules).toBeCalledTimes(1) + expect(ignore.readIgnoreFile).toBeCalledTimes(1) + + Ignore.prototype.addIgnoresRules.mockRestore() + Ignore.prototype.readIgnoreFile.mockRestore() + }) + + test('should find ignore file', () => { + fs.existsSync.mockReturnValueOnce(true) + fs.statSync.mockReturnValueOnce({ isFile: () => true }) + fs.readFileSync.mockReturnValueOnce('pages/ignore.vue') + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt', '.nuxtignore') + expect(fs.existsSync).toBeCalledTimes(1) + expect(fs.existsSync).toBeCalledWith('resolve(/var/nuxt, .nuxtignore)') + expect(fs.statSync).toBeCalledTimes(1) + expect(fs.statSync).toBeCalledWith('resolve(/var/nuxt, .nuxtignore)') + expect(ignore.ignoreFile).toEqual('resolve(/var/nuxt, .nuxtignore)') + expect(fs.readFileSync).toBeCalledTimes(1) + expect(fs.readFileSync).toBeCalledWith('resolve(/var/nuxt, .nuxtignore)', 'utf8') + expect(ignore.ignore.add).toBeCalledTimes(1) + expect(ignore.ignore.add).toBeCalledWith('pages/ignore.vue') + + fs.existsSync.mockClear() + ignore.findIgnoreFile() + expect(fs.existsSync).not.toBeCalled() + }) + + test('should only find existed ignore file', () => { + fs.existsSync.mockReturnValueOnce(false) + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + expect(path.resolve).toBeCalledTimes(1) + expect(path.resolve).toBeCalledWith('/var/nuxt', '.nuxtignore') + expect(fs.existsSync).toBeCalledTimes(1) + expect(fs.existsSync).toBeCalledWith('resolve(/var/nuxt, .nuxtignore)') + expect(fs.statSync).not.toBeCalled() + expect(ignore.ignoreFile).toBeUndefined() + expect(ignore.ignore).toBeUndefined() + }) + + test('should filter ignore files', () => { + fs.existsSync.mockReturnValueOnce(true) + fs.statSync.mockReturnValueOnce({ isFile: () => true }) + fs.readFileSync.mockReturnValueOnce('pages/ignore.vue') + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + ignore.filter() + ignore.filter('pages/ignore.vue') + const paths = ignore.filter([ 'pages/ignore.vue', 'layouts/ignore.vue' ]) + + expect(ignore.ignore.filter).toBeCalledTimes(3) + expect(ignore.ignore.filter).nthCalledWith(1, []) + expect(ignore.ignore.filter).nthCalledWith(2, [ 'pages/ignore.vue' ]) + expect(ignore.ignore.filter).nthCalledWith(3, [ 'pages/ignore.vue', 'layouts/ignore.vue' ]) + expect(paths).toEqual([ 'pages/ignore.vue', 'layouts/ignore.vue' ]) + }) + + test('should return origin paths if there is no ignorefile', () => { + fs.existsSync.mockReturnValueOnce(false) + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + const paths = ignore.filter([ 'pages/ignore.vue', 'layouts/ignore.vue' ]) + + expect(paths).toEqual([ 'pages/ignore.vue', 'layouts/ignore.vue' ]) + }) + + test('should reload ignore', () => { + fs.existsSync.mockReturnValueOnce(true) + fs.statSync.mockReturnValueOnce({ isFile: () => true }) + fs.readFileSync.mockReturnValueOnce('pages/ignore.vue') + + const ignore = new Ignore({ + rootDir: '/var/nuxt' + }) + + expect(ignore.ignore).toBeDefined() + expect(ignore.ignoreFile).toEqual('resolve(/var/nuxt, .nuxtignore)') + + ignore.addIgnoresRules = jest.fn() + + ignore.reload() + + expect(ignore.ignore).toBeUndefined() + expect(ignore.ignoreFile).toBeUndefined() + expect(ignore.addIgnoresRules).toBeCalledTimes(1) + }) +}) diff --git a/packages/builder/test/index.test.js b/packages/builder/test/index.test.js new file mode 100644 index 0000000000..a8ada36f52 --- /dev/null +++ b/packages/builder/test/index.test.js @@ -0,0 +1,9 @@ +import { Builder } from '../src' + +jest.mock('../src/builder', () => jest.fn(() => 'nuxt builder')) + +describe('builder: entry', () => { + test('should export Builder', () => { + expect(Builder()).toEqual('nuxt builder') + }) +}) From fabf1c07eba77f9ba142ab484a47827dc0516495 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 4 Feb 2019 11:31:24 +0000 Subject: [PATCH 033/221] test: add await for promisable expect --- packages/builder/test/builder.plugin.test.js | 4 ++-- packages/core/test/module.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/builder/test/builder.plugin.test.js b/packages/builder/test/builder.plugin.test.js index 79ae6da50b..949bfd7c45 100644 --- a/packages/builder/test/builder.plugin.test.js +++ b/packages/builder/test/builder.plugin.test.js @@ -92,7 +92,7 @@ describe('builder: builder plugins', () => { ]) }) - test('should throw error if plugin no existed', () => { + test('should throw error if plugin no existed', async () => { const nuxt = createNuxt() const builder = new Builder(nuxt, {}) builder.plugins = [ @@ -100,7 +100,7 @@ describe('builder: builder plugins', () => { ] Glob.mockImplementationOnce(() => []) - expect(builder.resolvePlugins()).rejects.toThrow('Plugin not found: /var/nuxt/plugins/test.js') + await expect(builder.resolvePlugins()).rejects.toThrow('Plugin not found: /var/nuxt/plugins/test.js') }) test('should warn if there are multiple files and not index', async () => { diff --git a/packages/core/test/module.test.js b/packages/core/test/module.test.js index 20265f44f4..c7869a9d05 100644 --- a/packages/core/test/module.test.js +++ b/packages/core/test/module.test.js @@ -358,13 +358,13 @@ describe('core: module', () => { expect(result).toEqual({ test: true }) }) - test('should throw error when handler is not function', () => { + test('should throw error when handler is not function', async () => { const module = new ModuleContainer({ resolver: { requireModule: () => false }, options: {} }) - expect(module.addModule('moduleTest')).rejects.toThrow('Module should export a function: moduleTest') + await expect(module.addModule('moduleTest')).rejects.toThrow('Module should export a function: moduleTest') }) test('should prevent multiple adding when requireOnce is enabled', async () => { From 858c9eeb5d3552381d48089d19201cbccc0120a9 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 4 Feb 2019 12:39:54 +0000 Subject: [PATCH 034/221] fix(test): unhandled open handles --- packages/builder/test/builder.generate.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/builder/test/builder.generate.test.js b/packages/builder/test/builder.generate.test.js index 47c68f842a..37f6f985b4 100644 --- a/packages/builder/test/builder.generate.test.js +++ b/packages/builder/test/builder.generate.test.js @@ -489,6 +489,8 @@ describe('builder: builder generate', () => { layouts: '/var/nuxt/src/layouts' } const builder = new Builder(nuxt, {}) + builder.resolveFiles = jest.fn() + fs.exists.mockReturnValueOnce(false) const templateVars = { layouts: { @@ -496,7 +498,6 @@ describe('builder: builder generate', () => { } } await builder.resolveLayouts({ templateVars }) - builder.resolveFiles = jest.fn() expect(path.resolve).toBeCalledTimes(1) expect(path.resolve).toBeCalledWith('/var/nuxt/src', '/var/nuxt/src/layouts') @@ -541,7 +542,7 @@ describe('builder: builder generate', () => { expect(builder.routes).toEqual(templateVars.router.routes) }) - test('should resolve routes from defualt pages dir', async () => { + test('should resolve routes from default pages dir', async () => { const nuxt = createNuxt() nuxt.options.srcDir = '/var/nuxt/src' nuxt.options.build = { From 92803b23d99857af512dd7d0170d1258eb73b626 Mon Sep 17 00:00:00 2001 From: Pim Date: Mon, 4 Feb 2019 22:20:09 +0100 Subject: [PATCH 035/221] fix: improve nuxt version number when running from git (#4946) --- package.json | 2 +- scripts/{dev => dev.js} | 41 ++++++++++++++++++++--------------------- 2 files changed, 21 insertions(+), 22 deletions(-) rename scripts/{dev => dev.js} (59%) diff --git a/package.json b/package.json index 64092399ab..7fd389469c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "clean:build": "rimraf distributions/*/dist packages/*/dist", "clean:examples": "rimraf examples/*/dist examples/*/.nuxt", "clean:test": "rimraf test/fixtures/*/dist test/fixtures/*/.nuxt*", - "dev": "node -r esm ./scripts/dev", + "dev": "node -r esm ./scripts/dev.js", "coverage": "codecov", "lint": "eslint --ext .js,.mjs,.vue .", "lint:app": "eslint-multiplexer eslint --ignore-path packages/vue-app/template/.eslintignore 'test/fixtures/!(missing-plugin)/.nuxt!(-dev)/**' | eslint-multiplexer -b", diff --git a/scripts/dev b/scripts/dev.js similarity index 59% rename from scripts/dev rename to scripts/dev.js index 2e70b3c6ab..387fe414e6 100755 --- a/scripts/dev +++ b/scripts/dev.js @@ -24,32 +24,31 @@ const _require = esm(module, { const execa = require('execa') -global.__NUXT = new Proxy({}, { - get(target, propertyKey, receiver) { - if (propertyKey === 'version') { - try { - const { stdout } = execa.sync('git', ['status', '-s', '-b', '--porcelain=2']) +global.__NUXT = {} +Object.defineProperty(global.__NUXT, 'version', { + enumerable: true, + get() { + try { + const { stdout } = execa.sync('git', ['status', '-s', '-b', '--porcelain=2']) - const status = { dirty: false } - for (const line of stdout.split('\\n')) { - if (line[0] === '#') { - const match = line.match(/branch\.([^\\s]+) (.*)\$/) - if (match && match.length) { - status[match[1]] = match[2] - } - } else { - status.dirty = true - break + const status = { dirty: false } + for (const line of stdout.split('\\n')) { + if (line[0] === '#') { + const match = line.match(/branch\\.([^\\s]+) (.*)$/) + if (match && match.length) { + status[match[1]] = match[2] } + } else { + status.dirty = true + break } - - return \`git<\${status.head}\${status.dirty ? '~' : '-'}\${(status.oid && status.oid.substr(0, 7)) || ''}> (\${status.ab})\` - } catch (err) { - return 'source' } - } - return target[propertyKey] + return \`git<\${status.head}\${status.dirty ? '~' : '-'}\${(status.oid && status.oid.substr(0, 7)) || ''}>\` + + (status.ab ? \` (\${status.ab})\` : '') + } catch (err) { + return 'source' + } } }) From e4051b2040b85db432f45bb653c67008be68b965 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 5 Feb 2019 01:16:56 +0330 Subject: [PATCH 036/221] chore(deps): update sort-package-json to 1.19.0 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7fd389469c..ce454ea9ab 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "rollup-plugin-license": "^0.8.1", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-replace": "^2.1.0", - "sort-package-json": "^1.18.0", + "sort-package-json": "^1.19.0", "ts-jest": "^23.10.5", "ts-loader": "^5.3.3", "tslint": "^5.12.1", diff --git a/yarn.lock b/yarn.lock index 68edd7882a..857b3ef722 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10171,10 +10171,10 @@ sort-object-keys@^1.1.2: resolved "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.2.tgz#d3a6c48dc2ac97e6bc94367696e03f6d09d37952" integrity sha1-06bEjcKsl+a8lDZ2luA/bQnTeVI= -sort-package-json@^1.18.0: - version "1.18.0" - resolved "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.18.0.tgz#d9ece79b1e1818dea67451813f9e504481bebd00" - integrity sha512-OkUR/WjlMz4IFOOMhYTpVl9rDaL4XIIOabzTXUBQVck04Dh+DyhjCNnMcndwX2dz+u77Q3MUuj1ncyVjVesB7Q== +sort-package-json@^1.19.0: + version "1.19.0" + resolved "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.19.0.tgz#3e6819147d75680832890523e753b8992166a442" + integrity sha512-SRzbsvOG+g8jTuFYZCvljh+LOsNeCS04bH+MF6qf0Ukva0Eh3Y6Jf7a4GSNEeDHLHM6CWqhZuJo7OLdzycTH1A== dependencies: detect-indent "^5.0.0" sort-object-keys "^1.1.2" From 5c053f5cb02102dd059db41d0ab110660e37850b Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 5 Feb 2019 00:15:22 +0000 Subject: [PATCH 037/221] test: turn off cli dev test --- test/unit/cli.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/cli.test.js b/test/unit/cli.test.js index 51927b3188..39977eb686 100644 --- a/test/unit/cli.test.js +++ b/test/unit/cli.test.js @@ -20,7 +20,7 @@ const close = async (nuxtInt) => { } } -describe.posix('cli', () => { +describe.skip('cli', () => { test('nuxt dev', async () => { let stdout = '' const { env } = process From 5c08db20b4819d9800a9e6dde118e1a0549fbac1 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 5 Feb 2019 09:53:47 +0000 Subject: [PATCH 038/221] fix: await buildDone hook (#4955) --- packages/server/src/middleware/nuxt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/server/src/middleware/nuxt.js b/packages/server/src/middleware/nuxt.js index fe96370d6e..87819a8a99 100644 --- a/packages/server/src/middleware/nuxt.js +++ b/packages/server/src/middleware/nuxt.js @@ -22,7 +22,7 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux } = result if (redirected) { - nuxt.callHook('render:routeDone', url, result, context) + await nuxt.callHook('render:routeDone', url, result, context) return html } if (error) { @@ -35,7 +35,7 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux if (fresh(req.headers, { etag })) { res.statusCode = 304 res.end() - nuxt.callHook('render:routeDone', url, result, context) + await nuxt.callHook('render:routeDone', url, result, context) return } res.setHeader('ETag', etag) @@ -74,7 +74,7 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux res.setHeader('Accept-Ranges', 'none') // #3870 res.setHeader('Content-Length', Buffer.byteLength(html)) res.end(html, 'utf8') - nuxt.callHook('render:routeDone', url, result, context) + await nuxt.callHook('render:routeDone', url, result, context) return html } catch (err) { /* istanbul ignore if */ From 93089543be658ece3dc6b820fe033952de94de14 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 5 Feb 2019 14:00:57 +0330 Subject: [PATCH 039/221] feat: upgrade vue to 2.6 (#4953) --- distributions/nuxt-start/package.json | 2 +- packages/vue-app/package.json | 4 ++-- packages/vue-renderer/package.json | 4 ++-- test/unit/async-config.size-limit.test.js | 2 +- test/unit/components.test.js | 14 ++++++------- yarn.lock | 24 +++++++++++------------ 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 258617ae8f..c55b186434 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,7 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.2", "@nuxt/core": "2.4.2", - "vue": "^2.5.22", + "vue": "^2.6.2", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 18b16f77cd..5e59f4b285 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,11 +12,11 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { - "vue": "^2.5.22", + "vue": "^2.6.2", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.5.22", + "vue-template-compiler": "^2.6.2", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index d1c64ca7b0..3e1692fd5b 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.3.2", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.5.22", + "vue": "^2.6.2", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.5.22" + "vue-server-renderer": "^2.6.2" }, "publishConfig": { "access": "public" diff --git a/test/unit/async-config.size-limit.test.js b/test/unit/async-config.size-limit.test.js index 2ff88a739c..b9152ea0e6 100644 --- a/test/unit/async-config.size-limit.test.js +++ b/test/unit/async-config.size-limit.test.js @@ -34,6 +34,6 @@ describe('size-limit test', () => { const responseSizeBytes = responseSizes.reduce((bytes, responseLength) => bytes + responseLength, 0) const responseSizeKilobytes = Math.ceil(responseSizeBytes / 1024) // Without gzip! - expect(responseSizeKilobytes).toBeLessThanOrEqual(180) + expect(responseSizeKilobytes).toBeLessThanOrEqual(185) }) }) diff --git a/test/unit/components.test.js b/test/unit/components.test.js index db9e3fa898..0b85efe4ca 100644 --- a/test/unit/components.test.js +++ b/test/unit/components.test.js @@ -33,7 +33,7 @@ describe('components', () => { component.throttle = 0 component.start() const str = await renderToString(component) - expect(str).toBe('

') + expect(str).toBe('
') component.clear() }) @@ -46,7 +46,7 @@ describe('components', () => { await waitFor(250) const str = await renderToString(component) expect(str).not.toBe('') - expect(str).not.toBe('
') + expect(str).not.toBe('
') expect(component.$data.percent).not.toBe(0) component.clear() }) @@ -58,7 +58,7 @@ describe('components', () => { component.start() component.finish() let str = await renderToString(component) - expect(str).toBe('
') + expect(str).toBe('
') expect(component.$data.percent).toBe(100) jest.runAllTimers() str = await renderToString(component) @@ -73,7 +73,7 @@ describe('components', () => { component.set(50) component.fail() const str = await renderToString(component) - expect(str).toBe('
') + expect(str).toBe('
') }) test('not shown until throttle', async () => { @@ -87,7 +87,7 @@ describe('components', () => { await waitFor(1000) str = await renderToString(component) expect(str).not.toBe('') - expect(str).not.toBe('
') + expect(str).not.toBe('
') component.clear() }) @@ -120,9 +120,9 @@ describe('components', () => { await waitFor(850) const str = await renderToString(component) expect(str).not.toBe('') - expect(str).not.toBe('
') + expect(str).not.toBe('
') expect(str).not.toBe('
') - expect(str).not.toBe('
') + expect(str).not.toBe('
') expect(str).not.toBe('
') component.clear() }) diff --git a/yarn.lock b/yarn.lock index 857b3ef722..41171d90b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11345,10 +11345,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.5.22: - version "2.5.22" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.5.22.tgz#f119efef289c865adc22fda0ae7595299bedbdcf" - integrity sha512-PQ0PubA6b2MyZud/gepWeiUuDFSbRfa6h1qYINcbwXRr4Z3yLTHprEQuFnWikdkTkZpeLFYUqZrDxPbDcJ71mA== +vue-server-renderer@^2.6.2: + version "2.6.2" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.2.tgz#89faa6d87e94f9333276a4ee9cd39bece97059db" + integrity sha512-UAAKbYhcT9WRP7L4aRR/c6e/GXBj5lwR9H8AQ+b/lbwVwMauHyYNdhQzFmLFZfujNAjZK6+mQQVtdMoa2J8Y5g== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11367,10 +11367,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.5.22: - version "2.5.22" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.22.tgz#c3d3c02c65f1908205c4fbd3b0ef579e51239955" - integrity sha512-1VTw/NPTUeHNiwhkq6NkFzO7gYLjFCueBN0FX8NEiQIemd5EUMQ5hxrF7O0zCPo5tae+U9S/scETPea+hIz8Eg== +vue-template-compiler@^2.6.2: + version "2.6.2" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.2.tgz#6230abf7ca92d565b7471c0cc3f54d5b12aa48e7" + integrity sha512-2dBKNCtBPdx1TFef7T4zwF8IjOx2xbMNryCtFzneP+XIonJwOtnkq4s1mhKv8W79gXcGINQWtuaxituGAcuSnA== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11380,10 +11380,10 @@ vue-template-es2015-compiler@^1.6.0: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.5.22: - version "2.5.22" - resolved "https://registry.npmjs.org/vue/-/vue-2.5.22.tgz#3bf88041af08b8539c37b268b70ca79245e9cc30" - integrity sha512-pxY3ZHlXNJMFQbkjEgGVMaMMkSV1ONpz+4qB55kZuJzyJOhn6MSy/YZdzhdnumegNzVTL/Dn3Pp4UrVBYt1j/g== +vue@^2.6.2: + version "2.6.2" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.2.tgz#1cc9c9c8f7ba8df45e9b97c284947de78b76301c" + integrity sha512-NZAb0H+t3/99g2nygURcEJ+ncvzNLPiEiFI5MGhc1Cjsw5uYprF+Ol7SOd1RXPcmVVzK7jUBl0th2tNgt+VQDg== vuex@^3.1.0: version "3.1.0" From 1e9eb4b70c401a29c98419899f38cfdbdd8251f7 Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Tue, 5 Feb 2019 09:35:42 -0200 Subject: [PATCH 040/221] feat(module): support src as a function in addModule (#4956) --- packages/core/src/module.js | 9 +++++++-- packages/core/test/module.test.js | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/packages/core/src/module.js b/packages/core/src/module.js index 3ae1279d1d..e6fbc251ac 100644 --- a/packages/core/src/module.js +++ b/packages/core/src/module.js @@ -115,8 +115,8 @@ export default class ModuleContainer { let options let handler - // Type 1: String - if (typeof moduleOpts === 'string') { + // Type 1: String or Function + if (typeof moduleOpts === 'string' || typeof moduleOpts === 'function') { src = moduleOpts } else if (Array.isArray(moduleOpts)) { // Type 2: Babel style array @@ -126,6 +126,11 @@ export default class ModuleContainer { ({ src, options, handler } = moduleOpts) } + // Define handler if src is a function + if (typeof src === 'function') { + handler = src + } + // Resolve handler if (!handler) { handler = this.nuxt.resolver.requireModule(src) diff --git a/packages/core/test/module.test.js b/packages/core/test/module.test.js index c7869a9d05..bd9c617719 100644 --- a/packages/core/test/module.test.js +++ b/packages/core/test/module.test.js @@ -309,6 +309,31 @@ describe('core: module', () => { expect(result).toEqual({ src: 'moduleTest', options: {} }) }) + test('should add function module', async () => { + const module = new ModuleContainer({ + resolver: { requireModule }, + options: {} + }) + + const functionModule = function (options) { + return Promise.resolve(options) + } + + functionModule.meta = { name: 'moduleTest' } + + const result = await module.addModule(functionModule) + + expect(requireModule).not.toBeCalled() + expect(module.requiredModules).toEqual({ + moduleTest: { + handler: expect.any(Function), + options: undefined, + src: functionModule + } + }) + expect(result).toEqual({ }) + }) + test('should add array module', async () => { const module = new ModuleContainer({ resolver: { requireModule }, From 3147823dee8f12bb95103b02dbbfe51ee98b95a1 Mon Sep 17 00:00:00 2001 From: Jonas Galvez Date: Tue, 5 Feb 2019 09:40:30 -0200 Subject: [PATCH 041/221] chore: bump Otechie fee (#4933) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6eba96be2b..cddc16ce1b 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Learn more at [nuxtjs.org](https://nuxtjs.org). ## Consulting from the Nuxt team -Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $200 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme) +Get help with that tough bug or make sure your Nuxt app is ready to deploy. For $250 an hour, get technical support, advice, code reviews, and development from the Nuxt core team: [Hire Nuxt on Otechie](https://otechie.com/nuxt?ref=readme) ## Professional support with TideLift From 4c7bd9c507fce5af81a7dbadd1454482cbc3ec44 Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Tue, 5 Feb 2019 19:37:59 -0200 Subject: [PATCH 042/221] feat(cli): option to open the project in the browser (#4930) --- packages/cli/package.json | 1 + packages/cli/src/commands/dev.js | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index a541a8685f..d19833d213 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -19,6 +19,7 @@ "esm": "^3.2.0", "execa": "^1.0.0", "minimist": "^1.2.0", + "opener": "1.5.1", "pretty-bytes": "^5.1.0", "std-env": "^2.2.1", "wrap-ansi": "^4.0.0" diff --git a/packages/cli/src/commands/dev.js b/packages/cli/src/commands/dev.js index e0738c751a..0ef00946a7 100644 --- a/packages/cli/src/commands/dev.js +++ b/packages/cli/src/commands/dev.js @@ -1,5 +1,6 @@ import consola from 'consola' import chalk from 'chalk' +import opener from 'opener' import { common, server } from '../options' import { showBanner, eventsMapping, formatPath } from '../utils' @@ -9,17 +10,31 @@ export default { usage: 'dev ', options: { ...common, - ...server + ...server, + open: { + alias: 'o', + type: 'boolean', + description: 'Opens the server listeners url in the default browser' + } }, async run(cmd) { const { argv } = cmd - await this.startDev(cmd, argv) + const nuxt = await this.startDev(cmd, argv) + + // Opens the server listeners url in the default browser + if (argv.open) { + for (const listener of nuxt.server.listeners) { + await opener(listener.url) + } + } }, async startDev(cmd, argv) { try { - await this._startDev(cmd, argv) + const nuxt = await this._startDev(cmd, argv) + + return nuxt } catch (error) { consola.error(error) } From 76736f8ac7912af3b5937764ba930845496a4ea8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 6 Feb 2019 01:17:01 +0330 Subject: [PATCH 043/221] chore(deps): update all non-major dependencies (#4954) --- package.json | 6 +-- packages/builder/package.json | 4 +- packages/cli/package.json | 4 +- packages/config/package.json | 2 +- packages/core/package.json | 4 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 4 +- yarn.lock | 69 ++++++++++++++++++++++-------- 12 files changed, 69 insertions(+), 34 deletions(-) diff --git a/package.json b/package.json index ce454ea9ab..610d5131af 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.1.0", - "consola": "^2.3.2", + "consola": "^2.4.0", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.13.0", @@ -46,7 +46,7 @@ "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.1.0", - "esm": "^3.2.0", + "esm": "^3.2.1", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", @@ -62,7 +62,7 @@ "node-fetch": "^2.3.0", "pug": "^2.0.3", "pug-plain-loader": "^1.0.0", - "puppeteer-core": "^1.12.1", + "puppeteer-core": "^1.12.2", "request": "^2.88.0", "request-promise-native": "^1.0.5", "rimraf": "^2.6.3", diff --git a/packages/builder/package.json b/packages/builder/package.json index 40482ce148..c1ffc3e78e 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -11,8 +11,8 @@ "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.2", "@nuxt/vue-app": "2.4.2", - "chokidar": "^2.0.4", - "consola": "^2.3.2", + "chokidar": "^2.1.0", + "consola": "^2.4.0", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index d19833d213..28e7b487a9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,8 +15,8 @@ "@nuxt/config": "2.4.2", "boxen": "^2.1.0", "chalk": "^2.4.2", - "consola": "^2.3.2", - "esm": "^3.2.0", + "consola": "^2.4.0", + "esm": "^3.2.1", "execa": "^1.0.0", "minimist": "^1.2.0", "opener": "1.5.1", diff --git a/packages/config/package.json b/packages/config/package.json index 336c9b9aaf..07f5e42843 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -9,7 +9,7 @@ "main": "dist/config.js", "dependencies": { "@nuxt/utils": "2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index be5c3e7882..40c07ccf02 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,9 +13,9 @@ "@nuxt/server": "2.4.2", "@nuxt/utils": "2.4.2", "@nuxt/vue-renderer": "2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "debug": "^4.1.1", - "esm": "^3.2.0", + "esm": "^3.2.1", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/generator/package.json b/packages/generator/package.json index a7d2f0c4c3..43bad32907 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.2", "chalk": "^2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index 2f61efd10c..68b0feffe3 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.3", "connect": "^3.6.6", - "consola": "^2.3.2", + "consola": "^2.4.0", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index a535e662f5..e62b13913f 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/node": "^10.12.21", "chalk": "^2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index c33fdb0ff0..6e6d9193ed 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.3.2", + "consola": "^2.4.0", "serialize-javascript": "^1.6.1" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 3e1692fd5b..8258a31dc5 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.2", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 9d3a3d6f5a..9c4ccb6e66 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,9 +15,9 @@ "@nuxt/utils": "2.4.2", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000934", + "caniuse-lite": "^1.0.30000935", "chalk": "^2.4.2", - "consola": "^2.3.2", + "consola": "^2.4.0", "css-loader": "^2.1.0", "cssnano": "^4.1.8", "eventsource-polyfill": "^0.9.6", diff --git a/yarn.lock b/yarn.lock index 41171d90b8..368f4be0a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1964,7 +1964,7 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== -async-each@^1.0.0: +async-each@^1.0.0, async-each@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" integrity sha1-GdOGodntxufByF04iu28xW0zYC0= @@ -2360,7 +2360,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.npmjs.org/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -2664,10 +2664,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000930.tgz#c238bab82bedb462bcbdc61d0334932dcc084d8a" integrity sha512-KD+pw9DderBLB8CGqBzYyFWpnrPVOEjsjargU/CvkNyg60od3cxSPTcTeMPhxJhDbkQPWvOz5BAyBzNl/St9vg== -caniuse-lite@^1.0.30000934: - version "1.0.30000934" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000934.tgz#4f2d749f51e9e2d4e9b182f8f121d26ec4208e8d" - integrity sha512-o7yfZn0R9N+mWAuksDsdLsb1gu9o//XK0QSU0zSSReKNRsXsFc/n/psxi0YSPNiqlKxImp5h4DHnAPdwYJ8nNA== +caniuse-lite@^1.0.30000935: + version "1.0.30000935" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000935.tgz#d1b59df00b46f4921bb84a8a34c1d172b346df59" + integrity sha512-1Y2uJ5y56qDt3jsDTdBHL1OqiImzjoQcBG6Yl3Qizq8mcc2SgCFpi+ZwLLqkztYnk9l87IYqRlNBnPSOTbFkXQ== capture-exit@^1.2.0: version "1.2.0" @@ -2758,6 +2758,25 @@ chokidar@^2.0.2, chokidar@^2.0.4: optionalDependencies: fsevents "^1.2.2" +chokidar@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.0.tgz#5fcb70d0b28ebe0867eb0f09d5f6a08f29a1efa0" + integrity sha512-5t6G2SH8eO6lCvYOoUpaRnF5Qfd//gd7qJAkwRUw9qlGVkiQ13uwQngqbWWaurOsaAm9+kUGbITADxt6H0XFNQ== + 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.0" + optionalDependencies: + fsevents "^1.2.7" + chownr@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" @@ -3050,7 +3069,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0, consola@^2.3.2: +consola@^2.0.0-1, consola@^2.3.0: version "2.3.2" resolved "https://registry.npmjs.org/consola/-/consola-2.3.2.tgz#ec75dd9847fa963dc41e21bc2737ac8c962677bb" integrity sha512-7SAo6nBdWJw7XQFu0ZRnXbGBu+RhEp0/fEpm7lTnqRT6bHM0MwEkW0Yxv8phCP9s18qyMqBmVU/pJ2bri/TZIg== @@ -3061,6 +3080,17 @@ consola@^2.0.0-1, consola@^2.3.0, consola@^2.3.2: std-env "^2.2.1" string-width "^2.1.1" +consola@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/consola/-/consola-2.4.0.tgz#d13c711cd0648a600ca68b399b739cf8f5058097" + integrity sha512-fy9j1unXm/bXgk6dPMnwktTJqkAPgm/s28k+wZ/O7XeVgGXDPRXu/hcE12I68iqjk63W6No1J6TQlHQQOMIVhA== + dependencies: + chalk "^2.4.2" + dayjs "^1.8.3" + figures "^2.0.0" + std-env "^2.2.1" + string-width "^3.0.0" + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" @@ -3616,6 +3646,11 @@ dayjs@^1.7.7: resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.0.tgz#507963ac3023f4b1f9f399a278356946fc4c9ae9" integrity sha512-2ofInmfMKLLR5R02q3WEUuDt86UK33VQQTaEeJudF+C04ZUaekCP3VpB0NJPiyPDCGJWq9XYhHX2AemdxA8+dg== +dayjs@^1.8.3: + version "1.8.4" + resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.4.tgz#e5a8fe080a7955e210045e6c26c5d1d4c88cf602" + integrity sha512-Gd2W9A8f40Dwr17/O1W12cC61PSq8aUGKBWRVMs7n4XQNwPPIM9m7YzZPHMlW465Sia6t5KlKK52rYd5oT2T6A== + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -4292,10 +4327,10 @@ eslint@^5.13.0: table "^5.0.2" text-table "^0.2.0" -esm@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.0.tgz#089011156cf817ccdae38c877cbe03301df04136" - integrity sha512-yK4IiHmmInOk9q4xbJXdUfPV0ju7GbRCbhtpe5/gH7nRiD6RAb12Ix7zfsqQkDL5WERwzFlq/eT6zTXDWwIk+w== +esm@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.1.tgz#bd7c7dadad902ef167db93b266796e9cece587c7" + integrity sha512-+gxDed1gELD6mCn0P4TRPpknVJe7JvLtg3lJ9sRlLSpfw6J47QMGa5pi+10DN20VQ5z6OtbxjFoD9Z6PM+zb6Q== espree@^4.1.0: version "4.1.0" @@ -4896,7 +4931,7 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.2, fsevents@^1.2.3: +fsevents@^1.2.2, fsevents@^1.2.3, fsevents@^1.2.7: version "1.2.7" resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4" integrity sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== @@ -9231,10 +9266,10 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer-core@^1.12.1: - version "1.12.1" - resolved "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-1.12.1.tgz#aec39d9c199ceff6ddd4da00e0733bb73fce4156" - integrity sha512-arGXPRe1dkX3+tOh1GMQ0Ny3CoOCRurkHAW4AZEBIBMX/LdY6ReFqRTT9YSV3d9zzxiIat9kJc3v9h9nkxAu3g== +puppeteer-core@^1.12.2: + version "1.12.2" + resolved "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-1.12.2.tgz#f4797979aa9fde1045e52b343840f60500d5988e" + integrity sha512-M+atMV5e+MwJdR+OwQVZ1xqAIwh3Ou4nUxNuf334GwpcLG+LDj5BwIph4J9y8YAViByRtWGL+uF8qX2Ggzb+Fg== dependencies: debug "^4.1.0" extract-zip "^1.6.6" @@ -9456,7 +9491,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.npmjs.org/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== From 8b474cd256268adfbfc43806bfa681662a1e85e2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 6 Feb 2019 18:45:47 +0330 Subject: [PATCH 044/221] chore(deps): update dependency webpack to ^4.29.2 (#4963) --- packages/webpack/package.json | 2 +- yarn.lock | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 9c4ccb6e66..90b16461e7 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -44,7 +44,7 @@ "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", "vue-loader": "^15.6.2", - "webpack": "^4.29.1", + "webpack": "^4.29.2", "webpack-bundle-analyzer": "^3.0.3", "webpack-dev-middleware": "^3.5.1", "webpack-hot-middleware": "^2.24.3", diff --git a/yarn.lock b/yarn.lock index 368f4be0a1..7e69274f2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7889,7 +7889,7 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -opener@^1.5.1: +opener@1.5.1, opener@^1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== @@ -9954,14 +9954,6 @@ saxes@^3.1.5: dependencies: xmlchars "^1.3.1" -schema-utils@^0.4.4: - version "0.4.7" - resolved "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187" - integrity sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ== - dependencies: - ajv "^6.1.0" - ajv-keywords "^3.1.0" - schema-utils@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" @@ -11536,10 +11528,10 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.29.1: - version "4.29.1" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.1.tgz#a6533d7bc6a6b1ed188cb029d53d231be777e175" - integrity sha512-dY3KyQIVeg6cDPj9G5Bnjy9Pt9SoCpbNWl0RDKHstbd3MWe0dG9ri4RQRpCm43iToy3zoA1IMOpFkJ8Clnc7FQ== +webpack@^4.29.2: + version "4.29.2" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.2.tgz#1afb23db2ebc56403bdedb8915a628b17a4c2ccb" + integrity sha512-CIImg29B6IcIsQwxZJ6DtWXR024wX6vHfU8fB1UDxtSiEY1gwoqE1uSAi459vBOJuIYshu4BwMI7gxjVUqXPUg== dependencies: "@webassemblyjs/ast" "1.7.11" "@webassemblyjs/helper-module-context" "1.7.11" @@ -11560,7 +11552,7 @@ webpack@^4.29.1: mkdirp "~0.5.0" neo-async "^2.5.0" node-libs-browser "^2.0.0" - schema-utils "^0.4.4" + schema-utils "^1.0.0" tapable "^1.1.0" terser-webpack-plugin "^1.1.0" watchpack "^1.5.0" From 68f6880f54a483c105cdf74990402aba73022d2a Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Wed, 6 Feb 2019 18:45:39 +0000 Subject: [PATCH 045/221] refactor(test): change cli.test to be more accurate (#4957) --- test/unit/cli.test.js | 55 +++++++++++++++++++++-------------------- test/unit/utils.test.js | 8 ------ test/utils/index.js | 19 -------------- 3 files changed, 28 insertions(+), 54 deletions(-) delete mode 100644 test/unit/utils.test.js diff --git a/test/unit/cli.test.js b/test/unit/cli.test.js index 39977eb686..6959aa0187 100644 --- a/test/unit/cli.test.js +++ b/test/unit/cli.test.js @@ -1,7 +1,7 @@ import { resolve, join } from 'path' import { spawn } from 'cross-spawn' import { writeFileSync } from 'fs-extra' -import { getPort, rp, waitUntil, waitFor } from '../utils' +import { getPort, rp, waitFor } from '../utils' let port const rootDir = resolve(__dirname, '..', 'fixtures/cli') @@ -11,26 +11,35 @@ const url = route => 'http://localhost:' + port + route const nuxtBin = resolve(__dirname, '../../packages/cli/bin/nuxt-cli.js') const spawnNuxt = (command, opts) => spawn(nuxtBin, [command, rootDir], opts) -const close = async (nuxtInt) => { - nuxtInt.kill('SIGKILL') - // Wait max 10s for the process to be killed - if (await waitUntil(() => nuxtInt.killed, 10)) { - // eslint-disable-next-line no-console - console.warn(`Unable to close process with pid: ${nuxtInt.pid}`) - } +const start = (cmd, env, cb) => { + return new Promise((resolve) => { + const nuxt = spawnNuxt(cmd, { env, detached: true }) + const listener = (data) => { + if (data.includes(`${port}`)) { + nuxt.stdout.removeListener('data', listener) + resolve(nuxt) + } + } + if (typeof cb === 'function') { + cb(nuxt) + } + nuxt.stdout.on('data', listener) + }) } -describe.skip('cli', () => { +const close = (nuxt) => { + return new Promise((resolve) => { + nuxt.on('exit', resolve) + process.kill(-nuxt.pid) + }) +} + +describe.posix('cli', () => { test('nuxt dev', async () => { - let stdout = '' const { env } = process env.PORT = port = await getPort() - const nuxtDev = spawnNuxt('dev', { env }) - nuxtDev.stdout.on('data', (data) => { stdout += data }) - - // Wait max 20s for the starting - await waitUntil(() => stdout.includes(`${port}`)) + const nuxtDev = await start('dev', env) // Change file specified in `watchers` (nuxt.config.js) const customFilePath = join(rootDir, 'custom.file') @@ -49,7 +58,6 @@ describe.skip('cli', () => { }) test('nuxt start', async () => { - let stdout = '' let error const { env } = process @@ -57,21 +65,14 @@ describe.skip('cli', () => { await new Promise((resolve) => { const nuxtBuild = spawnNuxt('build', { env }) - nuxtBuild.on('close', () => { resolve() }) + nuxtBuild.on('close', resolve) }) - const nuxtStart = spawnNuxt('start', { env }) - - nuxtStart.stdout.on('data', (data) => { stdout += data }) - nuxtStart.on('error', (err) => { error = err }) - - // Wait max 40s for the starting - if (await waitUntil(() => stdout.includes(`${port}`), 40)) { - error = 'server failed to start successfully in 40 seconds' - } + const nuxtStart = await start('start', env, (nuxtStart) => { + nuxtStart.on('error', (err) => { error = err }) + }) expect(error).toBe(undefined) - expect(stdout).toContain('Listening on') const html = await rp(url('/')) expect(html).toMatch(('
CLI Test
')) diff --git a/test/unit/utils.test.js b/test/unit/utils.test.js deleted file mode 100644 index 140465218b..0000000000 --- a/test/unit/utils.test.js +++ /dev/null @@ -1,8 +0,0 @@ -import { waitUntil } from '../utils' - -describe('utils', () => { - test('waitUntil', async () => { - expect(await waitUntil(() => true, 0.1, 100)).toBe(false) - expect(await waitUntil(() => false, 0.1, 100)).toBe(true) - }) -}) diff --git a/test/utils/index.js b/test/utils/index.js index afa91cd8bc..85e19b68d5 100644 --- a/test/utils/index.js +++ b/test/utils/index.js @@ -1,5 +1,4 @@ import klawSync from 'klaw-sync' -import { waitFor } from '../../packages/utils' export { getNuxtConfig } from '../../packages/config' export { default as getPort } from 'get-port' @@ -7,24 +6,6 @@ export { default as rp } from 'request-promise-native' export * from './nuxt' -// Pauses execution for a determined amount of time (`duration`) -// until `condition` is met. Also allows specifying the `interval` -// at which the condition is checked during the waiting period. -export const waitUntil = async function waitUntil(condition, duration = 20, interval = 250) { - let iterator = 0 - const steps = Math.floor(duration * 1000 / interval) - - while (!condition() && iterator < steps) { - await waitFor(interval) - iterator++ - } - - if (iterator === steps) { - return true - } - return false -} - export const listPaths = function listPaths(dir, pathsBefore = [], options = {}) { if (Array.isArray(pathsBefore) && pathsBefore.length) { // Only return files that didn't exist before building From 5ec5932bad7a7e66b412e429977ea31d7b2ff488 Mon Sep 17 00:00:00 2001 From: Pim Date: Wed, 6 Feb 2019 19:46:17 +0100 Subject: [PATCH 046/221] fix: refactor file watchers (chokidar/linux workaround) (#4950) --- packages/builder/src/builder.js | 73 +++++++------ packages/builder/test/builder.watch.test.js | 115 +++++++++++++------- 2 files changed, 115 insertions(+), 73 deletions(-) diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index 76ca642adf..a0cd10c9ed 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -580,6 +580,37 @@ export default class Builder { // ) // } + createFileWatcher(patterns, events, listener, watcherCreatedCallback) { + const options = this.options.watchers.chokidar + const watcher = chokidar.watch(patterns, options) + + for (const event of events) { + watcher.on(event, listener) + } + + const { rewatchOnRawEvents } = this.options.watchers + if (rewatchOnRawEvents && Array.isArray(rewatchOnRawEvents)) { + watcher.on('raw', (_event) => { + if (rewatchOnRawEvents.includes(_event)) { + watcher.close() + + listener() + this.createFileWatcher(patterns, events, listener, watcherCreatedCallback) + } + }) + } + + if (typeof watcherCreatedCallback === 'function') { + watcherCreatedCallback(watcher) + } + } + + assignWatcher(key) { + return (watcher) => { + this.watchers[key] = watcher + } + } + watchClient() { const src = this.options.srcDir const rGlob = dir => ['*', '**/*'].map(glob => r(src, `${dir}/${glob}.{${this.supportedExtensions.join(',')}}`)) @@ -600,20 +631,11 @@ export default class Builder { patterns = patterns.map(upath.normalizeSafe) - const options = this.options.watchers.chokidar const refreshFiles = debounce(() => this.generateRoutesAndFiles(), 200) // Watch for src Files - this.watchers.files = chokidar - .watch(patterns, options) - .on('add', refreshFiles) - .on('unlink', refreshFiles) + this.createFileWatcher(patterns, ['add', 'unlink'], refreshFiles, this.assignWatcher('files')) - this.watchCustom(refreshFiles) - } - - watchCustom(refreshFiles, refresh) { - const options = this.options.watchers.chokidar // Watch for custom provided files const customPatterns = uniq([ ...this.options.build.watch, @@ -624,25 +646,7 @@ export default class Builder { return } - if (refresh) { - refreshFiles() - } - - this.watchers.custom = chokidar - .watch(customPatterns, options) - .on('change', refreshFiles) - - const { rewatchOnRawEvents } = this.options.watchers - if (rewatchOnRawEvents && Array.isArray(rewatchOnRawEvents)) { - this.watchers.custom.on('raw', (_event, _path, opts) => { - if (rewatchOnRawEvents.includes(_event)) { - this.watchers.custom.close() - this.watchers.custom = null - - this.watchCustom(refreshFiles, true) - } - }) - } + this.createFileWatcher(customPatterns, ['change'], refreshFiles, this.assignWatcher('custom')) } watchRestart() { @@ -657,15 +661,18 @@ export default class Builder { nuxtRestartWatch.push(this.ignore.ignoreFile) } - this.watchers.restart = chokidar - .watch(nuxtRestartWatch, this.options.watchers.chokidar) - .on('all', (event, _path) => { + this.createFileWatcher( + nuxtRestartWatch, + ['all'], + (event, _path) => { if (['add', 'change', 'unlink'].includes(event) === false) { return } this.nuxt.callHook('watch:fileChanged', this, _path) // Legacy this.nuxt.callHook('watch:restart', { event, path: _path }) - }) + }, + this.assignWatcher('restart') + ) } unwatch() { diff --git a/packages/builder/test/builder.watch.test.js b/packages/builder/test/builder.watch.test.js index bf5b079680..3cbab9e7eb 100644 --- a/packages/builder/test/builder.watch.test.js +++ b/packages/builder/test/builder.watch.test.js @@ -31,10 +31,10 @@ describe('builder: builder watch', () => { middleware: '/var/nuxt/src/middleware' } nuxt.options.build.watch = [] - nuxt.options.watchers = { - chokidar: { test: true } - } + const builder = new Builder(nuxt, {}) + builder.createFileWatcher = jest.fn() + builder.assignWatcher = jest.fn(() => () => {}) r.mockImplementation((dir, src) => src) builder.watchClient() @@ -61,11 +61,9 @@ describe('builder: builder watch', () => { expect(upath.normalizeSafe).nthCalledWith(4, '/var/nuxt/src/layouts/*.{vue,js,ts,tsx}', 3, patterns) expect(upath.normalizeSafe).nthCalledWith(5, '/var/nuxt/src/layouts/**/*.{vue,js,ts,tsx}', 4, patterns) - expect(chokidar.watch).toBeCalledTimes(1) - expect(chokidar.watch).toBeCalledWith(patterns, { test: true }) - expect(chokidar.on).toBeCalledTimes(2) - expect(chokidar.on).nthCalledWith(1, 'add', expect.any(Function)) - expect(chokidar.on).nthCalledWith(2, 'unlink', expect.any(Function)) + expect(builder.createFileWatcher).toBeCalledTimes(1) + expect(builder.createFileWatcher).toBeCalledWith(patterns, ['add', 'unlink'], expect.any(Function), expect.any(Function)) + expect(builder.assignWatcher).toBeCalledTimes(1) }) test('should watch pages files', () => { @@ -81,6 +79,7 @@ describe('builder: builder watch', () => { nuxt.options.watchers = { chokidar: { test: true } } + const builder = new Builder(nuxt, {}) builder._nuxtPages = true r.mockImplementation((dir, src) => src) @@ -93,7 +92,7 @@ describe('builder: builder watch', () => { expect(r).nthCalledWith(8, '/var/nuxt/src', '/var/nuxt/src/pages/**/*.{vue,js,ts,tsx}') }) - test('should watch custom in watchClient', () => { + test('should invoke generateRoutesAndFiles on file refresh', () => { const nuxt = createNuxt() nuxt.options.srcDir = '/var/nuxt/src' nuxt.options.dir = { @@ -119,14 +118,16 @@ describe('builder: builder watch', () => { builder.generateRoutesAndFiles = jest.fn() refreshFiles() expect(builder.generateRoutesAndFiles).toBeCalled() - expect(builder.watchCustom).toBeCalledTimes(1) - expect(builder.watchCustom).toBeCalledWith(refreshFiles) }) test('should watch custom patterns', () => { const nuxt = createNuxt() - nuxt.options.watchers = { - chokidar: { test: true } + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' } nuxt.options.build.watch = [ '/var/nuxt/src/custom' @@ -135,61 +136,81 @@ describe('builder: builder watch', () => { '/var/nuxt/src/style' ] const builder = new Builder(nuxt, {}) - const refreshFiles = jest.fn() + builder.createFileWatcher = jest.fn() + builder.assignWatcher = jest.fn(() => () => {}) + builder.watchClient() - builder.watchCustom(refreshFiles) + const patterns = [ + '/var/nuxt/src/custom', + '/var/nuxt/src/style' + ] - expect(chokidar.watch).toBeCalledTimes(1) - expect(chokidar.watch).toBeCalledWith( - ['/var/nuxt/src/custom', '/var/nuxt/src/style'], - { test: true } - ) - expect(chokidar.on).toBeCalledTimes(1) - expect(chokidar.on).toBeCalledWith('change', refreshFiles) + expect(builder.createFileWatcher).toBeCalledTimes(2) + expect(builder.createFileWatcher).toBeCalledWith(patterns, ['change'], expect.any(Function), expect.any(Function)) + expect(builder.assignWatcher).toBeCalledTimes(2) }) - test('should call refreshFiles before watching custom patterns', () => { + test('should invoke chokidar to create watcher', () => { const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' + } nuxt.options.watchers = { chokidar: { test: true } } - nuxt.options.build.watch = [ - '/var/nuxt/src/custom' - ] + + const patterns = ['/patterns'] + const events = ['event', 'another event'] + const listener = jest.fn() + const watcherCreatedCallback = jest.fn() + const builder = new Builder(nuxt, {}) - const refreshFiles = jest.fn() + builder.createFileWatcher(patterns, events, listener, watcherCreatedCallback) - builder.watchCustom(refreshFiles, true) - - expect(refreshFiles).toBeCalledTimes(1) + expect(chokidar.watch).toBeCalledTimes(1) + expect(chokidar.watch).toBeCalledWith(patterns, { test: true }) + expect(chokidar.on).toBeCalledTimes(2) + expect(chokidar.on).nthCalledWith(1, 'event', listener) + expect(chokidar.on).nthCalledWith(2, 'another event', listener) + expect(watcherCreatedCallback).toBeCalledTimes(1) }) - test('should rewatch custom patterns when event is included in rewatchOnRawEvents', () => { + test('should restart watcher when event is included in rewatchOnRawEvents', () => { const nuxt = createNuxt() + nuxt.options.srcDir = '/var/nuxt/src' + nuxt.options.dir = { + layouts: '/var/nuxt/src/layouts', + pages: '/var/nuxt/src/pages', + store: '/var/nuxt/src/store', + middleware: '/var/nuxt/src/middleware' + } nuxt.options.watchers = { chokidar: { test: true }, rewatchOnRawEvents: ['rename'] } - nuxt.options.build.watch = [ - '/var/nuxt/src/custom' - ] - const builder = new Builder(nuxt, {}) - const refreshFiles = jest.fn() - builder.watchCustom(refreshFiles) + const patterns = ['/pattern'] + const events = ['event'] + const listener = jest.fn() + const watcherCreatedCallback = jest.fn() + + const builder = new Builder(nuxt, {}) + builder.createFileWatcher(patterns, events, listener, watcherCreatedCallback) expect(chokidar.on).toBeCalledTimes(2) expect(chokidar.on).nthCalledWith(2, 'raw', expect.any(Function)) const rewatchHandler = chokidar.on.mock.calls[1][1] - builder.watchCustom = jest.fn() rewatchHandler('rename') rewatchHandler('change') expect(chokidar.close).toBeCalledTimes(1) expect(builder.watchers.custom).toBeNull() - expect(builder.watchCustom).toBeCalledTimes(1) - expect(builder.watchCustom).toBeCalledWith(refreshFiles, true) + expect(watcherCreatedCallback).toBeCalledTimes(2) }) test('should watch files for restarting server', () => { @@ -327,4 +348,18 @@ describe('builder: builder watch', () => { expect(builder.unwatch).not.toBeCalled() expect(bundleBuilderClose).not.toBeCalled() }) + + test('should assign watcher with key', () => { + const nuxt = createNuxt() + const builder = new Builder(nuxt, {}) + + const key = 'key' + const watcher = 'watcher' + + const fn = builder.assignWatcher(key) + fn(watcher) + + expect(Boolean(builder.watchers[key])).toBe(true) + expect(builder.watchers[key]).toBe(watcher) + }) }) From fb87a559c2fff140c2a74b47d2851876884e81a1 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 22:28:36 +0330 Subject: [PATCH 047/221] fix: fix non standard esm modifications --- packages/webpack/src/plugins/vue/modern.js | 8 ++++---- packages/webpack/src/utils/perf-loader.js | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/webpack/src/plugins/vue/modern.js b/packages/webpack/src/plugins/vue/modern.js index 0593429dc1..8bbccfa98d 100644 --- a/packages/webpack/src/plugins/vue/modern.js +++ b/packages/webpack/src/plugins/vue/modern.js @@ -8,6 +8,9 @@ import EventEmitter from 'events' const assetsMap = {} const watcher = new EventEmitter() +// https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc +const safariFix = `!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();` + export default class ModernModePlugin { constructor({ targetDir, isModernBuild }) { this.targetDir = targetDir @@ -97,12 +100,9 @@ export default class ModernModePlugin { // inject Safari 10 nomodule fix data.html = data.html.replace( /(<\/body\s*>)/i, - match => `${match}` + match => `${match}` ) }) }) } } - -// https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc -ModernModePlugin.safariFix = `!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();` diff --git a/packages/webpack/src/utils/perf-loader.js b/packages/webpack/src/utils/perf-loader.js index 2d888d2db0..7fff23f8c4 100644 --- a/packages/webpack/src/utils/perf-loader.js +++ b/packages/webpack/src/utils/perf-loader.js @@ -34,6 +34,10 @@ export default class PerfLoader { PerfLoader.warmup(options.css, ['css-loader']) } + static warmup(...args) { + warmup(...args) + } + use(poolName) { const loaders = [] @@ -59,5 +63,3 @@ export default class PerfLoader { return loaders } } - -PerfLoader.warmup = warmup From eb10c12da1cfe6694b1cb5064ad26c7291a54d37 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 22:31:24 +0330 Subject: [PATCH 048/221] update yarn.lock --- yarn.lock | 482 ++++++++++++++++++++++-------------------------------- 1 file changed, 192 insertions(+), 290 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7e69274f2a..40e260ee14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,11 +30,11 @@ source-map "^0.5.0" "@babel/generator@^7.2.2": - version "7.3.0" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.0.tgz#f663838cd7b542366de3aa608a657b8ccb2a99eb" - integrity sha512-dZTwMvTgWfhmibq4V9X+LMf6Bgl7zAodRn9PvcPdhlzFMbvUutx74dbEv7Atz3ToeEpevYEJtAwfxq/bDCzHWg== + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.2.tgz#fff31a7b2f2f3dad23ef8e01be45b0d5c2fc0132" + integrity sha512-f3QCuPppXxtZOEm5GWPra/uYUjmNQlu9pbAD8D/9jze4pTY83rTtB1igTBSwvkeNlC5gR24zFFkz+2WHLFQhqQ== dependencies: - "@babel/types" "^7.3.0" + "@babel/types" "^7.3.2" jsesc "^2.5.1" lodash "^4.17.10" source-map "^0.5.0" @@ -65,9 +65,9 @@ "@babel/types" "^7.0.0" "@babel/helper-create-class-features-plugin@^7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.0.tgz#2b01a81b3adc2b1287f9ee193688ef8dc71e718f" - integrity sha512-DUsQNS2CGLZZ7I3W3fvh0YpPDd6BuWJlDl+qmZZpABZHza2ErE3LxtEzLJFHFC1ZwtlAXvHhbFYbtM5o5B0WBw== + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.2.tgz#ba1685603eb1c9f2f51c9106d5180135c163fe73" + integrity sha512-tdW8+V8ceh2US4GsYdNVNoohq5uVwOf9k6krjwW4E1lINcHgttnWcNqgdoessn12dAy8QkbezlbQh2nXISNY+A== dependencies: "@babel/helper-function-name" "^7.1.0" "@babel/helper-member-expression-to-functions" "^7.0.0" @@ -225,9 +225,9 @@ js-tokens "^4.0.0" "@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3": - version "7.3.1" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.1.tgz#8f4ffd45f779e6132780835ffa7a215fa0b2d181" - integrity sha512-ATz6yX/L8LEnC3dtLQnIx4ydcPxhLcoy9Vl6re00zb2w5lG6itY6Vhnr1KFRPq/FHNsgl/gh2mjNN20f9iJTTA== + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.2.tgz#95cdeddfc3992a6ca2a1315191c1679ca32c55cd" + integrity sha512-QzNUC2RO1gadg+fs21fi0Uu0OuGNzRKEmgCxoLNzbCdoprLwjfmZwzUrpUNfJPaVRwBpDY47A17yYEGWyRelnQ== "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" @@ -264,9 +264,9 @@ "@babel/plugin-syntax-json-strings" "^7.2.0" "@babel/plugin-proposal-object-rest-spread@^7.3.1": - version "7.3.1" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.1.tgz#f69fb6a1ea6a4e1c503994a91d9cf76f3c4b36e8" - integrity sha512-Nmmv1+3LqxJu/V5jU9vJmxR/KIRWFk2qLHmbB56yRRRFhlaSuOVXscX3gUmhaKgUhzA3otOHVubbIEVYsZ0eZg== + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1" + integrity sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -390,9 +390,9 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-transform-destructuring@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.2.0.tgz#e75269b4b7889ec3a332cd0d0c8cff8fed0dc6f3" - integrity sha512-coVO2Ayv7g0qdDbrNiadE4bU7lvCd9H539m2gMknyVjjMdwF/iCOM7R+E8PkntoqLkltO0rk+3axhpp/0v68VQ== + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.3.2.tgz#f2f5520be055ba1c38c41c0e094d8a461dd78f2d" + integrity sha512-Lrj/u53Ufqxl/sGxyjsJ2XNtNuEjDyjpqdhMNh5aZ+XFOdThL46KBj27Uem4ggoezSYBxKWAil6Hu8HtwqesYw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -670,10 +670,10 @@ globals "^11.1.0" lodash "^4.17.10" -"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.0.tgz#61dc0b336a93badc02bf5f69c4cd8e1353f2ffc0" - integrity sha512-QkFPw68QqWU1/RVPyBe8SO7lXbPfjtqAxRYQKpFpaB8yMq7X2qAqfwK5LKoQufEkSmO5NQ70O6Kc3Afk03RwXw== +"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.2": + version "7.3.2" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.2.tgz#424f5be4be633fff33fb83ab8d67e4a8290f5a2f" + integrity sha512-3Y6H8xlUlpbGR+XvawiH0UXehqydTmNmEpozWcXymqwcrwYAl5KMvKtQ+TF6f6E08V6Jur7v/ykdDSF+WDEIXQ== dependencies: esutils "^2.0.2" lodash "^4.17.10" @@ -1347,12 +1347,7 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7": - version "10.12.18" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" - integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== - -"@types/node@^10.12.21": +"@types/node@*", "@types/node@^10.11.7", "@types/node@^10.12.21": version "10.12.21" resolved "https://registry.npmjs.org/@types/node/-/node-10.12.21.tgz#7e8a0c34cf29f4e17a36e9bd0ea72d45ba03908e" integrity sha512-CBgLNk4o3XMnqMc0rhb6lc77IwShMEglz05deDcn2lQxyXEZivfwgYJu7SMha9V5XcrP6qZuevTHV/QrN2vjKQ== @@ -1442,19 +1437,19 @@ camelcase "^5.0.0" "@vue/component-compiler-utils@^2.5.1": - version "2.5.1" - resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.5.1.tgz#bd9cf68d728324d7dcede80462c2c0e8fe090acb" - integrity sha512-4mLLh8LYDciX4BO6FVfPbuG3QNYOI70dfsNcdCzHDnN/QYiJ9KWWrf9crSDa9D/aon+QME39Lj+XDHiy9t3sRQ== + version "2.5.2" + resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.5.2.tgz#a8d57e773354ab10e4742c7d6a8dd86184d4d7be" + integrity sha512-3exq9O89GXo9E+CGKzgURCbasG15FtFMs8QRrCUVWGaKue4Egpw41MHb3Avtikv1VykKfBq3FvAnf9Nx3sdVJg== dependencies: consolidate "^0.15.1" hash-sum "^1.0.2" lru-cache "^4.1.2" merge-source-map "^1.1.0" - postcss "^7.0.7" + postcss "^7.0.14" postcss-selector-parser "^5.0.0" - prettier "1.16.0" - source-map "^0.7.3" - vue-template-es2015-compiler "^1.6.0" + prettier "1.16.3" + source-map "~0.6.1" + vue-template-es2015-compiler "^1.8.2" "@webassemblyjs/ast@1.7.11": version "1.7.11" @@ -1681,9 +1676,9 @@ acorn@^5.5.3, acorn@^5.7.3: integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5: - version "6.0.5" - resolved "https://registry.npmjs.org/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a" - integrity sha512-i33Zgp3XWtmZBMNvCr4azvOFeWVw1Rk6p3hfi3LUDvIFraOMywb1kAtrbi+med14m4Xfpqm3zRZMT+c0FNE7kg== + version "6.0.7" + resolved "https://registry.npmjs.org/acorn/-/acorn-6.0.7.tgz#490180ce18337270232d9488a44be83d9afb7fd3" + integrity sha512-HNJNgE60C9eOTgn974Tlp3dpLZdUr+SoxxDwPaY9J/kDNOLQTkaDgwBUXAF4SSsrAwD9RpdxuHK/EbuF+W9Ahw== agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0: version "4.2.1" @@ -1705,14 +1700,14 @@ ajv-errors@^1.0.0: integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== ajv-keywords@^3.1.0: - version "3.2.0" - resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" - integrity sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo= + version "3.3.0" + resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.3.0.tgz#cb6499da9b83177af8bc1732b2f0a1a1a3aacf8c" + integrity sha512-CMzN9S62ZOO4sA/mJZIO4S++ZM7KFWzH3PPWkveLhy4OZ9i1/VatgwWMD46w/XbGCBy7Ye0gCk+Za6mmyfKK7g== ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1: - version "6.7.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz#e3ce7bb372d6577bb1839f1dfdfcbf5ad2948d96" - integrity sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg== + version "6.8.1" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.8.1.tgz#0890b93742985ebf8973cd365c5b23920ce3cb20" + integrity sha512-eqxCp82P+JfqL683wwsL73XmFs1eG6qjw+RD3YHx+Jll1r0jNd4dh8QG9NYAeNGA/hnZjeEDgtTskgJULbxpWQ== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" @@ -1745,10 +1740,10 @@ ansi-colors@^3.0.0, ansi-colors@^3.2.1: resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813" integrity sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw== -ansi-escapes@^3.0.0, ansi-escapes@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" - integrity sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw== +ansi-escapes@^3.0.0, ansi-escapes@^3.1.0, ansi-escapes@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" + integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== ansi-html@0.0.7: version "0.0.7" @@ -1964,7 +1959,7 @@ astral-regex@^1.0.0: resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== -async-each@^1.0.0, async-each@^1.0.1: +async-each@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" integrity sha1-GdOGodntxufByF04iu28xW0zYC0= @@ -1992,15 +1987,15 @@ atob@^2.1.1: integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== autoprefixer@^9.4.2: - version "9.4.6" - resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.6.tgz#0ace275e33b37de16b09a5547dbfe73a98c1d446" - integrity sha512-Yp51mevbOEdxDUy5WjiKtpQaecqYq9OqZSL04rSoCiry7Tc5I9FEyo3bfxiTJc1DfHeKwSFCUYbBAiOQ2VGfiw== + version "9.4.7" + resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.7.tgz#f997994f9a810eae47b38fa6d8a119772051c4ff" + integrity sha512-qS5wW6aXHkm53Y4z73tFGsUhmZu4aMPV9iHXYlF0c/wxjknXNHuj/1cIQb+6YH692DbJGGWcckAXX+VxKvahMA== dependencies: browserslist "^4.4.1" - caniuse-lite "^1.0.30000929" + caniuse-lite "^1.0.30000932" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^7.0.13" + postcss "^7.0.14" postcss-value-parser "^3.3.1" aws-sign2@~0.7.0: @@ -2288,9 +2283,9 @@ bin-links@^1.1.2: write-file-atomic "^2.3.0" binary-extensions@^1.0.0: - version "1.12.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz#c2d780f53d45bba8317a8902d4ceeaf3a6385b14" - integrity sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg== + version "1.13.0" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz#9523e001306a32444b907423f1de2164222f6ab1" + integrity sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw== block-stream@*: version "0.0.9" @@ -2360,7 +2355,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.2: +braces@^2.3.1, braces@^2.3.2: version "2.3.2" resolved "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -2494,7 +2489,7 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" -builtin-modules@^1.0.0, builtin-modules@^1.1.1: +builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= @@ -2659,12 +2654,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929: - version "1.0.30000930" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000930.tgz#c238bab82bedb462bcbdc61d0334932dcc084d8a" - integrity sha512-KD+pw9DderBLB8CGqBzYyFWpnrPVOEjsjargU/CvkNyg60od3cxSPTcTeMPhxJhDbkQPWvOz5BAyBzNl/St9vg== - -caniuse-lite@^1.0.30000935: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000935: version "1.0.30000935" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000935.tgz#d1b59df00b46f4921bb84a8a34c1d172b346df59" integrity sha512-1Y2uJ5y56qDt3jsDTdBHL1OqiImzjoQcBG6Yl3Qizq8mcc2SgCFpi+ZwLLqkztYnk9l87IYqRlNBnPSOTbFkXQ== @@ -2738,27 +2728,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4: - version "2.0.4" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" - integrity sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.0" - braces "^2.3.0" - glob-parent "^3.1.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - lodash.debounce "^4.0.8" - normalize-path "^2.1.1" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - upath "^1.0.5" - optionalDependencies: - fsevents "^1.2.2" - -chokidar@^2.1.0: +chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.0.tgz#5fcb70d0b28ebe0867eb0f09d5f6a08f29a1efa0" integrity sha512-5t6G2SH8eO6lCvYOoUpaRnF5Qfd//gd7qJAkwRUw9qlGVkiQ13uwQngqbWWaurOsaAm9+kUGbITADxt6H0XFNQ== @@ -3069,18 +3039,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0: - version "2.3.2" - resolved "https://registry.npmjs.org/consola/-/consola-2.3.2.tgz#ec75dd9847fa963dc41e21bc2737ac8c962677bb" - integrity sha512-7SAo6nBdWJw7XQFu0ZRnXbGBu+RhEp0/fEpm7lTnqRT6bHM0MwEkW0Yxv8phCP9s18qyMqBmVU/pJ2bri/TZIg== - dependencies: - chalk "^2.4.1" - dayjs "^1.7.7" - figures "^2.0.0" - std-env "^2.2.1" - string-width "^2.1.1" - -consola@^2.4.0: +consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.0: version "2.4.0" resolved "https://registry.npmjs.org/consola/-/consola-2.4.0.tgz#d13c711cd0648a600ca68b399b739cf8f5058097" integrity sha512-fy9j1unXm/bXgk6dPMnwktTJqkAPgm/s28k+wZ/O7XeVgGXDPRXu/hcE12I68iqjk63W6No1J6TQlHQQOMIVhA== @@ -3580,9 +3539,9 @@ csso@^3.5.0: css-tree "1.0.0-alpha.29" cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0", cssom@^0.3.4: - version "0.3.4" - resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.4.tgz#8cd52e8a3acfd68d3aed38ee0a640177d2f9d797" - integrity sha512-+7prCSORpXNeR4/fUP3rL+TzqtiFfhMvTd7uEqMdgPvLPt4+uzFUeufx5RHjGTACCargg/DiEt/moMQmvnfkog== + version "0.3.6" + resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.6.tgz#f85206cee04efa841f3c5982a74ba96ab20d65ad" + integrity sha512-DtUeseGk9/GBW0hl0vVPpU22iHL6YB5BUX7ml1hB+GMpo0NX5G4voX3kdWiMSEguFtcW3Vh3djqNF4aIe6ne0A== cssstyle@^1.0.0, cssstyle@^1.1.1: version "1.1.1" @@ -3641,11 +3600,6 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -dayjs@^1.7.7: - version "1.8.0" - resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.0.tgz#507963ac3023f4b1f9f399a278356946fc4c9ae9" - integrity sha512-2ofInmfMKLLR5R02q3WEUuDt86UK33VQQTaEeJudF+C04ZUaekCP3VpB0NJPiyPDCGJWq9XYhHX2AemdxA8+dg== - dayjs@^1.8.3: version "1.8.4" resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.4.tgz#e5a8fe080a7955e210045e6c26c5d1d4c88cf602" @@ -3973,9 +3927,9 @@ duplexer@^0.1.1: integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= duplexify@^3.4.2, duplexify@^3.6.0: - version "3.6.1" - resolved "https://registry.npmjs.org/duplexify/-/duplexify-3.6.1.tgz#b1a7a29c4abfd639585efaecce80d666b1e34125" - integrity sha512-vM58DwdnKmty+FSPzT14K9JXb90H+j5emaR4KYbr2KTIz00WHGbWOe5ghQTx233ZCLZtrGDALzKwcjEtSt35mA== + version "3.7.1" + resolved "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" + integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== dependencies: end-of-stream "^1.0.0" inherits "^2.0.1" @@ -4013,9 +3967,9 @@ ejs@^2.6.1: integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== electron-to-chromium@^1.3.103: - version "1.3.106" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.106.tgz#672183160e783cb546cff83d9a98d5f69cd91874" - integrity sha512-eXX45p4q9CRxG0G8D3ZBZYSdN3DnrcZfrFvt6VUr1u7aKITEtRY/xwWzJ/UZcWXa7DMqPu/pYwuZ6Nm+bl0GmA== + version "1.3.113" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.113.tgz#b1ccf619df7295aea17bc6951dc689632629e4a9" + integrity sha512-De+lPAxEcpxvqPTyZAXELNpRZXABRxf+uL/rSykstQhzj/B0l1150G/ExIIxKc16lI89Hgz81J0BHAcbTqK49g== elliptic@^6.0.0: version "6.4.1" @@ -4545,7 +4499,7 @@ extend@~3.0.2: resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^3.0.0: +external-editor@^3.0.3: version "3.0.3" resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" integrity sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA== @@ -4821,12 +4775,12 @@ flatten@^1.0.2: integrity sha1-2uRqnXj74lKSJYzB54CkHZXAN4I= flush-write-stream@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz#c5d586ef38af6097650b49bc41b55fabb19f35bd" - integrity sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw== + version "1.1.0" + resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.0.tgz#2e89a8bd5eee42f8ec97e43aae81e3d5099c2ddc" + integrity sha512-6MHED/cmsyux1G4/Cek2Z776y9t7WCNd3h2h/HW91vFeU7pzMhA8XvAlDhHcanG5IWuIh/xcC7JASY4WQpG6xg== dependencies: - inherits "^2.0.1" - readable-stream "^2.0.4" + inherits "^2.0.3" + readable-stream "^3.1.1" for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" @@ -4931,7 +4885,7 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.2, fsevents@^1.2.3, fsevents@^1.2.7: +fsevents@^1.2.3, fsevents@^1.2.7: version "1.2.7" resolved "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4" integrity sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== @@ -5518,12 +5472,7 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2: - version "5.0.4" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.4.tgz#33168af4a21e99b00c5d41cbadb6a6cb49903a45" - integrity sha512-WLsTMEhsQuXpCiG173+f3aymI43SXa+fB1rSfbzyP4GkPP+ZFVuO0/3sFUGNBtifisPeDcl/uD/Y2NxZ7xFq4g== - -ignore@^5.0.5: +ignore@^5.0.2, ignore@^5.0.5: version "5.0.5" resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.5.tgz#c663c548d6ce186fb33616a8ccb5d46e56bdbbf9" integrity sha512-kOC8IUb8HSDMVcYrDVezCxpJkzSQWTAzf3olpKM6o9rM5zpojx23O0Fl8Wr4+qJ6ZbPEHqf1fdwev/DS7v7pmA== @@ -5631,20 +5580,20 @@ init-package-json@^1.10.3: validate-npm-package-name "^3.0.0" inquirer@^6.1.0, inquirer@^6.2.0: - version "6.2.1" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.1.tgz#9943fc4882161bdb0b0c9276769c75b32dbfcd52" - integrity sha512-088kl3DRT2dLU5riVMKKr1DlImd6X7smDhpXUCkJDCKvTEJeRiXh0G132HG9u5a+6Ylw9plFRY7RuTnwohYSpg== + version "6.2.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406" + integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA== dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" + ansi-escapes "^3.2.0" + chalk "^2.4.2" cli-cursor "^2.1.0" cli-width "^2.0.0" - external-editor "^3.0.0" + external-editor "^3.0.3" figures "^2.0.0" - lodash "^4.17.10" + lodash "^4.17.11" mute-stream "0.0.7" run-async "^2.2.0" - rxjs "^6.1.0" + rxjs "^6.4.0" string-width "^2.1.0" strip-ansi "^5.0.0" through "^2.3.6" @@ -5666,10 +5615,10 @@ invert-kv@^2.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== -ip-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-3.0.0.tgz#0a934694b4066558c46294244a23cc33116bf732" - integrity sha512-T8wDtjy+Qf2TAPDQmBp0eGKJ8GavlWlUnamr3wRn6vvdZlKVuJXXMlSncYFRYgVHOM3If5NR1H4+OvVQU9Idvg== +ip-regex@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" + integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= ip@^1.1.5: version "1.1.5" @@ -5722,13 +5671,6 @@ is-buffer@^1.1.5: resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== -is-builtin-module@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/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.4: version "1.1.4" resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" @@ -5996,6 +5938,11 @@ is-windows@^1.0.0, is-windows@^1.0.2: resolved "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== +is-wsl@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" + integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= + isarray@0.0.1: version "0.0.1" resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -6955,11 +6902,6 @@ lodash.clonedeep@^4.5.0: resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= - lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" @@ -7050,13 +6992,20 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" -magic-string@0.25.1, magic-string@^0.25.1: +magic-string@0.25.1: version "0.25.1" resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" integrity sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg== dependencies: sourcemap-codec "^1.4.1" +magic-string@^0.25.1: + version "0.25.2" + resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.2.tgz#139c3a729515ec55e96e69e82a11fe890a293ad9" + integrity sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg== + dependencies: + sourcemap-codec "^1.4.4" + make-dir@^1.0.0: version "1.3.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" @@ -7154,13 +7103,13 @@ mem@^1.1.0: mimic-fn "^1.0.0" mem@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/mem/-/mem-4.0.0.tgz#6437690d9471678f6cc83659c00cbafcd6b0cdaf" - integrity sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA== + version "4.1.0" + resolved "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz#aeb9be2d21f47e78af29e4ac5978e8afa2ca5b8a" + integrity sha512-I5u6Q1x7wxO0kdOpYBB28xueHADYps5uty/zg936CiG8NTe5sJL8EjrCuLneuDW3PlMdZBGDIn8BirEVdovZvg== dependencies: map-age-cleaner "^0.1.1" mimic-fn "^1.0.0" - p-is-promise "^1.1.0" + p-is-promise "^2.0.0" memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1: version "0.4.1" @@ -7281,7 +7230,12 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -"mime-db@>= 1.36.0 < 2", mime-db@~1.37.0: +"mime-db@>= 1.36.0 < 2": + version "1.38.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" + integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== + +mime-db@~1.37.0: version "1.37.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg== @@ -7589,19 +7543,20 @@ node-modules-regexp@^1.0.0: integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= node-notifier@^5.2.1: - version "5.3.0" - resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-5.3.0.tgz#c77a4a7b84038733d5fb351aafd8a268bfe19a01" - integrity sha512-AhENzCSGZnZJgBARsUjnQ7DnZbzyP+HxlVXuD0xqAnvL8q+OqtSX7lGg9e8nHzwXkMMXNdVeqq4E2M3EUAqX6Q== + version "5.4.0" + resolved "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz#7b455fdce9f7de0c63538297354f3db468426e6a" + integrity sha512-SUDEb+o71XR5lXSTyivXd9J7fCloE3SyP4lSgt3lU2oSANiox+SxlNRGPjDKrwU1YN3ix2KN/VGGCg0t01rttQ== dependencies: growly "^1.3.0" + is-wsl "^1.1.0" semver "^5.5.0" shellwords "^0.1.1" which "^1.3.0" node-object-hash@^1.2.0: - version "1.4.1" - resolved "https://registry.npmjs.org/node-object-hash/-/node-object-hash-1.4.1.tgz#de968492e20c493b8bbc25ad2ee828265fd60934" - integrity sha512-JQVqSM5/mOaUoUhCYR0t1vgm8RFo7qpJtPvnoFCLeqQh1xrfmr3BCD3nGBnACzpIEF7F7EVgqGD3O4lao/BY/A== + version "1.4.2" + resolved "https://registry.npmjs.org/node-object-hash/-/node-object-hash-1.4.2.tgz#385833d85b229902b75826224f6077be969a9e94" + integrity sha512-UdS4swXs85fCGWWf6t6DMGgpN/vnlKeSGEQ7hJcrs7PBFoxoKLmibc3QRb7fwiYsjdL7PX8iI/TMSlZ90dgHhQ== node-pre-gyp@^0.10.0: version "0.10.3" @@ -7620,9 +7575,9 @@ node-pre-gyp@^0.10.0: tar "^4" node-releases@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.3.tgz#aad9ce0dcb98129c753f772c0aa01360fb90fbd2" - integrity sha512-6VrvH7z6jqqNFY200kdB6HdzkgM96Oaj9v3dqGfgp6mF+cHmU4wyQKZ2/WPDRVoR0Jz9KqbamaBN0ZhdUaysUQ== + version "1.1.7" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.7.tgz#b09a10394d0ed8f7778f72bb861dde68b146303b" + integrity sha512-bKdrwaqJUPHqlCzDD7so/R+Nk0jGv9a11ZhLrD9f6i947qGLrGAhU3OxRENa19QQmwzGy/g6zCDEuLGDO8HPvA== dependencies: semver "^5.3.0" @@ -7642,12 +7597,12 @@ nopt@^4.0.1, nopt@~4.0.1: osenv "^0.1.4" 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: - version "2.4.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" - integrity sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw== + version "2.5.0" + resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" + integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== dependencies: hosted-git-info "^2.1.4" - is-builtin-module "^1.0.0" + resolve "^1.10.0" semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" @@ -7679,9 +7634,9 @@ normalize-url@^4.1.0: integrity sha512-X781mkWeK6PDMAZJfGn/wnwil4dV6pIdF9euiNqtA89uJvZuNDJO2YyJxiwpPhTQcF5pYUU1v+kcOxzYV6rZlA== npm-bundled@^1.0.1: - version "1.0.5" - resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz#3c1732b7ba936b3a10325aef616467c0ccbcc979" - integrity sha512-m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g== + version "1.0.6" + resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" + integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== npm-lifecycle@^2.1.0: version "2.1.0" @@ -7713,9 +7668,9 @@ npm-logical-tree@^1.2.1: validate-npm-package-name "^3.0.0" npm-packlist@^1.1.12, npm-packlist@^1.1.6: - version "1.2.0" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz#55a60e793e272f00862c7089274439a4cc31fc7f" - integrity sha512-7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ== + version "1.3.0" + resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.3.0.tgz#7f01e8e44408341379ca98cfd756e7b29bd2626c" + integrity sha512-qPBc6CnxEzpOcc4bjoIBJbYdy0D/LFFPUdxvfwor4/w3vxeE0h6TiOVurCEPpQ6trjN77u/ShyfeJGsbAfB3dA== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -7739,9 +7694,9 @@ npm-profile@^4.0.1: npm-registry-fetch "^3.8.0" npm-registry-fetch@^3.8.0: - version "3.8.0" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.8.0.tgz#aa7d9a7c92aff94f48dba0984bdef4bd131c88cc" - integrity sha512-hrw8UMD+Nob3Kl3h8Z/YjmKamb1gf7D1ZZch2otrIXM3uFLB5vjEY6DhMlq80z/zZet6eETLbOXcuQudCB3Zpw== + version "3.9.0" + resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz#44d841780e2833f06accb34488f8c7450d1a6856" + integrity sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw== dependencies: JSONStream "^1.3.4" bluebird "^3.5.1" @@ -7785,9 +7740,9 @@ number-is-nan@^1.0.0: integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= nwsapi@^2.0.7, nwsapi@^2.0.9: - version "2.0.9" - resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.0.9.tgz#77ac0cdfdcad52b6a1151a84e73254edc33ed016" - integrity sha512-nlWFSCTYQcHk/6A9FFnfhKc14c3aFhfdNBXgo8Qgi9QTBu/qg3Ww+Uiz9wMzXd1T8GFxPc2QIHB6Qtf2XFryFQ== + version "2.1.0" + resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.0.tgz#781065940aed90d9bb01ca5d0ce0fcf81c32712f" + integrity sha512-ZG3bLAvdHmhIjaQ/Db1qvBxsGvFMLIRpQszyqbg31VJ53UP++uZX1/gf3Ut96pdwN9AuDwlMqIYLm0UPCdUeHg== oauth-sign@~0.9.0: version "0.9.0" @@ -7973,10 +7928,10 @@ p-finally@^1.0.0: resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= -p-is-promise@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" - integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= +p-is-promise@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz#7554e3d572109a87e1f3f53f6a7d85d1b194f4c5" + integrity sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg== p-limit@^1.1.0: version "1.3.0" @@ -8046,9 +8001,9 @@ p-waterfall@^1.0.0: p-reduce "^1.0.0" pacote@^9.2.3: - version "9.4.0" - resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.0.tgz#af979abdeb175cd347c3e33be3241af1ed254807" - integrity sha512-WQ1KL/phGMkedYEQx9ODsjj7xvwLSpdFJJdEXrLyw5SILMxcTNt5DTxT2Z93fXuLFYJBlZJdnwdalrQdB/rX5w== + version "9.4.1" + resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.1.tgz#f0af2a52d241bce523d39280ac810c671db62279" + integrity sha512-YKSRsQqmeHxgra0KCdWA2FtVxDPUlBiCdmew+mSe44pzlx5t1ViRMWiQg18T+DREA+vSqYfKzynaToFR4hcKHw== dependencies: bluebird "^3.5.3" cacache "^11.3.2" @@ -8650,9 +8605,9 @@ postcss-modules-extract-imports@^2.0.0: postcss "^7.0.5" postcss-modules-local-by-default@^2.0.3: - version "2.0.4" - resolved "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.4.tgz#a000bb07e4f57f412ba35c904d035cfd4a7b9446" - integrity sha512-WvuSaTKXUqYJbnT7R3YrsNrHv/C5vRfr5VglS4bFOk0MYT4CLBfc/xgExA+x2RftlYgiBDvWmVs191Xv8S8gZQ== + version "2.0.5" + resolved "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.5.tgz#7f387f68f5555598068e4d6d1ea0b7d6fa984272" + integrity sha512-iFgxlCAVLno5wIJq+4hyuOmc4VjZEZxzpdeuZcBytLNWEK5Bx2oRF9PPcAz5TALbaFvrZm8sJYtJ3hV+tMSEIg== dependencies: css-selector-tokenizer "^0.7.0" postcss "^7.0.6" @@ -8949,7 +8904,7 @@ postcss-values-parser@^2.0.0: indexes-of "^1.0.1" uniq "^1.0.1" -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: +postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.5, postcss@^7.0.6: version "7.0.14" resolved "https://registry.npmjs.org/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg== @@ -8968,10 +8923,10 @@ preserve@^0.2.0: resolved "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= -prettier@1.16.0: - version "1.16.0" - resolved "https://registry.npmjs.org/prettier/-/prettier-1.16.0.tgz#104dd25f5ee3d0c9d0a6ce4bb40ced8481d51219" - integrity sha512-MCBCYeAuZfejUPdEpkleLWvpRBwLii/Sp5jQs0eb8Ul/drGIDjkL6tAU24tk6yCGf0KPV5rhPPPlczfBmN2pWQ== +prettier@1.16.3: + version "1.16.3" + resolved "https://registry.npmjs.org/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d" + integrity sha512-kn/GU6SMRYPxUakNXhpP0EedT/KmaPzr0H5lIsDogrykbaxOpOfAFfk5XA7DZrJyMAv1wlMV3CPcZruGXVVUZw== pretty-bytes@^5.1.0: version "5.1.0" @@ -9449,7 +9404,7 @@ 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.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, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.6" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== @@ -9472,7 +9427,7 @@ readable-stream@1.0: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^3.0.6: +readable-stream@^3.0.6, readable-stream@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz#ed6bbc6c5ba58b090039ff18ce670515795aeb06" integrity sha512-DkN66hPyqDhnIQ6Jcsvx9bFjhw214O4poMBcIMgPVpQvNy9a0e0Uhg5SqySyDKAmUlwt8LonTBz1ezOnM8pUdA== @@ -9491,7 +9446,7 @@ readdir-scoped-modules@^1.0.0: graceful-fs "^4.1.2" once "^1.3.0" -readdirp@^2.0.0, readdirp@^2.2.1: +readdirp@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== @@ -9568,13 +9523,13 @@ regex-not@^1.0.0, regex-not@^1.0.2: safe-regex "^1.1.0" regexp-tree@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.0.tgz#a56ad7746097888ea16457479029ec9345b96ab0" - integrity sha512-rHQv+tzu+0l3KS/ERabas1yK49ahNVxuH40WcPg53CzP5p8TgmmyBgHELLyJcvjhTD0e5ahSY6C76LbEVtr7cg== + version "0.1.1" + resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.1.tgz#27b455f9b138ca2e84c090e9aff1ffe2a04d97fa" + integrity sha512-HwRjOquc9QOwKTgbxvZTcddS5mlNlwePMQ3NFL8broajMLD5CXDAqas8Y5yxJH5QtZp5iRor3YCILd5pz71Cgw== dependencies: cli-table3 "^0.5.0" colors "^1.1.2" - yargs "^10.0.3" + yargs "^12.0.5" regexpp@^2.0.1: version "2.0.1" @@ -9748,7 +9703,7 @@ resolve@1.1.7: resolved "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1, resolve@^1.9.0: +resolve@1.x, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.2.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1, resolve@^1.9.0: version "1.10.0" resolved "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg== @@ -9902,10 +9857,10 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" -rxjs@^6.1.0: - version "6.3.3" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" - integrity sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw== +rxjs@^6.4.0: + version "6.4.0" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504" + integrity sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw== dependencies: tslib "^1.9.0" @@ -10121,10 +10076,10 @@ slash@^2.0.0: resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== -slice-ansi@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.0.0.tgz#5373bdb8559b45676e8541c66916cdd6251612e7" - integrity sha512-4j2WTWjp3GsZ+AOagyzVbzp4vWGtZ0hEZ/gDY/uTvm6MTxUfTUIsnMIFb1bn8o0RuXiqUw15H1bue8f22Vw2oQ== +slice-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" + integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== dependencies: ansi-styles "^3.2.0" astral-regex "^1.0.0" @@ -10135,10 +10090,10 @@ slide@^1.1.6: resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= -smart-buffer@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.1.tgz#07ea1ca8d4db24eb4cac86537d7d18995221ace3" - integrity sha512-RFqinRVJVcCAL9Uh1oVqE6FZkqsyLiVOYEZ20TqIOjuX7iFVJ+zsbs4RIghnw/pTs7mZvt8ZHhvm1ZUrR4fykg== +smart-buffer@4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d" + integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw== snapdragon-node@^2.0.1: version "2.1.1" @@ -10179,12 +10134,12 @@ socks-proxy-agent@^4.0.0: socks "~2.2.0" socks@~2.2.0: - version "2.2.2" - resolved "https://registry.npmjs.org/socks/-/socks-2.2.2.tgz#f061219fc2d4d332afb4af93e865c84d3fa26e2b" - integrity sha512-g6wjBnnMOZpE0ym6e0uHSddz9p3a+WsBaaYQaBaSCJYvrC4IXykQR9MNGjLQf38e9iIIhp3b1/Zk8YZI3KGJ0Q== + version "2.2.3" + resolved "https://registry.npmjs.org/socks/-/socks-2.2.3.tgz#7399ce11e19b2a997153c983a9ccb6306721f2dc" + integrity sha512-+2r83WaRT3PXYoO/1z+RDEBE7Z2f9YcdQnJ0K/ncXXbV5gJ6wYfNAebYFYiiUjM6E4JyXnPY8cimwyvFYHVUUA== dependencies: ip "^1.1.5" - smart-buffer "^4.0.1" + smart-buffer "4.0.2" sort-keys@^2.0.0: version "2.0.0" @@ -10229,7 +10184,7 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" -source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.6, source-map-support@~0.5.9: +source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.9: version "0.5.10" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" integrity sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ== @@ -10257,12 +10212,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: - version "0.7.3" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" - integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== - -sourcemap-codec@^1.4.1: +sourcemap-codec@^1.4.1, sourcemap-codec@^1.4.4: version "1.4.4" resolved "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.4.tgz#c63ea927c029dd6bd9a2b7fa03b3fec02ad56e9f" integrity sha512-CYAPYdBu34781kLHkaW3m6b/uUSyMOC2R61gcYMWooeuaGtjof86ZA/8T+qVPPt7np1085CR9hmMGrySwEc8Xg== @@ -10320,9 +10270,9 @@ sprintf-js@~1.0.2: integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= sshpk@^1.7.0: - version "1.16.0" - resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.0.tgz#1d4963a2fbffe58050aa9084ca20be81741c07de" - integrity sha512-Zhev35/y7hRMcID/upReIvRse+I9SVhyVre/KTJSJQWMz3C3+G+HpO7m1wK/yckEtujKZ7dS4hkVxAnmHaIGVQ== + version "1.16.1" + resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" + integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" @@ -10627,13 +10577,13 @@ symbol-tree@^3.2.2: integrity sha1-rifbOPZgp64uHDt9G8KQgZuFGeY= table@^5.0.2: - version "5.2.1" - resolved "https://registry.npmjs.org/table/-/table-5.2.1.tgz#e78463702b1be9f7131c39860bcfb1b81114c2a1" - integrity sha512-qmhNs2GEHNqY5fd2Mo+8N1r2sw/rvTAAvBZTaTx+Y7PHLypqyrxr1MdIu0pLw6Xvl/Gi4ONu/sdceP8vvUjkyA== + version "5.2.2" + resolved "https://registry.npmjs.org/table/-/table-5.2.2.tgz#61d474c9e4d8f4f7062c98c7504acb3c08aa738f" + integrity sha512-f8mJmuu9beQEDkKHLzOv4VxVYlU68NpdzjbGPl69i4Hx0sTopJuNxuzJd17iV2h24dAfa93u794OnDA5jqXvfQ== dependencies: ajv "^6.6.1" lodash "^4.17.11" - slice-ansi "2.0.0" + slice-ansi "^2.0.0" string-width "^2.1.1" tapable@^0.2.7: @@ -10692,21 +10642,7 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@^1.1.0: - version "1.2.1" - resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.1.tgz#7545da9ae5f4f9ae6a0ac961eb46f5e7c845cc26" - integrity sha512-GGSt+gbT0oKcMDmPx4SRSfJPE1XaN3kQRWG4ghxKQw9cn5G9x6aCKSsgYdvyM0na9NJ4Drv0RG6jbBByZ5CMjw== - dependencies: - cacache "^11.0.2" - find-cache-dir "^2.0.0" - schema-utils "^1.0.0" - serialize-javascript "^1.4.0" - source-map "^0.6.1" - terser "^3.8.1" - webpack-sources "^1.1.0" - worker-farm "^1.5.2" - -terser-webpack-plugin@^1.2.2: +terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.2: version "1.2.2" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9" integrity sha512-1DMkTk286BzmfylAvLXwpJrI7dWa5BnFmscV/2dCr8+c56egFcbaeFAl7+sujAjdmpLam21XRdhA4oifLyiWWg== @@ -10729,15 +10665,6 @@ terser@^3.16.1: source-map "~0.6.1" source-map-support "~0.5.9" -terser@^3.8.1: - version "3.14.1" - resolved "https://registry.npmjs.org/terser/-/terser-3.14.1.tgz#cc4764014af570bc79c79742358bd46926018a32" - integrity sha512-NSo3E99QDbYSMeJaEk9YW2lTg3qS9V0aKGlb+PlOrei1X02r1wSBHCNX/O+yeTRFSWPKPIGj6MqvvdqV4rnVGw== - dependencies: - commander "~2.17.1" - source-map "~0.6.1" - source-map-support "~0.5.6" - test-exclude@^4.2.1: version "4.2.3" resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20" @@ -10866,11 +10793,11 @@ toposort@^1.0.0: integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk= tough-cookie@>=2.3.3: - version "3.0.0" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.0.tgz#d2bceddebde633153ff20a52fa844a0dc71dacef" - integrity sha512-LHMvg+RBP/mAVNqVbOX8t+iJ+tqhBA/t49DuI7+IDAWHrASnesqSu1vWbKB7UrE2yk+HMFUBMadRGMkB4VCfog== + version "3.0.1" + resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2" + integrity sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg== dependencies: - ip-regex "^3.0.0" + ip-regex "^2.1.0" psl "^1.1.28" punycode "^2.1.1" @@ -11159,7 +11086,7 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -upath@^1.0.5, upath@^1.1.0: +upath@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" integrity sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw== @@ -11402,7 +11329,7 @@ vue-template-compiler@^2.6.2: de-indent "^1.0.2" he "^1.1.0" -vue-template-es2015-compiler@^1.6.0: +vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: version "1.8.2" resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== @@ -11729,9 +11656,9 @@ ws@^5.2.0: async-limiter "~1.0.0" ws@^6.0.0, ws@^6.1.0, ws@^6.1.2: - version "6.1.2" - resolved "https://registry.npmjs.org/ws/-/ws-6.1.2.tgz#3cc7462e98792f0ac679424148903ded3b9c3ad8" - integrity sha512-rfUqzvz0WxmSXtJpPMX2EeASXabOrSMk1ruMOV3JBTBjo4ac2lDjGGsbQSyxj8Odhw5fBib8ZKEjDNvgouNKYw== + version "6.1.3" + resolved "https://registry.npmjs.org/ws/-/ws-6.1.3.tgz#d2d2e5f0e3c700ef2de89080ebc0ac6e1bf3a72d" + integrity sha512-tbSxiT+qJI223AP4iLfQbkbxkwdFcneYinM2+x46Gx2wgvbaOMO36czfdfVUBRTHvzAMRhDd98sA5d/BuWbQdg== dependencies: async-limiter "~1.0.0" @@ -11797,13 +11724,6 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" - integrity sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ== - dependencies: - camelcase "^4.1.0" - yargs-parser@^9.0.2: version "9.0.2" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" @@ -11811,24 +11731,6 @@ yargs-parser@^9.0.2: dependencies: camelcase "^4.1.0" -yargs@^10.0.3: - version "10.1.2" - resolved "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5" - integrity sha512-ivSoxqBGYOqQVruxD35+EyCFDYNEFL/Uo6FcOnz+9xZdZzK0Zzw4r4KhbrME1Oo2gOggwJod2MnsdamSG7H9ig== - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^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 "^8.1.0" - yargs@^11.0.0: version "11.1.0" resolved "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz#90b869934ed6e871115ea2ff58b03f4724ed2d77" @@ -11847,7 +11749,7 @@ yargs@^11.0.0: y18n "^3.2.1" yargs-parser "^9.0.2" -yargs@^12.0.1: +yargs@^12.0.1, yargs@^12.0.5: version "12.0.5" resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== From f5220cfbbb3b8a8e725dff71a3d965b624c968a6 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 22:32:31 +0330 Subject: [PATCH 049/221] ci: use --frozen-lockfile --non-interactive for azure --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f20e5abe31..73db5a67a7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ steps: displayName: 'Install Node.js' - script: | - yarn + yarn --frozen-lockfile --non-interactive displayName: 'Install dependencies' - script: | From 5094d9c75de99d4696dd59c584ed13b31bb08080 Mon Sep 17 00:00:00 2001 From: Pim Date: Wed, 6 Feb 2019 20:23:42 +0100 Subject: [PATCH 050/221] feat: show warning on forced exit (#4958) --- packages/cli/bin/nuxt-cli.js | 2 +- packages/cli/package.json | 1 + packages/cli/src/command.js | 17 +++++-- packages/cli/src/list.js | 3 +- packages/cli/src/options/common.js | 6 +++ packages/cli/src/setup.js | 18 ++----- packages/cli/src/utils/constants.js | 8 ++++ packages/cli/src/utils/formatting.js | 47 +++++++++++++++---- packages/cli/src/utils/index.js | 46 +++++++++++------- .../unit/__snapshots__/command.test.js.snap | 34 ++++++++++---- packages/cli/test/unit/build.test.js | 2 + packages/cli/test/unit/cli.test.js | 6 +++ packages/cli/test/unit/command.test.js | 16 +++++-- packages/cli/test/unit/dev.test.js | 3 ++ packages/cli/test/unit/generate.test.js | 2 + packages/cli/test/unit/start.test.js | 3 ++ 16 files changed, 159 insertions(+), 55 deletions(-) create mode 100644 packages/cli/src/utils/constants.js diff --git a/packages/cli/bin/nuxt-cli.js b/packages/cli/bin/nuxt-cli.js index 63fe65902b..cc6f24825f 100755 --- a/packages/cli/bin/nuxt-cli.js +++ b/packages/cli/bin/nuxt-cli.js @@ -3,5 +3,5 @@ require('../dist/cli.js').run() .catch((error) => { require('consola').fatal(error) - process.exit(2) + require('exit')(2) }) diff --git a/packages/cli/package.json b/packages/cli/package.json index 39b2ce46fa..53f004d43b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -18,6 +18,7 @@ "consola": "^2.4.0", "esm": "^3.2.1", "execa": "^1.0.0", + "exit": "^0.1.2", "minimist": "^1.2.0", "opener": "1.5.1", "pretty-bytes": "^5.1.0", diff --git a/packages/cli/src/command.js b/packages/cli/src/command.js index e93d7a3957..ec28dea766 100644 --- a/packages/cli/src/command.js +++ b/packages/cli/src/command.js @@ -1,8 +1,9 @@ import minimist from 'minimist' import { name, version } from '../package.json' -import { loadNuxtConfig } from './utils' -import { indent, foldLines, startSpaces, optionSpaces, colorize } from './utils/formatting' +import { loadNuxtConfig, forceExit } from './utils' +import { indent, foldLines, colorize } from './utils/formatting' +import { startSpaces, optionSpaces, forceExitTimeout } from './utils/constants' import * as imports from './imports' export default class NuxtCommand { @@ -12,6 +13,9 @@ export default class NuxtCommand { } this.cmd = cmd + // If the cmd is a server then dont forcibly exit when the cmd has finished + this.isServer = cmd.isServer !== undefined ? cmd.isServer : Boolean(this.cmd.options.hostname) + this._argv = Array.from(argv) this._parsedArgv = null // Lazy evaluate } @@ -42,7 +46,14 @@ export default class NuxtCommand { return Promise.resolve() } - return Promise.resolve(this.cmd.run(this)) + const runResolve = Promise.resolve(this.cmd.run(this)) + + // TODO: For v3 set timeout to 0 when force-exit === true + if (!this.isServer || this.argv['force-exit']) { + runResolve.then(() => forceExit(this.cmd.name, forceExitTimeout)) + } + + return runResolve } showVersion() { diff --git a/packages/cli/src/list.js b/packages/cli/src/list.js index 7bd9aa2524..7255f192bc 100644 --- a/packages/cli/src/list.js +++ b/packages/cli/src/list.js @@ -1,5 +1,6 @@ import chalk from 'chalk' -import { indent, foldLines, startSpaces, optionSpaces, colorize } from './utils/formatting' +import { indent, foldLines, colorize } from './utils/formatting' +import { startSpaces, optionSpaces } from './utils/constants' import getCommand from './commands' export default async function listCommands() { diff --git a/packages/cli/src/options/common.js b/packages/cli/src/options/common.js index 3b4014f5de..f5f6fa25d3 100644 --- a/packages/cli/src/options/common.js +++ b/packages/cli/src/options/common.js @@ -28,6 +28,12 @@ export default { } } }, + // TODO: Change this to default: false in Nuxt v3 (see related todo's) + 'force-exit': { + type: 'boolean', + default: true, + description: 'Do not force Nuxt.js to exit after the command has finished (this option has no effect on commands which start a server)' + }, version: { alias: 'v', type: 'boolean', diff --git a/packages/cli/src/setup.js b/packages/cli/src/setup.js index 15a2f67537..fdcd8145c8 100644 --- a/packages/cli/src/setup.js +++ b/packages/cli/src/setup.js @@ -1,6 +1,6 @@ import consola from 'consola' -import chalk from 'chalk' -import boxen from 'boxen' +import exit from 'exit' +import { fatalBox } from './utils/formatting' let _setup = false @@ -26,17 +26,9 @@ export default function setup({ dev }) { consola.addReporter({ log(logObj) { if (logObj.type === 'fatal') { - process.stderr.write(boxen([ - chalk.red('✖ Nuxt Fatal Error'), - '', - chalk.white(String(logObj.args[0])) - ].join('\n'), { - borderColor: 'red', - borderStyle: 'round', - padding: 1, - margin: 1 - }) + '\n') - process.exit(1) + const errorMessage = String(logObj.args[0]) + process.stderr.write(fatalBox(errorMessage)) + exit(1) } } }) diff --git a/packages/cli/src/utils/constants.js b/packages/cli/src/utils/constants.js new file mode 100644 index 0000000000..4bd9089e8c --- /dev/null +++ b/packages/cli/src/utils/constants.js @@ -0,0 +1,8 @@ +export const forceExitTimeout = 5 + +export const startSpaces = 2 +export const optionSpaces = 2 + +// 80% of terminal column width +// this is a fn because console width can have changed since startup +export const maxCharsPerLine = () => (process.stdout.columns || 100) * 80 / 100 diff --git a/packages/cli/src/utils/formatting.js b/packages/cli/src/utils/formatting.js index 78b1c82cdc..b22f5bcba1 100644 --- a/packages/cli/src/utils/formatting.js +++ b/packages/cli/src/utils/formatting.js @@ -1,11 +1,7 @@ import wrapAnsi from 'wrap-ansi' import chalk from 'chalk' - -export const startSpaces = 2 -export const optionSpaces = 2 - -// 80% of terminal column width -export const maxCharsPerLine = (process.stdout.columns || 100) * 80 / 100 +import boxen from 'boxen' +import { maxCharsPerLine } from './constants' export function indent(count, chr = ' ') { return chr.repeat(count) @@ -25,8 +21,8 @@ export function indentLines(string, spaces, firstLineSpaces) { return s } -export function foldLines(string, spaces, firstLineSpaces, maxCharsPerLine) { - return indentLines(wrapAnsi(string, maxCharsPerLine, { trim: false }), spaces, firstLineSpaces) +export function foldLines(string, spaces, firstLineSpaces, charsPerLine = maxCharsPerLine()) { + return indentLines(wrapAnsi(string, charsPerLine, { trim: false }), spaces, firstLineSpaces) } export function colorize(text) { @@ -36,3 +32,38 @@ export function colorize(text) { .replace(/ (-[-\w,]+)/g, m => chalk.bold(m)) .replace(/`(.+)`/g, (_, m) => chalk.bold.cyan(m)) } + +export function box(message, title, options) { + return boxen([ + title || chalk.white('Nuxt Message'), + '', + chalk.white(foldLines(message, 0, 0, maxCharsPerLine())) + ].join('\n'), Object.assign({ + borderColor: 'white', + borderStyle: 'round', + padding: 1, + margin: 1 + }, options)) + '\n' +} + +export function successBox(message, title) { + return box(message, title || chalk.green('✔ Nuxt Success'), { + borderColor: 'green' + }) +} + +export function warningBox(message, title) { + return box(message, title || chalk.yellow('⚠ Nuxt Warning'), { + borderColor: 'yellow' + }) +} + +export function errorBox(message, title) { + return box(message, title || chalk.red('✖ Nuxt Error'), { + borderColor: 'red' + }) +} + +export function fatalBox(message, title) { + return errorBox(message, title || chalk.red('✖ Nuxt Fatal Error')) +} diff --git a/packages/cli/src/utils/index.js b/packages/cli/src/utils/index.js index 55dd734e92..a0ea81357e 100644 --- a/packages/cli/src/utils/index.js +++ b/packages/cli/src/utils/index.js @@ -2,12 +2,13 @@ import path from 'path' import { existsSync } from 'fs' import consola from 'consola' import esm from 'esm' +import exit from 'exit' import defaultsDeep from 'lodash/defaultsDeep' import { defaultNuxtConfigFile, getDefaultNuxtConfig } from '@nuxt/config' -import boxen from 'boxen' import chalk from 'chalk' import prettyBytes from 'pretty-bytes' import env from 'std-env' +import { successBox, warningBox } from './formatting' export const requireModule = process.env.NUXT_TS ? require : esm(module, { cache: false, @@ -87,37 +88,30 @@ export function showBanner(nuxt) { return } - const lines = [] + const titleLines = [] + const messageLines = [] // Name and version - lines.push(`${chalk.green.bold('Nuxt.js')} ${nuxt.constructor.version}`) + titleLines.push(`${chalk.green.bold('Nuxt.js')} ${nuxt.constructor.version}`) // Running mode - lines.push(`Running in ${nuxt.options.dev ? chalk.bold.blue('development') : chalk.bold.green('production')} mode (${chalk.bold(nuxt.options.mode)})`) + titleLines.push(`Running in ${nuxt.options.dev ? chalk.bold.blue('development') : chalk.bold.green('production')} mode (${chalk.bold(nuxt.options.mode)})`) // https://nodejs.org/api/process.html#process_process_memoryusage const { heapUsed, rss } = process.memoryUsage() - lines.push(`Memory usage: ${chalk.bold(prettyBytes(heapUsed))} (RSS: ${prettyBytes(rss)})`) + titleLines.push(`Memory usage: ${chalk.bold(prettyBytes(heapUsed))} (RSS: ${prettyBytes(rss)})`) // Listeners - lines.push('') for (const listener of nuxt.server.listeners) { - lines.push(chalk.bold('Listening on: ') + chalk.underline.blue(listener.url)) + messageLines.push(chalk.bold('Listening on: ') + chalk.underline.blue(listener.url)) } // Add custom badge messages if (nuxt.options.cli.badgeMessages.length) { - lines.push('', ...nuxt.options.cli.badgeMessages) + messageLines.push('', ...nuxt.options.cli.badgeMessages) } - const box = boxen(lines.join('\n'), { - borderColor: 'green', - borderStyle: 'round', - padding: 1, - margin: 1 - }) - - process.stdout.write(box + '\n') + process.stdout.write(successBox(messageLines.join('\n'), titleLines.join('\n'))) } export function formatPath(filePath) { @@ -144,3 +138,23 @@ export function normalizeArg(arg, defaultValue) { } return arg } + +export function forceExit(cmdName, timeout) { + if (timeout) { + const exitTimeout = setTimeout(() => { + const msg = `The command 'nuxt ${cmdName}' finished but did not exit after ${timeout}s +This is most likely not caused by a bug in Nuxt.js\ +Make sure to cleanup all timers and listeners you or your plugins/modules start. +Nuxt.js will now force exit + +${chalk.bold('DeprecationWarning: Starting with Nuxt version 3 this will be a fatal error')}` + + // TODO: Change this to a fatal error in v3 + process.stderr.write(warningBox(msg)) + exit(0) + }, timeout * 1000) + exitTimeout.unref() + } else { + exit(0) + } +} diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index f6d1dd00cf..90e827e411 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -1,22 +1,38 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`cli/command builds help text 1`] = ` -" Usage: nuxt this is how you do it [options] +" Usage: nuxt this is how you do it + [options] - a very long description that should not wrap to the next line because is not longer than the terminal width + a very long description that should wrap + to the next line because is not longer + than the terminal width Options: --spa, -s Launch in SPA mode - --universal, -u Launch in Universal mode (default) - --config-file, -c Path to Nuxt.js config file (default: nuxt.config.js) - --modern, -m Build/Start app for modern browsers, e.g. server, client and false - --version, -v Display the Nuxt version + --universal, -u Launch in Universal + mode (default) + --config-file, -c Path to Nuxt.js + config file (default: nuxt.config.js) + --modern, -m Build/Start app for + modern browsers, e.g. server, client and + false + --no-force-exit Do not force Nuxt.js + to exit after the command has finished + (this option has no effect on commands + which start a server) + --version, -v Display the Nuxt + version --help, -h Display this message - --port, -p Port number on which to start the application - --hostname, -H Hostname on which to start the application + --port, -p Port number on which + to start the application + --hostname, -H Hostname on which to + start the application --unix-socket, -n Path to a UNIX socket - --foo very long option that is not longer than the terminal width and should not wrap to the next line + --foo very long option that + is longer than the terminal width and + should wrap to the next line " `; diff --git a/packages/cli/test/unit/build.test.js b/packages/cli/test/unit/build.test.js index c0ee730752..5c546524ea 100644 --- a/packages/cli/test/unit/build.test.js +++ b/packages/cli/test/unit/build.test.js @@ -1,3 +1,4 @@ +import * as utils from '../../src/utils/' import { mockGetNuxt, mockGetBuilder, mockGetGenerator, NuxtCommand } from '../utils' describe('build', () => { @@ -6,6 +7,7 @@ describe('build', () => { beforeAll(async () => { build = await import('../../src/commands/build').then(m => m.default) jest.spyOn(process, 'exit').mockImplementation(code => code) + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) afterEach(() => jest.resetAllMocks()) diff --git a/packages/cli/test/unit/cli.test.js b/packages/cli/test/unit/cli.test.js index 3690aeec91..5a7dfa7372 100644 --- a/packages/cli/test/unit/cli.test.js +++ b/packages/cli/test/unit/cli.test.js @@ -1,9 +1,15 @@ import { run } from '../../src' import getCommand from '../../src/commands' +import * as utils from '../../src/utils/' jest.mock('../../src/commands') describe('cli', () => { + beforeAll(() => { + // TODO: Below spyOn can be removed in v3 when force-exit is default false + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) + }) + afterEach(() => jest.resetAllMocks()) test('calls expected method', async () => { diff --git a/packages/cli/test/unit/command.test.js b/packages/cli/test/unit/command.test.js index cba54c97f3..5aa7e821e5 100644 --- a/packages/cli/test/unit/command.test.js +++ b/packages/cli/test/unit/command.test.js @@ -1,5 +1,7 @@ import Command from '../../src/command' import { common, server } from '../../src/options' +import * as utils from '../../src/utils/' +import * as constants from '../../src/utils/constants' import { consola } from '../utils' jest.mock('@nuxt/core') @@ -19,7 +21,7 @@ describe('cli/command', () => { const minimistOptions = cmd._getMinimistOptions() expect(minimistOptions.string.length).toBe(5) - expect(minimistOptions.boolean.length).toBe(4) + expect(minimistOptions.boolean.length).toBe(5) expect(minimistOptions.alias.c).toBe('config-file') expect(minimistOptions.default.c).toBe(common['config-file'].default) }) @@ -38,6 +40,8 @@ describe('cli/command', () => { }) test('prints version automatically', async () => { + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) + const cmd = new Command({}, ['--version']) cmd.showVersion = jest.fn() await cmd.run() @@ -46,6 +50,8 @@ describe('cli/command', () => { }) test('prints help automatically', async () => { + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) + const cmd = new Command({ options: allOptions }, ['-h']) cmd.showHelp = jest.fn() await cmd.run() @@ -88,16 +94,18 @@ describe('cli/command', () => { }) test('builds help text', () => { + jest.spyOn(constants, 'maxCharsPerLine').mockReturnValue(40) + const cmd = new Command({ - description: 'a very long description that should not wrap to the next line because is not longer ' + + description: 'a very long description that should wrap to the next line because is not longer ' + 'than the terminal width', usage: 'this is how you do it', options: { ...allOptions, foo: { type: 'boolean', - description: 'very long option that is not longer than the terminal width and ' + - 'should not wrap to the next line' + description: 'very long option that is longer than the terminal width and ' + + 'should wrap to the next line' } } }) diff --git a/packages/cli/test/unit/dev.test.js b/packages/cli/test/unit/dev.test.js index da52ebc2bd..db5ad0d37e 100644 --- a/packages/cli/test/unit/dev.test.js +++ b/packages/cli/test/unit/dev.test.js @@ -1,3 +1,4 @@ +import * as utils from '../../src/utils/' import { consola, mockNuxt, mockBuilder, mockGetNuxtConfig, NuxtCommand } from '../utils' describe('dev', () => { @@ -5,6 +6,8 @@ describe('dev', () => { beforeAll(async () => { dev = await import('../../src/commands/dev').then(m => m.default) + // TODO: Below spyOn can be removed in v3 when force-exit is default false + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) afterEach(() => jest.clearAllMocks()) diff --git a/packages/cli/test/unit/generate.test.js b/packages/cli/test/unit/generate.test.js index b41373871e..1e2f5a40e2 100644 --- a/packages/cli/test/unit/generate.test.js +++ b/packages/cli/test/unit/generate.test.js @@ -1,3 +1,4 @@ +import * as utils from '../../src/utils/' import { mockGetNuxt, mockGetGenerator, NuxtCommand } from '../utils' describe('generate', () => { @@ -6,6 +7,7 @@ describe('generate', () => { beforeAll(async () => { generate = await import('../../src/commands/generate').then(m => m.default) jest.spyOn(process, 'exit').mockImplementation(code => code) + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) afterEach(() => jest.resetAllMocks()) diff --git a/packages/cli/test/unit/start.test.js b/packages/cli/test/unit/start.test.js index 507125b77f..e1b3bf13bf 100644 --- a/packages/cli/test/unit/start.test.js +++ b/packages/cli/test/unit/start.test.js @@ -1,4 +1,5 @@ import fs from 'fs-extra' +import * as utils from '../../src/utils/' import { consola, mockGetNuxtStart, mockGetNuxtConfig, NuxtCommand } from '../utils' describe('start', () => { @@ -6,6 +7,8 @@ describe('start', () => { beforeAll(async () => { start = await import('../../src/commands/start').then(m => m.default) + // TODO: Below spyOn can be removed in v3 when force-exit is default false + jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) afterEach(() => { From a347ef9b94a2aefe90261a64ec06268066de62c2 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 23:10:43 +0330 Subject: [PATCH 051/221] fix: default for-exit to false to prevent dev exit --- packages/cli/src/options/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/options/common.js b/packages/cli/src/options/common.js index f5f6fa25d3..b0e9de4445 100644 --- a/packages/cli/src/options/common.js +++ b/packages/cli/src/options/common.js @@ -28,10 +28,10 @@ export default { } } }, - // TODO: Change this to default: false in Nuxt v3 (see related todo's) + // TODO: Change this to default: true in Nuxt 3 'force-exit': { type: 'boolean', - default: true, + default: false, description: 'Do not force Nuxt.js to exit after the command has finished (this option has no effect on commands which start a server)' }, version: { From b1a16c995e04b1450f026a5a2283d8808b3ba1c1 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 23:12:04 +0330 Subject: [PATCH 052/221] fix help message for force-exit --- packages/cli/src/options/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/options/common.js b/packages/cli/src/options/common.js index b0e9de4445..33909920b2 100644 --- a/packages/cli/src/options/common.js +++ b/packages/cli/src/options/common.js @@ -32,7 +32,7 @@ export default { 'force-exit': { type: 'boolean', default: false, - description: 'Do not force Nuxt.js to exit after the command has finished (this option has no effect on commands which start a server)' + description: 'Force Nuxt.js to exit after the command has finished (this option has no effect on commands which start a server)' }, version: { alias: 'v', From 562c62f982ecf2433039d16d2d016bee3c2b002e Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Wed, 6 Feb 2019 23:12:56 +0330 Subject: [PATCH 053/221] update snapshot --- packages/cli/test/unit/__snapshots__/command.test.js.snap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index 90e827e411..bc5230b09f 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -18,10 +18,10 @@ exports[`cli/command builds help text 1`] = ` --modern, -m Build/Start app for modern browsers, e.g. server, client and false - --no-force-exit Do not force Nuxt.js - to exit after the command has finished - (this option has no effect on commands - which start a server) + --force-exit Force Nuxt.js to exit + after the command has finished (this + option has no effect on commands which + start a server) --version, -v Display the Nuxt version --help, -h Display this message From bbcac17f34a745cb78335cef3e0e7c5360a8d8e5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 7 Feb 2019 01:01:56 +0330 Subject: [PATCH 054/221] chore(deps): update dependency webpack-dev-middleware to ^3.5.2 (#4967) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index cc45bdd4fc..bd32ff4a81 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -46,7 +46,7 @@ "vue-loader": "^15.6.2", "webpack": "^4.29.2", "webpack-bundle-analyzer": "^3.0.3", - "webpack-dev-middleware": "^3.5.1", + "webpack-dev-middleware": "^3.5.2", "webpack-hot-middleware": "^2.24.3", "webpack-node-externals": "^1.7.2", "webpackbar": "^3.1.5" diff --git a/yarn.lock b/yarn.lock index 40e260ee14..f5f482c4dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11414,10 +11414,10 @@ webpack-bundle-analyzer@^3.0.3: opener "^1.5.1" ws "^6.0.0" -webpack-dev-middleware@^3.5.1: - version "3.5.1" - resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.5.1.tgz#9265b7742ef50f54f54c1d9af022fc17c1be9b88" - integrity sha512-4dwCh/AyMOYAybggUr8fiCkRnjVDp+Cqlr9c+aaNB3GJYgRGYQWJ1YX/WAKUNA9dPNHZ6QSN2lYDKqjKSI8Vqw== +webpack-dev-middleware@^3.5.2: + version "3.5.2" + resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.5.2.tgz#d768b6194f3fe8d72d51feded49de359e8d96ffb" + integrity sha512-nPmshdt1ckcwWjI0Ubrdp8KroeuprW6xFKYqk0u3MflNMBXvHPnMATsC7/L/enwav2zvLCfj/Usr47qnF3KQyA== dependencies: memory-fs "~0.4.1" mime "^2.3.1" From 995911d99412f136497a7a8865af223666bd89f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 7 Feb 2019 01:42:22 +0330 Subject: [PATCH 055/221] chore(deps): upgrade vue to ^2.6.3 (#4968) --- distributions/nuxt-start/package.json | 2 +- packages/vue-app/package.json | 4 ++-- packages/vue-renderer/package.json | 4 ++-- yarn.lock | 24 ++++++++++++------------ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 96c91d277d..6f7fb3edb4 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,7 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", - "vue": "^2.6.2", + "vue": "^2.6.3", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 8af16665e0..044e6a208c 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,11 +12,11 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { - "vue": "^2.6.2", + "vue": "^2.6.3", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.2", + "vue-template-compiler": "^2.6.3", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 23e11afbc0..f3fcb27474 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.4.0", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.2", + "vue": "^2.6.3", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.2" + "vue-server-renderer": "^2.6.3" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index f5f482c4dd..838c881888 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11299,10 +11299,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.2.tgz#89faa6d87e94f9333276a4ee9cd39bece97059db" - integrity sha512-UAAKbYhcT9WRP7L4aRR/c6e/GXBj5lwR9H8AQ+b/lbwVwMauHyYNdhQzFmLFZfujNAjZK6+mQQVtdMoa2J8Y5g== +vue-server-renderer@^2.6.3: + version "2.6.3" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.3.tgz#5e05e8e8b9369436b5497363c96d7f82fb6222ce" + integrity sha512-VLKuwswueSrAWLzTpmlC+fDcHUy+7zKkwza9eXSUdVzs4XmtZQbYCZmEKrbyqZqFC3XJ1FVufsXqk915P3iKVg== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11321,10 +11321,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.2.tgz#6230abf7ca92d565b7471c0cc3f54d5b12aa48e7" - integrity sha512-2dBKNCtBPdx1TFef7T4zwF8IjOx2xbMNryCtFzneP+XIonJwOtnkq4s1mhKv8W79gXcGINQWtuaxituGAcuSnA== +vue-template-compiler@^2.6.3: + version "2.6.3" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.3.tgz#fe76b7755b038889f5e887895745f0d2bce3f778" + integrity sha512-SQ3lJk7fwquz8fGac7MwvP9cEBZntokTWITaDrLC0zmyBKjcOfJtWZkMsv+2uSUBDD8kwz8Bsad9xmBWaNULhg== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11334,10 +11334,10 @@ vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.2.tgz#1cc9c9c8f7ba8df45e9b97c284947de78b76301c" - integrity sha512-NZAb0H+t3/99g2nygURcEJ+ncvzNLPiEiFI5MGhc1Cjsw5uYprF+Ol7SOd1RXPcmVVzK7jUBl0th2tNgt+VQDg== +vue@^2.6.3: + version "2.6.3" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.3.tgz#180017ba25b94a9864b2921db8644e1062ea82a0" + integrity sha512-yftjtahz4UTAtOlXXuw7UaYD86fWrMDAAzqTdqJJx2FIBqcPmBN6kPBHiBJFGaQELVblb5ijbFMXsx0i0F7q3g== vuex@^3.1.0: version "3.1.0" From fc604d17335006aa7ce9a7b7b6e6b7b67d22f11b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 7 Feb 2019 11:21:51 +0330 Subject: [PATCH 056/221] chore(deps): update all non-major dependencies (#4970) --- package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/server/package.json | 2 +- yarn.lock | 39 ++++++++++++++---------------------- 5 files changed, 19 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 610d5131af..bf2944a216 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.1.0", - "esm": "^3.2.1", + "esm": "^3.2.3", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 53f004d43b..db6606fd33 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^2.1.0", "chalk": "^2.4.2", "consola": "^2.4.0", - "esm": "^3.2.1", + "esm": "^3.2.3", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 3a29cd840c..c75589fbe7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.3", "consola": "^2.4.0", "debug": "^4.1.1", - "esm": "^3.2.1", + "esm": "^3.2.3", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/server/package.json b/packages/server/package.json index c98d4191c2..8c21ee4325 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -23,7 +23,7 @@ "on-headers": "^1.0.1", "pify": "^4.0.1", "semver": "^5.6.0", - "serve-placeholder": "^1.1.0", + "serve-placeholder": "^1.1.1", "serve-static": "^1.13.2", "server-destroy": "^1.0.1", "ua-parser-js": "^0.7.19" diff --git a/yarn.lock b/yarn.lock index 838c881888..a70242e445 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3688,15 +3688,6 @@ default-require-extensions@^1.0.0: dependencies: strip-bom "^2.0.0" -defaults-deep@^0.2.4: - version "0.2.4" - resolved "https://registry.npmjs.org/defaults-deep/-/defaults-deep-0.2.4.tgz#a479cfeafce025810fb93aa8d2dde0ee2d677cc6" - integrity sha512-V6BtqzcMvn0EPOy7f+SfMhfmTawq+7UQdt9yZH0EBK89+IHo5f+Hse/qzTorAXOBrQpxpwb6cB/8OgtaMrT+Fg== - dependencies: - for-own "^0.1.3" - is-extendable "^0.1.1" - lazy-cache "^0.2.3" - defaults@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -3733,6 +3724,11 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +defu@^0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/defu/-/defu-0.0.1.tgz#74dc4d64e401d7f95c6755fe98bc5cd688833a8f" + integrity sha512-Pz9yznbSzVTNA67lcfqVnktROx2BrrBBcmQqGrfe0zdiN5pl5GQogLA4uaP3U1pR1LHIZpEYTAh2sn+v4rH1dA== + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -4281,10 +4277,10 @@ eslint@^5.13.0: table "^5.0.2" text-table "^0.2.0" -esm@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.1.tgz#bd7c7dadad902ef167db93b266796e9cece587c7" - integrity sha512-+gxDed1gELD6mCn0P4TRPpknVJe7JvLtg3lJ9sRlLSpfw6J47QMGa5pi+10DN20VQ5z6OtbxjFoD9Z6PM+zb6Q== +esm@^3.2.3: + version "3.2.3" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.3.tgz#a5453468d030bdc5ec539f5ce5d9e95731f956d2" + integrity sha512-qkokqXI9pblukGvc0gG1FHMwKWjriIyCgDKbpzgtlis5tQ21dIFPL5s7ffcSVdE+k9Zw7R5ZC/dl0z/Ib5m1Pw== espree@^4.1.0: version "4.1.0" @@ -4787,7 +4783,7 @@ for-in@^1.0.1, for-in@^1.0.2: resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^0.1.3, for-own@^0.1.4: +for-own@^0.1.4: version "0.1.5" resolved "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= @@ -6649,11 +6645,6 @@ launch-editor@^2.2.1: chalk "^2.3.0" shell-quote "^1.6.1" -lazy-cache@^0.2.3: - version "0.2.7" - resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz#7feddf2dcb6edb77d11ef1d117ab5ffdf0ab1b65" - integrity sha1-f+3fLctu23fRHvHRF6tf/fCrG2U= - lazy-cache@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" @@ -9952,12 +9943,12 @@ serialize-javascript@^1.3.0, serialize-javascript@^1.4.0, serialize-javascript@^ resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.6.1.tgz#4d1f697ec49429a847ca6f442a2a755126c4d879" integrity sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw== -serve-placeholder@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/serve-placeholder/-/serve-placeholder-1.1.0.tgz#3c0930b311a9896c3d90903bb8ea60fff12101b2" - integrity sha512-kMYOLX8hwcyQ/8nLuyPcOhGhi4c29sJLsfz3i1vOFQnYMtZdPSsJLxxblTU+5wf6CPHh/g3EYo/V/SQ6eVEO5Q== +serve-placeholder@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/serve-placeholder/-/serve-placeholder-1.1.1.tgz#aab67f559abda831d8ddc66ee3da8564304273d6" + integrity sha512-dkRNJTSHfkDJUpOSN8LAQav+BJlwiPETND4YDDCiTfb0Ot5RGBXx5vZa4qYugi6dA1eNow0tKTqTTKQSxqcpWw== dependencies: - defaults-deep "^0.2.4" + defu "^0.0.1" serve-static@1.13.2, serve-static@^1.13.2: version "1.13.2" From a03dafbe9738543e05f6a9b68b51c0a6311fe6cc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 7 Feb 2019 12:12:39 +0330 Subject: [PATCH 057/221] chore(deps): update dependency webpack to ^4.29.3 (#4972) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index bd32ff4a81..3f63b70527 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -44,7 +44,7 @@ "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", "vue-loader": "^15.6.2", - "webpack": "^4.29.2", + "webpack": "^4.29.3", "webpack-bundle-analyzer": "^3.0.3", "webpack-dev-middleware": "^3.5.2", "webpack-hot-middleware": "^2.24.3", diff --git a/yarn.lock b/yarn.lock index a70242e445..ae09cf91e6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11446,10 +11446,10 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.29.2: - version "4.29.2" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.2.tgz#1afb23db2ebc56403bdedb8915a628b17a4c2ccb" - integrity sha512-CIImg29B6IcIsQwxZJ6DtWXR024wX6vHfU8fB1UDxtSiEY1gwoqE1uSAi459vBOJuIYshu4BwMI7gxjVUqXPUg== +webpack@^4.29.3: + version "4.29.3" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.3.tgz#e0b406a7b4201ed5e4fb4f84fd7359f9a7db4647" + integrity sha512-xPJvFeB+8tUflXFq+OgdpiSnsCD5EANyv56co5q8q8+YtEasn5Sj3kzY44mta+csCIEB0vneSxnuaHkOL2h94A== dependencies: "@webassemblyjs/ast" "1.7.11" "@webassemblyjs/helper-module-context" "1.7.11" From 31cb18737be009c354be890b441e320d6e52b59e Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Thu, 7 Feb 2019 15:00:04 +0000 Subject: [PATCH 058/221] refactor: use spread syntax for plugin push (#4976) --- packages/webpack/src/config/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack/src/config/base.js b/packages/webpack/src/config/base.js index efb8b7de30..a2a2cdd3b6 100644 --- a/packages/webpack/src/config/base.js +++ b/packages/webpack/src/config/base.js @@ -346,7 +346,7 @@ export default class WebpackBaseConfig { plugins.push(new VueLoader.VueLoaderPlugin()) - Array.prototype.push.apply(plugins, this.options.build.plugins || []) + plugins.push(...(this.options.build.plugins || [])) // Hide warnings about plugins without a default export (#1179) plugins.push(new WarnFixPlugin()) From 574a2eb293661015d29ccf3e6a69f8381077360f Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Thu, 7 Feb 2019 15:00:41 +0000 Subject: [PATCH 059/221] fix: disable "analyze" for nuxt generate (#4975) --- packages/cli/src/commands/generate.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/cli/src/commands/generate.js b/packages/cli/src/commands/generate.js index 2de34cae2d..52c5cbf18c 100644 --- a/packages/cli/src/commands/generate.js +++ b/packages/cli/src/commands/generate.js @@ -36,6 +36,13 @@ export default { }, async run(cmd) { const config = await cmd.getNuxtConfig({ dev: false }) + + // Disable analyze if set by the nuxt config + if (!config.build) { + config.build = {} + } + config.build.analyze = false + const nuxt = await cmd.getNuxt(config) const generator = await cmd.getGenerator(nuxt) From 2c763df176930509c178cbc79b654e083cc5fc84 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 7 Feb 2019 20:18:47 +0330 Subject: [PATCH 060/221] test: fix macos e2e tests --- test/utils/browser.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/utils/browser.js b/test/utils/browser.js index ca5aa9afd1..76b2c4cd9f 100644 --- a/test/utils/browser.js +++ b/test/utils/browser.js @@ -1,5 +1,12 @@ +import fs from 'fs' import puppeteer from 'puppeteer-core' import which from 'which' +import env from 'std-env' + +const macChromePath = [ + '/Applications/Chromium.app/Contents/MacOS/Chromium', + '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' +] export default class Browser { async start(options = {}) { @@ -16,6 +23,14 @@ export default class Browser { if (!_opts.executablePath) { const resolve = cmd => which.sync(cmd, { nothrow: true }) _opts.executablePath = resolve('google-chrome') || resolve('chromium') + if (!_opts.executablePath && env.darwin) { + for (const bin of macChromePath) { + if (fs.existsSync(bin)) { + _opts.executablePath = bin + break + } + } + } } this.browser = await puppeteer.launch(_opts) From eac6d022f5d9c02404285db71f20313bc4430f58 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 7 Feb 2019 17:26:43 +0000 Subject: [PATCH 061/221] refactor: remove unnecessary onEmit in old webpack --- packages/webpack/src/plugins/vue/client.js | 4 ++-- packages/webpack/src/plugins/vue/server.js | 4 ++-- packages/webpack/src/plugins/vue/util.js | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/packages/webpack/src/plugins/vue/client.js b/packages/webpack/src/plugins/vue/client.js index cd33e7a010..561d19b649 100644 --- a/packages/webpack/src/plugins/vue/client.js +++ b/packages/webpack/src/plugins/vue/client.js @@ -6,7 +6,7 @@ import hash from 'hash-sum' import uniq from 'lodash/uniq' -import { isJS, isCSS, onEmit } from './util' +import { isJS, isCSS } from './util' export default class VueSSRClientPlugin { constructor(options = {}) { @@ -16,7 +16,7 @@ export default class VueSSRClientPlugin { } apply(compiler) { - onEmit(compiler, 'vue-client-plugin', (compilation, cb) => { + compiler.hooks.emit.tapAsync('vue-client-plugin', (compilation, cb) => { const stats = compilation.getStats().toJson() const allFiles = uniq(stats.assets diff --git a/packages/webpack/src/plugins/vue/server.js b/packages/webpack/src/plugins/vue/server.js index 422df372bd..00ac888029 100644 --- a/packages/webpack/src/plugins/vue/server.js +++ b/packages/webpack/src/plugins/vue/server.js @@ -1,4 +1,4 @@ -import { validate, isJS, onEmit } from './util' +import { validate, isJS } from './util' export default class VueSSRServerPlugin { constructor(options = {}) { @@ -10,7 +10,7 @@ export default class VueSSRServerPlugin { apply(compiler) { validate(compiler) - onEmit(compiler, 'vue-server-plugin', (compilation, cb) => { + compiler.hooks.emit.tapAsync('vue-server-plugin', (compilation, cb) => { const stats = compilation.getStats().toJson() const [entryName] = Object.keys(stats.entrypoints) const entryInfo = stats.entrypoints[entryName] diff --git a/packages/webpack/src/plugins/vue/util.js b/packages/webpack/src/plugins/vue/util.js index 18b62b645d..7db9feb8f8 100644 --- a/packages/webpack/src/plugins/vue/util.js +++ b/packages/webpack/src/plugins/vue/util.js @@ -22,16 +22,6 @@ export const validate = (compiler) => { } } -export const onEmit = (compiler, name, hook) => { - if (compiler.hooks) { - // Webpack >= 4.0.0 - compiler.hooks.emit.tapAsync(name, hook) - } else { - // Webpack < 4.0.0 - compiler.plugin('emit', hook) - } -} - export const isJS = file => /\.js(\?[^.]+)?$/.test(file) export const isCSS = file => /\.css(\?[^.]+)?$/.test(file) From 29297160a1f82f9d5ed882f239552892f92c705c Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 8 Feb 2019 13:35:01 +0330 Subject: [PATCH 062/221] feat(vue-renderer): improvements (#4722) --- packages/core/src/nuxt.js | 3 +- packages/core/test/nuxt.test.js | 2 + packages/vue-app/template/index.js | 3 +- packages/vue-app/template/utils.js | 11 +- packages/vue-renderer/src/renderer.js | 161 +++++++++++++------- test/fixtures/module/modules/hooks/index.js | 1 + 6 files changed, 122 insertions(+), 59 deletions(-) diff --git a/packages/core/src/nuxt.js b/packages/core/src/nuxt.js index fcd011ea73..486764a812 100644 --- a/packages/core/src/nuxt.js +++ b/packages/core/src/nuxt.js @@ -26,7 +26,8 @@ export default class Nuxt extends Hookable { // Deprecated hooks this._deprecatedHooks = { - 'render:context': 'render:routeContext', // #3773 + 'render:context': 'render:routeContext', + 'render:routeContext': 'vue-renderer:afterRender', 'showReady': 'webpack:done' // Workaround to deprecate showReady } diff --git a/packages/core/test/nuxt.test.js b/packages/core/test/nuxt.test.js index 9e3db8d79d..aecb1c8380 100644 --- a/packages/core/test/nuxt.test.js +++ b/packages/core/test/nuxt.test.js @@ -41,6 +41,7 @@ describe('core: nuxt', () => { expect(nuxt._deprecatedHooks).toEqual({ 'render:context': 'render:routeContext', + 'render:routeContext': 'vue-renderer:afterRender', 'showReady': 'webpack:done' }) @@ -56,6 +57,7 @@ describe('core: nuxt', () => { expect(nuxt.ready).toBeCalledTimes(1) }) + // TODO: Remove in next major release test('should call hook webpack:done in showReady', () => { const nuxt = new Nuxt() nuxt.callHook = jest.fn() diff --git a/packages/vue-app/template/index.js b/packages/vue-app/template/index.js index 2d3bb9a31e..2b586a2e44 100644 --- a/packages/vue-app/template/index.js +++ b/packages/vue-app/template/index.js @@ -123,7 +123,8 @@ async function createApp(ssrContext) { payload: ssrContext ? ssrContext.payload : undefined, req: ssrContext ? ssrContext.req : undefined, res: ssrContext ? ssrContext.res : undefined, - beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined + beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined, + ssrContext }) <% if (plugins.length) { %> diff --git a/packages/vue-app/template/utils.js b/packages/vue-app/template/utils.js index 1b7f7bfee1..fdd9f97bd8 100644 --- a/packages/vue-app/template/utils.js +++ b/packages/vue-app/template/utils.js @@ -132,8 +132,15 @@ export async function setContext(app, context) { env: <%= JSON.stringify(env) %><%= isTest ? '// eslint-disable-line' : '' %> } // Only set once - if (context.req) app.context.req = context.req - if (context.res) app.context.res = context.res + if (context.req) { + app.context.req = context.req + } + if (context.res) { + app.context.res = context.res + } + if (context.ssrContext) { + app.context.ssrContext = context.ssrContext + } app.context.redirect = (status, path, query) => { if (!status) { return diff --git a/packages/vue-renderer/src/renderer.js b/packages/vue-renderer/src/renderer.js index 5f3021f9c8..7d6a8f4e17 100644 --- a/packages/vue-renderer/src/renderer.js +++ b/packages/vue-renderer/src/renderer.js @@ -30,6 +30,9 @@ export default class VueRenderer { spaTemplate: undefined, errorTemplate: this.parseTemplate('Nuxt.js Internal Server Error') }) + + // Keep time of last shown messages + this._lastWaitingForResource = new Date() } get assetsMapping() { @@ -110,7 +113,6 @@ export default class VueRenderer { async ready() { // -- Development mode -- - if (this.context.options.dev) { this.context.nuxt.hook('build:resources', mfs => this.loadResources(mfs, true)) return @@ -121,7 +123,7 @@ export default class VueRenderer { // Try once to load SSR resources from fs await this.loadResources(fs) - // Without using`nuxt start` (Programatic, Tests and Generate) + // Without using `nuxt start` (Programatic, Tests and Generate) if (!this.context.options._start) { this.context.nuxt.hook('build:resources', () => this.loadResources(fs)) } @@ -296,64 +298,55 @@ export default class VueRenderer { return fn(opts) } - async renderRoute(url, context = {}, retries = 5) { - /* istanbul ignore if */ - if (!this.isReady) { - if (this.context.options.dev && retries > 0) { - consola.info('Waiting for server resources...') - await waitFor(1000) - return this.renderRoute(url, context, retries - 1) - } else { - throw new Error('Server resources are not available!') - } + async renderSPA(context) { + const content = await this.renderer.spa.render(context) + + const APP = + `
${this.context.resources.loadingHTML}
` + + content.BODY_SCRIPTS + + // Prepare template params + const templateParams = { + ...content, + APP, + ENV: this.context.options.env } - // Log rendered url - consola.debug(`Rendering url ${url}`) + // Call spa:templateParams hook + this.context.nuxt.callHook('vue-renderer:spa:templateParams', templateParams) - // Add url and isSever to the context - context.url = url + // Render with SPA template + const html = this.renderTemplate(false, templateParams) - // Basic response if SSR is disabled or SPA data provided - const { req, res } = context - const spa = context.spa || (res && res.spa) - const ENV = this.context.options.env - - if (!this.SSR || spa) { - const { - HTML_ATTRS, - HEAD_ATTRS, - BODY_ATTRS, - HEAD, - BODY_SCRIPTS, - getPreloadFiles - } = await this.renderer.spa.render(context) - const APP = - `
${this.context.resources.loadingHTML}
` + BODY_SCRIPTS - - const html = this.renderTemplate(false, { - HTML_ATTRS, - HEAD_ATTRS, - BODY_ATTRS, - HEAD, - APP, - ENV + return { + html, + getPreloadFiles: this.getPreloadFiles.bind(this, { + getPreloadFiles: content.getPreloadFiles }) - - return { html, getPreloadFiles: this.getPreloadFiles.bind(this, { getPreloadFiles }) } } + } - let APP + async renderSSR(context) { // Call renderToString from the bundleRenderer and generate the HTML (will update the context as well) - if (req && req.modernMode) { - APP = await this.renderer.modern.renderToString(context) - } else { - APP = await this.renderer.ssr.renderToString(context) - } + const renderer = context.modern ? this.renderer.modern : this.renderer.ssr + // Call ssr:context hook to extend context from modules + await this.context.nuxt.callHook('vue-renderer:ssr:prepareContext', context) + + // Call Vue renderer renderToString + let APP = await renderer.renderToString(context) + + // Call ssr:context hook + await this.context.nuxt.callHook('vue-renderer:ssr:context', context) + // TODO: Remove in next major release + await this.context.nuxt.callHook('render:routeContext', context.nuxt) + + // Fallback to empty response if (!context.nuxt.serverRendered) { APP = `
` } + + // Inject head meta const m = context.meta.inject() let HEAD = m.title.text() + @@ -362,18 +355,25 @@ export default class VueRenderer { m.style.text() + m.script.text() + m.noscript.text() + + // Add meta if router base specified if (this.context.options._routerBaseSpecified) { HEAD += `` } + // Inject resource hints if (this.context.options.render.resourceHints) { HEAD += this.renderResourceHints(context) } - await this.context.nuxt.callHook('render:routeContext', context.nuxt) + // Inject styles + HEAD += context.renderStyles() + // Serialize state const serializedSession = `window.${this.context.globals.context}=${devalue(context.nuxt)};` + APP += `` + // Calculate CSP hashes const cspScriptSrcHashes = [] if (this.context.options.render.csp) { const { hashAlgorithm } = this.context.options.render.csp @@ -382,21 +382,29 @@ export default class VueRenderer { cspScriptSrcHashes.push(`'${hashAlgorithm}-${hash.digest('base64')}'`) } - APP += `` + // Call ssr:csp hook + await this.context.nuxt.callHook('vue-renderer:ssr:csp', cspScriptSrcHashes) + + // Prepend scripts APP += this.renderScripts(context) APP += m.script.text({ body: true }) APP += m.noscript.text({ body: true }) - HEAD += context.renderStyles() - - const html = this.renderTemplate(true, { + // Template params + const templateParams = { HTML_ATTRS: 'data-n-head-ssr ' + m.htmlAttrs.text(), HEAD_ATTRS: m.headAttrs.text(), BODY_ATTRS: m.bodyAttrs.text(), HEAD, APP, - ENV - }) + ENV: this.context.options.env + } + + // Call ssr:templateParams hook + await this.context.nuxt.callHook('vue-renderer:ssr:templateParams', templateParams) + + // Render with SSR template + const html = this.renderTemplate(true, templateParams) return { html, @@ -407,6 +415,49 @@ export default class VueRenderer { } } + async renderRoute(url, context = {}, retries = 5) { + /* istanbul ignore if */ + if (!this.isReady) { + if (!this.context.options.dev || retries <= 0) { + throw new Error('Server resources are not available!') + } + + const now = new Date() + if (now - this._lastWaitingForResource > 3000) { + consola.info('Waiting for server resources...') + this._lastWaitingForResource = now + } + await waitFor(1000) + + return this.renderRoute(url, context, retries - 1) + } + + // Log rendered url + consola.debug(`Rendering url ${url}`) + + // Add url to the context + context.url = url + + // context.spa + if (context.spa === undefined) { + // TODO: Remove reading from context.res in Nuxt3 + context.spa = !this.SSR || context.spa || (context.req && context.req.spa) || (context.res && context.res.spa) + } + + // context.modern + if (context.modern === undefined) { + context.modern = context.req ? (context.req.modernMode || context.req.modern) : false + } + + // Call context hook + await this.context.nuxt.callHook('vue-renderer:context', context) + + // Render SPA or SSR + return context.spa + ? this.renderSPA(context) + : this.renderSSR(context) + } + get resourceMap() { return { clientManifest: { diff --git a/test/fixtures/module/modules/hooks/index.js b/test/fixtures/module/modules/hooks/index.js index 864721a32c..87cca8df29 100644 --- a/test/fixtures/module/modules/hooks/index.js +++ b/test/fixtures/module/modules/hooks/index.js @@ -12,6 +12,7 @@ export default function () { }) // Get data before data sent to client + // TODO: Remove in next major release this.nuxt.hook('render:context', (data) => { this.nuxt.__render_context = data }) From f791d786e0996e4cad2b1ddbe244a747e7e700aa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 8 Feb 2019 13:35:47 +0330 Subject: [PATCH 063/221] chore(deps): update all non-major dependencies (#4981) --- package.json | 6 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/typescript/package.json | 4 +- yarn.lock | 1039 ++++++++++++++++-------------- 5 files changed, 550 insertions(+), 503 deletions(-) diff --git a/package.json b/package.json index bf2944a216..ed56c4732f 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.1.0", - "esm": "^3.2.3", + "esm": "^3.2.4", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", @@ -57,7 +57,7 @@ "jest-junit": "^6.2.1", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", - "lerna": "3.10.8", + "lerna": "3.11.0", "lodash": "^4.17.11", "node-fetch": "^2.3.0", "pug": "^2.0.3", @@ -78,7 +78,7 @@ "ts-jest": "^23.10.5", "ts-loader": "^5.3.3", "tslint": "^5.12.1", - "typescript": "^3.3.1", + "typescript": "^3.3.3", "vue-jest": "^3.0.2", "vue-property-decorator": "^7.3.0", "which": "^1.3.1" diff --git a/packages/cli/package.json b/packages/cli/package.json index db6606fd33..987764e099 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^2.1.0", "chalk": "^2.4.2", "consola": "^2.4.0", - "esm": "^3.2.3", + "esm": "^3.2.4", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index c75589fbe7..f9752b41e3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.3", "consola": "^2.4.0", "debug": "^4.1.1", - "esm": "^3.2.3", + "esm": "^3.2.4", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/typescript/package.json b/packages/typescript/package.json index ea2bba8261..0445e87b0e 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.21", + "@types/node": "^10.12.23", "chalk": "^2.4.2", "consola": "^2.4.0", "enquirer": "^2.3.0", @@ -19,7 +19,7 @@ "ts-loader": "^5.3.3", "ts-node": "^8.0.2", "tslint": "^5.12.1", - "typescript": "^3.3.1" + "typescript": "^3.3.3" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index ae09cf91e6..6877534d1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -684,52 +684,54 @@ resolved "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw== -"@lerna/add@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/add/-/add-3.10.6.tgz#6f2c6b26eb905c40fef4180f3ffa34ad9dbb860b" - integrity sha512-FxQ5Bmyb5fF+3BQiNffM6cTeGCrl4uaAuGvxFIWF6Pgz6U14tUc1e16xgKDvVb1CurzJgIV5sLOT5xmCOqv1kA== +"@lerna/add@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/add/-/add-3.11.0.tgz#eb924d05457b5c46ce4836cf3a0a05055ae788aa" + integrity sha512-A2u889e+GeZzL28jCpcN53iHq2cPWVnuy5tv5nvG/MIg0PxoAQOUvphexKsIbqzVd9Damdmv5W0u9kS8y8TTow== dependencies: - "@lerna/bootstrap" "3.10.6" - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" + "@lerna/bootstrap" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" "@lerna/npm-conf" "3.7.0" - "@lerna/validation-error" "3.6.0" + "@lerna/validation-error" "3.11.0" dedent "^0.7.0" - libnpm "^2.0.1" + npm-package-arg "^6.1.0" p-map "^1.2.0" + pacote "^9.4.1" semver "^5.5.0" -"@lerna/batch-packages@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.10.6.tgz#2d6dfc9be13ea4da49244dd84bfcd46c3d62f4d0" - integrity sha512-sInr3ZQJFMh9Zq+ZUoVjX8R67j9ViRkVy0uEMsOfG+jZlXj1lRPRMPRiRgU0jXSYEwCdwuAB5pTd9tTx0VCJUw== +"@lerna/batch-packages@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.11.0.tgz#cb009b6680b6e5fb586e9578072f4b595288eaf8" + integrity sha512-ETO3prVqDZs/cpZo00ij61JEZ8/ADJx1OG/d/KtTdHlyRfQsb09Xzf0w+boimqa8fIqhpM3o5FV9GKd6GQ3iFQ== dependencies: - "@lerna/package-graph" "3.10.6" - "@lerna/validation-error" "3.6.0" - libnpm "^2.0.1" + "@lerna/package-graph" "3.11.0" + "@lerna/validation-error" "3.11.0" + npmlog "^4.1.2" -"@lerna/bootstrap@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.10.6.tgz#d250baa9cfe9026c4f78e6cf7c9761a90b24e363" - integrity sha512-qbGjAxRpV/eiI9CboUIpsPPGpSogs8mN2/iDaAUBTaWVFVz/YyU64nui84Gll0kbdaHOyPput+kk2S8NCSCCdg== +"@lerna/bootstrap@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.11.0.tgz#01bfda72894b5ebf3b550b9849ee4b44c03e50be" + integrity sha512-MqwviGJTy86joqSX2A3fmu2wXLBXc23tHJp5Xu4bVhynPegDnRrA3d9UI80UM3JcuYIQsxT4t2q2LNsZ4VdZKQ== dependencies: - "@lerna/batch-packages" "3.10.6" - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" + "@lerna/batch-packages" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" "@lerna/has-npm-version" "3.10.0" - "@lerna/npm-install" "3.10.0" - "@lerna/package-graph" "3.10.6" - "@lerna/pulse-till-done" "3.7.1" - "@lerna/rimraf-dir" "3.10.0" - "@lerna/run-lifecycle" "3.10.5" + "@lerna/npm-install" "3.11.0" + "@lerna/package-graph" "3.11.0" + "@lerna/pulse-till-done" "3.11.0" + "@lerna/rimraf-dir" "3.11.0" + "@lerna/run-lifecycle" "3.11.0" "@lerna/run-parallel-batches" "3.0.0" - "@lerna/symlink-binary" "3.10.0" - "@lerna/symlink-dependencies" "3.10.0" - "@lerna/validation-error" "3.6.0" + "@lerna/symlink-binary" "3.11.0" + "@lerna/symlink-dependencies" "3.11.0" + "@lerna/validation-error" "3.11.0" dedent "^0.7.0" get-port "^3.2.0" - libnpm "^2.0.1" multimatch "^2.1.0" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" p-finally "^1.0.0" p-map "^1.2.0" p-map-series "^1.0.0" @@ -737,24 +739,24 @@ read-package-tree "^5.1.6" semver "^5.5.0" -"@lerna/changed@3.10.8": - version "3.10.8" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.10.8.tgz#7ed17a00c4ca0f6437ce9f7d4925d5e779b8553c" - integrity sha512-K2BQPpSS93uNJqi8A5mwrFR9I6Pa/a0jgR/26jun0Wa39DTOjf5WP7EDvXQ8Pftx5kMdHb5hQDwvMCcBJw25mA== +"@lerna/changed@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.11.0.tgz#aa164446dc175cc59b6b70f878a9ccdc52a89e4d" + integrity sha512-owUwGqinBx4YWRelPlYyz+F7TqoyZcYCRPQZG+8F16Bivof5yj3bdnuzx0xzeOSW3WNOWANiaD4rWGdo3rmjeQ== dependencies: - "@lerna/collect-updates" "3.10.1" - "@lerna/command" "3.10.6" - "@lerna/listable" "3.10.6" - "@lerna/output" "3.6.0" - "@lerna/version" "3.10.8" + "@lerna/collect-updates" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/listable" "3.11.0" + "@lerna/output" "3.11.0" + "@lerna/version" "3.11.0" -"@lerna/check-working-tree@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-3.10.0.tgz#5ed9f2c5c942bee92afcd8cb5361be44ed0251e3" - integrity sha512-NdIPhDgEtGHfeGjB9F0oAoPLywgMpjnJhLLwTNQkelDHo2xNAVpG8kV+A2UJ+cU5UXCZA4RZFxKNmw86rO+Drw== +"@lerna/check-working-tree@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-3.11.0.tgz#a513d3e28168826fa4916ef2d0ff656daa6e6de0" + integrity sha512-uWKKmX4BKdK57MyX3rGNHNz4JmFP3tHnaIDDVeuSlgK5KwncPFyRXi3E9H0eiq6DUvDDLtztNOfWeGP2IY656Q== dependencies: - "@lerna/describe-ref" "3.10.0" - "@lerna/validation-error" "3.6.0" + "@lerna/describe-ref" "3.11.0" + "@lerna/validation-error" "3.11.0" "@lerna/child-process@3.3.0": version "3.3.0" @@ -765,97 +767,99 @@ execa "^1.0.0" strong-log-transformer "^2.0.0" -"@lerna/clean@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.10.6.tgz#31e4a12a722e57ca7adc0c9bc30ba70d55572bb8" - integrity sha512-MuL8HOwnyvVtr6GOiAN/Ofjbx+BJdCrtjrM1Uuh8FFnbnZTPVf+0MPxL2jVzPMo0PmoIrX3fvlwvzKNk/lH0Ug== +"@lerna/clean@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.11.0.tgz#21dc85d8280cd6956d3cb8998f3f5667382a8b8f" + integrity sha512-sHyMYv56MIVMH79+5vcxHVdgmd8BcsihI+RL2byW+PeoNlyDeGMjTRmnzLmbSD7dkinHGoa5cghlXy9GGIqpRw== dependencies: - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" - "@lerna/prompt" "3.6.0" - "@lerna/pulse-till-done" "3.7.1" - "@lerna/rimraf-dir" "3.10.0" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" + "@lerna/prompt" "3.11.0" + "@lerna/pulse-till-done" "3.11.0" + "@lerna/rimraf-dir" "3.11.0" p-map "^1.2.0" p-map-series "^1.0.0" p-waterfall "^1.0.0" -"@lerna/cli@3.10.7": - version "3.10.7" - resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.10.7.tgz#2f88ae4a3c53fa4d3a4f61b5f447bbbcc69546e2" - integrity sha512-yuoz/24mIfYit3neKqoE5NVs42Rj9A6A6SlkNPDfsy3v/Vh7SgYkU3cwiGyvwBGzIdhqL4/SWYo8H7YJLs0C+g== +"@lerna/cli@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.11.0.tgz#502f0409a794934b8dafb7be71dc3e91ca862907" + integrity sha512-dn2m2PgUxcb2NyTvwfYOFZf8yN5CMf1uKxht3ajQYdDjRgFi5pUQt/DmdguOZ3CMJkENa0i3yPOmrxGPXLD2aw== dependencies: "@lerna/global-options" "3.10.6" dedent "^0.7.0" - libnpm "^2.0.1" + npmlog "^4.1.2" yargs "^12.0.1" -"@lerna/collect-updates@3.10.1": - version "3.10.1" - resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.10.1.tgz#3ad60aa31826c0c0cfdf8bf41e58e6c5c86aeb3a" - integrity sha512-vb0wEJ8k63G+2CR/ud1WeVHNJ21Fs6Ew6lbdGZXnF4ZvaFWxWJZpoHeWwzjhMdJ75QdTzUaIhTG1hnH9faQNMw== +"@lerna/collect-updates@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.11.0.tgz#2332cd8c2c2e091801c8e78fea3aea0e766f971e" + integrity sha512-O0Y18OC2P6j9/RFq+u5Kdq7YxsDd+up3ZRoW6+i0XHWktqxXA9P4JBQppkpYtJVK2yH8QyOzuVLQgtL0xtHdYA== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/describe-ref" "3.10.0" - libnpm "^2.0.1" + "@lerna/describe-ref" "3.11.0" minimatch "^3.0.4" + npmlog "^4.1.2" slash "^1.0.0" -"@lerna/command@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/command/-/command-3.10.6.tgz#709bd1c66220da67f65dbe1fc88bb7ba5bb85446" - integrity sha512-jPZswMZXOpAaIuSF5hrz+eaWQzbDrvwbrkCoRJKfiAHx7URAkE6MQe9DeAnqrTKMqwfg0RciSrZLc8kWYfrzCQ== +"@lerna/command@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/command/-/command-3.11.0.tgz#a25199de8dfaf120ffa1492d5cb9185b17c45dea" + integrity sha512-N+Z5kauVHSb2VhSIfQexG2VlCAAQ9xYKwVTxYh0JFOFUnZ/QPcoqx4VjynDXASFXXDgcXs4FLaGsJxq83Mf5Zg== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/package-graph" "3.10.6" - "@lerna/project" "3.10.0" - "@lerna/validation-error" "3.6.0" - "@lerna/write-log-file" "3.6.0" + "@lerna/package-graph" "3.11.0" + "@lerna/project" "3.11.0" + "@lerna/validation-error" "3.11.0" + "@lerna/write-log-file" "3.11.0" dedent "^0.7.0" execa "^1.0.0" is-ci "^1.0.10" - libnpm "^2.0.1" lodash "^4.17.5" + npmlog "^4.1.2" -"@lerna/conventional-commits@3.10.8": - version "3.10.8" - resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.10.8.tgz#b9f6dd8a09bc679f6afbb8296456de59e268fe3e" - integrity sha512-kjODN5f++nsvNT6w9zPuzN+tfNlq7QaKzy6KOMUb+AvGfI4+AKw8z9Uhr8AGvyuFgyNVI69/vdFaXrWC4iTKtQ== +"@lerna/conventional-commits@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.11.0.tgz#6a56925a8ef3c0f66174bc74226bbdf1646800cf" + integrity sha512-ix1Ki5NiZdk2eMlCWNgLchWPKQTgkJdLeNjneep6OCF3ydSINizReGbFvCftRivun641cOHWswgWMsIxbqhMQw== dependencies: - "@lerna/validation-error" "3.6.0" + "@lerna/validation-error" "3.11.0" conventional-changelog-angular "^5.0.2" conventional-changelog-core "^3.1.5" conventional-recommended-bump "^4.0.4" fs-extra "^7.0.0" get-stream "^4.0.0" - libnpm "^2.0.1" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" pify "^3.0.0" semver "^5.5.0" -"@lerna/create-symlink@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-3.6.0.tgz#f1815cde2fc9d8d2315dfea44ee880f2f1bc65f1" - integrity sha512-YG3lTb6zylvmGqKU+QYA3ylSnoLn+FyLH5XZmUsD0i85R884+EyJJeHx/zUk+yrL2ZwHS4RBUgJfC24fqzgPoA== +"@lerna/create-symlink@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-3.11.0.tgz#2698b1f41aa81db820c20937701d7ceeb92cd421" + integrity sha512-UDR32uos8FIEc1keMKxXj5goZAHpCbpUd4u/btHXymUL9WqIym3cgz2iMr3ZNdZtjdMyUoHup5Dp0zjSgKCaEA== dependencies: cmd-shim "^2.0.2" fs-extra "^7.0.0" - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/create@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/create/-/create-3.10.6.tgz#85c7398cad912516c0ac6054a5c0c4145ab6cadb" - integrity sha512-OddQtGBHM2/eJONggLWoTE6275XGbnJ6dIVF+fLsKS93o4GC6g+qcc6Y7lUWHm5bfpeOwNOVKwj0tvqBZ6MgoA== +"@lerna/create@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/create/-/create-3.11.0.tgz#06121b6370f650fc51e04afc2631c56de5a950e4" + integrity sha512-1izS82QML+H/itwEu1GPrcoXyugFaP9z9r6KuIQRQq8RtmNCGEmK85aiOw6mukyRcRziq2akALgFDyrundznPQ== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/command" "3.10.6" + "@lerna/command" "3.11.0" "@lerna/npm-conf" "3.7.0" - "@lerna/validation-error" "3.6.0" - camelcase "^4.1.0" + "@lerna/validation-error" "3.11.0" + camelcase "^5.0.0" dedent "^0.7.0" fs-extra "^7.0.0" globby "^8.0.1" init-package-json "^1.10.3" - libnpm "^2.0.1" + npm-package-arg "^6.1.0" p-reduce "^1.0.0" + pacote "^9.4.1" pify "^3.0.0" semver "^5.5.0" slash "^1.0.0" @@ -863,60 +867,60 @@ validate-npm-package-name "^3.0.0" whatwg-url "^7.0.0" -"@lerna/describe-ref@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-3.10.0.tgz#266380feece6013ab9674f52bd35bf0be5b0460d" - integrity sha512-fouh3FQS07QxJJp/mW8LkGnH0xMRAzpBlejtZaiRwfDkW2kd6EuHaj8I/2/p21Wsprcvuu4dqmyia2YS1xFb/w== +"@lerna/describe-ref@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-3.11.0.tgz#935049a658f3f6e30b3da9132bdf121bc890addf" + integrity sha512-lX/NVMqeODg4q/igN06L/KjtVUpW1oawh6IgOINy2oqm4RUR+1yDpsdVu3JyZZ4nHB572mJfbW56dl8qoxEVvQ== dependencies: "@lerna/child-process" "3.3.0" - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/diff@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.10.6.tgz#b4c5a50d8c7e79619376e2c913ec1c627dfd0cdf" - integrity sha512-0MqFhosjrqsIdXiKIu7t3CiJELqiU9mkjFBhYPB7JruAzpPwjMXJnC6/Ur5/7LXJYYVpqGQwZI9ZaZlOYJhhrw== +"@lerna/diff@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.11.0.tgz#9c3417c1f1daabd55770c7a2631a1cc2125f1a4e" + integrity sha512-r3WASQix31ApA0tlkZejXhS8Z3SEg6Jw9YnKDt9V6wLjEUXGLauUDMrgx1YWu3cs9KB8/hqheRyRI7XAXGJS1w== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/command" "3.10.6" - "@lerna/validation-error" "3.6.0" - libnpm "^2.0.1" + "@lerna/command" "3.11.0" + "@lerna/validation-error" "3.11.0" + npmlog "^4.1.2" -"@lerna/exec@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.10.6.tgz#5564b614b7e39c1f034f5e0736c9e020945f2f12" - integrity sha512-cdHqaRBMYceJu8rZLO8b4ZeR27O+xKPHgzi13OOOfBJQjrTuacjMWyHgmpy8jWc/0f7QnTl4VsHks7VJ3UK+vw== +"@lerna/exec@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.11.0.tgz#391351b024ec243050f54ca92cef5d298dc821d4" + integrity sha512-oIkI+Hj74kpsnHhw0qJj12H4XMPSlDbBsshLWY+f3BiwKhn6wkXoQZ1FC8/OVNHM67GtSRv4bkcOaM4ucHm9Hw== dependencies: - "@lerna/batch-packages" "3.10.6" + "@lerna/batch-packages" "3.11.0" "@lerna/child-process" "3.3.0" - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" "@lerna/run-parallel-batches" "3.0.0" - "@lerna/validation-error" "3.6.0" + "@lerna/validation-error" "3.11.0" -"@lerna/filter-options@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.10.6.tgz#e05a8b8de6efc16c47c83f0ac58291008efba4b8" - integrity sha512-r/dQbqN+RGFKZNn+DyWehswFmAkny/fkdMB2sRM2YVe7zRTtSl95YxD9DtdYnpJTG/jbOVICS/L5QJakrI6SSw== +"@lerna/filter-options@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.11.0.tgz#2c9b47abd5bb860652b7f40bc466539f56e6014b" + integrity sha512-z0krgC/YBqz7i6MGHBsPLvsQ++XEpPdGnIkSpcN0Cjp5J67K9vb5gJ2hWp1c1bitNh3xiwZ69voGqN+DYk1mUg== dependencies: - "@lerna/collect-updates" "3.10.1" - "@lerna/filter-packages" "3.10.0" + "@lerna/collect-updates" "3.11.0" + "@lerna/filter-packages" "3.11.0" dedent "^0.7.0" -"@lerna/filter-packages@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-3.10.0.tgz#75f9a08184fc4046da2057e0218253cd6f493f05" - integrity sha512-3Acdj+jbany6LnQSuImU4ttcK5ULHSVug8Gh/EvwTewKCDpHAuoI3eyuzZOnSBdMvDOjE03uIESQK0dNNsn6Ow== +"@lerna/filter-packages@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-3.11.0.tgz#b9087495df4fd035f47d193e3538a56e79be3702" + integrity sha512-bnukkW1M0uMKWqM/m/IHou2PKRyk4fDAksAj3diHc1UVQkH2j8hXOfLl9+CgHA/cnTrf6/LARg8hKujqduqHyA== dependencies: - "@lerna/validation-error" "3.6.0" - libnpm "^2.0.1" + "@lerna/validation-error" "3.11.0" multimatch "^2.1.0" + npmlog "^4.1.2" -"@lerna/get-npm-exec-opts@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.6.0.tgz#ea595eb28d1f34ba61a92ee8391f374282b4b76e" - integrity sha512-ruH6KuLlt75aCObXfUIdVJqmfVq7sgWGq5mXa05vc1MEqxTIiU23YiJdWzofQOOUOACaZkzZ4K4Nu7wXEg4Xgg== +"@lerna/get-npm-exec-opts@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.11.0.tgz#6e151d52265921205ea3e49b08bd7ee99051741a" + integrity sha512-EDxsbuq2AbB3LWwH/4SOcn4gWOnoIYrSHfITWo7xz/SbEKeHtiva99l424ZRWUJqLPGIpQiMTlmOET2ZEI8WZg== dependencies: - libnpm "^2.0.1" + npmlog "^4.1.2" "@lerna/get-packed@3.7.0": version "3.7.0" @@ -927,6 +931,17 @@ ssri "^6.0.1" tar "^4.4.8" +"@lerna/github-client@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.11.0.tgz#54e87160a56567f4cd1d48f20d1c6b9d88fe032b" + integrity sha512-yPMBhzShuth3uJo0kKu84RvgjSZgOYNT8fKfhZmzTeVGuPbYBKlK+UQ6jjpb6E9WW2BVdiUCrFhqIsbK5Lqe7A== + dependencies: + "@lerna/child-process" "3.3.0" + "@octokit/plugin-enterprise-rest" "^2.1.0" + "@octokit/rest" "^16.15.0" + git-url-parse "^11.1.2" + npmlog "^4.1.2" + "@lerna/global-options@3.10.6": version "3.10.6" resolved "https://registry.npmjs.org/@lerna/global-options/-/global-options-3.10.6.tgz#c491a64b0be47eca4ffc875011958a5ee70a9a3e" @@ -940,70 +955,70 @@ "@lerna/child-process" "3.3.0" semver "^5.5.0" -"@lerna/import@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/import/-/import-3.10.6.tgz#36b65854857e8ab5dfd98a1caea4d365ecc06578" - integrity sha512-LlGxhfDhovoNoBJLF3PYd3j/G2GFTnfLh0V38+hBQ6lomMNJbjkACfiLVomQxPWWpYLk0GTlpWYR8YGv6L7Ifw== +"@lerna/import@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/import/-/import-3.11.0.tgz#e417231754bd660763d3b483901ff786d949a48e" + integrity sha512-WgF0We+4k/MrC1vetT8pt3/SSJPMvXhyPYmL2W9rcvch3zV0IgLyso4tEs8gNbwZorDVEG1KcM+x8TG4v1nV5Q== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/command" "3.10.6" - "@lerna/prompt" "3.6.0" - "@lerna/pulse-till-done" "3.7.1" - "@lerna/validation-error" "3.6.0" + "@lerna/command" "3.11.0" + "@lerna/prompt" "3.11.0" + "@lerna/pulse-till-done" "3.11.0" + "@lerna/validation-error" "3.11.0" dedent "^0.7.0" fs-extra "^7.0.0" p-map-series "^1.0.0" -"@lerna/init@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/init/-/init-3.10.6.tgz#b5c5166b2ddf00ea0f2742a1f53f59221478cf9a" - integrity sha512-RIlEx+ofWLYRNjxCkkV3G0XQPM+/KA5RXRDb5wKQLYO1f+tZAaHoUh8fHDIvxGf/ohY/OIjYYGSsU+ysimfwiQ== +"@lerna/init@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/init/-/init-3.11.0.tgz#c56d9324984d926e98723c78c64453f46426f608" + integrity sha512-JZC5jpCVJgK34grye52kGWjrYCyh4LB8c0WBLaS8MOUt6rxTtPqubwvCDKPOF2H0Se6awsgEfX4wWNuqiQVpRQ== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/command" "3.10.6" + "@lerna/command" "3.11.0" fs-extra "^7.0.0" p-map "^1.2.0" write-json-file "^2.3.0" -"@lerna/link@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/link/-/link-3.10.6.tgz#4201cabbfc27bebaf1a400f8cfbd238f285dd3c7" - integrity sha512-dwD6qftRWitgLDYbqtDrgO7c8uF5C0fHVew5M6gU5m9tBJidqd7cDwHv/bXboLEI63U7tt5y6LY+wEpYUFsBRw== +"@lerna/link@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/link/-/link-3.11.0.tgz#97253ffeb8a8956c3589ff4c1acf6fda322d76a2" + integrity sha512-QN+kxRWb6P9jrKpE2t6K9sGnFpqy1KOEjf68NpGhmp+J9Yt6Kvz9kG43CWoqg4Zyqqgqgn3NVV2Z7zSDNhdH0g== dependencies: - "@lerna/command" "3.10.6" - "@lerna/package-graph" "3.10.6" - "@lerna/symlink-dependencies" "3.10.0" + "@lerna/command" "3.11.0" + "@lerna/package-graph" "3.11.0" + "@lerna/symlink-dependencies" "3.11.0" p-map "^1.2.0" slash "^1.0.0" -"@lerna/list@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/list/-/list-3.10.6.tgz#7c43c09301ea01528f4dab3b22666f021e8ba9a5" - integrity sha512-3ElQBj2dOB4uUkpsjC1bxdeZwEzRBuV1pBBs5E1LncwsZf7D9D99Z32fuZsDaCHpEMgHAD4/j8juI3/7m5dkaQ== +"@lerna/list@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/list/-/list-3.11.0.tgz#0796d6076aa242d930ca5e470c49fc91066a1063" + integrity sha512-hBAwZzEzF1LQOOB2/5vQkal/nSriuJbLY39BitIGkUxifsmu7JK0k3LYrwe1sxXv5SMf2HDaTLr+Z23mUslhaQ== dependencies: - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" - "@lerna/listable" "3.10.6" - "@lerna/output" "3.6.0" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" + "@lerna/listable" "3.11.0" + "@lerna/output" "3.11.0" -"@lerna/listable@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.10.6.tgz#cea92de89d9f293c6d63e00be662bed03f85c496" - integrity sha512-F7ZuvesSgeuMiJf99eOum5p1MQGQStykcmHH1ek+LQRMiGGF1o3PkBxPvHTZBADGOFarek8bFA5TVmRAMX7NIw== +"@lerna/listable@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.11.0.tgz#5a687c4547f0fb2211c9ab59629f689e170335f3" + integrity sha512-nCrtGSS3YiAlh5dU5mmTAU9aLRlmIUn2FnahqsksN2uQ5O4o+614tneDuO298/eWLZo00eGw69EFngaQEl8quw== dependencies: - "@lerna/batch-packages" "3.10.6" + "@lerna/batch-packages" "3.11.0" chalk "^2.3.1" columnify "^1.5.4" -"@lerna/log-packed@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-3.6.0.tgz#bed96c2bdd47f076d9957d0c6069b2edc1518145" - integrity sha512-T/J41zMkzpWB5nbiTRS5PmYTFn74mJXe6RQA2qhkdLi0UqnTp97Pux1loz3jsJf2yJtiQUnyMM7KuKIAge0Vlw== +"@lerna/log-packed@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-3.11.0.tgz#4b348d8b3b4faa00ae5a03a7cec389dce91f8393" + integrity sha512-TH//81TzSTMuNzJIQE7zqu+ymI5rH25jdEdmbYEWmaJ+T42GMQXKxP8cj2m+fWRaDML8ta0uzBOm5PKHdgoFYQ== dependencies: byte-size "^4.0.3" columnify "^1.5.4" has-unicode "^2.0.1" - libnpm "^2.0.1" + npmlog "^4.1.2" "@lerna/npm-conf@3.7.0": version "3.7.0" @@ -1013,176 +1028,187 @@ config-chain "^1.1.11" pify "^3.0.0" -"@lerna/npm-dist-tag@3.8.5": - version "3.8.5" - resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.8.5.tgz#5ce22a72576badc8cb6baf85550043d63e66ea44" - integrity sha512-VO57yKTB4NC2LZuTd4w0LmlRpoFm/gejQ1gqqLGzSJuSZaBXmieElFovzl21S07cqiy7FNVdz75x7/a6WCZ6XA== +"@lerna/npm-dist-tag@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.11.0.tgz#679fea8b6534d6a877d7efa658ba9eea5b3936ed" + integrity sha512-WqZcyDb+wiqAKRFcYEK6R8AQfspyro85zGGHyjYw6ZPNgJX3qhwtQ+MidDmOesi2p5/0GfeVSWega+W7fPzVpg== dependencies: figgy-pudding "^3.5.1" - libnpm "^2.0.1" + npm-package-arg "^6.1.0" + npm-registry-fetch "^3.9.0" + npmlog "^4.1.2" -"@lerna/npm-install@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-3.10.0.tgz#fcd6688a3a2cd0e702a03c54c22eb7ae8b3dacb0" - integrity sha512-/6/XyLY9/4jaMPBOVYUr4wZxQURIfwoELY0qCQ8gZ5zv4cOiFiiCUxZ0i4fxqFtD7nJ084zq1DsZW0aH0CIWYw== +"@lerna/npm-install@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-3.11.0.tgz#40533527186d774ac27906d94a8073373d4641e4" + integrity sha512-iNKEgFvFHMmBqn9AnFye2rv7CdUBlYciwWSTNtpfVqtOnoL/lg+4A774oL4PDoxTCGmougztyxMkqLVSBYXTpw== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/get-npm-exec-opts" "3.6.0" + "@lerna/get-npm-exec-opts" "3.11.0" fs-extra "^7.0.0" - libnpm "^2.0.1" + npm-package-arg "^6.1.0" + npmlog "^4.1.2" signal-exit "^3.0.2" write-pkg "^3.1.0" -"@lerna/npm-publish@3.10.7": - version "3.10.7" - resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.10.7.tgz#9326b747b905a7f0e69d4be3f557859c3e359649" - integrity sha512-oU3/Q+eHC1fRjh7bk6Nn4tRD1OLR6XZVs3v+UWMWMrF4hVSV61pxcP5tpeI1n4gDQjSgh7seI4EzKVJe/WfraA== +"@lerna/npm-publish@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.11.0.tgz#886a408c86c30c4f18df20f338d576a53902b6ba" + integrity sha512-wgbb55gUXRlP8uTe60oW6c06ZhquaJu9xbi2vWNpb5Fmjh/KbZ2iNm9Kj2ciZlvb8D+k4Oc3qV7slBGxyMm8wg== dependencies: - "@lerna/run-lifecycle" "3.10.5" + "@lerna/run-lifecycle" "3.11.0" figgy-pudding "^3.5.1" fs-extra "^7.0.0" - libnpm "^2.0.1" + libnpmpublish "^1.1.1" + npmlog "^4.1.2" + pify "^3.0.0" + read-package-json "^2.0.13" -"@lerna/npm-run-script@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-3.10.0.tgz#49a9204eddea136da15a8d8d9eba2c3175b77ddd" - integrity sha512-c21tBXLF1Wje4tx/Td9jKIMrlZo/8QQiyyadjdKpwyyo7orSMsVNXGyJwvZ4JVVDcwC3GPU6HQvkt63v7rcyaw== +"@lerna/npm-run-script@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-3.11.0.tgz#ef5880735aa471d9ce1109e9213a45cbdbe8146b" + integrity sha512-cLnTMrRQlK/N5bCr6joOFMBfRyW2EbMdk3imtjHk0LwZxsvQx3naAPUB/2RgNfC8fGf/yHF/0bmBrpb5sa2IlA== dependencies: "@lerna/child-process" "3.3.0" - "@lerna/get-npm-exec-opts" "3.6.0" - libnpm "^2.0.1" + "@lerna/get-npm-exec-opts" "3.11.0" + npmlog "^4.1.2" -"@lerna/output@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/output/-/output-3.6.0.tgz#a69384bc685cf3b21aa1bfc697eb2b9db3333d0b" - integrity sha512-9sjQouf6p7VQtVCRnzoTGlZyURd48i3ha3WBHC/UBJnHZFuXMqWVPKNuvnMf2kRXDyoQD+2mNywpmEJg5jOnRg== +"@lerna/output@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/output/-/output-3.11.0.tgz#cc2c1e8573d9523f3159524e44a7cf788db6102e" + integrity sha512-xHYGcEaZZ4cR0Jw368QgUgFvV27a6ZO5360BMNGNsjCjuY0aOPQC5+lBhgfydJtJteKjDna853PSjBK3uMhEjw== dependencies: - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/pack-directory@3.10.5": - version "3.10.5" - resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.10.5.tgz#9bdabceacb74e1f54e47bae925e193978f2aae51" - integrity sha512-Ulj24L9XdgjJIxBr6ZjRJEoBULVH3c10lqunUdW41bswXhzhirRtQIxv0+5shngNjDwgMmJfOBcuCVKPSez4tg== +"@lerna/pack-directory@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.11.0.tgz#5fa5d818eba97ad2c4d1f688e0754f3a4c34cc81" + integrity sha512-bgA3TxZx5AyZeqUadSPspktdecW7nIpg/ODq0o0gKFr7j+DC9Fqu8vQa2xmFSKsXDtOYkCV0jox6Ox9XSFSM3A== dependencies: "@lerna/get-packed" "3.7.0" - "@lerna/package" "3.7.2" - "@lerna/run-lifecycle" "3.10.5" + "@lerna/package" "3.11.0" + "@lerna/run-lifecycle" "3.11.0" figgy-pudding "^3.5.1" - libnpm "^2.0.1" npm-packlist "^1.1.12" + npmlog "^4.1.2" tar "^4.4.8" temp-write "^3.4.0" -"@lerna/package-graph@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.10.6.tgz#8940d1ed7003100117cb1b618f7690585c00db81" - integrity sha512-mpIOJbhi+xLqT9BcUrLVD4We8WUdousQf/QndbEWl8DWAW1ethtRHVsCm9ufdBB3F9nj4PH/hqnDWWwqE+rS4w== +"@lerna/package-graph@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.11.0.tgz#d43472eb9aa2e6ca2c18984b9f86bb5924790d7a" + integrity sha512-ICYiOZvCfcmeH1qfzOkFYh0t0QA56OddQfI3ydxCiWi5G+UupJXnCIWSTh3edTAtw/kyxhCOWny/PJsG4CQfjA== dependencies: - "@lerna/validation-error" "3.6.0" - libnpm "^2.0.1" + "@lerna/validation-error" "3.11.0" + npm-package-arg "^6.1.0" semver "^5.5.0" -"@lerna/package@3.7.2": - version "3.7.2" - resolved "https://registry.npmjs.org/@lerna/package/-/package-3.7.2.tgz#03c69fd7fb965c372c8c969165a2f7d6dfe2dfcb" - integrity sha512-8A5hN2CekM1a0Ix4VUO/g+REo+MsnXb8lnQ0bGjr1YGWzSL5NxYJ0Z9+0pwTfDpvRDYlFYO0rMVwBUW44b4dUw== +"@lerna/package@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/package/-/package-3.11.0.tgz#b783f8c93f398e4c41cfd3fc8f2bb38ad1e07b76" + integrity sha512-hMzBhFEubhg+Tis5C8skwIfgOk+GTl0qudvzfPU9gQqLV8u4/Hs6mka6N0rKgbUb4VFVc5MJVe1eZ6Rv+kJAWw== dependencies: - libnpm "^2.0.1" load-json-file "^4.0.0" + npm-package-arg "^6.1.0" write-pkg "^3.1.0" -"@lerna/project@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/project/-/project-3.10.0.tgz#98272bf2eb93e9b21850edae568d696bf7fdebda" - integrity sha512-9QRl8aGHuyU4zVEELQmNPnJTlS7XHqX7w9I9isCXdnilKc2R0MyvUs21lj6Yyt6xTuQnqD158TR9tbS4QufYQQ== +"@lerna/project@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/project/-/project-3.11.0.tgz#3f403e277b724a39e5fd9124b6978c426815c588" + integrity sha512-j3DGds+q/q2YNpoBImaEsMpkWgu5gP0IGKz1o1Ju39NZKrTPza+ARIzEByL4Jqu87tcoOj7RbZzhhrBP8JBbTg== dependencies: - "@lerna/package" "3.7.2" - "@lerna/validation-error" "3.6.0" + "@lerna/package" "3.11.0" + "@lerna/validation-error" "3.11.0" cosmiconfig "^5.0.2" dedent "^0.7.0" dot-prop "^4.2.0" glob-parent "^3.1.0" globby "^8.0.1" - libnpm "^2.0.1" load-json-file "^4.0.0" + npmlog "^4.1.2" p-map "^1.2.0" resolve-from "^4.0.0" write-json-file "^2.3.0" -"@lerna/prompt@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.6.0.tgz#b17cc464dec9d830619723e879dc747367378217" - integrity sha512-nyAjPMolJ/ZRAAVcXrUH89C4n1SiWvLh4xWNvWYKLcf3PI5yges35sDFP/HYrM4+cEbkNFuJCRq6CxaET4PRsg== +"@lerna/prompt@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.11.0.tgz#35c6bf18e5218ccf4bf2cde678667fd967ea1564" + integrity sha512-SB/wvyDPQASze9txd+8/t24p6GiJuhhL30zxuRwvVwER5lIJR7kaXy1KhQ7kUAKPlNTVfCBm3GXReIMl4jhGhw== dependencies: inquirer "^6.2.0" - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/publish@3.10.8": - version "3.10.8" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.10.8.tgz#fcf73ab2468807f5a8f3339234c2f66f0f65b088" - integrity sha512-kS3zia6knsoN8nd+6ihuwRhicBM6HRmbDgoa4uii4+ZqLVz4dniHYfHCMcZzHYSN8Kj35MsT25Ax1iq5eCjxmQ== +"@lerna/publish@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.11.0.tgz#b35460bf6f472d17d756043baedb02c6f434acf0" + integrity sha512-8vdb5YOnPphIig4FCXwuLAdptFNfMcCj/TMCwtsFDQqNbeCbVABkptqjfmldVmGfcxwbkqHLH7cbazVSIGPonA== dependencies: - "@lerna/batch-packages" "3.10.6" - "@lerna/check-working-tree" "3.10.0" + "@lerna/batch-packages" "3.11.0" + "@lerna/check-working-tree" "3.11.0" "@lerna/child-process" "3.3.0" - "@lerna/collect-updates" "3.10.1" - "@lerna/command" "3.10.6" - "@lerna/describe-ref" "3.10.0" - "@lerna/log-packed" "3.6.0" + "@lerna/collect-updates" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/describe-ref" "3.11.0" + "@lerna/log-packed" "3.11.0" "@lerna/npm-conf" "3.7.0" - "@lerna/npm-dist-tag" "3.8.5" - "@lerna/npm-publish" "3.10.7" - "@lerna/output" "3.6.0" - "@lerna/pack-directory" "3.10.5" - "@lerna/prompt" "3.6.0" - "@lerna/pulse-till-done" "3.7.1" - "@lerna/run-lifecycle" "3.10.5" + "@lerna/npm-dist-tag" "3.11.0" + "@lerna/npm-publish" "3.11.0" + "@lerna/output" "3.11.0" + "@lerna/pack-directory" "3.11.0" + "@lerna/prompt" "3.11.0" + "@lerna/pulse-till-done" "3.11.0" + "@lerna/run-lifecycle" "3.11.0" "@lerna/run-parallel-batches" "3.0.0" - "@lerna/validation-error" "3.6.0" - "@lerna/version" "3.10.8" + "@lerna/validation-error" "3.11.0" + "@lerna/version" "3.11.0" figgy-pudding "^3.5.1" fs-extra "^7.0.0" - libnpm "^2.0.1" + libnpmaccess "^3.0.1" + npm-package-arg "^6.1.0" + npm-registry-fetch "^3.9.0" + npmlog "^4.1.2" p-finally "^1.0.0" p-map "^1.2.0" p-pipe "^1.2.0" p-reduce "^1.0.0" + pacote "^9.4.1" semver "^5.5.0" -"@lerna/pulse-till-done@3.7.1": - version "3.7.1" - resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-3.7.1.tgz#a9e55380fa18f6896a3e5b23621a4227adfb8f85" - integrity sha512-MzpesZeW3Mc+CiAq4zUt9qTXI9uEBBKrubYHE36voQTSkHvu/Rox6YOvfUr+U7P6k8frFPeCgGpfMDTLhiqe6w== +"@lerna/pulse-till-done@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-3.11.0.tgz#44221de131606104b705dc861440887d543d28ed" + integrity sha512-nMwBa6S4+VI/ketN92oj1xr8y74Fz4ul2R5jdbrRqLLEU/IMBWIqn6NRM2P+OQBoLpPZ2MdWENLJVFNN8X1Q+A== dependencies: - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/resolve-symlink@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-3.6.0.tgz#985344796b704ff32afa923901e795e80741b86e" - integrity sha512-TVOAEqHJSQVhNDMFCwEUZPaOETqHDQV1TQWQfC8ZlOqyaUQ7veZUbg0yfG7RPNzlSpvF0ZaGFeR0YhYDAW03GA== +"@lerna/resolve-symlink@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-3.11.0.tgz#0df9834cbacc5a39774899a83b119a7187dfb277" + integrity sha512-lDer8zPXS36iL4vJdZwOk6AnuUjDXswoTWdYkl+HdAKXp7cBlS+VeGmcFIJS4R3mSSZE20h1oEDuH8h8GGORIQ== dependencies: fs-extra "^7.0.0" - libnpm "^2.0.1" + npmlog "^4.1.2" read-cmd-shim "^1.0.1" -"@lerna/rimraf-dir@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-3.10.0.tgz#2d9435054ab7bbc5519db0a2654c5d8cacd27f98" - integrity sha512-RSKSfxPURc58ERCD/PuzorR86lWEvIWNclXYGvIYM76yNGrWiDF44pGHQvB4J+Lxa5M+52ZtZC/eOC7A7YCH4g== +"@lerna/rimraf-dir@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-3.11.0.tgz#98e6a41b2a7bfe83693d9594347cb3dbed2aebdc" + integrity sha512-roy4lKel7BMNLfFvyzK0HI251mgI9EwbpOccR2Waz0V22d0gaqLKzfVrzovat9dVHXrKNxAhJ5iKkKeT93IunQ== dependencies: "@lerna/child-process" "3.3.0" - libnpm "^2.0.1" + npmlog "^4.1.2" path-exists "^3.0.0" rimraf "^2.6.2" -"@lerna/run-lifecycle@3.10.5": - version "3.10.5" - resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-3.10.5.tgz#ea4422bb70c0f8d4382ecb2a626c8ba0ca88550b" - integrity sha512-YPmXviaxVlhcKM6IkDTIpTq24mxOuMCilo+MTr1RLoafgB9ZTmP2AHRiFt/sy14wOsq2Zqr0wJyj8KFlDYLTkA== +"@lerna/run-lifecycle@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-3.11.0.tgz#2839d18d7603318dbdd545cbfa1321bc41cbc474" + integrity sha512-3xeeVz9s3Dh2ljKqJI/Fl+gkZD9Y8JblAN62f4WNM76d/zFlgpCXDs62OpxNjEuXujA7YFix0sJ+oPKMm8mDrw== dependencies: "@lerna/npm-conf" "3.7.0" figgy-pudding "^3.5.1" - libnpm "^2.0.1" + npm-lifecycle "^2.1.0" + npmlog "^4.1.2" "@lerna/run-parallel-batches@3.0.0": version "3.0.0" @@ -1192,39 +1218,39 @@ p-map "^1.2.0" p-map-series "^1.0.0" -"@lerna/run@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/run/-/run-3.10.6.tgz#4c159a719b0ec010409dfe8f9535c9a3c3f3e06a" - integrity sha512-KS2lWbu/8WUUscQPi9U8sPO6yYpzf/0GmODjpruR1nRi1u/tuncdjTiG+hjGAeFC1BD7YktT9Za6imIpE8RXmA== +"@lerna/run@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/run/-/run-3.11.0.tgz#2a07995ccd570230d01ee8fe2e8c6b742ed58c37" + integrity sha512-8c2yzbKJFzgO6VTOftWmB0fOLTL7G1GFAG5UTVDSk95Z2Gnjof3I/Xkvtbzq8L+DIOLpr+Tpj3fRBjZd8rONlA== dependencies: - "@lerna/batch-packages" "3.10.6" - "@lerna/command" "3.10.6" - "@lerna/filter-options" "3.10.6" - "@lerna/npm-run-script" "3.10.0" - "@lerna/output" "3.6.0" + "@lerna/batch-packages" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/filter-options" "3.11.0" + "@lerna/npm-run-script" "3.11.0" + "@lerna/output" "3.11.0" "@lerna/run-parallel-batches" "3.0.0" "@lerna/timer" "3.5.0" - "@lerna/validation-error" "3.6.0" + "@lerna/validation-error" "3.11.0" p-map "^1.2.0" -"@lerna/symlink-binary@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-3.10.0.tgz#5acdde86dfd50c9270d7d2a93bade203cff41b3d" - integrity sha512-6mQsG+iVjBo8cD8s24O+YgFrwDyUGfUQbK4ryalAXFHI817Zd4xlI3tjg3W99whCt6rt6D0s1fpf8eslMN6dSw== +"@lerna/symlink-binary@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-3.11.0.tgz#927e1e0d561e52949feb7e3b2a83b26a00cbde49" + integrity sha512-5sOED+1O8jI+ckDS6DRUKtAtbKo7lbxFIJs6sWWEu5qKzM5e21O6E2wTWimJkad8nJ1SJAuyc8DC8M8ki4kT4w== dependencies: - "@lerna/create-symlink" "3.6.0" - "@lerna/package" "3.7.2" + "@lerna/create-symlink" "3.11.0" + "@lerna/package" "3.11.0" fs-extra "^7.0.0" p-map "^1.2.0" -"@lerna/symlink-dependencies@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-3.10.0.tgz#a20226e8e97af6a6bc4b416bfc28c0c5e3ba9ddd" - integrity sha512-vGpg5ydwGgQCuWNX5y7CRL38mGpuLhf1GRq9wMm7IGwnctEsdSNqvvE+LDgqtwEZASu5+vffYUkL0VlFXl8uWA== +"@lerna/symlink-dependencies@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-3.11.0.tgz#f1e9488c5d7e87aa945b34f4f4ce53e655178698" + integrity sha512-XKNX8oOgcOmiKHUn7qT5GvvmKP3w5otZPOjRixUDUILWTc3P8nO5I1VNILNF6IE5ajNw6yiXOWikSxc6KuFqBQ== dependencies: - "@lerna/create-symlink" "3.6.0" - "@lerna/resolve-symlink" "3.6.0" - "@lerna/symlink-binary" "3.10.0" + "@lerna/create-symlink" "3.11.0" + "@lerna/resolve-symlink" "3.11.0" + "@lerna/symlink-binary" "3.11.0" fs-extra "^7.0.0" p-finally "^1.0.0" p-map "^1.2.0" @@ -1235,32 +1261,33 @@ resolved "https://registry.npmjs.org/@lerna/timer/-/timer-3.5.0.tgz#8dee6acf002c55de64678c66ef37ca52143f1b9b" integrity sha512-TAb99hqQN6E3JBGtG9iyZNPq1/DbmqgBOeNrKtdJsGvIeX/NGLgUDWMrj2h04V4O+jpBFmSf6HIld6triKmxCA== -"@lerna/validation-error@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-3.6.0.tgz#550cf66bb2ef88edc02e36017b575a7a9100d5d8" - integrity sha512-MWltncGO5VgMS0QedTlZCjFUMF/evRjDMMHrtVorkIB2Cp5xy0rkKa8iDBG43qpUWeG1giwi58yUlETBcWfILw== +"@lerna/validation-error@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-3.11.0.tgz#3b2e97a7f5158bb1fc6c0eb3789061b99f01d7fb" + integrity sha512-/mS4o6QYm4OXUqfPJnW1mKudGhvhLe9uiQ9eK2cgSxkCAVq9G2Sl/KVohpnqAgeRI3nXordGxHS745CdAhg7pA== dependencies: - libnpm "^2.0.1" + npmlog "^4.1.2" -"@lerna/version@3.10.8": - version "3.10.8" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.10.8.tgz#14a645724b0369f84a0bf4c1eb093e8e96a219f1" - integrity sha512-Iko2OkwwkjyK+tIklnH/72M/f54muSiRJurCsC3JqdM8aZaeDXeUrHmAyl7nQLfBlSsHfHyRax/ELkREmO5Tng== +"@lerna/version@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.11.0.tgz#84c7cb9ecbf670dc6ebb72fda9339017435b7738" + integrity sha512-J6Ffq1qU7hYwgmn7vM1QlhkBUH1wakG5wiHWv6Pk4XpCCA+PoHKTjCbpovmFIIYOI19QGYpdZV9C8dST/0aPiA== dependencies: - "@lerna/batch-packages" "3.10.6" - "@lerna/check-working-tree" "3.10.0" + "@lerna/batch-packages" "3.11.0" + "@lerna/check-working-tree" "3.11.0" "@lerna/child-process" "3.3.0" - "@lerna/collect-updates" "3.10.1" - "@lerna/command" "3.10.6" - "@lerna/conventional-commits" "3.10.8" - "@lerna/output" "3.6.0" - "@lerna/prompt" "3.6.0" - "@lerna/run-lifecycle" "3.10.5" - "@lerna/validation-error" "3.6.0" + "@lerna/collect-updates" "3.11.0" + "@lerna/command" "3.11.0" + "@lerna/conventional-commits" "3.11.0" + "@lerna/github-client" "3.11.0" + "@lerna/output" "3.11.0" + "@lerna/prompt" "3.11.0" + "@lerna/run-lifecycle" "3.11.0" + "@lerna/validation-error" "3.11.0" chalk "^2.3.1" dedent "^0.7.0" - libnpm "^2.0.1" minimatch "^3.0.4" + npmlog "^4.1.2" p-map "^1.2.0" p-pipe "^1.2.0" p-reduce "^1.0.0" @@ -1269,12 +1296,12 @@ slash "^1.0.0" temp-write "^3.4.0" -"@lerna/write-log-file@3.6.0": - version "3.6.0" - resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-3.6.0.tgz#b8d5a7efc84fa93cbd67d724d11120343b2a849a" - integrity sha512-OkLK99V6sYXsJsYg+O9wtiFS3z6eUPaiz2e6cXJt80mfIIdI1t2dnmyua0Ib5cZWExQvx2z6Y32Wlf0MnsoNsA== +"@lerna/write-log-file@3.11.0": + version "3.11.0" + resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-3.11.0.tgz#20550b5e6e6e4c20b11d80dc042aacb2a250502a" + integrity sha512-skpTDMDOkQAN4lCeAoI6/rPhbNE431eD0i6Ts3kExUOrYTr0m5CIwVtMZ31Flpky0Jfh4ET6rOl5SDNMLbf4VA== dependencies: - libnpm "^2.0.1" + npmlog "^4.1.2" write-file-atomic "^2.3.0" "@mrmlnc/readdir-enhanced@^2.2.1": @@ -1330,6 +1357,46 @@ mustache "^2.3.0" stack-trace "0.0.10" +"@octokit/endpoint@^3.1.1": + version "3.1.2" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.2.tgz#22b5aa8596482fbefc3f1ce22c24ad217aed60fa" + integrity sha512-iRx4kDYybAv9tOrHDBE6HwlgiFi8qmbZl8SHliZWtxbUFuXLZXh2yv8DxGIK9wzD9J0wLDMZneO8vNYJNUSJ9Q== + dependencies: + deepmerge "3.1.0" + is-plain-object "^2.0.4" + universal-user-agent "^2.0.1" + url-template "^2.0.8" + +"@octokit/plugin-enterprise-rest@^2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.1.0.tgz#e5fa5213627a8910fd151fab2934594e66fce8fd" + integrity sha512-Rx7hpUsLt4MBgEuKiRFi+NNzKTeo/3YXveEDFD2xuNFmPTtgJLx580/C1Sci83kBFkMWXf6Sk57ZrBG+f5jWIw== + +"@octokit/request@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@octokit/request/-/request-2.3.0.tgz#da2672308bcf0b9376ef66f51bddbe5eb87cc00a" + integrity sha512-5YRqYNZOAaL7+nt7w3Scp6Sz4P2g7wKFP9npx1xdExMomk8/M/ICXVLYVam2wzxeY0cIc6wcKpjC5KI4jiNbGw== + dependencies: + "@octokit/endpoint" "^3.1.1" + is-plain-object "^2.0.4" + node-fetch "^2.3.0" + universal-user-agent "^2.0.1" + +"@octokit/rest@^16.15.0": + version "16.15.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.15.0.tgz#648a88d5de055bcf38976709c5b2bdf1227b926f" + integrity sha512-Un+e7rgh38RtPOTe453pT/KPM/p2KZICimBmuZCd2wEo8PacDa4h6RqTPZs+f2DPazTTqdM7QU4LKlUjgiBwWw== + dependencies: + "@octokit/request" "2.3.0" + before-after-hook "^1.2.0" + btoa-lite "^1.0.0" + lodash.get "^4.4.2" + lodash.set "^4.3.2" + lodash.uniq "^4.5.0" + octokit-pagination-methods "^1.1.0" + universal-user-agent "^2.0.0" + url-template "^2.0.8" + "@types/babel-types@*", "@types/babel-types@^7.0.0": version "7.0.4" resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.4.tgz#bfd5b0d0d1ba13e351dff65b6e52783b816826c8" @@ -1347,11 +1414,16 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7", "@types/node@^10.12.21": +"@types/node@*", "@types/node@^10.11.7": version "10.12.21" resolved "https://registry.npmjs.org/@types/node/-/node-10.12.21.tgz#7e8a0c34cf29f4e17a36e9bd0ea72d45ba03908e" integrity sha512-CBgLNk4o3XMnqMc0rhb6lc77IwShMEglz05deDcn2lQxyXEZivfwgYJu7SMha9V5XcrP6qZuevTHV/QrN2vjKQ== +"@types/node@^10.12.23": + version "10.12.23" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.23.tgz#308a3acdc5d1c842aeadc50b867d99c46cfae868" + integrity sha512-EKhb5NveQ3NlW5EV7B0VRtDKwUfVey8LuJRl9pp5iW0se87/ZqLjG0PMf2MCzPXAJYWZN5Ltg7pHIAf9/Dm1tQ== + "@types/q@^1.5.1": version "1.5.1" resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" @@ -1792,12 +1864,12 @@ append-transform@^0.4.0: dependencies: default-require-extensions "^1.0.0" -aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2: +aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== -"aproba@^1.1.2 || 2", aproba@^2.0.0: +aproba@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== @@ -2251,6 +2323,11 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" +before-after-hook@^1.2.0: + version "1.3.2" + resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-1.3.2.tgz#7bfbf844ad670aa7a96b5a4e4e15bd74b08ed66b" + integrity sha512-zyPgY5dgbf99c0uGUjhY4w+mxqEGxPKg9RQDl34VvrVh2bM31lFN+mwR1ZHepq/KA3VCPk1gwJZL6IIJqjLy2w== + bfj@^6.1.1: version "6.1.1" resolved "https://registry.npmjs.org/bfj/-/bfj-6.1.1.tgz#05a3b7784fbd72cfa3c22e56002ef99336516c48" @@ -2271,17 +2348,6 @@ big.js@^5.2.2: resolved "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -bin-links@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/bin-links/-/bin-links-1.1.2.tgz#fb74bd54bae6b7befc6c6221f25322ac830d9757" - integrity sha512-8eEHVgYP03nILphilltWjeIjMbKyJo3wvp9K816pHbhP301ismzw15mxAAEVQ/USUwcP++1uNrbERbp8lOA6Fg== - dependencies: - bluebird "^3.5.0" - cmd-shim "^2.0.2" - gentle-fs "^2.0.0" - graceful-fs "^4.1.11" - write-file-atomic "^2.3.0" - binary-extensions@^1.0.0: version "1.13.0" resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.0.tgz#9523e001306a32444b907423f1de2164222f6ab1" @@ -2294,7 +2360,7 @@ block-stream@*: dependencies: inherits "~2.0.0" -bluebird@^3.1.1, bluebird@^3.5.0, bluebird@^3.5.1, bluebird@^3.5.3: +bluebird@^3.1.1, bluebird@^3.5.1, bluebird@^3.5.3: version "3.5.3" resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== @@ -2470,6 +2536,11 @@ bser@^2.0.0: dependencies: node-int64 "^0.4.0" +btoa-lite@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" + integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= + buffer-from@1.x, buffer-from@^1.0.0: version "1.1.1" resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" @@ -3676,7 +3747,7 @@ deep-is@~0.1.3: resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= -deepmerge@^3.0.0: +deepmerge@3.1.0, deepmerge@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.1.0.tgz#a612626ce4803da410d77554bfd80361599c034d" integrity sha512-/TnecbwXEdycfbsM2++O3eGiatEFHjjNciHEwJclM+T5Kd94qD1AP+2elP/Mq0L5b9VZJao5znR01Mz6eX8Seg== @@ -4277,10 +4348,10 @@ eslint@^5.13.0: table "^5.0.2" text-table "^0.2.0" -esm@^3.2.3: - version "3.2.3" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.3.tgz#a5453468d030bdc5ec539f5ce5d9e95731f956d2" - integrity sha512-qkokqXI9pblukGvc0gG1FHMwKWjriIyCgDKbpzgtlis5tQ21dIFPL5s7ffcSVdE+k9Zw7R5ZC/dl0z/Ib5m1Pw== +esm@^3.2.4: + version "3.2.4" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.4.tgz#0b728b5d6043061bf552197407bf2c630717812b" + integrity sha512-wOuWtQCkkwD1WKQN/k3RsyGSSN+AmiUzdKftn8vaC+uV9JesYmQlODJxgXaaRz0LaaFIlUxZaUu5NPiUAjKAAA== espree@^4.1.0: version "4.1.0" @@ -4369,6 +4440,19 @@ exec-sh@^0.2.0: dependencies: merge "^1.2.0" +execa@^0.10.0: + version "0.10.0" + resolved "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" + integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== + dependencies: + cross-spawn "^6.0.0" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + execa@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -4728,11 +4812,6 @@ find-cache-dir@^2.0.0: make-dir "^1.0.0" pkg-dir "^3.0.0" -find-npm-prefix@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/find-npm-prefix/-/find-npm-prefix-1.0.2.tgz#8d8ce2c78b3b4b9e66c8acc6a37c231eb841cfdf" - integrity sha512-KEftzJ+H90x6pcKtdXZEPsQse8/y/UnvzRKrOSQFprnrGaFuJ62fVkP34Iu2IYuMvyauCyoLTNkJZgrrGA2wkA== - find-up@^1.0.0: version "1.1.2" resolved "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" @@ -4857,15 +4936,6 @@ fs-minipass@^1.2.5: dependencies: minipass "^2.2.1" -fs-vacuum@^1.2.10: - version "1.2.10" - resolved "https://registry.npmjs.org/fs-vacuum/-/fs-vacuum-1.2.10.tgz#b7629bec07a4031a2548fdf99f5ecf1cc8b31e36" - integrity sha1-t2Kb7AekAxolSP35n17PHMizHjY= - dependencies: - graceful-fs "^4.1.2" - path-is-inside "^1.0.1" - rimraf "^2.5.2" - fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" @@ -4928,20 +4998,6 @@ genfun@^5.0.0: resolved "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== -gentle-fs@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/gentle-fs/-/gentle-fs-2.0.1.tgz#585cfd612bfc5cd52471fdb42537f016a5ce3687" - integrity sha512-cEng5+3fuARewXktTEGbwsktcldA+YsnUEaXZwcK/3pjSE1X9ObnTs+/8rYf8s+RnIcQm2D5x3rwpN7Zom8Bew== - dependencies: - aproba "^1.1.2" - fs-vacuum "^1.2.10" - graceful-fs "^4.1.11" - iferr "^0.1.5" - mkdirp "^0.5.1" - path-is-inside "^1.0.2" - read-cmd-shim "^1.0.1" - slide "^1.1.6" - get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" @@ -5024,6 +5080,21 @@ git-semver-tags@^2.0.2: meow "^4.0.0" semver "^5.5.0" +git-up@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0" + integrity sha512-LFTZZrBlrCrGCG07/dm1aCjjpL1z9L3+5aEeI9SBhAqSc+kiA9Or1bgZhQFNppJX6h/f5McrvJt1mQXTFm6Qrw== + dependencies: + is-ssh "^1.3.0" + parse-url "^5.0.0" + +git-url-parse@^11.1.2: + version "11.1.2" + resolved "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.1.2.tgz#aff1a897c36cc93699270587bea3dbcbbb95de67" + integrity sha512-gZeLVGY8QVKMIkckncX+iCq2/L8PlwncvDFKiWkBn9EtCfYDbliRTTp6qzyQ1VMdITUfq7293zDzfpjdiGASSQ== + dependencies: + git-up "^4.0.0" + gitconfiglocal@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" @@ -5556,7 +5627,7 @@ inherits@2.0.1: resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= -ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: +ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: version "1.3.5" resolved "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== @@ -5888,6 +5959,13 @@ is-resolvable@^1.0.0: resolved "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== +is-ssh@^1.3.0: + version "1.3.1" + resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3" + integrity sha512-0eRIASHZt1E68/ixClI8bp2YK2wmBPVWEismTs6M+M099jKgrzl/3E976zIbImSIob48N2/XGe9y7ZiYdImSlg== + dependencies: + protocols "^1.1.0" + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -6669,28 +6747,28 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@3.10.8: - version "3.10.8" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.10.8.tgz#89e04b5e29f7d6acb3cec7ce59cec2d4343e5cf4" - integrity sha512-Ua5SkZnVk+gtplaw/IiXOckk9TEvNwNyTXJke5gkf0vxku809iRmI7RlI0mKFUjeweBs7AJDgBoD/A+vHst/UQ== +lerna@3.11.0: + version "3.11.0" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.11.0.tgz#bd2542bdd8c0bdd6e71260877224cfd56530ca5d" + integrity sha512-87gFkJ/E/XtWvKrnBnixfPkroAZls7Vzfhdt42gPJYaBdXBqeJWQskGB10mr80GZTm8RmMPrC8M+t7XL1g/YQA== dependencies: - "@lerna/add" "3.10.6" - "@lerna/bootstrap" "3.10.6" - "@lerna/changed" "3.10.8" - "@lerna/clean" "3.10.6" - "@lerna/cli" "3.10.7" - "@lerna/create" "3.10.6" - "@lerna/diff" "3.10.6" - "@lerna/exec" "3.10.6" - "@lerna/import" "3.10.6" - "@lerna/init" "3.10.6" - "@lerna/link" "3.10.6" - "@lerna/list" "3.10.6" - "@lerna/publish" "3.10.8" - "@lerna/run" "3.10.6" - "@lerna/version" "3.10.8" + "@lerna/add" "3.11.0" + "@lerna/bootstrap" "3.11.0" + "@lerna/changed" "3.11.0" + "@lerna/clean" "3.11.0" + "@lerna/cli" "3.11.0" + "@lerna/create" "3.11.0" + "@lerna/diff" "3.11.0" + "@lerna/exec" "3.11.0" + "@lerna/import" "3.11.0" + "@lerna/init" "3.11.0" + "@lerna/link" "3.11.0" + "@lerna/list" "3.11.0" + "@lerna/publish" "3.11.0" + "@lerna/run" "3.11.0" + "@lerna/version" "3.11.0" import-local "^1.0.0" - libnpm "^2.0.1" + npmlog "^4.1.2" leven@^2.1.0: version "2.1.0" @@ -6705,32 +6783,6 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -libnpm@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/libnpm/-/libnpm-2.0.1.tgz#a48fcdee3c25e13c77eb7c60a0efe561d7fb0d8f" - integrity sha512-qTKoxyJvpBxHZQB6k0AhSLajyXq9ZE/lUsZzuHAplr2Bpv9G+k4YuYlExYdUCeVRRGqcJt8hvkPh4tBwKoV98w== - dependencies: - bin-links "^1.1.2" - bluebird "^3.5.3" - find-npm-prefix "^1.0.2" - libnpmaccess "^3.0.1" - libnpmconfig "^1.2.1" - libnpmhook "^5.0.2" - libnpmorg "^1.0.0" - libnpmpublish "^1.1.0" - libnpmsearch "^2.0.0" - libnpmteam "^1.0.1" - lock-verify "^2.0.2" - npm-lifecycle "^2.1.0" - npm-logical-tree "^1.2.1" - npm-package-arg "^6.1.0" - npm-profile "^4.0.1" - npm-registry-fetch "^3.8.0" - npmlog "^4.1.2" - pacote "^9.2.3" - read-package-json "^2.0.13" - stringify-package "^1.0.0" - libnpmaccess@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-3.0.1.tgz#5b3a9de621f293d425191aa2e779102f84167fa8" @@ -6741,36 +6793,7 @@ libnpmaccess@^3.0.1: npm-package-arg "^6.1.0" npm-registry-fetch "^3.8.0" -libnpmconfig@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/libnpmconfig/-/libnpmconfig-1.2.1.tgz#c0c2f793a74e67d4825e5039e7a02a0044dfcbc0" - integrity sha512-9esX8rTQAHqarx6qeZqmGQKBNZR5OIbl/Ayr0qQDy3oXja2iFVQQI81R6GZ2a02bSNZ9p3YOGX1O6HHCb1X7kA== - dependencies: - figgy-pudding "^3.5.1" - find-up "^3.0.0" - ini "^1.3.5" - -libnpmhook@^5.0.2: - version "5.0.2" - resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-5.0.2.tgz#d12817b0fb893f36f1d5be20017f2aea25825d94" - integrity sha512-vLenmdFWhRfnnZiNFPNMog6CK7Ujofy2TWiM2CrpZUjBRIhHkJeDaAbJdYCT6W4lcHtyrJR8yXW8KFyq6UAp1g== - dependencies: - aproba "^2.0.0" - figgy-pudding "^3.4.1" - get-stream "^4.0.0" - npm-registry-fetch "^3.8.0" - -libnpmorg@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/libnpmorg/-/libnpmorg-1.0.0.tgz#979b868c48ba28c5820e3bb9d9e73c883c16a232" - integrity sha512-o+4eVJBoDGMgRwh2lJY0a8pRV2c/tQM/SxlqXezjcAg26Qe9jigYVs+Xk0vvlYDWCDhP0g74J8UwWeAgsB7gGw== - dependencies: - aproba "^2.0.0" - figgy-pudding "^3.4.1" - get-stream "^4.0.0" - npm-registry-fetch "^3.8.0" - -libnpmpublish@^1.1.0: +libnpmpublish@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-1.1.1.tgz#ff0c6bb0b4ad2bda2ad1f5fba6760a4af37125f0" integrity sha512-nefbvJd/wY38zdt+b9SHL6171vqBrMtZ56Gsgfd0duEKb/pB8rDT4/ObUQLrHz1tOfht1flt2zM+UGaemzAG5g== @@ -6785,25 +6808,6 @@ libnpmpublish@^1.1.0: semver "^5.5.1" ssri "^6.0.1" -libnpmsearch@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/libnpmsearch/-/libnpmsearch-2.0.0.tgz#de05af47ada81554a5f64276a69599070d4a5685" - integrity sha512-vd+JWbTGzOSfiOc+72MU6y7WqmBXn49egCCrIXp27iE/88bX8EpG64ST1blWQI1bSMUr9l1AKPMVsqa2tS5KWA== - dependencies: - figgy-pudding "^3.5.1" - get-stream "^4.0.0" - npm-registry-fetch "^3.8.0" - -libnpmteam@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/libnpmteam/-/libnpmteam-1.0.1.tgz#ff704b1b6c06ea674b3b1101ac3e305f5114f213" - integrity sha512-gDdrflKFCX7TNwOMX1snWojCoDE5LoRWcfOC0C/fqF7mBq8Uz9zWAX4B2RllYETNO7pBupBaSyBDkTAC15cAMg== - dependencies: - aproba "^2.0.0" - figgy-pudding "^3.4.1" - get-stream "^4.0.0" - npm-registry-fetch "^3.8.0" - load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -6875,14 +6879,6 @@ locate-path@^3.0.0: p-locate "^3.0.0" path-exists "^3.0.0" -lock-verify@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/lock-verify/-/lock-verify-2.0.2.tgz#148e4f85974915c9e3c34d694b7de9ecb18ee7a8" - integrity sha512-QNVwK0EGZBS4R3YQ7F1Ox8p41Po9VGl2QG/2GsuvTbkJZYSsPeWHKMbbH6iZMCHWSMww5nrJroZYnGzI4cePuw== - dependencies: - npm-package-arg "^5.1.2 || 6" - semver "^5.4.1" - lodash._reinterpolate@~3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -6893,6 +6889,11 @@ lodash.clonedeep@^4.5.0: resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= +lodash.get@^4.4.2: + version "4.4.2" + resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" + integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= + lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" @@ -6908,6 +6909,11 @@ lodash.memoize@^4.1.2: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.set@^4.3.2: + version "4.3.2" + resolved "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" + integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= + lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -6983,6 +6989,11 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +macos-release@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab" + integrity sha512-iCM3ZGeqIzlrH7KxYK+fphlJpCCczyHXc+HhRVbEu9uNTCrzYJjvvtefzeKTCVHd5AP/aD/fzC80JZ4ZP+dQ/A== + magic-string@0.25.1: version "0.25.1" resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz#b1c248b399cd7485da0fe7385c2fc7011843266e" @@ -7614,7 +7625,7 @@ normalize-range@^0.1.2: resolved "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= -normalize-url@^3.0.0: +normalize-url@^3.0.0, normalize-url@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== @@ -7643,12 +7654,7 @@ npm-lifecycle@^2.1.0: umask "^1.1.0" which "^1.3.1" -npm-logical-tree@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/npm-logical-tree/-/npm-logical-tree-1.2.1.tgz#44610141ca24664cad35d1e607176193fd8f5b88" - integrity sha512-AJI/qxDB2PWI4LG1CYN579AY1vCiNyWfkiquCsJWqntRu/WwimVrC8yXeILBFHDwxfOejxewlmnvW9XXjMlYIg== - -"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", "npm-package-arg@^5.1.2 || 6", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: +"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz#15ae1e2758a5027efb4c250554b85a737db7fcc1" integrity sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA== @@ -7675,16 +7681,7 @@ npm-pick-manifest@^2.2.3: npm-package-arg "^6.0.0" semver "^5.4.1" -npm-profile@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/npm-profile/-/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa" - integrity sha512-NQ1I/1Q7YRtHZXkcuU1/IyHeLy6pd+ScKg4+DQHdfsm769TGq6HPrkbuNJVJS4zwE+0mvvmeULzQdWn2L2EsVA== - dependencies: - aproba "^1.1.2 || 2" - figgy-pudding "^3.4.1" - npm-registry-fetch "^3.8.0" - -npm-registry-fetch@^3.8.0: +npm-registry-fetch@^3.8.0, npm-registry-fetch@^3.9.0: version "3.9.0" resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.0.tgz#44d841780e2833f06accb34488f8c7450d1a6856" integrity sha512-srwmt8YhNajAoSAaDWndmZgx89lJwIZ1GWxOuckH4Coek4uHv5S+o/l9FLQe/awA+JwTnj4FJHldxhlXdZEBmw== @@ -7809,6 +7806,11 @@ object.values@^1.0.4: function-bind "^1.1.1" has "^1.0.3" +octokit-pagination-methods@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" + integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -7896,6 +7898,14 @@ os-locale@^3.0.0: lcid "^2.0.0" mem "^4.0.0" +os-name@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/os-name/-/os-name-3.0.0.tgz#e1434dbfddb8e74b44c98b56797d951b7648a5d9" + integrity sha512-7c74tib2FsdFbQ3W+qj8Tyd1R3Z6tuVRNNxXjJcZ4NgjIEQU9N/prVMqcW29XZPXGACqaXN3jq58/6hoaoXH6g== + dependencies: + macos-release "^2.0.0" + windows-release "^3.1.0" + os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -7991,7 +8001,7 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -pacote@^9.2.3: +pacote@^9.4.1: version "9.4.1" resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.1.tgz#f0af2a52d241bce523d39280ac810c671db62279" integrity sha512-YKSRsQqmeHxgra0KCdWA2FtVxDPUlBiCdmew+mSe44pzlx5t1ViRMWiQg18T+DREA+vSqYfKzynaToFR4hcKHw== @@ -8094,6 +8104,24 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" +parse-path@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" + integrity sha512-d7yhga0Oc+PwNXDvQ0Jv1BuWkLVPXcAoQ/WREgd6vNNoKYaW52KI+RdOFjI63wjkmps9yUE8VS4veP+AgpQ/hA== + dependencies: + is-ssh "^1.3.0" + protocols "^1.4.0" + +parse-url@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f" + integrity sha512-flNUPP27r3vJpROi0/R3/2efgKkyXqnXwyP1KQ2U0SfFRgdizOdWfvrrvJg1LuOoxs7GQhmxJlq23IpQ/BkByg== + dependencies: + is-ssh "^1.3.0" + normalize-url "^3.3.0" + parse-path "^4.0.0" + protocols "^1.4.0" + parse5@4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" @@ -8148,7 +8176,7 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1, path-is-inside@^1.0.2: +path-is-inside@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= @@ -9013,6 +9041,11 @@ proto-list@~1.2.1: resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= +protocols@^1.1.0, protocols@^1.4.0: + version "1.4.7" + resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32" + integrity sha512-Fx65lf9/YDn3hUX08XUc0J8rSux36rEsyiv21ZGUC1mOyeM3lTRpZLcrm8aAolzS4itwVfm7TAPyxC2E5zd6xg== + protoduck@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" @@ -9736,7 +9769,7 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: +rimraf@2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: version "2.6.3" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== @@ -10422,11 +10455,6 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -stringify-package@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.0.tgz#e02828089333d7d45cd8c287c30aa9a13375081b" - integrity sha512-JIQqiWmLiEozOC0b0BtxZ/AOUtdUZHCBPgqIZ2kSJJqGwgb9neo44XdTHUC4HZSGqi03hOeB7W/E8rAlKnGe9g== - strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -10954,10 +10982,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.3.1: - version "3.3.1" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.1.tgz#6de14e1db4b8a006ac535e482c8ba018c55f750b" - integrity sha512-cTmIDFW7O0IHbn1DPYjkiebHxwtCMU+eTy30ZtJNBPF9j2O1ITu5XH2YnBeVRKWHqF+3JQwWJv0Q0aUgX8W7IA== +typescript@^3.3.3: + version "3.3.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.3.tgz#f1657fc7daa27e1a8930758ace9ae8da31403221" + integrity sha512-Y21Xqe54TBVp+VDSNbuDYdGw0BpoR/Q6wo/+35M8PAU0vipahnyduJWirxxdxjsAkS7hue53x2zp8gz7F05u0A== ua-parser-js@^0.7.19: version "0.7.19" @@ -11054,6 +11082,13 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" +universal-user-agent@^2.0.0, universal-user-agent@^2.0.1: + version "2.0.3" + resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-2.0.3.tgz#9f6f09f9cc33de867bb720d84c08069b14937c6c" + integrity sha512-eRHEHhChCBHrZsA4WEhdgiOKgdvgrMIHwnwnqD0r5C6AO8kwKcG7qSku3iXdhvHL3YvsS9ZkSGN8h/hIpoFC8g== + dependencies: + os-name "^3.0.0" + universalify@^0.1.0: version "0.1.2" resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -11108,6 +11143,11 @@ url-loader@^1.1.2: mime "^2.0.3" schema-utils "^1.0.0" +url-template@^2.0.8: + version "2.0.8" + resolved "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" + integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= + url@^0.11.0: version "0.11.0" resolved "https://registry.npmjs.org/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -11551,6 +11591,13 @@ window-size@0.1.0: resolved "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" integrity sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0= +windows-release@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/windows-release/-/windows-release-3.1.0.tgz#8d4a7e266cbf5a233f6c717dac19ce00af36e12e" + integrity sha512-hBb7m7acFgQPQc222uEQTmdcGLeBmQLNLFIh0rDk3CwFOBrfjefLzEfEfmpMq8Af/n/GnFf3eYf203FY1PmudA== + dependencies: + execa "^0.10.0" + with@^5.0.0: version "5.1.1" resolved "https://registry.npmjs.org/with/-/with-5.1.1.tgz#fa4daa92daf32c4ea94ed453c81f04686b575dfe" From 3e9eee2549b9886c751f8b5aad4cc88e8f68908a Mon Sep 17 00:00:00 2001 From: Pim Date: Fri, 8 Feb 2019 11:06:47 +0100 Subject: [PATCH 064/221] fix: dont force exit when it was explicitly disabled (#4973) * fix: remove slash from warning text * fix: dont force-exit when explicitly disabled chore: add tests for force-exit behaviour * feat: default option value can be fn --- packages/cli/src/command.js | 21 +++++---- packages/cli/src/options/common.js | 7 +-- packages/cli/src/utils/index.js | 4 +- .../unit/__snapshots__/command.test.js.snap | 7 ++- packages/cli/test/unit/build.test.js | 32 +++++++++++++ packages/cli/test/unit/cli.test.js | 2 +- packages/cli/test/unit/dev.test.js | 32 ++++++++++++- packages/cli/test/unit/generate.test.js | 45 +++++++++++++++++++ packages/cli/test/unit/start.test.js | 29 +++++++++++- packages/cli/test/utils/mocking.js | 4 +- 10 files changed, 161 insertions(+), 22 deletions(-) diff --git a/packages/cli/src/command.js b/packages/cli/src/command.js index ec28dea766..0f1d4bb74d 100644 --- a/packages/cli/src/command.js +++ b/packages/cli/src/command.js @@ -13,9 +13,6 @@ export default class NuxtCommand { } this.cmd = cmd - // If the cmd is a server then dont forcibly exit when the cmd has finished - this.isServer = cmd.isServer !== undefined ? cmd.isServer : Boolean(this.cmd.options.hostname) - this._argv = Array.from(argv) this._parsedArgv = null // Lazy evaluate } @@ -48,9 +45,9 @@ export default class NuxtCommand { const runResolve = Promise.resolve(this.cmd.run(this)) - // TODO: For v3 set timeout to 0 when force-exit === true - if (!this.isServer || this.argv['force-exit']) { - runResolve.then(() => forceExit(this.cmd.name, forceExitTimeout)) + if (this.argv['force-exit']) { + const forceExitByUser = this.isUserSuppliedArg('force-exit') + runResolve.then(() => forceExit(this.cmd.name, forceExitByUser ? false : forceExitTimeout)) } return runResolve @@ -102,6 +99,14 @@ export default class NuxtCommand { return new Generator(nuxt, builder) } + isUserSuppliedArg(option) { + return this._argv.includes(`--${option}`) || this._argv.includes(`--no-${option}`) + } + + _getDefaultOptionValue(option) { + return typeof option.default === 'function' ? option.default(this.cmd) : option.default + } + _getMinimistOptions() { const minimistOptions = { alias: {}, @@ -120,7 +125,7 @@ export default class NuxtCommand { minimistOptions[option.type].push(option.alias || name) } if (option.default) { - minimistOptions.default[option.alias || name] = option.default + minimistOptions.default[option.alias || name] = this._getDefaultOptionValue(option) } } @@ -135,7 +140,7 @@ export default class NuxtCommand { const option = this.cmd.options[name] let optionHelp = '--' - optionHelp += option.type === 'boolean' && option.default ? 'no-' : '' + optionHelp += option.type === 'boolean' && this._getDefaultOptionValue(option) ? 'no-' : '' optionHelp += name if (option.alias) { optionHelp += `, -${option.alias}` diff --git a/packages/cli/src/options/common.js b/packages/cli/src/options/common.js index 33909920b2..bc376442b3 100644 --- a/packages/cli/src/options/common.js +++ b/packages/cli/src/options/common.js @@ -28,11 +28,12 @@ export default { } } }, - // TODO: Change this to default: true in Nuxt 3 'force-exit': { type: 'boolean', - default: false, - description: 'Force Nuxt.js to exit after the command has finished (this option has no effect on commands which start a server)' + default(cmd) { + return ['build', 'generate'].includes(cmd.name) + }, + description: 'Whether Nuxt.js should force exit after the command has finished' }, version: { alias: 'v', diff --git a/packages/cli/src/utils/index.js b/packages/cli/src/utils/index.js index a0ea81357e..7050125164 100644 --- a/packages/cli/src/utils/index.js +++ b/packages/cli/src/utils/index.js @@ -140,10 +140,10 @@ export function normalizeArg(arg, defaultValue) { } export function forceExit(cmdName, timeout) { - if (timeout) { + if (timeout !== false) { const exitTimeout = setTimeout(() => { const msg = `The command 'nuxt ${cmdName}' finished but did not exit after ${timeout}s -This is most likely not caused by a bug in Nuxt.js\ +This is most likely not caused by a bug in Nuxt.js Make sure to cleanup all timers and listeners you or your plugins/modules start. Nuxt.js will now force exit diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index bc5230b09f..96b3942fea 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -18,10 +18,9 @@ exports[`cli/command builds help text 1`] = ` --modern, -m Build/Start app for modern browsers, e.g. server, client and false - --force-exit Force Nuxt.js to exit - after the command has finished (this - option has no effect on commands which - start a server) + --force-exit Whether Nuxt.js + should force exit after the command has + finished --version, -v Display the Nuxt version --help, -h Display this message diff --git a/packages/cli/test/unit/build.test.js b/packages/cli/test/unit/build.test.js index 5c546524ea..946fa2fb11 100644 --- a/packages/cli/test/unit/build.test.js +++ b/packages/cli/test/unit/build.test.js @@ -74,4 +74,36 @@ describe('build', () => { expect(options.modern).toBe(true) }) + + test('build force-exits by default', async () => { + mockGetNuxt() + mockGetBuilder(Promise.resolve()) + + const cmd = NuxtCommand.from(build, ['build', '.']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('build', 5) + }) + + test('build can set force exit explicitly', async () => { + mockGetNuxt() + mockGetBuilder(Promise.resolve()) + + const cmd = NuxtCommand.from(build, ['build', '.', '--force-exit']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('build', false) + }) + + test('build can disable force exit explicitly', async () => { + mockGetNuxt() + mockGetBuilder(Promise.resolve()) + + const cmd = NuxtCommand.from(build, ['build', '.', '--no-force-exit']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) }) diff --git a/packages/cli/test/unit/cli.test.js b/packages/cli/test/unit/cli.test.js index 5a7dfa7372..6a192bb8bd 100644 --- a/packages/cli/test/unit/cli.test.js +++ b/packages/cli/test/unit/cli.test.js @@ -6,7 +6,6 @@ jest.mock('../../src/commands') describe('cli', () => { beforeAll(() => { - // TODO: Below spyOn can be removed in v3 when force-exit is default false jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) @@ -20,6 +19,7 @@ describe('cli', () => { await run() expect(mockedCommand.run).toHaveBeenCalled() + expect(utils.forceExit).not.toHaveBeenCalled() }) test('sets NODE_ENV=development for dev', async () => { diff --git a/packages/cli/test/unit/dev.test.js b/packages/cli/test/unit/dev.test.js index db5ad0d37e..5faafeab17 100644 --- a/packages/cli/test/unit/dev.test.js +++ b/packages/cli/test/unit/dev.test.js @@ -6,7 +6,6 @@ describe('dev', () => { beforeAll(async () => { dev = await import('../../src/commands/dev').then(m => m.default) - // TODO: Below spyOn can be removed in v3 when force-exit is default false jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) @@ -107,4 +106,35 @@ describe('dev', () => { expect(consola.error).toHaveBeenCalledWith(new Error('Listen Error')) }) + + test('dev doesnt force-exit by default', async () => { + mockNuxt() + mockBuilder() + + const cmd = NuxtCommand.from(dev, ['dev', '.']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) + + test('dev can set force exit explicitly', async () => { + mockNuxt() + mockBuilder() + + const cmd = NuxtCommand.from(dev, ['dev', '.', '--force-exit']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('dev', false) + }) + + test('dev can disable force exit explicitly', async () => { + mockNuxt() + mockBuilder() + + const cmd = NuxtCommand.from(dev, ['dev', '.', '--no-force-exit']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) }) diff --git a/packages/cli/test/unit/generate.test.js b/packages/cli/test/unit/generate.test.js index 1e2f5a40e2..ceef94b8df 100644 --- a/packages/cli/test/unit/generate.test.js +++ b/packages/cli/test/unit/generate.test.js @@ -63,4 +63,49 @@ describe('generate', () => { expect(options.modern).toBe('client') }) + + test('generate with modern mode', async () => { + mockGetNuxt() + mockGetGenerator(Promise.resolve()) + + const cmd = NuxtCommand.from(generate, ['generate', '.', '--m']) + + const options = await cmd.getNuxtConfig() + + await cmd.run() + + expect(options.modern).toBe('client') + }) + + test('generate force-exits by default', async () => { + mockGetNuxt() + mockGetGenerator(Promise.resolve()) + + const cmd = NuxtCommand.from(generate, ['generate', '.']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('generate', 5) + }) + + test('generate can set force exit explicitly', async () => { + mockGetNuxt() + mockGetGenerator(Promise.resolve()) + + const cmd = NuxtCommand.from(generate, ['generate', '.', '--force-exit']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('generate', false) + }) + + test('generate can disable force exit explicitly', async () => { + mockGetNuxt() + mockGetGenerator(Promise.resolve()) + + const cmd = NuxtCommand.from(generate, ['generate', '.', '--no-force-exit']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) }) diff --git a/packages/cli/test/unit/start.test.js b/packages/cli/test/unit/start.test.js index e1b3bf13bf..3a30702f7d 100644 --- a/packages/cli/test/unit/start.test.js +++ b/packages/cli/test/unit/start.test.js @@ -7,7 +7,6 @@ describe('start', () => { beforeAll(async () => { start = await import('../../src/commands/start').then(m => m.default) - // TODO: Below spyOn can be removed in v3 when force-exit is default false jest.spyOn(utils, 'forceExit').mockImplementation(() => {}) }) @@ -35,4 +34,32 @@ describe('start', () => { await NuxtCommand.from(start).run() expect(consola.fatal).not.toHaveBeenCalled() }) + + test('start doesnt force-exit by default', async () => { + mockGetNuxtStart() + + const cmd = NuxtCommand.from(start, ['start', '.']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) + + test('start can set force exit explicitly', async () => { + mockGetNuxtStart() + + const cmd = NuxtCommand.from(start, ['start', '.', '--force-exit']) + await cmd.run() + + expect(utils.forceExit).toHaveBeenCalledTimes(1) + expect(utils.forceExit).toHaveBeenCalledWith('start', false) + }) + + test('start can disable force exit explicitly', async () => { + mockGetNuxtStart() + + const cmd = NuxtCommand.from(start, ['start', '.', '--no-force-exit']) + await cmd.run() + + expect(utils.forceExit).not.toHaveBeenCalled() + }) }) diff --git a/packages/cli/test/utils/mocking.js b/packages/cli/test/utils/mocking.js index b30e94fbf6..05836e299d 100644 --- a/packages/cli/test/utils/mocking.js +++ b/packages/cli/test/utils/mocking.js @@ -18,12 +18,12 @@ jest.mock('../../src/imports', () => { } }) -export const mockGetNuxt = (options, implementation) => { +export const mockGetNuxt = (options = {}, implementation) => { Command.prototype.getNuxt = jest.fn().mockImplementationOnce(() => { return Object.assign({ hook: jest.fn(), options - }, implementation || {}) + }, implementation) }) } From 855705bd733c204e44e0d3eee8e81d3aeca3cdba Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Fri, 8 Feb 2019 13:16:17 +0000 Subject: [PATCH 065/221] test: add chrome detector (#4984) --- package.json | 4 +- test/utils/browser.js | 23 +--- test/utils/chrome.js | 265 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 273 insertions(+), 19 deletions(-) create mode 100644 test/utils/chrome.js diff --git a/package.json b/package.json index ed56c4732f..9d10e12a81 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "fs-extra": "^7.0.1", "get-port": "^4.1.0", "glob": "^7.1.3", + "is-wsl": "^1.1.0", "jest": "^23.6.0", "jest-junit": "^6.2.1", "jsdom": "^13.2.0", @@ -80,8 +81,7 @@ "tslint": "^5.12.1", "typescript": "^3.3.3", "vue-jest": "^3.0.2", - "vue-property-decorator": "^7.3.0", - "which": "^1.3.1" + "vue-property-decorator": "^7.3.0" }, "repository": { "type": "git", diff --git a/test/utils/browser.js b/test/utils/browser.js index 76b2c4cd9f..6bd173d344 100644 --- a/test/utils/browser.js +++ b/test/utils/browser.js @@ -1,14 +1,12 @@ -import fs from 'fs' import puppeteer from 'puppeteer-core' -import which from 'which' -import env from 'std-env' -const macChromePath = [ - '/Applications/Chromium.app/Contents/MacOS/Chromium', - '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' -] +import ChromeDetector from './chrome' export default class Browser { + constructor() { + this.detector = new ChromeDetector() + } + async start(options = {}) { // https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions const _opts = { @@ -21,16 +19,7 @@ export default class Browser { } if (!_opts.executablePath) { - const resolve = cmd => which.sync(cmd, { nothrow: true }) - _opts.executablePath = resolve('google-chrome') || resolve('chromium') - if (!_opts.executablePath && env.darwin) { - for (const bin of macChromePath) { - if (fs.existsSync(bin)) { - _opts.executablePath = bin - break - } - } - } + _opts.executablePath = this.detector.detect() } this.browser = await puppeteer.launch(_opts) diff --git a/test/utils/chrome.js b/test/utils/chrome.js new file mode 100644 index 0000000000..20db7d79c7 --- /dev/null +++ b/test/utils/chrome.js @@ -0,0 +1,265 @@ +/** + * @license Copyright 2016 Google Inc. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + */ +import fs from 'fs' +import path from 'path' +import { execSync, execFileSync } from 'child_process' +import isWsl from 'is-wsl' +import consola from 'consola' +import uniq from 'lodash/uniq' + +const newLineRegex = /\r?\n/ + +/** + * This class is based on node-get-chrome + * https://github.com/mrlee23/node-get-chrome + * https://github.com/gwuhaolin/chrome-finder + */ +export default class ChromeDetector { + constructor() { + this.platform = isWsl ? 'wsl' : process.platform + } + + detect(platform = this.platform) { + const handler = this[platform] + if (typeof handler !== 'function') { + throw new Error(`${platform} is not supported.`) + } + return this[platform]()[0] + } + + darwin() { + const suffixes = [ + '/Contents/MacOS/Chromium', + '/Contents/MacOS/Google Chrome Canary', + '/Contents/MacOS/Google Chrome' + ] + const LSREGISTER = + '/System/Library/Frameworks/CoreServices.framework' + + '/Versions/A/Frameworks/LaunchServices.framework' + + '/Versions/A/Support/lsregister' + const installations = [] + const customChromePath = this.resolveChromePath() + if (customChromePath) { + installations.push(customChromePath) + } + execSync( + `${LSREGISTER} -dump` + + " | grep -i '(google chrome\\( canary\\)\\?|chromium).app$'" + + ' | awk \'{$1=""; print $0}\'' + ) + .toString() + .split(newLineRegex) + .forEach((inst) => { + suffixes.forEach((suffix) => { + const execPath = path.join(inst.trim(), suffix) + if (this.canAccess(execPath)) { + installations.push(execPath) + } + }) + }) + // Retains one per line to maintain readability. + // clang-format off + const priorities = [ + { regex: new RegExp(`^${process.env.HOME}/Applications/.*Chrome.app`), weight: 50 }, + { regex: new RegExp(`^${process.env.HOME}/Applications/.*Chrome Canary.app`), weight: 51 }, + { regex: new RegExp(`^${process.env.HOME}/Applications/.*Chromium.app`), weight: 52 }, + { regex: /^\/Applications\/.*Chrome.app/, weight: 100 }, + { regex: /^\/Applications\/.*Chrome Canary.app/, weight: 101 }, + { regex: /^\/Applications\/.*Chromium.app/, weight: 102 }, + { regex: /^\/Volumes\/.*Chrome.app/, weight: -3 }, + { regex: /^\/Volumes\/.*Chrome Canary.app/, weight: -2 }, + { regex: /^\/Volumes\/.*Chromium.app/, weight: -1 } + ] + if (process.env.LIGHTHOUSE_CHROMIUM_PATH) { + priorities.push({ regex: new RegExp(process.env.LIGHTHOUSE_CHROMIUM_PATH), weight: 150 }) + } + if (process.env.CHROME_PATH) { + priorities.push({ regex: new RegExp(process.env.CHROME_PATH), weight: 151 }) + } + // clang-format on + return this.sort(installations, priorities) + } + + /** + * Look for linux executables in 3 ways + * 1. Look into CHROME_PATH env variable + * 2. Look into the directories where .desktop are saved on gnome based distro's + * 3. Look for google-chrome-stable & google-chrome executables by using the which command + */ + linux() { + let installations = [] + // 1. Look into CHROME_PATH env variable + const customChromePath = this.resolveChromePath() + if (customChromePath) { + installations.push(customChromePath) + } + // 2. Look into the directories where .desktop are saved on gnome based distro's + const desktopInstallationFolders = [ + path.join(require('os').homedir(), '.local/share/applications/'), + '/usr/share/applications/' + ] + desktopInstallationFolders.forEach((folder) => { + installations = installations.concat(this.findChromeExecutables(folder)) + }) + // Look for chromium(-browser) & google-chrome(-stable) executables by using the which command + const executables = [ + 'chromium-browser', + 'chromium', + 'google-chrome-stable', + 'google-chrome' + ] + executables.forEach((executable) => { + try { + const chromePath = execFileSync('which', [executable]) + .toString() + .split(newLineRegex)[0] + if (this.canAccess(chromePath)) { + installations.push(chromePath) + } + } catch (e) { + // Not installed. + } + }) + if (!installations.length) { + throw new Error( + 'The environment variable CHROME_PATH must be set to ' + + 'executable of a build of Chromium version 54.0 or later.' + ) + } + const priorities = [ + { regex: /chromium-browser$/, weight: 51 }, + { regex: /chromium$/, weight: 50 }, + { regex: /chrome-wrapper$/, weight: 49 }, + { regex: /google-chrome-stable$/, weight: 48 }, + { regex: /google-chrome$/, weight: 47 } + ] + if (process.env.LIGHTHOUSE_CHROMIUM_PATH) { + priorities.push({ + regex: new RegExp(process.env.LIGHTHOUSE_CHROMIUM_PATH), + weight: 100 + }) + } + if (process.env.CHROME_PATH) { + priorities.push({ regex: new RegExp(process.env.CHROME_PATH), weight: 101 }) + } + return this.sort(uniq(installations.filter(Boolean)), priorities) + } + + wsl() { + // Manually populate the environment variables assuming it's the default config + process.env.LOCALAPPDATA = this.getLocalAppDataPath(process.env.PATH) + process.env.PROGRAMFILES = '/mnt/c/Program Files' + process.env['PROGRAMFILES(X86)'] = '/mnt/c/Program Files (x86)' + return this.win32() + } + + win32() { + const installations = [] + const sep = path.sep + const suffixes = [ + `${sep}Chromium${sep}Application${sep}chrome.exe`, + `${sep}Google${sep}Chrome SxS${sep}Application${sep}chrome.exe`, + `${sep}Google${sep}Chrome${sep}Application${sep}chrome.exe`, + `${sep}chrome-win32${sep}chrome.exe`, + `${sep}Google${sep}Chrome Beta${sep}Application${sep}chrome.exe` + ] + const prefixes = [ + process.env.LOCALAPPDATA, + process.env.PROGRAMFILES, + process.env['PROGRAMFILES(X86)'] + ].filter(Boolean) + const customChromePath = this.resolveChromePath() + if (customChromePath) { + installations.push(customChromePath) + } + prefixes.forEach(prefix => + suffixes.forEach((suffix) => { + const chromePath = path.join(prefix, suffix) + if (this.canAccess(chromePath)) { + installations.push(chromePath) + } + }) + ) + return installations + } + + resolveChromePath() { + if (this.canAccess(process.env.CHROME_PATH)) { + return process.env.CHROME_PATH + } + if (this.canAccess(process.env.LIGHTHOUSE_CHROMIUM_PATH)) { + consola.warn( + 'ChromeLauncher', + 'LIGHTHOUSE_CHROMIUM_PATH is deprecated, use CHROME_PATH env variable instead.' + ) + return process.env.LIGHTHOUSE_CHROMIUM_PATH + } + } + + getLocalAppDataPath(path) { + const userRegExp = /\/mnt\/([a-z])\/Users\/([^/:]+)\/AppData\// + const results = userRegExp.exec(path) || [] + return `/mnt/${results[1]}/Users/${results[2]}/AppData/Local` + } + + sort(installations, priorities) { + const defaultPriority = 10 + return installations + .map((inst) => { + for (const pair of priorities) { + if (pair.regex.test(inst)) { + return { path: inst, weight: pair.weight } + } + } + return { path: inst, weight: defaultPriority } + }) + .sort((a, b) => b.weight - a.weight) + .map(pair => pair.path) + } + + canAccess(file) { + if (!file) { + return false + } + try { + fs.accessSync(file) + return true + } catch (e) { + return false + } + } + + findChromeExecutables(folder) { + const argumentsRegex = /(^[^ ]+).*/ // Take everything up to the first space + const chromeExecRegex = '^Exec=/.*/(google-chrome|chrome|chromium)-.*' + const installations = [] + if (this.canAccess(folder)) { + // Output of the grep & print looks like: + // /opt/google/chrome/google-chrome --profile-directory + // /home/user/Downloads/chrome-linux/chrome-wrapper %U + let execPaths + // Some systems do not support grep -R so fallback to -r. + // See https://github.com/GoogleChrome/chrome-launcher/issues/46 for more context. + try { + execPaths = execSync( + `grep -ER "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'` + ) + } catch (e) { + execPaths = execSync( + `grep -Er "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'` + ) + } + execPaths = execPaths + .toString() + .split(newLineRegex) + .map(execPath => execPath.replace(argumentsRegex, '$1')) + execPaths.forEach( + execPath => this.canAccess(execPath) && installations.push(execPath) + ) + } + return installations + } +} From c0311bc22f9423d44d23f00554ee502b5b3a6f8b Mon Sep 17 00:00:00 2001 From: HG Date: Fri, 8 Feb 2019 14:48:30 +0000 Subject: [PATCH 066/221] doc: create/update README.mds for examples (#4980) * Create README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update Readme.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Create README.md * Update README.md * Create README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update examples/with-vuikit/README.md Co-Authored-By: husayt * Update examples/auth-routes/README.md Co-Authored-By: husayt * Update examples/middleware/README.md Co-Authored-By: husayt * Update examples/vuex-store-modules/README.md Co-Authored-By: husayt * Update examples/with-feathers/README.md Co-Authored-By: husayt * Update examples/with-element-ui/README.md Co-Authored-By: husayt * Update examples/with-cookies/README.md Co-Authored-By: husayt * Update examples/vuex-store/README.md Co-Authored-By: husayt * Update examples/vuex-persistedstate/README.md Co-Authored-By: husayt * Update examples/with-firebase/README.md Co-Authored-By: husayt --- examples/async-component-injection/README.md | 3 +++ examples/auth-routes/README.md | 2 +- examples/axios/README.md | 8 +++++++- examples/cached-components/README.md | 2 +- examples/coffeescript/README.md | 2 +- examples/custom-build/README.md | 1 + examples/custom-layouts/README.md | 4 +++- examples/custom-server/README.md | 3 +++ examples/i18n/README.md | 2 +- examples/jest-puppeteer/README.md | 8 ++++++-- examples/jest-vtu-example/README.md | 6 +++++- examples/jsx/README.md | 4 +++- examples/markdownit/README.md | 2 +- examples/middleware/README.md | 5 ++++- examples/named-views/README.md | 1 + examples/nested-components/README.md | 1 + examples/pm2-typescript/README.md | 4 +++- examples/spa/README.md | 2 ++ examples/static-images/README.md | 3 +++ examples/styled-vue/README.md | 4 +++- examples/tailwindcss-purgecss/README.md | 6 +++++- examples/typescript-tsx/README.md | 2 +- examples/typescript-vuex/README.md | 2 +- examples/typescript/README.md | 2 +- examples/uikit/README.md | 4 ++-- examples/vue-apollo/README.md | 4 +++- examples/vue-chartjs/README.md | 5 ++++- examples/vue-class-component/README.md | 3 +++ examples/vuex-persistedstate/README.md | 5 +++-- examples/vuex-store-modules/README.md | 6 +++++- examples/vuex-store/README.md | 6 +++++- examples/web-worker/README.md | 2 +- examples/with-amp/README.md | 3 +++ examples/with-ava/Readme.md | 4 ++++ examples/with-buefy/README.md | 3 +++ examples/with-cookies/README.md | 4 +++- examples/with-element-ui/README.md | 3 +++ examples/with-feathers/README.md | 4 +--- examples/with-firebase/README.md | 4 +--- examples/with-museui/README.md | 3 +++ examples/with-purgecss/README.md | 6 ++++-- examples/with-sockets/README.md | 7 +++++-- examples/with-tape/README.md | 3 +++ examples/with-vue-material/README.md | 4 +++- examples/with-vuetify/README.md | 4 +++- examples/with-vuikit/README.md | 4 ++-- examples/with-vux/README.md | 3 +++ 47 files changed, 131 insertions(+), 42 deletions(-) create mode 100644 examples/async-component-injection/README.md create mode 100644 examples/custom-build/README.md create mode 100644 examples/custom-server/README.md create mode 100644 examples/named-views/README.md create mode 100644 examples/nested-components/README.md create mode 100644 examples/spa/README.md create mode 100644 examples/static-images/README.md create mode 100644 examples/vue-class-component/README.md create mode 100644 examples/with-amp/README.md create mode 100644 examples/with-buefy/README.md create mode 100644 examples/with-element-ui/README.md create mode 100644 examples/with-museui/README.md create mode 100644 examples/with-tape/README.md create mode 100644 examples/with-vux/README.md diff --git a/examples/async-component-injection/README.md b/examples/async-component-injection/README.md new file mode 100644 index 0000000000..d3eb261942 --- /dev/null +++ b/examples/async-component-injection/README.md @@ -0,0 +1,3 @@ +# Nuxt with advanced async components + +See [here](https://vuejs.org/v2/guide/components.html#Advanced-Async-Components) for more details diff --git a/examples/auth-routes/README.md b/examples/auth-routes/README.md index 7169afa6c6..51ba41fb9b 100644 --- a/examples/auth-routes/README.md +++ b/examples/auth-routes/README.md @@ -1,3 +1,3 @@ -# Authenticated Routes with Nuxt.js +# Authenticated Routes with Nuxt and Express sessions https://nuxtjs.org/examples/auth-routes diff --git a/examples/axios/README.md b/examples/axios/README.md index a2f03635fc..0916b62873 100644 --- a/examples/axios/README.md +++ b/examples/axios/README.md @@ -1,4 +1,10 @@ -# Axios Proxy Example +# Nuxt with Axios Proxy Example + +Using [proxy-module](https://github.com/nuxt-community/proxy-module) and [Axios module](https://axios.nuxtjs.org/) + +> proxy-module is the one-liner node.js http-proxy middleware solution for Nuxt.js using [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) + +> Axios-module is a secure and easy [Axios](https://github.com/mzabriskie/axios) integration with Nuxt.js. ## Install diff --git a/examples/cached-components/README.md b/examples/cached-components/README.md index 6e1a5bfbe1..9d4b96671a 100644 --- a/examples/cached-components/README.md +++ b/examples/cached-components/README.md @@ -1,3 +1,3 @@ -# Cached Components +# Nuxt with Cached Components using lru-cache https://nuxtjs.org/examples/cached-components diff --git a/examples/coffeescript/README.md b/examples/coffeescript/README.md index 60a641df16..f8a4a5f1d6 100644 --- a/examples/coffeescript/README.md +++ b/examples/coffeescript/README.md @@ -1,4 +1,4 @@ -# CoffeeScript +# Nuxt with CoffeeScript > Nuxt.js project with CoffeeScript diff --git a/examples/custom-build/README.md b/examples/custom-build/README.md new file mode 100644 index 0000000000..b72faaed0a --- /dev/null +++ b/examples/custom-build/README.md @@ -0,0 +1 @@ +# Nuxt with customised build step diff --git a/examples/custom-layouts/README.md b/examples/custom-layouts/README.md index 21ecee452c..0964656804 100644 --- a/examples/custom-layouts/README.md +++ b/examples/custom-layouts/README.md @@ -1,3 +1,5 @@ -# Layouts +# Nuxt layouts https://nuxtjs.org/examples/layouts + +Read more on Nuxt layouts [here](https://nuxtjs.org/guide/views#layouts) diff --git a/examples/custom-server/README.md b/examples/custom-server/README.md new file mode 100644 index 0000000000..9235bee4da --- /dev/null +++ b/examples/custom-server/README.md @@ -0,0 +1,3 @@ +# Nuxt with custom [Express](https://expressjs.com/) Server + +> Express ia a fast, unopinionated, minimalist web framework for Node.js diff --git a/examples/i18n/README.md b/examples/i18n/README.md index 4cb0a9d1cb..7c41613d0a 100644 --- a/examples/i18n/README.md +++ b/examples/i18n/README.md @@ -1,4 +1,4 @@ -# i18n with Nuxt.js +# Nuxt with i18n https://nuxtjs.org/examples/i18n diff --git a/examples/jest-puppeteer/README.md b/examples/jest-puppeteer/README.md index c26eb37d90..f6e389efe8 100755 --- a/examples/jest-puppeteer/README.md +++ b/examples/jest-puppeteer/README.md @@ -1,4 +1,8 @@ -# Example how to test Nuxt.js app with Jest and Puppeteer +# Nuxt with [Jest](https://jestjs.io/) and [Puppeteer](https://developers.google.com/web/tools/puppeteer/) + +> Jest is a delightful JavaScript Testing Framework with a focus on simplicity. + +> Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. # Install deps ``` @@ -35,5 +39,5 @@ Ran all test suites. ## Documentation - [jest-puppeteer](https://github.com/smooth-code/jest-puppeteer) -- [jest]() +- [jest](https://jestjs.io/) - [puppeteer](https://pptr.dev/) diff --git a/examples/jest-vtu-example/README.md b/examples/jest-vtu-example/README.md index 03b5e9744e..f1d5b02460 100644 --- a/examples/jest-vtu-example/README.md +++ b/examples/jest-vtu-example/README.md @@ -1,4 +1,8 @@ -# Jest + Vue Test Utils example +# Nuxt with [Jest](https://jestjs.io/) and [Vue Test Utils](https://vue-test-utils.vuejs.org/) + +> Vue Test Utils is the official unit testing utility library for Vue.js. + +> Jest is a delightful JavaScript Testing Framework with a focus on simplicity. ```sh # Install dependencies diff --git a/examples/jsx/README.md b/examples/jsx/README.md index 068b72b549..6366fe4ee0 100644 --- a/examples/jsx/README.md +++ b/examples/jsx/README.md @@ -1,5 +1,7 @@ -# Render Functions & JSX Example +# Nuxt with render Functions & JSX Example ## Documentation Vue: https://vuejs.org/v2/guide/render-function.html + +Also see [TSX example](https://github.com/nuxt/nuxt.js/examples/typescript-tsx) diff --git a/examples/markdownit/README.md b/examples/markdownit/README.md index a287cad252..a19b103440 100644 --- a/examples/markdownit/README.md +++ b/examples/markdownit/README.md @@ -1,4 +1,4 @@ -# Markdown Example +# Nuxt with Markdown > Convert Markdown file to HTML using markdown-it. diff --git a/examples/middleware/README.md b/examples/middleware/README.md index b053825748..127bdfad32 100644 --- a/examples/middleware/README.md +++ b/examples/middleware/README.md @@ -1,3 +1,6 @@ -# Middleware with Nuxt.js +# Middleware with Nuxt +## Demo https://nuxtjs.org/examples/middleware + +Read more Nuxt on middleware [here](https://nuxtjs.org/guide/routing#middleware) diff --git a/examples/named-views/README.md b/examples/named-views/README.md new file mode 100644 index 0000000000..0f1abed032 --- /dev/null +++ b/examples/named-views/README.md @@ -0,0 +1 @@ +# Nuxt with named views diff --git a/examples/nested-components/README.md b/examples/nested-components/README.md new file mode 100644 index 0000000000..ed2a70463a --- /dev/null +++ b/examples/nested-components/README.md @@ -0,0 +1 @@ +# Nuxt with nested components example diff --git a/examples/pm2-typescript/README.md b/examples/pm2-typescript/README.md index 636cecc3b3..1af8a28295 100644 --- a/examples/pm2-typescript/README.md +++ b/examples/pm2-typescript/README.md @@ -1,4 +1,6 @@ -# PM2 with nuxt-ts example +# Nuxt.ts with PM2 example + +> [pm2](http://pm2.keymetrics.io/) ia an advanced process manager for production Node.js applications. Load balancer, logs facility, startup script, micro service management and more. [Gracefull zero-downtime restart](https://pm2.io/doc/en/runtime/best-practices/graceful-shutdown/#graceful-start) diff --git a/examples/spa/README.md b/examples/spa/README.md new file mode 100644 index 0000000000..b919cf3f9a --- /dev/null +++ b/examples/spa/README.md @@ -0,0 +1,2 @@ +# Nuxt in SPA mode + diff --git a/examples/static-images/README.md b/examples/static-images/README.md new file mode 100644 index 0000000000..058b3f3535 --- /dev/null +++ b/examples/static-images/README.md @@ -0,0 +1,3 @@ +# Nuxt with static images + +How to use static images with nuxt diff --git a/examples/styled-vue/README.md b/examples/styled-vue/README.md index d7e7d3076e..ccf5af99d1 100644 --- a/examples/styled-vue/README.md +++ b/examples/styled-vue/README.md @@ -1,3 +1,5 @@ -# styled-vue Example +# Nuxt with [styled-vue](https://github.com/egoist/styled-vue) + +> *styled-vue* allows to use dynamic styles in Vue single-file components. See https://github.com/egoist/styled-vue diff --git a/examples/tailwindcss-purgecss/README.md b/examples/tailwindcss-purgecss/README.md index 649edc5f82..068dd85ce9 100644 --- a/examples/tailwindcss-purgecss/README.md +++ b/examples/tailwindcss-purgecss/README.md @@ -20,4 +20,8 @@ The before CSS bundle came out to `299kb`, where as after running it through Pur And since the CSS remains inline (due to using Purgecss as a postcss plugin) it scores perfect on Google Page Speed Insights! (This is after running `nuxt generate` and deploying the `dist` folder) ![pagespeed mobile](.github/pagespeed-mobile.png) -![pagespeed desktop](.github/pagespeed-desktop.png) \ No newline at end of file +![pagespeed desktop](.github/pagespeed-desktop.png) + +### Other + +See also this [demo](https://github.com/nuxt/nuxt.js/tree/dev/examples/with-purgecss) diff --git a/examples/typescript-tsx/README.md b/examples/typescript-tsx/README.md index 38953c9511..79cf06ddb4 100644 --- a/examples/typescript-tsx/README.md +++ b/examples/typescript-tsx/README.md @@ -1 +1 @@ -# TSX example +# Nuxt with [TSX](https://www.typescriptlang.org/docs/handbook/jsx.html) diff --git a/examples/typescript-vuex/README.md b/examples/typescript-vuex/README.md index 6a041d9201..aab5baa867 100644 --- a/examples/typescript-vuex/README.md +++ b/examples/typescript-vuex/README.md @@ -1,3 +1,3 @@ -# TypeScript with Vuex example +# Nuxt with TypeScript and Vuex https://nuxtjs.org/examples/typescript-vuex diff --git a/examples/typescript/README.md b/examples/typescript/README.md index e14feee334..01814ee4b7 100644 --- a/examples/typescript/README.md +++ b/examples/typescript/README.md @@ -1,3 +1,3 @@ -# TypeScript example +# Nuxt with TypeScript example https://codesandbox.io/s/0qmykr7wq0 diff --git a/examples/uikit/README.md b/examples/uikit/README.md index b24165bb26..d2a1e2953e 100644 --- a/examples/uikit/README.md +++ b/examples/uikit/README.md @@ -1,6 +1,6 @@ -# UIKit with Nuxt.js +# Nuxt with [UIKit](https://github.com/uikit/uikit) -UIkit: https://github.com/uikit/uikit +> [UIkit](https://github.com/uikit/uikit) is a lightweight and modular front-end framework for developing fast and powerful web interfaces Live demo: https://uikit.nuxtjs.org diff --git a/examples/vue-apollo/README.md b/examples/vue-apollo/README.md index 92ef54ec86..befcbe1771 100644 --- a/examples/vue-apollo/README.md +++ b/examples/vue-apollo/README.md @@ -1,4 +1,6 @@ -# Vue-Apollo with Nuxt.js +# Nuxt with [Vue-Apollo](https://vue-apollo.netlify.com/) + +> *Vue-Apollo* is a Apollo/GraphQL integration for VueJS Demo: https://nuxt-vue-apollo.now.sh/ diff --git a/examples/vue-chartjs/README.md b/examples/vue-chartjs/README.md index ab534cf92a..77b2d2e9ff 100644 --- a/examples/vue-chartjs/README.md +++ b/examples/vue-chartjs/README.md @@ -1,3 +1,6 @@ -# Vue-ChartJS with Nuxt.js +# Nuxt with [Vue-ChartJS](https://vue-chartjs.org/) + +> *Vue-chartjs* is a wrapper for [Chart.js](https://github.com/chartjs/Chart.js) in vue. You can easily create reuseable chart components. + https://nuxtjs.org/examples diff --git a/examples/vue-class-component/README.md b/examples/vue-class-component/README.md new file mode 100644 index 0000000000..5bfd6e0b46 --- /dev/null +++ b/examples/vue-class-component/README.md @@ -0,0 +1,3 @@ +# Nuxt with [Vue-class-component](https://github.com/vuejs/vue-class-component) library + +> *vue-class-component* is an ECMAScript / TypeScript decorator for class-style Vue components. diff --git a/examples/vuex-persistedstate/README.md b/examples/vuex-persistedstate/README.md index 6827f6cf6a..4af48686c6 100644 --- a/examples/vuex-persistedstate/README.md +++ b/examples/vuex-persistedstate/README.md @@ -1,3 +1,4 @@ -# Nuxt.js with Vuex persisted state (localStorage) +# Nuxt with [Vuex](https://vuex.vuejs.org/) persisted state (localStorage) -See https://github.com/robinvdvleuten/vuex-persistedstate + +Demo is using [vuex-persistedstate](https://github.com/robinvdvleuten/vuex-persistedstate) library diff --git a/examples/vuex-store-modules/README.md b/examples/vuex-store-modules/README.md index f248cfd42b..dc0a710fb0 100644 --- a/examples/vuex-store-modules/README.md +++ b/examples/vuex-store-modules/README.md @@ -1,3 +1,7 @@ -# Nuxt.js with Vuex via File API +# Nuxt with [Vuex](https://vuex.vuejs.org/) and store modules + +> Vuex is a state management pattern + library for Vue.js applications. + +Read on Vuex modules [here](https://vuex.vuejs.org/guide/modules.html) https://nuxtjs.org/guide/vuex-store#modules-files diff --git a/examples/vuex-store/README.md b/examples/vuex-store/README.md index 96aa014061..45d3fc36a8 100644 --- a/examples/vuex-store/README.md +++ b/examples/vuex-store/README.md @@ -1,3 +1,7 @@ -# Nuxt.js with Vuex +# Nuxt with [Vuex](https://vuex.vuejs.org/) + + +>Vuex is a state management pattern + library for Vue.js applications. + https://nuxtjs.org/examples/vuex-store diff --git a/examples/web-worker/README.md b/examples/web-worker/README.md index aa88a7c0db..6d3d6fac58 100644 --- a/examples/web-worker/README.md +++ b/examples/web-worker/README.md @@ -1,4 +1,4 @@ -# web-worker +# Nuxt with web-workers using [Worker-loader](https://github.com/webpack-contrib/worker-loader) > Nuxt.js project diff --git a/examples/with-amp/README.md b/examples/with-amp/README.md new file mode 100644 index 0000000000..c5f79736c3 --- /dev/null +++ b/examples/with-amp/README.md @@ -0,0 +1,3 @@ +# Nuxt with [AMP](https://www.ampproject.org/) + +>AMP is an open-source library that provides a straightforward way to create web pages that are compelling, smooth, and load near instantaneously for users. AMP pages are just web pages that you can link to and are controlled by you. diff --git a/examples/with-ava/Readme.md b/examples/with-ava/Readme.md index cd49ff5647..8771714dd6 100755 --- a/examples/with-ava/Readme.md +++ b/examples/with-ava/Readme.md @@ -1,3 +1,7 @@ +# Nuxt with [Ava](https://github.com/avajs/ava) + +> AVA is a test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that let you write tests more effectively. So you can ship more awesome code. rocket + ## Testing your Nuxt.js Application https://nuxtjs.org/examples/testing diff --git a/examples/with-buefy/README.md b/examples/with-buefy/README.md new file mode 100644 index 0000000000..160e688e60 --- /dev/null +++ b/examples/with-buefy/README.md @@ -0,0 +1,3 @@ +# Nuxt with [Buefy](https://buefy.github.io/) + +> Buefy are lightweight UI components for Vue.js based on Bulma diff --git a/examples/with-cookies/README.md b/examples/with-cookies/README.md index d64ba5270a..2ca49d4bd1 100644 --- a/examples/with-cookies/README.md +++ b/examples/with-cookies/README.md @@ -1,3 +1,5 @@ -# Hello World with Nuxt.js +# Nuxt with cookies + +This demo showcases reading/updating cookies with Nuxt.js https://nuxtjs.org/examples diff --git a/examples/with-element-ui/README.md b/examples/with-element-ui/README.md new file mode 100644 index 0000000000..576520270c --- /dev/null +++ b/examples/with-element-ui/README.md @@ -0,0 +1,3 @@ +# Nuxt with [Element UI](https://element.eleme.io/#/en-US) + +>Element, a Vue 2.0 based component library for developers, designers and product managers diff --git a/examples/with-feathers/README.md b/examples/with-feathers/README.md index e81f120579..3d4015c48f 100644 --- a/examples/with-feathers/README.md +++ b/examples/with-feathers/README.md @@ -1,6 +1,4 @@ -# with-feathers - -> Nuxt.js with Feathers +# Nuxt with [Feathers](http://feathersjs.com) ## About diff --git a/examples/with-firebase/README.md b/examples/with-firebase/README.md index 93e0ad028a..74b2528687 100644 --- a/examples/with-firebase/README.md +++ b/examples/with-firebase/README.md @@ -1,6 +1,4 @@ -# nuxt-firebase - -> Nuxt.js with Firebase (REST API) +# Nuxt with [Firebase](https://firebase.google.com/) (REST API) [DEMO](https://nuxt-firebase.now.sh/) diff --git a/examples/with-museui/README.md b/examples/with-museui/README.md new file mode 100644 index 0000000000..35d99400ad --- /dev/null +++ b/examples/with-museui/README.md @@ -0,0 +1,3 @@ +# Nuxt with [Muse-UI](https://muse-ui.org/#/en-US/) + +> Muse-UI is an elegant Material Design UI component library based on the Vue 2.0 diff --git a/examples/with-purgecss/README.md b/examples/with-purgecss/README.md index bd16434a04..7991de5b5d 100644 --- a/examples/with-purgecss/README.md +++ b/examples/with-purgecss/README.md @@ -1,4 +1,6 @@ -# Nuxt.js with Purgecss (and Tailwind CSS) +# Nuxt.js with [Purgecss](https://www.purgecss.com/) (and [Tailwind CSS](https://tailwindcss.com)) -See https://www.purgecss.com +> *Tailwind CSS* is a utility-first CSS framework for rapidly building custom user interfaces. + +> *Purgecss* is a tool to remove unused CSS. It can be used as part of your development workflow. Purgecss comes with a JavaScript API, a CLI, and plugins for popular build tools. diff --git a/examples/with-sockets/README.md b/examples/with-sockets/README.md index fe8489c16e..3ddd4ba957 100644 --- a/examples/with-sockets/README.md +++ b/examples/with-sockets/README.md @@ -1,6 +1,9 @@ -# Nuxt.js with Socket.io +# Nuxt with [Socket.io](https://socket.io/) -An example for Nuxt.js with WebSockets over Sockets.io. +An example for Nuxt.js with WebSockets over Socket.io. + +> Socket.IO enables real-time, bidirectional and event-based communication. +> It works on every platform, browser or device, focusing equally on reliability and speed. * Do you use Nuxt programmatically (eg. with Express or Koa)? Take a look into [`server.js`](./server.js) for setting up WS with your implementation diff --git a/examples/with-tape/README.md b/examples/with-tape/README.md new file mode 100644 index 0000000000..0eaad767e7 --- /dev/null +++ b/examples/with-tape/README.md @@ -0,0 +1,3 @@ +# Nuxt with [Tape](https://github.com/substack/tape) + +> Tape is a tap-producing test harness for node and browsers diff --git a/examples/with-vue-material/README.md b/examples/with-vue-material/README.md index 2cd080e524..7f7cbc0b3e 100644 --- a/examples/with-vue-material/README.md +++ b/examples/with-vue-material/README.md @@ -1,4 +1,6 @@ -# Nuxt With Vue-Material +# Nuxt.js With [Vue-Material](https://vuematerial.io/) + +> Vue Material is a Vue.js bassed Material Design component library ## Compatibility diff --git a/examples/with-vuetify/README.md b/examples/with-vuetify/README.md index 4f7f4638a4..0532d12036 100644 --- a/examples/with-vuetify/README.md +++ b/examples/with-vuetify/README.md @@ -1,4 +1,6 @@ -# Using Vuetify.js with Nuxt.js +# Using [Vuetify.js](https://vuetifyjs.com/en/) with Nuxt.js + +> Vuetify is a Vue based Material Design Component Framework ## Demo https://nuxt-with-vuetify-example.surge.sh diff --git a/examples/with-vuikit/README.md b/examples/with-vuikit/README.md index ea14a1ccba..18af9216ae 100644 --- a/examples/with-vuikit/README.md +++ b/examples/with-vuikit/README.md @@ -1,3 +1,3 @@ -# Nuxt with Vuikit +# Nuxt with [Vuikit](https://vuikit.js.org) -https://vuikit.js.org +> Vuikit is a consistent and responsive Vue UI library, based on the front-end framework UIkit. diff --git a/examples/with-vux/README.md b/examples/with-vux/README.md new file mode 100644 index 0000000000..84e3a5f943 --- /dev/null +++ b/examples/with-vux/README.md @@ -0,0 +1,3 @@ +# Showcase of Nuxt.js and [VUX](https://github.com/airyland/vux) + +> VUX is a Mobile UI Components based on Vue & WeUI. From 50b1592998e2fc0217cbdffa93ee68b6656f2e7a Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Fri, 8 Feb 2019 19:53:34 +0330 Subject: [PATCH 067/221] update yarn.lock --- yarn.lock | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6877534d1c..5b77fa0297 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1414,12 +1414,7 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7": - version "10.12.21" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.21.tgz#7e8a0c34cf29f4e17a36e9bd0ea72d45ba03908e" - integrity sha512-CBgLNk4o3XMnqMc0rhb6lc77IwShMEglz05deDcn2lQxyXEZivfwgYJu7SMha9V5XcrP6qZuevTHV/QrN2vjKQ== - -"@types/node@^10.12.23": +"@types/node@*", "@types/node@^10.11.7", "@types/node@^10.12.23": version "10.12.23" resolved "https://registry.npmjs.org/@types/node/-/node-10.12.23.tgz#308a3acdc5d1c842aeadc50b867d99c46cfae868" integrity sha512-EKhb5NveQ3NlW5EV7B0VRtDKwUfVey8LuJRl9pp5iW0se87/ZqLjG0PMf2MCzPXAJYWZN5Ltg7pHIAf9/Dm1tQ== @@ -1748,9 +1743,9 @@ acorn@^5.5.3, acorn@^5.7.3: integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5: - version "6.0.7" - resolved "https://registry.npmjs.org/acorn/-/acorn-6.0.7.tgz#490180ce18337270232d9488a44be83d9afb7fd3" - integrity sha512-HNJNgE60C9eOTgn974Tlp3dpLZdUr+SoxxDwPaY9J/kDNOLQTkaDgwBUXAF4SSsrAwD9RpdxuHK/EbuF+W9Ahw== + version "6.1.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818" + integrity sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw== agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0: version "4.2.1" @@ -3288,9 +3283,9 @@ copy-descriptor@^0.1.0: integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7: - version "2.6.3" - resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.3.tgz#4b70938bdffdaf64931e66e2db158f0892289c49" - integrity sha512-l00tmFFZOBHtYhN4Cz7k32VM7vTn3rE2ANjQDxdEN6zmXZ/xq1jQuutnmHvMG1ZJ7xd72+TA5YpUK8wz3rWsfQ== + version "2.6.4" + resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz#b8897c062c4d769dd30a0ac5c73976c47f92ea0d" + integrity sha512-05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -3672,9 +3667,9 @@ dateformat@^3.0.0: integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== dayjs@^1.8.3: - version "1.8.4" - resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.4.tgz#e5a8fe080a7955e210045e6c26c5d1d4c88cf602" - integrity sha512-Gd2W9A8f40Dwr17/O1W12cC61PSq8aUGKBWRVMs7n4XQNwPPIM9m7YzZPHMlW465Sia6t5KlKK52rYd5oT2T6A== + version "1.8.5" + resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.5.tgz#0b066770f89a20022218544989f3d23e5e8db29a" + integrity sha512-jo5sEFdsT43RqXxoqQVEuD7XL6iSIRxcjTgheJdlV0EHKObKP3pb9JcJEv/KStVMy25ABNQrFnplKcCit05vOA== de-indent@^1.0.2: version "1.0.2" @@ -4850,12 +4845,12 @@ flatten@^1.0.2: integrity sha1-2uRqnXj74lKSJYzB54CkHZXAN4I= flush-write-stream@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.0.tgz#2e89a8bd5eee42f8ec97e43aae81e3d5099c2ddc" - integrity sha512-6MHED/cmsyux1G4/Cek2Z776y9t7WCNd3h2h/HW91vFeU7pzMhA8XvAlDhHcanG5IWuIh/xcC7JASY4WQpG6xg== + version "1.1.1" + resolved "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" + integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== dependencies: inherits "^2.0.3" - readable-stream "^3.1.1" + readable-stream "^2.3.6" for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" @@ -5184,9 +5179,9 @@ gzip-size@^5.0.0: pify "^3.0.0" handlebars@^4.0.2, handlebars@^4.0.3: - version "4.0.12" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5" - integrity sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA== + version "4.1.0" + resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" + integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== dependencies: async "^2.5.0" optimist "^0.6.1" @@ -9451,7 +9446,7 @@ readable-stream@1.0: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^3.0.6, readable-stream@^3.1.1: +readable-stream@^3.0.6: version "3.1.1" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz#ed6bbc6c5ba58b090039ff18ce670515795aeb06" integrity sha512-DkN66hPyqDhnIQ6Jcsvx9bFjhw214O4poMBcIMgPVpQvNy9a0e0Uhg5SqySyDKAmUlwt8LonTBz1ezOnM8pUdA== From 69dfd848d7c4a8fd8aa46fac3bfcc09f20f31e0d Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Fri, 8 Feb 2019 16:25:11 +0000 Subject: [PATCH 068/221] refactor: some small stuff (#4979) * refactor: flatten ifs * refactor: unnecessary curly brackets * refactor: unnecessary else * refactor: promise.all instead of for-await * refactor: apply changes suggested by @clarkdo * chore: fix typo * refactor: early return * refactor: add removal TODOs * refactor: more descriptive variable name * refactor: prefer template string * refactor: one-line * refactor: early returns * refactor: early return * refactor: parallel promises * refactor: early return and no else * refactor: spread operator * refactor: spread operator and early return * fix: remove error and throw string instead * fix: always return true * refactor: clear multiline ternary * refactor: err stack assignment * refactor: early return and async/await * refactor: one line * refactor: early return * refactor: early return * refactor: promise.all * refactor: args spread --- packages/builder/src/builder.js | 95 +++++++++++----------- packages/cli/src/commands/build.js | 9 +- packages/cli/src/commands/dev.js | 5 +- packages/cli/src/commands/help.js | 8 +- packages/cli/src/run.js | 3 +- packages/generator/src/generator.js | 4 +- packages/server/src/middleware/error.js | 26 +++--- packages/server/src/middleware/modern.js | 30 ++++--- packages/server/src/server.js | 5 +- packages/utils/src/resolve.js | 3 +- packages/vue-renderer/src/renderer.js | 32 ++++---- packages/webpack/src/builder.js | 14 ++-- packages/webpack/src/utils/style-loader.js | 51 +++++++----- 13 files changed, 152 insertions(+), 133 deletions(-) diff --git a/packages/builder/src/builder.js b/packages/builder/src/builder.js index a0cd10c9ed..b0046d6013 100644 --- a/packages/builder/src/builder.js +++ b/packages/builder/src/builder.js @@ -46,8 +46,7 @@ export default class Builder { this.supportedExtensions = ['vue', 'js', 'ts', 'tsx'] // Helper to resolve build paths - this.relativeToBuild = (...args) => - relativeTo(this.options.buildDir, ...args) + this.relativeToBuild = (...args) => relativeTo(this.options.buildDir, ...args) this._buildStatus = STATUS.INITIAL @@ -390,21 +389,23 @@ export default class Builder { async resolveStore({ templateVars, templateFiles }) { // Add store if needed - if (this.options.store) { - templateVars.storeModules = (await this.resolveRelative(this.options.dir.store)) - .sort(({ src: p1 }, { src: p2 }) => { - // modules are sorted from low to high priority (for overwriting properties) - let res = p1.split('/').length - p2.split('/').length - if (res === 0 && p1.includes('/index.')) { - res = -1 - } else if (res === 0 && p2.includes('/index.')) { - res = 1 - } - return res - }) - - templateFiles.push('store.js') + if (!this.options.store) { + return } + + templateVars.storeModules = (await this.resolveRelative(this.options.dir.store)) + .sort(({ src: p1 }, { src: p2 }) => { + // modules are sorted from low to high priority (for overwriting properties) + let res = p1.split('/').length - p2.split('/').length + if (res === 0 && p1.includes('/index.')) { + res = -1 + } else if (res === 0 && p2.includes('/index.')) { + res = 1 + } + return res + }) + + templateFiles.push('store.js') } async resolveMiddleware({ templateVars }) { @@ -452,41 +453,43 @@ export default class Builder { } async resolveLoadingIndicator({ templateFiles }) { - if (this.options.loadingIndicator.name) { - let indicatorPath = path.resolve( - this.template.dir, - 'views/loading', - this.options.loadingIndicator.name + '.html' + if (!this.options.loadingIndicator.name) { + return + } + let indicatorPath = path.resolve( + this.template.dir, + 'views/loading', + this.options.loadingIndicator.name + '.html' + ) + + let customIndicator = false + if (!await fsExtra.exists(indicatorPath)) { + indicatorPath = this.nuxt.resolver.resolveAlias( + this.options.loadingIndicator.name ) - let customIndicator = false - if (!await fsExtra.exists(indicatorPath)) { - indicatorPath = this.nuxt.resolver.resolveAlias( - this.options.loadingIndicator.name - ) - - if (await fsExtra.exists(indicatorPath)) { - customIndicator = true - } else { - indicatorPath = null - } - } - - if (indicatorPath) { - templateFiles.push({ - src: indicatorPath, - dst: 'loading.html', - custom: customIndicator, - options: this.options.loadingIndicator - }) + if (await fsExtra.exists(indicatorPath)) { + customIndicator = true } else { - consola.error( - `Could not fetch loading indicator: ${ - this.options.loadingIndicator.name - }` - ) + indicatorPath = null } } + + if (!indicatorPath) { + consola.error( + `Could not fetch loading indicator: ${ + this.options.loadingIndicator.name + }` + ) + return + } + + templateFiles.push({ + src: indicatorPath, + dst: 'loading.html', + custom: customIndicator, + options: this.options.loadingIndicator + }) } async compileTemplates(templateContext) { diff --git a/packages/cli/src/commands/build.js b/packages/cli/src/commands/build.js index 0a7d153995..48fa34f9b6 100644 --- a/packages/cli/src/commands/build.js +++ b/packages/cli/src/commands/build.js @@ -66,10 +66,11 @@ export default { // Build only const builder = await cmd.getBuilder(nuxt) await builder.build() - } else { - // Build + Generate for static deployment - const generator = await cmd.getGenerator(nuxt) - await generator.generate({ build: true }) + return } + + // Build + Generate for static deployment + const generator = await cmd.getGenerator(nuxt) + await generator.generate({ build: true }) } } diff --git a/packages/cli/src/commands/dev.js b/packages/cli/src/commands/dev.js index 0ef00946a7..31329ec245 100644 --- a/packages/cli/src/commands/dev.js +++ b/packages/cli/src/commands/dev.js @@ -24,9 +24,8 @@ export default { // Opens the server listeners url in the default browser if (argv.open) { - for (const listener of nuxt.server.listeners) { - await opener(listener.url) - } + const openerPromises = nuxt.server.listeners.map(listener => opener(listener.url)) + await Promise.all(openerPromises) } }, diff --git a/packages/cli/src/commands/help.js b/packages/cli/src/commands/help.js index d0cd297ee9..b4dab3c299 100644 --- a/packages/cli/src/commands/help.js +++ b/packages/cli/src/commands/help.js @@ -18,10 +18,12 @@ export default { return listCommands() } const command = await getCommand(name) - if (command) { - NuxtCommand.from(command).showHelp() - } else { + + if (!command) { consola.info(`Unknown command: ${name}`) + return } + + NuxtCommand.from(command).showHelp() } } diff --git a/packages/cli/src/run.js b/packages/cli/src/run.js index aed0e52f3a..648deeac97 100644 --- a/packages/cli/src/run.js +++ b/packages/cli/src/run.js @@ -35,8 +35,7 @@ export default async function run(_argv) { } catch (error) { if (error.code === 'ENOENT') { throw String(`Command not found: nuxt-${argv[0]}`) - } else { - throw String(`Failed to run command \`nuxt-${argv[0]}\`:\n${error}`) } + throw String(`Failed to run command \`nuxt-${argv[0]}\`:\n${error}`) } } diff --git a/packages/generator/src/generator.js b/packages/generator/src/generator.js index 3c073463e1..d90c84dba7 100644 --- a/packages/generator/src/generator.js +++ b/packages/generator/src/generator.js @@ -210,7 +210,7 @@ export default class Generator { } } catch (err) { pageErrors.push({ type: 'unhandled', route, error: err }) - Array.prototype.push.apply(errors, pageErrors) + errors.push(...pageErrors) await this.nuxt.callHook('generate:routeFailed', { route, @@ -269,7 +269,7 @@ export default class Generator { if (pageErrors.length) { consola.error('Error generating ' + route) - Array.prototype.push.apply(errors, pageErrors) + errors.push(...pageErrors) } else { consola.success('Generated ' + route) } diff --git a/packages/server/src/middleware/error.js b/packages/server/src/middleware/error.js index 9932cb4b6d..e55de72050 100644 --- a/packages/server/src/middleware/error.js +++ b/packages/server/src/middleware/error.js @@ -4,7 +4,7 @@ import consola from 'consola' import Youch from '@nuxtjs/youch' -export default ({ resources, options }) => function errorMiddleware(err, req, res, next) { +export default ({ resources, options }) => async function errorMiddleware(err, req, res, next) { // ensure statusCode, message and name fields const error = { @@ -12,11 +12,15 @@ export default ({ resources, options }) => function errorMiddleware(err, req, re message: err.message || 'Nuxt Server Error', name: !err.name || err.name === 'Error' ? 'NuxtServerError' : err.name } - const errorFull = err instanceof Error ? err : typeof err === 'string' - ? new Error(err) : new Error(err.message || JSON.stringify(err)) - if (err.stack) errorFull.stack = err.stack + const errorFull = err instanceof Error + ? err + : typeof err === 'string' + ? new Error(err) + : new Error(err.message || JSON.stringify(err)) + errorFull.name = error.name errorFull.statusCode = error.statusCode + errorFull.stack = err.stack || undefined const sendResponse = (content, type = 'text/html') => { // Set Headers @@ -71,18 +75,18 @@ export default ({ resources, options }) => function errorMiddleware(err, req, re true ) if (isJson) { - youch.toJSON().then((json) => { - sendResponse(JSON.stringify(json, undefined, 2), 'text/json') - }) - } else { - youch.toHTML().then(html => sendResponse(html)) + const json = await youch.toJSON() + sendResponse(JSON.stringify(json, undefined, 2), 'text/json') + return } + + const html = await youch.toHTML() + sendResponse(html) } const readSourceFactory = ({ srcDir, rootDir, buildDir }) => async function readSource(frame) { // Remove webpack:/// & query string from the end - const sanitizeName = name => - name ? name.replace('webpack:///', '').split('?')[0] : null + const sanitizeName = name => name ? name.replace('webpack:///', '').split('?')[0] : null frame.fileName = sanitizeName(frame.fileName) // Return if fileName is unknown diff --git a/packages/server/src/middleware/modern.js b/packages/server/src/middleware/modern.js index e4862c3516..462bf14c3f 100644 --- a/packages/server/src/middleware/modern.js +++ b/packages/server/src/middleware/modern.js @@ -25,23 +25,31 @@ const isModernBrowser = (ua) => { let detected = false +const distinctModernModeOptions = [false, 'client', 'server'] + const detectModernBuild = ({ options, resources }) => { - if (detected === false && ![false, 'client', 'server'].includes(options.modern)) { - detected = true - if (resources.modernManifest) { - options.modern = options.render.ssr ? 'server' : 'client' - consola.info(`Modern bundles are detected. Modern mode (${chalk.green.bold(options.modern)}) is enabled now.`) - } else { - options.modern = false - } + if (detected || distinctModernModeOptions.includes(options.modern)) { + return } + + detected = true + + if (!resources.modernManifest) { + options.modern = false + return + } + + options.modern = options.render.ssr ? 'server' : 'client' + consola.info(`Modern bundles are detected. Modern mode (${chalk.green.bold(options.modern)}) is enabled now.`) } const detectModernBrowser = ({ socket = {}, headers }) => { - if (socket.isModernBrowser === undefined) { - const ua = headers && headers['user-agent'] - socket.isModernBrowser = isModernBrowser(ua) + if (socket.isModernBrowser !== undefined) { + return } + + const ua = headers && headers['user-agent'] + socket.isModernBrowser = isModernBrowser(ua) } const setModernMode = (req, options) => { diff --git a/packages/server/src/server.js b/packages/server/src/server.js index c2f92c37d0..fe9c2a965b 100644 --- a/packages/server/src/server.js +++ b/packages/server/src/server.js @@ -253,9 +253,8 @@ export default class Server { } this.__closed = true - for (const listener of this.listeners) { - await listener.close() - } + await Promise.all(this.listeners.map(l => l.close())) + this.listeners = [] if (typeof this.renderer.close === 'function') { diff --git a/packages/utils/src/resolve.js b/packages/utils/src/resolve.js index 65e0da8bad..a1fe820870 100644 --- a/packages/utils/src/resolve.js +++ b/packages/utils/src/resolve.js @@ -38,8 +38,7 @@ export const r = function r(...args) { return wp(path.resolve(...args.map(normalize))) } -export const relativeTo = function relativeTo() { - const args = Array.prototype.slice.apply(arguments) +export const relativeTo = function relativeTo(...args) { const dir = args.shift() // Keep webpack inline loader intact diff --git a/packages/vue-renderer/src/renderer.js b/packages/vue-renderer/src/renderer.js index 7d6a8f4e17..dfc6a2722c 100644 --- a/packages/vue-renderer/src/renderer.js +++ b/packages/vue-renderer/src/renderer.js @@ -123,22 +123,22 @@ export default class VueRenderer { // Try once to load SSR resources from fs await this.loadResources(fs) - // Without using `nuxt start` (Programatic, Tests and Generate) + // Without using `nuxt start` (Programmatic, Tests and Generate) if (!this.context.options._start) { this.context.nuxt.hook('build:resources', () => this.loadResources(fs)) + return } // Verify resources - if (this.context.options._start) { - if (!this.isReady) { - throw new Error( - 'No build files found. Use either `nuxt build` or `builder.build()` or start nuxt in development mode.' - ) - } else if (this.context.options.modern && !this.context.resources.modernManifest) { - throw new Error( - 'No modern build files found. Use either `nuxt build --modern` or `modern` option to build modern files.' - ) - } + if (!this.isReady) { + throw new Error( + 'No build files found. Use either `nuxt build` or `builder.build()` or start nuxt in development mode.' + ) + } + if (this.context.options.modern && !this.context.resources.modernManifest) { + throw new Error( + 'No modern build files found. Use either `nuxt build --modern` or `modern` option to build modern files.' + ) } } @@ -218,6 +218,7 @@ export default class VueRenderer { return this.context.nuxt.callHook('render:resourcesLoaded', this.context.resources) } + // TODO: Remove in Nuxt 3 get noSSR() { /* Backward compatibility */ return this.context.options.render.ssr === false } @@ -240,6 +241,7 @@ export default class VueRenderer { return true } + // TODO: Remove in Nuxt 3 get isResourcesAvailable() { /* Backward compatibility */ return this.isReady } @@ -293,17 +295,15 @@ export default class VueRenderer { opts.head_attrs = opts.HEAD_ATTRS opts.body_attrs = opts.BODY_ATTRS - const fn = ssr ? this.context.resources.ssrTemplate : this.context.resources.spaTemplate + const templateFn = ssr ? this.context.resources.ssrTemplate : this.context.resources.spaTemplate - return fn(opts) + return templateFn(opts) } async renderSPA(context) { const content = await this.renderer.spa.render(context) - const APP = - `
${this.context.resources.loadingHTML}
` + - content.BODY_SCRIPTS + const APP = `
${this.context.resources.loadingHTML}
${content.BODY_SCRIPTS}` // Prepare template params const templateParams = { diff --git a/packages/webpack/src/builder.js b/packages/webpack/src/builder.js index d0b7c73699..125c567bce 100644 --- a/packages/webpack/src/builder.js +++ b/packages/webpack/src/builder.js @@ -117,9 +117,7 @@ export class WebpackBundler { // Start Builds const runner = options.dev ? parallel : sequence - await runner(this.compilers, (compiler) => { - return this.webpackCompile(compiler) - }) + await runner(this.compilers, compiler => this.webpackCompile(compiler)) } async webpackCompile(compiler) { @@ -170,10 +168,10 @@ export class WebpackBundler { if (stats.hasErrors()) { if (options.build.quiet === true) { return Promise.reject(stats.toString(options.build.stats)) - } else { - // Actual error will be printed by webpack - throw new Error('Nuxt Build Error') } + + // Actual error will be printed by webpack + throw new Error('Nuxt Build Error') } } @@ -226,9 +224,7 @@ export class WebpackBundler { } async unwatch() { - for (const watching of this.compilersWatching) { - await watching.close() - } + await Promise.all(this.compilersWatching.map(watching => watching.close())) } async close() { diff --git a/packages/webpack/src/utils/style-loader.js b/packages/webpack/src/utils/style-loader.js index 843c4e897f..be247b99ad 100644 --- a/packages/webpack/src/utils/style-loader.js +++ b/packages/webpack/src/utils/style-loader.js @@ -37,39 +37,48 @@ export default class StyleLoader { const extResource = this.resources[ext] // style-resources-loader // https://github.com/yenshih/style-resources-loader - if (extResource) { - const patterns = wrapArray(extResource).map(p => path.resolve(this.rootDir, p)) + if (!extResource) { + return + } + const patterns = wrapArray(extResource).map(p => path.resolve(this.rootDir, p)) - return { - loader: 'style-resources-loader', - options: Object.assign( - { patterns }, - this.resources.options || {} - ) - } + return { + loader: 'style-resources-loader', + options: Object.assign( + { patterns }, + this.resources.options || {} + ) } } postcss() { // postcss-loader // https://github.com/postcss/postcss-loader - if (this.postcssConfig) { - const config = this.postcssConfig.config() - if (config) { - return { - loader: 'postcss-loader', - options: Object.assign({ sourceMap: this.sourceMap }, config) - } - } + if (!this.postcssConfig) { + return + } + + const config = this.postcssConfig.config() + + if (!config) { + return + } + + return { + loader: 'postcss-loader', + options: Object.assign({ sourceMap: this.sourceMap }, config) } } css(options) { options.exportOnlyLocals = this.exportOnlyLocals - return [ - ...options.exportOnlyLocals ? [] : [this.styleLoader()], - { loader: 'css-loader', options } - ] + const cssLoader = { loader: 'css-loader', options } + + if (options.exportOnlyLocals) { + return [cssLoader] + } + + return [this.styleLoader(), cssLoader] } cssModules(options) { From 2c082131e0734aeb588d4237e378d2317e16382e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 8 Feb 2019 22:55:10 +0330 Subject: [PATCH 069/221] chore(deps): update dependency vue-jest to ^3.0.3 (#4988) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9d10e12a81..51fb934811 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "ts-loader": "^5.3.3", "tslint": "^5.12.1", "typescript": "^3.3.3", - "vue-jest": "^3.0.2", + "vue-jest": "^3.0.3", "vue-property-decorator": "^7.3.0" }, "repository": { diff --git a/yarn.lock b/yarn.lock index 5b77fa0297..0deaa307c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11271,10 +11271,10 @@ vue-hot-reload-api@^2.3.0: resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2" integrity sha512-AA86yKZ5uOKz87/q1UpngEXhbRkaYg1b7HMMVRobNV1IVKqZe8oLIzo6iMocVwZXnYitlGwf2k4ZRLOZlS8oPQ== -vue-jest@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-3.0.2.tgz#c64bf5da9abd0d3ee16071217037696d14b0689c" - integrity sha512-5XIQ1xQFW0ZnWxHWM7adVA2IqbDsdw1vhgZfGFX4oWd75J38KIS3YT41PtiE7lpMLmNM6+VJ0uprT2mhHjUgkA== +vue-jest@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-3.0.3.tgz#80f664712f2678b1d8bb3af0f2c0bef5efa8de31" + integrity sha512-QwFQjkv2vXYPKUkNZkMbV/ZTHyQhRM1JY8nP68dRLQmdvCN+VUEKhlByH/PgPqDr2p/NuhaM3PUjJ9nreR++3w== dependencies: babel-plugin-transform-es2015-modules-commonjs "^6.26.0" chalk "^2.1.0" From e083c38f8f59edd22cef6d3b26e59f84135601ee Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 9 Feb 2019 13:32:50 +0330 Subject: [PATCH 070/221] chore(deps): update all non-major dependencies (#4992) --- distributions/nuxt-start/package.json | 2 +- packages/typescript/package.json | 2 +- packages/vue-app/package.json | 4 ++-- packages/vue-renderer/package.json | 4 ++-- yarn.lock | 31 ++++++++++++++++----------- 5 files changed, 24 insertions(+), 19 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 6f7fb3edb4..22a937eb81 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,7 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", - "vue": "^2.6.3", + "vue": "^2.6.4", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 0445e87b0e..2b571e68fb 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.23", + "@types/node": "^10.12.24", "chalk": "^2.4.2", "consola": "^2.4.0", "enquirer": "^2.3.0", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 044e6a208c..3385aec85e 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,11 +12,11 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { - "vue": "^2.6.3", + "vue": "^2.6.4", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.3", + "vue-template-compiler": "^2.6.4", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index f3fcb27474..1c73af42dd 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.4.0", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.3", + "vue": "^2.6.4", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.3" + "vue-server-renderer": "^2.6.4" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index 0deaa307c8..bb456e0468 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1414,11 +1414,16 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7", "@types/node@^10.12.23": +"@types/node@*", "@types/node@^10.11.7": version "10.12.23" resolved "https://registry.npmjs.org/@types/node/-/node-10.12.23.tgz#308a3acdc5d1c842aeadc50b867d99c46cfae868" integrity sha512-EKhb5NveQ3NlW5EV7B0VRtDKwUfVey8LuJRl9pp5iW0se87/ZqLjG0PMf2MCzPXAJYWZN5Ltg7pHIAf9/Dm1tQ== +"@types/node@^10.12.24": + version "10.12.24" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.24.tgz#b13564af612a22a20b5d95ca40f1bffb3af315cf" + integrity sha512-GWWbvt+z9G5otRBW8rssOFgRY87J9N/qbhqfjMZ+gUuL6zoL+Hm6gP/8qQBG4jjimqdaNLCehcVapZ/Fs2WjCQ== + "@types/q@^1.5.1": version "1.5.1" resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" @@ -11325,10 +11330,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.3: - version "2.6.3" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.3.tgz#5e05e8e8b9369436b5497363c96d7f82fb6222ce" - integrity sha512-VLKuwswueSrAWLzTpmlC+fDcHUy+7zKkwza9eXSUdVzs4XmtZQbYCZmEKrbyqZqFC3XJ1FVufsXqk915P3iKVg== +vue-server-renderer@^2.6.4: + version "2.6.4" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.4.tgz#6e317cb3365c02d211c18360c253135980777677" + integrity sha512-I8Aj1XcCq2Xk0DdOOFeFNTG82DXJ3UXu/m2IBjxizByYA7ViqfYtCABnr7vYQPjqb9342MtpISyGHMSmqw1opg== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11347,10 +11352,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.3: - version "2.6.3" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.3.tgz#fe76b7755b038889f5e887895745f0d2bce3f778" - integrity sha512-SQ3lJk7fwquz8fGac7MwvP9cEBZntokTWITaDrLC0zmyBKjcOfJtWZkMsv+2uSUBDD8kwz8Bsad9xmBWaNULhg== +vue-template-compiler@^2.6.4: + version "2.6.4" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.4.tgz#0feacfe35e3386033bf4fe31ab4ff1dc1a0c5dec" + integrity sha512-RJePeQrGrSKDt2sfYRZ1DwnBuVMZDCMX6q5NTLZH6fs4RjXIxRE93wGOO2wKd3ebJEl9eKnPO6GpobNJGA7e3w== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11360,10 +11365,10 @@ vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.6.3: - version "2.6.3" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.3.tgz#180017ba25b94a9864b2921db8644e1062ea82a0" - integrity sha512-yftjtahz4UTAtOlXXuw7UaYD86fWrMDAAzqTdqJJx2FIBqcPmBN6kPBHiBJFGaQELVblb5ijbFMXsx0i0F7q3g== +vue@^2.6.4: + version "2.6.4" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.4.tgz#8a5a44e5740d8b8423a420c8655c97663421fb4d" + integrity sha512-PbR3FWMgCGjRxRjtWURhcTTBSrA/WHvz9g7v6eCcA0GQQZ0a2W6VrbdP0FKxRU62N9iQSHi3+VYLPfZA8W8m+Q== vuex@^3.1.0: version "3.1.0" From dfc8dd579bebd31ad9c66338cac89999dc412a2a Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Sun, 10 Feb 2019 14:59:26 -0500 Subject: [PATCH 071/221] example(jest-puppeteer): fix package .json (#4997) --- examples/jest-puppeteer/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jest-puppeteer/package.json b/examples/jest-puppeteer/package.json index 28546fad19..4c8e2ea289 100755 --- a/examples/jest-puppeteer/package.json +++ b/examples/jest-puppeteer/package.json @@ -8,7 +8,7 @@ "build": "nuxt build", "start": "nuxt start", "test": "jest -w=4", - "testServer": "nuxt build & nuxt start" + "testServer": "nuxt build && nuxt start" }, "devDependencies": { "jest": "latest", From 8106523311496931a43a943ce4211df25ec5695b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 11 Feb 2019 12:10:42 +0330 Subject: [PATCH 072/221] chore(deps): update all non-major dependencies (#5000) --- distributions/nuxt-start/package.json | 2 +- packages/vue-app/package.json | 4 ++-- packages/vue-renderer/package.json | 4 ++-- packages/webpack/package.json | 2 +- yarn.lock | 31 ++++++++++++++++----------- 5 files changed, 24 insertions(+), 19 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 22a937eb81..b44a80ec1b 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,7 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", - "vue": "^2.6.4", + "vue": "^2.6.5", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 3385aec85e..06cc1005f5 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,11 +12,11 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { - "vue": "^2.6.4", + "vue": "^2.6.5", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.4", + "vue-template-compiler": "^2.6.5", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 1c73af42dd..d2e319ef39 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.4.0", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.4", + "vue": "^2.6.5", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.4" + "vue-server-renderer": "^2.6.5" }, "publishConfig": { "access": "public" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 3f63b70527..745c063fbd 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.3", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000935", + "caniuse-lite": "^1.0.30000936", "chalk": "^2.4.2", "consola": "^2.4.0", "css-loader": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index bb456e0468..806296fbed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2725,11 +2725,16 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000935: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: version "1.0.30000935" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000935.tgz#d1b59df00b46f4921bb84a8a34c1d172b346df59" integrity sha512-1Y2uJ5y56qDt3jsDTdBHL1OqiImzjoQcBG6Yl3Qizq8mcc2SgCFpi+ZwLLqkztYnk9l87IYqRlNBnPSOTbFkXQ== +caniuse-lite@^1.0.30000936: + version "1.0.30000936" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000936.tgz#5d33b118763988bf721b9b8ad436d0400e4a116b" + integrity sha512-orX4IdpbFhdNO7bTBhSbahp1EBpqzBc+qrvTRVUFfZgA4zta7TdM6PN5ZxkEUgDnz36m+PfWGcdX7AVfFWItJw== + capture-exit@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" @@ -11330,10 +11335,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.4: - version "2.6.4" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.4.tgz#6e317cb3365c02d211c18360c253135980777677" - integrity sha512-I8Aj1XcCq2Xk0DdOOFeFNTG82DXJ3UXu/m2IBjxizByYA7ViqfYtCABnr7vYQPjqb9342MtpISyGHMSmqw1opg== +vue-server-renderer@^2.6.5: + version "2.6.5" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.5.tgz#0a9f4f75cd7aeebbac628f45d8ccded07491ba70" + integrity sha512-nNfJ/u3wqaFOrqY9lAaUURcjEwd6MY9xiQXRPygYkigLdAEo6E5WI720BXd25Vno0C1G/yFvTl6J/r7CgeRq1Q== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11352,10 +11357,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.4: - version "2.6.4" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.4.tgz#0feacfe35e3386033bf4fe31ab4ff1dc1a0c5dec" - integrity sha512-RJePeQrGrSKDt2sfYRZ1DwnBuVMZDCMX6q5NTLZH6fs4RjXIxRE93wGOO2wKd3ebJEl9eKnPO6GpobNJGA7e3w== +vue-template-compiler@^2.6.5: + version "2.6.5" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.5.tgz#2e3b4f20cdfa2a54a48895d97a5b711d0e7ad81c" + integrity sha512-7X/KZCqGulQ8KbysFd46cUnVzwvba7JxoPKA2TvVrO61/x0pIBqR17raV+ycnfUI4NYshhiNqH/3Db5NXErSdg== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11365,10 +11370,10 @@ vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.6.4: - version "2.6.4" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.4.tgz#8a5a44e5740d8b8423a420c8655c97663421fb4d" - integrity sha512-PbR3FWMgCGjRxRjtWURhcTTBSrA/WHvz9g7v6eCcA0GQQZ0a2W6VrbdP0FKxRU62N9iQSHi3+VYLPfZA8W8m+Q== +vue@^2.6.5: + version "2.6.5" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.5.tgz#7a7e8723b875b91800e576aac41cb3ed325dddf0" + integrity sha512-htb449YZnpJ5ts+JjXQHVuvH3R3dcaGBe6/ePAwtsRj4cA1FG/OI0rHDCSMs+L9ZHDzpX7ru//Usb/2R3XfQaQ== vuex@^3.1.0: version "3.1.0" From 3997d5049d26742a8c2239c6e41e584e2c9b46eb Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Mon, 11 Feb 2019 10:42:37 +0000 Subject: [PATCH 073/221] perf(webpack): use `futureEmitAssets` (#5003) --- packages/webpack/src/config/base.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/webpack/src/config/base.js b/packages/webpack/src/config/base.js index a2a2cdd3b6..349a0e2648 100644 --- a/packages/webpack/src/config/base.js +++ b/packages/webpack/src/config/base.js @@ -122,6 +122,7 @@ export default class WebpackBaseConfig { return { path: path.resolve(this.options.buildDir, 'dist', this.isServer ? 'server' : 'client'), filename: this.getFileName('app'), + futureEmitAssets: true, // TODO: Remove when using webpack 5 chunkFilename: this.getFileName('chunk'), publicPath: isUrl(this.options.build.publicPath) ? this.options.build.publicPath From 75a74543f436c2db23394d4081cb3429f52071d3 Mon Sep 17 00:00:00 2001 From: Pim Date: Mon, 11 Feb 2019 22:02:30 +0100 Subject: [PATCH 074/221] test: improve nuxt-loading component tests (#5005) --- package.json | 2 + packages/vue-app/test/__utils__/index.js | 5 + packages/vue-app/test/nuxt-loading.test.js | 167 +++++++++++++++++++++ test/unit/components.test.js | 130 ---------------- yarn.lock | 20 +++ 5 files changed, 194 insertions(+), 130 deletions(-) create mode 100644 packages/vue-app/test/__utils__/index.js create mode 100644 packages/vue-app/test/nuxt-loading.test.js delete mode 100644 test/unit/components.test.js diff --git a/package.json b/package.json index 51fb934811..7aad18bfe6 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,8 @@ "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "@nuxtjs/eslint-config": "^0.0.1", + "@vue/server-test-utils": "^1.0.0-beta.29", + "@vue/test-utils": "^1.0.0-beta.29", "babel-core": "^7.0.0-bridge", "babel-eslint": "^10.0.1", "babel-jest": "^23.6.0", diff --git a/packages/vue-app/test/__utils__/index.js b/packages/vue-app/test/__utils__/index.js new file mode 100644 index 0000000000..22e66e65bc --- /dev/null +++ b/packages/vue-app/test/__utils__/index.js @@ -0,0 +1,5 @@ +export const vmTick = (vm) => { + return new Promise((resolve) => { + vm.$nextTick(resolve) + }) +} diff --git a/packages/vue-app/test/nuxt-loading.test.js b/packages/vue-app/test/nuxt-loading.test.js new file mode 100644 index 0000000000..81faf9aecc --- /dev/null +++ b/packages/vue-app/test/nuxt-loading.test.js @@ -0,0 +1,167 @@ +/** + * @jest-environment jsdom + */ +import { resolve } from 'path' +import { mount, createLocalVue } from '@vue/test-utils' +import { renderToString } from '@vue/server-test-utils' +import { loadFixture } from '../../../test/utils' +import { vmTick } from './__utils__' + +jest.useFakeTimers() + +describe('nuxt-loading', () => { + let localVue + let Component + + beforeAll(async () => { + const config = await loadFixture('basic') + const componentDir = resolve(config.rootDir, '.nuxt/components') + + localVue = createLocalVue() + Component = (await import(resolve(componentDir, 'nuxt-loading.vue'))).default + }) + + afterEach(() => jest.clearAllTimers()) + + test('removed when not loading', () => { + const str = renderToString(Component) + expect(str).toBe('') + }) + + test('added when loading', () => { + const wrapper = mount(Component, { localVue }) + + wrapper.setData({ throttle: 0 }) + wrapper.vm.start() + + expect(wrapper.html()).toBe('
') + }) + + test('percentage changed after 1s', () => { + const wrapper = mount(Component, { localVue }) + wrapper.setData({ + duration: 1000, + throttle: 0 + }) + + wrapper.vm.start() + + jest.advanceTimersByTime(250) + + const html = wrapper.html() + expect(html).not.toBe('
') + expect(wrapper.vm.get()).not.toBe(0) + }) + + test('can be finished', async () => { + const wrapper = mount(Component, { localVue }) + + wrapper.setData({ + duration: 1000, + throttle: 0 + }) + + wrapper.vm.start() + wrapper.vm.finish() + + let html = wrapper.html() + expect(html).toBe('
') + expect(wrapper.vm.get()).toBe(100) + + jest.runAllTimers() + await vmTick(wrapper.vm) + + html = wrapper.html() + expect(html).toBeUndefined() + expect(wrapper.vm.get()).toBe(0) + }) + + test('can fail', () => { + const wrapper = mount(Component, { localVue }) + + wrapper.vm.set(50) + wrapper.vm.fail() + + const html = wrapper.html() + expect(html).toBe('
') + }) + + test('not shown until throttle', () => { + const wrapper = mount(Component, { localVue }) + + wrapper.setData({ + duration: 2000, + throttle: 1000 + }) + + wrapper.vm.start() + jest.advanceTimersByTime(250) + + let html = wrapper.html() + expect(html).toBeUndefined() + + jest.advanceTimersByTime(1000) + + html = wrapper.html() + expect(html).not.toBe('
') + expect(html).toContain('
{ + const wrapper = mount(Component, { localVue }) + + wrapper.setData({ + duration: 2000, + throttle: 0 + }) + + wrapper.vm.start() + jest.advanceTimersByTime(250) + + let html = wrapper.html() + expect(html).toContain('
{ + const wrapper = mount(Component, { localVue }) + + wrapper.setData({ + continuous: true, + duration: 500, + rtl: false, + throttle: 0 + }) + + wrapper.vm.start() + + jest.advanceTimersByTime(500) + + let html = wrapper.html() + expect(html).toBe('
') + + jest.advanceTimersByTime(250) + + html = wrapper.html() + expect(wrapper.vm.reversed).toBe(true) + expect(html).toContain('
{ - beforeAll(async () => { - const config = await loadFixture('basic') - componentDir = resolve(config.rootDir, '.nuxt/components') - }) - - describe('nuxt-loading', () => { - let VueComponent - - beforeAll(async () => { - const Component = (await import(resolve(componentDir, 'nuxt-loading.vue'))).default - VueComponent = Vue.extend(Component) - }) - - test('removed when not loading', async () => { - const component = new VueComponent().$mount() - const str = await renderToString(component) - expect(str).toBe('') - }) - - test('added when loading', async () => { - const component = new VueComponent().$mount() - component.throttle = 0 - component.start() - const str = await renderToString(component) - expect(str).toBe('
') - component.clear() - }) - - test('percentage changed after 1s', async () => { - jest.useRealTimers() - const component = new VueComponent().$mount() - component.duration = 2000 - component.throttle = 0 - component.start() - await waitFor(250) - const str = await renderToString(component) - expect(str).not.toBe('') - expect(str).not.toBe('
') - expect(component.$data.percent).not.toBe(0) - component.clear() - }) - - test('can be finished', async () => { - jest.useFakeTimers() - const component = new VueComponent().$mount() - component.throttle = 0 - component.start() - component.finish() - let str = await renderToString(component) - expect(str).toBe('
') - expect(component.$data.percent).toBe(100) - jest.runAllTimers() - str = await renderToString(component) - expect(str).toBe('') - expect(component.$data.percent).toBe(0) - component.clear() - jest.useRealTimers() - }) - - test('can fail', async () => { - const component = new VueComponent().$mount() - component.set(50) - component.fail() - const str = await renderToString(component) - expect(str).toBe('
') - }) - - test('not shown until throttle', async () => { - const component = new VueComponent().$mount() - component.duration = 2000 - component.throttle = 1000 - component.start() - await waitFor(300) - let str = await renderToString(component) - expect(str).toBe('') - await waitFor(1000) - str = await renderToString(component) - expect(str).not.toBe('') - expect(str).not.toBe('
') - component.clear() - }) - - test('can pause and resume', async () => { - const component = new VueComponent().$mount() - component.duration = 2000 - component.throttle = 0 - component.start() - await waitFor(250) - let str = await renderToString(component) - expect(str).not.toBe('') - component.pause() - await waitFor(500) - const str2 = await renderToString(component) - expect(str2).toBe(str) - component.resume() - await waitFor(500) - str = await renderToString(component) - expect(str).not.toBe('') - expect(str).not.toBe(str2) - component.clear() - }) - - test('continues after duration', async () => { - const component = new VueComponent().$mount() - component.continuous = true - component.duration = 500 - component.throttle = 0 - component.start() - await waitFor(850) - const str = await renderToString(component) - expect(str).not.toBe('') - expect(str).not.toBe('
') - expect(str).not.toBe('
') - expect(str).not.toBe('
') - expect(str).not.toBe('
') - component.clear() - }) - }) -}) diff --git a/yarn.lock b/yarn.lock index 806296fbed..cc0c47eced 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1523,6 +1523,21 @@ source-map "~0.6.1" vue-template-es2015-compiler "^1.8.2" +"@vue/server-test-utils@^1.0.0-beta.29": + version "1.0.0-beta.29" + resolved "https://registry.npmjs.org/@vue/server-test-utils/-/server-test-utils-1.0.0-beta.29.tgz#8a61a9900992b742cda7c143593db1c5e4a019bd" + integrity sha512-N6e2cixTnz7+mos0wL+R3LM/2op+f3ym1aSQYuNfksZzvX81lrQtjGr6Aszv0+1Ryms+WrqlL18Jb/MY8XyXaQ== + dependencies: + cheerio "^1.0.0-rc.2" + +"@vue/test-utils@^1.0.0-beta.29": + version "1.0.0-beta.29" + resolved "https://registry.npmjs.org/@vue/test-utils/-/test-utils-1.0.0-beta.29.tgz#c942cf25e891cf081b6a03332b4ae1ef430726f0" + integrity sha512-yX4sxEIHh4M9yAbLA/ikpEnGKMNBCnoX98xE1RwxfhQVcn0MaXNSj1Qmac+ZydTj6VBSEVukchBogXBTwc+9iA== + dependencies: + dom-event-types "^1.0.0" + lodash "^4.17.4" + "@webassemblyjs/ast@1.7.11": version "1.7.11" resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz#b988582cafbb2b095e8b556526f30c90d057cace" @@ -3912,6 +3927,11 @@ dom-converter@~0.2: dependencies: utila "~0.4" +dom-event-types@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/dom-event-types/-/dom-event-types-1.0.0.tgz#5830a0a29e1bf837fe50a70cd80a597232813cae" + integrity sha512-2G2Vwi2zXTHBGqXHsJ4+ak/iP0N8Ar+G8a7LiD2oup5o4sQWytwqqrZu/O6hIMV0KMID2PL69OhpshLO0n7UJQ== + dom-serializer@0, dom-serializer@~0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" From 960f8cab5c2fa6816564935f33a62667aaa8ed0c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 12 Feb 2019 10:48:11 +0330 Subject: [PATCH 075/221] chore(deps): update all non-major dependencies (#5009) --- distributions/nuxt-start/package.json | 2 +- package.json | 2 +- packages/builder/package.json | 2 +- packages/typescript/package.json | 2 +- packages/vue-app/package.json | 4 +- packages/vue-renderer/package.json | 4 +- yarn.lock | 95 ++++++++++++++++----------- 7 files changed, 65 insertions(+), 46 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index b44a80ec1b..c254353d21 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,7 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", - "vue": "^2.6.5", + "vue": "^2.6.6", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/package.json b/package.json index 7aad18bfe6..b264ef899f 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "jest-junit": "^6.2.1", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", - "lerna": "3.11.0", + "lerna": "3.11.1", "lodash": "^4.17.11", "node-fetch": "^2.3.0", "pug": "^2.0.3", diff --git a/packages/builder/package.json b/packages/builder/package.json index f107486a24..de9303e310 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -11,7 +11,7 @@ "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", - "chokidar": "^2.1.0", + "chokidar": "^2.1.1", "consola": "^2.4.0", "fs-extra": "^7.0.1", "glob": "^7.1.3", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 2b571e68fb..21d4759795 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.24", + "@types/node": "^10.12.25", "chalk": "^2.4.2", "consola": "^2.4.0", "enquirer": "^2.3.0", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 06cc1005f5..59c3f7df00 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,11 +12,11 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { - "vue": "^2.6.5", + "vue": "^2.6.6", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.5", + "vue-template-compiler": "^2.6.6", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index d2e319ef39..98a9e083ff 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.4.0", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.5", + "vue": "^2.6.6", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.5" + "vue-server-renderer": "^2.6.6" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index cc0c47eced..be14271285 100644 --- a/yarn.lock +++ b/yarn.lock @@ -739,16 +739,16 @@ read-package-tree "^5.1.6" semver "^5.5.0" -"@lerna/changed@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.11.0.tgz#aa164446dc175cc59b6b70f878a9ccdc52a89e4d" - integrity sha512-owUwGqinBx4YWRelPlYyz+F7TqoyZcYCRPQZG+8F16Bivof5yj3bdnuzx0xzeOSW3WNOWANiaD4rWGdo3rmjeQ== +"@lerna/changed@3.11.1": + version "3.11.1" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.11.1.tgz#d8a856f8237e37e7686d17a1e13bf4d082a3e48b" + integrity sha512-A21h3DvMjDwhksmCmTQ1+3KPHg7gHVHFs3zC5lR9W+whYlm0JI2Yp70vYnqMv2hPAcJx+2tlCrqJkzCFkNQdqg== dependencies: "@lerna/collect-updates" "3.11.0" "@lerna/command" "3.11.0" "@lerna/listable" "3.11.0" "@lerna/output" "3.11.0" - "@lerna/version" "3.11.0" + "@lerna/version" "3.11.1" "@lerna/check-working-tree@3.11.0": version "3.11.0" @@ -1138,10 +1138,10 @@ inquirer "^6.2.0" npmlog "^4.1.2" -"@lerna/publish@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.11.0.tgz#b35460bf6f472d17d756043baedb02c6f434acf0" - integrity sha512-8vdb5YOnPphIig4FCXwuLAdptFNfMcCj/TMCwtsFDQqNbeCbVABkptqjfmldVmGfcxwbkqHLH7cbazVSIGPonA== +"@lerna/publish@3.11.1": + version "3.11.1" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.11.1.tgz#06b0f646afea7f29cd820a63086692a4ac4d080e" + integrity sha512-UOvmSivuqzWoiTqoYWk+liPDZvC6O7NrT8DwoG2peRvjIPs5RKYMubwXPOrBBVVE+yX/vR6V1Y3o6vf3av52dg== dependencies: "@lerna/batch-packages" "3.11.0" "@lerna/check-working-tree" "3.11.0" @@ -1160,7 +1160,7 @@ "@lerna/run-lifecycle" "3.11.0" "@lerna/run-parallel-batches" "3.0.0" "@lerna/validation-error" "3.11.0" - "@lerna/version" "3.11.0" + "@lerna/version" "3.11.1" figgy-pudding "^3.5.1" fs-extra "^7.0.0" libnpmaccess "^3.0.1" @@ -1268,10 +1268,10 @@ dependencies: npmlog "^4.1.2" -"@lerna/version@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.11.0.tgz#84c7cb9ecbf670dc6ebb72fda9339017435b7738" - integrity sha512-J6Ffq1qU7hYwgmn7vM1QlhkBUH1wakG5wiHWv6Pk4XpCCA+PoHKTjCbpovmFIIYOI19QGYpdZV9C8dST/0aPiA== +"@lerna/version@3.11.1": + version "3.11.1" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.11.1.tgz#c4031670838ccd5e285ec481c36e8703f4d835b2" + integrity sha512-+lFq4D8BpchIslIz6jyUY6TZO1kuAgQ+G1LjaYwUBiP2SzXVWgPoPoq/9dnaSq38Hhhvlf7FF6i15d+q8gk1xQ== dependencies: "@lerna/batch-packages" "3.11.0" "@lerna/check-working-tree" "3.11.0" @@ -1419,10 +1419,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-10.12.23.tgz#308a3acdc5d1c842aeadc50b867d99c46cfae868" integrity sha512-EKhb5NveQ3NlW5EV7B0VRtDKwUfVey8LuJRl9pp5iW0se87/ZqLjG0PMf2MCzPXAJYWZN5Ltg7pHIAf9/Dm1tQ== -"@types/node@^10.12.24": - version "10.12.24" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.24.tgz#b13564af612a22a20b5d95ca40f1bffb3af315cf" - integrity sha512-GWWbvt+z9G5otRBW8rssOFgRY87J9N/qbhqfjMZ+gUuL6zoL+Hm6gP/8qQBG4jjimqdaNLCehcVapZ/Fs2WjCQ== +"@types/node@^10.12.25": + version "10.12.25" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.25.tgz#0d01a7dd6127de60d861ece4a650963042abb538" + integrity sha512-IcvnGLGSQFDvC07Bz2I8SX+QKErDZbUdiQq7S2u3XyzTyJfUmT0sWJMbeQkMzpTAkO7/N7sZpW/arUM2jfKsbQ== "@types/q@^1.5.1": version "1.5.1" @@ -2819,7 +2819,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.0: +chokidar@^2.0.2, chokidar@^2.0.4: version "2.1.0" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.0.tgz#5fcb70d0b28ebe0867eb0f09d5f6a08f29a1efa0" integrity sha512-5t6G2SH8eO6lCvYOoUpaRnF5Qfd//gd7qJAkwRUw9qlGVkiQ13uwQngqbWWaurOsaAm9+kUGbITADxt6H0XFNQ== @@ -2838,6 +2838,25 @@ chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.0: optionalDependencies: fsevents "^1.2.7" +chokidar@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.1.tgz#adc39ad55a2adf26548bd2afa048f611091f9184" + integrity sha512-gfw3p2oQV2wEt+8VuMlNsPjCxDxvvgnm/kz+uATu805mWVF8IJN7uz9DN7iBz+RMJISmiVbCOBFs9qBGMjtPfQ== + 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.0" + optionalDependencies: + fsevents "^1.2.7" + chownr@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" @@ -6772,14 +6791,14 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@3.11.0: - version "3.11.0" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.11.0.tgz#bd2542bdd8c0bdd6e71260877224cfd56530ca5d" - integrity sha512-87gFkJ/E/XtWvKrnBnixfPkroAZls7Vzfhdt42gPJYaBdXBqeJWQskGB10mr80GZTm8RmMPrC8M+t7XL1g/YQA== +lerna@3.11.1: + version "3.11.1" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.11.1.tgz#c3f86aaf6add615ffc172554657a139bc2360b9a" + integrity sha512-7an/cia9u6qVTts5PQ/adFq8QSgE7gzG1pUHhH+XKVU1seDKQ99JLu61n3/euv2qeQF+ww4WLKnFHIPa5+LJSQ== dependencies: "@lerna/add" "3.11.0" "@lerna/bootstrap" "3.11.0" - "@lerna/changed" "3.11.0" + "@lerna/changed" "3.11.1" "@lerna/clean" "3.11.0" "@lerna/cli" "3.11.0" "@lerna/create" "3.11.0" @@ -6789,9 +6808,9 @@ lerna@3.11.0: "@lerna/init" "3.11.0" "@lerna/link" "3.11.0" "@lerna/list" "3.11.0" - "@lerna/publish" "3.11.0" + "@lerna/publish" "3.11.1" "@lerna/run" "3.11.0" - "@lerna/version" "3.11.0" + "@lerna/version" "3.11.1" import-local "^1.0.0" npmlog "^4.1.2" @@ -11355,10 +11374,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.5: - version "2.6.5" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.5.tgz#0a9f4f75cd7aeebbac628f45d8ccded07491ba70" - integrity sha512-nNfJ/u3wqaFOrqY9lAaUURcjEwd6MY9xiQXRPygYkigLdAEo6E5WI720BXd25Vno0C1G/yFvTl6J/r7CgeRq1Q== +vue-server-renderer@^2.6.6: + version "2.6.6" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.6.tgz#a2b1174cf1914817147b34789cc1a6baa0672aa1" + integrity sha512-dJ4IrIilS3nhxpOrR12+IKGu9Meg8L0t/W/e/UNSXKyh9EkwDqFPK0nZTfGPudXzr9FMQfg2hK6p2RMydPRU2Q== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11377,10 +11396,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.5: - version "2.6.5" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.5.tgz#2e3b4f20cdfa2a54a48895d97a5b711d0e7ad81c" - integrity sha512-7X/KZCqGulQ8KbysFd46cUnVzwvba7JxoPKA2TvVrO61/x0pIBqR17raV+ycnfUI4NYshhiNqH/3Db5NXErSdg== +vue-template-compiler@^2.6.6: + version "2.6.6" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.6.tgz#a807acbf3d51971d3721d75ecb1b927b517c1a02" + integrity sha512-OakxDGyrmMQViCjkakQFbDZlG0NibiOzpLauOfyCUVRQc9yPmTqpiz9nF0VeA+dFkXegetw0E5x65BFhhLXO0A== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11390,10 +11409,10 @@ vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.6.5: - version "2.6.5" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.5.tgz#7a7e8723b875b91800e576aac41cb3ed325dddf0" - integrity sha512-htb449YZnpJ5ts+JjXQHVuvH3R3dcaGBe6/ePAwtsRj4cA1FG/OI0rHDCSMs+L9ZHDzpX7ru//Usb/2R3XfQaQ== +vue@^2.6.6: + version "2.6.6" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.6.tgz#dde41e483c11c46a7bf523909f4f2f816ab60d25" + integrity sha512-Y2DdOZD8sxApS+iUlwv1v8U1qN41kq6Kw45lM6nVZKhygeWA49q7VCCXkjXqeDBXgurrKWkYQ9cJeEJwAq0b9Q== vuex@^3.1.0: version "3.1.0" From 6d90ec2a50a4016a261371e986e9bdd43244841c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 12 Feb 2019 11:44:29 +0330 Subject: [PATCH 076/221] chore(deps): update dependency consola to ^2.4.1 (#5012) --- package.json | 2 +- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/package.json | 2 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 13 ++++++++++++- 12 files changed, 23 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index b264ef899f..3266c9755d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.1.0", - "consola": "^2.4.0", + "consola": "^2.4.1", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.13.0", diff --git a/packages/builder/package.json b/packages/builder/package.json index de9303e310..6532389e37 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", "chokidar": "^2.1.1", - "consola": "^2.4.0", + "consola": "^2.4.1", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 987764e099..ebecf44d20 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@nuxt/config": "2.4.3", "boxen": "^2.1.0", "chalk": "^2.4.2", - "consola": "^2.4.0", + "consola": "^2.4.1", "esm": "^3.2.4", "execa": "^1.0.0", "exit": "^0.1.2", diff --git a/packages/config/package.json b/packages/config/package.json index c05bf31314..2fe485eaff 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -9,7 +9,7 @@ "main": "dist/config.js", "dependencies": { "@nuxt/utils": "2.4.3", - "consola": "^2.4.0", + "consola": "^2.4.1", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index f9752b41e3..4aa5b778fc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "@nuxt/server": "2.4.3", "@nuxt/utils": "2.4.3", "@nuxt/vue-renderer": "2.4.3", - "consola": "^2.4.0", + "consola": "^2.4.1", "debug": "^4.1.1", "esm": "^3.2.4", "fs-extra": "^7.0.1", diff --git a/packages/generator/package.json b/packages/generator/package.json index 116ed14d8e..43ce35d3cd 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.3", "chalk": "^2.4.2", - "consola": "^2.4.0", + "consola": "^2.4.1", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index 8c21ee4325..de1c372661 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.3", "connect": "^3.6.6", - "consola": "^2.4.0", + "consola": "^2.4.1", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 21d4759795..ef79da366c 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/node": "^10.12.25", "chalk": "^2.4.2", - "consola": "^2.4.0", + "consola": "^2.4.1", "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index 170fed2b40..b07c5bf45f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.4.0", + "consola": "^2.4.1", "serialize-javascript": "^1.6.1" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 98a9e083ff..b5c00ef2c7 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", - "consola": "^2.4.0", + "consola": "^2.4.1", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.6", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 745c063fbd..73388d4874 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -17,7 +17,7 @@ "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000936", "chalk": "^2.4.2", - "consola": "^2.4.0", + "consola": "^2.4.1", "css-loader": "^2.1.0", "cssnano": "^4.1.8", "eventsource-polyfill": "^0.9.6", diff --git a/yarn.lock b/yarn.lock index be14271285..684a45b711 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3149,7 +3149,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.0: +consola@^2.0.0-1, consola@^2.3.0: version "2.4.0" resolved "https://registry.npmjs.org/consola/-/consola-2.4.0.tgz#d13c711cd0648a600ca68b399b739cf8f5058097" integrity sha512-fy9j1unXm/bXgk6dPMnwktTJqkAPgm/s28k+wZ/O7XeVgGXDPRXu/hcE12I68iqjk63W6No1J6TQlHQQOMIVhA== @@ -3160,6 +3160,17 @@ consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.0: std-env "^2.2.1" string-width "^3.0.0" +consola@^2.4.1: + version "2.4.1" + resolved "https://registry.npmjs.org/consola/-/consola-2.4.1.tgz#ad7209c306a2b6fa955b776f88f87bf92f491aa8" + integrity sha512-j6bIzpmyRGY2TDZVkAi3DM95CgC8hWx1A7AiJdyn4X5gls1bbpXIMpn3p8QsfaNu+ycNLXP+2DwKb47FXjw1ww== + dependencies: + chalk "^2.4.2" + dayjs "^1.8.3" + figures "^2.0.0" + std-env "^2.2.1" + string-width "^3.0.0" + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" From 8678d0d6ab0187113f7432dd9b56bc09f99c69d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 12 Feb 2019 14:03:55 +0330 Subject: [PATCH 077/221] chore(deps): update dependency webpack-bundle-analyzer to ^3.0.4 (#5015) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 73388d4874..8f6cfc25f5 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -45,7 +45,7 @@ "url-loader": "^1.1.2", "vue-loader": "^15.6.2", "webpack": "^4.29.3", - "webpack-bundle-analyzer": "^3.0.3", + "webpack-bundle-analyzer": "^3.0.4", "webpack-dev-middleware": "^3.5.2", "webpack-hot-middleware": "^2.24.3", "webpack-node-externals": "^1.7.2", diff --git a/yarn.lock b/yarn.lock index 684a45b711..0c3e5e3106 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11482,10 +11482,10 @@ webidl-conversions@^4.0.2: resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -webpack-bundle-analyzer@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.0.3.tgz#dbc7fff8f52058b6714a20fddf309d0790e3e0a0" - integrity sha512-naLWiRfmtH4UJgtUktRTLw6FdoZJ2RvCR9ePbwM9aRMsS/KjFerkPZG9epEvXRAw5d5oPdrs9+3p+afNjxW8Xw== +webpack-bundle-analyzer@^3.0.4: + version "3.0.4" + resolved "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.0.4.tgz#095638487a664162f19e3b2fb7e621b7002af4b8" + integrity sha512-ggDUgtKuQki4vmc93Ej65GlYxeCUR/0THa7gA+iqAGC2FFAxO+r+RM9sAUa8HWdw4gJ3/NZHX/QUcVgRjdIsDg== dependencies: acorn "^5.7.3" bfj "^6.1.1" From 90ba0cd6b727719d2ec25dc227d9744135cc9ec0 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Tue, 12 Feb 2019 13:05:37 +0000 Subject: [PATCH 078/221] feat: upgrade to jest 24 (#4868) --- .gitignore | 4 - azure-pipelines.yml | 10 +- examples/jest-vtu-example/package.json | 5 +- jest.config.js | 11 +- package.json | 8 +- test/unit/sockets.test.js | 4 +- yarn.lock | 1270 +++++++++--------------- 7 files changed, 492 insertions(+), 820 deletions(-) diff --git a/.gitignore b/.gitignore index f8050cf3e4..c8e59b2a3b 100644 --- a/.gitignore +++ b/.gitignore @@ -54,7 +54,3 @@ coverage Network Trash Folder Temporary Items .apdisk - -# Junit report from jest-junit -*junit.xml - diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73db5a67a7..30703f5a4f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,15 +20,9 @@ steps: displayName: 'Install dependencies' - script: | - set JEST_JUNIT_OUTPUT=test-fixtures-junit.xml && set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:fixtures -i + set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:fixtures -i displayName: 'Test: Build Fixtures' - script: | - set JEST_JUNIT_OUTPUT=test-unit-junit.xml && set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:unit -w=2 + set NODE_OPTIONS=--max_old_space_size=4096 && yarn test:unit -w=2 displayName: 'Test: Run unit tests' - -- task: PublishTestResults@2 - inputs: - testResultsFormat: 'JUnit' - testResultsFiles: 'test-*.xml' - displayName: 'Publish test results to Azure Pipelines' diff --git a/examples/jest-vtu-example/package.json b/examples/jest-vtu-example/package.json index d4956fbfae..f8c89605a9 100644 --- a/examples/jest-vtu-example/package.json +++ b/examples/jest-vtu-example/package.json @@ -14,9 +14,8 @@ "devDependencies": { "@babel/core": "^7.1.2", "@vue/test-utils": "^1.0.0-beta.25", - "babel-core": "^7.0.0-bridge.0", - "babel-jest": "^23.6.0", - "jest": "^23.6.0", + "babel-jest": "^24.0.0", + "jest": "^24.0.0", "jest-serializer-vue": "^2.0.2", "vue-jest": "^3.0.2" }, diff --git a/jest.config.js b/jest.config.js index bffe47ee75..f19c4a73a1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,8 +9,7 @@ module.exports = { // But its performance overhead is pretty bad (30+%). // detectOpenHandles: true - // setupFilesAfterEnv: ['./test/utils/setup'], - setupTestFrameworkScriptFile: './test/utils/setup', + setupFilesAfterEnv: ['./test/utils/setup'], coverageDirectory: './coverage', @@ -36,16 +35,12 @@ module.exports = { transform: { '^.+\\.ts$': 'ts-jest', '^.+\\.js$': 'babel-jest', - '.*\\.(vue)$': 'vue-jest' + '^.+\\.vue$': 'vue-jest' }, moduleFileExtensions: [ 'ts', 'js', 'json' - ], - - reporters: [ - 'default' - ].concat(process.env.JEST_JUNIT_OUTPUT ? ['jest-junit'] : []) + ] } diff --git a/package.json b/package.json index 3266c9755d..300a772017 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,8 @@ "@nuxtjs/eslint-config": "^0.0.1", "@vue/server-test-utils": "^1.0.0-beta.29", "@vue/test-utils": "^1.0.0-beta.29", - "babel-core": "^7.0.0-bridge", "babel-eslint": "^10.0.1", - "babel-jest": "^23.6.0", + "babel-jest": "^24.1.0", "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.1.0", @@ -56,8 +55,7 @@ "get-port": "^4.1.0", "glob": "^7.1.3", "is-wsl": "^1.1.0", - "jest": "^23.6.0", - "jest-junit": "^6.2.1", + "jest": "^24.1.0", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", "lerna": "3.11.1", @@ -82,7 +80,7 @@ "ts-loader": "^5.3.3", "tslint": "^5.12.1", "typescript": "^3.3.3", - "vue-jest": "^3.0.3", + "vue-jest": "^4.0.0-0", "vue-property-decorator": "^7.3.0" }, "repository": { diff --git a/test/unit/sockets.test.js b/test/unit/sockets.test.js index 2b2bd5bf90..607a349c7a 100644 --- a/test/unit/sockets.test.js +++ b/test/unit/sockets.test.js @@ -1,11 +1,9 @@ import { loadFixture, Nuxt } from '../utils' -let nuxt = null - describe.posix('basic sockets', () => { test('/', async () => { const options = await loadFixture('sockets') - nuxt = new Nuxt(options) + const nuxt = new Nuxt(options) await nuxt.server.listen() const { html } = await nuxt.server.renderRoute('/') diff --git a/yarn.lock b/yarn.lock index 0c3e5e3106..dbf5b9594b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,14 +2,14 @@ # yarn lockfile v1 -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.0.0-beta.35": +"@babel/code-frame@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.2.2": +"@babel/core@^7.1.0", "@babel/core@^7.2.2": version "7.2.2" resolved "https://registry.npmjs.org/@babel/core/-/core-7.2.2.tgz#07adba6dde27bb5ad8d8672f15fde3e08184a687" integrity sha512-59vB0RWt09cAct5EIe58+NzGP4TFSD3Bz//2/ELy3ZeTeKF6VTD1AXlH8BGGbCX0PuobZBsIzO7IAI9PH67eKw== @@ -29,7 +29,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.2.2": +"@babel/generator@^7.0.0", "@babel/generator@^7.2.2": version "7.3.2" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.2.tgz#fff31a7b2f2f3dad23ef8e01be45b0d5c2fc0132" integrity sha512-f3QCuPppXxtZOEm5GWPra/uYUjmNQlu9pbAD8D/9jze4pTY83rTtB1igTBSwvkeNlC5gR24zFFkz+2WHLFQhqQ== @@ -323,7 +323,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-object-rest-spread@^7.2.0": +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.2.0": version "7.2.0" resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e" integrity sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA== @@ -646,7 +646,7 @@ dependencies: regenerator-runtime "^0.12.0" -"@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2": +"@babel/template@^7.0.0", "@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2": version "7.2.2" resolved "https://registry.npmjs.org/@babel/template/-/template-7.2.2.tgz#005b3fdf0ed96e88041330379e0da9a708eb2907" integrity sha512-zRL0IMM02AUDwghf5LMSSDEz7sBCO2YnNmpg3uWTZj/v1rcG2BmQUvaGU8GhU8BvfMh1k2KIAYZ7Ji9KXPUg7g== @@ -1368,9 +1368,9 @@ url-template "^2.0.8" "@octokit/plugin-enterprise-rest@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.1.0.tgz#e5fa5213627a8910fd151fab2934594e66fce8fd" - integrity sha512-Rx7hpUsLt4MBgEuKiRFi+NNzKTeo/3YXveEDFD2xuNFmPTtgJLx580/C1Sci83kBFkMWXf6Sk57ZrBG+f5jWIw== + version "2.1.1" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.1.1.tgz#ee7b245aada06d3ffdd409205ad1b891107fee0b" + integrity sha512-DJNXHH0LptKCLpJ8y3vCA/O+s+3/sDU4JNN2V0M04tsMN0hVGLPzoGgejPJgaxGP8Il5aw+jA5Nl5mTfdt9NrQ== "@octokit/request@2.3.0": version "2.3.0" @@ -1414,10 +1414,10 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*", "@types/node@^10.11.7": - version "10.12.23" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.23.tgz#308a3acdc5d1c842aeadc50b867d99c46cfae868" - integrity sha512-EKhb5NveQ3NlW5EV7B0VRtDKwUfVey8LuJRl9pp5iW0se87/ZqLjG0PMf2MCzPXAJYWZN5Ltg7pHIAf9/Dm1tQ== +"@types/node@*": + version "11.9.0" + resolved "https://registry.npmjs.org/@types/node/-/node-11.9.0.tgz#35fea17653490dab82e1d5e69731abfdbf13160d" + integrity sha512-ry4DOrC+xenhQbzk1iIPzCZGhhPGEFv7ia7Iu6XXSLVluiJIe9FfG7Iu3mObH9mpxEXCWLCMU4JWbCCR9Oy1Zg== "@types/node@^10.12.25": version "10.12.25" @@ -1429,21 +1429,6 @@ resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" integrity sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA== -"@types/semver@^5.5.0": - version "5.5.0" - resolved "https://registry.npmjs.org/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45" - integrity sha512-41qEJgBH/TWgo5NFSvBCJ1qkoi3Q6ONSF2avrHq1LVEZfYpdHmj0y9SuTK+u9ZhG1sYQKBL1AWXKyLWP4RaUoQ== - -"@types/strip-bom@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@types/strip-bom/-/strip-bom-3.0.0.tgz#14a8ec3956c2e81edb7520790aecf21c290aebd2" - integrity sha1-FKjsOVbC6B7bdSB5CuzyHCkK69I= - -"@types/strip-json-comments@0.0.30": - version "0.0.30" - resolved "https://registry.npmjs.org/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz#9aa30c04db212a9a0649d6ae6fd50accc40748a1" - integrity sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ== - "@vue/babel-helper-vue-jsx-merge-props@^1.0.0-beta.2": version "1.0.0-beta.2" resolved "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0-beta.2.tgz#f3e20d77b89ddb7a4b9b7a75372f05cd3ac22d92" @@ -1508,7 +1493,7 @@ "@vue/babel-plugin-transform-vue-jsx" "^1.0.0-beta.2" camelcase "^5.0.0" -"@vue/component-compiler-utils@^2.5.1": +"@vue/component-compiler-utils@^2.4.0", "@vue/component-compiler-utils@^2.5.1": version "2.5.2" resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.5.2.tgz#a8d57e773354ab10e4742c7d6a8dd86184d4d7be" integrity sha512-3exq9O89GXo9E+CGKzgURCbasG15FtFMs8QRrCUVWGaKue4Egpw41MHb3Avtikv1VykKfBq3FvAnf9Nx3sdVJg== @@ -1787,14 +1772,14 @@ ajv-errors@^1.0.0: integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== ajv-keywords@^3.1.0: - version "3.3.0" - resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.3.0.tgz#cb6499da9b83177af8bc1732b2f0a1a1a3aacf8c" - integrity sha512-CMzN9S62ZOO4sA/mJZIO4S++ZM7KFWzH3PPWkveLhy4OZ9i1/VatgwWMD46w/XbGCBy7Ye0gCk+Za6mmyfKK7g== + version "3.4.0" + resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d" + integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw== -ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1: - version "6.8.1" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.8.1.tgz#0890b93742985ebf8973cd365c5b23920ce3cb20" - integrity sha512-eqxCp82P+JfqL683wwsL73XmFs1eG6qjw+RD3YHx+Jll1r0jNd4dh8QG9NYAeNGA/hnZjeEDgtTskgJULbxpWQ== +ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.9.1: + version "6.9.1" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz#a4d3683d74abc5670e75f0b16520f70a20ea8dc1" + integrity sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" @@ -1872,12 +1857,12 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -append-transform@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" - integrity sha1-126/jKlNJ24keja61EpLdKthGZE= +append-transform@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/append-transform/-/append-transform-1.0.0.tgz#046a52ae582a228bd72f58acfbe2967c678759ab" + integrity sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw== dependencies: - default-require-extensions "^1.0.0" + default-require-extensions "^2.0.0" aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" @@ -2056,7 +2041,7 @@ async-limiter@~1.0.0: resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== -async@^2.1.4, async@^2.3.0, async@^2.5.0: +async@^2.3.0, async@^2.5.0, async@^2.6.1: version "2.6.1" resolved "https://registry.npmjs.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== @@ -2095,7 +2080,7 @@ aws4@^1.8.0: resolved "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== -babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: +babel-code-frame@^6.22.0: version "6.26.0" resolved "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= @@ -2104,36 +2089,6 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-core@^6.0.0, babel-core@^6.26.0: - version "6.26.3" - resolved "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" - integrity sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA== - dependencies: - babel-code-frame "^6.26.0" - babel-generator "^6.26.0" - babel-helpers "^6.24.1" - babel-messages "^6.23.0" - babel-register "^6.26.0" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - convert-source-map "^1.5.1" - debug "^2.6.9" - json5 "^0.5.1" - lodash "^4.17.4" - minimatch "^3.0.4" - path-is-absolute "^1.0.1" - private "^0.1.8" - slash "^1.0.0" - source-map "^0.5.7" - -babel-core@^7.0.0-bridge: - version "7.0.0-bridge.0" - resolved "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - babel-eslint@^10.0.1: version "10.0.1" resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.0.1.tgz#919681dc099614cd7d31d45c8908695092a1faed" @@ -2146,35 +2101,15 @@ babel-eslint@^10.0.1: eslint-scope "3.7.1" eslint-visitor-keys "^1.0.0" -babel-generator@^6.18.0, babel-generator@^6.26.0: - version "6.26.1" - resolved "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" - integrity sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA== +babel-jest@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-24.1.0.tgz#441e23ef75ded3bd547e300ac3194cef87b55190" + integrity sha512-MLcagnVrO9ybQGLEfZUqnOzv36iQzU7Bj4elm39vCukumLVSfoX+tRy3/jW7lUKc7XdpRmB/jech6L/UCsSZjw== dependencies: - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - detect-indent "^4.0.0" - jsesc "^1.3.0" - lodash "^4.17.4" - source-map "^0.5.7" - trim-right "^1.0.1" - -babel-helpers@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" - integrity sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI= - dependencies: - babel-runtime "^6.22.0" - babel-template "^6.24.1" - -babel-jest@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-23.6.0.tgz#a644232366557a2240a0c083da6b25786185a2f1" - integrity sha512-lqKGG6LYXYu+DQh/slrQ8nxXQkEkhugdXsU6St7GmhVS7Ilc/22ArwqXNJrf0QaOBjZB0360qZMwXqDYQHXaew== - dependencies: - babel-plugin-istanbul "^4.1.6" - babel-preset-jest "^23.2.0" + babel-plugin-istanbul "^5.1.0" + babel-preset-jest "^24.1.0" + chalk "^2.4.2" + slash "^2.0.0" babel-loader@^8.0.5: version "8.0.5" @@ -2186,13 +2121,6 @@ babel-loader@^8.0.5: mkdirp "^0.5.1" util.promisify "^1.0.0" -babel-messages@^6.23.0: - version "6.23.0" - resolved "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" - integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= - dependencies: - babel-runtime "^6.22.0" - babel-plugin-dynamic-import-node@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.2.0.tgz#c0adfb07d95f4a4495e9aaac6ec386c4d7c2524e" @@ -2200,66 +2128,29 @@ babel-plugin-dynamic-import-node@^2.2.0: dependencies: object.assign "^4.1.0" -babel-plugin-istanbul@^4.1.6: - version "4.1.6" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45" - integrity sha512-PWP9FQ1AhZhS01T/4qLSKoHGY/xvkZdVBGlKM/HuxxS3+sC66HhTNR7+MpbO/so/cz/wY94MeSWJuP1hXIPfwQ== +babel-plugin-istanbul@^5.1.0: + version "5.1.0" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.0.tgz#6892f529eff65a3e2d33d87dc5888ffa2ecd4a30" + integrity sha512-CLoXPRSUWiR8yao8bShqZUIC6qLfZVVY3X1wj+QPNXu0wfmrRRfarh1LYy+dYMVI+bDj0ghy3tuqFFRFZmL1Nw== dependencies: - babel-plugin-syntax-object-rest-spread "^6.13.0" - find-up "^2.1.0" - istanbul-lib-instrument "^1.10.1" - test-exclude "^4.2.1" + find-up "^3.0.0" + istanbul-lib-instrument "^3.0.0" + test-exclude "^5.0.0" -babel-plugin-jest-hoist@^23.2.0: - version "23.2.0" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.2.0.tgz#e61fae05a1ca8801aadee57a6d66b8cefaf44167" - integrity sha1-5h+uBaHKiAGq3uV6bWa4zvr0QWc= +babel-plugin-jest-hoist@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.1.0.tgz#dfecc491fb15e2668abbd690a697a8fd1411a7f8" + integrity sha512-gljYrZz8w1b6fJzKcsfKsipSru2DU2DmQ39aB6nV3xQ0DDv3zpIzKGortA5gknrhNnPN8DweaEgrnZdmbGmhnw== -babel-plugin-syntax-object-rest-spread@^6.13.0: - version "6.13.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" - integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= - -babel-plugin-transform-es2015-modules-commonjs@^6.26.0: - version "6.26.2" - resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3" - integrity sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q== +babel-preset-jest@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.1.0.tgz#83bc564fdcd4903641af65ec63f2f5de6b04132e" + integrity sha512-FfNLDxFWsNX9lUmtwY7NheGlANnagvxq8LZdl5PKnVG3umP+S/g0XbVBfwtA4Ai3Ri/IMkWabBz3Tyk9wdspcw== dependencies: - babel-plugin-transform-strict-mode "^6.24.1" - babel-runtime "^6.26.0" - babel-template "^6.26.0" - babel-types "^6.26.0" + "@babel/plugin-syntax-object-rest-spread" "^7.0.0" + babel-plugin-jest-hoist "^24.1.0" -babel-plugin-transform-strict-mode@^6.24.1: - version "6.24.1" - resolved "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" - integrity sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g= - dependencies: - babel-runtime "^6.22.0" - babel-types "^6.24.1" - -babel-preset-jest@^23.2.0: - version "23.2.0" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-23.2.0.tgz#8ec7a03a138f001a1a8fb1e8113652bf1a55da46" - integrity sha1-jsegOhOPABoaj7HoETZSvxpV2kY= - dependencies: - babel-plugin-jest-hoist "^23.2.0" - babel-plugin-syntax-object-rest-spread "^6.13.0" - -babel-register@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" - integrity sha1-btAhFz4vy0htestFxgCahW9kcHE= - dependencies: - babel-core "^6.26.0" - babel-runtime "^6.26.0" - core-js "^2.5.0" - home-or-tmp "^2.0.0" - lodash "^4.17.4" - mkdirp "^0.5.1" - source-map-support "^0.4.15" - -babel-runtime@^6.22.0, babel-runtime@^6.26.0: +babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= @@ -2267,33 +2158,7 @@ babel-runtime@^6.22.0, babel-runtime@^6.26.0: core-js "^2.4.0" regenerator-runtime "^0.11.0" -babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" - integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI= - dependencies: - babel-runtime "^6.26.0" - babel-traverse "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - lodash "^4.17.4" - -babel-traverse@^6.0.0, babel-traverse@^6.18.0, babel-traverse@^6.26.0: - version "6.26.0" - resolved "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" - integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= - dependencies: - babel-code-frame "^6.26.0" - babel-messages "^6.23.0" - babel-runtime "^6.26.0" - babel-types "^6.26.0" - babylon "^6.18.0" - debug "^2.6.8" - globals "^9.18.0" - invariant "^2.2.2" - lodash "^4.17.4" - -babel-types@^6.0.0, babel-types@^6.18.0, babel-types@^6.24.1, babel-types@^6.26.0: +babel-types@^6.26.0: version "6.26.0" resolved "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= @@ -2740,12 +2605,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: - version "1.0.30000935" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000935.tgz#d1b59df00b46f4921bb84a8a34c1d172b346df59" - integrity sha512-1Y2uJ5y56qDt3jsDTdBHL1OqiImzjoQcBG6Yl3Qizq8mcc2SgCFpi+ZwLLqkztYnk9l87IYqRlNBnPSOTbFkXQ== - -caniuse-lite@^1.0.30000936: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000936: version "1.0.30000936" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000936.tgz#5d33b118763988bf721b9b8ad436d0400e4a116b" integrity sha512-orX4IdpbFhdNO7bTBhSbahp1EBpqzBc+qrvTRVUFfZgA4zta7TdM6PN5ZxkEUgDnz36m+PfWGcdX7AVfFWItJw== @@ -2819,26 +2679,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4: - version "2.1.0" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.0.tgz#5fcb70d0b28ebe0867eb0f09d5f6a08f29a1efa0" - integrity sha512-5t6G2SH8eO6lCvYOoUpaRnF5Qfd//gd7qJAkwRUw9qlGVkiQ13uwQngqbWWaurOsaAm9+kUGbITADxt6H0XFNQ== - 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.0" - optionalDependencies: - fsevents "^1.2.7" - -chokidar@^2.1.1: +chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.1.tgz#adc39ad55a2adf26548bd2afa048f611091f9184" integrity sha512-gfw3p2oQV2wEt+8VuMlNsPjCxDxvvgnm/kz+uATu805mWVF8IJN7uz9DN7iBz+RMJISmiVbCOBFs9qBGMjtPfQ== @@ -2874,6 +2715,11 @@ ci-info@^1.5.0, ci-info@^1.6.0: resolved "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -2949,11 +2795,6 @@ cliui@^4.0.0: strip-ansi "^4.0.0" wrap-ansi "^2.0.0" -clone@2.x: - version "2.1.2" - resolved "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" - integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= - clone@^1.0.2: version "1.0.4" resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" @@ -3068,7 +2909,7 @@ commander@2.17.x, commander@~2.17.1: resolved "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== -commander@^2.12.1, commander@^2.18.0, commander@^2.19.0: +commander@^2.12.1, commander@^2.18.0: version "2.19.0" resolved "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== @@ -3091,6 +2932,11 @@ compare-func@^1.3.1: array-ify "^1.0.0" dot-prop "^3.0.0" +compare-versions@^3.2.1: + version "3.4.0" + resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.4.0.tgz#e0747df5c9cb7f054d6d3dc3e1dbc444f9e92b26" + integrity sha512-tK69D7oNXXqUW3ZNo/z7NXTEz22TCF0pTE+YF9cxvaAM9XnkLo1fV621xCLrRR6aevJlKxExkss0vWqUCUpqdg== + component-emitter@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" @@ -3131,7 +2977,7 @@ concat-stream@1.6.2, concat-stream@^1.5.0, concat-stream@^1.6.0: readable-stream "^2.2.2" typedarray "^0.0.6" -config-chain@^1.1.11, config-chain@^1.1.12: +config-chain@^1.1.11: version "1.1.12" resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" integrity sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA== @@ -3149,18 +2995,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0: - version "2.4.0" - resolved "https://registry.npmjs.org/consola/-/consola-2.4.0.tgz#d13c711cd0648a600ca68b399b739cf8f5058097" - integrity sha512-fy9j1unXm/bXgk6dPMnwktTJqkAPgm/s28k+wZ/O7XeVgGXDPRXu/hcE12I68iqjk63W6No1J6TQlHQQOMIVhA== - dependencies: - chalk "^2.4.2" - dayjs "^1.8.3" - figures "^2.0.0" - std-env "^2.2.1" - string-width "^3.0.0" - -consola@^2.4.1: +consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.1: version "2.4.1" resolved "https://registry.npmjs.org/consola/-/consola-2.4.1.tgz#ad7209c306a2b6fa955b776f88f87bf92f491aa8" integrity sha512-j6bIzpmyRGY2TDZVkAi3DM95CgC8hWx1A7AiJdyn4X5gls1bbpXIMpn3p8QsfaNu+ycNLXP+2DwKb47FXjw1ww== @@ -3303,7 +3138,7 @@ conventional-recommended-bump@^4.0.4: meow "^4.0.0" q "^1.5.1" -convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.1: +convert-source-map@^1.1.0, convert-source-map@^1.4.0: version "1.6.0" resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20" integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A== @@ -3337,7 +3172,7 @@ copy-descriptor@^0.1.0: resolved "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7: +core-js@^2.4.0, core-js@^2.5.7: version "2.6.4" resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz#b8897c062c4d769dd30a0ac5c73976c47f92ea0d" integrity sha512-05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A== @@ -3772,7 +3607,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.0.0, decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -3802,12 +3637,12 @@ deepmerge@3.1.0, deepmerge@^3.0.0: resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.1.0.tgz#a612626ce4803da410d77554bfd80361599c034d" integrity sha512-/TnecbwXEdycfbsM2++O3eGiatEFHjjNciHEwJclM+T5Kd94qD1AP+2elP/Mq0L5b9VZJao5znR01Mz6eX8Seg== -default-require-extensions@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" - integrity sha1-836hXT4T/9m0N9M+GnW1+5eHTLg= +default-require-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz#f5f8fbb18a7d6d50b21f641f649ebb522cfe24f7" + integrity sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc= dependencies: - strip-bom "^2.0.0" + strip-bom "^3.0.0" defaults@^1.0.3: version "1.0.3" @@ -3878,13 +3713,6 @@ destroy@~1.0.4: resolved "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= -detect-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" - integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg= - dependencies: - repeating "^2.0.0" - detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -3908,6 +3736,11 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" +diff-sequences@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.0.0.tgz#cdf8e27ed20d8b8d3caccb4e0c0d8fe31a173013" + integrity sha512-46OkIuVGBBnrC0soO/4LHu5LHGHx0uhP65OVz8XOrAJpqiCB2aVIuESvjI1F9oqebuvY8lekS1pt6TN7vt7qsw== + diff@^3.1.0, diff@^3.2.0: version "3.5.0" resolved "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" @@ -4066,18 +3899,6 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -editorconfig@^0.15.2: - version "0.15.2" - resolved "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.2.tgz#047be983abb9ab3c2eefe5199cb2b7c5689f0702" - integrity sha512-GWjSI19PVJAM9IZRGOS+YKI8LN+/sjkSjNyvxL5ucqP9/IqtYNXBaQ/6c/hkPNYQHyOHra2KoXZI/JVpuqwmcQ== - dependencies: - "@types/node" "^10.11.7" - "@types/semver" "^5.5.0" - commander "^2.19.0" - lru-cache "^4.1.3" - semver "^5.6.0" - sigmund "^1.0.1" - ee-first@1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" @@ -4566,17 +4387,16 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -expect@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/expect/-/expect-23.6.0.tgz#1e0c8d3ba9a581c87bd71fb9bc8862d443425f98" - integrity sha512-dgSoOHgmtn/aDGRVFWclQyPDKl2CQRq0hmIEoUAuQs/2rn2NcvCWcSCovm6BLeuB/7EZuLGu2QfnR+qRt5OM4w== +expect@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/expect/-/expect-24.1.0.tgz#88e73301c4c785cde5f16da130ab407bdaf8c0f2" + integrity sha512-lVcAPhaYkQcIyMS+F8RVwzbm1jro20IG8OkvxQ6f1JfqhVZyyudCwYogQ7wnktlf14iF3ii7ArIUO/mqvrW9Gw== dependencies: ansi-styles "^3.2.0" - jest-diff "^23.6.0" - jest-get-type "^22.1.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" + jest-get-type "^24.0.0" + jest-matcher-utils "^24.0.0" + jest-message-util "^24.0.0" + jest-regex-util "^24.0.0" express@^4.16.3, express@^4.16.4: version "4.16.4" @@ -4781,7 +4601,7 @@ filename-regex@^2.0.0: resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= -fileset@^2.0.2: +fileset@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" integrity sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA= @@ -4841,14 +4661,6 @@ finalhandler@1.1.1, finalhandler@^1.1.1: statuses "~1.4.0" unpipe "~1.0.0" -find-babel-config@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/find-babel-config/-/find-babel-config-1.1.0.tgz#acc01043a6749fec34429be6b64f542ebb5d6355" - integrity sha1-rMAQQ6Z0n+w0Qpvmtk9ULrtdY1U= - dependencies: - json5 "^0.5.1" - path-exists "^3.0.0" - find-cache-dir@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" @@ -5198,14 +5010,9 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: path-is-absolute "^1.0.0" globals@^11.1.0, globals@^11.7.0: - version "11.10.0" - resolved "https://registry.npmjs.org/globals/-/globals-11.10.0.tgz#1e09776dffda5e01816b3bb4077c8b59c24eaa50" - integrity sha512-0GZF1RiPKU97IHUO5TORo9w1PwrH/NBPl+fS7oMLdaTRiYmYbwK4NWoZWrAdd0/abG9R2BU+OiwyQpTpE6pdfQ== - -globals@^9.18.0: - version "9.18.0" - resolved "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" - integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== + version "11.11.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz#dcf93757fa2de5486fbeed7118538adf789e9c2e" + integrity sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw== globby@^8.0.1: version "8.0.2" @@ -5238,7 +5045,7 @@ gzip-size@^5.0.0: duplexer "^0.1.1" pify "^3.0.0" -handlebars@^4.0.2, handlebars@^4.0.3: +handlebars@^4.0.11, handlebars@^4.0.2: version "4.1.0" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== @@ -5288,11 +5095,6 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5386,14 +5188,6 @@ hmac-drbg@^1.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -home-or-tmp@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" - integrity sha1-42w/LSyufXRqhX440Y1fMqeILbg= - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.1" - home-or-tmp@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz#57a8fe24cf33cdd524860a15821ddc25c86671fb" @@ -5637,6 +5431,14 @@ import-local@^1.0.0: pkg-dir "^2.0.0" resolve-cwd "^2.0.0" +import-local@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" + integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== + dependencies: + pkg-dir "^3.0.0" + resolve-cwd "^2.0.0" + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -5727,11 +5529,6 @@ 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.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" - integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY= - invert-kv@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" @@ -5805,6 +5602,13 @@ is-ci@^1.0.10: dependencies: ci-info "^1.5.0" +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + is-color-stop@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" @@ -5920,10 +5724,10 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= -is-generator-fn@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" - integrity sha1-lp1J4bszKfa7fwkIm+JleLLd1Go= +is-generator-fn@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.0.0.tgz#038c31b774709641bda678b1f06a4e3227c10b3e" + integrity sha512-elzyIdM7iKoFHzcrndIqjYomImhxrFRnGP3galODoII4TB9gI7mZ+FnlLQmmjf27SxHS2gKEeyhX5/+YRS6H9g== is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" @@ -6104,384 +5908,369 @@ isstream@~0.1.2: resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -istanbul-api@^1.3.1: - version "1.3.7" - resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.7.tgz#a86c770d2b03e11e3f778cd7aedd82d2722092aa" - integrity sha512-4/ApBnMVeEPG3EkSzcw25wDe4N66wxwn+KKn6b47vyek8Xb3NBAcg4xfuQbS7BqcZuTX4wxfD5lVagdggR3gyA== +istanbul-api@^2.0.8: + version "2.1.0" + resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-2.1.0.tgz#37ab0c2c3e83065462f5254b94749d6157846c4e" + integrity sha512-+Ygg4t1StoiNlBGc6x0f8q/Bv26FbZqP/+jegzfNpU7Q8o+4ZRoJxJPhBkgE/UonpAjtxnE4zCZIyJX+MwLRMQ== dependencies: - async "^2.1.4" - fileset "^2.0.2" - istanbul-lib-coverage "^1.2.1" - istanbul-lib-hook "^1.2.2" - istanbul-lib-instrument "^1.10.2" - istanbul-lib-report "^1.1.5" - istanbul-lib-source-maps "^1.2.6" - istanbul-reports "^1.5.1" - js-yaml "^3.7.0" - mkdirp "^0.5.1" + async "^2.6.1" + compare-versions "^3.2.1" + fileset "^2.0.3" + istanbul-lib-coverage "^2.0.3" + istanbul-lib-hook "^2.0.3" + istanbul-lib-instrument "^3.1.0" + istanbul-lib-report "^2.0.4" + istanbul-lib-source-maps "^3.0.2" + istanbul-reports "^2.1.0" + js-yaml "^3.12.0" + make-dir "^1.3.0" + minimatch "^3.0.4" once "^1.4.0" -istanbul-lib-coverage@^1.2.0, istanbul-lib-coverage@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0" - integrity sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ== +istanbul-lib-coverage@^2.0.2, istanbul-lib-coverage@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#0b891e5ad42312c2b9488554f603795f9a2211ba" + integrity sha512-dKWuzRGCs4G+67VfW9pBFFz2Jpi4vSp/k7zBcJ888ofV5Mi1g5CUML5GvMvV6u9Cjybftu+E8Cgp+k0dI1E5lw== -istanbul-lib-hook@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86" - integrity sha512-/Jmq7Y1VeHnZEQ3TL10VHyb564mn6VrQXHchON9Jf/AEcmQ3ZIiyD1BVzNOKTZf/G3gE+kiGK6SmpF9y3qGPLw== +istanbul-lib-hook@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-2.0.3.tgz#e0e581e461c611be5d0e5ef31c5f0109759916fb" + integrity sha512-CLmEqwEhuCYtGcpNVJjLV1DQyVnIqavMLFHV/DP+np/g3qvdxu3gsPqYoJMXm15sN84xOlckFB3VNvRbf5yEgA== dependencies: - append-transform "^0.4.0" + append-transform "^1.0.0" -istanbul-lib-instrument@^1.10.1, istanbul-lib-instrument@^1.10.2: - version "1.10.2" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca" - integrity sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A== +istanbul-lib-instrument@^3.0.0, istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.1.0.tgz#a2b5484a7d445f1f311e93190813fa56dfb62971" + integrity sha512-ooVllVGT38HIk8MxDj/OIHXSYvH+1tq/Vb38s8ixt9GoJadXska4WkGY+0wkmtYCZNYtaARniH/DixUGGLZ0uA== dependencies: - babel-generator "^6.18.0" - babel-template "^6.16.0" - babel-traverse "^6.18.0" - babel-types "^6.18.0" - babylon "^6.18.0" - istanbul-lib-coverage "^1.2.1" - semver "^5.3.0" + "@babel/generator" "^7.0.0" + "@babel/parser" "^7.0.0" + "@babel/template" "^7.0.0" + "@babel/traverse" "^7.0.0" + "@babel/types" "^7.0.0" + istanbul-lib-coverage "^2.0.3" + semver "^5.5.0" -istanbul-lib-report@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c" - integrity sha512-UsYfRMoi6QO/doUshYNqcKJqVmFe9w51GZz8BS3WB0lYxAllQYklka2wP9+dGZeHYaWIdcXUx8JGdbqaoXRXzw== +istanbul-lib-report@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.4.tgz#bfd324ee0c04f59119cb4f07dab157d09f24d7e4" + integrity sha512-sOiLZLAWpA0+3b5w5/dq0cjm2rrNdAfHWaGhmn7XEFW6X++IV9Ohn+pnELAl9K3rfpaeBfbmH9JU5sejacdLeA== dependencies: - istanbul-lib-coverage "^1.2.1" - mkdirp "^0.5.1" - path-parse "^1.0.5" - supports-color "^3.1.2" + istanbul-lib-coverage "^2.0.3" + make-dir "^1.3.0" + supports-color "^6.0.0" -istanbul-lib-source-maps@^1.2.4, istanbul-lib-source-maps@^1.2.6: - version "1.2.6" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f" - integrity sha512-TtbsY5GIHgbMsMiRw35YBHGpZ1DVFEO19vxxeiDMYaeOFOCzfnYVxvl6pOUIZR4dtPhAGpSMup8OyF8ubsaqEg== +istanbul-lib-source-maps@^3.0.1, istanbul-lib-source-maps@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.2.tgz#f1e817229a9146e8424a28e5d69ba220fda34156" + integrity sha512-JX4v0CiKTGp9fZPmoxpu9YEkPbEqCqBbO3403VabKjH+NRXo72HafD5UgnjTEqHL2SAjaZK1XDuDOkn6I5QVfQ== dependencies: - debug "^3.1.0" - istanbul-lib-coverage "^1.2.1" - mkdirp "^0.5.1" - rimraf "^2.6.1" - source-map "^0.5.3" + debug "^4.1.1" + istanbul-lib-coverage "^2.0.3" + make-dir "^1.3.0" + rimraf "^2.6.2" + source-map "^0.6.1" -istanbul-reports@^1.5.1: - version "1.5.1" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a" - integrity sha512-+cfoZ0UXzWjhAdzosCPP3AN8vvef8XDkWtTfgaN+7L3YTpNYITnCaEkceo5SEYy644VkHka/P1FvkWvrG/rrJw== +istanbul-reports@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.1.0.tgz#87b8b55cd1901ba1748964c98ddd8900ce306d59" + integrity sha512-azQdSX+dtTtkQEfqq20ICxWi6eOHXyHIgMFw1VOOVi8iIPWeCWRgCyFh/CsBKIhcgskMI8ExXmU7rjXTRCIJ+A== dependencies: - handlebars "^4.0.3" + handlebars "^4.0.11" -jest-changed-files@^23.4.2: - version "23.4.2" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.2.tgz#1eed688370cd5eebafe4ae93d34bb3b64968fe83" - integrity sha512-EyNhTAUWEfwnK0Is/09LxoqNDOn7mU7S3EHskG52djOFS/z+IT0jT3h3Ql61+dklcG7bJJitIWEMB4Sp1piHmA== +jest-changed-files@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.0.0.tgz#c02c09a8cc9ca93f513166bc773741bd39898ff7" + integrity sha512-nnuU510R9U+UX0WNb5XFEcsrMqriSiRLeO9KWDFgPrpToaQm60prfQYpxsXigdClpvNot5bekDY440x9dNGnsQ== dependencies: + execa "^1.0.0" throat "^4.0.0" -jest-cli@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-23.6.0.tgz#61ab917744338f443ef2baa282ddffdd658a5da4" - integrity sha512-hgeD1zRUp1E1zsiyOXjEn4LzRLWdJBV//ukAHGlx6s5mfCNJTbhbHjgxnDUXA8fsKWN/HqFFF6X5XcCwC/IvYQ== +jest-cli@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-24.1.0.tgz#f7cc98995f36e7210cce3cbb12974cbf60940843" + integrity sha512-U/iyWPwOI0T1CIxVLtk/2uviOTJ/OiSWJSe8qt6X1VkbbgP+nrtLJlmT9lPBe4lK78VNFJtrJ7pttcNv/s7yCw== dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" exit "^0.1.2" glob "^7.1.2" - graceful-fs "^4.1.11" - import-local "^1.0.0" - is-ci "^1.0.10" - istanbul-api "^1.3.1" - istanbul-lib-coverage "^1.2.0" - istanbul-lib-instrument "^1.10.1" - istanbul-lib-source-maps "^1.2.4" - jest-changed-files "^23.4.2" - jest-config "^23.6.0" - jest-environment-jsdom "^23.4.0" - jest-get-type "^22.1.0" - jest-haste-map "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" - jest-resolve-dependencies "^23.6.0" - jest-runner "^23.6.0" - jest-runtime "^23.6.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - jest-watcher "^23.4.0" - jest-worker "^23.2.0" - micromatch "^2.3.11" + graceful-fs "^4.1.15" + import-local "^2.0.0" + is-ci "^2.0.0" + istanbul-api "^2.0.8" + istanbul-lib-coverage "^2.0.2" + istanbul-lib-instrument "^3.0.1" + istanbul-lib-source-maps "^3.0.1" + jest-changed-files "^24.0.0" + jest-config "^24.1.0" + jest-environment-jsdom "^24.0.0" + jest-get-type "^24.0.0" + jest-haste-map "^24.0.0" + jest-message-util "^24.0.0" + jest-regex-util "^24.0.0" + jest-resolve-dependencies "^24.1.0" + jest-runner "^24.1.0" + jest-runtime "^24.1.0" + jest-snapshot "^24.1.0" + jest-util "^24.0.0" + jest-validate "^24.0.0" + jest-watcher "^24.0.0" + jest-worker "^24.0.0" + micromatch "^3.1.10" node-notifier "^5.2.1" - prompts "^0.1.9" + p-each-series "^1.0.0" + pirates "^4.0.0" + prompts "^2.0.1" realpath-native "^1.0.0" rimraf "^2.5.4" - slash "^1.0.0" + slash "^2.0.0" string-length "^2.0.0" - strip-ansi "^4.0.0" + strip-ansi "^5.0.0" which "^1.2.12" - yargs "^11.0.0" + yargs "^12.0.2" -jest-config@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-23.6.0.tgz#f82546a90ade2d8c7026fbf6ac5207fc22f8eb1d" - integrity sha512-i8V7z9BeDXab1+VNo78WM0AtWpBRXJLnkT+lyT+Slx/cbP5sZJ0+NDuLcmBE5hXAoK0aUp7vI+MOxR+R4d8SRQ== +jest-config@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-24.1.0.tgz#6ea6881cfdd299bc86cc144ee36d937c97c3850c" + integrity sha512-FbbRzRqtFC6eGjG5VwsbW4E5dW3zqJKLWYiZWhB0/4E5fgsMw8GODLbGSrY5t17kKOtCWb/Z7nsIThRoDpuVyg== dependencies: - babel-core "^6.0.0" - babel-jest "^23.6.0" + "@babel/core" "^7.1.0" + babel-jest "^24.1.0" chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^23.4.0" - jest-environment-node "^23.4.0" - jest-get-type "^22.1.0" - jest-jasmine2 "^23.6.0" - jest-regex-util "^23.3.0" - jest-resolve "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - micromatch "^2.3.11" - pretty-format "^23.6.0" + jest-environment-jsdom "^24.0.0" + jest-environment-node "^24.0.0" + jest-get-type "^24.0.0" + jest-jasmine2 "^24.1.0" + jest-regex-util "^24.0.0" + jest-resolve "^24.1.0" + jest-util "^24.0.0" + jest-validate "^24.0.0" + micromatch "^3.1.10" + pretty-format "^24.0.0" + realpath-native "^1.0.2" -jest-diff@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-23.6.0.tgz#1500f3f16e850bb3d71233408089be099f610c7d" - integrity sha512-Gz9l5Ov+X3aL5L37IT+8hoCUsof1CVYBb2QEkOupK64XyRR3h+uRpYIm97K7sY8diFxowR8pIGEdyfMKTixo3g== +jest-diff@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0.tgz#a3e5f573dbac482f7d9513ac9cfa21644d3d6b34" + integrity sha512-XY5wMpRaTsuMoU+1/B2zQSKQ9RdE9gsLkGydx3nvApeyPijLA8GtEvIcPwISRCer+VDf9W1mStTYYq6fPt8ryA== dependencies: chalk "^2.0.1" - diff "^3.2.0" - jest-get-type "^22.1.0" - pretty-format "^23.6.0" + diff-sequences "^24.0.0" + jest-get-type "^24.0.0" + pretty-format "^24.0.0" -jest-docblock@^23.2.0: - version "23.2.0" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-23.2.0.tgz#f085e1f18548d99fdd69b20207e6fd55d91383a7" - integrity sha1-8IXh8YVI2Z/dabICB+b9VdkTg6c= +jest-docblock@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.0.0.tgz#54d77a188743e37f62181a91a01eb9222289f94e" + integrity sha512-KfAKZ4SN7CFOZpWg4i7g7MSlY0M+mq7K0aMqENaG2vHuhC9fc3vkpU/iNN9sOus7v3h3Y48uEjqz3+Gdn2iptA== dependencies: detect-newline "^2.1.0" -jest-each@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-23.6.0.tgz#ba0c3a82a8054387016139c733a05242d3d71575" - integrity sha512-x7V6M/WGJo6/kLoissORuvLIeAoyo2YqLOoCDkohgJ4XOXSqOtyvr8FbInlAWS77ojBsZrafbozWoKVRdtxFCg== +jest-each@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-24.0.0.tgz#10987a06b21c7ffbfb7706c89d24c52ed864be55" + integrity sha512-gFcbY4Cu55yxExXMkjrnLXov3bWO3dbPAW7HXb31h/DNWdNc/6X8MtxGff8nh3/MjkF9DpVqnj0KsPKuPK0cpA== dependencies: chalk "^2.0.1" - pretty-format "^23.6.0" + jest-get-type "^24.0.0" + jest-util "^24.0.0" + pretty-format "^24.0.0" -jest-environment-jsdom@^23.4.0: - version "23.4.0" - resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-23.4.0.tgz#056a7952b3fea513ac62a140a2c368c79d9e6023" - integrity sha1-BWp5UrP+pROsYqFAosNox52eYCM= +jest-environment-jsdom@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.0.0.tgz#5affa0654d6e44cd798003daa1a8701dbd6e4d11" + integrity sha512-1YNp7xtxajTRaxbylDc2pWvFnfDTH5BJJGyVzyGAKNt/lEULohwEV9zFqTgG4bXRcq7xzdd+sGFws+LxThXXOw== dependencies: - jest-mock "^23.2.0" - jest-util "^23.4.0" + jest-mock "^24.0.0" + jest-util "^24.0.0" jsdom "^11.5.1" -jest-environment-node@^23.4.0: - version "23.4.0" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-23.4.0.tgz#57e80ed0841dea303167cce8cd79521debafde10" - integrity sha1-V+gO0IQd6jAxZ8zozXlSHeuv3hA= +jest-environment-node@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.0.0.tgz#330948980656ed8773ce2e04eb597ed91e3c7190" + integrity sha512-62fOFcaEdU0VLaq8JL90TqwI7hLn0cOKOl8vY2n477vRkCJRojiRRtJVRzzCcgFvs6gqU97DNqX5R0BrBP6Rxg== dependencies: - jest-mock "^23.2.0" - jest-util "^23.4.0" - -jest-get-type@^22.1.0: - version "22.4.3" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" - integrity sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w== + jest-mock "^24.0.0" + jest-util "^24.0.0" jest-get-type@^24.0.0: version "24.0.0" resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.0.0.tgz#36e72930b78e33da59a4f63d44d332188278940b" integrity sha512-z6/Eyf6s9ZDGz7eOvl+fzpuJmN9i0KyTt1no37/dHu8galssxz5ZEgnc1KaV8R31q1khxyhB4ui/X5ZjjPk77w== -jest-haste-map@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-23.6.0.tgz#2e3eb997814ca696d62afdb3f2529f5bbc935e16" - integrity sha512-uyNhMyl6dr6HaXGHp8VF7cK6KpC6G9z9LiMNsst+rJIZ8l7wY0tk8qwjPmEghczojZ2/ZhtEdIabZ0OQRJSGGg== +jest-haste-map@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.0.0.tgz#e9ef51b2c9257384b4d6beb83bd48c65b37b5e6e" + integrity sha512-CcViJyUo41IQqttLxXVdI41YErkzBKbE6cS6dRAploCeutePYfUimWd3C9rQEWhX0YBOQzvNsC0O9nYxK2nnxQ== dependencies: fb-watchman "^2.0.0" - graceful-fs "^4.1.11" + graceful-fs "^4.1.15" invariant "^2.2.4" - jest-docblock "^23.2.0" - jest-serializer "^23.0.1" - jest-worker "^23.2.0" - micromatch "^2.3.11" - sane "^2.0.0" + jest-serializer "^24.0.0" + jest-util "^24.0.0" + jest-worker "^24.0.0" + micromatch "^3.1.10" + sane "^3.0.0" -jest-jasmine2@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-23.6.0.tgz#840e937f848a6c8638df24360ab869cc718592e0" - integrity sha512-pe2Ytgs1nyCs8IvsEJRiRTPC0eVYd8L/dXJGU08GFuBwZ4sYH/lmFDdOL3ZmvJR8QKqV9MFuwlsAi/EWkFUbsQ== +jest-jasmine2@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.1.0.tgz#8377324b967037c440f0a549ee0bbd9912055db6" + integrity sha512-H+o76SdSNyCh9fM5K8upK45YTo/DiFx5w2YAzblQebSQmukDcoVBVeXynyr7DDnxh+0NTHYRCLwJVf3tC518wg== dependencies: - babel-traverse "^6.0.0" + "@babel/traverse" "^7.1.0" chalk "^2.0.1" co "^4.6.0" - expect "^23.6.0" - is-generator-fn "^1.0.0" - jest-diff "^23.6.0" - jest-each "^23.6.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - pretty-format "^23.6.0" + expect "^24.1.0" + is-generator-fn "^2.0.0" + jest-each "^24.0.0" + jest-matcher-utils "^24.0.0" + jest-message-util "^24.0.0" + jest-snapshot "^24.1.0" + jest-util "^24.0.0" + pretty-format "^24.0.0" + throat "^4.0.0" -jest-junit@^6.2.1: - version "6.2.1" - resolved "https://registry.npmjs.org/jest-junit/-/jest-junit-6.2.1.tgz#5bf69813d5c2ae583500816eee79a73b90179629" - integrity sha512-zMbwKzZGo9TQOjdBUNQdTEf81QvOrwiQtLIUSEyCwPXYx/G/DJGXEJcqs8viXxn6poJ4Xh4pYGDLD0DKDwtfVA== +jest-leak-detector@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.0.0.tgz#78280119fd05ee98317daee62cddb3aa537a31c6" + integrity sha512-ZYHJYFeibxfsDSKowjDP332pStuiFT2xfc5R67Rjm/l+HFJWJgNIOCOlQGeXLCtyUn3A23+VVDdiCcnB6dTTrg== dependencies: - jest-validate "^24.0.0" - mkdirp "^0.5.1" - strip-ansi "^4.0.0" - xml "^1.0.1" + pretty-format "^24.0.0" -jest-leak-detector@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-23.6.0.tgz#e4230fd42cf381a1a1971237ad56897de7e171de" - integrity sha512-f/8zA04rsl1Nzj10HIyEsXvYlMpMPcy0QkQilVZDFOaPbv2ur71X5u2+C4ZQJGyV/xvVXtCCZ3wQ99IgQxftCg== - dependencies: - pretty-format "^23.6.0" - -jest-matcher-utils@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-23.6.0.tgz#726bcea0c5294261a7417afb6da3186b4b8cac80" - integrity sha512-rosyCHQfBcol4NsckTn01cdelzWLU9Cq7aaigDf8VwwpIRvWE/9zLgX2bON+FkEW69/0UuYslUe22SOdEf2nog== +jest-matcher-utils@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.0.0.tgz#fc9c41cfc49b2c3ec14e576f53d519c37729d579" + integrity sha512-LQTDmO+aWRz1Tf9HJg+HlPHhDh1E1c65kVwRFo5mwCVp5aQDzlkz4+vCvXhOKFjitV2f0kMdHxnODrXVoi+rlA== dependencies: chalk "^2.0.1" - jest-get-type "^22.1.0" - pretty-format "^23.6.0" + jest-diff "^24.0.0" + jest-get-type "^24.0.0" + pretty-format "^24.0.0" -jest-message-util@^23.4.0: - version "23.4.0" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-23.4.0.tgz#17610c50942349508d01a3d1e0bda2c079086a9f" - integrity sha1-F2EMUJQjSVCNAaPR4L2iwHkIap8= +jest-message-util@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.0.0.tgz#a07a141433b2c992dbaec68d4cbfe470ba289619" + integrity sha512-J9ROJIwz/IeC+eV1XSwnRK4oAwPuhmxEyYx1+K5UI+pIYwFZDSrfZaiWTdq0d2xYFw4Xiu+0KQWsdsQpgJMf3Q== dependencies: - "@babel/code-frame" "^7.0.0-beta.35" + "@babel/code-frame" "^7.0.0" chalk "^2.0.1" - micromatch "^2.3.11" - slash "^1.0.0" + micromatch "^3.1.10" + slash "^2.0.0" stack-utils "^1.0.1" -jest-mock@^23.2.0: - version "23.2.0" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-23.2.0.tgz#ad1c60f29e8719d47c26e1138098b6d18b261134" - integrity sha1-rRxg8p6HGdR8JuETgJi20YsmETQ= +jest-mock@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-24.0.0.tgz#9a4b53e01d66a0e780f7d857462d063e024c617d" + integrity sha512-sQp0Hu5fcf5NZEh1U9eIW2qD0BwJZjb63Yqd98PQJFvf/zzUTBoUAwv/Dc/HFeNHIw1f3hl/48vNn+j3STaI7A== -jest-regex-util@^23.3.0: - version "23.3.0" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-23.3.0.tgz#5f86729547c2785c4002ceaa8f849fe8ca471bc5" - integrity sha1-X4ZylUfCeFxAAs6qj4Sf6MpHG8U= +jest-regex-util@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.0.0.tgz#4feee8ec4a358f5bee0a654e94eb26163cb9089a" + integrity sha512-Jv/uOTCuC+PY7WpJl2mpoI+WbY2ut73qwwO9ByJJNwOCwr1qWhEW2Lyi2S9ZewUdJqeVpEBisdEVZSI+Zxo58Q== -jest-resolve-dependencies@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-23.6.0.tgz#b4526af24c8540d9a3fab102c15081cf509b723d" - integrity sha512-EkQWkFWjGKwRtRyIwRwI6rtPAEyPWlUC2MpzHissYnzJeHcyCn1Hc8j7Nn1xUVrS5C6W5+ZL37XTem4D4pLZdA== +jest-resolve-dependencies@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.1.0.tgz#78f738a2ec59ff4d00751d9da56f176e3f589f6c" + integrity sha512-2VwPsjd3kRPu7qe2cpytAgowCObk5AKeizfXuuiwgm1a9sijJDZe8Kh1sFj6FKvSaNEfCPlBVkZEJa2482m/Uw== dependencies: - jest-regex-util "^23.3.0" - jest-snapshot "^23.6.0" + jest-regex-util "^24.0.0" + jest-snapshot "^24.1.0" -jest-resolve@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-23.6.0.tgz#cf1d1a24ce7ee7b23d661c33ba2150f3aebfa0ae" - integrity sha512-XyoRxNtO7YGpQDmtQCmZjum1MljDqUCob7XlZ6jy9gsMugHdN2hY4+Acz9Qvjz2mSsOnPSH7skBmDYCHXVZqkA== +jest-resolve@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.1.0.tgz#42ff0169b0ea47bfdbd0c52a0067ca7d022c7688" + integrity sha512-TPiAIVp3TG6zAxH28u/6eogbwrvZjBMWroSLBDkwkHKrqxB/RIdwkWDye4uqPlZIXWIaHtifY3L0/eO5Z0f2wg== dependencies: browser-resolve "^1.11.3" chalk "^2.0.1" realpath-native "^1.0.0" -jest-runner@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-23.6.0.tgz#3894bd219ffc3f3cb94dc48a4170a2e6f23a5a38" - integrity sha512-kw0+uj710dzSJKU6ygri851CObtCD9cN8aNkg8jWJf4ewFyEa6kwmiH/r/M1Ec5IL/6VFa0wnAk6w+gzUtjJzA== +jest-runner@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-24.1.0.tgz#3686a2bb89ce62800da23d7fdc3da2c32792943b" + integrity sha512-CDGOkT3AIFl16BLL/OdbtYgYvbAprwJ+ExKuLZmGSCSldwsuU2dEGauqkpvd9nphVdAnJUcP12e/EIlnTX0QXg== dependencies: + chalk "^2.4.2" exit "^0.1.2" - graceful-fs "^4.1.11" - jest-config "^23.6.0" - jest-docblock "^23.2.0" - jest-haste-map "^23.6.0" - jest-jasmine2 "^23.6.0" - jest-leak-detector "^23.6.0" - jest-message-util "^23.4.0" - jest-runtime "^23.6.0" - jest-util "^23.4.0" - jest-worker "^23.2.0" + graceful-fs "^4.1.15" + jest-config "^24.1.0" + jest-docblock "^24.0.0" + jest-haste-map "^24.0.0" + jest-jasmine2 "^24.1.0" + jest-leak-detector "^24.0.0" + jest-message-util "^24.0.0" + jest-runtime "^24.1.0" + jest-util "^24.0.0" + jest-worker "^24.0.0" source-map-support "^0.5.6" throat "^4.0.0" -jest-runtime@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-23.6.0.tgz#059e58c8ab445917cd0e0d84ac2ba68de8f23082" - integrity sha512-ycnLTNPT2Gv+TRhnAYAQ0B3SryEXhhRj1kA6hBPSeZaNQkJ7GbZsxOLUkwg6YmvWGdX3BB3PYKFLDQCAE1zNOw== +jest-runtime@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.1.0.tgz#7c157a2e776609e8cf552f956a5a19ec9c985214" + integrity sha512-59/BY6OCuTXxGeDhEMU7+N33dpMQyXq7MLK07cNSIY/QYt2QZgJ7Tjx+rykBI0skAoigFl0A5tmT8UdwX92YuQ== dependencies: - babel-core "^6.0.0" - babel-plugin-istanbul "^4.1.6" + "@babel/core" "^7.1.0" + babel-plugin-istanbul "^5.1.0" chalk "^2.0.1" convert-source-map "^1.4.0" exit "^0.1.2" fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.1.11" - jest-config "^23.6.0" - jest-haste-map "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" - jest-resolve "^23.6.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - micromatch "^2.3.11" + glob "^7.1.3" + graceful-fs "^4.1.15" + jest-config "^24.1.0" + jest-haste-map "^24.0.0" + jest-message-util "^24.0.0" + jest-regex-util "^24.0.0" + jest-resolve "^24.1.0" + jest-snapshot "^24.1.0" + jest-util "^24.0.0" + jest-validate "^24.0.0" + micromatch "^3.1.10" realpath-native "^1.0.0" - slash "^1.0.0" - strip-bom "3.0.0" - write-file-atomic "^2.1.0" - yargs "^11.0.0" + slash "^2.0.0" + strip-bom "^3.0.0" + write-file-atomic "2.4.1" + yargs "^12.0.2" -jest-serializer@^23.0.1: - version "23.0.1" - resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165" - integrity sha1-o3dq6zEekP6D+rnlM+hRAr0WQWU= +jest-serializer@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.0.0.tgz#522c44a332cdd194d8c0531eb06a1ee5afb4256b" + integrity sha512-9FKxQyrFgHtx3ozU+1a8v938ILBE7S8Ko3uiAVjT8Yfi2o91j/fj81jacCQZ/Ihjiff/VsUCXVgQ+iF1XdImOw== -jest-snapshot@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-23.6.0.tgz#f9c2625d1b18acda01ec2d2b826c0ce58a5aa17a" - integrity sha512-tM7/Bprftun6Cvj2Awh/ikS7zV3pVwjRYU2qNYS51VZHgaAMBs5l4o/69AiDHhQrj5+LA2Lq4VIvK7zYk/bswg== +jest-snapshot@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.1.0.tgz#85e22f810357aa5994ab61f236617dc2205f2f5b" + integrity sha512-th6TDfFqEmXvuViacU1ikD7xFb7lQsPn2rJl7OEmnfIVpnrx3QNY2t3PE88meeg0u/mQ0nkyvmC05PBqO4USFA== dependencies: - babel-types "^6.0.0" + "@babel/types" "^7.0.0" chalk "^2.0.1" - jest-diff "^23.6.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-resolve "^23.6.0" + jest-diff "^24.0.0" + jest-matcher-utils "^24.0.0" + jest-message-util "^24.0.0" + jest-resolve "^24.1.0" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^23.6.0" + pretty-format "^24.0.0" semver "^5.5.0" -jest-util@^23.4.0: - version "23.4.0" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-23.4.0.tgz#4d063cb927baf0a23831ff61bec2cbbf49793561" - integrity sha1-TQY8uSe68KI4Mf9hvsLLv0l5NWE= +jest-util@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-24.0.0.tgz#fd38fcafd6dedbd0af2944d7a227c0d91b68f7d6" + integrity sha512-QxsALc4wguYS7cfjdQSOr5HTkmjzkHgmZvIDkcmPfl1ib8PNV8QUWLwbKefCudWS0PRKioV+VbQ0oCUPC691fQ== dependencies: - callsites "^2.0.0" + callsites "^3.0.0" chalk "^2.0.1" - graceful-fs "^4.1.11" - is-ci "^1.0.10" - jest-message-util "^23.4.0" + graceful-fs "^4.1.15" + is-ci "^2.0.0" + jest-message-util "^24.0.0" mkdirp "^0.5.1" - slash "^1.0.0" + slash "^2.0.0" source-map "^0.6.0" -jest-validate@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-23.6.0.tgz#36761f99d1ed33fcd425b4e4c5595d62b6597474" - integrity sha512-OFKapYxe72yz7agrDAWi8v2WL8GIfVqcbKRCLbRG9PAxtzF9b1SEDdTpytNDN12z2fJynoBwpMpvj2R39plI2A== - dependencies: - chalk "^2.0.1" - jest-get-type "^22.1.0" - leven "^2.1.0" - pretty-format "^23.6.0" - jest-validate@^24.0.0: version "24.0.0" resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-24.0.0.tgz#aa8571a46983a6538328fef20406b4a496b6c020" @@ -6493,40 +6282,31 @@ jest-validate@^24.0.0: leven "^2.1.0" pretty-format "^24.0.0" -jest-watcher@^23.4.0: - version "23.4.0" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-23.4.0.tgz#d2e28ce74f8dad6c6afc922b92cabef6ed05c91c" - integrity sha1-0uKM50+NrWxq/JIrksq+9u0FyRw= +jest-watcher@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.0.0.tgz#20d44244d10b0b7312410aefd256c1c1eef68890" + integrity sha512-GxkW2QrZ4YxmW1GUWER05McjVDunBlKMFfExu+VsGmXJmpej1saTEKvONdx5RJBlVdpPI5x6E3+EDQSIGgl53g== dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" + jest-util "^24.0.0" string-length "^2.0.0" -jest-worker@^23.2.0: - version "23.2.0" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-23.2.0.tgz#faf706a8da36fae60eb26957257fa7b5d8ea02b9" - integrity sha1-+vcGqNo2+uYOsmlXJX+ntdjqArk= +jest-worker@^24.0.0: + version "24.0.0" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-24.0.0.tgz#3d3483b077bf04f412f47654a27bba7e947f8b6d" + integrity sha512-s64/OThpfQvoCeHG963MiEZOAAxu8kHsaL/rCMF7lpdzo7vgF0CtPml9hfguOMgykgH/eOm4jFP4ibfHLruytg== dependencies: merge-stream "^1.0.1" + supports-color "^6.1.0" -jest@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/jest/-/jest-23.6.0.tgz#ad5835e923ebf6e19e7a1d7529a432edfee7813d" - integrity sha512-lWzcd+HSiqeuxyhG+EnZds6iO3Y3ZEnMrfZq/OTGvF/C+Z4fPMCdhWTGSAiO2Oym9rbEXfwddHhh6jqrTF3+Lw== +jest@^24.1.0: + version "24.1.0" + resolved "https://registry.npmjs.org/jest/-/jest-24.1.0.tgz#b1e1135caefcf2397950ecf7f90e395fde866fd2" + integrity sha512-+q91L65kypqklvlRFfXfdzUKyngQLOcwGhXQaLmVHv+d09LkNXuBuGxlofTFW42XMzu3giIcChchTsCNUjQ78A== dependencies: - import-local "^1.0.0" - jest-cli "^23.6.0" - -js-beautify@^1.6.14: - version "1.8.9" - resolved "https://registry.npmjs.org/js-beautify/-/js-beautify-1.8.9.tgz#08e3c05ead3ecfbd4f512c3895b1cda76c87d523" - integrity sha512-MwPmLywK9RSX0SPsUJjN7i+RQY9w/yC17Lbrq9ViEefpLRgqAR2BgrMN2AbifkUuhDV8tRauLhLda/9+bE0YQA== - dependencies: - config-chain "^1.1.12" - editorconfig "^0.15.2" - glob "^7.1.3" - mkdirp "~0.5.0" - nopt "~4.0.1" + import-local "^2.0.0" + jest-cli "^24.1.0" js-levenshtein@^1.1.3: version "1.1.6" @@ -6625,11 +6405,6 @@ jsdom@^13.2.0: ws "^6.1.2" xml-name-validator "^3.0.0" -jsesc@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" - integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -6672,7 +6447,7 @@ json5@2.x, json5@^2.1.0: dependencies: minimist "^1.2.0" -json5@^0.5.0, json5@^0.5.1: +json5@^0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE= @@ -6750,10 +6525,10 @@ klaw-sync@^6.0.0: dependencies: graceful-fs "^4.1.11" -kleur@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/kleur/-/kleur-2.0.2.tgz#b704f4944d95e255d038f0cb05fb8a602c55a300" - integrity sha512-77XF9iTllATmG9lSlIv0qdQ2BQ/h9t0bJllHlbvsQ0zUWfU7Yi0S8L5JXzPZgkefIiajLmBJJ4BsMJmqcf7oxQ== +kleur@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.2.tgz#83c7ec858a41098b613d5998a7b653962b504f68" + integrity sha512-3h7B2WRT5LNXOtQiAaWonilegHcPSf9nLVXlSTci8lu1dZUuui61+EsPEZqSVxY7rXYmB2DVKMQILxaO5WL61Q== last-call-webpack-plugin@^3.0.0: version "3.0.0" @@ -6783,13 +6558,6 @@ lazy-cache@^1.0.3: resolved "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= -lcid@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" - integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU= - dependencies: - invert-kv "^1.0.0" - lcid@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" @@ -6999,7 +6767,7 @@ lodash.uniqueid@^4.0.1: resolved "https://registry.npmjs.org/lodash.uniqueid/-/lodash.uniqueid-4.0.1.tgz#3268f26a7c88e4f4b1758d679271814e31fa5b26" integrity sha1-MmjyanyI5PSxdY1nknGBTjH6WyY= -lodash@4.17.11, lodash@4.x, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: +lodash@4.17.11, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: version "4.17.11" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== @@ -7063,7 +6831,7 @@ magic-string@^0.25.1: dependencies: sourcemap-codec "^1.4.4" -make-dir@^1.0.0: +make-dir@^1.0.0, make-dir@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== @@ -7152,13 +6920,6 @@ media-typer@0.3.0: resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -mem@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" - integrity sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y= - dependencies: - mimic-fn "^1.0.0" - mem@^4.0.0: version "4.1.0" resolved "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz#aeb9be2d21f47e78af29e4ac5978e8afa2ca5b8a" @@ -7520,14 +7281,6 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-cache@^4.1.1: - version "4.2.0" - resolved "https://registry.npmjs.org/node-cache/-/node-cache-4.2.0.tgz#48ac796a874e762582692004a376d26dfa875811" - integrity sha512-obRu6/f7S024ysheAjoYFEEBqqDWv4LOMNJEuO8vMeEw2AT4z+NCzO4hlc2lhI4vATzbCQv6kke9FVdx0RbCOw== - dependencies: - clone "2.x" - lodash "4.x" - node-fetch-npm@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7" @@ -7645,7 +7398,7 @@ node-releases@^1.1.3: dependencies: abbrev "1" -nopt@^4.0.1, nopt@~4.0.1: +nopt@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= @@ -7807,9 +7560,9 @@ object-copy@^0.1.0: kind-of "^3.0.3" object-keys@^1.0.11, object-keys@^1.0.12: - version "1.0.12" - resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2" - integrity sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag== + version "1.1.0" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.0.tgz#11bd22348dd2e096a045ab06f6c85bcc340fa032" + integrity sha512-6OO5X1+2tYkNyNEx6TsCxEqFfRWaqx6EtMiSbGrw8Ob8v9Ne+Hl8rBAgLBZn5wjEz3s/s6U1WXFUFOcxxAwUpg== object-visit@^1.0.0: version "1.0.1" @@ -7935,15 +7688,6 @@ os-homedir@^1.0.0: resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" - integrity sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA== - dependencies: - execa "^0.7.0" - lcid "^1.0.0" - mem "^1.1.0" - os-locale@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" @@ -7961,7 +7705,7 @@ os-name@^3.0.0: macos-release "^2.0.0" windows-release "^3.1.0" -os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: +os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= @@ -7979,6 +7723,13 @@ p-defer@^1.0.0: resolved "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= +p-each-series@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71" + integrity sha1-kw89Et0fUOdDRFeiLNbwSsatf3E= + dependencies: + p-reduce "^1.0.0" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -8226,7 +7977,7 @@ path-exists@^3.0.0: resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= -path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: +path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= @@ -8241,7 +7992,7 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-parse@^1.0.5, path-parse@^1.0.6: +path-parse@^1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== @@ -9015,14 +8766,6 @@ pretty-error@^2.0.2: renderkid "^2.0.1" utila "~0.4" -pretty-format@^23.6.0: - version "23.6.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-23.6.0.tgz#5eaac8eeb6b33b987b7fe6097ea6a8a146ab5760" - integrity sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw== - dependencies: - ansi-regex "^3.0.0" - ansi-styles "^3.2.0" - pretty-format@^24.0.0: version "24.0.0" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591" @@ -9036,7 +8779,7 @@ pretty-time@^1.1.0: resolved "https://registry.npmjs.org/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e" integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA== -private@^0.1.6, private@^0.1.8: +private@^0.1.6: version "0.1.8" resolved "https://registry.npmjs.org/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== @@ -9076,13 +8819,13 @@ promise@^7.0.1: dependencies: asap "~2.0.3" -prompts@^0.1.9: - version "0.1.14" - resolved "https://registry.npmjs.org/prompts/-/prompts-0.1.14.tgz#a8e15c612c5c9ec8f8111847df3337c9cbd443b2" - integrity sha512-rxkyiE9YH6zAz/rZpywySLKkpaj0NMVyNw1qhsubdbjjSgcayjTShDreZGlFMcGSu5sab3bAKPfFk78PB90+8w== +prompts@^2.0.1: + version "2.0.2" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.2.tgz#094119b0b0a553ec652908b583205b9867630154" + integrity sha512-Pc/c53d2WZHJWZr78/BhZ5eHsdQtltbyBjHoA4T0cs/4yKJqCcoOHrq2SNKwtspVE0C+ebqAR5u0/mXwrHaADQ== dependencies: - kleur "^2.0.1" - sisteransi "^0.1.1" + kleur "^3.0.2" + sisteransi "^1.0.0" promzard@^0.3.0: version "0.3.0" @@ -9449,6 +9192,14 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" +read-pkg-up@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" + integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== + dependencies: + find-up "^3.0.0" + read-pkg "^3.0.0" + read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" @@ -9534,7 +9285,7 @@ readdirp@^2.2.1: micromatch "^3.1.10" readable-stream "^2.0.2" -realpath-native@^1.0.0: +realpath-native@^1.0.0, realpath-native@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/realpath-native/-/realpath-native-1.0.2.tgz#cd51ce089b513b45cf9b1516c82989b51ccc6560" integrity sha512-+S3zTvVt9yTntFrBpm7TQmQ3tzpCrnA1a/y+3cUHAc9ZR6aIjG0WNLR+Rj79QpJktY+VeW/TQtFlQ1bzsehI8g== @@ -9960,14 +9711,15 @@ safe-regex@^1.1.0: resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sane@^2.0.0: - version "2.5.2" - resolved "https://registry.npmjs.org/sane/-/sane-2.5.2.tgz#b4dc1861c21b427e929507a3e751e2a2cb8ab3fa" - integrity sha1-tNwYYcIbQn6SlQej51HiosuKs/o= +sane@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/sane/-/sane-3.1.0.tgz#995193b7dc1445ef1fe41ddfca2faf9f111854c6" + integrity sha512-G5GClRRxT1cELXfdAq7UKtUsv8q/ZC5k8lQGmjEm4HcAl3HzBy68iglyNCmw4+0tiXPCBZntslHlRhbnsSws+Q== dependencies: anymatch "^2.0.0" capture-exit "^1.2.0" exec-sh "^0.2.0" + execa "^1.0.0" fb-watchman "^2.0.0" micromatch "^3.1.4" minimist "^1.1.1" @@ -10123,11 +9875,6 @@ shellwords@^0.1.1: resolved "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== -sigmund@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" - integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA= - signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -10140,10 +9887,10 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -sisteransi@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-0.1.1.tgz#5431447d5f7d1675aac667ccd0b865a4994cb3ce" - integrity sha512-PmGOd02bM9YO5ifxpw36nrNMBTptEtfRl4qUYl9SndkolplkrZZOW7PGHjrZL53QvMVj9nQ+TKqUnRsw4tJa4g== +sisteransi@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c" + integrity sha512-N+z4pHB4AmUv0SjveWRd6q1Nj5w62m5jodv+GD8lvmbY/83T/rpbJGZOnK5T149OldDj4Db07BSv9xY4K6NTPQ== slash@^1.0.0: version "1.0.0" @@ -10155,7 +9902,7 @@ slash@^2.0.0: resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== -slice-ansi@^2.0.0: +slice-ansi@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== @@ -10256,13 +10003,6 @@ 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.4.15: - version "0.4.18" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" - integrity sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA== - dependencies: - source-map "^0.5.6" - source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.9: version "0.5.10" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" @@ -10281,7 +10021,7 @@ source-map@0.5.6: resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" integrity sha1-dc449SvwczxafwwRjYEzSiu19BI= -source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -10531,11 +10271,6 @@ strip-ansi@^5.0.0: dependencies: ansi-regex "^4.0.0" -strip-bom@3.0.0, strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= - strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -10543,6 +10278,11 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" @@ -10560,7 +10300,7 @@ strip-indent@^2.0.0: resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= -strip-json-comments@^2.0.0, strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: +strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= @@ -10599,13 +10339,6 @@ supports-color@^2.0.0: resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^3.1.2: - version "3.2.3" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= - dependencies: - has-flag "^1.0.0" - supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -10613,7 +10346,7 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^6.1.0: +supports-color@^6.0.0, supports-color@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== @@ -10651,14 +10384,14 @@ symbol-tree@^3.2.2: integrity sha1-rifbOPZgp64uHDt9G8KQgZuFGeY= table@^5.0.2: - version "5.2.2" - resolved "https://registry.npmjs.org/table/-/table-5.2.2.tgz#61d474c9e4d8f4f7062c98c7504acb3c08aa738f" - integrity sha512-f8mJmuu9beQEDkKHLzOv4VxVYlU68NpdzjbGPl69i4Hx0sTopJuNxuzJd17iV2h24dAfa93u794OnDA5jqXvfQ== + version "5.2.3" + resolved "https://registry.npmjs.org/table/-/table-5.2.3.tgz#cde0cc6eb06751c009efab27e8c820ca5b67b7f2" + integrity sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ== dependencies: - ajv "^6.6.1" + ajv "^6.9.1" lodash "^4.17.11" - slice-ansi "^2.0.0" - string-width "^2.1.1" + slice-ansi "^2.1.0" + string-width "^3.0.0" tapable@^0.2.7: version "0.2.9" @@ -10739,15 +10472,14 @@ terser@^3.16.1: source-map "~0.6.1" source-map-support "~0.5.9" -test-exclude@^4.2.1: - version "4.2.3" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20" - integrity sha512-SYbXgY64PT+4GAL2ocI3HwPa4Q4TBKm0cwAVeKOt/Aoc0gSpNRjJX8w0pA1LMKZ3LBmd8pYBqApFNQLII9kavA== +test-exclude@^5.0.0: + version "5.1.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-5.1.0.tgz#6ba6b25179d2d38724824661323b73e03c0c1de1" + integrity sha512-gwf0S2fFsANC55fSeSqpb8BYk6w3FDvwZxfNjeF6FRgvFa43r+7wRiA/Q0IxoRU37wB/LE8IQ4221BsNucTaCA== dependencies: arrify "^1.0.1" - micromatch "^2.3.11" - object-assign "^4.1.0" - read-pkg-up "^1.0.1" + minimatch "^3.0.4" + read-pkg-up "^4.0.0" require-main-filename "^1.0.1" text-extensions@^1.0.0: @@ -10960,16 +10692,6 @@ ts-node@^8.0.2: source-map-support "^0.5.6" yn "^3.0.0" -tsconfig@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/tsconfig/-/tsconfig-7.0.0.tgz#84538875a4dc216e5c4a5432b3a4dec3d54e91b7" - integrity sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw== - dependencies: - "@types/strip-bom" "^3.0.0" - "@types/strip-json-comments" "0.0.30" - strip-bom "^3.0.0" - strip-json-comments "^2.0.0" - tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: version "1.9.3" resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" @@ -11327,25 +11049,21 @@ vue-eslint-parser@^4.0.2: lodash "^4.17.11" vue-hot-reload-api@^2.3.0: - version "2.3.1" - resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2" - integrity sha512-AA86yKZ5uOKz87/q1UpngEXhbRkaYg1b7HMMVRobNV1IVKqZe8oLIzo6iMocVwZXnYitlGwf2k4ZRLOZlS8oPQ== + version "2.3.2" + resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.2.tgz#1fcc1495effe08a790909b46bf7b5c4cfeb6f21b" + integrity sha512-NpznMQoe/DzMG7nJjPkJKT7FdEn9xXfnntG7POfTmqnSaza97ylaBf1luZDh4IgV+vgUoR//id5pf8Ru+Ym+0g== -vue-jest@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-3.0.3.tgz#80f664712f2678b1d8bb3af0f2c0bef5efa8de31" - integrity sha512-QwFQjkv2vXYPKUkNZkMbV/ZTHyQhRM1JY8nP68dRLQmdvCN+VUEKhlByH/PgPqDr2p/NuhaM3PUjJ9nreR++3w== +vue-jest@^4.0.0-0: + version "4.0.0-beta.1" + resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-4.0.0-beta.1.tgz#9cc12a366c9fa61079bf994f842258d5709b5a5c" + integrity sha512-EGbk9r22HtJ0BEft7Iz693Z7hgANnyR1Wh6Arb1UmS0FuolD91WMXjN+ab5Wf5L57Kliw5kiIrsySLDOADLSWQ== dependencies: - babel-plugin-transform-es2015-modules-commonjs "^6.26.0" + "@babel/plugin-transform-modules-commonjs" "^7.2.0" + "@vue/component-compiler-utils" "^2.4.0" chalk "^2.1.0" extract-from-css "^0.4.4" - find-babel-config "^1.1.0" - js-beautify "^1.6.14" - node-cache "^4.1.1" - object-assign "^4.1.1" source-map "^0.5.6" - tsconfig "^7.0.0" - vue-template-es2015-compiler "^1.6.0" + ts-jest "^23.10.5" vue-loader@^15.6.2: version "15.6.2" @@ -11415,7 +11133,7 @@ vue-template-compiler@^2.6.6: de-indent "^1.0.2" he "^1.1.0" -vue-template-es2015-compiler@^1.6.0, vue-template-es2015-compiler@^1.8.2: +vue-template-es2015-compiler@^1.8.2: version "1.8.2" resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== @@ -11705,7 +11423,16 @@ wrappy@1: resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@^2.0.0, write-file-atomic@^2.1.0, write-file-atomic@^2.3.0: +write-file-atomic@2.4.1: + version "2.4.1" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz#d0b05463c188ae804396fd5ab2a370062af87529" + integrity sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg== + dependencies: + graceful-fs "^4.1.11" + imurmurhash "^0.1.4" + signal-exit "^3.0.2" + +write-file-atomic@^2.0.0, write-file-atomic@^2.3.0: version "2.4.2" resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.2.tgz#a7181706dfba17855d221140a9c06e15fcdd87b9" integrity sha512-s0b6vB3xIVRLWywa6X9TOMA7k9zio0TMOsl9ZnDkliA/cfJlpHXAscj0gbHVJiTdIuAYpIyqS5GW91fqm6gG5g== @@ -11760,11 +11487,6 @@ xml-name-validator@^3.0.0: resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== -xml@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5" - integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU= - xmlchars@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-1.3.1.tgz#1dda035f833dbb4f86a0c28eaa6ca769214793cf" @@ -11782,11 +11504,6 @@ xxhashjs@^0.2.1: dependencies: cuint "^0.2.2" -y18n@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" - integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= - "y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" @@ -11817,32 +11534,7 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^9.0.2: - version "9.0.2" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" - integrity sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc= - dependencies: - camelcase "^4.1.0" - -yargs@^11.0.0: - version "11.1.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz#90b869934ed6e871115ea2ff58b03f4724ed2d77" - integrity sha512-NwW69J42EsCSanF8kyn5upxvjp5ds+t3+udGBeTbFnERA+lF541DDpMawzo4z6W/QrzNM18D+BPMiOBibnFV5A== - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^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 "^9.0.2" - -yargs@^12.0.1, yargs@^12.0.5: +yargs@^12.0.1, yargs@^12.0.2, yargs@^12.0.5: version "12.0.5" resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== From 06f4762e4757287d6338ccb4ffbf0799b23236a2 Mon Sep 17 00:00:00 2001 From: Pim Date: Tue, 12 Feb 2019 17:31:27 +0100 Subject: [PATCH 079/221] chore(examples): fix links to vue-meta repo (#5018) --- examples/meta-info/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/meta-info/README.md b/examples/meta-info/README.md index 9832e65a42..2d2ddaa6a5 100644 --- a/examples/meta-info/README.md +++ b/examples/meta-info/README.md @@ -1,6 +1,6 @@ # Manage your app's meta information -Nuxt.js uses [vue-meta](https://github.com/declandewet/vue-meta) to manage page meta info (such as: meta, title, link, style, script) of your application. +Nuxt.js uses [vue-meta](https://github.com/nuxt/vue-meta) to manage page meta info (such as: meta, title, link, style, script) of your application. ## Example @@ -10,4 +10,4 @@ SEO: https://nuxtjs.org/examples/seo-html-head Nuxt.js: https://nuxtjs.org/guide/views#html-head -vue-meta: https://github.com/declandewet/vue-meta#table-of-contents +vue-meta: https://github.com/nuxt/vue-meta#table-of-contents From 21e7936ecfd51be96838754c95f72fc40f5f3345 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 12 Feb 2019 16:42:39 +0000 Subject: [PATCH 080/221] chore(deps): update dependency vue-jest to ^4.0.0-beta.1 (#5016) --- package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 300a772017..f8b53e7809 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "ts-loader": "^5.3.3", "tslint": "^5.12.1", "typescript": "^3.3.3", - "vue-jest": "^4.0.0-0", + "vue-jest": "^4.0.0-beta.1", "vue-property-decorator": "^7.3.0" }, "repository": { diff --git a/yarn.lock b/yarn.lock index dbf5b9594b..5905f9e3b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11053,7 +11053,7 @@ vue-hot-reload-api@^2.3.0: resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.2.tgz#1fcc1495effe08a790909b46bf7b5c4cfeb6f21b" integrity sha512-NpznMQoe/DzMG7nJjPkJKT7FdEn9xXfnntG7POfTmqnSaza97ylaBf1luZDh4IgV+vgUoR//id5pf8Ru+Ym+0g== -vue-jest@^4.0.0-0: +vue-jest@^4.0.0-beta.1: version "4.0.0-beta.1" resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-4.0.0-beta.1.tgz#9cc12a366c9fa61079bf994f842258d5709b5a5c" integrity sha512-EGbk9r22HtJ0BEft7Iz693Z7hgANnyR1Wh6Arb1UmS0FuolD91WMXjN+ab5Wf5L57Kliw5kiIrsySLDOADLSWQ== From 9be8861b811c5d2e95f6c544c132ec8884013756 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 13 Feb 2019 12:16:06 +0330 Subject: [PATCH 081/221] chore(deps): update all non-major dependencies (#5019) --- package.json | 2 +- packages/typescript/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 245 +++++++++++++++++++++++++++++-- 4 files changed, 236 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index f8b53e7809..6ab6e51997 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "babel-jest": "^24.1.0", "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", - "codecov": "^3.1.0", + "codecov": "^3.2.0", "consola": "^2.4.1", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index ef79da366c..6d45cdf4a5 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.25", + "@types/node": "^10.12.26", "chalk": "^2.4.2", "consola": "^2.4.1", "enquirer": "^2.3.0", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 8f6cfc25f5..9353ee5404 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -19,7 +19,7 @@ "chalk": "^2.4.2", "consola": "^2.4.1", "css-loader": "^2.1.0", - "cssnano": "^4.1.8", + "cssnano": "^4.1.9", "eventsource-polyfill": "^0.9.6", "extract-css-chunks-webpack-plugin": "^3.3.2", "file-loader": "^3.0.1", diff --git a/yarn.lock b/yarn.lock index 5905f9e3b3..190ccbe63a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1419,10 +1419,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-11.9.0.tgz#35fea17653490dab82e1d5e69731abfdbf13160d" integrity sha512-ry4DOrC+xenhQbzk1iIPzCZGhhPGEFv7ia7Iu6XXSLVluiJIe9FfG7Iu3mObH9mpxEXCWLCMU4JWbCCR9Oy1Zg== -"@types/node@^10.12.25": - version "10.12.25" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.25.tgz#0d01a7dd6127de60d861ece4a650963042abb538" - integrity sha512-IcvnGLGSQFDvC07Bz2I8SX+QKErDZbUdiQq7S2u3XyzTyJfUmT0sWJMbeQkMzpTAkO7/N7sZpW/arUM2jfKsbQ== +"@types/node@^10.12.26": + version "10.12.26" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.26.tgz#2dec19f1f7981c95cb54bab8f618ecb5dc983d0e" + integrity sha512-nMRqS+mL1TOnIJrL6LKJcNZPB8V3eTfRo9FQA2b5gDvrHurC8XbSA86KNe0dShlEL7ReWJv/OU9NL7Z0dnqWTg== "@types/q@^1.5.1": version "1.5.1" @@ -2827,15 +2827,15 @@ code-point-at@^1.0.0: resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= -codecov@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/codecov/-/codecov-3.1.0.tgz#340bd968d361f256976b5af782dd8ba9f82bc849" - integrity sha512-aWQc/rtHbcWEQLka6WmBAOpV58J2TwyXqlpAQGhQaSiEUoigTTUk6lLd2vB3kXkhnDyzyH74RXfmV4dq2txmdA== +codecov@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/codecov/-/codecov-3.2.0.tgz#4465ee19884528092d8c313e1f9e4bdc7d3065cd" + integrity sha512-3NJvNARXxilqnqVfgzDHyVrF4oeVgaYW1c1O6Oi5mn93exE7HTSSFNiYdwojWW6IwrCZABJ8crpNbKoo9aUHQw== dependencies: argv "^0.0.2" ignore-walk "^3.0.1" js-yaml "^3.12.0" - request "^2.87.0" + teeny-request "^3.7.0" urlgrey "^0.4.4" collection-visit@^1.0.0: @@ -3455,6 +3455,42 @@ cssnano-preset-default@^4.0.6: postcss-svgo "^4.0.1" postcss-unique-selectors "^4.0.1" +cssnano-preset-default@^4.0.7: + version "4.0.7" + resolved "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76" + integrity sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA== + dependencies: + css-declaration-sorter "^4.0.1" + cssnano-util-raw-cache "^4.0.1" + postcss "^7.0.0" + postcss-calc "^7.0.1" + postcss-colormin "^4.0.3" + postcss-convert-values "^4.0.1" + postcss-discard-comments "^4.0.2" + postcss-discard-duplicates "^4.0.2" + postcss-discard-empty "^4.0.1" + postcss-discard-overridden "^4.0.1" + postcss-merge-longhand "^4.0.11" + postcss-merge-rules "^4.0.3" + postcss-minify-font-values "^4.0.2" + postcss-minify-gradients "^4.0.2" + postcss-minify-params "^4.0.2" + postcss-minify-selectors "^4.0.2" + postcss-normalize-charset "^4.0.1" + postcss-normalize-display-values "^4.0.2" + postcss-normalize-positions "^4.0.2" + postcss-normalize-repeat-style "^4.0.2" + postcss-normalize-string "^4.0.2" + postcss-normalize-timing-functions "^4.0.2" + postcss-normalize-unicode "^4.0.1" + postcss-normalize-url "^4.0.1" + postcss-normalize-whitespace "^4.0.2" + postcss-ordered-values "^4.1.2" + postcss-reduce-initial "^4.0.3" + postcss-reduce-transforms "^4.0.2" + postcss-svgo "^4.0.2" + postcss-unique-selectors "^4.0.1" + cssnano-util-get-arguments@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz#ed3a08299f21d75741b20f3b81f194ed49cc150f" @@ -3477,7 +3513,7 @@ cssnano-util-same-parent@^4.0.0: resolved "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3" integrity sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q== -cssnano@^4.1.0, cssnano@^4.1.8: +cssnano@^4.1.0: version "4.1.8" resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.8.tgz#8014989679d5fd42491e4499a521dbfb85c95fd1" integrity sha512-5GIY0VzAHORpbKiL3rMXp4w4M1Ki+XlXgEXyuWXVd3h6hlASb+9Vo76dNP56/elLMVBBsUfusCo1q56uW0UWig== @@ -3487,6 +3523,16 @@ cssnano@^4.1.0, cssnano@^4.1.8: is-resolvable "^1.0.0" postcss "^7.0.0" +cssnano@^4.1.9: + version "4.1.9" + resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.9.tgz#f2ac0f5a8b9396fcb11d25fb3aab1e86303fcbd2" + integrity sha512-osEbYy4kzaNY3nkd92Uf3hy5Jqb5Aztuv+Ze3Z6DjRhyntZDlb3YljiYDdJ05k167U86CZpSR+rbuJYN7N3oBQ== + dependencies: + cosmiconfig "^5.0.0" + cssnano-preset-default "^4.0.7" + is-resolvable "^1.0.0" + postcss "^7.0.0" + csso@^3.5.0: version "3.5.1" resolved "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b" @@ -7290,7 +7336,7 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" -node-fetch@^2.3.0: +node-fetch@^2.2.0, node-fetch@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.3.0.tgz#1a1d940bbfb916a1d3e0219f037e89e71f8c5fa5" integrity sha512-MOd8pV3fxENbryESLgVIeaGKrdl+uaYhCSSVkjeOb/31/njTpcis5aWfdqgNlHIrKOLRbMnfPINPOML2CIFeXA== @@ -8112,7 +8158,7 @@ postcss-attribute-case-insensitive@^4.0.0: postcss "^7.0.2" postcss-selector-parser "^5.0.0" -postcss-calc@^7.0.0: +postcss-calc@^7.0.0, postcss-calc@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz#36d77bab023b0ecbb9789d84dcb23c4941145436" integrity sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ== @@ -8175,6 +8221,17 @@ postcss-colormin@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-colormin@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz#ae060bce93ed794ac71264f08132d550956bd381" + integrity sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw== + dependencies: + browserslist "^4.0.0" + color "^3.0.0" + has "^1.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-convert-values@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz#ca3813ed4da0f812f9d43703584e449ebe189a7f" @@ -8221,6 +8278,13 @@ postcss-discard-comments@^4.0.1: dependencies: postcss "^7.0.0" +postcss-discard-comments@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033" + integrity sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg== + dependencies: + postcss "^7.0.0" + postcss-discard-duplicates@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz#3fe133cd3c82282e550fc9b239176a9207b784eb" @@ -8370,6 +8434,16 @@ postcss-merge-longhand@^4.0.10: postcss-value-parser "^3.0.0" stylehacks "^4.0.0" +postcss-merge-longhand@^4.0.11: + version "4.0.11" + resolved "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz#62f49a13e4a0ee04e7b98f42bb16062ca2549e24" + integrity sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw== + dependencies: + css-color-names "0.0.4" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + stylehacks "^4.0.0" + postcss-merge-rules@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.2.tgz#2be44401bf19856f27f32b8b12c0df5af1b88e74" @@ -8382,6 +8456,18 @@ postcss-merge-rules@^4.0.2: postcss-selector-parser "^3.0.0" vendors "^1.0.0" +postcss-merge-rules@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz#362bea4ff5a1f98e4075a713c6cb25aefef9a650" + integrity sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ== + dependencies: + browserslist "^4.0.0" + caniuse-api "^3.0.0" + cssnano-util-same-parent "^4.0.0" + postcss "^7.0.0" + postcss-selector-parser "^3.0.0" + vendors "^1.0.0" + postcss-minify-font-values@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz#cd4c344cce474343fac5d82206ab2cbcb8afd5a6" @@ -8400,6 +8486,16 @@ postcss-minify-gradients@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-minify-gradients@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz#93b29c2ff5099c535eecda56c4aa6e665a663471" + integrity sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q== + dependencies: + cssnano-util-get-arguments "^4.0.0" + is-color-stop "^1.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-minify-params@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.1.tgz#5b2e2d0264dd645ef5d68f8fec0d4c38c1cf93d2" @@ -8412,6 +8508,18 @@ postcss-minify-params@^4.0.1: postcss-value-parser "^3.0.0" uniqs "^2.0.0" +postcss-minify-params@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz#6b9cef030c11e35261f95f618c90036d680db874" + integrity sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg== + dependencies: + alphanum-sort "^1.0.0" + browserslist "^4.0.0" + cssnano-util-get-arguments "^4.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + uniqs "^2.0.0" + postcss-minify-selectors@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.1.tgz#a891c197977cc37abf60b3ea06b84248b1c1e9cd" @@ -8422,6 +8530,16 @@ postcss-minify-selectors@^4.0.1: postcss "^7.0.0" postcss-selector-parser "^3.0.0" +postcss-minify-selectors@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz#e2e5eb40bfee500d0cd9243500f5f8ea4262fbd8" + integrity sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g== + dependencies: + alphanum-sort "^1.0.0" + has "^1.0.0" + postcss "^7.0.0" + postcss-selector-parser "^3.0.0" + postcss-modules-extract-imports@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" @@ -8477,6 +8595,15 @@ postcss-normalize-display-values@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-display-values@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz#0dbe04a4ce9063d4667ed2be476bb830c825935a" + integrity sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ== + dependencies: + cssnano-util-get-match "^4.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-positions@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.1.tgz#ee2d4b67818c961964c6be09d179894b94fd6ba1" @@ -8487,6 +8614,16 @@ postcss-normalize-positions@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-positions@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz#05f757f84f260437378368a91f8932d4b102917f" + integrity sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA== + dependencies: + cssnano-util-get-arguments "^4.0.0" + has "^1.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-repeat-style@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.1.tgz#5293f234b94d7669a9f805495d35b82a581c50e5" @@ -8497,6 +8634,16 @@ postcss-normalize-repeat-style@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-repeat-style@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz#c4ebbc289f3991a028d44751cbdd11918b17910c" + integrity sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q== + dependencies: + cssnano-util-get-arguments "^4.0.0" + cssnano-util-get-match "^4.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-string@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.1.tgz#23c5030c2cc24175f66c914fa5199e2e3c10fef3" @@ -8506,6 +8653,15 @@ postcss-normalize-string@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-string@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz#cd44c40ab07a0c7a36dc5e99aace1eca4ec2690c" + integrity sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA== + dependencies: + has "^1.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-timing-functions@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.1.tgz#8be83e0b9cb3ff2d1abddee032a49108f05f95d7" @@ -8515,6 +8671,15 @@ postcss-normalize-timing-functions@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-timing-functions@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz#8e009ca2a3949cdaf8ad23e6b6ab99cb5e7d28d9" + integrity sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A== + dependencies: + cssnano-util-get-match "^4.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-unicode@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz#841bd48fdcf3019ad4baa7493a3d363b52ae1cfb" @@ -8542,6 +8707,14 @@ postcss-normalize-whitespace@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-normalize-whitespace@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz#bf1d4070fe4fcea87d1348e825d8cc0c5faa7d82" + integrity sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA== + dependencies: + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-ordered-values@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.1.tgz#2e3b432ef3e489b18333aeca1f1295eb89be9fc2" @@ -8551,6 +8724,15 @@ postcss-ordered-values@^4.1.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-ordered-values@^4.1.2: + version "4.1.2" + resolved "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz#0cf75c820ec7d5c4d280189559e0b571ebac0eee" + integrity sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw== + dependencies: + cssnano-util-get-arguments "^4.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-overflow-shorthand@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-2.0.0.tgz#31ecf350e9c6f6ddc250a78f0c3e111f32dd4c30" @@ -8634,6 +8816,16 @@ postcss-reduce-initial@^4.0.2: has "^1.0.0" postcss "^7.0.0" +postcss-reduce-initial@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df" + integrity sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA== + dependencies: + browserslist "^4.0.0" + caniuse-api "^3.0.0" + has "^1.0.0" + postcss "^7.0.0" + postcss-reduce-transforms@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.1.tgz#8600d5553bdd3ad640f43bff81eb52f8760d4561" @@ -8644,6 +8836,16 @@ postcss-reduce-transforms@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" +postcss-reduce-transforms@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz#17efa405eacc6e07be3414a5ca2d1074681d4e29" + integrity sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg== + dependencies: + cssnano-util-get-match "^4.0.0" + has "^1.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + postcss-replace-overflow-wrap@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-3.0.0.tgz#61b360ffdaedca84c7c918d2b0f0d0ea559ab01c" @@ -8695,6 +8897,16 @@ postcss-svgo@^4.0.1: postcss-value-parser "^3.0.0" svgo "^1.0.0" +postcss-svgo@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258" + integrity sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw== + dependencies: + is-svg "^3.0.0" + postcss "^7.0.0" + postcss-value-parser "^3.0.0" + svgo "^1.0.0" + postcss-unique-selectors@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz#9446911f3289bfd64c6d680f073c03b1f9ee4bac" @@ -10425,6 +10637,15 @@ tar@^4, tar@^4.4.8: safe-buffer "^5.1.2" yallist "^3.0.2" +teeny-request@^3.7.0: + version "3.11.3" + resolved "https://registry.npmjs.org/teeny-request/-/teeny-request-3.11.3.tgz#335c629f7645e5d6599362df2f3230c4cbc23a55" + integrity sha512-CKncqSF7sH6p4rzCgkb/z/Pcos5efl0DmolzvlqRQUNcpRIruOhY9+T1FsIlyEbfWd7MsFpodROOwHYh2BaXzw== + dependencies: + https-proxy-agent "^2.2.1" + node-fetch "^2.2.0" + uuid "^3.3.2" + temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" From ad6a8cda9a27316a0514919aa4617aed2f4ed9b1 Mon Sep 17 00:00:00 2001 From: Pim Date: Wed, 13 Feb 2019 10:16:51 +0100 Subject: [PATCH 082/221] test: mock enquirer in typescript tests (#5025) --- packages/typescript/test/setup.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/typescript/test/setup.test.js b/packages/typescript/test/setup.test.js index 54b0614274..3646048f49 100644 --- a/packages/typescript/test/setup.test.js +++ b/packages/typescript/test/setup.test.js @@ -4,6 +4,9 @@ import { register } from 'ts-node' import { setup as setupTypeScript } from '@nuxt/typescript' jest.mock('ts-node') +jest.mock('enquirer', () => ({ + prompt: jest.fn(() => ({ confirmGeneration: true })) +})) describe('typescript setup', () => { const rootDir = 'tmp' From bcd672f9315c98a9437a5cdc686d7516588b73c3 Mon Sep 17 00:00:00 2001 From: Andrey Shertsinger Date: Wed, 13 Feb 2019 16:18:41 +0700 Subject: [PATCH 083/221] fix: generate failure (#5007) --- packages/webpack/src/plugins/vue/server.js | 9 +++- packages/webpack/src/plugins/vue/util.js | 6 ++- .../filenames-query-part.test.js | 3 ++ .../filenames-query-part/nuxt.config.js | 8 +++ .../filenames-query-part/pages/index.vue | 5 ++ test/unit/filenames-query-part.test.js | 53 +++++++++++++++++++ 6 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 test/fixtures/filenames-query-part/filenames-query-part.test.js create mode 100644 test/fixtures/filenames-query-part/nuxt.config.js create mode 100644 test/fixtures/filenames-query-part/pages/index.vue create mode 100644 test/unit/filenames-query-part.test.js diff --git a/packages/webpack/src/plugins/vue/server.js b/packages/webpack/src/plugins/vue/server.js index 00ac888029..b893b1dbc4 100644 --- a/packages/webpack/src/plugins/vue/server.js +++ b/packages/webpack/src/plugins/vue/server.js @@ -1,4 +1,4 @@ -import { validate, isJS } from './util' +import { validate, isJS, extractQueryPartJS } from './util' export default class VueSSRServerPlugin { constructor(options = {}) { @@ -44,7 +44,12 @@ export default class VueSSRServerPlugin { stats.assets.forEach((asset) => { if (isJS(asset.name)) { - bundle.files[asset.name] = asset.name + const queryPart = extractQueryPartJS(asset.name) + if (queryPart !== undefined) { + bundle.files[asset.name] = asset.name.replace(queryPart, '') + } else { + bundle.files[asset.name] = asset.name + } } else if (asset.name.match(/\.js\.map$/)) { bundle.maps[asset.name.replace(/\.map$/, '')] = asset.name } else { diff --git a/packages/webpack/src/plugins/vue/util.js b/packages/webpack/src/plugins/vue/util.js index 7db9feb8f8..1b992ff84d 100644 --- a/packages/webpack/src/plugins/vue/util.js +++ b/packages/webpack/src/plugins/vue/util.js @@ -22,6 +22,10 @@ export const validate = (compiler) => { } } -export const isJS = file => /\.js(\?[^.]+)?$/.test(file) +const isJSRegExp = /\.js(\?[^.]+)?$/ + +export const isJS = file => isJSRegExp.test(file) + +export const extractQueryPartJS = file => isJSRegExp.exec(file)[1] export const isCSS = file => /\.css(\?[^.]+)?$/.test(file) diff --git a/test/fixtures/filenames-query-part/filenames-query-part.test.js b/test/fixtures/filenames-query-part/filenames-query-part.test.js new file mode 100644 index 0000000000..d721c3eebc --- /dev/null +++ b/test/fixtures/filenames-query-part/filenames-query-part.test.js @@ -0,0 +1,3 @@ +import { buildFixture } from '../../utils/build' + +buildFixture('filenames-query-part') diff --git a/test/fixtures/filenames-query-part/nuxt.config.js b/test/fixtures/filenames-query-part/nuxt.config.js new file mode 100644 index 0000000000..fb293c9e5a --- /dev/null +++ b/test/fixtures/filenames-query-part/nuxt.config.js @@ -0,0 +1,8 @@ +export default { + build: { + filenames: { + app: '[name].js?v=[contenthash]', + chunk: '[name].js?v=[contenthash]' + } + } +} diff --git a/test/fixtures/filenames-query-part/pages/index.vue b/test/fixtures/filenames-query-part/pages/index.vue new file mode 100644 index 0000000000..24fa9df56e --- /dev/null +++ b/test/fixtures/filenames-query-part/pages/index.vue @@ -0,0 +1,5 @@ + diff --git a/test/unit/filenames-query-part.test.js b/test/unit/filenames-query-part.test.js new file mode 100644 index 0000000000..c99eb19050 --- /dev/null +++ b/test/unit/filenames-query-part.test.js @@ -0,0 +1,53 @@ +import { resolve } from 'path' +import { existsSync, readFileSync } from 'fs' +import { getPort, loadFixture, Nuxt } from '../utils' + +let port + +let nuxt = null + +expect.extend({ + toFileExist(file) { + if (existsSync(file)) { + return { + message: () => `expected '${file}' not exist`, + pass: true + } + } else { + return { + message: () => `expected '${file}' exist`, + pass: false + } + } + } +}) + +describe('build filenames with query part', () => { + beforeAll(async () => { + const config = await loadFixture('filenames-query-part') + nuxt = new Nuxt(config) + port = await getPort() + await nuxt.server.listen(port, 'localhost') + }) + + test('server manifest files exist', () => { + const manifest = JSON.parse(readFileSync(resolve(__dirname, '..', 'fixtures/filenames-query-part/.nuxt/dist/server/server.manifest.json'), 'utf8')) + expect(manifest).toMatchObject({ + files: expect.any(Object) + }) + for (const file in manifest.files) { + expect(resolve(__dirname, '..', `fixtures/filenames-query-part/.nuxt/dist/server/${manifest.files[file]}`)).toFileExist() + } + }) + + test("render / without error 'Cannot find module'", async () => { + await expect(nuxt.server.renderRoute('/')).resolves.toMatchObject({ + html: expect.stringContaining('

Chunks with version in query part

') + }) + }) + + // Close server and ask nuxt to stop listening to file changes + afterAll(async () => { + await nuxt.close() + }) +}) From aad46ed674482ea7dc8e8260612dd1b443512900 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Wed, 13 Feb 2019 10:32:13 +0000 Subject: [PATCH 084/221] fix: disable parallel build when extractCSS is enabled --- packages/config/src/options.js | 6 ++++++ packages/config/test/options.test.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 90973da87f..54affc9ab6 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -281,6 +281,12 @@ export function getNuxtConfig(_options) { consola.warn('vendor has been deprecated due to webpack4 optimization') } + // Disable CSS extraction due to incompatibility with thread-loader + if (options.build && options.build.extractCSS && options.build.parallel) { + options.build.parallel = false + consola.warn('extractCSS cannot work with parallel build due to limited work pool in thread-loader') + } + // build.extractCSS.allChunks has no effect if (typeof options.build.extractCSS.allChunks !== 'undefined') { consola.warn('build.extractCSS.allChunks has no effect from v2.0.0. Please use build.optimization.splitChunks settings instead.') diff --git a/packages/config/test/options.test.js b/packages/config/test/options.test.js index d0d4d826bf..412f7cb4d3 100644 --- a/packages/config/test/options.test.js +++ b/packages/config/test/options.test.js @@ -105,6 +105,12 @@ describe('config: options', () => { expect(fallback).toEqual('404.html') }) + test('should disable parallel if extractCSS is enabled', () => { + const { build: { parallel } } = getNuxtConfig({ build: { extractCSS: true, parallel: true } }) + expect(parallel).toEqual(false) + expect(consola.warn).toHaveBeenCalledWith('extractCSS cannot work with parallel build due to limited work pool in thread-loader') + }) + describe('config: router dir', () => { test('should transform middleware to array', () => { const { router: { middleware } } = getNuxtConfig({ router: { middleware: 'midd' } }) From 176641f6cb70c0184633d773ff9644f26a7bbcc5 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Wed, 13 Feb 2019 11:26:05 +0000 Subject: [PATCH 085/221] refactor: fallback to babel-preset-env defualt targets when buildTarget is not specified --- packages/babel-preset-app/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-preset-app/src/index.js b/packages/babel-preset-app/src/index.js index c852c10cbe..3cfdff33f3 100644 --- a/packages/babel-preset-app/src/index.js +++ b/packages/babel-preset-app/src/index.js @@ -49,7 +49,7 @@ module.exports = (context, options = {}) => { let { targets } = options if (modern === true) { targets = { esmodules: true } - } else if (targets === undefined) { + } else if (targets === undefined && typeof buildTarget === 'string') { targets = buildTarget === 'server' ? { node: 'current' } : { ie: 9 } } From 0826d7e5fd0271cdb46b7bfddb7eee02fe197f3f Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Wed, 13 Feb 2019 14:37:12 +0000 Subject: [PATCH 086/221] perf: await routeData promises in parallel (#5027) --- packages/vue-app/template/utils.js | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/packages/vue-app/template/utils.js b/packages/vue-app/template/utils.js index fdd9f97bd8..f75edf392e 100644 --- a/packages/vue-app/template/utils.js +++ b/packages/vue-app/template/utils.js @@ -106,6 +106,9 @@ export function resolveRouteComponents(route) { } export async function getRouteData(route) { + if (!route) { + return + } // Make sure the components are resolved (code-splitting) await resolveRouteComponents(route) // Send back a copy of route with meta based on Component definition @@ -188,19 +191,27 @@ export async function setContext(app, context) { app.context.nuxtState = window.<%= globals.context %> } } + // Dynamic keys + const [currentRouteData, fromRouteData] = await Promise.all([ + getRouteData(context.route), + getRouteData(context.from) + ]) + + if (context.route) { + app.context.route = currentRouteData + } + + if (context.from) { + app.context.from = fromRouteData + } + app.context.next = context.next app.context._redirected = false app.context._errored = false app.context.isHMR = !!context.isHMR - if (context.route) { - app.context.route = await getRouteData(context.route) - } app.context.params = app.context.route.params || {} app.context.query = app.context.route.query || {} - if (context.from) { - app.context.from = await getRouteData(context.from) - } } export function middlewareSeries(promises, appContext) { From 636e7e1001247a9152a0ee57b3049ef1dcef7734 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 14 Feb 2019 10:07:08 +0000 Subject: [PATCH 087/221] chore: change browserstack image --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cddc16ce1b..6acacb9d7a 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ Please refer to our [Contribution Guide](https://nuxtjs.org/guide/contribution-g Thanks to BrowserStack! -BrowserStack +BrowserStack ## Security From 2b4d79c1993e93c574707e28b5c72ff5f38a91ce Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 14 Feb 2019 13:21:11 +0000 Subject: [PATCH 088/221] refactor: not detect modern browser if modern mode is disabled --- packages/server/src/middleware/modern.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/server/src/middleware/modern.js b/packages/server/src/middleware/modern.js index 462bf14c3f..c1be269f17 100644 --- a/packages/server/src/middleware/modern.js +++ b/packages/server/src/middleware/modern.js @@ -53,8 +53,7 @@ const detectModernBrowser = ({ socket = {}, headers }) => { } const setModernMode = (req, options) => { - const { socket = {} } = req - const { isModernBrowser } = socket + const { socket: { isModernBrowser } = {} } = req if (options.modern === 'server') { req.modernMode = isModernBrowser } @@ -65,7 +64,9 @@ const setModernMode = (req, options) => { export default ({ context }) => (req, res, next) => { detectModernBuild(context) - detectModernBrowser(req) - setModernMode(req, context.options) + if (context.options.modern !== false) { + detectModernBrowser(req) + setModernMode(req, context.options) + } next() } From c6d8e8ff66ae43eda5b412b280800c9cdcd2e699 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 14 Feb 2019 14:01:30 +0000 Subject: [PATCH 089/221] refactor: isModernBrowser return boolean for avoiding duplicate call --- packages/server/src/middleware/modern.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/middleware/modern.js b/packages/server/src/middleware/modern.js index c1be269f17..97976f56e9 100644 --- a/packages/server/src/middleware/modern.js +++ b/packages/server/src/middleware/modern.js @@ -20,7 +20,7 @@ const isModernBrowser = (ua) => { if (!browserVersion) { return false } - return modernBrowsers[browser.name] && semver.gte(browserVersion, modernBrowsers[browser.name]) + return Boolean(modernBrowsers[browser.name] && semver.gte(browserVersion, modernBrowsers[browser.name])) } let detected = false From d9a0b5f61ba51b28276f2accffb44c2b193263a4 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 14 Feb 2019 15:21:33 +0000 Subject: [PATCH 090/221] fix: not send Server-Timing header if no timing info --- packages/server/src/middleware/timing.js | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/packages/server/src/middleware/timing.js b/packages/server/src/middleware/timing.js index b2b27fd8a7..de79b39ba1 100644 --- a/packages/server/src/middleware/timing.js +++ b/packages/server/src/middleware/timing.js @@ -15,13 +15,16 @@ export default options => (req, res, next) => { onHeaders(res, () => { res.timing.end('total') - res.setHeader( - 'Server-Timing', - [] - .concat(res.getHeader('Server-Timing') || []) - .concat(res.timing.headers) - .join(', ') - ) + if (res.timing.headers.length > 0) { + res.setHeader( + 'Server-Timing', + [] + .concat(res.getHeader('Server-Timing') || []) + .concat(res.timing.headers) + .join(', ') + ) + } + res.timing.clear() }) next() @@ -35,7 +38,9 @@ class ServerTiming extends Timer { end(...args) { const time = super.end(...args) - this.headers.push(this.formatHeader(time)) + if (time) { + this.headers.push(this.formatHeader(time)) + } return time } From 2015140d1287bcf3701b170cd7d4000b01270c82 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 14 Feb 2019 19:26:58 +0330 Subject: [PATCH 091/221] feat(vue-app): universal fetch (#5028) * pkg(nuxt-start): add node-fetch, unfetch * pkg(vue-app): add node-fetch, unfetch * add yarn.lock * feat(config): _app.fetch options * feat(builder): add fetch to templateVars * feat(vue-app): polyfill global with fetch * feat(fixtures/basic): /api/test * add fetch example to fixtures * remove unfetch from nuxt-start * update template snapshot * revert extra new line in server.js * single line if --- distributions/nuxt-start/package.json | 1 + packages/builder/src/context/template.js | 1 + .../__snapshots__/template.test.js.snap | 1 + packages/config/src/config/_app.js | 5 +++ .../test/__snapshots__/options.test.js.snap | 4 +++ .../config/__snapshots__/index.test.js.snap | 8 +++++ packages/vue-app/package.json | 2 ++ packages/vue-app/template/client.js | 3 ++ packages/vue-app/template/server.js | 3 ++ test/fixtures/basic/nuxt.config.js | 6 ++++ test/fixtures/basic/pages/fetch.vue | 34 +++++++++++++++++++ yarn.lock | 5 +++ 12 files changed, 73 insertions(+) create mode 100644 test/fixtures/basic/pages/fetch.vue diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index c254353d21..67e5fe6baf 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -54,6 +54,7 @@ "dependencies": { "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", + "node-fetch": "^2.3.0", "vue": "^2.6.6", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", diff --git a/packages/builder/src/context/template.js b/packages/builder/src/context/template.js index f3af55b268..7c5971d007 100644 --- a/packages/builder/src/context/template.js +++ b/packages/builder/src/context/template.js @@ -21,6 +21,7 @@ export default class TemplateContext { isTest: options.test, debug: options.debug, vue: { config: options.vue.config }, + fetch: options.fetch, mode: options.mode, router: options.router, env: options.env, diff --git a/packages/builder/test/context/__snapshots__/template.test.js.snap b/packages/builder/test/context/__snapshots__/template.test.js.snap index 952b4e7193..6fb2a1e0a6 100644 --- a/packages/builder/test/context/__snapshots__/template.test.js.snap +++ b/packages/builder/test/context/__snapshots__/template.test.js.snap @@ -19,6 +19,7 @@ TemplateContext { ], "env": "test_env", "extensions": "test|ext", + "fetch": undefined, "globalName": "test_global", "globals": Array [ "globals", diff --git a/packages/config/src/config/_app.js b/packages/config/src/config/_app.js index c591728e9c..ac8c58f3c3 100644 --- a/packages/config/src/config/_app.js +++ b/packages/config/src/config/_app.js @@ -13,6 +13,11 @@ export default () => ({ script: [] }, + fetch: { + server: true, + client: true + }, + plugins: [], css: [], diff --git a/packages/config/test/__snapshots__/options.test.js.snap b/packages/config/test/__snapshots__/options.test.js.snap index f5803e59b4..8324643528 100644 --- a/packages/config/test/__snapshots__/options.test.js.snap +++ b/packages/config/test/__snapshots__/options.test.js.snap @@ -156,6 +156,10 @@ Object { "mjs", "ts", ], + "fetch": Object { + "client": true, + "server": true, + }, "generate": Object { "concurrency": 500, "dir": "/var/nuxt/test/dist", diff --git a/packages/config/test/config/__snapshots__/index.test.js.snap b/packages/config/test/config/__snapshots__/index.test.js.snap index 23837bdcc4..bb9c006373 100644 --- a/packages/config/test/config/__snapshots__/index.test.js.snap +++ b/packages/config/test/config/__snapshots__/index.test.js.snap @@ -142,6 +142,10 @@ Object { "editor": undefined, "env": Object {}, "extensions": Array [], + "fetch": Object { + "client": true, + "server": true, + }, "generate": Object { "concurrency": 500, "dir": "dist", @@ -466,6 +470,10 @@ Object { "editor": undefined, "env": Object {}, "extensions": Array [], + "fetch": Object { + "client": true, + "server": true, + }, "generate": Object { "concurrency": 500, "dir": "dist", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 59c3f7df00..fcbd48a9c0 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -12,6 +12,8 @@ "main": "dist/vue-app.js", "typings": "types/index.d.ts", "dependencies": { + "node-fetch": "^2.3.0", + "unfetch": "^4.0.1", "vue": "^2.6.6", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", diff --git a/packages/vue-app/template/client.js b/packages/vue-app/template/client.js index b6632144ab..8a048b4942 100644 --- a/packages/vue-app/template/client.js +++ b/packages/vue-app/template/client.js @@ -1,4 +1,5 @@ import Vue from 'vue' +<% if (fetch.client) { %>import fetch from 'unfetch'<% } %> import middleware from './middleware.js' import { applyAsyncData, @@ -22,6 +23,8 @@ import NuxtLink from './components/nuxt-link.<%= router.prefetchLinks ? "client" Vue.component(NuxtLink.name, NuxtLink) Vue.component('NLink', NuxtLink) +<% if (fetch.client) { %>if (!global.fetch) { global.fetch = fetch }<% } %> + // Global shared references let _lastPaths = [] let app diff --git a/packages/vue-app/template/server.js b/packages/vue-app/template/server.js index 3e49084d1f..24dd8c54a2 100644 --- a/packages/vue-app/template/server.js +++ b/packages/vue-app/template/server.js @@ -1,5 +1,6 @@ import { stringify } from 'querystring' import Vue from 'vue' +<% if (fetch.server) { %>import fetch from 'node-fetch'<% } %> import middleware from './middleware.js' import { applyAsyncData, getMatchedComponents, middlewareSeries, promisify, urlJoin, sanitizeComponent } from './utils.js' import { createApp, NuxtError } from './index.js' @@ -9,6 +10,8 @@ import NuxtLink from './components/nuxt-link.server.js' // should be included af Vue.component(NuxtLink.name, NuxtLink) Vue.component('NLink', NuxtLink) +<% if (fetch.server) { %>if (!global.fetch) { global.fetch = fetch }<% } %> + const debug = require('debug')('nuxt:render') debug.color = 4 // force blue color diff --git a/test/fixtures/basic/nuxt.config.js b/test/fixtures/basic/nuxt.config.js index f17e9c587b..3ae9716734 100644 --- a/test/fixtures/basic/nuxt.config.js +++ b/test/fixtures/basic/nuxt.config.js @@ -69,6 +69,12 @@ export default { '~/plugins/dir-plugin', '~/plugins/inject' ], + serverMiddleware: [ + { + path: '/api/test', + handler: (_, res) => res.end('Works!') + } + ], build: { scopeHoisting: true, publicPath: '', diff --git a/test/fixtures/basic/pages/fetch.vue b/test/fixtures/basic/pages/fetch.vue new file mode 100644 index 0000000000..7915444930 --- /dev/null +++ b/test/fixtures/basic/pages/fetch.vue @@ -0,0 +1,34 @@ + + + diff --git a/yarn.lock b/yarn.lock index 190ccbe63a..3e0db0e1fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11023,6 +11023,11 @@ umask@^1.1.0: resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= +unfetch@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/unfetch/-/unfetch-4.0.1.tgz#8750c4c7497ade75d40387d7dbc4ba024416b8f6" + integrity sha512-HzDM9NgldcRvHVDb/O9vKoUszVij30Yw5ePjOZJig8nF/YisG7QN/9CBXZ8dsHLouXMeLZ82r+Jod9M2wFkEbQ== + unicode-canonical-property-names-ecmascript@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" From 9f3c175b8f0fbe62ac241a9a788740e3f98c245b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 14 Feb 2019 16:11:34 +0000 Subject: [PATCH 092/221] chore(deps): update dependency eslint-plugin-vue to ^5.2.1 (#5035) [release] --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 6ab6e51997..13da685695 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", - "eslint-plugin-vue": "^5.1.0", + "eslint-plugin-vue": "^5.2.1", "esm": "^3.2.4", "express": "^4.16.4", "finalhandler": "^1.1.1", diff --git a/yarn.lock b/yarn.lock index 3e0db0e1fe..e6172ad829 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4195,12 +4195,12 @@ eslint-plugin-standard@^4.0.0: resolved "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz#f845b45109c99cd90e77796940a344546c8f6b5c" integrity sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA== -eslint-plugin-vue@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-5.1.0.tgz#d0d373334be8140d698ec4e1fb83f09faa48081b" - integrity sha512-C7avvbGLb9J1PyGiFolPcGR4ljUc+dKm5ZJdrUKXwXFxHHx4SqOmRI29AsFyW7PbCGcnOvIlaq7NJS6HDIak+g== +eslint-plugin-vue@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-5.2.1.tgz#89795895c08da56fe3a201955bd645ae67e01918" + integrity sha512-KPrv7Yau1B7PUB+TiEh0bw1lyzQjLp0npfAn7WbkQQFobgwXv4LqmQFBhYXEdXmxSBU/oZ46yBHoTo70RRivUA== dependencies: - vue-eslint-parser "^4.0.2" + vue-eslint-parser "^5.0.0" eslint-scope@3.7.1: version "3.7.1" @@ -11262,10 +11262,10 @@ vue-class-component@^6.2.0: resolved "https://registry.npmjs.org/vue-class-component/-/vue-class-component-6.3.2.tgz#e6037e84d1df2af3bde4f455e50ca1b9eec02be6" integrity sha512-cH208IoM+jgZyEf/g7mnFyofwPDJTM/QvBNhYMjqGB8fCsRyTf68rH2ISw/G20tJv+5mIThQ3upKwoL4jLTr1A== -vue-eslint-parser@^4.0.2: - version "4.0.3" - resolved "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-4.0.3.tgz#80cf162e484387b2640371ad21ba1f86e0c10a61" - integrity sha512-AUeQsYdO6+7QXCems+WvGlrXd37PHv/zcRQSQdY1xdOMwdFAPEnMBsv7zPvk0TPGulXkK/5p/ITgrjiYB7k3ag== +vue-eslint-parser@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz#00f4e4da94ec974b821a26ff0ed0f7a78402b8a1" + integrity sha512-JlHVZwBBTNVvzmifwjpZYn0oPWH2SgWv5dojlZBsrhablDu95VFD+hriB1rQGwbD+bms6g+rAFhQHk6+NyiS6g== dependencies: debug "^4.1.0" eslint-scope "^4.0.0" From 200bce149e45a388e4aa62d7ff7071d2f7221378 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Fri, 15 Feb 2019 13:01:44 +0000 Subject: [PATCH 093/221] chore(deps): update all non-major dependencies --- package.json | 4 +- yarn.lock | 790 ++++++++++++++++++++++++++------------------------- 2 files changed, 404 insertions(+), 390 deletions(-) diff --git a/package.json b/package.json index 13da685695..1ef9ea7e71 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", - "eslint-plugin-jest": "^22.2.2", + "eslint-plugin-jest": "^22.3.0", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", @@ -58,7 +58,7 @@ "jest": "^24.1.0", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", - "lerna": "3.11.1", + "lerna": "^3.13.0", "lodash": "^4.17.11", "node-fetch": "^2.3.0", "pug": "^2.0.3", diff --git a/yarn.lock b/yarn.lock index e6172ad829..a709d830b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -684,49 +684,49 @@ resolved "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw== -"@lerna/add@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/add/-/add-3.11.0.tgz#eb924d05457b5c46ce4836cf3a0a05055ae788aa" - integrity sha512-A2u889e+GeZzL28jCpcN53iHq2cPWVnuy5tv5nvG/MIg0PxoAQOUvphexKsIbqzVd9Damdmv5W0u9kS8y8TTow== +"@lerna/add@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/add/-/add-3.13.0.tgz#e971a17c1f85cba40f22c816a2bb9d855b62d07d" + integrity sha512-5srUGfZHjqa5BW3JODHpzbH1ayweGqqrxH8qOzf/E/giNfzigdfyCSkbGh/iiLTXGu7BBE+3/OFfycoqYbalgg== dependencies: - "@lerna/bootstrap" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/npm-conf" "3.7.0" - "@lerna/validation-error" "3.11.0" + "@lerna/bootstrap" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/npm-conf" "3.13.0" + "@lerna/validation-error" "3.13.0" dedent "^0.7.0" npm-package-arg "^6.1.0" p-map "^1.2.0" pacote "^9.4.1" semver "^5.5.0" -"@lerna/batch-packages@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.11.0.tgz#cb009b6680b6e5fb586e9578072f4b595288eaf8" - integrity sha512-ETO3prVqDZs/cpZo00ij61JEZ8/ADJx1OG/d/KtTdHlyRfQsb09Xzf0w+boimqa8fIqhpM3o5FV9GKd6GQ3iFQ== +"@lerna/batch-packages@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.13.0.tgz#697fde5be28822af9d9dca2f750250b90a89a000" + integrity sha512-TgLBTZ7ZlqilGnzJ3xh1KdAHcySfHytgNRTdG9YomfriTU6kVfp1HrXxKJYVGs7ClPUNt2CTFEOkw0tMBronjw== dependencies: - "@lerna/package-graph" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/package-graph" "3.13.0" + "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" -"@lerna/bootstrap@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.11.0.tgz#01bfda72894b5ebf3b550b9849ee4b44c03e50be" - integrity sha512-MqwviGJTy86joqSX2A3fmu2wXLBXc23tHJp5Xu4bVhynPegDnRrA3d9UI80UM3JcuYIQsxT4t2q2LNsZ4VdZKQ== +"@lerna/bootstrap@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.13.0.tgz#04f5d5b7720b020c0c73e11b2db146103c272cd7" + integrity sha512-wdwBzvwEdzGERwpiY6Zu/T+tntCfXeXrL9cQIxP+K2M07jL5M00ZRdDoFcP90sGn568AjhvRhD2ExA5wPECSgA== dependencies: - "@lerna/batch-packages" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/has-npm-version" "3.10.0" - "@lerna/npm-install" "3.11.0" - "@lerna/package-graph" "3.11.0" - "@lerna/pulse-till-done" "3.11.0" - "@lerna/rimraf-dir" "3.11.0" - "@lerna/run-lifecycle" "3.11.0" - "@lerna/run-parallel-batches" "3.0.0" - "@lerna/symlink-binary" "3.11.0" - "@lerna/symlink-dependencies" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/batch-packages" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/has-npm-version" "3.13.0" + "@lerna/npm-install" "3.13.0" + "@lerna/package-graph" "3.13.0" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/rimraf-dir" "3.13.0" + "@lerna/run-lifecycle" "3.13.0" + "@lerna/run-parallel-batches" "3.13.0" + "@lerna/symlink-binary" "3.13.0" + "@lerna/symlink-dependencies" "3.13.0" + "@lerna/validation-error" "3.13.0" dedent "^0.7.0" get-port "^3.2.0" multimatch "^2.1.0" @@ -739,93 +739,93 @@ read-package-tree "^5.1.6" semver "^5.5.0" -"@lerna/changed@3.11.1": - version "3.11.1" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.11.1.tgz#d8a856f8237e37e7686d17a1e13bf4d082a3e48b" - integrity sha512-A21h3DvMjDwhksmCmTQ1+3KPHg7gHVHFs3zC5lR9W+whYlm0JI2Yp70vYnqMv2hPAcJx+2tlCrqJkzCFkNQdqg== +"@lerna/changed@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.13.0.tgz#d0249585ce5def15580b5a719231594dae449d10" + integrity sha512-BNUVfEzhrY+XEQJI0fFxEAN7JrguXMGNX5rqQ2KWyGQB4fZ1mv4FStJRjK0K/gcCvdHnuR65uexc/acxBnBi9w== dependencies: - "@lerna/collect-updates" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/listable" "3.11.0" - "@lerna/output" "3.11.0" - "@lerna/version" "3.11.1" + "@lerna/collect-updates" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/listable" "3.13.0" + "@lerna/output" "3.13.0" + "@lerna/version" "3.13.0" -"@lerna/check-working-tree@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-3.11.0.tgz#a513d3e28168826fa4916ef2d0ff656daa6e6de0" - integrity sha512-uWKKmX4BKdK57MyX3rGNHNz4JmFP3tHnaIDDVeuSlgK5KwncPFyRXi3E9H0eiq6DUvDDLtztNOfWeGP2IY656Q== +"@lerna/check-working-tree@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-3.13.0.tgz#1ddcd4d9b1aceb65efaaa4cd1333a66706d67c9c" + integrity sha512-dsdO15NXX5To+Q53SYeCrBEpiqv4m5VkaPZxbGQZNwoRen1MloXuqxSymJANQn+ZLEqarv5V56gydebeROPH5A== dependencies: - "@lerna/describe-ref" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/describe-ref" "3.13.0" + "@lerna/validation-error" "3.13.0" -"@lerna/child-process@3.3.0": - version "3.3.0" - resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-3.3.0.tgz#71184a763105b6c8ece27f43f166498d90fe680f" - integrity sha512-q2d/OPlNX/cBXB6Iz1932RFzOmOHq6ZzPjqebkINNaTojHWuuRpvJJY4Uz3NGpJ3kEtPDvBemkZqUBTSO5wb1g== +"@lerna/child-process@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-3.13.0.tgz#84e35adf3217a6983edd28080657b9596a052674" + integrity sha512-0iDS8y2jiEucD4fJHEzKoc8aQJgm7s+hG+0RmDNtfT0MM3n17pZnf5JOMtS1FJp+SEXOjMKQndyyaDIPFsnp6A== dependencies: chalk "^2.3.1" execa "^1.0.0" strong-log-transformer "^2.0.0" -"@lerna/clean@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.11.0.tgz#21dc85d8280cd6956d3cb8998f3f5667382a8b8f" - integrity sha512-sHyMYv56MIVMH79+5vcxHVdgmd8BcsihI+RL2byW+PeoNlyDeGMjTRmnzLmbSD7dkinHGoa5cghlXy9GGIqpRw== +"@lerna/clean@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.13.0.tgz#0a7536564eaec3445f4397cf9ab3e66fc268b6fe" + integrity sha512-eFkqVsOmybUIjak2NyGfk78Mo8rNyNiSDFh2+HGpias3PBdEbkGYtFi/JMBi9FvqCsBSiVnHCTUcnZdLzMz69w== dependencies: - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/prompt" "3.11.0" - "@lerna/pulse-till-done" "3.11.0" - "@lerna/rimraf-dir" "3.11.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/prompt" "3.13.0" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/rimraf-dir" "3.13.0" p-map "^1.2.0" p-map-series "^1.0.0" p-waterfall "^1.0.0" -"@lerna/cli@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.11.0.tgz#502f0409a794934b8dafb7be71dc3e91ca862907" - integrity sha512-dn2m2PgUxcb2NyTvwfYOFZf8yN5CMf1uKxht3ajQYdDjRgFi5pUQt/DmdguOZ3CMJkENa0i3yPOmrxGPXLD2aw== +"@lerna/cli@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/cli/-/cli-3.13.0.tgz#3d7b357fdd7818423e9681a7b7f2abd106c8a266" + integrity sha512-HgFGlyCZbYaYrjOr3w/EsY18PdvtsTmDfpUQe8HwDjXlPeCCUgliZjXLOVBxSjiOvPeOSwvopwIHKWQmYbwywg== dependencies: - "@lerna/global-options" "3.10.6" + "@lerna/global-options" "3.13.0" dedent "^0.7.0" npmlog "^4.1.2" yargs "^12.0.1" -"@lerna/collect-updates@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.11.0.tgz#2332cd8c2c2e091801c8e78fea3aea0e766f971e" - integrity sha512-O0Y18OC2P6j9/RFq+u5Kdq7YxsDd+up3ZRoW6+i0XHWktqxXA9P4JBQppkpYtJVK2yH8QyOzuVLQgtL0xtHdYA== +"@lerna/collect-updates@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-3.13.0.tgz#f0828d84ff959ff153d006765659ffc4d68cdefc" + integrity sha512-uR3u6uTzrS1p46tHQ/mlHog/nRJGBqskTHYYJbgirujxm6FqNh7Do+I1Q/7zSee407G4lzsNxZdm8IL927HemQ== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/describe-ref" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/describe-ref" "3.13.0" minimatch "^3.0.4" npmlog "^4.1.2" slash "^1.0.0" -"@lerna/command@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/command/-/command-3.11.0.tgz#a25199de8dfaf120ffa1492d5cb9185b17c45dea" - integrity sha512-N+Z5kauVHSb2VhSIfQexG2VlCAAQ9xYKwVTxYh0JFOFUnZ/QPcoqx4VjynDXASFXXDgcXs4FLaGsJxq83Mf5Zg== +"@lerna/command@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/command/-/command-3.13.0.tgz#8e7ff2255bccb8737616a899cf7a0c076dd4411c" + integrity sha512-34Igk99KKeDt1ilzHooVUamMegArFz8AH9BuJivIKBps1E2A5xkwRd0mJFdPENzLxOqBJlt+cnL7LyvaIM6tRQ== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/package-graph" "3.11.0" - "@lerna/project" "3.11.0" - "@lerna/validation-error" "3.11.0" - "@lerna/write-log-file" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/package-graph" "3.13.0" + "@lerna/project" "3.13.0" + "@lerna/validation-error" "3.13.0" + "@lerna/write-log-file" "3.13.0" dedent "^0.7.0" execa "^1.0.0" is-ci "^1.0.10" lodash "^4.17.5" npmlog "^4.1.2" -"@lerna/conventional-commits@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.11.0.tgz#6a56925a8ef3c0f66174bc74226bbdf1646800cf" - integrity sha512-ix1Ki5NiZdk2eMlCWNgLchWPKQTgkJdLeNjneep6OCF3ydSINizReGbFvCftRivun641cOHWswgWMsIxbqhMQw== +"@lerna/conventional-commits@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.13.0.tgz#877aa225ca34cca61c31ea02a5a6296af74e1144" + integrity sha512-BeAgcNXuocmLhPxnmKU2Vy8YkPd/Uo+vu2i/p3JGsUldzrPC8iF3IDxH7fuXpEFN2Nfogu7KHachd4tchtOppA== dependencies: - "@lerna/validation-error" "3.11.0" - conventional-changelog-angular "^5.0.2" - conventional-changelog-core "^3.1.5" + "@lerna/validation-error" "3.13.0" + conventional-changelog-angular "^5.0.3" + conventional-changelog-core "^3.1.6" conventional-recommended-bump "^4.0.4" fs-extra "^7.0.0" get-stream "^4.0.0" @@ -834,24 +834,24 @@ pify "^3.0.0" semver "^5.5.0" -"@lerna/create-symlink@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-3.11.0.tgz#2698b1f41aa81db820c20937701d7ceeb92cd421" - integrity sha512-UDR32uos8FIEc1keMKxXj5goZAHpCbpUd4u/btHXymUL9WqIym3cgz2iMr3ZNdZtjdMyUoHup5Dp0zjSgKCaEA== +"@lerna/create-symlink@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-3.13.0.tgz#e01133082fe040779712c960683cb3a272b67809" + integrity sha512-PTvg3jAAJSAtLFoZDsuTMv1wTOC3XYIdtg54k7uxIHsP8Ztpt+vlilY/Cni0THAqEMHvfiToel76Xdta4TU21Q== dependencies: cmd-shim "^2.0.2" fs-extra "^7.0.0" npmlog "^4.1.2" -"@lerna/create@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/create/-/create-3.11.0.tgz#06121b6370f650fc51e04afc2631c56de5a950e4" - integrity sha512-1izS82QML+H/itwEu1GPrcoXyugFaP9z9r6KuIQRQq8RtmNCGEmK85aiOw6mukyRcRziq2akALgFDyrundznPQ== +"@lerna/create@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/create/-/create-3.13.0.tgz#033ea1bbb028cd18252a8595ef32edf28e99048d" + integrity sha512-0Vrl6Z1NEQFKd1uzWBFWii59OmMNKSNXxgKYoh3Ulu/ekMh90BgnLJ0a8tE34KK4lG5mVTQDlowKFEF+jZfYOA== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/command" "3.11.0" - "@lerna/npm-conf" "3.7.0" - "@lerna/validation-error" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/npm-conf" "3.13.0" + "@lerna/validation-error" "3.13.0" camelcase "^5.0.0" dedent "^0.7.0" fs-extra "^7.0.0" @@ -867,196 +867,196 @@ validate-npm-package-name "^3.0.0" whatwg-url "^7.0.0" -"@lerna/describe-ref@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-3.11.0.tgz#935049a658f3f6e30b3da9132bdf121bc890addf" - integrity sha512-lX/NVMqeODg4q/igN06L/KjtVUpW1oawh6IgOINy2oqm4RUR+1yDpsdVu3JyZZ4nHB572mJfbW56dl8qoxEVvQ== +"@lerna/describe-ref@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-3.13.0.tgz#fb4c3863fd6bcccad67ce7b183887a5fc1942bb6" + integrity sha512-UJefF5mLxLae9I2Sbz5RLYGbqbikRuMqdgTam0MS5OhXnyuuKYBUpwBshCURNb1dPBXTQhSwc7+oUhORx8ojCg== dependencies: - "@lerna/child-process" "3.3.0" + "@lerna/child-process" "3.13.0" npmlog "^4.1.2" -"@lerna/diff@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.11.0.tgz#9c3417c1f1daabd55770c7a2631a1cc2125f1a4e" - integrity sha512-r3WASQix31ApA0tlkZejXhS8Z3SEg6Jw9YnKDt9V6wLjEUXGLauUDMrgx1YWu3cs9KB8/hqheRyRI7XAXGJS1w== +"@lerna/diff@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.13.0.tgz#9a39bfb1c4d6af1ea05b3d3df2ba0022ea24b81d" + integrity sha512-fyHRzRBiqXj03YbGY5/ume1N0v0wrWVB7XPHPaQs/e/eCgMpcmoQGQoW5r97R+xaEoy3boByr/ham4XHZv02ZQ== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/command" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" -"@lerna/exec@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.11.0.tgz#391351b024ec243050f54ca92cef5d298dc821d4" - integrity sha512-oIkI+Hj74kpsnHhw0qJj12H4XMPSlDbBsshLWY+f3BiwKhn6wkXoQZ1FC8/OVNHM67GtSRv4bkcOaM4ucHm9Hw== +"@lerna/exec@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.13.0.tgz#76f0a7f48f3feb36d266f4ac1f084c8f34afb152" + integrity sha512-Dc8jr1jL6YrfbI1sUZ3+px00HwcZLKykl7AC8A+vvCzYLa4MeK3UJ7CPg4kvBN1mX7yhGrSDSfxG0bJriHU5nA== dependencies: - "@lerna/batch-packages" "3.11.0" - "@lerna/child-process" "3.3.0" - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/run-parallel-batches" "3.0.0" - "@lerna/validation-error" "3.11.0" + "@lerna/batch-packages" "3.13.0" + "@lerna/child-process" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/run-parallel-batches" "3.13.0" + "@lerna/validation-error" "3.13.0" -"@lerna/filter-options@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.11.0.tgz#2c9b47abd5bb860652b7f40bc466539f56e6014b" - integrity sha512-z0krgC/YBqz7i6MGHBsPLvsQ++XEpPdGnIkSpcN0Cjp5J67K9vb5gJ2hWp1c1bitNh3xiwZ69voGqN+DYk1mUg== +"@lerna/filter-options@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-3.13.0.tgz#976e3d8b9fcd47001ab981d276565c1e9f767868" + integrity sha512-SRp7DCo9zrf+7NkQxZMkeyO1GRN6GICoB9UcBAbXhLbWisT37Cx5/6+jh49gYB63d/0/WYHSEPMlheUrpv1Srw== dependencies: - "@lerna/collect-updates" "3.11.0" - "@lerna/filter-packages" "3.11.0" + "@lerna/collect-updates" "3.13.0" + "@lerna/filter-packages" "3.13.0" dedent "^0.7.0" -"@lerna/filter-packages@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-3.11.0.tgz#b9087495df4fd035f47d193e3538a56e79be3702" - integrity sha512-bnukkW1M0uMKWqM/m/IHou2PKRyk4fDAksAj3diHc1UVQkH2j8hXOfLl9+CgHA/cnTrf6/LARg8hKujqduqHyA== +"@lerna/filter-packages@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-3.13.0.tgz#f5371249e7e1a15928e5e88c544a242e0162c21c" + integrity sha512-RWiZWyGy3Mp7GRVBn//CacSnE3Kw82PxE4+H6bQ3pDUw/9atXn7NRX+gkBVQIYeKamh7HyumJtyOKq3Pp9BADQ== dependencies: - "@lerna/validation-error" "3.11.0" + "@lerna/validation-error" "3.13.0" multimatch "^2.1.0" npmlog "^4.1.2" -"@lerna/get-npm-exec-opts@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.11.0.tgz#6e151d52265921205ea3e49b08bd7ee99051741a" - integrity sha512-EDxsbuq2AbB3LWwH/4SOcn4gWOnoIYrSHfITWo7xz/SbEKeHtiva99l424ZRWUJqLPGIpQiMTlmOET2ZEI8WZg== +"@lerna/get-npm-exec-opts@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.13.0.tgz#d1b552cb0088199fc3e7e126f914e39a08df9ea5" + integrity sha512-Y0xWL0rg3boVyJk6An/vurKzubyJKtrxYv2sj4bB8Mc5zZ3tqtv0ccbOkmkXKqbzvNNF7VeUt1OJ3DRgtC/QZw== dependencies: npmlog "^4.1.2" -"@lerna/get-packed@3.7.0": - version "3.7.0" - resolved "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-3.7.0.tgz#549c7738f7be5e3b1433e82ed9cda9123bcd1ed5" - integrity sha512-yuFtjsUZIHjeIvIYQ/QuytC+FQcHwo3peB+yGBST2uWCLUCR5rx6knoQcPzbxdFDCuUb5IFccFGd3B1fHFg3RQ== +"@lerna/get-packed@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-3.13.0.tgz#335e40d77f3c1855aa248587d3e0b2d8f4b06e16" + integrity sha512-EgSim24sjIjqQDC57bgXD9l22/HCS93uQBbGpkzEOzxAVzEgpZVm7Fm1t8BVlRcT2P2zwGnRadIvxTbpQuDPTg== dependencies: fs-extra "^7.0.0" ssri "^6.0.1" tar "^4.4.8" -"@lerna/github-client@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.11.0.tgz#54e87160a56567f4cd1d48f20d1c6b9d88fe032b" - integrity sha512-yPMBhzShuth3uJo0kKu84RvgjSZgOYNT8fKfhZmzTeVGuPbYBKlK+UQ6jjpb6E9WW2BVdiUCrFhqIsbK5Lqe7A== +"@lerna/github-client@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.13.0.tgz#960c75e4159905ea31c171e27ca468c1a809ed77" + integrity sha512-4/003z1g7shg21nl06ku5/yqYbQfNsQkeWuWEd+mjiTtGH6OhzJ8XcmBOq6mhZrfDAlA4OLeXypd1QIK1Y7arA== dependencies: - "@lerna/child-process" "3.3.0" + "@lerna/child-process" "3.13.0" "@octokit/plugin-enterprise-rest" "^2.1.0" "@octokit/rest" "^16.15.0" git-url-parse "^11.1.2" npmlog "^4.1.2" -"@lerna/global-options@3.10.6": - version "3.10.6" - resolved "https://registry.npmjs.org/@lerna/global-options/-/global-options-3.10.6.tgz#c491a64b0be47eca4ffc875011958a5ee70a9a3e" - integrity sha512-k5Xkq1M/uREFC2R9uwN5gcvIgjj4iOXo0YyeEXCMWBiW3j2GL9xN4d1MmAIcrYlAzVYh6kLlWaFWl/rNIneHIw== +"@lerna/global-options@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/global-options/-/global-options-3.13.0.tgz#217662290db06ad9cf2c49d8e3100ee28eaebae1" + integrity sha512-SlZvh1gVRRzYLVluz9fryY1nJpZ0FHDGB66U9tFfvnnxmueckRQxLopn3tXj3NU1kc3QANT2I5BsQkOqZ4TEFQ== -"@lerna/has-npm-version@3.10.0": - version "3.10.0" - resolved "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-3.10.0.tgz#d3a73c0fedd2f2e9c6fbe166c41809131dc939d2" - integrity sha512-N4RRYxGeivuaKgPDzrhkQOQs1Sg4tOnxnEe3akfqu1wDA4Ng5V6Y2uW3DbkAjFL3aNJhWF5Vbf7sBsGtfgDQ8w== +"@lerna/has-npm-version@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-3.13.0.tgz#6e1f7e9336cce3e029066f0175f06dd9d51ad09f" + integrity sha512-Oqu7DGLnrMENPm+bPFGOHnqxK8lCnuYr6bk3g/CoNn8/U0qgFvHcq6Iv8/Z04TsvleX+3/RgauSD2kMfRmbypg== dependencies: - "@lerna/child-process" "3.3.0" + "@lerna/child-process" "3.13.0" semver "^5.5.0" -"@lerna/import@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/import/-/import-3.11.0.tgz#e417231754bd660763d3b483901ff786d949a48e" - integrity sha512-WgF0We+4k/MrC1vetT8pt3/SSJPMvXhyPYmL2W9rcvch3zV0IgLyso4tEs8gNbwZorDVEG1KcM+x8TG4v1nV5Q== +"@lerna/import@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/import/-/import-3.13.0.tgz#0c521b020edf291c89d591dc6eda0d1efa754452" + integrity sha512-uQ+hoYEC6/B8VqQ9tecA1PVCFiqwN+DCrdIBY/KX3Z5vip94Pc8H/u+Q2dfBymkT6iXnvmPR/6hsMkpMOjBQDg== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/command" "3.11.0" - "@lerna/prompt" "3.11.0" - "@lerna/pulse-till-done" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/prompt" "3.13.0" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/validation-error" "3.13.0" dedent "^0.7.0" fs-extra "^7.0.0" p-map-series "^1.0.0" -"@lerna/init@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/init/-/init-3.11.0.tgz#c56d9324984d926e98723c78c64453f46426f608" - integrity sha512-JZC5jpCVJgK34grye52kGWjrYCyh4LB8c0WBLaS8MOUt6rxTtPqubwvCDKPOF2H0Se6awsgEfX4wWNuqiQVpRQ== +"@lerna/init@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/init/-/init-3.13.0.tgz#7b92151572aaa1d9b89002e0b8c332db0ff1b692" + integrity sha512-4MBaNaitr9rfzwHK4d0Y19WIzqL5RTk719tIlVtw+IRE2qF9/ioovNIZuoeISyi84mTKehsFtPsHoxFIulZUhQ== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/command" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/command" "3.13.0" fs-extra "^7.0.0" p-map "^1.2.0" write-json-file "^2.3.0" -"@lerna/link@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/link/-/link-3.11.0.tgz#97253ffeb8a8956c3589ff4c1acf6fda322d76a2" - integrity sha512-QN+kxRWb6P9jrKpE2t6K9sGnFpqy1KOEjf68NpGhmp+J9Yt6Kvz9kG43CWoqg4Zyqqgqgn3NVV2Z7zSDNhdH0g== +"@lerna/link@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/link/-/link-3.13.0.tgz#9965e2fcacfa1b1414db8902d800464d56cf170e" + integrity sha512-0PAZM1kVCmtJfiQUzy6TT1aemIg9pxejGxFBYMB+IAxR5rcgLlZago1R52/8HyNGa07bLv0B6CkRgrdQ/9bzCg== dependencies: - "@lerna/command" "3.11.0" - "@lerna/package-graph" "3.11.0" - "@lerna/symlink-dependencies" "3.11.0" + "@lerna/command" "3.13.0" + "@lerna/package-graph" "3.13.0" + "@lerna/symlink-dependencies" "3.13.0" p-map "^1.2.0" slash "^1.0.0" -"@lerna/list@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/list/-/list-3.11.0.tgz#0796d6076aa242d930ca5e470c49fc91066a1063" - integrity sha512-hBAwZzEzF1LQOOB2/5vQkal/nSriuJbLY39BitIGkUxifsmu7JK0k3LYrwe1sxXv5SMf2HDaTLr+Z23mUslhaQ== +"@lerna/list@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/list/-/list-3.13.0.tgz#4cb34828507d2c02ccd3305ff8b9f546cab7727e" + integrity sha512-nKSqGs4ZJe7zB6SJmBEb7AfGLzqDOwJwbucC3XVgkjrXlrX4AW4+qnPiGpEdz8OFmzstkghQrWUUJvsEpNVTjw== dependencies: - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/listable" "3.11.0" - "@lerna/output" "3.11.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/listable" "3.13.0" + "@lerna/output" "3.13.0" -"@lerna/listable@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.11.0.tgz#5a687c4547f0fb2211c9ab59629f689e170335f3" - integrity sha512-nCrtGSS3YiAlh5dU5mmTAU9aLRlmIUn2FnahqsksN2uQ5O4o+614tneDuO298/eWLZo00eGw69EFngaQEl8quw== +"@lerna/listable@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/listable/-/listable-3.13.0.tgz#babc18442c590b549cf0966d20d75fea066598d4" + integrity sha512-liYJ/WBUYP4N4MnSVZuLUgfa/jy3BZ02/1Om7xUY09xGVSuNVNEeB8uZUMSC+nHqFHIsMPZ8QK9HnmZb1E/eTA== dependencies: - "@lerna/batch-packages" "3.11.0" + "@lerna/batch-packages" "3.13.0" chalk "^2.3.1" columnify "^1.5.4" -"@lerna/log-packed@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-3.11.0.tgz#4b348d8b3b4faa00ae5a03a7cec389dce91f8393" - integrity sha512-TH//81TzSTMuNzJIQE7zqu+ymI5rH25jdEdmbYEWmaJ+T42GMQXKxP8cj2m+fWRaDML8ta0uzBOm5PKHdgoFYQ== +"@lerna/log-packed@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-3.13.0.tgz#497b5f692a8d0e3f669125da97b0dadfd9e480f3" + integrity sha512-Rmjrcz+6aM6AEcEVWmurbo8+AnHOvYtDpoeMMJh9IZ9SmZr2ClXzmD7wSvjTQc8BwOaiWjjC/ukcT0UYA2m7wg== dependencies: byte-size "^4.0.3" columnify "^1.5.4" has-unicode "^2.0.1" npmlog "^4.1.2" -"@lerna/npm-conf@3.7.0": - version "3.7.0" - resolved "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-3.7.0.tgz#f101d4fdf07cefcf1161bcfaf3c0f105b420a450" - integrity sha512-+WSMDfPKcKzMfqq283ydz9RRpOU6p9wfx0wy4hVSUY/6YUpsyuk8SShjcRtY8zTM5AOrxvFBuuV90H4YpZ5+Ng== +"@lerna/npm-conf@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-3.13.0.tgz#6b434ed75ff757e8c14381b9bbfe5d5ddec134a7" + integrity sha512-Jg2kANsGnhg+fbPEzE0X9nX5oviEAvWj0nYyOkcE+cgWuT7W0zpnPXC4hA4C5IPQGhwhhh0IxhWNNHtjTuw53g== dependencies: config-chain "^1.1.11" pify "^3.0.0" -"@lerna/npm-dist-tag@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.11.0.tgz#679fea8b6534d6a877d7efa658ba9eea5b3936ed" - integrity sha512-WqZcyDb+wiqAKRFcYEK6R8AQfspyro85zGGHyjYw6ZPNgJX3qhwtQ+MidDmOesi2p5/0GfeVSWega+W7fPzVpg== +"@lerna/npm-dist-tag@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-3.13.0.tgz#49ecbe0e82cbe4ad4a8ea6de112982bf6c4e6cd4" + integrity sha512-mcuhw34JhSRFrbPn0vedbvgBTvveG52bR2lVE3M3tfE8gmR/cKS/EJFO4AUhfRKGCTFn9rjaSEzlFGYV87pemQ== dependencies: figgy-pudding "^3.5.1" npm-package-arg "^6.1.0" npm-registry-fetch "^3.9.0" npmlog "^4.1.2" -"@lerna/npm-install@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-3.11.0.tgz#40533527186d774ac27906d94a8073373d4641e4" - integrity sha512-iNKEgFvFHMmBqn9AnFye2rv7CdUBlYciwWSTNtpfVqtOnoL/lg+4A774oL4PDoxTCGmougztyxMkqLVSBYXTpw== +"@lerna/npm-install@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-3.13.0.tgz#88f4cc39f4f737c8a8721256b915ea1bcc6a7227" + integrity sha512-qNyfts//isYQxore6fsPorNYJmPVKZ6tOThSH97tP0aV91zGMtrYRqlAoUnDwDdAjHPYEM16hNujg2wRmsqqIw== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/get-npm-exec-opts" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/get-npm-exec-opts" "3.13.0" fs-extra "^7.0.0" npm-package-arg "^6.1.0" npmlog "^4.1.2" signal-exit "^3.0.2" write-pkg "^3.1.0" -"@lerna/npm-publish@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.11.0.tgz#886a408c86c30c4f18df20f338d576a53902b6ba" - integrity sha512-wgbb55gUXRlP8uTe60oW6c06ZhquaJu9xbi2vWNpb5Fmjh/KbZ2iNm9Kj2ciZlvb8D+k4Oc3qV7slBGxyMm8wg== +"@lerna/npm-publish@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-3.13.0.tgz#5c74808376e778865ffdc5885fe83935e15e60c3" + integrity sha512-y4WO0XTaf9gNRkI7as6P2ItVDOxmYHwYto357fjybcnfXgMqEA94c3GJ++jU41j0A9vnmYC6/XxpTd9sVmH9tA== dependencies: - "@lerna/run-lifecycle" "3.11.0" + "@lerna/run-lifecycle" "3.13.0" figgy-pudding "^3.5.1" fs-extra "^7.0.0" libnpmpublish "^1.1.1" @@ -1064,61 +1064,61 @@ pify "^3.0.0" read-package-json "^2.0.13" -"@lerna/npm-run-script@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-3.11.0.tgz#ef5880735aa471d9ce1109e9213a45cbdbe8146b" - integrity sha512-cLnTMrRQlK/N5bCr6joOFMBfRyW2EbMdk3imtjHk0LwZxsvQx3naAPUB/2RgNfC8fGf/yHF/0bmBrpb5sa2IlA== +"@lerna/npm-run-script@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-3.13.0.tgz#e5997f045402b9948bdc066033ebb36bf94fc9e4" + integrity sha512-hiL3/VeVp+NFatBjkGN8mUdX24EfZx9rQlSie0CMgtjc7iZrtd0jCguLomSCRHYjJuvqgbp+LLYo7nHVykfkaQ== dependencies: - "@lerna/child-process" "3.3.0" - "@lerna/get-npm-exec-opts" "3.11.0" + "@lerna/child-process" "3.13.0" + "@lerna/get-npm-exec-opts" "3.13.0" npmlog "^4.1.2" -"@lerna/output@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/output/-/output-3.11.0.tgz#cc2c1e8573d9523f3159524e44a7cf788db6102e" - integrity sha512-xHYGcEaZZ4cR0Jw368QgUgFvV27a6ZO5360BMNGNsjCjuY0aOPQC5+lBhgfydJtJteKjDna853PSjBK3uMhEjw== +"@lerna/output@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/output/-/output-3.13.0.tgz#3ded7cc908b27a9872228a630d950aedae7a4989" + integrity sha512-7ZnQ9nvUDu/WD+bNsypmPG5MwZBwu86iRoiW6C1WBuXXDxM5cnIAC1m2WxHeFnjyMrYlRXM9PzOQ9VDD+C15Rg== dependencies: npmlog "^4.1.2" -"@lerna/pack-directory@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.11.0.tgz#5fa5d818eba97ad2c4d1f688e0754f3a4c34cc81" - integrity sha512-bgA3TxZx5AyZeqUadSPspktdecW7nIpg/ODq0o0gKFr7j+DC9Fqu8vQa2xmFSKsXDtOYkCV0jox6Ox9XSFSM3A== +"@lerna/pack-directory@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.13.0.tgz#e5df1647f7d3c417753aba666c17bdb8743eb346" + integrity sha512-p5lhLPvpRptms08uSTlDpz8R2/s8Z2Vi0Hc8+yIAP74YD8gh/U9Diku9EGkkgkLfV+P0WhnEO8/Gq/qzNVbntA== dependencies: - "@lerna/get-packed" "3.7.0" - "@lerna/package" "3.11.0" - "@lerna/run-lifecycle" "3.11.0" + "@lerna/get-packed" "3.13.0" + "@lerna/package" "3.13.0" + "@lerna/run-lifecycle" "3.13.0" figgy-pudding "^3.5.1" npm-packlist "^1.1.12" npmlog "^4.1.2" tar "^4.4.8" temp-write "^3.4.0" -"@lerna/package-graph@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.11.0.tgz#d43472eb9aa2e6ca2c18984b9f86bb5924790d7a" - integrity sha512-ICYiOZvCfcmeH1qfzOkFYh0t0QA56OddQfI3ydxCiWi5G+UupJXnCIWSTh3edTAtw/kyxhCOWny/PJsG4CQfjA== +"@lerna/package-graph@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-3.13.0.tgz#607062f8d2ce22b15f8d4a0623f384736e67f760" + integrity sha512-3mRF1zuqFE1HEFmMMAIggXy+f+9cvHhW/jzaPEVyrPNLKsyfJQtpTNzeI04nfRvbAh+Gd2aNksvaW/w3xGJnnw== dependencies: - "@lerna/validation-error" "3.11.0" + "@lerna/validation-error" "3.13.0" npm-package-arg "^6.1.0" semver "^5.5.0" -"@lerna/package@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/package/-/package-3.11.0.tgz#b783f8c93f398e4c41cfd3fc8f2bb38ad1e07b76" - integrity sha512-hMzBhFEubhg+Tis5C8skwIfgOk+GTl0qudvzfPU9gQqLV8u4/Hs6mka6N0rKgbUb4VFVc5MJVe1eZ6Rv+kJAWw== +"@lerna/package@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/package/-/package-3.13.0.tgz#4baeebc49a57fc9b31062cc59f5ee38384429fc8" + integrity sha512-kSKO0RJQy093BufCQnkhf1jB4kZnBvL7kK5Ewolhk5gwejN+Jofjd8DGRVUDUJfQ0CkW1o6GbUeZvs8w8VIZDg== dependencies: load-json-file "^4.0.0" npm-package-arg "^6.1.0" write-pkg "^3.1.0" -"@lerna/project@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/project/-/project-3.11.0.tgz#3f403e277b724a39e5fd9124b6978c426815c588" - integrity sha512-j3DGds+q/q2YNpoBImaEsMpkWgu5gP0IGKz1o1Ju39NZKrTPza+ARIzEByL4Jqu87tcoOj7RbZzhhrBP8JBbTg== +"@lerna/project@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/project/-/project-3.13.0.tgz#e7d3ae16309988443eb47470c9dbf6aa8386a2ed" + integrity sha512-hxRvln8Dks3T4PBALC9H3Kw6kTne70XShfqSs4oJkMqFyDj4mb5VCUN6taCDXyF8fu75d02ETdTFZhhBgm1x6w== dependencies: - "@lerna/package" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/package" "3.13.0" + "@lerna/validation-error" "3.13.0" cosmiconfig "^5.0.2" dedent "^0.7.0" dot-prop "^4.2.0" @@ -1130,37 +1130,37 @@ resolve-from "^4.0.0" write-json-file "^2.3.0" -"@lerna/prompt@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.11.0.tgz#35c6bf18e5218ccf4bf2cde678667fd967ea1564" - integrity sha512-SB/wvyDPQASze9txd+8/t24p6GiJuhhL30zxuRwvVwER5lIJR7kaXy1KhQ7kUAKPlNTVfCBm3GXReIMl4jhGhw== +"@lerna/prompt@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-3.13.0.tgz#53571462bb3f5399cc1ca6d335a411fe093426a5" + integrity sha512-P+lWSFokdyvYpkwC3it9cE0IF2U5yy2mOUbGvvE4iDb9K7TyXGE+7lwtx2thtPvBAfIb7O13POMkv7df03HJeA== dependencies: inquirer "^6.2.0" npmlog "^4.1.2" -"@lerna/publish@3.11.1": - version "3.11.1" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.11.1.tgz#06b0f646afea7f29cd820a63086692a4ac4d080e" - integrity sha512-UOvmSivuqzWoiTqoYWk+liPDZvC6O7NrT8DwoG2peRvjIPs5RKYMubwXPOrBBVVE+yX/vR6V1Y3o6vf3av52dg== +"@lerna/publish@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.13.0.tgz#9acd2ab79b278e0131f677c339755cfecc30b1b5" + integrity sha512-WuO7LWWQ+8F+ig48RtUxWrVdOfpqDBOv6fXz0/2heQf/rJQoJDTzJZ0rk5ymaGCFz1Av2CbP0zoP7PAQQ2BeKg== dependencies: - "@lerna/batch-packages" "3.11.0" - "@lerna/check-working-tree" "3.11.0" - "@lerna/child-process" "3.3.0" - "@lerna/collect-updates" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/describe-ref" "3.11.0" - "@lerna/log-packed" "3.11.0" - "@lerna/npm-conf" "3.7.0" - "@lerna/npm-dist-tag" "3.11.0" - "@lerna/npm-publish" "3.11.0" - "@lerna/output" "3.11.0" - "@lerna/pack-directory" "3.11.0" - "@lerna/prompt" "3.11.0" - "@lerna/pulse-till-done" "3.11.0" - "@lerna/run-lifecycle" "3.11.0" - "@lerna/run-parallel-batches" "3.0.0" - "@lerna/validation-error" "3.11.0" - "@lerna/version" "3.11.1" + "@lerna/batch-packages" "3.13.0" + "@lerna/check-working-tree" "3.13.0" + "@lerna/child-process" "3.13.0" + "@lerna/collect-updates" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/describe-ref" "3.13.0" + "@lerna/log-packed" "3.13.0" + "@lerna/npm-conf" "3.13.0" + "@lerna/npm-dist-tag" "3.13.0" + "@lerna/npm-publish" "3.13.0" + "@lerna/output" "3.13.0" + "@lerna/pack-directory" "3.13.0" + "@lerna/prompt" "3.13.0" + "@lerna/pulse-till-done" "3.13.0" + "@lerna/run-lifecycle" "3.13.0" + "@lerna/run-parallel-batches" "3.13.0" + "@lerna/validation-error" "3.13.0" + "@lerna/version" "3.13.0" figgy-pudding "^3.5.1" fs-extra "^7.0.0" libnpmaccess "^3.0.1" @@ -1174,116 +1174,116 @@ pacote "^9.4.1" semver "^5.5.0" -"@lerna/pulse-till-done@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-3.11.0.tgz#44221de131606104b705dc861440887d543d28ed" - integrity sha512-nMwBa6S4+VI/ketN92oj1xr8y74Fz4ul2R5jdbrRqLLEU/IMBWIqn6NRM2P+OQBoLpPZ2MdWENLJVFNN8X1Q+A== +"@lerna/pulse-till-done@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110" + integrity sha512-1SOHpy7ZNTPulzIbargrgaJX387csN7cF1cLOGZiJQA6VqnS5eWs2CIrG8i8wmaUavj2QlQ5oEbRMVVXSsGrzA== dependencies: npmlog "^4.1.2" -"@lerna/resolve-symlink@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-3.11.0.tgz#0df9834cbacc5a39774899a83b119a7187dfb277" - integrity sha512-lDer8zPXS36iL4vJdZwOk6AnuUjDXswoTWdYkl+HdAKXp7cBlS+VeGmcFIJS4R3mSSZE20h1oEDuH8h8GGORIQ== +"@lerna/resolve-symlink@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-3.13.0.tgz#3e6809ef53b63fe914814bfa071cd68012e22fbb" + integrity sha512-Lc0USSFxwDxUs5JvIisS8JegjA6SHSAWJCMvi2osZx6wVRkEDlWG2B1JAfXUzCMNfHoZX0/XX9iYZ+4JIpjAtg== dependencies: fs-extra "^7.0.0" npmlog "^4.1.2" read-cmd-shim "^1.0.1" -"@lerna/rimraf-dir@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-3.11.0.tgz#98e6a41b2a7bfe83693d9594347cb3dbed2aebdc" - integrity sha512-roy4lKel7BMNLfFvyzK0HI251mgI9EwbpOccR2Waz0V22d0gaqLKzfVrzovat9dVHXrKNxAhJ5iKkKeT93IunQ== +"@lerna/rimraf-dir@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-3.13.0.tgz#bb1006104b4aabcb6985624273254648f872b278" + integrity sha512-kte+pMemulre8cmPqljxIYjCmdLByz8DgHBHXB49kz2EiPf8JJ+hJFt0PzEubEyJZ2YE2EVAx5Tv5+NfGNUQyQ== dependencies: - "@lerna/child-process" "3.3.0" + "@lerna/child-process" "3.13.0" npmlog "^4.1.2" path-exists "^3.0.0" rimraf "^2.6.2" -"@lerna/run-lifecycle@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-3.11.0.tgz#2839d18d7603318dbdd545cbfa1321bc41cbc474" - integrity sha512-3xeeVz9s3Dh2ljKqJI/Fl+gkZD9Y8JblAN62f4WNM76d/zFlgpCXDs62OpxNjEuXujA7YFix0sJ+oPKMm8mDrw== +"@lerna/run-lifecycle@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-3.13.0.tgz#d8835ee83425edee40f687a55f81b502354d3261" + integrity sha512-oyiaL1biZdjpmjh6X/5C4w07wNFyiwXSSHH5GQB4Ay4BPwgq9oNhCcxRoi0UVZlZ1YwzSW8sTwLgj8emkIo3Yg== dependencies: - "@lerna/npm-conf" "3.7.0" + "@lerna/npm-conf" "3.13.0" figgy-pudding "^3.5.1" npm-lifecycle "^2.1.0" npmlog "^4.1.2" -"@lerna/run-parallel-batches@3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@lerna/run-parallel-batches/-/run-parallel-batches-3.0.0.tgz#468704934084c74991d3124d80607857d4dfa840" - integrity sha512-Mj1ravlXF7AkkewKd9YFq9BtVrsStNrvVLedD/b2wIVbNqcxp8lS68vehXVOzoL/VWNEDotvqCQtyDBilCodGw== +"@lerna/run-parallel-batches@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/run-parallel-batches/-/run-parallel-batches-3.13.0.tgz#0276bb4e7cd0995297db82d134ca2bd08d63e311" + integrity sha512-bICFBR+cYVF1FFW+Tlm0EhWDioTUTM6dOiVziDEGE1UZha1dFkMYqzqdSf4bQzfLS31UW/KBd/2z8jy2OIjEjg== dependencies: p-map "^1.2.0" p-map-series "^1.0.0" -"@lerna/run@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/run/-/run-3.11.0.tgz#2a07995ccd570230d01ee8fe2e8c6b742ed58c37" - integrity sha512-8c2yzbKJFzgO6VTOftWmB0fOLTL7G1GFAG5UTVDSk95Z2Gnjof3I/Xkvtbzq8L+DIOLpr+Tpj3fRBjZd8rONlA== +"@lerna/run@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/run/-/run-3.13.0.tgz#4a73af6133843cf9d5767f006e2b988a2aa3461a" + integrity sha512-KSpEStp5SVzNB7+3V5WnyY4So8aEyDhBYvhm7cJr5M7xesKf/IE5KFywcI+JPYzyqnIOGXghfzBf9nBZRHlEUQ== dependencies: - "@lerna/batch-packages" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/filter-options" "3.11.0" - "@lerna/npm-run-script" "3.11.0" - "@lerna/output" "3.11.0" - "@lerna/run-parallel-batches" "3.0.0" - "@lerna/timer" "3.5.0" - "@lerna/validation-error" "3.11.0" + "@lerna/batch-packages" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/filter-options" "3.13.0" + "@lerna/npm-run-script" "3.13.0" + "@lerna/output" "3.13.0" + "@lerna/run-parallel-batches" "3.13.0" + "@lerna/timer" "3.13.0" + "@lerna/validation-error" "3.13.0" p-map "^1.2.0" -"@lerna/symlink-binary@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-3.11.0.tgz#927e1e0d561e52949feb7e3b2a83b26a00cbde49" - integrity sha512-5sOED+1O8jI+ckDS6DRUKtAtbKo7lbxFIJs6sWWEu5qKzM5e21O6E2wTWimJkad8nJ1SJAuyc8DC8M8ki4kT4w== +"@lerna/symlink-binary@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-3.13.0.tgz#36a9415d468afcb8105750296902f6f000a9680d" + integrity sha512-obc4Y6jxywkdaCe+DB0uTxYqP0IQ8mFWvN+k/YMbwH4G2h7M7lCBWgPy8e7xw/50+1II9tT2sxgx+jMus1sTJg== dependencies: - "@lerna/create-symlink" "3.11.0" - "@lerna/package" "3.11.0" + "@lerna/create-symlink" "3.13.0" + "@lerna/package" "3.13.0" fs-extra "^7.0.0" p-map "^1.2.0" -"@lerna/symlink-dependencies@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-3.11.0.tgz#f1e9488c5d7e87aa945b34f4f4ce53e655178698" - integrity sha512-XKNX8oOgcOmiKHUn7qT5GvvmKP3w5otZPOjRixUDUILWTc3P8nO5I1VNILNF6IE5ajNw6yiXOWikSxc6KuFqBQ== +"@lerna/symlink-dependencies@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-3.13.0.tgz#76c23ecabda7824db98a0561364f122b457509cf" + integrity sha512-7CyN5WYEPkbPLbqHBIQg/YiimBzb5cIGQB0E9IkLs3+racq2vmUNQZn38LOaazQacAA83seB+zWSxlI6H+eXSg== dependencies: - "@lerna/create-symlink" "3.11.0" - "@lerna/resolve-symlink" "3.11.0" - "@lerna/symlink-binary" "3.11.0" + "@lerna/create-symlink" "3.13.0" + "@lerna/resolve-symlink" "3.13.0" + "@lerna/symlink-binary" "3.13.0" fs-extra "^7.0.0" p-finally "^1.0.0" p-map "^1.2.0" p-map-series "^1.0.0" -"@lerna/timer@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@lerna/timer/-/timer-3.5.0.tgz#8dee6acf002c55de64678c66ef37ca52143f1b9b" - integrity sha512-TAb99hqQN6E3JBGtG9iyZNPq1/DbmqgBOeNrKtdJsGvIeX/NGLgUDWMrj2h04V4O+jpBFmSf6HIld6triKmxCA== +"@lerna/timer@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/timer/-/timer-3.13.0.tgz#bcd0904551db16e08364d6c18e5e2160fc870781" + integrity sha512-RHWrDl8U4XNPqY5MQHkToWS9jHPnkLZEt5VD+uunCKTfzlxGnRCr3/zVr8VGy/uENMYpVP3wJa4RKGY6M0vkRw== -"@lerna/validation-error@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-3.11.0.tgz#3b2e97a7f5158bb1fc6c0eb3789061b99f01d7fb" - integrity sha512-/mS4o6QYm4OXUqfPJnW1mKudGhvhLe9uiQ9eK2cgSxkCAVq9G2Sl/KVohpnqAgeRI3nXordGxHS745CdAhg7pA== +"@lerna/validation-error@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-3.13.0.tgz#c86b8f07c5ab9539f775bd8a54976e926f3759c3" + integrity sha512-SiJP75nwB8GhgwLKQfdkSnDufAaCbkZWJqEDlKOUPUvVOplRGnfL+BPQZH5nvq2BYSRXsksXWZ4UHVnQZI/HYA== dependencies: npmlog "^4.1.2" -"@lerna/version@3.11.1": - version "3.11.1" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.11.1.tgz#c4031670838ccd5e285ec481c36e8703f4d835b2" - integrity sha512-+lFq4D8BpchIslIz6jyUY6TZO1kuAgQ+G1LjaYwUBiP2SzXVWgPoPoq/9dnaSq38Hhhvlf7FF6i15d+q8gk1xQ== +"@lerna/version@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.13.0.tgz#d2eb17561b6a9b08947a88b5dc463a4a72e01198" + integrity sha512-YdLC208tExVpV77pdXpokGt9MAtTE7Kt93a2jcfjqiMoAI1VmXgGA+7drgBSTVtzfjXExPgi2//hJjI5ObckXA== dependencies: - "@lerna/batch-packages" "3.11.0" - "@lerna/check-working-tree" "3.11.0" - "@lerna/child-process" "3.3.0" - "@lerna/collect-updates" "3.11.0" - "@lerna/command" "3.11.0" - "@lerna/conventional-commits" "3.11.0" - "@lerna/github-client" "3.11.0" - "@lerna/output" "3.11.0" - "@lerna/prompt" "3.11.0" - "@lerna/run-lifecycle" "3.11.0" - "@lerna/validation-error" "3.11.0" + "@lerna/batch-packages" "3.13.0" + "@lerna/check-working-tree" "3.13.0" + "@lerna/child-process" "3.13.0" + "@lerna/collect-updates" "3.13.0" + "@lerna/command" "3.13.0" + "@lerna/conventional-commits" "3.13.0" + "@lerna/github-client" "3.13.0" + "@lerna/output" "3.13.0" + "@lerna/prompt" "3.13.0" + "@lerna/run-lifecycle" "3.13.0" + "@lerna/validation-error" "3.13.0" chalk "^2.3.1" dedent "^0.7.0" minimatch "^3.0.4" @@ -1296,10 +1296,10 @@ slash "^1.0.0" temp-write "^3.4.0" -"@lerna/write-log-file@3.11.0": - version "3.11.0" - resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-3.11.0.tgz#20550b5e6e6e4c20b11d80dc042aacb2a250502a" - integrity sha512-skpTDMDOkQAN4lCeAoI6/rPhbNE431eD0i6Ts3kExUOrYTr0m5CIwVtMZ31Flpky0Jfh4ET6rOl5SDNMLbf4VA== +"@lerna/write-log-file@3.13.0": + version "3.13.0" + resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26" + integrity sha512-RibeMnDPvlL8bFYW5C8cs4mbI3AHfQef73tnJCQ/SgrXZHehmHnsyWUiE7qDQCAo+B1RfTapvSyFF69iPj326A== dependencies: npmlog "^4.1.2" write-file-atomic "^2.3.0" @@ -2041,13 +2041,20 @@ async-limiter@~1.0.0: resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== -async@^2.3.0, async@^2.5.0, async@^2.6.1: +async@^2.3.0, async@^2.6.1: version "2.6.1" resolved "https://registry.npmjs.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== dependencies: lodash "^4.17.10" +async@^2.5.0: + version "2.6.2" + resolved "https://registry.npmjs.org/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" + integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== + dependencies: + lodash "^4.17.11" + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -3055,20 +3062,20 @@ content-type@~1.0.4: resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -conventional-changelog-angular@^5.0.2: - version "5.0.2" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.2.tgz#39d945635e03b6d0c9d4078b1df74e06163dc66a" - integrity sha512-yx7m7lVrXmt4nKWQgWZqxSALEiAKZhOAcbxdUaU9575mB0CzXVbgrgpfSnSP7OqWDUTYGD0YVJ0MSRdyOPgAwA== +conventional-changelog-angular@^5.0.3: + version "5.0.3" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.3.tgz#299fdd43df5a1f095283ac16aeedfb0a682ecab0" + integrity sha512-YD1xzH7r9yXQte/HF9JBuEDfvjxxwDGGwZU1+ndanbY0oFgA+Po1T9JDSpPLdP0pZT6MhCAsdvFKC4TJ4MTJTA== dependencies: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-core@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.1.5.tgz#c2edf928539308b54fe1b90a2fc731abc021852c" - integrity sha512-iwqAotS4zk0wA4S84YY1JCUG7X3LxaRjJxuUo6GI4dZuIy243j5nOg/Ora35ExT4DOiw5dQbMMQvw2SUjh6moQ== +conventional-changelog-core@^3.1.6: + version "3.1.6" + resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.1.6.tgz#ac1731a461c50d150d29c1ad4f33143293bcd32f" + integrity sha512-5teTAZOtJ4HLR6384h50nPAaKdDr+IaU0rnD2Gg2C3MS7hKsEPH8pZxrDNqam9eOSPQg9tET6uZY79zzgSz+ig== dependencies: - conventional-changelog-writer "^4.0.2" + conventional-changelog-writer "^4.0.3" conventional-commits-parser "^3.0.1" dateformat "^3.0.0" get-pkg-repo "^1.0.0" @@ -3087,15 +3094,15 @@ conventional-changelog-preset-loader@^2.0.2: resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.0.2.tgz#81d1a07523913f3d17da3a49f0091f967ad345b0" integrity sha512-pBY+qnUoJPXAXXqVGwQaVmcye05xi6z231QM98wHWamGAmu/ghkBprQAwmF5bdmyobdVxiLhPY3PrCfSeUNzRQ== -conventional-changelog-writer@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.2.tgz#eb493ed84269e7a663da36e49af51c54639c9a67" - integrity sha512-d8/FQY/fix2xXEBUhOo8u3DCbyEw3UOQgYHxLsPDw+wHUDma/GQGAGsGtoH876WyNs32fViHmTOUrgRKVLvBug== +conventional-changelog-writer@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.3.tgz#916a2b302d0bb5ef18efd236a034c13fb273cde1" + integrity sha512-bIlpSiQtQZ1+nDVHEEh798Erj2jhN/wEjyw9sfxY9es6h7pREE5BNJjfv0hXGH/FTrAsEpHUq4xzK99eePpwuA== dependencies: compare-func "^1.3.1" conventional-commits-filter "^2.0.1" dateformat "^3.0.0" - handlebars "^4.0.2" + handlebars "^4.1.0" json-stringify-safe "^5.0.1" lodash "^4.2.1" meow "^4.0.0" @@ -4168,10 +4175,10 @@ eslint-plugin-import@^2.16.0: read-pkg-up "^2.0.0" resolve "^1.9.0" -eslint-plugin-jest@^22.2.2: - version "22.2.2" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.2.2.tgz#2a80d70a20c27dfb1503a6f32cdcb647fe5476df" - integrity sha512-hnWgh9o39VJfz6lJEyQJdTW7dN2yynlGkmPOlU/oMHh+d7WVMsJP1GeDTB520VCDljEdKExCwD5IBpQIUl4mJg== +eslint-plugin-jest@^22.3.0: + version "22.3.0" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.3.0.tgz#a10f10dedfc92def774ec9bb5bfbd2fb8e1c96d2" + integrity sha512-P1mYVRNlOEoO5T9yTqOfucjOYf1ktmJ26NjwjH8sxpCFQa6IhBGr5TpKl3hcAAT29hOsRJVuMWmTsHoUVo9FoA== eslint-plugin-node@^8.0.1: version "8.0.1" @@ -5091,7 +5098,7 @@ gzip-size@^5.0.0: duplexer "^0.1.1" pify "^3.0.0" -handlebars@^4.0.11, handlebars@^4.0.2: +handlebars@^4.0.11, handlebars@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== @@ -6616,26 +6623,26 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@3.11.1: - version "3.11.1" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.11.1.tgz#c3f86aaf6add615ffc172554657a139bc2360b9a" - integrity sha512-7an/cia9u6qVTts5PQ/adFq8QSgE7gzG1pUHhH+XKVU1seDKQ99JLu61n3/euv2qeQF+ww4WLKnFHIPa5+LJSQ== +lerna@^3.13.0: + version "3.13.0" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.13.0.tgz#3a9fe155d763a9814939a631ff958957322f2f31" + integrity sha512-MHaqqwfAdYIo0rAE0oOZRQ8eKbKyW035akLf0pz3YlWbdXKH91lxXRLj0BpbEytUz7hDbsv0FNNtXz9u5eTNFg== dependencies: - "@lerna/add" "3.11.0" - "@lerna/bootstrap" "3.11.0" - "@lerna/changed" "3.11.1" - "@lerna/clean" "3.11.0" - "@lerna/cli" "3.11.0" - "@lerna/create" "3.11.0" - "@lerna/diff" "3.11.0" - "@lerna/exec" "3.11.0" - "@lerna/import" "3.11.0" - "@lerna/init" "3.11.0" - "@lerna/link" "3.11.0" - "@lerna/list" "3.11.0" - "@lerna/publish" "3.11.1" - "@lerna/run" "3.11.0" - "@lerna/version" "3.11.1" + "@lerna/add" "3.13.0" + "@lerna/bootstrap" "3.13.0" + "@lerna/changed" "3.13.0" + "@lerna/clean" "3.13.0" + "@lerna/cli" "3.13.0" + "@lerna/create" "3.13.0" + "@lerna/diff" "3.13.0" + "@lerna/exec" "3.13.0" + "@lerna/import" "3.13.0" + "@lerna/init" "3.13.0" + "@lerna/link" "3.13.0" + "@lerna/list" "3.13.0" + "@lerna/publish" "3.13.0" + "@lerna/run" "3.13.0" + "@lerna/version" "3.13.0" import-local "^1.0.0" npmlog "^4.1.2" @@ -7094,7 +7101,7 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -"mime-db@>= 1.36.0 < 2": +"mime-db@>= 1.36.0 < 2", mime-db@~1.38.0: version "1.38.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== @@ -7104,7 +7111,14 @@ mime-db@~1.37.0: resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg== -mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19: +mime-types@^2.1.12, mime-types@~2.1.19: + version "2.1.22" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz#fe6b355a190926ab7698c9a0556a11199b2199bd" + integrity sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog== + dependencies: + mime-db "~1.38.0" + +mime-types@~2.1.18: version "2.1.21" resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg== @@ -9370,9 +9384,9 @@ read-cmd-shim@^1.0.1: graceful-fs "^4.1.2" read-package-tree@^5.1.6: - version "5.2.1" - resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.2.1.tgz#6218b187d6fac82289ce4387bbbaf8eef536ad63" - integrity sha512-2CNoRoh95LxY47LvqrehIAfUVda2JbuFE/HaGYs42bNrGG+ojbw1h3zOcPcQ+1GQ3+rkzNndZn85u1XyZ3UsIA== + version "5.2.2" + resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.2.2.tgz#4b6a0ef2d943c1ea36a578214c9a7f6b7424f7a8" + integrity sha512-rW3XWUUkhdKmN2JKB4FL563YAgtINifso5KShykufR03nJ5loGFlkUMe1g/yxmqX073SoYYTsgXu7XdDinKZuA== dependencies: debuglog "^1.0.1" dezalgo "^1.0.0" From d3f18c3e3d389e949793108789fd43ebf1926e3c Mon Sep 17 00:00:00 2001 From: Clark Du Date: Fri, 15 Feb 2019 13:13:00 +0000 Subject: [PATCH 094/221] chore(deps): update request-promise-native --- package.json | 2 +- yarn.lock | 398 ++++++++++----------------------------------------- 2 files changed, 75 insertions(+), 325 deletions(-) diff --git a/package.json b/package.json index 1ef9ea7e71..ec3ab34312 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "pug-plain-loader": "^1.0.0", "puppeteer-core": "^1.12.2", "request": "^2.88.0", - "request-promise-native": "^1.0.5", + "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", "rollup": "^1.1.2", "rollup-plugin-alias": "^1.5.1", diff --git a/yarn.lock b/yarn.lock index a709d830b1..a930e3fd3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1398,14 +1398,14 @@ url-template "^2.0.8" "@types/babel-types@*", "@types/babel-types@^7.0.0": - version "7.0.4" - resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.4.tgz#bfd5b0d0d1ba13e351dff65b6e52783b816826c8" - integrity sha512-WiZhq3SVJHFRgRYLXvpf65XnV6ipVHhnNaNvE8yCimejrGglkg38kEj0JcizqwSHxmPSjcTlig/6JouxLGEhGw== + version "7.0.5" + resolved "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.5.tgz#26f5bba8c58acd9b84d1a9135fb2789a1c191bc1" + integrity sha512-0t0R7fKAXT/P++S98djRkXbL9Sxd9NNtfNg3BNw2EQOjVIkiMBdmO55N2Tp3wGK3mylmM7Vck9h5tEoSuSUabA== "@types/babylon@^6.16.2": - version "6.16.4" - resolved "https://registry.npmjs.org/@types/babylon/-/babylon-6.16.4.tgz#d3df72518b34a6a015d0dc58745cd238b5bb8ad2" - integrity sha512-8dZMcGPno3g7pJ/d0AyJERo+lXh9i1JhDuCUs+4lNIN9eUe5Yh6UCLrpgSEi05Ve2JMLauL2aozdvKwNL0px1Q== + version "6.16.5" + resolved "https://registry.npmjs.org/@types/babylon/-/babylon-6.16.5.tgz#1c5641db69eb8cdf378edd25b4be7754beeb48b4" + integrity sha512-xH2e58elpj1X4ynnKp9qSnWlsRTIs6n3tgLGNfwAGHwePw0mulHQllV34n0T25uYSu1k0hRKkWXF890B1yS47w== dependencies: "@types/babel-types" "*" @@ -1415,9 +1415,9 @@ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== "@types/node@*": - version "11.9.0" - resolved "https://registry.npmjs.org/@types/node/-/node-11.9.0.tgz#35fea17653490dab82e1d5e69731abfdbf13160d" - integrity sha512-ry4DOrC+xenhQbzk1iIPzCZGhhPGEFv7ia7Iu6XXSLVluiJIe9FfG7Iu3mObH9mpxEXCWLCMU4JWbCCR9Oy1Zg== + version "11.9.4" + resolved "https://registry.npmjs.org/@types/node/-/node-11.9.4.tgz#ceb0048a546db453f6248f2d1d95e937a6f00a14" + integrity sha512-Zl8dGvAcEmadgs1tmSPcvwzO1YRsz38bVJQvH1RvRqSR9/5n61Q1ktcDL0ht3FXWR+ZpVmXVwN1LuH4Ax23NsA== "@types/node@^10.12.26": version "10.12.26" @@ -2041,14 +2041,7 @@ async-limiter@~1.0.0: resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== -async@^2.3.0, async@^2.6.1: - version "2.6.1" - resolved "https://registry.npmjs.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" - integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== - dependencies: - lodash "^4.17.10" - -async@^2.5.0: +async@^2.3.0, async@^2.5.0, async@^2.6.1: version "2.6.2" resolved "https://registry.npmjs.org/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== @@ -2613,9 +2606,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000936: - version "1.0.30000936" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000936.tgz#5d33b118763988bf721b9b8ad436d0400e4a116b" - integrity sha512-orX4IdpbFhdNO7bTBhSbahp1EBpqzBc+qrvTRVUFfZgA4zta7TdM6PN5ZxkEUgDnz36m+PfWGcdX7AVfFWItJw== + version "1.0.30000938" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000938.tgz#b64bf1427438df40183fce910fe24e34feda7a3f" + integrity sha512-ekW8NQ3/FvokviDxhdKLZZAx7PptXNwxKgXtnR5y+PR3hckwuP3yJ1Ir+4/c97dsHNqtAyfKUGdw8P4EYzBNgw== capture-exit@^1.2.0: version "1.2.0" @@ -3180,9 +3173,9 @@ copy-descriptor@^0.1.0: integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= core-js@^2.4.0, core-js@^2.5.7: - version "2.6.4" - resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz#b8897c062c4d769dd30a0ac5c73976c47f92ea0d" - integrity sha512-05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A== + version "2.6.5" + resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" + integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -3397,9 +3390,9 @@ css-url-regex@^1.1.0: integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w= css-what@2.1, css-what@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz#c0876d9d0480927d7d4920dcd72af3595649554d" - integrity sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ== + version "2.1.3" + resolved "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2" + integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg== css@^2.1.0: version "2.2.4" @@ -3426,42 +3419,6 @@ cssesc@^2.0.0: resolved "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703" integrity sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg== -cssnano-preset-default@^4.0.6: - version "4.0.6" - resolved "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.6.tgz#92379e2a6db4a91c0ea727f5f556eeac693eab6a" - integrity sha512-UPboYbFaJFtDUhJ4fqctThWbbyF4q01/7UhsZbLzp35l+nUxtzh1SifoVlEfyLM3n3Z0htd8B1YlCxy9i+bQvg== - dependencies: - css-declaration-sorter "^4.0.1" - cssnano-util-raw-cache "^4.0.1" - postcss "^7.0.0" - postcss-calc "^7.0.0" - postcss-colormin "^4.0.2" - postcss-convert-values "^4.0.1" - postcss-discard-comments "^4.0.1" - postcss-discard-duplicates "^4.0.2" - postcss-discard-empty "^4.0.1" - postcss-discard-overridden "^4.0.1" - postcss-merge-longhand "^4.0.10" - postcss-merge-rules "^4.0.2" - postcss-minify-font-values "^4.0.2" - postcss-minify-gradients "^4.0.1" - postcss-minify-params "^4.0.1" - postcss-minify-selectors "^4.0.1" - postcss-normalize-charset "^4.0.1" - postcss-normalize-display-values "^4.0.1" - postcss-normalize-positions "^4.0.1" - postcss-normalize-repeat-style "^4.0.1" - postcss-normalize-string "^4.0.1" - postcss-normalize-timing-functions "^4.0.1" - postcss-normalize-unicode "^4.0.1" - postcss-normalize-url "^4.0.1" - postcss-normalize-whitespace "^4.0.1" - postcss-ordered-values "^4.1.1" - postcss-reduce-initial "^4.0.2" - postcss-reduce-transforms "^4.0.1" - postcss-svgo "^4.0.1" - postcss-unique-selectors "^4.0.1" - cssnano-preset-default@^4.0.7: version "4.0.7" resolved "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz#51ec662ccfca0f88b396dcd9679cdb931be17f76" @@ -3520,20 +3477,10 @@ cssnano-util-same-parent@^4.0.0: resolved "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3" integrity sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q== -cssnano@^4.1.0: - version "4.1.8" - resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.8.tgz#8014989679d5fd42491e4499a521dbfb85c95fd1" - integrity sha512-5GIY0VzAHORpbKiL3rMXp4w4M1Ki+XlXgEXyuWXVd3h6hlASb+9Vo76dNP56/elLMVBBsUfusCo1q56uW0UWig== - dependencies: - cosmiconfig "^5.0.0" - cssnano-preset-default "^4.0.6" - is-resolvable "^1.0.0" - postcss "^7.0.0" - -cssnano@^4.1.9: - version "4.1.9" - resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.9.tgz#f2ac0f5a8b9396fcb11d25fb3aab1e86303fcbd2" - integrity sha512-osEbYy4kzaNY3nkd92Uf3hy5Jqb5Aztuv+Ze3Z6DjRhyntZDlb3YljiYDdJ05k167U86CZpSR+rbuJYN7N3oBQ== +cssnano@^4.1.0, cssnano@^4.1.9: + version "4.1.10" + resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz#0ac41f0b13d13d465487e111b778d42da631b8b2" + integrity sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ== dependencies: cosmiconfig "^5.0.0" cssnano-preset-default "^4.0.7" @@ -3610,9 +3557,9 @@ dateformat@^3.0.0: integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== dayjs@^1.8.3: - version "1.8.5" - resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.5.tgz#0b066770f89a20022218544989f3d23e5e8db29a" - integrity sha512-jo5sEFdsT43RqXxoqQVEuD7XL6iSIRxcjTgheJdlV0EHKObKP3pb9JcJEv/KStVMy25ABNQrFnplKcCit05vOA== + version "1.8.6" + resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.6.tgz#b7a8ccfef173dae03e83a05a58788c9dbe948a35" + integrity sha512-NLhaSS1/wWLRFy0Kn/VmsAExqll2zxRUPmPbqJoeMKQrFxG+RT94VMSE+cVljB6A76/zZkR0Xub4ihTHQ5HgGg== de-indent@^1.0.2: version "1.0.2" @@ -3849,28 +3796,23 @@ dom-event-types@^1.0.0: integrity sha512-2G2Vwi2zXTHBGqXHsJ4+ak/iP0N8Ar+G8a7LiD2oup5o4sQWytwqqrZu/O6hIMV0KMID2PL69OhpshLO0n7UJQ== dom-serializer@0, dom-serializer@~0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" - integrity sha1-BzxpdUbOB4DOI75KKOKT5AvDDII= + version "0.1.1" + resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" + integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA== dependencies: - domelementtype "~1.1.1" - entities "~1.1.1" + domelementtype "^1.3.0" + entities "^1.1.1" domain-browser@^1.1.1: version "1.2.0" resolved "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== -domelementtype@1, domelementtype@^1.3.0: +domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== -domelementtype@~1.1.1: - version "1.1.3" - resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" - integrity sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs= - domexception@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90" @@ -5098,7 +5040,7 @@ gzip-size@^5.0.0: duplexer "^0.1.1" pify "^3.0.0" -handlebars@^4.0.11, handlebars@^4.1.0: +handlebars@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== @@ -5315,16 +5257,16 @@ html-webpack-plugin@^3.2.0: util.promisify "1.0.0" htmlparser2@^3.9.1: - version "3.10.0" - resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz#5f5e422dcf6119c0d983ed36260ce9ded0bee464" - integrity sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ== + version "3.10.1" + resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" + integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ== dependencies: - domelementtype "^1.3.0" + domelementtype "^1.3.1" domhandler "^2.3.0" domutils "^1.5.1" entities "^1.1.1" inherits "^2.0.1" - readable-stream "^3.0.6" + readable-stream "^3.1.1" htmlparser2@~3.3.0: version "3.3.0" @@ -5587,11 +5529,6 @@ invert-kv@^2.0.0: resolved "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/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.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" @@ -5962,9 +5899,9 @@ isstream@~0.1.2: integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= istanbul-api@^2.0.8: - version "2.1.0" - resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-2.1.0.tgz#37ab0c2c3e83065462f5254b94749d6157846c4e" - integrity sha512-+Ygg4t1StoiNlBGc6x0f8q/Bv26FbZqP/+jegzfNpU7Q8o+4ZRoJxJPhBkgE/UonpAjtxnE4zCZIyJX+MwLRMQ== + version "2.1.1" + resolved "https://registry.npmjs.org/istanbul-api/-/istanbul-api-2.1.1.tgz#194b773f6d9cbc99a9258446848b0f988951c4d0" + integrity sha512-kVmYrehiwyeBAk/wE71tW6emzLiHGjYIiDrc8sfyty4F8M02/lrgXSm+R1kXysmF20zArvmZXjlE/mg24TVPJw== dependencies: async "^2.6.1" compare-versions "^3.2.1" @@ -5974,7 +5911,7 @@ istanbul-api@^2.0.8: istanbul-lib-instrument "^3.1.0" istanbul-lib-report "^2.0.4" istanbul-lib-source-maps "^3.0.2" - istanbul-reports "^2.1.0" + istanbul-reports "^2.1.1" js-yaml "^3.12.0" make-dir "^1.3.0" minimatch "^3.0.4" @@ -6025,12 +5962,12 @@ istanbul-lib-source-maps@^3.0.1, istanbul-lib-source-maps@^3.0.2: rimraf "^2.6.2" source-map "^0.6.1" -istanbul-reports@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.1.0.tgz#87b8b55cd1901ba1748964c98ddd8900ce306d59" - integrity sha512-azQdSX+dtTtkQEfqq20ICxWi6eOHXyHIgMFw1VOOVi8iIPWeCWRgCyFh/CsBKIhcgskMI8ExXmU7rjXTRCIJ+A== +istanbul-reports@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.1.1.tgz#72ef16b4ecb9a4a7bd0e2001e00f95d1eec8afa9" + integrity sha512-FzNahnidyEPBCI0HcufJoSEoKykesRlFcSzQqjH9x0+LC8tnnE/p/90PBLu8iZTxr8yYZNyTtiAujUqyN+CIxw== dependencies: - handlebars "^4.0.11" + handlebars "^4.1.0" jest-changed-files@^24.0.0: version "24.0.0" @@ -6820,7 +6757,7 @@ lodash.uniqueid@^4.0.1: resolved "https://registry.npmjs.org/lodash.uniqueid/-/lodash.uniqueid-4.0.1.tgz#3268f26a7c88e4f4b1758d679271814e31fa5b26" integrity sha1-MmjyanyI5PSxdY1nknGBTjH6WyY= -lodash@4.17.11, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: +lodash@4.17.11, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.1: version "4.17.11" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== @@ -7106,25 +7043,13 @@ miller-rabin@^4.0.0: resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== -mime-db@~1.37.0: - version "1.37.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" - integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg== - -mime-types@^2.1.12, mime-types@~2.1.19: +mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19: version "2.1.22" resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz#fe6b355a190926ab7698c9a0556a11199b2199bd" integrity sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog== dependencies: mime-db "~1.38.0" -mime-types@~2.1.18: - version "2.1.21" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" - integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg== - dependencies: - mime-db "~1.37.0" - mime@1.4.1: version "1.4.1" resolved "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" @@ -7929,9 +7854,9 @@ parent-module@^1.0.0: callsites "^3.0.0" parse-asn1@^5.0.0: - version "5.1.3" - resolved "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.3.tgz#1600c6cc0727365d68b97f3aa78939e735a75204" - integrity sha512-VrPoetlz7B/FqjBLD2f5wBVZvsZVLnRUrxVLfRYhGXCODa/NWE4p3Wp+6+aV3ZPL3KM7/OZmxDIwwijD7yuucg== + version "5.1.4" + resolved "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc" + integrity sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw== dependencies: asn1.js "^4.0.0" browserify-aes "^1.0.0" @@ -8172,7 +8097,7 @@ postcss-attribute-case-insensitive@^4.0.0: postcss "^7.0.2" postcss-selector-parser "^5.0.0" -postcss-calc@^7.0.0, postcss-calc@^7.0.1: +postcss-calc@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz#36d77bab023b0ecbb9789d84dcb23c4941145436" integrity sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ== @@ -8224,17 +8149,6 @@ postcss-color-rebeccapurple@^4.0.1: postcss "^7.0.2" postcss-values-parser "^2.0.0" -postcss-colormin@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.2.tgz#93cd1fa11280008696887db1a528048b18e7ed99" - integrity sha512-1QJc2coIehnVFsz0otges8kQLsryi4lo19WD+U5xCWvXd0uw/Z+KKYnbiNDCnO9GP+PvErPHCG0jNvWTngk9Rw== - dependencies: - browserslist "^4.0.0" - color "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-colormin@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz#ae060bce93ed794ac71264f08132d550956bd381" @@ -8285,13 +8199,6 @@ postcss-dir-pseudo-class@^5.0.0: postcss "^7.0.2" postcss-selector-parser "^5.0.0-rc.3" -postcss-discard-comments@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.1.tgz#30697735b0c476852a7a11050eb84387a67ef55d" - integrity sha512-Ay+rZu1Sz6g8IdzRjUgG2NafSNpp2MSMOQUb+9kkzzzP+kh07fP0yNbhtFejURnyVXSX3FYy2nVNW1QTnNjgBQ== - dependencies: - postcss "^7.0.0" - postcss-discard-comments@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz#1fbabd2c246bff6aaad7997b2b0918f4d7af4033" @@ -8438,16 +8345,6 @@ postcss-media-minmax@^4.0.0: dependencies: postcss "^7.0.2" -postcss-merge-longhand@^4.0.10: - version "4.0.10" - resolved "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.10.tgz#c4d63ab57bdc054ab4067ab075d488c8c2978380" - integrity sha512-hME10s6CSjm9nlVIcO1ukR7Jr5RisTaaC1y83jWCivpuBtPohA3pZE7cGTIVSYjXvLnXozHTiVOkG4dnnl756g== - dependencies: - css-color-names "0.0.4" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - stylehacks "^4.0.0" - postcss-merge-longhand@^4.0.11: version "4.0.11" resolved "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz#62f49a13e4a0ee04e7b98f42bb16062ca2549e24" @@ -8458,18 +8355,6 @@ postcss-merge-longhand@^4.0.11: postcss-value-parser "^3.0.0" stylehacks "^4.0.0" -postcss-merge-rules@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.2.tgz#2be44401bf19856f27f32b8b12c0df5af1b88e74" - integrity sha512-UiuXwCCJtQy9tAIxsnurfF0mrNHKc4NnNx6NxqmzNNjXpQwLSukUxELHTRF0Rg1pAmcoKLih8PwvZbiordchag== - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - cssnano-util-same-parent "^4.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - vendors "^1.0.0" - postcss-merge-rules@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz#362bea4ff5a1f98e4075a713c6cb25aefef9a650" @@ -8490,16 +8375,6 @@ postcss-minify-font-values@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-minify-gradients@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.1.tgz#6da95c6e92a809f956bb76bf0c04494953e1a7dd" - integrity sha512-pySEW3E6Ly5mHm18rekbWiAjVi/Wj8KKt2vwSfVFAWdW6wOIekgqxKxLU7vJfb107o3FDNPkaYFCxGAJBFyogA== - dependencies: - cssnano-util-get-arguments "^4.0.0" - is-color-stop "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-minify-gradients@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz#93b29c2ff5099c535eecda56c4aa6e665a663471" @@ -8510,18 +8385,6 @@ postcss-minify-gradients@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-minify-params@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.1.tgz#5b2e2d0264dd645ef5d68f8fec0d4c38c1cf93d2" - integrity sha512-h4W0FEMEzBLxpxIVelRtMheskOKKp52ND6rJv+nBS33G1twu2tCyurYj/YtgU76+UDCvWeNs0hs8HFAWE2OUFg== - dependencies: - alphanum-sort "^1.0.0" - browserslist "^4.0.0" - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - uniqs "^2.0.0" - postcss-minify-params@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz#6b9cef030c11e35261f95f618c90036d680db874" @@ -8534,16 +8397,6 @@ postcss-minify-params@^4.0.2: postcss-value-parser "^3.0.0" uniqs "^2.0.0" -postcss-minify-selectors@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.1.tgz#a891c197977cc37abf60b3ea06b84248b1c1e9cd" - integrity sha512-8+plQkomve3G+CodLCgbhAKrb5lekAnLYuL1d7Nz+/7RANpBEVdgBkPNwljfSKvZ9xkkZTZITd04KP+zeJTJqg== - dependencies: - alphanum-sort "^1.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-selector-parser "^3.0.0" - postcss-minify-selectors@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz#e2e5eb40bfee500d0cd9243500f5f8ea4262fbd8" @@ -8600,15 +8453,6 @@ postcss-normalize-charset@^4.0.1: dependencies: postcss "^7.0.0" -postcss-normalize-display-values@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.1.tgz#d9a83d47c716e8a980f22f632c8b0458cfb48a4c" - integrity sha512-R5mC4vaDdvsrku96yXP7zak+O3Mm9Y8IslUobk7IMP+u/g+lXvcN4jngmHY5zeJnrQvE13dfAg5ViU05ZFDwdg== - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-display-values@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz#0dbe04a4ce9063d4667ed2be476bb830c825935a" @@ -8618,16 +8462,6 @@ postcss-normalize-display-values@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-normalize-positions@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.1.tgz#ee2d4b67818c961964c6be09d179894b94fd6ba1" - integrity sha512-GNoOaLRBM0gvH+ZRb2vKCIujzz4aclli64MBwDuYGU2EY53LwiP7MxOZGE46UGtotrSnmarPPZ69l2S/uxdaWA== - dependencies: - cssnano-util-get-arguments "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-positions@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz#05f757f84f260437378368a91f8932d4b102917f" @@ -8638,16 +8472,6 @@ postcss-normalize-positions@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-normalize-repeat-style@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.1.tgz#5293f234b94d7669a9f805495d35b82a581c50e5" - integrity sha512-fFHPGIjBUyUiswY2rd9rsFcC0t3oRta4wxE1h3lpwfQZwFeFjXFSiDtdJ7APCmHQOnUZnqYBADNRPKPwFAONgA== - dependencies: - cssnano-util-get-arguments "^4.0.0" - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-repeat-style@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz#c4ebbc289f3991a028d44751cbdd11918b17910c" @@ -8658,15 +8482,6 @@ postcss-normalize-repeat-style@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-normalize-string@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.1.tgz#23c5030c2cc24175f66c914fa5199e2e3c10fef3" - integrity sha512-IJoexFTkAvAq5UZVxWXAGE0yLoNN/012v7TQh5nDo6imZJl2Fwgbhy3J2qnIoaDBrtUP0H7JrXlX1jjn2YcvCQ== - dependencies: - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-string@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz#cd44c40ab07a0c7a36dc5e99aace1eca4ec2690c" @@ -8676,15 +8491,6 @@ postcss-normalize-string@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-normalize-timing-functions@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.1.tgz#8be83e0b9cb3ff2d1abddee032a49108f05f95d7" - integrity sha512-1nOtk7ze36+63ONWD8RCaRDYsnzorrj+Q6fxkQV+mlY5+471Qx9kspqv0O/qQNMeApg8KNrRf496zHwJ3tBZ7w== - dependencies: - cssnano-util-get-match "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-timing-functions@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz#8e009ca2a3949cdaf8ad23e6b6ab99cb5e7d28d9" @@ -8713,14 +8519,6 @@ postcss-normalize-url@^4.0.1: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-normalize-whitespace@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.1.tgz#d14cb639b61238418ac8bc8d3b7bdd65fc86575e" - integrity sha512-U8MBODMB2L+nStzOk6VvWWjZgi5kQNShCyjRhMT3s+W9Jw93yIjOnrEkKYD3Ul7ChWbEcjDWmXq0qOL9MIAnAw== - dependencies: - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-normalize-whitespace@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz#bf1d4070fe4fcea87d1348e825d8cc0c5faa7d82" @@ -8729,15 +8527,6 @@ postcss-normalize-whitespace@^4.0.2: postcss "^7.0.0" postcss-value-parser "^3.0.0" -postcss-ordered-values@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.1.tgz#2e3b432ef3e489b18333aeca1f1295eb89be9fc2" - integrity sha512-PeJiLgJWPzkVF8JuKSBcylaU+hDJ/TX3zqAMIjlghgn1JBi6QwQaDZoDIlqWRcCAI8SxKrt3FCPSRmOgKRB97Q== - dependencies: - cssnano-util-get-arguments "^4.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-ordered-values@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz#0cf75c820ec7d5c4d280189559e0b571ebac0eee" @@ -8820,16 +8609,6 @@ postcss-pseudo-class-any-link@^6.0.0: postcss "^7.0.2" postcss-selector-parser "^5.0.0-rc.3" -postcss-reduce-initial@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.2.tgz#bac8e325d67510ee01fa460676dc8ea9e3b40f15" - integrity sha512-epUiC39NonKUKG+P3eAOKKZtm5OtAtQJL7Ye0CBN1f+UQTHzqotudp+hki7zxXm7tT0ZAKDMBj1uihpPjP25ug== - dependencies: - browserslist "^4.0.0" - caniuse-api "^3.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-reduce-initial@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df" @@ -8840,16 +8619,6 @@ postcss-reduce-initial@^4.0.3: has "^1.0.0" postcss "^7.0.0" -postcss-reduce-transforms@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.1.tgz#8600d5553bdd3ad640f43bff81eb52f8760d4561" - integrity sha512-sZVr3QlGs0pjh6JAIe6DzWvBaqYw05V1t3d9Tp+VnFRT5j+rsqoWsysh/iSD7YNsULjq9IAylCznIwVd5oU/zA== - dependencies: - cssnano-util-get-match "^4.0.0" - has "^1.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - postcss-reduce-transforms@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz#17efa405eacc6e07be3414a5ca2d1074681d4e29" @@ -8901,16 +8670,6 @@ postcss-selector-parser@^5.0.0, postcss-selector-parser@^5.0.0-rc.3, postcss-sel indexes-of "^1.0.1" uniq "^1.0.1" -postcss-svgo@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.1.tgz#5628cdb38f015de6b588ce6d0bf0724b492b581d" - integrity sha512-YD5uIk5NDRySy0hcI+ZJHwqemv2WiqqzDgtvgMzO8EGSkK5aONyX8HMVFRFJSdO8wUWTuisUFn/d7yRRbBr5Qw== - dependencies: - is-svg "^3.0.0" - postcss "^7.0.0" - postcss-value-parser "^3.0.0" - svgo "^1.0.0" - postcss-svgo@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258" @@ -9483,7 +9242,7 @@ readable-stream@1.0: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^3.0.6: +readable-stream@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz#ed6bbc6c5ba58b090039ff18ce670515795aeb06" integrity sha512-DkN66hPyqDhnIQ6Jcsvx9bFjhw214O4poMBcIMgPVpQvNy9a0e0Uhg5SqySyDKAmUlwt8LonTBz1ezOnM8pUdA== @@ -9512,9 +9271,9 @@ readdirp@^2.2.1: readable-stream "^2.0.2" realpath-native@^1.0.0, realpath-native@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/realpath-native/-/realpath-native-1.0.2.tgz#cd51ce089b513b45cf9b1516c82989b51ccc6560" - integrity sha512-+S3zTvVt9yTntFrBpm7TQmQ3tzpCrnA1a/y+3cUHAc9ZR6aIjG0WNLR+Rj79QpJktY+VeW/TQtFlQ1bzsehI8g== + version "1.1.0" + resolved "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c" + integrity sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA== dependencies: util.promisify "^1.0.0" @@ -9675,21 +9434,21 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" -request-promise-core@1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" - integrity sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY= +request-promise-core@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz#339f6aababcafdb31c799ff158700336301d3346" + integrity sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag== dependencies: - lodash "^4.13.1" + lodash "^4.17.11" -request-promise-native@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5" - integrity sha1-UoF3D2jgyXGeUWP9P6tIIhX0/aU= +request-promise-native@^1.0.5, request-promise-native@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz#a49868a624bdea5069f1251d0a836e0d89aa2c59" + integrity sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w== dependencies: - request-promise-core "1.1.1" - stealthy-require "^1.1.0" - tough-cookie ">=2.3.3" + request-promise-core "1.1.2" + stealthy-require "^1.1.1" + tough-cookie "^2.3.3" request@^2.87.0, request@^2.88.0: version "2.88.0" @@ -10386,7 +10145,7 @@ std-env@^2.2.1: dependencies: ci-info "^1.6.0" -stealthy-require@^1.1.0: +stealthy-require@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks= @@ -10552,9 +10311,9 @@ style-resources-loader@^1.2.1: loader-utils "^1.1.0" stylehacks@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.1.tgz#3186595d047ab0df813d213e51c8b94e0b9010f2" - integrity sha512-TK5zEPeD9NyC1uPIdjikzsgWxdQQN/ry1X3d1iOz1UkYDCmcr928gWD1KHgyC27F50UnE0xCTrBOO1l6KR8M4w== + version "4.0.3" + resolved "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz#6718fcaf4d1e07d8a1318690881e8d96726a71d5" + integrity sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g== dependencies: browserslist "^4.0.0" postcss "^7.0.0" @@ -10833,16 +10592,7 @@ toposort@^1.0.0: resolved "https://registry.npmjs.org/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029" integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk= -tough-cookie@>=2.3.3: - version "3.0.1" - resolved "https://registry.npmjs.org/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.4, tough-cookie@^2.5.0: +tough-cookie@^2.3.3, tough-cookie@^2.3.4, tough-cookie@^2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== From b51d7ec2fd13563c57c5d96ef5286dd79bdf5633 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 15 Feb 2019 14:56:10 +0000 Subject: [PATCH 095/221] chore(deps): update all non-major dependencies (#5038) --- packages/webpack/package.json | 4 ++-- yarn.lock | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 9353ee5404..606037149b 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,11 +15,11 @@ "@nuxt/utils": "2.4.3", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000936", + "caniuse-lite": "^1.0.30000938", "chalk": "^2.4.2", "consola": "^2.4.1", "css-loader": "^2.1.0", - "cssnano": "^4.1.9", + "cssnano": "^4.1.10", "eventsource-polyfill": "^0.9.6", "extract-css-chunks-webpack-plugin": "^3.3.2", "file-loader": "^3.0.1", diff --git a/yarn.lock b/yarn.lock index a930e3fd3d..74133a3784 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2605,7 +2605,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000936: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000938: version "1.0.30000938" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000938.tgz#b64bf1427438df40183fce910fe24e34feda7a3f" integrity sha512-ekW8NQ3/FvokviDxhdKLZZAx7PptXNwxKgXtnR5y+PR3hckwuP3yJ1Ir+4/c97dsHNqtAyfKUGdw8P4EYzBNgw== @@ -3477,7 +3477,7 @@ cssnano-util-same-parent@^4.0.0: resolved "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz#574082fb2859d2db433855835d9a8456ea18bbf3" integrity sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q== -cssnano@^4.1.0, cssnano@^4.1.9: +cssnano@^4.1.0, cssnano@^4.1.10: version "4.1.10" resolved "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz#0ac41f0b13d13d465487e111b778d42da631b8b2" integrity sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ== From 4a4449648120b4f3e3df8b95ceb5dc8b4b15482a Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 18 Feb 2019 09:23:10 +0000 Subject: [PATCH 096/221] chore: fix audit error --- yarn.lock | 719 +++++++++++++++++++----------------------------------- 1 file changed, 257 insertions(+), 462 deletions(-) diff --git a/yarn.lock b/yarn.lock index 74133a3784..27483b802d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,33 +10,33 @@ "@babel/highlight" "^7.0.0" "@babel/core@^7.1.0", "@babel/core@^7.2.2": - version "7.2.2" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.2.2.tgz#07adba6dde27bb5ad8d8672f15fde3e08184a687" - integrity sha512-59vB0RWt09cAct5EIe58+NzGP4TFSD3Bz//2/ELy3ZeTeKF6VTD1AXlH8BGGbCX0PuobZBsIzO7IAI9PH67eKw== + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.3.tgz#d090d157b7c5060d05a05acaebc048bd2b037947" + integrity sha512-w445QGI2qd0E0GlSnq6huRZWPMmQGCp5gd5ZWS4hagn0EiwzxD5QMFkpchyusAyVC1n27OKXzQ0/88aVU9n4xQ== dependencies: "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.2.2" + "@babel/generator" "^7.3.3" "@babel/helpers" "^7.2.0" - "@babel/parser" "^7.2.2" + "@babel/parser" "^7.3.3" "@babel/template" "^7.2.2" "@babel/traverse" "^7.2.2" - "@babel/types" "^7.2.2" + "@babel/types" "^7.3.3" convert-source-map "^1.1.0" debug "^4.1.0" json5 "^2.1.0" - lodash "^4.17.10" + lodash "^4.17.11" resolve "^1.3.2" semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.2.2": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.2.tgz#fff31a7b2f2f3dad23ef8e01be45b0d5c2fc0132" - integrity sha512-f3QCuPppXxtZOEm5GWPra/uYUjmNQlu9pbAD8D/9jze4pTY83rTtB1igTBSwvkeNlC5gR24zFFkz+2WHLFQhqQ== +"@babel/generator@^7.0.0", "@babel/generator@^7.2.2", "@babel/generator@^7.3.3": + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.3.tgz#185962ade59a52e00ca2bdfcfd1d58e528d4e39e" + integrity sha512-aEADYwRRZjJyMnKN7llGIlircxTCofm3dtV5pmY6ob18MSIuipHpA2yZWkPlycwu5HJcx/pADS3zssd8eY7/6A== dependencies: - "@babel/types" "^7.3.2" + "@babel/types" "^7.3.3" jsesc "^2.5.1" - lodash "^4.17.10" + lodash "^4.17.11" source-map "^0.5.0" trim-right "^1.0.1" @@ -224,10 +224,10 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.2.tgz#95cdeddfc3992a6ca2a1315191c1679ca32c55cd" - integrity sha512-QzNUC2RO1gadg+fs21fi0Uu0OuGNzRKEmgCxoLNzbCdoprLwjfmZwzUrpUNfJPaVRwBpDY47A17yYEGWyRelnQ== +"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3", "@babel/parser@^7.3.3": + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.3.tgz#092d450db02bdb6ccb1ca8ffd47d8774a91aef87" + integrity sha512-xsH1CJoln2r74hR+y7cg2B5JCPaTh+Hd+EbBRk9nWGSNspuo6krjhX0Om6RnRQuIvFq8wVXCLKH3kwKDYhanSg== "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" @@ -239,9 +239,9 @@ "@babel/plugin-syntax-async-generators" "^7.2.0" "@babel/plugin-proposal-class-properties@^7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.0.tgz#272636bc0fa19a0bc46e601ec78136a173ea36cd" - integrity sha512-wNHxLkEKTQ2ay0tnsam2z7fGZUi+05ziDJflEt3AZTP3oXLKHJp9HqhfroB/vdMvt3sda9fAbq7FsG8QPDrZBg== + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.3.tgz#e69ee114a834a671293ace001708cc1682ed63f9" + integrity sha512-XO9eeU1/UwGPM8L+TjnQCykuVcXqaO5J1bkRPIygqZ/A2L1xVMJ9aZXrY31c0U4H2/LHKL4lbFQLsxktSrc/Ng== dependencies: "@babel/helper-create-class-features-plugin" "^7.3.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -369,9 +369,9 @@ lodash "^4.17.10" "@babel/plugin-transform-classes@^7.2.0": - version "7.2.2" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.2.2.tgz#6c90542f210ee975aa2aa8c8b5af7fa73a126953" - integrity sha512-gEZvgTy1VtcDOaQty1l10T3jQmJKlNVxLDCs+3rCVPr6nMkODLELxViq5X9l+rfxbie3XrfrMCYYY6eX3aOcOQ== + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.3.tgz#a0532d6889c534d095e8f604e9257f91386c4b51" + integrity sha512-n0CLbsg7KOXsMF4tSTLCApNMoXk0wOPb0DYfsOO1e7SfIb9gOyfbpKI2MZ+AXfqvlfzq2qsflJ1nEns48Caf2w== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" "@babel/helper-define-map" "^7.1.0" @@ -498,9 +498,9 @@ "@babel/helper-replace-supers" "^7.1.0" "@babel/plugin-transform-parameters@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.2.0.tgz#0d5ad15dc805e2ea866df4dd6682bfe76d1408c2" - integrity sha512-kB9+hhUidIgUoBQ0MsxMewhzr8i60nMa2KgeJKQWYrqQpqcBYtnpR+JgkadZVZoaEZ/eKu9mclFaVwhRpLNSzA== + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.3.3.tgz#3a873e07114e1a5bee17d04815662c8317f10e30" + integrity sha512-IrIP25VvXWu/VlBWTpsjGptpomtIkYrN/3aDp4UKm7xK6UxZY88kcJ1UwETbzHAlwN21MnNfwlar0u8y3KpiXw== dependencies: "@babel/helper-call-delegate" "^7.1.0" "@babel/helper-get-function-arity" "^7.0.0" @@ -670,13 +670,13 @@ globals "^11.1.0" lodash "^4.17.10" -"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.2": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.2.tgz#424f5be4be633fff33fb83ab8d67e4a8290f5a2f" - integrity sha512-3Y6H8xlUlpbGR+XvawiH0UXehqydTmNmEpozWcXymqwcrwYAl5KMvKtQ+TF6f6E08V6Jur7v/ykdDSF+WDEIXQ== +"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3": + version "7.3.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.3.tgz#6c44d1cdac2a7625b624216657d5bc6c107ab436" + integrity sha512-2tACZ80Wg09UnPg5uGAOUvvInaqLk3l/IAhQzlxLQOIXacr6bMsra5SH6AWw/hIDRCSbCdHP2KzSOD+cT7TzMQ== dependencies: esutils "^2.0.2" - lodash "^4.17.10" + lodash "^4.17.11" to-fast-properties "^2.0.0" "@csstools/convert-colors@^1.4.0": @@ -1358,11 +1358,11 @@ stack-trace "0.0.10" "@octokit/endpoint@^3.1.1": - version "3.1.2" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.2.tgz#22b5aa8596482fbefc3f1ce22c24ad217aed60fa" - integrity sha512-iRx4kDYybAv9tOrHDBE6HwlgiFi8qmbZl8SHliZWtxbUFuXLZXh2yv8DxGIK9wzD9J0wLDMZneO8vNYJNUSJ9Q== + version "3.1.3" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.3.tgz#f6e9c2521b83b74367600e474b24efec2b0471c4" + integrity sha512-vAWzeoj9Lzpl3V3YkWKhGzmDUoMfKpyxJhpq74/ohMvmLXDoEuAGnApy/7TRi3OmnjyX2Lr+e9UGGAD0919ohA== dependencies: - deepmerge "3.1.0" + deepmerge "3.2.0" is-plain-object "^2.0.4" universal-user-agent "^2.0.1" url-template "^2.0.8" @@ -1523,159 +1523,154 @@ dom-event-types "^1.0.0" lodash "^4.17.4" -"@webassemblyjs/ast@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz#b988582cafbb2b095e8b556526f30c90d057cace" - integrity sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA== +"@webassemblyjs/ast@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.2.tgz#89297cd602cf8148e08d5fe1efbbba0cdb913ca7" + integrity sha512-5LLqqVsXZAhAJN0S7fTi11jwMJOjfR8290V0V7BWKgmZ36VVE6ZGuH4BN3eLt7LvNMIgyuYwyrPwiz6f3SGlBQ== dependencies: - "@webassemblyjs/helper-module-context" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/wast-parser" "1.7.11" + "@webassemblyjs/helper-module-context" "1.8.2" + "@webassemblyjs/helper-wasm-bytecode" "1.8.2" + "@webassemblyjs/wast-parser" "1.8.2" -"@webassemblyjs/floating-point-hex-parser@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz#a69f0af6502eb9a3c045555b1a6129d3d3f2e313" - integrity sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg== +"@webassemblyjs/floating-point-hex-parser@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.2.tgz#c304fac0e5c2dd69a6d0f29000f4d6c4bf583203" + integrity sha512-5WIj+pSzbs8ao7NM31xFcGeOSnXgpCikmCFRYkXygVDqVaXTq/Hr9roqarUVMNfAegNc61oKEhe3pi+HUCXJEw== -"@webassemblyjs/helper-api-error@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz#c7b6bb8105f84039511a2b39ce494f193818a32a" - integrity sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg== +"@webassemblyjs/helper-api-error@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.2.tgz#e4c5325b264f08513bcf0e48cf3c0a3ea690b508" + integrity sha512-TJBDJPXO9DSC4qf5FZT0VFlTdJSm4DKxzcoyWwVike1aQQQEbCk167MJxYLi0SuHeOtULLtDDSZL7yDL3XXMKA== -"@webassemblyjs/helper-buffer@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz#3122d48dcc6c9456ed982debe16c8f37101df39b" - integrity sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w== +"@webassemblyjs/helper-buffer@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.2.tgz#c133435f8482240fab1994151c09d7bdd7b8f5a8" + integrity sha512-6fTynU6b0bC+yBH7+M6/BBRZId4F1fIuX00G1ZX45EAQOrB8p4TK5bccAEPG2vuyvnd4tgB1/4cYXq5GpszMGA== -"@webassemblyjs/helper-code-frame@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz#cf8f106e746662a0da29bdef635fcd3d1248364b" - integrity sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw== +"@webassemblyjs/helper-code-frame@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.2.tgz#def3d079fe6ce38d997e939af3ed6cc3a37ff0f8" + integrity sha512-5beYTZS4Wsscu8ys2cLZ0SiToEe1wNitzrV/jCr02wGPOcpPHf0ERImR6iBGe/LX0O2cV9Pgi78hFp5WfNKeAg== dependencies: - "@webassemblyjs/wast-printer" "1.7.11" + "@webassemblyjs/wast-printer" "1.8.2" -"@webassemblyjs/helper-fsm@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz#df38882a624080d03f7503f93e3f17ac5ac01181" - integrity sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A== +"@webassemblyjs/helper-fsm@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.2.tgz#7d1a8186c51df38d39e8a742aafdd002965d397c" + integrity sha512-7xRO1lFNj1fGm+ik73n8TuWXKeAqTuqeApqnxWnW+nI2lPyj4awrt+n1XkQr8OwmVK7mFJSRuTZc568qtgOyzQ== -"@webassemblyjs/helper-module-context@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz#d874d722e51e62ac202476935d649c802fa0e209" - integrity sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg== +"@webassemblyjs/helper-module-context@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.2.tgz#3bfb0e7b889876bb8a7d1ccadca47e013721163e" + integrity sha512-EBr+n9M2F7PQ02s0f87KnSPva0KlT2S4IGDP+7aYqt2FCaMZzCtXcVahGSGg3ESZBSD0gzFU4486zD7SUsSD0Q== -"@webassemblyjs/helper-wasm-bytecode@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz#dd9a1e817f1c2eb105b4cf1013093cb9f3c9cb06" - integrity sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ== +"@webassemblyjs/helper-wasm-bytecode@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.2.tgz#72a7fc29949af10d2960338fc84192df23ef030e" + integrity sha512-gS0trUUPYevbs5Rsv9E+VbzDuZ9KB4Tu/QymTfHtnSDpX4wxhs9u9/y/KiH84r0Z4xvm8/pqWnGvM77oxSPHYw== -"@webassemblyjs/helper-wasm-section@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz#9c9ac41ecf9fbcfffc96f6d2675e2de33811e68a" - integrity sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q== +"@webassemblyjs/helper-wasm-section@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.2.tgz#4b36c105bfcc3dbabea9e8d04617127b3178f92f" + integrity sha512-HLHOR6/Vc+f5UziOUNQ3f5YedCMCuU46BdMEhjQBQwlOWqVAxgwqUn/KJkuhMvvjQ2FkASaDup8ohZrjyCKDKg== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-buffer" "1.8.2" + "@webassemblyjs/helper-wasm-bytecode" "1.8.2" + "@webassemblyjs/wasm-gen" "1.8.2" -"@webassemblyjs/ieee754@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz#c95839eb63757a31880aaec7b6512d4191ac640b" - integrity sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ== +"@webassemblyjs/ieee754@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.2.tgz#43f8969f90e08b70101f35c93df07afaca5c9d5a" + integrity sha512-v9RtqGJ+z8UweiRh47DheXVtV0d/o9sQfXzAX1/1n/nw5G85yEQJdHcmwiRdu+SXmqlZQeymsnmve2oianzW4g== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.11.tgz#d7267a1ee9c4594fd3f7e37298818ec65687db63" - integrity sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw== +"@webassemblyjs/leb128@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.2.tgz#d32c149f196d4fbb639dfec9557e5e950f8e5ae4" + integrity sha512-41zX+6xpo6G2bkq3mdr+K5nXx5OOL6V979ucbLyq1ra5dFI3ReLiw6+HOCF5ih0t5HMQVIQBhInZIdxqcpc/Qg== dependencies: - "@xtuc/long" "4.2.1" + long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" -"@webassemblyjs/utf8@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.11.tgz#06d7218ea9fdc94a6793aa92208160db3d26ee82" - integrity sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA== +"@webassemblyjs/utf8@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.2.tgz#6b262c1cba9052a8fd01a63eea50265ccd7f3b16" + integrity sha512-fP2Q4igo9/R82xeVra+zIQOjnmknSiAhykg//fz7c1UjghzoutQtldcbKOaL0+0j31RRFMDHgrUL+12RQExOYg== -"@webassemblyjs/wasm-edit@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz#8c74ca474d4f951d01dbae9bd70814ee22a82005" - integrity sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg== +"@webassemblyjs/wasm-edit@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.2.tgz#3d3bbf10c46084e6525a1d9e2476bd072f0edd5b" + integrity sha512-rM1sgdLQrXQs4ZapglK86mW8QMml0FJ+jwZ5961sEmHISTkJRvheILuzA9jcKy5vwhWgkPf/nIhO2I6A9rkGww== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/helper-wasm-section" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" - "@webassemblyjs/wasm-opt" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" - "@webassemblyjs/wast-printer" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-buffer" "1.8.2" + "@webassemblyjs/helper-wasm-bytecode" "1.8.2" + "@webassemblyjs/helper-wasm-section" "1.8.2" + "@webassemblyjs/wasm-gen" "1.8.2" + "@webassemblyjs/wasm-opt" "1.8.2" + "@webassemblyjs/wasm-parser" "1.8.2" + "@webassemblyjs/wast-printer" "1.8.2" -"@webassemblyjs/wasm-gen@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz#9bbba942f22375686a6fb759afcd7ac9c45da1a8" - integrity sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA== +"@webassemblyjs/wasm-gen@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.2.tgz#389670ade8398275cbf7c7c92e38f6f5eadc4c1a" + integrity sha512-WTBesrMydDwJbbB48OZGcMq6zDsT6CJd1UalvGuXtHJLargazOron+JBdmt8Nnd+Z2s3TPfCPP54EpQBsDVR7Q== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/ieee754" "1.7.11" - "@webassemblyjs/leb128" "1.7.11" - "@webassemblyjs/utf8" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-wasm-bytecode" "1.8.2" + "@webassemblyjs/ieee754" "1.8.2" + "@webassemblyjs/leb128" "1.8.2" + "@webassemblyjs/utf8" "1.8.2" -"@webassemblyjs/wasm-opt@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz#b331e8e7cef8f8e2f007d42c3a36a0580a7d6ca7" - integrity sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg== +"@webassemblyjs/wasm-opt@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.2.tgz#967019ac1b6d577177d241b912f61f01122d6b49" + integrity sha512-tzXn0xNQNyoUBr1+O1rwYXZd2bcUdXSOUTu0fLAIPl01dcTY6hjIi2B2DXYqk9OVQRnjPyX2Ew6rkeCTxfaYaQ== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-buffer" "1.7.11" - "@webassemblyjs/wasm-gen" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-buffer" "1.8.2" + "@webassemblyjs/wasm-gen" "1.8.2" + "@webassemblyjs/wasm-parser" "1.8.2" -"@webassemblyjs/wasm-parser@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz#6e3d20fa6a3519f6b084ef9391ad58211efb0a1a" - integrity sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg== +"@webassemblyjs/wasm-parser@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.2.tgz#7a9d587a3edab32fc800dc9498bdbdf90896bb79" + integrity sha512-uc6nVjvUjZzHa8fSl0ko684puuw0ujfCYn19v5tTu0DQ7tXx9jlZXzYw0aW7fmROxyez7BcbJloYLmXg723vVQ== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-api-error" "1.7.11" - "@webassemblyjs/helper-wasm-bytecode" "1.7.11" - "@webassemblyjs/ieee754" "1.7.11" - "@webassemblyjs/leb128" "1.7.11" - "@webassemblyjs/utf8" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-api-error" "1.8.2" + "@webassemblyjs/helper-wasm-bytecode" "1.8.2" + "@webassemblyjs/ieee754" "1.8.2" + "@webassemblyjs/leb128" "1.8.2" + "@webassemblyjs/utf8" "1.8.2" -"@webassemblyjs/wast-parser@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz#25bd117562ca8c002720ff8116ef9072d9ca869c" - integrity sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ== +"@webassemblyjs/wast-parser@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.2.tgz#c3ded4de843756ab5f435c422a36fdd48aa518ad" + integrity sha512-idk8cCqM+T6/iIxoQCOz85vKvWhyHghJbICob/H1AN8byN1O6a2Jxk+g1ZJA7sZDc6/q8pYV6dVkHKgm8y1oUA== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/floating-point-hex-parser" "1.7.11" - "@webassemblyjs/helper-api-error" "1.7.11" - "@webassemblyjs/helper-code-frame" "1.7.11" - "@webassemblyjs/helper-fsm" "1.7.11" - "@xtuc/long" "4.2.1" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/floating-point-hex-parser" "1.8.2" + "@webassemblyjs/helper-api-error" "1.8.2" + "@webassemblyjs/helper-code-frame" "1.8.2" + "@webassemblyjs/helper-fsm" "1.8.2" + long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" -"@webassemblyjs/wast-printer@1.7.11": - version "1.7.11" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz#c4245b6de242cb50a2cc950174fdbf65c78d7813" - integrity sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg== +"@webassemblyjs/wast-printer@1.8.2": + version "1.8.2" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.2.tgz#a7dbb0e6eba3721fd06a949ac1917fd289b3db4d" + integrity sha512-TENFBgf5bKKfs2LbW8fd/0xvamccbEHoR83lQlEP7Qi0nkpXAP77VpvIITy0J+UZAa/Y3j6K6MPw1tNMbdjf4A== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/wast-parser" "1.7.11" - "@xtuc/long" "4.2.1" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/wast-parser" "1.8.2" + long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== -"@xtuc/long@4.2.1": - version "4.2.1" - resolved "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz#5c85d662f76fa1d34575766c5dcd6615abcd30d8" - integrity sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g== - JSONStream@^1.0.4, JSONStream@^1.3.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -1747,7 +1742,7 @@ acorn@^5.5.3, acorn@^5.7.3: resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5: +acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5, acorn@^6.0.7, acorn@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818" integrity sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw== @@ -1776,7 +1771,7 @@ ajv-keywords@^3.1.0: resolved "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d" integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw== -ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.9.1: +ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1: version "6.9.1" resolved "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz#a4d3683d74abc5670e75f0b16520f70a20ea8dc1" integrity sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA== @@ -1899,19 +1894,12 @@ argv@^0.0.2: resolved "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab" integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas= -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - integrity sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8= - dependencies: - arr-flatten "^1.0.1" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= -arr-flatten@^1.0.1, arr-flatten@^1.1.0: +arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== @@ -1973,11 +1961,6 @@ array-uniq@^1.0.1: resolved "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - integrity sha1-odl8yvy8JiXMcPrc6zalDFiwGlM= - array-unique@^0.3.2: version "0.3.2" resolved "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" @@ -2129,9 +2112,9 @@ babel-plugin-dynamic-import-node@^2.2.0: object.assign "^4.1.0" babel-plugin-istanbul@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.0.tgz#6892f529eff65a3e2d33d87dc5888ffa2ecd4a30" - integrity sha512-CLoXPRSUWiR8yao8bShqZUIC6qLfZVVY3X1wj+QPNXu0wfmrRRfarh1LYy+dYMVI+bDj0ghy3tuqFFRFZmL1Nw== + version "5.1.1" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.1.tgz#7981590f1956d75d67630ba46f0c22493588c893" + integrity sha512-RNNVv2lsHAXJQsEJ5jonQwrJVWK8AcZpG1oxhnjCUaAjL7xahYLANhPUZbzEQHjKy1NMYUwn+0NPKQc8iSY4xQ== dependencies: find-up "^3.0.0" istanbul-lib-instrument "^3.0.0" @@ -2292,15 +2275,6 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^1.8.2: - version "1.8.5" - resolved "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" - integrity sha1-uneWLhLf+WnWt2cR6RS3N4V79qc= - dependencies: - expand-range "^1.8.1" - preserve "^0.2.0" - repeat-element "^1.1.2" - braces@^2.3.1, braces@^2.3.2: version "2.3.2" resolved "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" @@ -2728,11 +2702,6 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: inherits "^2.0.1" safe-buffer "^5.0.1" -circular-json@^0.3.1: - version "0.3.3" - resolved "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" - integrity sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A== - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -2762,16 +2731,6 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-table3@^0.5.0: - version "0.5.1" - resolved "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202" - integrity sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw== - dependencies: - object-assign "^4.1.0" - string-width "^2.1.1" - optionalDependencies: - colors "^1.1.2" - cli-width@^2.0.0: version "2.2.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -2879,11 +2838,6 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.2" -colors@^1.1.2: - version "1.3.3" - resolved "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d" - integrity sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg== - colors@~1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" @@ -3193,13 +3147,14 @@ cosmiconfig@^4.0.0: require-from-string "^2.0.1" cosmiconfig@^5.0.0, cosmiconfig@^5.0.2: - version "5.0.7" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.0.7.tgz#39826b292ee0d78eda137dfa3173bd1c21a43b04" - integrity sha512-PcLqxTKiDmNT6pSpy4N6KtuPwb53W+2tzNvwOZw0WH9N6O0vLIBq0x8aj8Oj75ere4YcGi48bDFCL+3fRJdlNA== + version "5.1.0" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.1.0.tgz#6c5c35e97f37f985061cdf653f114784231185cf" + integrity sha512-kCNPvthka8gvLtzAxQXvWo4FxqRB+ftRZyPZNuab5ngvM9Y7yw7hbEysglptLgpkGX9nAOKTBVkHUAe8xtYR6Q== dependencies: import-fresh "^2.0.0" is-directory "^0.3.1" js-yaml "^3.9.0" + lodash.get "^4.4.2" parse-json "^4.0.0" create-ecdh@^4.0.0: @@ -3500,9 +3455,9 @@ cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0", cssom@^0.3.4: integrity sha512-DtUeseGk9/GBW0hl0vVPpU22iHL6YB5BUX7ml1hB+GMpo0NX5G4voX3kdWiMSEguFtcW3Vh3djqNF4aIe6ne0A== cssstyle@^1.0.0, cssstyle@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-1.1.1.tgz#18b038a9c44d65f7a8e428a653b9f6fe42faf5fb" - integrity sha512-364AI1l/M5TYcFH83JnOH/pSqgaNnKmYgKrm0didZMGKWjQB60dymwWy1rKUgL3J1ffdq9xVi2yGLHdSjjSNog== + version "1.2.1" + resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-1.2.1.tgz#3aceb2759eaf514ac1a21628d723d6043a819495" + integrity sha512-7DYm8qe+gPx/h77QlCyFmX80+fGaE/6A/Ekl0zaszYOubvySO2saYFdQ78P29D0UsULxFKCetDGNaNRUdSF+2A== dependencies: cssom "0.3.x" @@ -3632,10 +3587,10 @@ deep-is@~0.1.3: resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= -deepmerge@3.1.0, deepmerge@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.1.0.tgz#a612626ce4803da410d77554bfd80361599c034d" - integrity sha512-/TnecbwXEdycfbsM2++O3eGiatEFHjjNciHEwJclM+T5Kd94qD1AP+2elP/Mq0L5b9VZJao5znR01Mz6eX8Seg== +deepmerge@3.2.0, deepmerge@^3.0.0: + version "3.2.0" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-3.2.0.tgz#58ef463a57c08d376547f8869fdc5bcee957f44e" + integrity sha512-6+LuZGU7QCNUnAJyX8cIrlzoEgggTM6B7mm+znKOX4t5ltluT9KLjN6g61ECMS0LTsLW7yDpNoxhix5FZcrIow== default-require-extensions@^2.0.0: version "2.0.0" @@ -3771,10 +3726,10 @@ doctrine@1.5.0: esutils "^2.0.2" isarray "^1.0.0" -doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== dependencies: esutils "^2.0.2" @@ -4030,9 +3985,9 @@ es-to-primitive@^1.2.0: is-symbol "^1.0.2" es6-promise@^4.0.3: - version "4.2.5" - resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.5.tgz#da6d0d5692efb461e082c14817fe2427d8f5d054" - integrity sha512-n6wvpdE43VFtJq+lUDYDBFUwV8TZbuGXLV4D6wKafg13ldznKsyEvatubnmUe31zcvelSzOHF+XbaT+Bl9ObDg== + version "4.2.6" + resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.6.tgz#b685edd8258886365ea62b57d30de28fadcd974f" + integrity sha512-aRVgGdnmW2OiySVPUC9e6m+plolMAJKjZnQlCwNSuK5yQ0JN61DZSO1X1Ufd1foqWRAlig0rhduTCHe7sVtK5Q== es6-promisify@^5.0.0: version "5.0.0" @@ -4178,34 +4133,34 @@ eslint-visitor-keys@^1.0.0: integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== eslint@^5.13.0: - version "5.13.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.13.0.tgz#ce71cc529c450eed9504530939aa97527861ede9" - integrity sha512-nqD5WQMisciZC5EHZowejLKQjWGuFS5c70fxqSKlnDME+oz9zmE8KTlX+lHSg+/5wsC/kf9Q9eMkC8qS3oM2fg== + version "5.14.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.14.0.tgz#380739df2489dd846baea008638b036c1e987974" + integrity sha512-jrOhiYyENRrRnWlMYANlGZTqb89r2FuRT+615AabBoajhNjeh9ywDNlh2LU9vTqf0WYN+L3xdXuIi7xuj/tK9w== dependencies: "@babel/code-frame" "^7.0.0" - ajv "^6.5.3" + ajv "^6.9.1" chalk "^2.1.0" cross-spawn "^6.0.5" debug "^4.0.1" - doctrine "^2.1.0" + doctrine "^3.0.0" eslint-scope "^4.0.0" eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" - espree "^5.0.0" + espree "^5.0.1" esquery "^1.0.1" esutils "^2.0.2" - file-entry-cache "^2.0.0" + file-entry-cache "^5.0.1" functional-red-black-tree "^1.0.1" glob "^7.1.2" globals "^11.7.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^6.1.0" + inquirer "^6.2.2" js-yaml "^3.12.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.3.0" - lodash "^4.17.5" + lodash "^4.17.11" minimatch "^3.0.4" mkdirp "^0.5.1" natural-compare "^1.4.0" @@ -4216,13 +4171,13 @@ eslint@^5.13.0: semver "^5.5.1" strip-ansi "^4.0.0" strip-json-comments "^2.0.1" - table "^5.0.2" + table "^5.2.3" text-table "^0.2.0" esm@^3.2.4: - version "3.2.4" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.4.tgz#0b728b5d6043061bf552197407bf2c630717812b" - integrity sha512-wOuWtQCkkwD1WKQN/k3RsyGSSN+AmiUzdKftn8vaC+uV9JesYmQlODJxgXaaRz0LaaFIlUxZaUu5NPiUAjKAAA== + version "3.2.5" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.5.tgz#036e410a2373ea81bfe62166c419ca0b0cf85c09" + integrity sha512-rukU6Nd3agbHQCJWV4rrlZxqpbO3ix8qhUxK1BhKALGS2E465O0BFwgCOqJjNnYfO/I2MwpUBmPsW8DXoe8tcA== espree@^4.1.0: version "4.1.0" @@ -4233,12 +4188,12 @@ espree@^4.1.0: acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" -espree@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/espree/-/espree-5.0.0.tgz#fc7f984b62b36a0f543b13fb9cd7b9f4a7f5b65c" - integrity sha512-1MpUfwsdS9MMoN7ZXqAr9e9UKdVHDcvrJpyx7mm1WuQlx/ygErEQBzgi5Nh5qBHIoYweprhtMkTCb9GhcAIcsA== +espree@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" + integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== dependencies: - acorn "^6.0.2" + acorn "^6.0.7" acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" @@ -4276,6 +4231,11 @@ estree-walker@^0.5.2: resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39" integrity sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig== +estree-walker@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae" + integrity sha512-peq1RfVAVzr3PU/jL31RaOjUKLoZJpObQWJJ+LgfcxDUifyLZ1RjPQZTl0pzj2uJ45b7A7XpyppXvxdEqzo4rw== + esutils@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" @@ -4355,13 +4315,6 @@ exit@^0.1.2: resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - integrity sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s= - dependencies: - is-posix-bracket "^0.1.0" - expand-brackets@^2.1.4: version "2.1.4" resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" @@ -4375,13 +4328,6 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expand-range@^1.8.1: - version "1.8.2" - resolved "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" - integrity sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc= - dependencies: - fill-range "^2.1.0" - expect@^24.1.0: version "24.1.0" resolved "https://registry.npmjs.org/expect/-/expect-24.1.0.tgz#88e73301c4c785cde5f16da130ab407bdaf8c0f2" @@ -4458,13 +4404,6 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - integrity sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE= - dependencies: - is-extglob "^1.0.0" - extglob@^2.0.4: version "2.0.4" resolved "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -4575,13 +4514,12 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -file-entry-cache@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" - integrity sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E= +file-entry-cache@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== dependencies: - flat-cache "^1.2.1" - object-assign "^4.0.1" + flat-cache "^2.0.1" file-loader@^3.0.1: version "3.0.1" @@ -4591,11 +4529,6 @@ file-loader@^3.0.1: loader-utils "^1.0.2" schema-utils "^1.0.0" -filename-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" - integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= - fileset@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" @@ -4609,17 +4542,6 @@ filesize@^3.6.1: resolved "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317" integrity sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg== -fill-range@^2.1.0: - version "2.2.4" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" - integrity sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q== - dependencies: - is-number "^2.1.0" - isobject "^2.0.0" - randomatic "^3.0.0" - repeat-element "^1.1.2" - repeat-string "^1.5.2" - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" @@ -4696,15 +4618,19 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -flat-cache@^1.2.1: - version "1.3.4" - resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz#2c2ef77525cc2929007dfffa1dd314aa9c9dee6f" - integrity sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg== +flat-cache@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== dependencies: - circular-json "^0.3.1" - graceful-fs "^4.1.2" - rimraf "~2.6.2" - write "^0.2.1" + flatted "^2.0.0" + rimraf "2.6.3" + write "1.0.3" + +flatted@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916" + integrity sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg== flatten@^1.0.2: version "1.0.2" @@ -4719,18 +4645,11 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" -for-in@^1.0.1, for-in@^1.0.2: +for-in@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" - integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= - dependencies: - for-in "^1.0.1" - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -4964,21 +4883,6 @@ gitconfiglocal@^1.0.0: dependencies: ini "^1.3.2" -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q= - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg= - dependencies: - is-glob "^2.0.0" - glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -5498,7 +5402,7 @@ init-package-json@^1.10.3: validate-npm-package-license "^3.0.1" validate-npm-package-name "^3.0.0" -inquirer@^6.1.0, inquirer@^6.2.0: +inquirer@^6.2.0, inquirer@^6.2.2: version "6.2.2" resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406" integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA== @@ -5653,18 +5557,6 @@ is-directory@^0.3.1: resolved "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= -is-dotfile@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" - integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE= - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - integrity sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ= - dependencies: - is-primitive "^2.0.0" - is-expression@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-expression/-/is-expression-3.0.0.tgz#39acaa6be7fd1f3471dc42c7416e61c24317ac9f" @@ -5685,11 +5577,6 @@ is-extendable@^1.0.1: dependencies: is-plain-object "^2.0.4" -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA= - is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -5719,13 +5606,6 @@ is-generator-fn@^2.0.0: resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.0.0.tgz#038c31b774709641bda678b1f06a4e3227c10b3e" integrity sha512-elzyIdM7iKoFHzcrndIqjYomImhxrFRnGP3galODoII4TB9gI7mZ+FnlLQmmjf27SxHS2gKEeyhX5/+YRS6H9g== -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - integrity sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM= - dependencies: - is-extglob "^1.0.0" - is-glob@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -5745,13 +5625,6 @@ is-module@^1.0.0: resolved "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= -is-number@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" - integrity sha1-Afy7s5NGOlSPL0ZszhbezknbkI8= - dependencies: - kind-of "^3.0.2" - is-number@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -5759,11 +5632,6 @@ is-number@^3.0.0: dependencies: kind-of "^3.0.2" -is-number@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" - integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== - is-obj@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" @@ -5781,16 +5649,6 @@ is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q= - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= - is-promise@^2.0.0, is-promise@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" @@ -6762,6 +6620,10 @@ lodash@4.17.11, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3 resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== +"long@git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69": + version "4.0.1" + resolved "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" + longest@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -6886,11 +6748,6 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -math-random@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" - integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== - md5.js@^1.3.4: version "1.3.5" resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" @@ -6992,25 +6849,6 @@ methods@~1.1.2: resolved "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= -micromatch@^2.3.11: - version "2.3.11" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU= - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: version "3.1.10" resolved "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -7401,7 +7239,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.1, normalize-path@^2.1.1: +normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= @@ -7574,14 +7412,6 @@ object.getownpropertydescriptors@^2.0.3: define-properties "^1.1.2" es-abstract "^1.5.1" -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo= - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - object.pick@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -7870,16 +7700,6 @@ parse-github-repo-url@^1.3.0: resolved "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A= -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw= - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - parse-json@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -8059,9 +7879,9 @@ pinkie@^2.0.0: integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= pirates@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.0.tgz#850b18781b4ac6ec58a43c9ed9ec5fe6796addbd" - integrity sha512-8t5BsXy1LUIjn3WWOlOuFDuKswhQb/tkak641lvBgmPOBUQHXveORtlMCp6OdPV1dtuTaEahKA8VNz6uLfKBtA== + version "4.0.1" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" + integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA== dependencies: node-modules-regexp "^1.0.0" @@ -8728,11 +8548,6 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -preserve@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" - integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks= - prettier@1.16.3: version "1.16.3" resolved "https://registry.npmjs.org/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d" @@ -8805,9 +8620,9 @@ promise@^7.0.1: asap "~2.0.3" prompts@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.2.tgz#094119b0b0a553ec652908b583205b9867630154" - integrity sha512-Pc/c53d2WZHJWZr78/BhZ5eHsdQtltbyBjHoA4T0cs/4yKJqCcoOHrq2SNKwtspVE0C+ebqAR5u0/mXwrHaADQ== + version "2.0.3" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.3.tgz#c5ccb324010b2e8f74752aadceeb57134c1d2522" + integrity sha512-H8oWEoRZpybm6NV4to9/1limhttEo13xK62pNvn2JzY0MA03p7s0OjtmhXyon3uJmxiJJVSuUwEJFFssI3eBiQ== dependencies: kleur "^3.0.2" sisteransi "^1.0.0" @@ -9067,15 +8882,6 @@ quick-lru@^1.0.0: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= -randomatic@^3.0.0: - version "3.1.1" - resolved "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" - integrity sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw== - dependencies: - is-number "^4.0.0" - kind-of "^6.0.0" - math-random "^1.0.1" - randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: version "2.0.6" resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" @@ -9322,13 +9128,6 @@ regenerator-transform@^0.13.3: dependencies: private "^0.1.6" -regex-cache@^0.4.2: - version "0.4.4" - resolved "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" - integrity sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ== - dependencies: - is-equal-shallow "^0.1.3" - regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" @@ -9338,13 +9137,9 @@ regex-not@^1.0.0, regex-not@^1.0.2: safe-regex "^1.1.0" regexp-tree@^0.1.0: - version "0.1.1" - resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.1.tgz#27b455f9b138ca2e84c090e9aff1ffe2a04d97fa" - integrity sha512-HwRjOquc9QOwKTgbxvZTcddS5mlNlwePMQ3NFL8broajMLD5CXDAqas8Y5yxJH5QtZp5iRor3YCILd5pz71Cgw== - dependencies: - cli-table3 "^0.5.0" - colors "^1.1.2" - yargs "^12.0.5" + version "0.1.4" + resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.4.tgz#b8b231ba3dc5680f8540c2b9526d3dc46f0278e1" + integrity sha512-DohP6WXzgrc7gFs9GsTQgigUfMXZqXkPk+20qkMF6YCy0Qk0FsHL1/KtxTycGR/62DHRtJ1MHQF2g8YzywP4kA== regexpp@^2.0.1: version "2.0.1" @@ -9560,7 +9355,7 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: +rimraf@2, rimraf@2.6.3, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: version "2.6.3" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== @@ -9637,21 +9432,21 @@ rollup-plugin-replace@^2.1.0: rollup-pluginutils "^2.0.1" rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3: - version "2.3.3" - resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794" - integrity sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA== + version "2.4.1" + resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.4.1.tgz#de43ab54965bbf47843599a7f3adceb723de38db" + integrity sha512-wesMQ9/172IJDIW/lYWm0vW0LiKe5Ekjws481R7z9WTRtmO59cqyM/2uUlxvf6yzm/fElFmHUobeQOYz46dZJw== dependencies: - estree-walker "^0.5.2" - micromatch "^2.3.11" + estree-walker "^0.6.0" + micromatch "^3.1.10" rollup@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.1.2.tgz#8d094b85683b810d0c05a16bd7618cf70d48eba7" - integrity sha512-OkdMxqMl8pWoQc5D8y1cIinYQPPLV8ZkfLgCzL6SytXeNA2P7UHynEQXI9tYxuAjAMsSyvRaWnyJDLHMxq0XAg== + version "1.2.1" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.1.tgz#996a8c63920ab056b39507d93195222e59d2807f" + integrity sha512-rFf7m2MHwjSYjSCFdA7ckGluMcQRcC3dKn6uAWYrk/6wnUrdQhJJruumkk5IV/3KMdmuc9qORmTu1VPBa2Ii8w== dependencies: "@types/estree" "0.0.39" "@types/node" "*" - acorn "^6.0.5" + acorn "^6.1.0" rsvp@^3.3.3: version "3.6.2" @@ -10368,7 +10163,7 @@ symbol-tree@^3.2.2: resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" integrity sha1-rifbOPZgp64uHDt9G8KQgZuFGeY= -table@^5.0.2: +table@^5.2.3: version "5.2.3" resolved "https://registry.npmjs.org/table/-/table-5.2.3.tgz#cde0cc6eb06751c009efab27e8c820ca5b67b7f2" integrity sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ== @@ -11044,9 +10839,9 @@ vue-hot-reload-api@^2.3.0: integrity sha512-NpznMQoe/DzMG7nJjPkJKT7FdEn9xXfnntG7POfTmqnSaza97ylaBf1luZDh4IgV+vgUoR//id5pf8Ru+Ym+0g== vue-jest@^4.0.0-beta.1: - version "4.0.0-beta.1" - resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-4.0.0-beta.1.tgz#9cc12a366c9fa61079bf994f842258d5709b5a5c" - integrity sha512-EGbk9r22HtJ0BEft7Iz693Z7hgANnyR1Wh6Arb1UmS0FuolD91WMXjN+ab5Wf5L57Kliw5kiIrsySLDOADLSWQ== + version "4.0.0-beta.2" + resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-4.0.0-beta.2.tgz#f2120ea9d24224aad3a100c2010b0760d47ee6fe" + integrity sha512-SywBIciuIfqsCb8Eb9UQ02s06+NV8Ry8KnbyhAfnvnyFFulIuh7ujtga9eJYq720nCS4Hz4TpVtS4pD1ZbUILQ== dependencies: "@babel/plugin-transform-modules-commonjs" "^7.2.0" "@vue/component-compiler-utils" "^2.4.0" @@ -11250,14 +11045,14 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-map "~0.6.1" webpack@^4.29.3: - version "4.29.3" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.3.tgz#e0b406a7b4201ed5e4fb4f84fd7359f9a7db4647" - integrity sha512-xPJvFeB+8tUflXFq+OgdpiSnsCD5EANyv56co5q8q8+YtEasn5Sj3kzY44mta+csCIEB0vneSxnuaHkOL2h94A== + version "4.29.4" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.4.tgz#c0a2a12635142015f931b92efee7de6559f264dd" + integrity sha512-Uu/QgPFZG+w+5wjWIFBgIy+g9vOF3QiLmT2Bl783MQSLjRF/K+GMv2TH3TVNFyPQVEHY8rVnPoQtcqrnqK2H7Q== dependencies: - "@webassemblyjs/ast" "1.7.11" - "@webassemblyjs/helper-module-context" "1.7.11" - "@webassemblyjs/wasm-edit" "1.7.11" - "@webassemblyjs/wasm-parser" "1.7.11" + "@webassemblyjs/ast" "1.8.2" + "@webassemblyjs/helper-module-context" "1.8.2" + "@webassemblyjs/wasm-edit" "1.8.2" + "@webassemblyjs/wasm-parser" "1.8.2" acorn "^6.0.5" acorn-dynamic-import "^4.0.0" ajv "^6.1.0" @@ -11451,10 +11246,10 @@ write-pkg@^3.1.0: sort-keys "^2.0.0" write-json-file "^2.2.0" -write@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" - integrity sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c= +write@1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== dependencies: mkdirp "^0.5.1" @@ -11466,9 +11261,9 @@ ws@^5.2.0: async-limiter "~1.0.0" ws@^6.0.0, ws@^6.1.0, ws@^6.1.2: - version "6.1.3" - resolved "https://registry.npmjs.org/ws/-/ws-6.1.3.tgz#d2d2e5f0e3c700ef2de89080ebc0ac6e1bf3a72d" - integrity sha512-tbSxiT+qJI223AP4iLfQbkbxkwdFcneYinM2+x46Gx2wgvbaOMO36czfdfVUBRTHvzAMRhDd98sA5d/BuWbQdg== + version "6.1.4" + resolved "https://registry.npmjs.org/ws/-/ws-6.1.4.tgz#5b5c8800afab925e94ccb29d153c8d02c1776ef9" + integrity sha512-eqZfL+NE/YQc1/ZynhojeV8q+H050oR8AZ2uIev7RU10svA9ZnJUddHcOUZTJLinZ9yEfdA2kSATS2qZK5fhJA== dependencies: async-limiter "~1.0.0" @@ -11524,7 +11319,7 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^12.0.1, yargs@^12.0.2, yargs@^12.0.5: +yargs@^12.0.1, yargs@^12.0.2: version "12.0.5" resolved "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== From b9391d7ea07f11cd5ed6eb318111e490b9af4f8c Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 18 Feb 2019 10:44:03 +0000 Subject: [PATCH 097/221] chore: fix eslint warning --- examples/vue-chartjs/pages/contributors.vue | 6 +++--- examples/vue-chartjs/pages/index.vue | 6 +++--- examples/vuex-store-modules/pages/index.vue | 6 +++--- examples/vuex-store/pages/index.vue | 6 +++--- examples/with-sockets/pages/index.vue | 6 +++--- test/fixtures/spa/pages/async.vue | 10 +++++----- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/vue-chartjs/pages/contributors.vue b/examples/vue-chartjs/pages/contributors.vue index 671a981835..1d046f0d0c 100644 --- a/examples/vue-chartjs/pages/contributors.vue +++ b/examples/vue-chartjs/pages/contributors.vue @@ -18,6 +18,9 @@ function getRandomColor() { } export default { + components: { + DoughnutChart + }, async asyncData({ env }) { const res = await axios.get(`https://api.github.com/repos/nuxt/nuxt.js/stats/contributors?access_token=${env.githubToken}`) return { @@ -32,9 +35,6 @@ export default { ] } } - }, - components: { - DoughnutChart } } diff --git a/examples/vue-chartjs/pages/index.vue b/examples/vue-chartjs/pages/index.vue index 0814675a55..5e140ffbd5 100755 --- a/examples/vue-chartjs/pages/index.vue +++ b/examples/vue-chartjs/pages/index.vue @@ -10,6 +10,9 @@ import axios from 'axios' import moment from 'moment' export default { + components: { + BarChart + }, async asyncData({ env }) { const res = await axios.get(`https://api.github.com/repos/nuxt/nuxt.js/stats/commit_activity?access_token=${env.githubToken}`) return { @@ -24,9 +27,6 @@ export default { ] } } - }, - components: { - BarChart } } diff --git a/examples/vuex-store-modules/pages/index.vue b/examples/vuex-store-modules/pages/index.vue index 33316ebce5..c923869555 100644 --- a/examples/vuex-store-modules/pages/index.vue +++ b/examples/vuex-store-modules/pages/index.vue @@ -28,14 +28,14 @@ import { mapState } from 'vuex' export default { + computed: mapState([ + 'counter' + ]), // fetch(context) is called by the server-side // and before instantiating the component fetch({ store }) { store.commit('increment') }, - computed: mapState([ - 'counter' - ]), methods: { increment() { this.$store.commit('increment') diff --git a/examples/vuex-store/pages/index.vue b/examples/vuex-store/pages/index.vue index 9bd9563c16..61eb1e9cfc 100644 --- a/examples/vuex-store/pages/index.vue +++ b/examples/vuex-store/pages/index.vue @@ -15,14 +15,14 @@ import { mapState } from 'vuex' export default { + computed: mapState([ + 'counter' + ]), // fetch(context) is called by the server-side // and nuxt before instantiating the component fetch({ store }) { store.commit('increment') }, - computed: mapState([ - 'counter' - ]), methods: { increment() { this.$store.commit('increment') diff --git a/examples/with-sockets/pages/index.vue b/examples/with-sockets/pages/index.vue index 2c0fd93b9f..8b47163def 100644 --- a/examples/with-sockets/pages/index.vue +++ b/examples/with-sockets/pages/index.vue @@ -21,6 +21,9 @@ import socket from '~/plugins/socket.io.js' export default { + watch: { + 'messages': 'scrollToBottom' + }, asyncData(context, callback) { socket.emit('last-messages', function (messages) { callback(null, { @@ -29,9 +32,6 @@ export default { }) }) }, - watch: { - 'messages': 'scrollToBottom' - }, beforeMount() { socket.on('new-message', (message) => { this.messages.push(message) diff --git a/test/fixtures/spa/pages/async.vue b/test/fixtures/spa/pages/async.vue index 9f3fecea6e..8c4efc3d4c 100644 --- a/test/fixtures/spa/pages/async.vue +++ b/test/fixtures/spa/pages/async.vue @@ -6,15 +6,15 @@ From 3ed9f3e6a6b4473cecc6407e36b44f5a5b43ef27 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 18 Feb 2019 12:25:43 +0000 Subject: [PATCH 098/221] chore(deps): update all non-major dependencies (#5044) --- distributions/nuxt-legacy/package.json | 2 +- package.json | 12 +- packages/babel-preset-app/package.json | 4 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/webpack/package.json | 4 +- yarn.lock | 283 +++++++++++++------------ 7 files changed, 159 insertions(+), 150 deletions(-) diff --git a/distributions/nuxt-legacy/package.json b/distributions/nuxt-legacy/package.json index 867faaaf2e..98f4ba3a7f 100644 --- a/distributions/nuxt-legacy/package.json +++ b/distributions/nuxt-legacy/package.json @@ -50,7 +50,7 @@ ], "bin": "bin/nuxt-legacy.js", "dependencies": { - "@babel/core": "^7.2.2", + "@babel/core": "^7.3.3", "@babel/polyfill": "^7.2.5", "@babel/preset-env": "^7.3.1", "@babel/register": "^7.0.0", diff --git a/package.json b/package.json index ec3ab34312..fc0c130cef 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "release": "./scripts/release" }, "devDependencies": { - "@babel/core": "^7.2.2", + "@babel/core": "^7.3.3", "@babel/preset-env": "^7.3.1", "@nuxtjs/eslint-config": "^0.0.1", "@vue/server-test-utils": "^1.0.0-beta.29", @@ -38,7 +38,7 @@ "consola": "^2.4.1", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.13.0", + "eslint": "^5.14.0", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", @@ -46,8 +46,8 @@ "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", - "eslint-plugin-vue": "^5.2.1", - "esm": "^3.2.4", + "eslint-plugin-vue": "^5.2.2", + "esm": "^3.2.5", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", @@ -67,7 +67,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.1.2", + "rollup": "^1.2.1", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", @@ -80,7 +80,7 @@ "ts-loader": "^5.3.3", "tslint": "^5.12.1", "typescript": "^3.3.3", - "vue-jest": "^4.0.0-beta.1", + "vue-jest": "^4.0.0-beta.2", "vue-property-decorator": "^7.3.0" }, "repository": { diff --git a/packages/babel-preset-app/package.json b/packages/babel-preset-app/package.json index 32ea4614ef..f51101b123 100644 --- a/packages/babel-preset-app/package.json +++ b/packages/babel-preset-app/package.json @@ -10,8 +10,8 @@ ], "main": "src/index.js", "dependencies": { - "@babel/core": "^7.2.2", - "@babel/plugin-proposal-class-properties": "^7.3.0", + "@babel/core": "^7.3.3", + "@babel/plugin-proposal-class-properties": "^7.3.3", "@babel/plugin-proposal-decorators": "^7.3.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index ebecf44d20..e7a2aef9b6 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^2.1.0", "chalk": "^2.4.2", "consola": "^2.4.1", - "esm": "^3.2.4", + "esm": "^3.2.5", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 4aa5b778fc..245f2edf81 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.3", "consola": "^2.4.1", "debug": "^4.1.1", - "esm": "^3.2.4", + "esm": "^3.2.5", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 606037149b..c220fb276e 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -8,7 +8,7 @@ ], "main": "dist/webpack.js", "dependencies": { - "@babel/core": "^7.2.2", + "@babel/core": "^7.3.3", "@babel/polyfill": "^7.2.5", "@nuxt/babel-preset-app": "2.4.3", "@nuxt/friendly-errors-webpack-plugin": "^2.4.0", @@ -44,7 +44,7 @@ "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", "vue-loader": "^15.6.2", - "webpack": "^4.29.3", + "webpack": "^4.29.5", "webpack-bundle-analyzer": "^3.0.4", "webpack-dev-middleware": "^3.5.2", "webpack-hot-middleware": "^2.24.3", diff --git a/yarn.lock b/yarn.lock index 27483b802d..6195f7ea1f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,7 +9,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.1.0", "@babel/core@^7.2.2": +"@babel/core@^7.1.0", "@babel/core@^7.3.3": version "7.3.3" resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.3.tgz#d090d157b7c5060d05a05acaebc048bd2b037947" integrity sha512-w445QGI2qd0E0GlSnq6huRZWPMmQGCp5gd5ZWS4hagn0EiwzxD5QMFkpchyusAyVC1n27OKXzQ0/88aVU9n4xQ== @@ -238,7 +238,7 @@ "@babel/helper-remap-async-to-generator" "^7.1.0" "@babel/plugin-syntax-async-generators" "^7.2.0" -"@babel/plugin-proposal-class-properties@^7.3.0": +"@babel/plugin-proposal-class-properties@^7.3.3": version "7.3.3" resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.3.tgz#e69ee114a834a671293ace001708cc1682ed63f9" integrity sha512-XO9eeU1/UwGPM8L+TjnQCykuVcXqaO5J1bkRPIygqZ/A2L1xVMJ9aZXrY31c0U4H2/LHKL4lbFQLsxktSrc/Ng== @@ -1523,154 +1523,162 @@ dom-event-types "^1.0.0" lodash "^4.17.4" -"@webassemblyjs/ast@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.2.tgz#89297cd602cf8148e08d5fe1efbbba0cdb913ca7" - integrity sha512-5LLqqVsXZAhAJN0S7fTi11jwMJOjfR8290V0V7BWKgmZ36VVE6ZGuH4BN3eLt7LvNMIgyuYwyrPwiz6f3SGlBQ== +"@webassemblyjs/ast@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.3.tgz#63a741bd715a6b6783f2ea5c6ab707516aa215eb" + integrity sha512-xy3m06+Iu4D32+6soz6zLnwznigXJRuFNTovBX2M4GqVqLb0dnyWLbPnpcXvUSdEN+9DVyDeaq2jyH1eIL2LZQ== dependencies: - "@webassemblyjs/helper-module-context" "1.8.2" - "@webassemblyjs/helper-wasm-bytecode" "1.8.2" - "@webassemblyjs/wast-parser" "1.8.2" + "@webassemblyjs/helper-module-context" "1.8.3" + "@webassemblyjs/helper-wasm-bytecode" "1.8.3" + "@webassemblyjs/wast-parser" "1.8.3" -"@webassemblyjs/floating-point-hex-parser@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.2.tgz#c304fac0e5c2dd69a6d0f29000f4d6c4bf583203" - integrity sha512-5WIj+pSzbs8ao7NM31xFcGeOSnXgpCikmCFRYkXygVDqVaXTq/Hr9roqarUVMNfAegNc61oKEhe3pi+HUCXJEw== +"@webassemblyjs/floating-point-hex-parser@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.3.tgz#f198a2d203b3c50846a064f5addd6a133ef9bc0e" + integrity sha512-vq1TISG4sts4f0lDwMUM0f3kpe0on+G3YyV5P0IySHFeaLKRYZ++n2fCFfG4TcCMYkqFeTUYFxm75L3ddlk2xA== -"@webassemblyjs/helper-api-error@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.2.tgz#e4c5325b264f08513bcf0e48cf3c0a3ea690b508" - integrity sha512-TJBDJPXO9DSC4qf5FZT0VFlTdJSm4DKxzcoyWwVike1aQQQEbCk167MJxYLi0SuHeOtULLtDDSZL7yDL3XXMKA== +"@webassemblyjs/helper-api-error@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.3.tgz#3b708f6926accd64dcbaa7ba5b63db5660ff4f66" + integrity sha512-BmWEynI4FnZbjk8CaYZXwcv9a6gIiu+rllRRouQUo73hglanXD3AGFJE7Q4JZCoVE0p5/jeX6kf5eKa3D4JxwQ== -"@webassemblyjs/helper-buffer@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.2.tgz#c133435f8482240fab1994151c09d7bdd7b8f5a8" - integrity sha512-6fTynU6b0bC+yBH7+M6/BBRZId4F1fIuX00G1ZX45EAQOrB8p4TK5bccAEPG2vuyvnd4tgB1/4cYXq5GpszMGA== +"@webassemblyjs/helper-buffer@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.3.tgz#f3150a23ffaba68621e1f094c8a14bebfd53dd48" + integrity sha512-iVIMhWnNHoFB94+/2l7LpswfCsXeMRnWfExKtqsZ/E2NxZyUx9nTeKK/MEMKTQNEpyfznIUX06OchBHQ+VKi/Q== -"@webassemblyjs/helper-code-frame@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.2.tgz#def3d079fe6ce38d997e939af3ed6cc3a37ff0f8" - integrity sha512-5beYTZS4Wsscu8ys2cLZ0SiToEe1wNitzrV/jCr02wGPOcpPHf0ERImR6iBGe/LX0O2cV9Pgi78hFp5WfNKeAg== +"@webassemblyjs/helper-code-frame@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.3.tgz#f43ac605789b519d95784ef350fd2968aebdd3ef" + integrity sha512-K1UxoJML7GKr1QXR+BG7eXqQkvu+eEeTjlSl5wUFQ6W6vaOc5OwSxTcb3oE9x/3+w4NHhrIKD4JXXCZmLdL2cg== dependencies: - "@webassemblyjs/wast-printer" "1.8.2" + "@webassemblyjs/wast-printer" "1.8.3" -"@webassemblyjs/helper-fsm@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.2.tgz#7d1a8186c51df38d39e8a742aafdd002965d397c" - integrity sha512-7xRO1lFNj1fGm+ik73n8TuWXKeAqTuqeApqnxWnW+nI2lPyj4awrt+n1XkQr8OwmVK7mFJSRuTZc568qtgOyzQ== +"@webassemblyjs/helper-fsm@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.3.tgz#46aaa03f41082a916850ebcb97e9fc198ef36a9c" + integrity sha512-387zipfrGyO77/qm7/SDUiZBjQ5KGk4qkrVIyuoubmRNIiqn3g+6ijY8BhnlGqsCCQX5bYKOnttJobT5xoyviA== -"@webassemblyjs/helper-module-context@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.2.tgz#3bfb0e7b889876bb8a7d1ccadca47e013721163e" - integrity sha512-EBr+n9M2F7PQ02s0f87KnSPva0KlT2S4IGDP+7aYqt2FCaMZzCtXcVahGSGg3ESZBSD0gzFU4486zD7SUsSD0Q== - -"@webassemblyjs/helper-wasm-bytecode@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.2.tgz#72a7fc29949af10d2960338fc84192df23ef030e" - integrity sha512-gS0trUUPYevbs5Rsv9E+VbzDuZ9KB4Tu/QymTfHtnSDpX4wxhs9u9/y/KiH84r0Z4xvm8/pqWnGvM77oxSPHYw== - -"@webassemblyjs/helper-wasm-section@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.2.tgz#4b36c105bfcc3dbabea9e8d04617127b3178f92f" - integrity sha512-HLHOR6/Vc+f5UziOUNQ3f5YedCMCuU46BdMEhjQBQwlOWqVAxgwqUn/KJkuhMvvjQ2FkASaDup8ohZrjyCKDKg== +"@webassemblyjs/helper-module-context@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.3.tgz#150da405d90c8ea81ae0b0e1965b7b64e585634f" + integrity sha512-lPLFdQfaRssfnGEJit5Sk785kbBPPPK4ZS6rR5W/8hlUO/5v3F+rN8XuUcMj/Ny9iZiyKhhuinWGTUuYL4VKeQ== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-buffer" "1.8.2" - "@webassemblyjs/helper-wasm-bytecode" "1.8.2" - "@webassemblyjs/wasm-gen" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + mamacro "^0.0.3" -"@webassemblyjs/ieee754@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.2.tgz#43f8969f90e08b70101f35c93df07afaca5c9d5a" - integrity sha512-v9RtqGJ+z8UweiRh47DheXVtV0d/o9sQfXzAX1/1n/nw5G85yEQJdHcmwiRdu+SXmqlZQeymsnmve2oianzW4g== +"@webassemblyjs/helper-wasm-bytecode@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.3.tgz#12f55bbafbbc7ddf9d8059a072cb7b0c17987901" + integrity sha512-R1nJW7bjyJLjsJQR5t3K/9LJ0QWuZezl8fGa49DZq4IVaejgvkbNlKEQxLYTC579zgT4IIIVHb5JA59uBPHXyw== + +"@webassemblyjs/helper-wasm-section@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.3.tgz#9e79456d9719e116f4f8998ee62ab54ba69a6cf3" + integrity sha512-P6F7D61SJY73Yz+fs49Q3+OzlYAZP86OfSpaSY448KzUy65NdfzDmo2NPVte+Rw4562MxEAacvq/mnDuvRWOcg== + dependencies: + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-buffer" "1.8.3" + "@webassemblyjs/helper-wasm-bytecode" "1.8.3" + "@webassemblyjs/wasm-gen" "1.8.3" + +"@webassemblyjs/ieee754@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.3.tgz#0a89355b1f6c9d08d0605c2acbc2a6fe3141f5b4" + integrity sha512-UD4HuLU99hjIvWz1pD68b52qsepWQlYCxDYVFJQfHh3BHyeAyAlBJ+QzLR1nnS5J6hAzjki3I3AoJeobNNSZlg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.2.tgz#d32c149f196d4fbb639dfec9557e5e950f8e5ae4" - integrity sha512-41zX+6xpo6G2bkq3mdr+K5nXx5OOL6V979ucbLyq1ra5dFI3ReLiw6+HOCF5ih0t5HMQVIQBhInZIdxqcpc/Qg== +"@webassemblyjs/leb128@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.3.tgz#b7fd9d7c039e34e375c4473bd4dc89ce8228b920" + integrity sha512-XXd3s1BmkC1gpGABuCRLqCGOD6D2L+Ma2BpwpjrQEHeQATKWAQtxAyU9Z14/z8Ryx6IG+L4/NDkIGHrccEhRUg== dependencies: - long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" + "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.2.tgz#6b262c1cba9052a8fd01a63eea50265ccd7f3b16" - integrity sha512-fP2Q4igo9/R82xeVra+zIQOjnmknSiAhykg//fz7c1UjghzoutQtldcbKOaL0+0j31RRFMDHgrUL+12RQExOYg== +"@webassemblyjs/utf8@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.3.tgz#75712db52cfdda868731569ddfe11046f1f1e7a2" + integrity sha512-Wv/WH9Zo5h5ZMyfCNpUrjFsLZ3X1amdfEuwdb7MLdG3cPAjRS6yc6ElULlpjLiiBTuzvmLhr3ENsuGyJ3wyCgg== -"@webassemblyjs/wasm-edit@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.2.tgz#3d3bbf10c46084e6525a1d9e2476bd072f0edd5b" - integrity sha512-rM1sgdLQrXQs4ZapglK86mW8QMml0FJ+jwZ5961sEmHISTkJRvheILuzA9jcKy5vwhWgkPf/nIhO2I6A9rkGww== +"@webassemblyjs/wasm-edit@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.3.tgz#23c3c6206b096f9f6aa49623a5310a102ef0fb87" + integrity sha512-nB19eUx3Yhi1Vvv3yev5r+bqQixZprMtaoCs1brg9Efyl8Hto3tGaUoZ0Yb4Umn/gQCyoEGFfUxPLp1/8+Jvnw== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-buffer" "1.8.2" - "@webassemblyjs/helper-wasm-bytecode" "1.8.2" - "@webassemblyjs/helper-wasm-section" "1.8.2" - "@webassemblyjs/wasm-gen" "1.8.2" - "@webassemblyjs/wasm-opt" "1.8.2" - "@webassemblyjs/wasm-parser" "1.8.2" - "@webassemblyjs/wast-printer" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-buffer" "1.8.3" + "@webassemblyjs/helper-wasm-bytecode" "1.8.3" + "@webassemblyjs/helper-wasm-section" "1.8.3" + "@webassemblyjs/wasm-gen" "1.8.3" + "@webassemblyjs/wasm-opt" "1.8.3" + "@webassemblyjs/wasm-parser" "1.8.3" + "@webassemblyjs/wast-printer" "1.8.3" -"@webassemblyjs/wasm-gen@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.2.tgz#389670ade8398275cbf7c7c92e38f6f5eadc4c1a" - integrity sha512-WTBesrMydDwJbbB48OZGcMq6zDsT6CJd1UalvGuXtHJLargazOron+JBdmt8Nnd+Z2s3TPfCPP54EpQBsDVR7Q== +"@webassemblyjs/wasm-gen@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.3.tgz#1a433b8ab97e074e6ac2e25fcbc8cb6125400813" + integrity sha512-sDNmu2nLBJZ/huSzlJvd9IK8B1EjCsOl7VeMV9VJPmxKYgTJ47lbkSP+KAXMgZWGcArxmcrznqm7FrAPQ7vVGg== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-wasm-bytecode" "1.8.2" - "@webassemblyjs/ieee754" "1.8.2" - "@webassemblyjs/leb128" "1.8.2" - "@webassemblyjs/utf8" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-wasm-bytecode" "1.8.3" + "@webassemblyjs/ieee754" "1.8.3" + "@webassemblyjs/leb128" "1.8.3" + "@webassemblyjs/utf8" "1.8.3" -"@webassemblyjs/wasm-opt@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.2.tgz#967019ac1b6d577177d241b912f61f01122d6b49" - integrity sha512-tzXn0xNQNyoUBr1+O1rwYXZd2bcUdXSOUTu0fLAIPl01dcTY6hjIi2B2DXYqk9OVQRnjPyX2Ew6rkeCTxfaYaQ== +"@webassemblyjs/wasm-opt@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.3.tgz#54754bcf88f88e92b909416a91125301cc81419c" + integrity sha512-j8lmQVFR+FR4/645VNgV4R/Jz8i50eaPAj93GZyd3EIJondVshE/D9pivpSDIXyaZt+IkCodlzOoZUE4LnQbeA== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-buffer" "1.8.2" - "@webassemblyjs/wasm-gen" "1.8.2" - "@webassemblyjs/wasm-parser" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-buffer" "1.8.3" + "@webassemblyjs/wasm-gen" "1.8.3" + "@webassemblyjs/wasm-parser" "1.8.3" -"@webassemblyjs/wasm-parser@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.2.tgz#7a9d587a3edab32fc800dc9498bdbdf90896bb79" - integrity sha512-uc6nVjvUjZzHa8fSl0ko684puuw0ujfCYn19v5tTu0DQ7tXx9jlZXzYw0aW7fmROxyez7BcbJloYLmXg723vVQ== +"@webassemblyjs/wasm-parser@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.3.tgz#d12ed19d1b8e8667a7bee040d2245aaaf215340b" + integrity sha512-NBI3SNNtRoy4T/KBsRZCAWUzE9lI94RH2nneLwa1KKIrt/2zzcTavWg6oY05ArCbb/PZDk3OUi63CD1RYtN65w== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-api-error" "1.8.2" - "@webassemblyjs/helper-wasm-bytecode" "1.8.2" - "@webassemblyjs/ieee754" "1.8.2" - "@webassemblyjs/leb128" "1.8.2" - "@webassemblyjs/utf8" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-api-error" "1.8.3" + "@webassemblyjs/helper-wasm-bytecode" "1.8.3" + "@webassemblyjs/ieee754" "1.8.3" + "@webassemblyjs/leb128" "1.8.3" + "@webassemblyjs/utf8" "1.8.3" -"@webassemblyjs/wast-parser@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.2.tgz#c3ded4de843756ab5f435c422a36fdd48aa518ad" - integrity sha512-idk8cCqM+T6/iIxoQCOz85vKvWhyHghJbICob/H1AN8byN1O6a2Jxk+g1ZJA7sZDc6/q8pYV6dVkHKgm8y1oUA== +"@webassemblyjs/wast-parser@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.3.tgz#44aa123e145503e995045dc3e5e2770069da117b" + integrity sha512-gZPst4CNcmGtKC1eYQmgCx6gwQvxk4h/nPjfPBbRoD+Raw3Hs+BS3yhrfgyRKtlYP+BJ8LcY9iFODEQofl2qbg== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/floating-point-hex-parser" "1.8.2" - "@webassemblyjs/helper-api-error" "1.8.2" - "@webassemblyjs/helper-code-frame" "1.8.2" - "@webassemblyjs/helper-fsm" "1.8.2" - long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/floating-point-hex-parser" "1.8.3" + "@webassemblyjs/helper-api-error" "1.8.3" + "@webassemblyjs/helper-code-frame" "1.8.3" + "@webassemblyjs/helper-fsm" "1.8.3" + "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.8.2": - version "1.8.2" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.2.tgz#a7dbb0e6eba3721fd06a949ac1917fd289b3db4d" - integrity sha512-TENFBgf5bKKfs2LbW8fd/0xvamccbEHoR83lQlEP7Qi0nkpXAP77VpvIITy0J+UZAa/Y3j6K6MPw1tNMbdjf4A== +"@webassemblyjs/wast-printer@1.8.3": + version "1.8.3" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.3.tgz#b1177780b266b1305f2eeba87c4d6aa732352060" + integrity sha512-DTA6kpXuHK4PHu16yAD9QVuT1WZQRT7079oIFFmFSjqjLWGXS909I/7kiLTn931mcj7wGsaUNungjwNQ2lGQ3Q== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/wast-parser" "1.8.2" - long "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/wast-parser" "1.8.3" + "@xtuc/long" "4.2.2" "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@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.npmjs.org/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" + integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== + JSONStream@^1.0.4, JSONStream@^1.3.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -4099,10 +4107,10 @@ eslint-plugin-standard@^4.0.0: resolved "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.0.tgz#f845b45109c99cd90e77796940a344546c8f6b5c" integrity sha512-OwxJkR6TQiYMmt1EsNRMe5qG3GsbjlcOhbGUBY4LtavF9DsLaTcoR+j2Tdjqi23oUwKNUqX7qcn5fPStafMdlA== -eslint-plugin-vue@^5.2.1: - version "5.2.1" - resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-5.2.1.tgz#89795895c08da56fe3a201955bd645ae67e01918" - integrity sha512-KPrv7Yau1B7PUB+TiEh0bw1lyzQjLp0npfAn7WbkQQFobgwXv4LqmQFBhYXEdXmxSBU/oZ46yBHoTo70RRivUA== +eslint-plugin-vue@^5.2.2: + version "5.2.2" + resolved "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-5.2.2.tgz#86601823b7721b70bc92d54f1728cfc03b36283c" + integrity sha512-CtGWH7IB0DA6BZOwcV9w9q3Ri6Yuo8qMjx05SmOGJ6X6E0Yo3y9E/gQ5tuNxg2dEt30tRnBoFTbvtmW9iEoyHA== dependencies: vue-eslint-parser "^5.0.0" @@ -4132,7 +4140,7 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.13.0: +eslint@^5.14.0: version "5.14.0" resolved "https://registry.npmjs.org/eslint/-/eslint-5.14.0.tgz#380739df2489dd846baea008638b036c1e987974" integrity sha512-jrOhiYyENRrRnWlMYANlGZTqb89r2FuRT+615AabBoajhNjeh9ywDNlh2LU9vTqf0WYN+L3xdXuIi7xuj/tK9w== @@ -4174,7 +4182,7 @@ eslint@^5.13.0: table "^5.2.3" text-table "^0.2.0" -esm@^3.2.4: +esm@^3.2.5: version "3.2.5" resolved "https://registry.npmjs.org/esm/-/esm-3.2.5.tgz#036e410a2373ea81bfe62166c419ca0b0cf85c09" integrity sha512-rukU6Nd3agbHQCJWV4rrlZxqpbO3ix8qhUxK1BhKALGS2E465O0BFwgCOqJjNnYfO/I2MwpUBmPsW8DXoe8tcA== @@ -6620,10 +6628,6 @@ lodash@4.17.11, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3 resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== -"long@git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69": - version "4.0.1" - resolved "git://github.com/dcodeIO/long.js.git#8181a6b50a2a230f0b2a1e4c4093f9b9d19c8b69" - longest@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -6719,6 +6723,11 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" +mamacro@^0.0.3: + version "0.0.3" + resolved "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" + integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== + map-age-cleaner@^0.1.1: version "0.1.3" resolved "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" @@ -9439,7 +9448,7 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.1.2: +rollup@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.1.tgz#996a8c63920ab056b39507d93195222e59d2807f" integrity sha512-rFf7m2MHwjSYjSCFdA7ckGluMcQRcC3dKn6uAWYrk/6wnUrdQhJJruumkk5IV/3KMdmuc9qORmTu1VPBa2Ii8w== @@ -10838,7 +10847,7 @@ vue-hot-reload-api@^2.3.0: resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.2.tgz#1fcc1495effe08a790909b46bf7b5c4cfeb6f21b" integrity sha512-NpznMQoe/DzMG7nJjPkJKT7FdEn9xXfnntG7POfTmqnSaza97ylaBf1luZDh4IgV+vgUoR//id5pf8Ru+Ym+0g== -vue-jest@^4.0.0-beta.1: +vue-jest@^4.0.0-beta.2: version "4.0.0-beta.2" resolved "https://registry.npmjs.org/vue-jest/-/vue-jest-4.0.0-beta.2.tgz#f2120ea9d24224aad3a100c2010b0760d47ee6fe" integrity sha512-SywBIciuIfqsCb8Eb9UQ02s06+NV8Ry8KnbyhAfnvnyFFulIuh7ujtga9eJYq720nCS4Hz4TpVtS4pD1ZbUILQ== @@ -11044,15 +11053,15 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.29.3: - version "4.29.4" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.4.tgz#c0a2a12635142015f931b92efee7de6559f264dd" - integrity sha512-Uu/QgPFZG+w+5wjWIFBgIy+g9vOF3QiLmT2Bl783MQSLjRF/K+GMv2TH3TVNFyPQVEHY8rVnPoQtcqrnqK2H7Q== +webpack@^4.29.5: + version "4.29.5" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.5.tgz#52b60a7b0838427c3a894cd801a11dc0836bc79f" + integrity sha512-DuWlYUT982c7XVHodrLO9quFbNpVq5FNxLrMUfYUTlgKW0+yPimynYf1kttSQpEneAL1FH3P3OLNgkyImx8qIQ== dependencies: - "@webassemblyjs/ast" "1.8.2" - "@webassemblyjs/helper-module-context" "1.8.2" - "@webassemblyjs/wasm-edit" "1.8.2" - "@webassemblyjs/wasm-parser" "1.8.2" + "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/helper-module-context" "1.8.3" + "@webassemblyjs/wasm-edit" "1.8.3" + "@webassemblyjs/wasm-parser" "1.8.3" acorn "^6.0.5" acorn-dynamic-import "^4.0.0" ajv "^6.1.0" From 9860eb6a7c7b42d782608e094c62b79882f0452c Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Mon, 18 Feb 2019 17:00:51 +0000 Subject: [PATCH 099/221] refactor: unify context in webpack module (#5054) --- packages/builder/src/context/build.js | 4 + packages/builder/test/context/build.test.js | 10 ++ packages/webpack/src/builder.js | 20 ++-- packages/webpack/src/config/base.js | 109 +++++++++++--------- packages/webpack/src/config/client.js | 71 +++++++------ packages/webpack/src/config/modern.js | 8 +- packages/webpack/src/config/server.js | 14 +-- packages/webpack/src/utils/perf-loader.js | 20 ++-- packages/webpack/src/utils/postcss.js | 46 ++++----- packages/webpack/src/utils/style-loader.js | 39 ++++--- test/unit/basic.generate.test.js | 2 +- test/unit/wp.config.test.js | 14 +-- 12 files changed, 194 insertions(+), 163 deletions(-) diff --git a/packages/builder/src/context/build.js b/packages/builder/src/context/build.js index 3b60d116e4..8dcd1b39ad 100644 --- a/packages/builder/src/context/build.js +++ b/packages/builder/src/context/build.js @@ -6,6 +6,10 @@ export default class BuildContext { this.isStatic = false } + get buildOptions() { + return this.options.build + } + get plugins() { return this._builder.plugins } diff --git a/packages/builder/test/context/build.test.js b/packages/builder/test/context/build.test.js index 693d96ed23..a067add156 100644 --- a/packages/builder/test/context/build.test.js +++ b/packages/builder/test/context/build.test.js @@ -20,4 +20,14 @@ describe('builder: buildContext', () => { const context = new BuildContext(builder) expect(context.plugins).toEqual(builder.plugins) }) + + test('should return builder build options', () => { + const buildOptions = { id: 'test-build-options' } + const builder = { + plugins: [], + nuxt: { options: { build: buildOptions } } + } + const context = new BuildContext(builder) + expect(context.buildOptions).toEqual(buildOptions) + }) }) diff --git a/packages/webpack/src/builder.js b/packages/webpack/src/builder.js index 125c567bce..9c0b9d44cb 100644 --- a/packages/webpack/src/builder.js +++ b/packages/webpack/src/builder.js @@ -19,8 +19,8 @@ import PerfLoader from './utils/perf-loader' const glob = pify(Glob) export class WebpackBundler { - constructor(context) { - this.context = context + constructor(buildContext) { + this.buildContext = buildContext // Fields that set on build this.compilers = [] this.compilersWatching = [] @@ -28,7 +28,7 @@ export class WebpackBundler { this.hotMiddleware = {} // Initialize shared MFS for dev - if (this.context.options.dev) { + if (this.buildContext.options.dev) { this.mfs = new MFS() // TODO: Enable when async FS required @@ -38,7 +38,7 @@ export class WebpackBundler { } async build() { - const { options } = this.context + const { options } = this.buildContext const compilersOptions = [] @@ -60,7 +60,7 @@ export class WebpackBundler { compilersOptions.push(serverConfig) } - for (const p of this.context.plugins) { + for (const p of this.buildContext.plugins) { // Client config if (!clientConfig.resolve.alias[p.name]) { clientConfig.resolve.alias[p.name] = p.mode === 'server' ? './empty.js' : p.src @@ -78,7 +78,7 @@ export class WebpackBundler { } // Check styleResource existence - const { styleResources } = this.context.options.build + const { styleResources } = this.buildContext.options.build if (styleResources && Object.keys(styleResources).length) { consola.warn( 'Using styleResources without the nuxt-style-resources-module is not suggested and can lead to severe performance issues.', @@ -86,7 +86,7 @@ export class WebpackBundler { ) for (const ext of Object.keys(styleResources)) { await Promise.all(wrapArray(styleResources[ext]).map(async (p) => { - const styleResourceFiles = await glob(path.resolve(this.context.options.rootDir, p)) + const styleResourceFiles = await glob(path.resolve(this.buildContext.options.rootDir, p)) if (!styleResourceFiles || styleResourceFiles.length === 0) { throw new Error(`Style Resource not found: ${p}`) @@ -122,7 +122,7 @@ export class WebpackBundler { async webpackCompile(compiler) { const { name } = compiler.options - const { nuxt, options } = this.context + const { nuxt, options } = this.buildContext await nuxt.callHook('build:compile', { name, compiler }) @@ -179,7 +179,7 @@ export class WebpackBundler { consola.debug('Adding webpack middleware...') const { name } = compiler.options - const { nuxt: { server }, options } = this.context + const { nuxt: { server }, options } = this.buildContext const { client, ...hotMiddlewareOptions } = options.build.hotMiddleware || {} // Create webpack dev middleware @@ -255,6 +255,6 @@ export class WebpackBundler { } forGenerate() { - this.context.isStatic = true + this.buildContext.isStatic = true } } diff --git a/packages/webpack/src/config/base.js b/packages/webpack/src/config/base.js index 349a0e2648..ee079da564 100644 --- a/packages/webpack/src/config/base.js +++ b/packages/webpack/src/config/base.js @@ -20,16 +20,9 @@ import WarnFixPlugin from '../plugins/warnfix' import { reservedVueTags } from '../utils/reserved-tags' export default class WebpackBaseConfig { - constructor(builder, options) { - this.name = options.name - this.isServer = options.isServer - this.isModern = options.isModern + constructor(builder) { this.builder = builder - this.nuxt = builder.context.nuxt - this.isStatic = builder.context.isStatic - this.options = builder.context.options - this.loaders = this.options.build.loaders - this.buildMode = this.options.dev ? 'development' : 'production' + this.buildContext = builder.buildContext this.modulesToTranspile = this.normalizeTranspile() } @@ -43,17 +36,29 @@ export default class WebpackBaseConfig { get nuxtEnv() { return { - isDev: this.options.dev, + isDev: this.dev, isServer: this.isServer, isClient: !this.isServer, isModern: !!this.isModern } } + get mode() { + return this.dev ? 'development' : 'production' + } + + get dev() { + return this.buildContext.options.dev + } + + get loaders() { + return this.buildContext.buildOptions.loaders + } + normalizeTranspile() { // include SFCs in node_modules const items = [/\.vue\.js/i] - for (const pattern of this.options.build.transpile) { + for (const pattern of this.buildContext.buildOptions.transpile) { if (pattern instanceof RegExp) { items.push(pattern) } else { @@ -65,7 +70,7 @@ export default class WebpackBaseConfig { } getBabelOptions() { - const options = clone(this.options.build.babel) + const options = clone(this.buildContext.buildOptions.babel) if (typeof options.presets === 'function') { options.presets = options.presets({ isServer: this.isServer }) @@ -86,11 +91,11 @@ export default class WebpackBaseConfig { } getFileName(key) { - let fileName = this.options.build.filenames[key] + let fileName = this.buildContext.buildOptions.filenames[key] if (typeof fileName === 'function') { fileName = fileName(this.nuxtEnv) } - if (this.options.dev) { + if (this.dev) { const hash = /\[(chunkhash|contenthash|hash)(?::(\d+))?]/.exec(fileName) if (hash) { consola.warn(`Notice: Please do not use ${hash[1]} in dev mode to prevent memory leak`) @@ -105,11 +110,11 @@ export default class WebpackBaseConfig { env() { const env = { - 'process.env.NODE_ENV': JSON.stringify(this.buildMode), - 'process.mode': JSON.stringify(this.options.mode), - 'process.static': this.isStatic + 'process.env.NODE_ENV': JSON.stringify(this.mode), + 'process.mode': JSON.stringify(this.mode), + 'process.static': this.buildContext.isStatic } - Object.entries(this.options.env).forEach(([key, value]) => { + Object.entries(this.buildContext.options.env).forEach(([key, value]) => { env['process.env.' + key] = ['boolean', 'number'].includes(typeof value) ? value @@ -119,19 +124,21 @@ export default class WebpackBaseConfig { } output() { + const { + options: { buildDir, router }, + buildOptions: { publicPath } + } = this.buildContext return { - path: path.resolve(this.options.buildDir, 'dist', this.isServer ? 'server' : 'client'), + path: path.resolve(buildDir, 'dist', this.isServer ? 'server' : 'client'), filename: this.getFileName('app'), futureEmitAssets: true, // TODO: Remove when using webpack 5 chunkFilename: this.getFileName('chunk'), - publicPath: isUrl(this.options.build.publicPath) - ? this.options.build.publicPath - : urlJoin(this.options.router.base, this.options.build.publicPath) + publicPath: isUrl(publicPath) ? publicPath : urlJoin(router.base, publicPath) } } optimization() { - const optimization = cloneDeep(this.options.build.optimization) + const optimization = cloneDeep(this.buildContext.buildOptions.optimization) if (optimization.minimize && optimization.minimizer === undefined) { optimization.minimizer = this.minimizer() @@ -142,13 +149,14 @@ export default class WebpackBaseConfig { minimizer() { const minimizer = [] + const { terser, cache } = this.buildContext.buildOptions // https://github.com/webpack-contrib/terser-webpack-plugin - if (this.options.build.terser) { + if (terser) { minimizer.push( new TerserWebpackPlugin(Object.assign({ parallel: true, - cache: this.options.build.cache, + cache, sourceMap: this.devtool && /source-?map/.test(this.devtool), extractComments: { filename: 'LICENSES' @@ -164,7 +172,7 @@ export default class WebpackBaseConfig { reserved: reservedVueTags } } - }, this.options.build.terser)) + }, terser)) ) } @@ -172,7 +180,7 @@ export default class WebpackBaseConfig { } alias() { - const { srcDir, rootDir, dir: { assets: assetsDir, static: staticDir } } = this.options + const { srcDir, rootDir, dir: { assets: assetsDir, static: staticDir } } = this.buildContext.options return { '~': path.join(srcDir), @@ -185,10 +193,9 @@ export default class WebpackBaseConfig { } rules() { - const perfLoader = new PerfLoader(this) + const perfLoader = new PerfLoader(this.name, this.buildContext) const styleLoader = new StyleLoader( - this.options, - this.nuxt, + this.buildContext, { isServer: this.isServer, perfLoader } ) const babelLoader = { @@ -329,25 +336,26 @@ export default class WebpackBaseConfig { plugins() { const plugins = [] + const { nuxt, buildOptions } = this.buildContext // Add timefix-plugin before others plugins - if (this.options.dev) { + if (this.dev) { plugins.push(new TimeFixPlugin()) } // CSS extraction) - if (this.options.build.extractCSS) { + if (buildOptions.extractCSS) { plugins.push(new ExtractCssChunksPlugin(Object.assign({ filename: this.getFileName('css'), chunkFilename: this.getFileName('css'), // TODO: https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/132 reloadAll: true - }, this.options.build.extractCSS))) + }, buildOptions.extractCSS))) } plugins.push(new VueLoader.VueLoaderPlugin()) - plugins.push(...(this.options.build.plugins || [])) + plugins.push(...(buildOptions.plugins || [])) // Hide warnings about plugins without a default export (#1179) plugins.push(new WarnFixPlugin()) @@ -362,37 +370,38 @@ export default class WebpackBaseConfig { 'profile', 'stats' ], - basic: !this.options.build.quiet && env.minimalCLI, - fancy: !this.options.build.quiet && !env.minimalCLI, - profile: !this.options.build.quiet && this.options.build.profile, - stats: !this.options.build.quiet && !this.options.dev && this.options.build.stats, + basic: !buildOptions.quiet && env.minimalCLI, + fancy: !buildOptions.quiet && !env.minimalCLI, + profile: !buildOptions.quiet && buildOptions.profile, + stats: !buildOptions.quiet && !this.dev && buildOptions.stats, reporter: { change: (_, { shortPath }) => { if (!this.isServer) { - this.nuxt.callHook('bundler:change', shortPath) + nuxt.callHook('bundler:change', shortPath) } }, - done: (context) => { - if (context.hasErrors) { - this.nuxt.callHook('bundler:error') + done: (buildContext) => { + if (buildContext.hasErrors) { + nuxt.callHook('bundler:error') } }, allDone: () => { - this.nuxt.callHook('bundler:done') + nuxt.callHook('bundler:done') } } })) - if (this.options.build.hardSource) { - plugins.push(new HardSourcePlugin(Object.assign({}, this.options.build.hardSource))) + if (buildOptions.hardSource) { + plugins.push(new HardSourcePlugin(Object.assign({}, buildOptions.hardSource))) } return plugins } extendConfig(config) { - if (typeof this.options.build.extend === 'function') { - const extendedConfig = this.options.build.extend.call( + const { extend } = this.buildContext.buildOptions + if (typeof extend === 'function') { + const extendedConfig = extend.call( this.builder, config, { loaders: this.loaders, ...this.nuxtEnv } ) // Only overwrite config when something is returned for backwards compatibility @@ -405,17 +414,17 @@ export default class WebpackBaseConfig { config() { // Prioritize nested node_modules in webpack search path (#2558) - const webpackModulesDir = ['node_modules'].concat(this.options.modulesDir) + const webpackModulesDir = ['node_modules'].concat(this.buildContext.options.modulesDir) const config = { name: this.name, - mode: this.buildMode, + mode: this.mode, devtool: this.devtool, optimization: this.optimization(), output: this.output(), performance: { maxEntrypointSize: 1000 * 1024, - hints: this.options.dev ? false : 'warning' + hints: this.dev ? false : 'warning' }, resolve: { extensions: ['.wasm', '.mjs', '.js', '.json', '.vue', '.jsx', '.ts', '.tsx'], diff --git a/packages/webpack/src/config/client.js b/packages/webpack/src/config/client.js index 68589eb44a..dc1c9078dc 100644 --- a/packages/webpack/src/config/client.js +++ b/packages/webpack/src/config/client.js @@ -14,12 +14,15 @@ import VueSSRClientPlugin from '../plugins/vue/client' import WebpackBaseConfig from './base' export default class WebpackClientConfig extends WebpackBaseConfig { - constructor(builder, options) { - super(builder, options || { name: 'client', isServer: false }) + constructor(builder) { + super(builder) + this.name = 'client' + this.isServer = false + this.isModern = false } getFileName(...args) { - if (this.options.build.analyze) { + if (this.buildContext.buildOptions.analyze) { const [key] = args if (['app', 'chunk'].includes(key)) { return `${this.isModern ? 'modern-' : ''}[name].js` @@ -44,7 +47,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig { // Small, known and common modules which are usually used project-wise // Sum of them may not be more than 244 KiB if ( - this.options.build.splitChunks.commons === true && + this.buildContext.buildOptions.splitChunks.commons === true && optimization.splitChunks.cacheGroups.commons === undefined ) { optimization.splitChunks.cacheGroups.commons = { @@ -60,14 +63,13 @@ export default class WebpackClientConfig extends WebpackBaseConfig { minimizer() { const minimizer = super.minimizer() + const { optimizeCSS } = this.buildContext.buildOptions // https://github.com/NMFR/optimize-css-assets-webpack-plugin // https://github.com/webpack-contrib/mini-css-extract-plugin#minimizing-for-production // TODO: Remove OptimizeCSSAssetsPlugin when upgrading to webpack 5 - if (this.options.build.optimizeCSS) { - minimizer.push( - new OptimizeCSSAssetsPlugin(Object.assign({}, this.options.build.optimizeCSS)) - ) + if (optimizeCSS) { + minimizer.push(new OptimizeCSSAssetsPlugin(Object.assign({}, optimizeCSS))) } return minimizer @@ -75,14 +77,15 @@ export default class WebpackClientConfig extends WebpackBaseConfig { plugins() { const plugins = super.plugins() + const { buildOptions, options: { appTemplatePath, buildDir, rootDir, modern } } = this.buildContext // Generate output HTML for SSR - if (this.options.build.ssr) { + if (buildOptions.ssr) { plugins.push( new HTMLPlugin({ filename: '../server/index.ssr.html', - template: this.options.appTemplatePath, - minify: this.options.build.html.minify, + template: appTemplatePath, + minify: buildOptions.html.minify, inject: false // Resources will be injected using bundleRenderer }) ) @@ -91,8 +94,8 @@ export default class WebpackClientConfig extends WebpackBaseConfig { plugins.push( new HTMLPlugin({ filename: '../server/index.spa.html', - template: this.options.appTemplatePath, - minify: this.options.build.html.minify, + template: appTemplatePath, + minify: buildOptions.html.minify, inject: true, chunksSortMode: 'dependency' }), @@ -102,53 +105,53 @@ export default class WebpackClientConfig extends WebpackBaseConfig { new webpack.DefinePlugin(this.env()) ) - if (this.options.dev) { + if (this.dev) { // TODO: webpackHotUpdate is not defined: https://github.com/webpack/webpack/issues/6693 plugins.push(new webpack.HotModuleReplacementPlugin()) } // Webpack Bundle Analyzer // https://github.com/webpack-contrib/webpack-bundle-analyzer - if (!this.options.dev && this.options.build.analyze) { - const statsDir = path.resolve(this.options.buildDir, 'stats') + if (!this.dev && buildOptions.analyze) { + const statsDir = path.resolve(buildDir, 'stats') plugins.push(new BundleAnalyzer.BundleAnalyzerPlugin(Object.assign({ analyzerMode: 'static', defaultSizes: 'gzip', generateStatsFile: true, - openAnalyzer: !this.options.build.quiet, + openAnalyzer: !buildOptions.quiet, reportFilename: path.resolve(statsDir, `${this.name}.html`), statsFilename: path.resolve(statsDir, `${this.name}.json`) - }, this.options.build.analyze))) + }, buildOptions.analyze))) } - if (this.options.modern) { + if (modern) { plugins.push(new ModernModePlugin({ - targetDir: path.resolve(this.options.buildDir, 'dist', 'client'), + targetDir: path.resolve(buildDir, 'dist', 'client'), isModernBuild: this.isModern })) } - if (this.options.build.crossorigin) { + if (buildOptions.crossorigin) { plugins.push(new CorsPlugin({ - crossorigin: this.options.build.crossorigin + crossorigin: buildOptions.crossorigin })) } // TypeScript type checker // Only performs once per client compilation and only if `ts-loader` checker is not used (transpileOnly: true) - if (!this.isModern && this.loaders.ts.transpileOnly && this.options.build.useForkTsChecker) { - const forkTsCheckerResolvedPath = this.nuxt.resolver.resolveModule('fork-ts-checker-webpack-plugin') + if (!this.isModern && this.loaders.ts.transpileOnly && buildOptions.useForkTsChecker) { + const forkTsCheckerResolvedPath = this.buildContext.nuxt.resolver.resolveModule('fork-ts-checker-webpack-plugin') if (forkTsCheckerResolvedPath) { const ForkTsCheckerWebpackPlugin = require(forkTsCheckerResolvedPath) plugins.push(new ForkTsCheckerWebpackPlugin(Object.assign({ vue: true, - tsconfig: path.resolve(this.options.rootDir, 'tsconfig.json'), + tsconfig: path.resolve(rootDir, 'tsconfig.json'), // https://github.com/Realytics/fork-ts-checker-webpack-plugin#options - tslint: boolean | string - So we set it false if file not found - tslint: (tslintPath => fs.existsSync(tslintPath) && tslintPath)(path.resolve(this.options.rootDir, 'tslint.json')), + tslint: (tslintPath => fs.existsSync(tslintPath) && tslintPath)(path.resolve(rootDir, 'tslint.json')), formatter: 'codeframe', logger: consola - }, this.options.build.useForkTsChecker))) + }, buildOptions.useForkTsChecker))) } else { consola.warn('You need to install `fork-ts-checker-webpack-plugin` as devDependency to enable TypeScript type checking !') } @@ -159,8 +162,12 @@ export default class WebpackClientConfig extends WebpackBaseConfig { config() { const config = super.config() + const { + options: { router, buildDir }, + buildOptions: { hotMiddleware, quiet, friendlyErrors } + } = this.buildContext - const { client = {} } = this.options.build.hotMiddleware || {} + const { client = {} } = hotMiddleware || {} const { ansiColors, overlayStyles, ...options } = client const hotMiddlewareClientOptions = { reload: true, @@ -170,17 +177,17 @@ export default class WebpackClientConfig extends WebpackBaseConfig { ...options, name: this.name } - const clientPath = `${this.options.router.base}/__webpack_hmr/${this.name}` + const clientPath = `${router.base}/__webpack_hmr/${this.name}` const hotMiddlewareClientOptionsStr = `${querystring.stringify(hotMiddlewareClientOptions)}&path=${clientPath}`.replace(/\/\//g, '/') // Entry points config.entry = { - app: [path.resolve(this.options.buildDir, 'client.js')] + app: [path.resolve(buildDir, 'client.js')] } // Add HMR support - if (this.options.dev) { + if (this.dev) { config.entry.app.unshift( // https://github.com/webpack-contrib/webpack-hot-middleware/issues/53#issuecomment-162823945 'eventsource-polyfill', @@ -190,7 +197,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig { } // Add friendly error plugin - if (this.options.dev && !this.options.build.quiet && this.options.build.friendlyErrors) { + if (this.dev && !quiet && friendlyErrors) { config.plugins.push( new FriendlyErrorsWebpackPlugin({ clearConsole: false, diff --git a/packages/webpack/src/config/modern.js b/packages/webpack/src/config/modern.js index 8431de5820..27512b2a49 100644 --- a/packages/webpack/src/config/modern.js +++ b/packages/webpack/src/config/modern.js @@ -2,8 +2,10 @@ import clone from 'lodash/clone' import WebpackClientConfig from './client' export default class WebpackModernConfig extends WebpackClientConfig { - constructor(builder) { - super(builder, { name: 'modern', isServer: false, isModern: true }) + constructor(...args) { + super(...args) + this.name = 'modern' + this.isModern = true } env() { @@ -13,7 +15,7 @@ export default class WebpackModernConfig extends WebpackClientConfig { } getBabelOptions() { - const options = clone(this.options.build.babel) + const options = clone(this.buildContext.buildOptions.babel) options.presets = [ [ diff --git a/packages/webpack/src/config/server.js b/packages/webpack/src/config/server.js index f2e34f1045..548267834b 100644 --- a/packages/webpack/src/config/server.js +++ b/packages/webpack/src/config/server.js @@ -9,8 +9,10 @@ import VueSSRServerPlugin from '../plugins/vue/server' import WebpackBaseConfig from './base' export default class WebpackServerConfig extends WebpackBaseConfig { - constructor(builder) { - super(builder, { name: 'server', isServer: true }) + constructor(...args) { + super(...args) + this.name = 'server' + this.isServer = true this.whitelist = this.normalizeWhitelist() } @@ -18,7 +20,7 @@ export default class WebpackServerConfig extends WebpackBaseConfig { const whitelist = [ /\.(?!js(x|on)?$)/i ] - for (const pattern of this.options.build.transpile) { + for (const pattern of this.buildContext.buildOptions.transpile) { if (pattern instanceof RegExp) { whitelist.push(pattern) } else { @@ -68,7 +70,7 @@ export default class WebpackServerConfig extends WebpackBaseConfig { target: 'node', node: false, entry: { - app: [path.resolve(this.options.buildDir, 'server.js')] + app: [path.resolve(this.buildContext.options.buildDir, 'server.js')] }, output: Object.assign({}, config.output, { filename: 'server.js', @@ -85,8 +87,8 @@ export default class WebpackServerConfig extends WebpackBaseConfig { // https://webpack.js.org/configuration/externals/#externals // https://github.com/liady/webpack-node-externals // https://vue-loader.vuejs.org/migrating.html#ssr-externals - if (!this.options.build.standalone) { - this.options.modulesDir.forEach((dir) => { + if (!this.buildContext.buildOptions.standalone) { + this.buildContext.options.modulesDir.forEach((dir) => { if (fs.existsSync(dir)) { config.externals.push( nodeExternals({ diff --git a/packages/webpack/src/utils/perf-loader.js b/packages/webpack/src/utils/perf-loader.js index 7fff23f8c4..490d829297 100644 --- a/packages/webpack/src/utils/perf-loader.js +++ b/packages/webpack/src/utils/perf-loader.js @@ -6,10 +6,10 @@ import { warmup } from 'thread-loader' // https://github.com/webpack-contrib/cache-loader export default class PerfLoader { - constructor(config) { - this.name = config.name - this.options = config.options - this.workerPools = PerfLoader.defaultPools(this.options) + constructor(name, buildContext) { + this.name = name + this.buildContext = buildContext + this.workerPools = PerfLoader.defaultPools({ dev: buildContext.options.dev }) return new Proxy(this, { get(target, name) { return target[name] ? target[name] : target.use.bind(target, name) @@ -25,13 +25,13 @@ export default class PerfLoader { } } - static warmupAll(options) { - options = PerfLoader.defaultPools(options) - PerfLoader.warmup(options.js, [ + static warmupAll({ dev }) { + const pools = PerfLoader.defaultPools({ dev }) + PerfLoader.warmup(pools.js, [ require.resolve('babel-loader'), require.resolve('@babel/preset-env') ]) - PerfLoader.warmup(options.css, ['css-loader']) + PerfLoader.warmup(pools.css, ['css-loader']) } static warmup(...args) { @@ -41,7 +41,7 @@ export default class PerfLoader { use(poolName) { const loaders = [] - if (this.options.build.cache) { + if (this.buildContext.buildOptions.cache) { loaders.push({ loader: 'cache-loader', options: { @@ -50,7 +50,7 @@ export default class PerfLoader { }) } - if (this.options.build.parallel) { + if (this.buildContext.buildOptions.parallel) { const pool = this.workerPools[poolName] if (pool) { loaders.push({ diff --git a/packages/webpack/src/utils/postcss.js b/packages/webpack/src/utils/postcss.js index 0e82a78c25..0f32469485 100644 --- a/packages/webpack/src/utils/postcss.js +++ b/packages/webpack/src/utils/postcss.js @@ -19,34 +19,29 @@ export const orderPresets = { } export default class PostcssConfig { - constructor(options, nuxt) { - this.nuxt = nuxt - this.dev = options.dev - this.postcss = options.build.postcss - this.srcDir = options.srcDir - this.rootDir = options.rootDir - this.cssSourceMap = options.build.cssSourceMap - this.modulesDir = options.modulesDir + constructor(buildContext) { + this.buildContext = buildContext + } + + get postcssOptions() { + return this.buildContext.buildOptions.postcss } get defaultConfig() { + const { dev, srcDir, rootDir, modulesDir } = this.buildContext.options return { - sourceMap: this.cssSourceMap, + sourceMap: this.buildContext.buildOptions.cssSourceMap, plugins: { // https://github.com/postcss/postcss-import 'postcss-import': { resolve: createResolver({ alias: { - '~': path.join(this.srcDir), - '~~': path.join(this.rootDir), - '@': path.join(this.srcDir), - '@@': path.join(this.rootDir) + '~': path.join(srcDir), + '~~': path.join(rootDir), + '@': path.join(srcDir), + '@@': path.join(rootDir) }, - modules: [ - this.srcDir, - this.rootDir, - ...this.modulesDir - ] + modules: [ srcDir, rootDir, ...modulesDir ] }) }, @@ -55,7 +50,7 @@ export default class PostcssConfig { // https://github.com/csstools/postcss-preset-env 'postcss-preset-env': this.preset || {}, - 'cssnano': this.dev ? false : { preset: 'default' } + 'cssnano': dev ? false : { preset: 'default' } }, // Array, String or Function order: 'cssnanoLast' @@ -65,7 +60,8 @@ export default class PostcssConfig { searchConfigFile() { // Search for postCSS config file and use it if exists // https://github.com/michael-ciniawsky/postcss-load-config - for (const dir of [this.srcDir, this.rootDir]) { + const { srcDir, rootDir } = this.buildContext.options + for (const dir of [ srcDir, rootDir ]) { for (const file of [ 'postcss.config.js', '.postcssrc.js', @@ -82,12 +78,12 @@ export default class PostcssConfig { } configFromFile() { - const loaderConfig = (this.postcss && this.postcss.config) || {} + const loaderConfig = (this.postcssOptions && this.postcssOptions.config) || {} loaderConfig.path = loaderConfig.path || this.searchConfigFile() if (loaderConfig.path) { return { - sourceMap: this.cssSourceMap, + sourceMap: this.buildContext.buildOptions.cssSourceMap, config: loaderConfig } } @@ -117,7 +113,7 @@ export default class PostcssConfig { // Map postcss plugins into instances on object mode once config.plugins = this.sortPlugins(config) .map((p) => { - const plugin = this.nuxt.resolver.requireModule(p) + const plugin = this.buildContext.nuxt.resolver.requireModule(p) const opts = plugins[p] if (opts === false) { return // Disabled @@ -130,7 +126,7 @@ export default class PostcssConfig { config() { /* istanbul ignore if */ - if (!this.postcss) { + if (!this.postcssOptions) { return false } @@ -139,7 +135,7 @@ export default class PostcssConfig { return config } - config = this.normalize(cloneDeep(this.postcss)) + config = this.normalize(cloneDeep(this.postcssOptions)) // Apply default plugins if (isPureObject(config)) { diff --git a/packages/webpack/src/utils/style-loader.js b/packages/webpack/src/utils/style-loader.js index be247b99ad..b6fb589f1c 100644 --- a/packages/webpack/src/utils/style-loader.js +++ b/packages/webpack/src/utils/style-loader.js @@ -6,24 +6,20 @@ import { wrapArray } from '@nuxt/utils' import PostcssConfig from './postcss' export default class StyleLoader { - constructor(options, nuxt, { isServer, perfLoader }) { + constructor(buildContext, { isServer, perfLoader }) { + this.buildContext = buildContext this.isServer = isServer this.perfLoader = perfLoader - this.rootDir = options.rootDir - this.loaders = { - vueStyle: options.build.loaders.vueStyle, - css: options.build.loaders.css, - cssModules: options.build.loaders.cssModules - } - this.extractCSS = options.build.extractCSS - this.resources = options.build.styleResources - this.sourceMap = Boolean(options.build.cssSourceMap) - if (options.build.postcss) { - this.postcssConfig = new PostcssConfig(options, nuxt) + if (buildContext.options.build.postcss) { + this.postcssConfig = new PostcssConfig(buildContext) } } + get extractCSS() { + return this.buildContext.buildOptions.extractCSS + } + get exportOnlyLocals() { return Boolean(this.isServer && this.extractCSS) } @@ -34,19 +30,20 @@ export default class StyleLoader { } styleResource(ext) { - const extResource = this.resources[ext] + const { buildOptions: { styleResources }, options: { rootDir } } = this.buildContext + const extResource = styleResources[ext] // style-resources-loader // https://github.com/yenshih/style-resources-loader if (!extResource) { return } - const patterns = wrapArray(extResource).map(p => path.resolve(this.rootDir, p)) + const patterns = wrapArray(extResource).map(p => path.resolve(rootDir, p)) return { loader: 'style-resources-loader', options: Object.assign( { patterns }, - this.resources.options || {} + styleResources.options || {} ) } } @@ -66,7 +63,7 @@ export default class StyleLoader { return { loader: 'postcss-loader', - options: Object.assign({ sourceMap: this.sourceMap }, config) + options: Object.assign({ sourceMap: this.buildContext.buildOptions.cssSourceMap }, config) } } @@ -94,32 +91,34 @@ export default class StyleLoader { styleLoader() { return this.extract() || { loader: 'vue-style-loader', - options: this.loaders.vueStyle + options: this.buildContext.buildOptions.loaders.vueStyle } } apply(ext, loaders = []) { + const { css, cssModules } = this.buildContext.buildOptions.loaders + const customLoaders = [].concat( this.postcss(), this.normalize(loaders), this.styleResource(ext) ).filter(Boolean) - this.loaders.css.importLoaders = this.loaders.cssModules.importLoaders = customLoaders.length + css.importLoaders = cssModules.importLoaders = customLoaders.length return [ // This matches diff --git a/examples/pug-stylus-coffee/components/README.md b/examples/pug-stylus-coffee/components/README.md new file mode 100644 index 0000000000..a079f1060e --- /dev/null +++ b/examples/pug-stylus-coffee/components/README.md @@ -0,0 +1,7 @@ +# COMPONENTS + +**This directory is not required, you can delete it if you don't want to use it.** + +The components directory contains your Vue.js Components. + +_Nuxt.js doesn't supercharge these components._ diff --git a/examples/pug-stylus-coffee/layouts/README.md b/examples/pug-stylus-coffee/layouts/README.md new file mode 100644 index 0000000000..cad1ad5738 --- /dev/null +++ b/examples/pug-stylus-coffee/layouts/README.md @@ -0,0 +1,7 @@ +# LAYOUTS + +**This directory is not required, you can delete it if you don't want to use it.** + +This directory contains your Application Layouts. + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts). diff --git a/examples/pug-stylus-coffee/layouts/default.vue b/examples/pug-stylus-coffee/layouts/default.vue new file mode 100644 index 0000000000..540fff86da --- /dev/null +++ b/examples/pug-stylus-coffee/layouts/default.vue @@ -0,0 +1,46 @@ + + + diff --git a/examples/pug-stylus-coffee/middleware/README.md b/examples/pug-stylus-coffee/middleware/README.md new file mode 100644 index 0000000000..01595ded74 --- /dev/null +++ b/examples/pug-stylus-coffee/middleware/README.md @@ -0,0 +1,8 @@ +# MIDDLEWARE + +**This directory is not required, you can delete it if you don't want to use it.** + +This directory contains your application middleware. +Middleware let you define custom functions that can be run before rendering either a page or a group of pages. + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware). diff --git a/examples/pug-stylus-coffee/modules/coffeescript.js b/examples/pug-stylus-coffee/modules/coffeescript.js new file mode 100644 index 0000000000..b8ccfc05d5 --- /dev/null +++ b/examples/pug-stylus-coffee/modules/coffeescript.js @@ -0,0 +1,17 @@ +export default function () { + // Add .coffee extension for store, middleware and more + this.nuxt.options.extensions.push('coffee') + // Extend build + const coffeeLoader = { + test: /\.coffee$/, + loader: 'coffee-loader' + } + this.extendBuild((config) => { + // Add CoffeeScruot loader + config.module.rules.push(coffeeLoader) + // Add .coffee extension in webpack resolve + if (config.resolve.extensions.indexOf('.coffee') === -1) { + config.resolve.extensions.push('.coffee') + } + }) +} diff --git a/examples/pug-stylus-coffee/nuxt.config.coffee b/examples/pug-stylus-coffee/nuxt.config.coffee new file mode 100644 index 0000000000..039a2022ba --- /dev/null +++ b/examples/pug-stylus-coffee/nuxt.config.coffee @@ -0,0 +1,48 @@ +pkg = require('./package') +module.exports = + mode: 'universal' + # + # Headers of the page + # + head: + title: pkg.name + meta: + [ + { + charset: 'utf-8' + } + { + name: 'viewport' + content: 'width=device-width, initial-scale=1' + } + { + hid: 'description' + name: 'description' + content: pkg.description + } + ] + link: + [ + rel: 'icon' + type: 'image/x-icon' + href: '/favicon.ico' + ] + # Customize the progress-bar color + loading: + { + color: '#3B8070' + } + # Global CSS + css: [] + # Plugins to load before mounting the App + plugins: [] + # Nuxt.js modules + modules: + [ + '~/modules/coffeescript' + ] + # Build configuration + build: + # You can extend webpack config here + extend = (config, ctx) -> + pass diff --git a/examples/pug-stylus-coffee/nuxt.config.js b/examples/pug-stylus-coffee/nuxt.config.js new file mode 100644 index 0000000000..3d783db4d2 --- /dev/null +++ b/examples/pug-stylus-coffee/nuxt.config.js @@ -0,0 +1,2 @@ +require('coffeescript/register') +module.exports = require('./nuxt.config.coffee') diff --git a/examples/pug-stylus-coffee/package.json b/examples/pug-stylus-coffee/package.json new file mode 100644 index 0000000000..c63df436f8 --- /dev/null +++ b/examples/pug-stylus-coffee/package.json @@ -0,0 +1,25 @@ +{ + "name": "example-pug-stylus-coffee", + "version": "1.0.0", + "description": "Nuxt.js with Pug Stylus and CoffeeScript", + "author": "Alex Ananiev , Kron Austrum ", + "private": true, + "scripts": { + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate", + "post-update": "yarn upgrade --latest" + }, + "dependencies": { + "nuxt": "latest" + }, + "devDependencies": { + "coffee-loader": "^0.8.0", + "coffeescript": "^2.0.1", + "pug": "^2.0.3", + "pug-plain-loader": "^1.0.0", + "stylus": "^0.54.5", + "stylus-loader": "^3.0.2" + } +} diff --git a/examples/pug-stylus-coffee/pages/README.md b/examples/pug-stylus-coffee/pages/README.md new file mode 100644 index 0000000000..3c7faf56e7 --- /dev/null +++ b/examples/pug-stylus-coffee/pages/README.md @@ -0,0 +1,7 @@ +# PAGES + +This directory contains your Application Views and Routes. +The framework reads all the .vue files inside this directory and create the router of your application. + +More information about the usage of this directory in the documentation: +https://nuxtjs.org/guide/routing diff --git a/examples/pug-stylus-coffee/pages/index.vue b/examples/pug-stylus-coffee/pages/index.vue new file mode 100644 index 0000000000..ee0df7e4ef --- /dev/null +++ b/examples/pug-stylus-coffee/pages/index.vue @@ -0,0 +1,55 @@ + + + + + + diff --git a/examples/pug-stylus-coffee/plugins/README.md b/examples/pug-stylus-coffee/plugins/README.md new file mode 100644 index 0000000000..ca1f9d8a45 --- /dev/null +++ b/examples/pug-stylus-coffee/plugins/README.md @@ -0,0 +1,7 @@ +# PLUGINS + +**This directory is not required, you can delete it if you don't want to use it.** + +This directory contains Javascript plugins that you want to run before mounting the root Vue.js application. + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins). diff --git a/examples/pug-stylus-coffee/static/README.md b/examples/pug-stylus-coffee/static/README.md new file mode 100644 index 0000000000..3fc5002348 --- /dev/null +++ b/examples/pug-stylus-coffee/static/README.md @@ -0,0 +1,10 @@ +# STATIC + +**This directory is not required, you can delete it if you don't want to use it.** + +This directory contains your static files. +Each file inside this directory is mapped to `/`. + +Example: `/static/robots.txt` is mapped as `/robots.txt`. + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static). diff --git a/examples/pug-stylus-coffee/static/favicon.ico b/examples/pug-stylus-coffee/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c785410aa253440c16be3c4153584815449ef1fb GIT binary patch literal 1150 zcmd5(Pe>GD6#uQ8iV-=ZwUidsK@&EZ(IrAUb&A%lU$(#ZYJdD~UWj;l`Rd^{nh zvPGN}$SeeV;!$laVfJ1~#PqIOBnSGsnRD^RQ246jwOzD5wPM z_SD~bg#W3J7S6Crgk`)H)%qE~bp3LFqp)$Nv3OK}@i2R&k#jE+y)stFToFU;zualj9wjApeo{)sviIhPWwxnYrM*(FYyh9q!t3 zl`rgJpY+v}lLegM9BY#$?B|=B)ZeFFb&z#8IeW4mXS + msg: 'Hello from /store/index.coffee!' + msgComputed: 'Hello from /store/index.coffee computed!' From 27b30caee5025ce19f8d428698e30637a4cd45d2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Feb 2019 16:48:30 +0000 Subject: [PATCH 105/221] chore(deps): update all non-major dependencies (#5057) --- package.json | 4 +-- packages/builder/package.json | 2 +- packages/webpack/package.json | 4 +-- yarn.lock | 55 +++++++++++++++++++++++------------ 4 files changed, 42 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 45b50aba1a..56579dc60c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "consola": "^2.4.1", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.14.0", + "eslint": "^5.14.1", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", @@ -67,7 +67,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.2.1", + "rollup": "^1.2.2", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", diff --git a/packages/builder/package.json b/packages/builder/package.json index 6532389e37..fb69147202 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -11,7 +11,7 @@ "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", - "chokidar": "^2.1.1", + "chokidar": "^2.1.2", "consola": "^2.4.1", "fs-extra": "^7.0.1", "glob": "^7.1.3", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index c220fb276e..573b1dd4f6 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -43,10 +43,10 @@ "thread-loader": "^1.2.0", "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", - "vue-loader": "^15.6.2", + "vue-loader": "^15.6.3", "webpack": "^4.29.5", "webpack-bundle-analyzer": "^3.0.4", - "webpack-dev-middleware": "^3.5.2", + "webpack-dev-middleware": "^3.6.0", "webpack-hot-middleware": "^2.24.3", "webpack-node-externals": "^1.7.2", "webpackbar": "^3.1.5" diff --git a/yarn.lock b/yarn.lock index e6aa5099d6..43b7d38a12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2661,7 +2661,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.1: +chokidar@^2.0.2, chokidar@^2.0.4: version "2.1.1" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.1.tgz#adc39ad55a2adf26548bd2afa048f611091f9184" integrity sha512-gfw3p2oQV2wEt+8VuMlNsPjCxDxvvgnm/kz+uATu805mWVF8IJN7uz9DN7iBz+RMJISmiVbCOBFs9qBGMjtPfQ== @@ -2680,6 +2680,25 @@ chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.1: optionalDependencies: fsevents "^1.2.7" +chokidar@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz#9c23ea40b01638439e0513864d362aeacc5ad058" + integrity sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg== + 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.0" + optionalDependencies: + fsevents "^1.2.7" + chownr@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" @@ -4140,10 +4159,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.14.0: - version "5.14.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.14.0.tgz#380739df2489dd846baea008638b036c1e987974" - integrity sha512-jrOhiYyENRrRnWlMYANlGZTqb89r2FuRT+615AabBoajhNjeh9ywDNlh2LU9vTqf0WYN+L3xdXuIi7xuj/tK9w== +eslint@^5.14.1: + version "5.14.1" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.14.1.tgz#490a28906be313685c55ccd43a39e8d22efc04ba" + integrity sha512-CyUMbmsjxedx8B0mr79mNOqetvkbij/zrXnFeK2zc3pGRn3/tibjiNAv/3UxFEyfMDjh+ZqTrJrEGBFiGfD5Og== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -9448,10 +9467,10 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.1.tgz#996a8c63920ab056b39507d93195222e59d2807f" - integrity sha512-rFf7m2MHwjSYjSCFdA7ckGluMcQRcC3dKn6uAWYrk/6wnUrdQhJJruumkk5IV/3KMdmuc9qORmTu1VPBa2Ii8w== +rollup@^1.2.2: + version "1.2.2" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.2.tgz#960416d098d3dba44bbe64c8db94510d6e568104" + integrity sha512-fsn5KJcfSuejjrv8GV7kZNciElqxyzZdUq8rA3e528JsR3ccxrWwoptyUY8GGLlgMFAQMB3dZW8nWF2I1/xrZA== dependencies: "@types/estree" "0.0.39" "@types/node" "*" @@ -10874,10 +10893,10 @@ vue-jest@^4.0.0-beta.2: source-map "^0.5.6" ts-jest "^23.10.5" -vue-loader@^15.6.2: - version "15.6.2" - resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.6.2.tgz#892741d96260936ff69e892f72ec361ba4d100d2" - integrity sha512-T6fONodj861M3PqZ1jlbUFjeezbUnPRY2bd+3eZuDvYADgkN3VFU2H5feqySNg9XBt8rcbyBGmFWTZtrOX+v5w== +vue-loader@^15.6.3: + version "15.6.3" + resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.6.3.tgz#94a5d8a4912a37392a79e22cf9ebc091fe3ef51b" + integrity sha512-4rgz4hk5pEzz/BNiXPG9UpgFqFPHldO6l9X7/HB2NxOYTbn/dmQDw/UjW+/rnBoRCGqyTazGNNqXVp5Htb0Mfg== dependencies: "@vue/component-compiler-utils" "^2.5.1" hash-sum "^1.0.2" @@ -11027,12 +11046,12 @@ webpack-bundle-analyzer@^3.0.4: opener "^1.5.1" ws "^6.0.0" -webpack-dev-middleware@^3.5.2: - version "3.5.2" - resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.5.2.tgz#d768b6194f3fe8d72d51feded49de359e8d96ffb" - integrity sha512-nPmshdt1ckcwWjI0Ubrdp8KroeuprW6xFKYqk0u3MflNMBXvHPnMATsC7/L/enwav2zvLCfj/Usr47qnF3KQyA== +webpack-dev-middleware@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.6.0.tgz#71f1b04e52ff8d442757af2be3a658237d53a3e5" + integrity sha512-oeXA3m+5gbYbDBGo4SvKpAHJJEGMoekUbHgo1RK7CP1sz7/WOSeu/dWJtSTk+rzDCLkPwQhGocgIq6lQqOyOwg== dependencies: - memory-fs "~0.4.1" + memory-fs "^0.4.1" mime "^2.3.1" range-parser "^1.0.3" webpack-log "^2.0.0" From 3dd1a28533deed1f87e0cf01eefd4c57526ad0c4 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 19 Feb 2019 17:30:46 +0000 Subject: [PATCH 106/221] test: update cli snapshot --- .../unit/__snapshots__/command.test.js.snap | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index fc6f1cf37f..96b3942fea 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -1,36 +1,36 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`cli/command builds help text 1`] = ` -" Usage: nuxt this is how you do it +" Usage: nuxt this is how you do it [options] - a very long description that should wrap - to the next line because is not longer + a very long description that should wrap + to the next line because is not longer than the terminal width Options: --spa, -s Launch in SPA mode - --universal, -u Launch in Universal + --universal, -u Launch in Universal mode (default) - --config-file, -c Path to Nuxt.js + --config-file, -c Path to Nuxt.js config file (default: nuxt.config.js) - --modern, -m Build/Start app for - modern browsers, e.g. server, client and + --modern, -m Build/Start app for + modern browsers, e.g. server, client and false - --force-exit Whether Nuxt.js - should force exit after the command has + --force-exit Whether Nuxt.js + should force exit after the command has finished - --version, -v Display the Nuxt + --version, -v Display the Nuxt version --help, -h Display this message - --port, -p Port number on which + --port, -p Port number on which to start the application - --hostname, -H Hostname on which to + --hostname, -H Hostname on which to start the application --unix-socket, -n Path to a UNIX socket - --foo very long option that - is longer than the terminal width and + --foo very long option that + is longer than the terminal width and should wrap to the next line " From 58f6424570872cfd724b60aecdc68c0502cf3fcf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Feb 2019 22:54:12 +0330 Subject: [PATCH 107/221] chore(deps): update dependency boxen to v3 (#5071) --- packages/cli/package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index e7a2aef9b6..ce584bf472 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@nuxt/config": "2.4.3", - "boxen": "^2.1.0", + "boxen": "^3.0.0", "chalk": "^2.4.2", "consola": "^2.4.1", "esm": "^3.2.5", diff --git a/yarn.lock b/yarn.lock index 43b7d38a12..35287f646b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2262,15 +2262,15 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -boxen@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-2.1.0.tgz#8d576156e33fc26a34d6be8635fd16b1d745f0b2" - integrity sha512-luq3RQOt2U5sUX+fiu+qnT+wWnHDcATLpEe63jvge6GUZO99AKbVRfp97d2jgLvq1iQa0ORzaAm4lGVG52ZSlw== +boxen@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/boxen/-/boxen-3.0.0.tgz#2e229f603c9c1da9d2966b7e9a5681eb692eca23" + integrity sha512-6BI51DCC62Ylgv78Kfn+MHkyPwSlhulks+b+wz7bK1vsTFgbSEy/E1DOxx1wjf/0YdkrfPUMh9NoaW419M7csQ== dependencies: ansi-align "^3.0.0" camelcase "^5.0.0" - chalk "^2.4.1" - cli-boxes "^1.0.0" + chalk "^2.4.2" + cli-boxes "^2.0.0" string-width "^3.0.0" term-size "^1.2.0" widest-line "^2.0.0" @@ -2746,10 +2746,10 @@ clean-css@4.2.x, clean-css@^4.1.11: dependencies: source-map "~0.6.0" -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= +cli-boxes@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.0.0.tgz#de5eb5ce7462833133e85f5710fabb38377e9333" + integrity sha512-P46J1Wf3BVD0E5plybtf6g/NtHYAUlOIt7w3ou/Ova/p7dJPdukPV4yp+BF8dpmnnk45XlMzn+x9kfzyucKzrg== cli-cursor@^2.1.0: version "2.1.0" From febcd6c52402b9003c0bb2a2979b7b66a20bfa6b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Feb 2019 22:55:59 +0330 Subject: [PATCH 108/221] chore(deps): update dependency vue-loader to ^15.6.4 (#5070) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 573b1dd4f6..98e67942af 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -43,7 +43,7 @@ "thread-loader": "^1.2.0", "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", - "vue-loader": "^15.6.3", + "vue-loader": "^15.6.4", "webpack": "^4.29.5", "webpack-bundle-analyzer": "^3.0.4", "webpack-dev-middleware": "^3.6.0", diff --git a/yarn.lock b/yarn.lock index 35287f646b..8143cd98f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10893,10 +10893,10 @@ vue-jest@^4.0.0-beta.2: source-map "^0.5.6" ts-jest "^23.10.5" -vue-loader@^15.6.3: - version "15.6.3" - resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.6.3.tgz#94a5d8a4912a37392a79e22cf9ebc091fe3ef51b" - integrity sha512-4rgz4hk5pEzz/BNiXPG9UpgFqFPHldO6l9X7/HB2NxOYTbn/dmQDw/UjW+/rnBoRCGqyTazGNNqXVp5Htb0Mfg== +vue-loader@^15.6.4: + version "15.6.4" + resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.6.4.tgz#ea6ea48cada424da2cc2304495377678e4b0f6a7" + integrity sha512-GImqWcO3OsiRYS/zfMhmthFd1xwL68AAE5gAHhzNCI4SLNSxIlB9YmjgJS89anqViWSyl0mnAmyXNYHs7sydFw== dependencies: "@vue/component-compiler-utils" "^2.5.1" hash-sum "^1.0.2" From 21b1b865ee7d8e33caf7c55ec1981193970b8923 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 22 Feb 2019 16:28:14 +0330 Subject: [PATCH 109/221] chore(deps): update all non-major dependencies (#5088) --- distributions/nuxt-start/package.json | 2 +- package.json | 4 +-- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/vue-app/package.json | 4 +-- packages/vue-renderer/package.json | 4 +-- yarn.lock | 49 +++++++++++++++------------ 7 files changed, 36 insertions(+), 31 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 67e5fe6baf..9f04f9df41 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -55,7 +55,7 @@ "@nuxt/cli": "2.4.3", "@nuxt/core": "2.4.3", "node-fetch": "^2.3.0", - "vue": "^2.6.6", + "vue": "^2.6.7", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/package.json b/package.json index 56579dc60c..add0b7a089 100644 --- a/package.json +++ b/package.json @@ -73,13 +73,13 @@ "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-json": "^3.1.0", "rollup-plugin-license": "^0.8.1", - "rollup-plugin-node-resolve": "^4.0.0", + "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.0", "sort-package-json": "^1.19.0", "ts-jest": "^24.0.0", "ts-loader": "^5.3.3", "tslint": "^5.12.1", - "typescript": "^3.3.3", + "typescript": "^3.3.3333", "vue-jest": "^4.0.0-beta.2", "vue-property-decorator": "^7.3.0" }, diff --git a/packages/server/package.json b/packages/server/package.json index de1c372661..a247a07885 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -20,7 +20,7 @@ "fs-extra": "^7.0.1", "ip": "^1.1.5", "launch-editor-middleware": "^2.2.1", - "on-headers": "^1.0.1", + "on-headers": "^1.0.2", "pify": "^4.0.1", "semver": "^5.6.0", "serve-placeholder": "^1.1.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 6d45cdf4a5..2208572e24 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -19,7 +19,7 @@ "ts-loader": "^5.3.3", "ts-node": "^8.0.2", "tslint": "^5.12.1", - "typescript": "^3.3.3" + "typescript": "^3.3.3333" }, "publishConfig": { "access": "public" diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index fcbd48a9c0..481ce27397 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -14,11 +14,11 @@ "dependencies": { "node-fetch": "^2.3.0", "unfetch": "^4.0.1", - "vue": "^2.6.6", + "vue": "^2.6.7", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.6", + "vue-template-compiler": "^2.6.7", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index b5c00ef2c7..1ab1dbaedd 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.4.1", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.6", + "vue": "^2.6.7", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.6" + "vue-server-renderer": "^2.6.7" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index 8143cd98f4..391919ede6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7469,7 +7469,12 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -on-headers@^1.0.1, on-headers@~1.0.1: +on-headers@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" + integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== + +on-headers@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c= @@ -9441,14 +9446,14 @@ rollup-plugin-license@^0.8.1: mkdirp "0.5.1" moment "2.23.0" -rollup-plugin-node-resolve@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.0.tgz#9bc6b8205e9936cc0e26bba2415f1ecf1e64d9b2" - integrity sha512-7Ni+/M5RPSUBfUaP9alwYQiIKnKeXCOHiqBpKUl9kwp3jX5ZJtgXAait1cne6pGEVUUztPD6skIKH9Kq9sNtfw== +rollup-plugin-node-resolve@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.1.tgz#f95765d174e5daeef9ea6268566141f53aa9d422" + integrity sha512-fSS7YDuCe0gYqKsr5OvxMloeZYUSgN43Ypi1WeRZzQcWtHgFayV5tUSPYpxuaioIIWaBXl6NrVk0T2/sKwueLg== dependencies: builtin-modules "^3.0.0" is-module "^1.0.0" - resolve "^1.8.1" + resolve "^1.10.0" rollup-plugin-replace@^2.1.0: version "2.1.0" @@ -10582,10 +10587,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.3.3: - version "3.3.3" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.3.tgz#f1657fc7daa27e1a8930758ace9ae8da31403221" - integrity sha512-Y21Xqe54TBVp+VDSNbuDYdGw0BpoR/Q6wo/+35M8PAU0vipahnyduJWirxxdxjsAkS7hue53x2zp8gz7F05u0A== +typescript@^3.3.3333: + version "3.3.3333" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6" + integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw== ua-parser-js@^0.7.19: version "0.7.19" @@ -10931,10 +10936,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.6: - version "2.6.6" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.6.tgz#a2b1174cf1914817147b34789cc1a6baa0672aa1" - integrity sha512-dJ4IrIilS3nhxpOrR12+IKGu9Meg8L0t/W/e/UNSXKyh9EkwDqFPK0nZTfGPudXzr9FMQfg2hK6p2RMydPRU2Q== +vue-server-renderer@^2.6.7: + version "2.6.7" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.7.tgz#ff40f69a439da8993a6e171b7d58575bfbeefb79" + integrity sha512-CVtGR+bE63y4kyIeOcCEF2UNKquSquFQAsTHZ5R1cGM4L4Z0BXgAUEcngTOy8kN+tubt3c1zpRvbrok/bHKeDg== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -10953,10 +10958,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.6: - version "2.6.6" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.6.tgz#a807acbf3d51971d3721d75ecb1b927b517c1a02" - integrity sha512-OakxDGyrmMQViCjkakQFbDZlG0NibiOzpLauOfyCUVRQc9yPmTqpiz9nF0VeA+dFkXegetw0E5x65BFhhLXO0A== +vue-template-compiler@^2.6.7: + version "2.6.7" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.7.tgz#7f6c14eacf3c912d28d33b029cde706d9756e00c" + integrity sha512-ZjxJLr6Lw2gj6aQGKwBWTxVNNd28/qggIdwvr5ushrUHUvqgbHD0xusOVP2yRxT4pX3wRIJ2LfxjgFT41dEtoQ== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -10966,10 +10971,10 @@ vue-template-es2015-compiler@^1.8.2: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== -vue@^2.6.6: - version "2.6.6" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.6.tgz#dde41e483c11c46a7bf523909f4f2f816ab60d25" - integrity sha512-Y2DdOZD8sxApS+iUlwv1v8U1qN41kq6Kw45lM6nVZKhygeWA49q7VCCXkjXqeDBXgurrKWkYQ9cJeEJwAq0b9Q== +vue@^2.6.7: + version "2.6.7" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.7.tgz#254f188e7621d2d19ee28d0c0442c6d21b53ae2d" + integrity sha512-g7ADfQ82QU+j6F/bVDioVQf2ccIMYLuR4E8ev+RsDBlmwRkhGO3HhgF4PF9vpwjdPpxyb1zzLur2nQ2oIMAMEg== vuex@^3.1.0: version "3.1.0" From fc4abddc5a831141d7387134f0f40cae08e6b83c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 23 Feb 2019 09:53:56 +0330 Subject: [PATCH 110/221] chore(deps): update all non-major dependencies (#5095) --- package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/typescript/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 23 ++++++++++++++--------- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index add0b7a089..770e08c321 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.2.2", - "esm": "^3.2.5", + "esm": "^3.2.6", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index ce584bf472..1111093002 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^3.0.0", "chalk": "^2.4.2", "consola": "^2.4.1", - "esm": "^3.2.5", + "esm": "^3.2.6", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 245f2edf81..d6e77d35bd 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.3", "consola": "^2.4.1", "debug": "^4.1.1", - "esm": "^3.2.5", + "esm": "^3.2.6", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 2208572e24..59b82ccfb8 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.26", + "@types/node": "^10.12.27", "chalk": "^2.4.2", "consola": "^2.4.1", "enquirer": "^2.3.0", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 98e67942af..cea1b1ac63 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.3", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000938", + "caniuse-lite": "^1.0.30000939", "chalk": "^2.4.2", "consola": "^2.4.1", "css-loader": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index 391919ede6..f4a66deb9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1419,10 +1419,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-11.9.4.tgz#ceb0048a546db453f6248f2d1d95e937a6f00a14" integrity sha512-Zl8dGvAcEmadgs1tmSPcvwzO1YRsz38bVJQvH1RvRqSR9/5n61Q1ktcDL0ht3FXWR+ZpVmXVwN1LuH4Ax23NsA== -"@types/node@^10.12.26": - version "10.12.26" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.26.tgz#2dec19f1f7981c95cb54bab8f618ecb5dc983d0e" - integrity sha512-nMRqS+mL1TOnIJrL6LKJcNZPB8V3eTfRo9FQA2b5gDvrHurC8XbSA86KNe0dShlEL7ReWJv/OU9NL7Z0dnqWTg== +"@types/node@^10.12.27": + version "10.12.27" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.27.tgz#eb3843f15d0ba0986cc7e4d734d2ee8b50709ef8" + integrity sha512-e9wgeY6gaY21on3ve0xAjgBVjGDWq/xUteK0ujsE53bUoxycMkqfnkUgMt6ffZtykZ5X12Mg3T7Pw4TRCObDKg== "@types/q@^1.5.1": version "1.5.1" @@ -2587,11 +2587,16 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932, caniuse-lite@^1.0.30000938: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: version "1.0.30000938" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000938.tgz#b64bf1427438df40183fce910fe24e34feda7a3f" integrity sha512-ekW8NQ3/FvokviDxhdKLZZAx7PptXNwxKgXtnR5y+PR3hckwuP3yJ1Ir+4/c97dsHNqtAyfKUGdw8P4EYzBNgw== +caniuse-lite@^1.0.30000939: + version "1.0.30000939" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz#b9ab7ac9e861bf78840b80c5dfbc471a5cd7e679" + integrity sha512-oXB23ImDJOgQpGjRv1tCtzAvJr4/OvrHi5SO2vUgB0g0xpdZZoA/BxfImiWfdwoYdUTtQrPsXsvYU/dmCSM8gg== + capture-exit@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" @@ -4201,10 +4206,10 @@ eslint@^5.14.1: table "^5.2.3" text-table "^0.2.0" -esm@^3.2.5: - version "3.2.5" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.5.tgz#036e410a2373ea81bfe62166c419ca0b0cf85c09" - integrity sha512-rukU6Nd3agbHQCJWV4rrlZxqpbO3ix8qhUxK1BhKALGS2E465O0BFwgCOqJjNnYfO/I2MwpUBmPsW8DXoe8tcA== +esm@^3.2.6: + version "3.2.6" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.6.tgz#879e4888e631a6893f2afc24adb23d4dbe8fad30" + integrity sha512-3wWjSurKSczMzYyHiBih3VVEQYCoZa6nfsqqcM2Tx6KBAQAeor0SZUfAol+zeVUtESLygayOi2ZcMfYZy7MCsg== espree@^4.1.0: version "4.1.0" From 8ea0f8687434a318e20f01936839944426523530 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 23 Feb 2019 19:14:46 +0330 Subject: [PATCH 111/221] chore(deps): update all non-major dependencies (#5097) --- package.json | 4 ++-- yarn.lock | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 770e08c321..1b14b77170 100644 --- a/package.json +++ b/package.json @@ -67,10 +67,10 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.2.2", + "rollup": "^1.2.3", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", - "rollup-plugin-commonjs": "^9.2.0", + "rollup-plugin-commonjs": "^9.2.1", "rollup-plugin-json": "^3.1.0", "rollup-plugin-license": "^0.8.1", "rollup-plugin-node-resolve": "^4.0.1", diff --git a/yarn.lock b/yarn.lock index f4a66deb9d..160f3a96b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9423,14 +9423,14 @@ rollup-plugin-babel@^4.3.2: "@babel/helper-module-imports" "^7.0.0" rollup-pluginutils "^2.3.0" -rollup-plugin-commonjs@^9.2.0: - version "9.2.0" - resolved "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.2.0.tgz#4604e25069e0c78a09e08faa95dc32dec27f7c89" - integrity sha512-0RM5U4Vd6iHjL6rLvr3lKBwnPsaVml+qxOGaaNUWN1lSq6S33KhITOfHmvxV3z2vy9Mk4t0g4rNlVaJJsNQPWA== +rollup-plugin-commonjs@^9.2.1: + version "9.2.1" + resolved "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-9.2.1.tgz#bb151ca8fa23600c7a03e25f9f0a45b1ee922dac" + integrity sha512-X0A/Cp/t+zbONFinBhiTZrfuUaVwRIp4xsbKq/2ohA2CDULa/7ONSJTelqxon+Vds2R2t2qJTqJQucKUC8GKkw== dependencies: estree-walker "^0.5.2" magic-string "^0.25.1" - resolve "^1.8.1" + resolve "^1.10.0" rollup-pluginutils "^2.3.3" rollup-plugin-json@^3.1.0: @@ -9477,10 +9477,10 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.2.tgz#960416d098d3dba44bbe64c8db94510d6e568104" - integrity sha512-fsn5KJcfSuejjrv8GV7kZNciElqxyzZdUq8rA3e528JsR3ccxrWwoptyUY8GGLlgMFAQMB3dZW8nWF2I1/xrZA== +rollup@^1.2.3: + version "1.2.3" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.3.tgz#450bbbd9d3c2c9a17d23c9165cab7a659f91095a" + integrity sha512-hTWFogj/Z077imG9XRM1i43ffarWNToDgsqkU62eJRX4rJE213/c8+gUIf4xacfzytl0sjJZfCzzPQfZN7oIQg== dependencies: "@types/estree" "0.0.39" "@types/node" "*" From e789a8e727c1b3b63ba6ae261cbfd1d504e9e9d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 25 Feb 2019 21:07:28 +0330 Subject: [PATCH 112/221] chore(deps): update all non-major dependencies (#5098) --- package.json | 4 ++-- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/package.json | 2 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 4 ++-- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 4 ++-- yarn.lock | 32 ++++++++++++++++++++++++------ 12 files changed, 40 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 1b14b77170..26402d6ddd 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.2.0", - "consola": "^2.4.1", + "consola": "^2.5.4", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.14.1", @@ -78,7 +78,7 @@ "sort-package-json": "^1.19.0", "ts-jest": "^24.0.0", "ts-loader": "^5.3.3", - "tslint": "^5.12.1", + "tslint": "^5.13.0", "typescript": "^3.3.3333", "vue-jest": "^4.0.0-beta.2", "vue-property-decorator": "^7.3.0" diff --git a/packages/builder/package.json b/packages/builder/package.json index fb69147202..a17b8e5aad 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", "chokidar": "^2.1.2", - "consola": "^2.4.1", + "consola": "^2.5.4", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 1111093002..35642f73e9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@nuxt/config": "2.4.3", "boxen": "^3.0.0", "chalk": "^2.4.2", - "consola": "^2.4.1", + "consola": "^2.5.4", "esm": "^3.2.6", "execa": "^1.0.0", "exit": "^0.1.2", diff --git a/packages/config/package.json b/packages/config/package.json index 2fe485eaff..9cfacba2e1 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -9,7 +9,7 @@ "main": "dist/config.js", "dependencies": { "@nuxt/utils": "2.4.3", - "consola": "^2.4.1", + "consola": "^2.5.4", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index d6e77d35bd..8b70de42c7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "@nuxt/server": "2.4.3", "@nuxt/utils": "2.4.3", "@nuxt/vue-renderer": "2.4.3", - "consola": "^2.4.1", + "consola": "^2.5.4", "debug": "^4.1.1", "esm": "^3.2.6", "fs-extra": "^7.0.1", diff --git a/packages/generator/package.json b/packages/generator/package.json index 43ce35d3cd..9d4b87036e 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.3", "chalk": "^2.4.2", - "consola": "^2.4.1", + "consola": "^2.5.4", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index a247a07885..afe4c9e104 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.3", "connect": "^3.6.6", - "consola": "^2.4.1", + "consola": "^2.5.4", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 59b82ccfb8..7f1961ff95 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -11,14 +11,14 @@ "dependencies": { "@types/node": "^10.12.27", "chalk": "^2.4.2", - "consola": "^2.4.1", + "consola": "^2.5.4", "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", "std-env": "^2.2.1", "ts-loader": "^5.3.3", "ts-node": "^8.0.2", - "tslint": "^5.12.1", + "tslint": "^5.13.0", "typescript": "^3.3.3333" }, "publishConfig": { diff --git a/packages/utils/package.json b/packages/utils/package.json index b07c5bf45f..e0dc6051fe 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.4.1", + "consola": "^2.5.4", "serialize-javascript": "^1.6.1" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 1ab1dbaedd..f8ad9bc6c1 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", - "consola": "^2.4.1", + "consola": "^2.5.4", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.7", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index cea1b1ac63..5690da9685 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -17,7 +17,7 @@ "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000939", "chalk": "^2.4.2", - "consola": "^2.4.1", + "consola": "^2.5.4", "css-loader": "^2.1.0", "cssnano": "^4.1.10", "eventsource-polyfill": "^0.9.6", @@ -39,7 +39,7 @@ "postcss-url": "^8.0.0", "std-env": "^2.2.1", "style-resources-loader": "^1.2.1", - "terser-webpack-plugin": "^1.2.2", + "terser-webpack-plugin": "^1.2.3", "thread-loader": "^1.2.0", "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index 160f3a96b9..67898719d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2981,7 +2981,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.1: +consola@^2.0.0-1, consola@^2.3.0: version "2.4.1" resolved "https://registry.npmjs.org/consola/-/consola-2.4.1.tgz#ad7209c306a2b6fa955b776f88f87bf92f491aa8" integrity sha512-j6bIzpmyRGY2TDZVkAi3DM95CgC8hWx1A7AiJdyn4X5gls1bbpXIMpn3p8QsfaNu+ycNLXP+2DwKb47FXjw1ww== @@ -2992,6 +2992,11 @@ consola@^2.0.0-1, consola@^2.3.0, consola@^2.4.1: std-env "^2.2.1" string-width "^3.0.0" +consola@^2.5.4: + version "2.5.4" + resolved "https://registry.npmjs.org/consola/-/consola-2.5.4.tgz#127627375ca45a1d507223dee770aba17cb991f7" + integrity sha512-4XX27fEcMgE0RDI9E4Dl0jYZm5IBFfpb4HlDMj0mgeULjj/hKXEjaDZEzQho0A8O6Cb3kiVnz2Tr9YfmGo2DNw== + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" @@ -10276,7 +10281,7 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.2: +terser-webpack-plugin@^1.1.0: version "1.2.2" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9" integrity sha512-1DMkTk286BzmfylAvLXwpJrI7dWa5BnFmscV/2dCr8+c56egFcbaeFAl7+sujAjdmpLam21XRdhA4oifLyiWWg== @@ -10290,6 +10295,20 @@ terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.2: webpack-sources "^1.1.0" worker-farm "^1.5.2" +terser-webpack-plugin@^1.2.3: + version "1.2.3" + resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.3.tgz#3f98bc902fac3e5d0de730869f50668561262ec8" + integrity sha512-GOK7q85oAb/5kE12fMuLdn2btOS9OBZn4VsecpHDywoUC/jLhSAKOiYo0ezx7ss2EXPMzyEWFoE0s1WLE+4+oA== + dependencies: + cacache "^11.0.2" + find-cache-dir "^2.0.0" + schema-utils "^1.0.0" + serialize-javascript "^1.4.0" + source-map "^0.6.1" + terser "^3.16.1" + webpack-sources "^1.1.0" + worker-farm "^1.5.2" + terser@^3.16.1: version "3.16.1" resolved "https://registry.npmjs.org/terser/-/terser-3.16.1.tgz#5b0dd4fa1ffd0b0b43c2493b2c364fd179160493" @@ -10530,10 +10549,10 @@ tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== -tslint@^5.12.1: - version "5.12.1" - resolved "https://registry.npmjs.org/tslint/-/tslint-5.12.1.tgz#8cec9d454cf8a1de9b0a26d7bdbad6de362e52c1" - integrity sha512-sfodBHOucFg6egff8d1BvuofoOQ/nOeYNfbp7LDlKBcLNrL3lmS5zoiDGyOMdT7YsEXAwWpTdAHwOGOc8eRZAw== +tslint@^5.13.0: + version "5.13.0" + resolved "https://registry.npmjs.org/tslint/-/tslint-5.13.0.tgz#239a2357c36b620d72d86744754b6fc088a25359" + integrity sha512-ECOOQRxXCYnUUePG5h/+Z1Zouobk3KFpIHA9aKBB/nnMxs97S1JJPDGt5J4cGm1y9U9VmVlfboOxA8n1kSNzGw== dependencies: babel-code-frame "^6.22.0" builtin-modules "^1.1.1" @@ -10543,6 +10562,7 @@ tslint@^5.12.1: glob "^7.1.1" js-yaml "^3.7.0" minimatch "^3.0.4" + mkdirp "^0.5.1" resolve "^1.3.2" semver "^5.3.0" tslib "^1.8.0" From 4436ae248dac4f194c2ffff489e17ff4e3df658e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 25 Feb 2019 21:09:45 +0330 Subject: [PATCH 113/221] chore(deps): lock file maintenance (#5101) --- yarn.lock | 292 +++++++++++++++++------------------------------------- 1 file changed, 92 insertions(+), 200 deletions(-) diff --git a/yarn.lock b/yarn.lock index 67898719d4..f4c9073752 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1383,9 +1383,9 @@ universal-user-agent "^2.0.1" "@octokit/rest@^16.15.0": - version "16.15.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.15.0.tgz#648a88d5de055bcf38976709c5b2bdf1227b926f" - integrity sha512-Un+e7rgh38RtPOTe453pT/KPM/p2KZICimBmuZCd2wEo8PacDa4h6RqTPZs+f2DPazTTqdM7QU4LKlUjgiBwWw== + version "16.16.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.16.0.tgz#b686407d34c756c3463f8a7b1e42aa035a504306" + integrity sha512-Q6L5OwQJrdJ188gLVmUHLKNXBoeCU0DynKPYW8iZQQoGNGws2hkP/CePVNlzzDgmjuv7o8dCrJgecvDcIHccTA== dependencies: "@octokit/request" "2.3.0" before-after-hook "^1.2.0" @@ -1415,9 +1415,9 @@ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== "@types/node@*": - version "11.9.4" - resolved "https://registry.npmjs.org/@types/node/-/node-11.9.4.tgz#ceb0048a546db453f6248f2d1d95e937a6f00a14" - integrity sha512-Zl8dGvAcEmadgs1tmSPcvwzO1YRsz38bVJQvH1RvRqSR9/5n61Q1ktcDL0ht3FXWR+ZpVmXVwN1LuH4Ax23NsA== + version "11.9.5" + resolved "https://registry.npmjs.org/@types/node/-/node-11.9.5.tgz#011eece9d3f839a806b63973e228f85967b79ed3" + integrity sha512-vVjM0SVzgaOUpflq4GYBvCpozes8OgIIS5gVXVka+OfK3hvnkC1i93U8WiY2OtNE4XUWyyy/86Kf6e0IHTQw1Q== "@types/node@^10.12.27": version "10.12.27" @@ -1494,9 +1494,9 @@ camelcase "^5.0.0" "@vue/component-compiler-utils@^2.4.0", "@vue/component-compiler-utils@^2.5.1": - version "2.5.2" - resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.5.2.tgz#a8d57e773354ab10e4742c7d6a8dd86184d4d7be" - integrity sha512-3exq9O89GXo9E+CGKzgURCbasG15FtFMs8QRrCUVWGaKue4Egpw41MHb3Avtikv1VykKfBq3FvAnf9Nx3sdVJg== + version "2.6.0" + resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.6.0.tgz#aa46d2a6f7647440b0b8932434d22f12371e543b" + integrity sha512-IHjxt7LsOFYc0DkTncB7OXJL7UzwOLPPQCfEUNyxL2qt+tF12THV+EO33O1G2Uk4feMSWua3iD39Itszx0f0bw== dependencies: consolidate "^0.15.1" hash-sum "^1.0.2" @@ -1506,7 +1506,7 @@ postcss-selector-parser "^5.0.0" prettier "1.16.3" source-map "~0.6.1" - vue-template-es2015-compiler "^1.8.2" + vue-template-es2015-compiler "^1.9.0" "@vue/server-test-utils@^1.0.0-beta.29": version "1.0.0-beta.29" @@ -1780,9 +1780,9 @@ ajv-keywords@^3.1.0: integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw== ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1: - version "6.9.1" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz#a4d3683d74abc5670e75f0b16520f70a20ea8dc1" - integrity sha512-XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA== + version "6.9.2" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.9.2.tgz#4927adb83e7f48e5a32b45729744c71ec39c9c7b" + integrity sha512-4UFy0/LgDo7Oa/+wOAlj44tp9K78u38E5/359eSrqEp1Z5PdVfimCcs7SluXMP755RUQu6d2b4AvF0R1C9RZjg== dependencies: fast-deep-equal "^2.0.1" fast-json-stable-stringify "^2.0.0" @@ -2050,12 +2050,12 @@ atob@^2.1.1: integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== autoprefixer@^9.4.2: - version "9.4.7" - resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.7.tgz#f997994f9a810eae47b38fa6d8a119772051c4ff" - integrity sha512-qS5wW6aXHkm53Y4z73tFGsUhmZu4aMPV9iHXYlF0c/wxjknXNHuj/1cIQb+6YH692DbJGGWcckAXX+VxKvahMA== + version "9.4.9" + resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.9.tgz#0d3eb86bc1d1228551abcf55220d6fd246b6cb31" + integrity sha512-OyUl7KvbGBoFQbGQu51hMywz1aaVeud/6uX8r1R1DNcqFvqGUUy6+BDHnAZE8s5t5JyEObaSw+O1DpAdjAmLuw== dependencies: - browserslist "^4.4.1" - caniuse-lite "^1.0.30000932" + browserslist "^4.4.2" + caniuse-lite "^1.0.30000939" normalize-range "^0.1.2" num2fraction "^1.2.2" postcss "^7.0.14" @@ -2375,14 +2375,14 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.3.5, browserslist@^4.4.1: - version "4.4.1" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.4.1.tgz#42e828954b6b29a7a53e352277be429478a69062" - integrity sha512-pEBxEXg7JwaakBXjATYw/D1YZh4QUSCX/Mnd/wnqSRPPSi1U39iDhDoKGoBUcraKdxDlrYqJxSI5nNvD+dWP2A== +browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.3.5, browserslist@^4.4.2: + version "4.4.2" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.4.2.tgz#6ea8a74d6464bb0bd549105f659b41197d8f0ba2" + integrity sha512-ISS/AIAiHERJ3d45Fz0AVYKkgcy+F/eJHzKEvv1j0wwKGKD9T3BrwKr/5g45L+Y4XIK5PlTqefHciRFcfE1Jxg== dependencies: - caniuse-lite "^1.0.30000929" - electron-to-chromium "^1.3.103" - node-releases "^1.1.3" + caniuse-lite "^1.0.30000939" + electron-to-chromium "^1.3.113" + node-releases "^1.1.8" bs-logger@0.x: version "0.2.6" @@ -2587,12 +2587,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000929, caniuse-lite@^1.0.30000932: - version "1.0.30000938" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000938.tgz#b64bf1427438df40183fce910fe24e34feda7a3f" - integrity sha512-ekW8NQ3/FvokviDxhdKLZZAx7PptXNwxKgXtnR5y+PR3hckwuP3yJ1Ir+4/c97dsHNqtAyfKUGdw8P4EYzBNgw== - -caniuse-lite@^1.0.30000939: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000939: version "1.0.30000939" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz#b9ab7ac9e861bf78840b80c5dfbc471a5cd7e679" integrity sha512-oXB23ImDJOgQpGjRv1tCtzAvJr4/OvrHi5SO2vUgB0g0xpdZZoA/BxfImiWfdwoYdUTtQrPsXsvYU/dmCSM8gg== @@ -2666,26 +2661,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4: - version "2.1.1" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.1.tgz#adc39ad55a2adf26548bd2afa048f611091f9184" - integrity sha512-gfw3p2oQV2wEt+8VuMlNsPjCxDxvvgnm/kz+uATu805mWVF8IJN7uz9DN7iBz+RMJISmiVbCOBFs9qBGMjtPfQ== - 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.0" - optionalDependencies: - fsevents "^1.2.7" - -chokidar@^2.1.2: +chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz#9c23ea40b01638439e0513864d362aeacc5ad058" integrity sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg== @@ -2804,7 +2780,7 @@ co@^4.6.0: resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -coa@~2.0.1: +coa@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3" integrity sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA== @@ -2870,11 +2846,6 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.2" -colors@~1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" - integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM= - columnify@^1.5.4: version "1.5.4" resolved "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" @@ -2929,11 +2900,11 @@ component-emitter@^1.2.1: integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= compressible@~2.0.14: - version "2.0.15" - resolved "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz#857a9ab0a7e5a07d8d837ed43fe2defff64fe212" - integrity sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw== + version "2.0.16" + resolved "https://registry.npmjs.org/compressible/-/compressible-2.0.16.tgz#a49bf9858f3821b64ce1be0296afc7380466a77f" + integrity sha512-JQfEOdnI7dASwCuSPWIeVYwc/zMsu/+tRhoUvEfXz2gxOA2DNjmG5vhtFdBlhWPPGo+RdT9S3tgc/uH5qgDiiA== dependencies: - mime-db ">= 1.36.0 < 2" + mime-db ">= 1.38.0 < 2" compression@^1.7.3: version "1.7.3" @@ -2981,18 +2952,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0: - version "2.4.1" - resolved "https://registry.npmjs.org/consola/-/consola-2.4.1.tgz#ad7209c306a2b6fa955b776f88f87bf92f491aa8" - integrity sha512-j6bIzpmyRGY2TDZVkAi3DM95CgC8hWx1A7AiJdyn4X5gls1bbpXIMpn3p8QsfaNu+ycNLXP+2DwKb47FXjw1ww== - dependencies: - chalk "^2.4.2" - dayjs "^1.8.3" - figures "^2.0.0" - std-env "^2.2.1" - string-width "^3.0.0" - -consola@^2.5.4: +consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.4: version "2.5.4" resolved "https://registry.npmjs.org/consola/-/consola-2.5.4.tgz#127627375ca45a1d507223dee770aba17cb991f7" integrity sha512-4XX27fEcMgE0RDI9E4Dl0jYZm5IBFfpb4HlDMj0mgeULjj/hKXEjaDZEzQho0A8O6Cb3kiVnz2Tr9YfmGo2DNw== @@ -3321,7 +3281,7 @@ css-prefers-color-scheme@^3.1.1: dependencies: postcss "^7.0.5" -css-select-base-adapter@~0.1.0: +css-select-base-adapter@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7" integrity sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w== @@ -3479,7 +3439,7 @@ cssnano@^4.1.0, cssnano@^4.1.10: is-resolvable "^1.0.0" postcss "^7.0.0" -csso@^3.5.0: +csso@^3.5.1: version "3.5.1" resolved "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b" integrity sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg== @@ -3548,11 +3508,6 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -dayjs@^1.8.3: - version "1.8.6" - resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.8.6.tgz#b7a8ccfef173dae03e83a05a58788c9dbe948a35" - integrity sha512-NLhaSS1/wWLRFy0Kn/VmsAExqll2zxRUPmPbqJoeMKQrFxG+RT94VMSE+cVljB6A76/zZkR0Xub4ihTHQ5HgGg== - de-indent@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -3775,7 +3730,7 @@ doctypes@^1.1.0: resolved "https://registry.npmjs.org/doctypes/-/doctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9" integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk= -dom-converter@~0.2: +dom-converter@^0.2: version "0.2.0" resolved "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" integrity sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA== @@ -3812,13 +3767,6 @@ domexception@^1.0.1: dependencies: webidl-conversions "^4.0.2" -domhandler@2.1: - version "2.1.0" - resolved "https://registry.npmjs.org/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594" - integrity sha1-0mRvXlf2w7qxHPbLBdPArPdBJZQ= - dependencies: - domelementtype "1" - domhandler@^2.3.0: version "2.4.2" resolved "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" @@ -3826,13 +3774,6 @@ domhandler@^2.3.0: dependencies: domelementtype "1" -domutils@1.1: - version "1.1.6" - resolved "https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz#bddc3de099b9a2efacc51c623f28f416ecc57485" - integrity sha1-vdw94Jm5ou+sxRxiPyj0FuzFdIU= - dependencies: - domelementtype "1" - domutils@1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" @@ -3896,7 +3837,7 @@ ejs@^2.6.1: resolved "https://registry.npmjs.org/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== -electron-to-chromium@^1.3.103: +electron-to-chromium@^1.3.113: version "1.3.113" resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.113.tgz#b1ccf619df7295aea17bc6951dc689632629e4a9" integrity sha512-De+lPAxEcpxvqPTyZAXELNpRZXABRxf+uL/rSykstQhzj/B0l1150G/ExIIxKc16lI89Hgz81J0BHAcbTqK49g== @@ -4044,9 +3985,9 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= escodegen@^1.11.0, escodegen@^1.9.1: - version "1.11.0" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589" - integrity sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw== + version "1.11.1" + resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.11.1.tgz#c485ff8d6b4cdb89e27f4a856e91f118401ca510" + integrity sha512-JwiqFD9KdGVVpeuRa68yU3zZnBEOcPs0nKW7wZzXky8Z7tffdYUHbe11bPCV5jYlK6DVdKLWLm0f5I/QlL0Kmw== dependencies: esprima "^3.1.3" estraverse "^4.2.0" @@ -5197,7 +5138,7 @@ html-webpack-plugin@^3.2.0: toposort "^1.0.0" util.promisify "1.0.0" -htmlparser2@^3.9.1: +htmlparser2@^3.3.0, htmlparser2@^3.9.1: version "3.10.1" resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ== @@ -5209,16 +5150,6 @@ htmlparser2@^3.9.1: inherits "^2.0.1" readable-stream "^3.1.1" -htmlparser2@~3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz#cc70d05a59f6542e43f0e685c982e14c924a9efe" - integrity sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4= - dependencies: - domelementtype "1" - domhandler "2.1" - domutils "1.1" - readable-stream "1.0" - http-cache-semantics@^3.8.1: version "3.8.1" resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" @@ -5761,11 +5692,6 @@ is-wsl@^1.1.0: resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= - isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -6914,7 +6840,7 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -"mime-db@>= 1.36.0 < 2", mime-db@~1.38.0: +"mime-db@>= 1.38.0 < 2", mime-db@~1.38.0: version "1.38.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== @@ -7245,10 +7171,10 @@ node-pre-gyp@^0.10.0: semver "^5.3.0" tar "^4" -node-releases@^1.1.3: - version "1.1.7" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.7.tgz#b09a10394d0ed8f7778f72bb861dde68b146303b" - integrity sha512-bKdrwaqJUPHqlCzDD7so/R+Nk0jGv9a11ZhLrD9f6i947qGLrGAhU3OxRENa19QQmwzGy/g6zCDEuLGDO8HPvA== +node-releases@^1.1.8: + version "1.1.8" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.8.tgz#32a63fff63c5e51b7e0f540ac95947d220fc6862" + integrity sha512-gQm+K9mGCiT/NXHy+V/ZZS1N/LOaGGqRAAJJs3X9Ah1g+CIbRcBgNyoNYQ+SEtcyAtB9KqDruu+fF7nWjsqRaA== dependencies: semver "^5.3.0" @@ -7334,9 +7260,9 @@ npm-lifecycle@^2.1.0: validate-npm-package-name "^3.0.0" npm-packlist@^1.1.12, npm-packlist@^1.1.6: - version "1.3.0" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.3.0.tgz#7f01e8e44408341379ca98cfd756e7b29bd2626c" - integrity sha512-qPBc6CnxEzpOcc4bjoIBJbYdy0D/LFFPUdxvfwor4/w3vxeE0h6TiOVurCEPpQ6trjN77u/ShyfeJGsbAfB3dA== + version "1.4.1" + resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz#19064cdf988da80ea3cee45533879d90192bbfbc" + integrity sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -7397,9 +7323,9 @@ number-is-nan@^1.0.0: integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= nwsapi@^2.0.7, nwsapi@^2.0.9: - version "2.1.0" - resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.0.tgz#781065940aed90d9bb01ca5d0ce0fcf81c32712f" - integrity sha512-ZG3bLAvdHmhIjaQ/Db1qvBxsGvFMLIRpQszyqbg31VJ53UP++uZX1/gf3Ut96pdwN9AuDwlMqIYLm0UPCdUeHg== + version "2.1.1" + resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.1.tgz#08d6d75e69fd791bdea31507ffafe8c843b67e9c" + integrity sha512-T5GaA1J/d34AC8mkrFD2O0DR17kwJ702ZOtJOsS8RpbsQZVOC2/xYFb1i/cw+xdM54JIlMuojjDOYct8GIWtwg== oauth-sign@~0.9.0: version "0.9.0" @@ -7457,7 +7383,7 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.0.4: +object.values@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9" integrity sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg== @@ -7479,16 +7405,11 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -on-headers@^1.0.2: +on-headers@^1.0.2, on-headers@~1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== -on-headers@~1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" - integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c= - once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -7666,9 +7587,9 @@ p-waterfall@^1.0.0: p-reduce "^1.0.0" pacote@^9.4.1: - version "9.4.1" - resolved "https://registry.npmjs.org/pacote/-/pacote-9.4.1.tgz#f0af2a52d241bce523d39280ac810c671db62279" - integrity sha512-YKSRsQqmeHxgra0KCdWA2FtVxDPUlBiCdmew+mSe44pzlx5t1ViRMWiQg18T+DREA+vSqYfKzynaToFR4hcKHw== + version "9.5.0" + resolved "https://registry.npmjs.org/pacote/-/pacote-9.5.0.tgz#85f3013a3f6dd51c108b0ccabd3de8102ddfaeda" + integrity sha512-aUplXozRbzhaJO48FaaeClmN+2Mwt741MC6M3bevIGZwdCaP7frXzbUOfOWa91FPHoLITzG0hYaKY363lxO3bg== dependencies: bluebird "^3.5.3" cacache "^11.3.2" @@ -8926,9 +8847,9 @@ quick-lru@^1.0.0: integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.0.6" - resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" - integrity sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A== + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" @@ -9081,16 +9002,6 @@ read@1, read@~1.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@1.0: - version "1.0.34" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - readable-stream@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz#ed6bbc6c5ba58b090039ff18ce670515795aeb06" @@ -9165,9 +9076,9 @@ regenerator-runtime@^0.12.0: integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== regenerator-transform@^0.13.3: - version "0.13.3" - resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz#264bd9ff38a8ce24b06e0636496b2c856b57bcbb" - integrity sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA== + version "0.13.4" + resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.4.tgz#18f6763cf1382c69c36df76c6ce122cc694284fb" + integrity sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A== dependencies: private "^0.1.6" @@ -9180,9 +9091,9 @@ regex-not@^1.0.0, regex-not@^1.0.2: safe-regex "^1.1.0" regexp-tree@^0.1.0: - version "0.1.4" - resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.4.tgz#b8b231ba3dc5680f8540c2b9526d3dc46f0278e1" - integrity sha512-DohP6WXzgrc7gFs9GsTQgigUfMXZqXkPk+20qkMF6YCy0Qk0FsHL1/KtxTycGR/62DHRtJ1MHQF2g8YzywP4kA== + version "0.1.5" + resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.5.tgz#7cd71fca17198d04b4176efd79713f2998009397" + integrity sha512-nUmxvfJyAODw+0B13hj8CFVAxhe7fDEAgJgaotBu3nnR+IgGgZq59YedJP5VYTlkEfqjuK6TuRpnymKdatLZfQ== regexpp@^2.0.1: version "2.0.1" @@ -9245,13 +9156,13 @@ remove-trailing-separator@^1.0.1: integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= renderkid@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/renderkid/-/renderkid-2.0.2.tgz#12d310f255360c07ad8fde253f6c9e9de372d2aa" - integrity sha512-FsygIxevi1jSiPY9h7vZmBFUbAOcbYm9UwyiLNdVsLRs/5We9Ob5NMPbGYUTWiLq5L+ezlVdE0A8bbME5CWTpg== + version "2.0.3" + resolved "https://registry.npmjs.org/renderkid/-/renderkid-2.0.3.tgz#380179c2ff5ae1365c522bf2fcfcff01c5b74149" + integrity sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA== dependencies: css-select "^1.1.0" - dom-converter "~0.2" - htmlparser2 "~3.3.0" + dom-converter "^0.2" + htmlparser2 "^3.3.0" strip-ansi "^3.0.0" utila "^0.4.0" @@ -9557,9 +9468,9 @@ sax@^1.2.4, sax@~1.2.4: integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== saxes@^3.1.5: - version "3.1.6" - resolved "https://registry.npmjs.org/saxes/-/saxes-3.1.6.tgz#2d948a47b54918516c5a64096f08865deb5bd8cd" - integrity sha512-LAYs+lChg1v5uKNzPtsgTxSS5hLo8aIhSMCJt1WMpefAxm3D1RTpMwSpb6ebdL31cubiLTnhokVktBW+cv9Y9w== + version "3.1.9" + resolved "https://registry.npmjs.org/saxes/-/saxes-3.1.9.tgz#c1c197cd54956d88c09f960254b999e192d7058b" + integrity sha512-FZeKhJglhJHk7eWG5YM0z46VHmI3KJpMBAQm3xa9meDvd+wevB5GuBB0wc0exPInZiBBHqi00DbS8AcvCGCFMw== dependencies: xmlchars "^1.3.1" @@ -9933,7 +9844,7 @@ ssri@^6.0.0, ssri@^6.0.1: dependencies: figgy-pudding "^3.5.1" -stable@~0.1.6: +stable@^0.1.8: version "0.1.8" resolved "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== @@ -10061,11 +9972,6 @@ string_decoder@^1.0.0, string_decoder@^1.1.1: dependencies: safe-buffer "~5.1.0" -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -10182,22 +10088,22 @@ svg-tags@^1.0.0: integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q= svgo@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/svgo/-/svgo-1.1.1.tgz#12384b03335bcecd85cfa5f4e3375fed671cb985" - integrity sha512-GBkJbnTuFpM4jFbiERHDWhZc/S/kpHToqmZag3aEBjPYK44JAN2QBjvrGIxLOoCyMZjuFQIfTO2eJd8uwLY/9g== + version "1.2.0" + resolved "https://registry.npmjs.org/svgo/-/svgo-1.2.0.tgz#305a8fc0f4f9710828c65039bb93d5793225ffc3" + integrity sha512-xBfxJxfk4UeVN8asec9jNxHiv3UAMv/ujwBWGYvQhhMb2u3YTGKkiybPcLFDLq7GLLWE9wa73e0/m8L5nTzQbw== dependencies: - coa "~2.0.1" - colors "~1.1.2" + chalk "^2.4.1" + coa "^2.0.2" css-select "^2.0.0" - css-select-base-adapter "~0.1.0" + css-select-base-adapter "^0.1.1" css-tree "1.0.0-alpha.28" css-url-regex "^1.1.0" - csso "^3.5.0" + csso "^3.5.1" js-yaml "^3.12.0" mkdirp "~0.5.1" - object.values "^1.0.4" + object.values "^1.1.0" sax "~1.2.4" - stable "~0.1.6" + stable "^0.1.8" unquote "~1.1.1" util.promisify "~1.0.0" @@ -10281,21 +10187,7 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@^1.1.0: - version "1.2.2" - resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.2.tgz#9bff3a891ad614855a7dde0d707f7db5a927e3d9" - integrity sha512-1DMkTk286BzmfylAvLXwpJrI7dWa5BnFmscV/2dCr8+c56egFcbaeFAl7+sujAjdmpLam21XRdhA4oifLyiWWg== - dependencies: - cacache "^11.0.2" - find-cache-dir "^2.0.0" - schema-utils "^1.0.0" - serialize-javascript "^1.4.0" - source-map "^0.6.1" - terser "^3.16.1" - webpack-sources "^1.1.0" - worker-farm "^1.5.2" - -terser-webpack-plugin@^1.2.3: +terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.3.tgz#3f98bc902fac3e5d0de730869f50668561262ec8" integrity sha512-GOK7q85oAb/5kE12fMuLdn2btOS9OBZn4VsecpHDywoUC/jLhSAKOiYo0ezx7ss2EXPMzyEWFoE0s1WLE+4+oA== @@ -10907,9 +10799,9 @@ vue-eslint-parser@^5.0.0: lodash "^4.17.11" vue-hot-reload-api@^2.3.0: - version "2.3.2" - resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.2.tgz#1fcc1495effe08a790909b46bf7b5c4cfeb6f21b" - integrity sha512-NpznMQoe/DzMG7nJjPkJKT7FdEn9xXfnntG7POfTmqnSaza97ylaBf1luZDh4IgV+vgUoR//id5pf8Ru+Ym+0g== + version "2.3.3" + resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.3.tgz#2756f46cb3258054c5f4723de8ae7e87302a1ccf" + integrity sha512-KmvZVtmM26BQOMK1rwUZsrqxEGeKiYSZGA7SNWE6uExx8UX/cj9hq2MRV/wWC3Cq6AoeDGk57rL9YMFRel/q+g== vue-jest@^4.0.0-beta.2: version "4.0.0-beta.2" @@ -10991,10 +10883,10 @@ vue-template-compiler@^2.6.7: de-indent "^1.0.2" he "^1.1.0" -vue-template-es2015-compiler@^1.8.2: - version "1.8.2" - resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a" - integrity sha512-cliV19VHLJqFUYbz/XeWXe5CO6guzwd0yrrqqp0bmjlMP3ZZULY7fu8RTC4+3lmHwo6ESVDHFDsvjB15hcR5IA== +vue-template-es2015-compiler@^1.9.0: + version "1.9.1" + resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" + integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== vue@^2.6.7: version "2.6.7" From 27a201ca54d5eca6e154a04da5f6b562476ef707 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 25 Feb 2019 21:24:39 +0330 Subject: [PATCH 114/221] chore(deps): update dependency consola to ^2.5.5 (#5106) --- package.json | 2 +- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/package.json | 2 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 7 ++++++- 12 files changed, 17 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 26402d6ddd..19821d7393 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.2.0", - "consola": "^2.5.4", + "consola": "^2.5.5", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.14.1", diff --git a/packages/builder/package.json b/packages/builder/package.json index a17b8e5aad..92e0c7843a 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", "chokidar": "^2.1.2", - "consola": "^2.5.4", + "consola": "^2.5.5", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 35642f73e9..26fa34b150 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@nuxt/config": "2.4.3", "boxen": "^3.0.0", "chalk": "^2.4.2", - "consola": "^2.5.4", + "consola": "^2.5.5", "esm": "^3.2.6", "execa": "^1.0.0", "exit": "^0.1.2", diff --git a/packages/config/package.json b/packages/config/package.json index 9cfacba2e1..aecfab13dc 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -9,7 +9,7 @@ "main": "dist/config.js", "dependencies": { "@nuxt/utils": "2.4.3", - "consola": "^2.5.4", + "consola": "^2.5.5", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index 8b70de42c7..d5920b7d76 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "@nuxt/server": "2.4.3", "@nuxt/utils": "2.4.3", "@nuxt/vue-renderer": "2.4.3", - "consola": "^2.5.4", + "consola": "^2.5.5", "debug": "^4.1.1", "esm": "^3.2.6", "fs-extra": "^7.0.1", diff --git a/packages/generator/package.json b/packages/generator/package.json index 9d4b87036e..b8f4369ef1 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.3", "chalk": "^2.4.2", - "consola": "^2.5.4", + "consola": "^2.5.5", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index afe4c9e104..dd95c36984 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.3", "connect": "^3.6.6", - "consola": "^2.5.4", + "consola": "^2.5.5", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 7f1961ff95..54bbe0609a 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/node": "^10.12.27", "chalk": "^2.4.2", - "consola": "^2.5.4", + "consola": "^2.5.5", "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index e0dc6051fe..b221ab90e5 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.5.4", + "consola": "^2.5.5", "serialize-javascript": "^1.6.1" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index f8ad9bc6c1..26b5d531a9 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", - "consola": "^2.5.4", + "consola": "^2.5.5", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.7", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 5690da9685..923f6f7884 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -17,7 +17,7 @@ "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000939", "chalk": "^2.4.2", - "consola": "^2.5.4", + "consola": "^2.5.5", "css-loader": "^2.1.0", "cssnano": "^4.1.10", "eventsource-polyfill": "^0.9.6", diff --git a/yarn.lock b/yarn.lock index f4c9073752..855bb4ad31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2952,11 +2952,16 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.4: +consola@^2.0.0-1, consola@^2.3.0: version "2.5.4" resolved "https://registry.npmjs.org/consola/-/consola-2.5.4.tgz#127627375ca45a1d507223dee770aba17cb991f7" integrity sha512-4XX27fEcMgE0RDI9E4Dl0jYZm5IBFfpb4HlDMj0mgeULjj/hKXEjaDZEzQho0A8O6Cb3kiVnz2Tr9YfmGo2DNw== +consola@^2.5.5: + version "2.5.5" + resolved "https://registry.npmjs.org/consola/-/consola-2.5.5.tgz#d7296a3fcdf6d82827c4d5344ce4fa02d0e627d8" + integrity sha512-XCT5Ddy5SwUFYo0v5LSpuVSDlD+raLqVd9Pi1NAuH5Ldg6WHhrehIHHqm+3m27t0jo4/tlTwdKCtwfKfGVwilA== + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" From e2bdaa3880683ce6ad0c4cb66ab168aa01c2db3e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 25 Feb 2019 22:10:29 +0330 Subject: [PATCH 115/221] chore(deps): update dependency consola to ^2.5.6 (#5107) --- package.json | 2 +- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/package.json | 2 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 19821d7393..3636e8e697 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.2.0", - "consola": "^2.5.5", + "consola": "^2.5.6", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.14.1", diff --git a/packages/builder/package.json b/packages/builder/package.json index 92e0c7843a..cfe9c76bb1 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.3", "@nuxt/vue-app": "2.4.3", "chokidar": "^2.1.2", - "consola": "^2.5.5", + "consola": "^2.5.6", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 26fa34b150..5ff8b33aff 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@nuxt/config": "2.4.3", "boxen": "^3.0.0", "chalk": "^2.4.2", - "consola": "^2.5.5", + "consola": "^2.5.6", "esm": "^3.2.6", "execa": "^1.0.0", "exit": "^0.1.2", diff --git a/packages/config/package.json b/packages/config/package.json index aecfab13dc..19c54d528c 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -9,7 +9,7 @@ "main": "dist/config.js", "dependencies": { "@nuxt/utils": "2.4.3", - "consola": "^2.5.5", + "consola": "^2.5.6", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index d5920b7d76..c4f0921d67 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "@nuxt/server": "2.4.3", "@nuxt/utils": "2.4.3", "@nuxt/vue-renderer": "2.4.3", - "consola": "^2.5.5", + "consola": "^2.5.6", "debug": "^4.1.1", "esm": "^3.2.6", "fs-extra": "^7.0.1", diff --git a/packages/generator/package.json b/packages/generator/package.json index b8f4369ef1..863c13fa72 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.3", "chalk": "^2.4.2", - "consola": "^2.5.5", + "consola": "^2.5.6", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index dd95c36984..0f48507655 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.3", "connect": "^3.6.6", - "consola": "^2.5.5", + "consola": "^2.5.6", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 54bbe0609a..461c93ebe7 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/node": "^10.12.27", "chalk": "^2.4.2", - "consola": "^2.5.5", + "consola": "^2.5.6", "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index b221ab90e5..66c7758b1e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.5.5", + "consola": "^2.5.6", "serialize-javascript": "^1.6.1" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 26b5d531a9..8ea1f3c9cf 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.0", "@nuxt/utils": "2.4.3", - "consola": "^2.5.5", + "consola": "^2.5.6", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.7", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 923f6f7884..e6188d8fe5 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -17,7 +17,7 @@ "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000939", "chalk": "^2.4.2", - "consola": "^2.5.5", + "consola": "^2.5.6", "css-loader": "^2.1.0", "cssnano": "^4.1.10", "eventsource-polyfill": "^0.9.6", diff --git a/yarn.lock b/yarn.lock index 855bb4ad31..7a63ce79d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2957,10 +2957,10 @@ consola@^2.0.0-1, consola@^2.3.0: resolved "https://registry.npmjs.org/consola/-/consola-2.5.4.tgz#127627375ca45a1d507223dee770aba17cb991f7" integrity sha512-4XX27fEcMgE0RDI9E4Dl0jYZm5IBFfpb4HlDMj0mgeULjj/hKXEjaDZEzQho0A8O6Cb3kiVnz2Tr9YfmGo2DNw== -consola@^2.5.5: - version "2.5.5" - resolved "https://registry.npmjs.org/consola/-/consola-2.5.5.tgz#d7296a3fcdf6d82827c4d5344ce4fa02d0e627d8" - integrity sha512-XCT5Ddy5SwUFYo0v5LSpuVSDlD+raLqVd9Pi1NAuH5Ldg6WHhrehIHHqm+3m27t0jo4/tlTwdKCtwfKfGVwilA== +consola@^2.5.6: + version "2.5.6" + resolved "https://registry.npmjs.org/consola/-/consola-2.5.6.tgz#5ce14dbaf6f5b589c8a258ef80ed97b752fa57d5" + integrity sha512-DN0j6ewiNWkT09G3ZoyyzN3pSYrjxWcx49+mHu+oDI5dvW5vzmyuzYsqGS79+yQserH9ymJQbGzeqUejfssr8w== console-browserify@^1.1.0: version "1.1.0" From 9bf3b32a7b76835070681ca048bdb9601962fbe5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 25 Feb 2019 23:01:30 +0330 Subject: [PATCH 116/221] chore(deps): update babel to ^7.3.4 (#5108) --- distributions/nuxt-legacy/package.json | 4 +- package.json | 4 +- packages/babel-preset-app/package.json | 10 +- packages/webpack/package.json | 2 +- yarn.lock | 186 ++++++++++++++++++------- 5 files changed, 144 insertions(+), 62 deletions(-) diff --git a/distributions/nuxt-legacy/package.json b/distributions/nuxt-legacy/package.json index 98f4ba3a7f..cfa95f6dcf 100644 --- a/distributions/nuxt-legacy/package.json +++ b/distributions/nuxt-legacy/package.json @@ -50,9 +50,9 @@ ], "bin": "bin/nuxt-legacy.js", "dependencies": { - "@babel/core": "^7.3.3", + "@babel/core": "^7.3.4", "@babel/polyfill": "^7.2.5", - "@babel/preset-env": "^7.3.1", + "@babel/preset-env": "^7.3.4", "@babel/register": "^7.0.0", "@nuxt/builder": "2.4.3", "@nuxt/cli": "2.4.3", diff --git a/package.json b/package.json index 3636e8e697..9f070447b2 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "release": "./scripts/release" }, "devDependencies": { - "@babel/core": "^7.3.3", - "@babel/preset-env": "^7.3.1", + "@babel/core": "^7.3.4", + "@babel/preset-env": "^7.3.4", "@nuxtjs/eslint-config": "^0.0.1", "@vue/server-test-utils": "^1.0.0-beta.29", "@vue/test-utils": "^1.0.0-beta.29", diff --git a/packages/babel-preset-app/package.json b/packages/babel-preset-app/package.json index f51101b123..d17aa0e319 100644 --- a/packages/babel-preset-app/package.json +++ b/packages/babel-preset-app/package.json @@ -10,13 +10,13 @@ ], "main": "src/index.js", "dependencies": { - "@babel/core": "^7.3.3", - "@babel/plugin-proposal-class-properties": "^7.3.3", + "@babel/core": "^7.3.4", + "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/plugin-proposal-decorators": "^7.3.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-transform-runtime": "^7.2.0", - "@babel/preset-env": "^7.3.1", - "@babel/runtime": "^7.3.1", + "@babel/plugin-transform-runtime": "^7.3.4", + "@babel/preset-env": "^7.3.4", + "@babel/runtime": "^7.3.4", "@vue/babel-preset-jsx": "^1.0.0-beta.2" }, "publishConfig": { diff --git a/packages/webpack/package.json b/packages/webpack/package.json index e6188d8fe5..d253eb90b9 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -8,7 +8,7 @@ ], "main": "dist/webpack.js", "dependencies": { - "@babel/core": "^7.3.3", + "@babel/core": "^7.3.4", "@babel/polyfill": "^7.2.5", "@nuxt/babel-preset-app": "2.4.3", "@nuxt/friendly-errors-webpack-plugin": "^2.4.0", diff --git a/yarn.lock b/yarn.lock index 7a63ce79d7..a93deca0b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,7 +9,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.1.0", "@babel/core@^7.3.3": +"@babel/core@^7.1.0": version "7.3.3" resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.3.tgz#d090d157b7c5060d05a05acaebc048bd2b037947" integrity sha512-w445QGI2qd0E0GlSnq6huRZWPMmQGCp5gd5ZWS4hagn0EiwzxD5QMFkpchyusAyVC1n27OKXzQ0/88aVU9n4xQ== @@ -29,6 +29,26 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.4.tgz#921a5a13746c21e32445bf0798680e9d11a6530b" + integrity sha512-jRsuseXBo9pN197KnDwhhaaBzyZr2oIcLHHTt2oDdQrej5Qp57dCCJafWx5ivU8/alEYDpssYqv1MUqcxwQlrA== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/generator" "^7.3.4" + "@babel/helpers" "^7.2.0" + "@babel/parser" "^7.3.4" + "@babel/template" "^7.2.2" + "@babel/traverse" "^7.3.4" + "@babel/types" "^7.3.4" + convert-source-map "^1.1.0" + debug "^4.1.0" + json5 "^2.1.0" + lodash "^4.17.11" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/generator@^7.0.0", "@babel/generator@^7.2.2", "@babel/generator@^7.3.3": version "7.3.3" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.3.tgz#185962ade59a52e00ca2bdfcfd1d58e528d4e39e" @@ -40,6 +60,17 @@ source-map "^0.5.0" trim-right "^1.0.1" +"@babel/generator@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.4.tgz#9aa48c1989257877a9d971296e5b73bfe72e446e" + integrity sha512-8EXhHRFqlVVWXPezBW5keTiQi/rJMQTg/Y9uVCEZ0CAF3PKtCCaVRnp64Ii1ujhkoDhhF1fVsImoN4yJ2uz4Wg== + dependencies: + "@babel/types" "^7.3.4" + jsesc "^2.5.1" + lodash "^4.17.11" + source-map "^0.5.0" + trim-right "^1.0.1" + "@babel/helper-annotate-as-pure@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32" @@ -75,6 +106,18 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.2.3" +"@babel/helper-create-class-features-plugin@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.4.tgz#092711a7a3ad8ea34de3e541644c2ce6af1f6f0c" + integrity sha512-uFpzw6L2omjibjxa8VGZsJUPL5wJH0zzGKpoz0ccBkzIa6C8kWNUbiBmQ0rgOKWlHJ6qzmfa6lTiGchiV8SC+g== + dependencies: + "@babel/helper-function-name" "^7.1.0" + "@babel/helper-member-expression-to-functions" "^7.0.0" + "@babel/helper-optimise-call-expression" "^7.0.0" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-replace-supers" "^7.3.4" + "@babel/helper-split-export-declaration" "^7.0.0" + "@babel/helper-define-map@^7.1.0": version "7.1.0" resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz#3b74caec329b3c80c116290887c0dd9ae468c20c" @@ -181,6 +224,16 @@ "@babel/traverse" "^7.2.3" "@babel/types" "^7.0.0" +"@babel/helper-replace-supers@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.3.4.tgz#a795208e9b911a6eeb08e5891faacf06e7013e13" + integrity sha512-pvObL9WVf2ADs+ePg0jrqlhHoxRXlOa+SHRHzAXIz2xkYuOHfGl+fKxPMaS4Fq+uje8JQPobnertBBvyrWnQ1A== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.0.0" + "@babel/helper-optimise-call-expression" "^7.0.0" + "@babel/traverse" "^7.3.4" + "@babel/types" "^7.3.4" + "@babel/helper-simple-access@^7.1.0": version "7.1.0" resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz#65eeb954c8c245beaa4e859da6188f39d71e585c" @@ -229,6 +282,11 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.3.tgz#092d450db02bdb6ccb1ca8ffd47d8774a91aef87" integrity sha512-xsH1CJoln2r74hR+y7cg2B5JCPaTh+Hd+EbBRk9nWGSNspuo6krjhX0Om6RnRQuIvFq8wVXCLKH3kwKDYhanSg== +"@babel/parser@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.4.tgz#a43357e4bbf4b92a437fb9e465c192848287f27c" + integrity sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ== + "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz#b289b306669dce4ad20b0252889a15768c9d417e" @@ -238,12 +296,12 @@ "@babel/helper-remap-async-to-generator" "^7.1.0" "@babel/plugin-syntax-async-generators" "^7.2.0" -"@babel/plugin-proposal-class-properties@^7.3.3": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.3.tgz#e69ee114a834a671293ace001708cc1682ed63f9" - integrity sha512-XO9eeU1/UwGPM8L+TjnQCykuVcXqaO5J1bkRPIygqZ/A2L1xVMJ9aZXrY31c0U4H2/LHKL4lbFQLsxktSrc/Ng== +"@babel/plugin-proposal-class-properties@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.4.tgz#410f5173b3dc45939f9ab30ca26684d72901405e" + integrity sha512-lUf8D3HLs4yYlAo8zjuneLvfxN7qfKv1Yzbj5vjqaqMJxgJA3Ipwp4VUJ+OrOdz53Wbww6ahwB8UhB2HQyLotA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.3.0" + "@babel/helper-create-class-features-plugin" "^7.3.4" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-decorators@^7.3.0": @@ -263,10 +321,10 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-json-strings" "^7.2.0" -"@babel/plugin-proposal-object-rest-spread@^7.3.1": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz#6d1859882d4d778578e41f82cc5d7bf3d5daf6c1" - integrity sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA== +"@babel/plugin-proposal-object-rest-spread@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.4.tgz#47f73cf7f2a721aad5c0261205405c642e424654" + integrity sha512-j7VQmbbkA+qrzNqbKHrBsW3ddFnOeva6wzSe/zB7T+xaxGc+RCpwo44wCmRixAIGRoIpmVgvzFzNJqQcO3/9RA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -344,10 +402,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-async-to-generator@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.2.0.tgz#68b8a438663e88519e65b776f8938f3445b1a2ff" - integrity sha512-CEHzg4g5UraReozI9D4fblBYABs7IM6UerAVG7EJVrTLC5keh00aEuLUT+O40+mJCEzaXkYfTCUKIyeDfMOFFQ== +"@babel/plugin-transform-async-to-generator@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.3.4.tgz#4e45408d3c3da231c0e7b823f407a53a7eb3048c" + integrity sha512-Y7nCzv2fw/jEZ9f678MuKdMo99MFDJMT/PvD9LisrR5JDFcJH6vYeH6RnjVt3p5tceyGRvTtEN0VOlU+rgHZjA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -360,25 +418,25 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-block-scoping@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.2.0.tgz#f17c49d91eedbcdf5dd50597d16f5f2f770132d4" - integrity sha512-vDTgf19ZEV6mx35yiPJe4fS02mPQUUcBNwWQSZFXSzTSbsJFQvHt7DqyS3LK8oOWALFOsJ+8bbqBgkirZteD5Q== +"@babel/plugin-transform-block-scoping@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.3.4.tgz#5c22c339de234076eee96c8783b2fed61202c5c4" + integrity sha512-blRr2O8IOZLAOJklXLV4WhcEzpYafYQKSGT3+R26lWG41u/FODJuBggehtOwilVAcFu393v3OFj+HmaE6tVjhA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" - lodash "^4.17.10" + lodash "^4.17.11" -"@babel/plugin-transform-classes@^7.2.0": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.3.tgz#a0532d6889c534d095e8f604e9257f91386c4b51" - integrity sha512-n0CLbsg7KOXsMF4tSTLCApNMoXk0wOPb0DYfsOO1e7SfIb9gOyfbpKI2MZ+AXfqvlfzq2qsflJ1nEns48Caf2w== +"@babel/plugin-transform-classes@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.4.tgz#dc173cb999c6c5297e0b5f2277fdaaec3739d0cc" + integrity sha512-J9fAvCFBkXEvBimgYxCjvaVDzL6thk0j0dBvCeZmIUDBwyt+nv6HfbImsSrWsYXfDNDivyANgJlFXDUWRTZBuA== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" "@babel/helper-define-map" "^7.1.0" "@babel/helper-function-name" "^7.1.0" "@babel/helper-optimise-call-expression" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.1.0" + "@babel/helper-replace-supers" "^7.3.4" "@babel/helper-split-export-declaration" "^7.0.0" globals "^11.1.0" @@ -459,10 +517,10 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-simple-access" "^7.1.0" -"@babel/plugin-transform-modules-systemjs@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.2.0.tgz#912bfe9e5ff982924c81d0937c92d24994bb9068" - integrity sha512-aYJwpAhoK9a+1+O625WIjvMY11wkB/ok0WClVwmeo3mCjcNRjt+/8gHWrB5i+00mUju0gWsBkQnPpdvQ7PImmQ== +"@babel/plugin-transform-modules-systemjs@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.3.4.tgz#813b34cd9acb6ba70a84939f3680be0eb2e58861" + integrity sha512-VZ4+jlGOF36S7TjKs8g4ojp4MEI+ebCQZdswWb/T9I4X84j8OtFAyjXjt/M16iIm5RIZn0UMQgg/VgIwo/87vw== dependencies: "@babel/helper-hoist-variables" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -506,17 +564,17 @@ "@babel/helper-get-function-arity" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-regenerator@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz#5b41686b4ed40bef874d7ed6a84bdd849c13e0c1" - integrity sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw== +"@babel/plugin-transform-regenerator@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.3.4.tgz#1601655c362f5b38eead6a52631f5106b29fa46a" + integrity sha512-hvJg8EReQvXT6G9H2MvNPXkv9zK36Vxa1+csAVTpE1J3j0zlHplw76uudEbJxgvqZzAq9Yh45FLD4pk5mKRFQA== dependencies: - regenerator-transform "^0.13.3" + regenerator-transform "^0.13.4" -"@babel/plugin-transform-runtime@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz#566bc43f7d0aedc880eaddbd29168d0f248966ea" - integrity sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw== +"@babel/plugin-transform-runtime@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.3.4.tgz#57805ac8c1798d102ecd75c03b024a5b3ea9b431" + integrity sha512-PaoARuztAdd5MgeVjAxnIDAIUet5KpogqaefQvPOmPYCxYoaPhautxDh3aO8a4xHsKgT/b9gSxR0BKK1MIewPA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -577,16 +635,16 @@ core-js "^2.5.7" regenerator-runtime "^0.12.0" -"@babel/preset-env@^7.3.1": - version "7.3.1" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.1.tgz#389e8ca6b17ae67aaf9a2111665030be923515db" - integrity sha512-FHKrD6Dxf30e8xgHQO0zJZpUPfVZg+Xwgz5/RdSWCbza9QLNk4Qbp40ctRoqDxml3O8RMzB1DU55SXeDG6PqHQ== +"@babel/preset-env@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.4.tgz#887cf38b6d23c82f19b5135298bdb160062e33e1" + integrity sha512-2mwqfYMK8weA0g0uBKOt4FE3iEodiHy9/CW0b+nWXcbL+pGzLx8ESYc+j9IIxr6LTDHWKgPm71i9smo02bw+gA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-async-generator-functions" "^7.2.0" "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.3.1" + "@babel/plugin-proposal-object-rest-spread" "^7.3.4" "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" "@babel/plugin-proposal-unicode-property-regex" "^7.2.0" "@babel/plugin-syntax-async-generators" "^7.2.0" @@ -594,10 +652,10 @@ "@babel/plugin-syntax-object-rest-spread" "^7.2.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.2.0" + "@babel/plugin-transform-async-to-generator" "^7.3.4" "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.2.0" - "@babel/plugin-transform-classes" "^7.2.0" + "@babel/plugin-transform-block-scoping" "^7.3.4" + "@babel/plugin-transform-classes" "^7.3.4" "@babel/plugin-transform-computed-properties" "^7.2.0" "@babel/plugin-transform-destructuring" "^7.2.0" "@babel/plugin-transform-dotall-regex" "^7.2.0" @@ -608,13 +666,13 @@ "@babel/plugin-transform-literals" "^7.2.0" "@babel/plugin-transform-modules-amd" "^7.2.0" "@babel/plugin-transform-modules-commonjs" "^7.2.0" - "@babel/plugin-transform-modules-systemjs" "^7.2.0" + "@babel/plugin-transform-modules-systemjs" "^7.3.4" "@babel/plugin-transform-modules-umd" "^7.2.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.3.0" "@babel/plugin-transform-new-target" "^7.0.0" "@babel/plugin-transform-object-super" "^7.2.0" "@babel/plugin-transform-parameters" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.0.0" + "@babel/plugin-transform-regenerator" "^7.3.4" "@babel/plugin-transform-shorthand-properties" "^7.2.0" "@babel/plugin-transform-spread" "^7.2.0" "@babel/plugin-transform-sticky-regex" "^7.2.0" @@ -639,10 +697,10 @@ pirates "^4.0.0" source-map-support "^0.5.9" -"@babel/runtime@^7.3.1": - version "7.3.1" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a" - integrity sha512-7jGW8ppV0ant637pIqAcFfQDDH1orEPGJb8aXfUozuCU3QqX7rX4DA8iwrbPrR1hcH0FTTHz47yQnk+bl5xHQA== +"@babel/runtime@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83" + integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g== dependencies: regenerator-runtime "^0.12.0" @@ -670,6 +728,21 @@ globals "^11.1.0" lodash "^4.17.10" +"@babel/traverse@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.3.4.tgz#1330aab72234f8dea091b08c4f8b9d05c7119e06" + integrity sha512-TvTHKp6471OYEcE/91uWmhR6PrrYywQntCHSaZ8CM8Vmp+pjAusal4nGB2WCCQd0rvI7nOMKn9GnbcvTUz3/ZQ== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/generator" "^7.3.4" + "@babel/helper-function-name" "^7.1.0" + "@babel/helper-split-export-declaration" "^7.0.0" + "@babel/parser" "^7.3.4" + "@babel/types" "^7.3.4" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.11" + "@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.3.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.3.tgz#6c44d1cdac2a7625b624216657d5bc6c107ab436" @@ -679,6 +752,15 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" +"@babel/types@^7.3.4": + version "7.3.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.4.tgz#bf482eaeaffb367a28abbf9357a94963235d90ed" + integrity sha512-WEkp8MsLftM7O/ty580wAmZzN1nDmCACc5+jFzUt+GUFNNIi3LdRlueYz0YIlmJhlZx1QYDMZL5vdWCL0fNjFQ== + dependencies: + esutils "^2.0.2" + lodash "^4.17.11" + to-fast-properties "^2.0.0" + "@csstools/convert-colors@^1.4.0": version "1.4.0" resolved "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" @@ -9080,7 +9162,7 @@ regenerator-runtime@^0.12.0: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== -regenerator-transform@^0.13.3: +regenerator-transform@^0.13.4: version "0.13.4" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.4.tgz#18f6763cf1382c69c36df76c6ce122cc694284fb" integrity sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A== From ee87f4ca82d1a645d75375bb2d3a8f2c7a823326 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Mon, 25 Feb 2019 21:04:42 +0100 Subject: [PATCH 117/221] fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites (#5080) --- packages/vue-app/template/router.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/vue-app/template/router.js b/packages/vue-app/template/router.js index d8c67c3492..c3b6d860d1 100644 --- a/packages/vue-app/template/router.js +++ b/packages/vue-app/template/router.js @@ -86,7 +86,21 @@ Vue.use(Router) const scrollBehavior = <%= serializeFunction(router.scrollBehavior) %> <% } else { %> if (process.client) { - window.history.scrollRestoration = 'manual' + if ('scrollRestoration' in window.history) { + window.history.scrollRestoration = 'manual' + + // reset scrollRestoration to auto when leaving page, allowing page reload + // and back-navigation from other pages to use the browser to restore the + // scrolling position. + window.addEventListener('beforeunload', () => { + window.history.scrollRestoration = 'auto' + }) + + // Setting scrollRestoration to manual again when returning to this page. + window.addEventListener('load', () => { + window.history.scrollRestoration = 'manual' + }) + } } const scrollBehavior = function (to, from, savedPosition) { // if the returned position is falsy or an empty object, From a6756a418810be31e85f49e993df9b3a5799917c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Lipu=C5=A1?= Date: Mon, 25 Feb 2019 21:05:11 +0100 Subject: [PATCH 118/221] fix(types): reflect chainlable NuxtLoading methods (#5104) --- packages/vue-app/types/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/vue-app/types/index.d.ts b/packages/vue-app/types/index.d.ts index 5b7cb48537..046f28d745 100644 --- a/packages/vue-app/types/index.d.ts +++ b/packages/vue-app/types/index.d.ts @@ -63,11 +63,11 @@ export interface ErrorParams { } export interface NuxtLoading extends Vue { - fail?(): void; - finish(): void; - increase?(num: number): void; - pause?(): void; - start(): void; + fail?(): NuxtLoading; + finish(): NuxtLoading; + increase?(num: number): NuxtLoading; + pause?(): NuxtLoading; + start(): NuxtLoading; } export interface NuxtApp extends Vue { From e0870bdb8c2ef654776c62631e95e5ff99df9f28 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 26 Feb 2019 12:40:05 +0330 Subject: [PATCH 119/221] chore(deps): update dependency rollup to ^1.3.0 (#5114) --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 9f070447b2..f562496e59 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.2.3", + "rollup": "^1.3.0", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", diff --git a/yarn.lock b/yarn.lock index a93deca0b1..6e5692526f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1496,7 +1496,7 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/node@*": +"@types/node@*", "@types/node@^11.9.5": version "11.9.5" resolved "https://registry.npmjs.org/@types/node/-/node-11.9.5.tgz#011eece9d3f839a806b63973e228f85967b79ed3" integrity sha512-vVjM0SVzgaOUpflq4GYBvCpozes8OgIIS5gVXVka+OfK3hvnkC1i93U8WiY2OtNE4XUWyyy/86Kf6e0IHTQw1Q== @@ -9480,13 +9480,13 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.2.3: - version "1.2.3" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.2.3.tgz#450bbbd9d3c2c9a17d23c9165cab7a659f91095a" - integrity sha512-hTWFogj/Z077imG9XRM1i43ffarWNToDgsqkU62eJRX4rJE213/c8+gUIf4xacfzytl0sjJZfCzzPQfZN7oIQg== +rollup@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.3.0.tgz#0ec4b14b3260142e7ec6968c8e0011415d50c2ae" + integrity sha512-QiT0wFmu0IzkGgT5LvzRK5hezHcJW8T9MQdvdC+FylrNpsprpz0gTOpcyY9iM6Sda1fD1SatwNutCxcQd3Y/Lg== dependencies: "@types/estree" "0.0.39" - "@types/node" "*" + "@types/node" "^11.9.5" acorn "^6.1.0" rsvp@^3.3.3: From 47dc297bd71f797113adb66149a810e0b1ce4a0b Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 26 Feb 2019 13:35:52 +0330 Subject: [PATCH 120/221] chore(deps): update @types/node to v11 --- packages/typescript/package.json | 2 +- yarn.lock | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 461c93ebe7..b010c95641 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^10.12.27", + "@types/node": "^11.9.5", "chalk": "^2.4.2", "consola": "^2.5.6", "enquirer": "^2.3.0", diff --git a/yarn.lock b/yarn.lock index 6e5692526f..287d557a14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1501,11 +1501,6 @@ resolved "https://registry.npmjs.org/@types/node/-/node-11.9.5.tgz#011eece9d3f839a806b63973e228f85967b79ed3" integrity sha512-vVjM0SVzgaOUpflq4GYBvCpozes8OgIIS5gVXVka+OfK3hvnkC1i93U8WiY2OtNE4XUWyyy/86Kf6e0IHTQw1Q== -"@types/node@^10.12.27": - version "10.12.27" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.27.tgz#eb3843f15d0ba0986cc7e4d734d2ee8b50709ef8" - integrity sha512-e9wgeY6gaY21on3ve0xAjgBVjGDWq/xUteK0ujsE53bUoxycMkqfnkUgMt6ffZtykZ5X12Mg3T7Pw4TRCObDKg== - "@types/q@^1.5.1": version "1.5.1" resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" From 1a437de99c5aba466613be969e7e5ae5f1b4d510 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 26 Feb 2019 13:39:19 +0330 Subject: [PATCH 121/221] chore: squash 2.x into dev --- yarn.lock | 102 +++++------------------------------------------------- 1 file changed, 8 insertions(+), 94 deletions(-) diff --git a/yarn.lock b/yarn.lock index 287d557a14..d0f3d53850 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,27 +9,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.1.0": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.3.tgz#d090d157b7c5060d05a05acaebc048bd2b037947" - integrity sha512-w445QGI2qd0E0GlSnq6huRZWPMmQGCp5gd5ZWS4hagn0EiwzxD5QMFkpchyusAyVC1n27OKXzQ0/88aVU9n4xQ== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.3.3" - "@babel/helpers" "^7.2.0" - "@babel/parser" "^7.3.3" - "@babel/template" "^7.2.2" - "@babel/traverse" "^7.2.2" - "@babel/types" "^7.3.3" - convert-source-map "^1.1.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.11" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/core@^7.3.4": +"@babel/core@^7.1.0", "@babel/core@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.4.tgz#921a5a13746c21e32445bf0798680e9d11a6530b" integrity sha512-jRsuseXBo9pN197KnDwhhaaBzyZr2oIcLHHTt2oDdQrej5Qp57dCCJafWx5ivU8/alEYDpssYqv1MUqcxwQlrA== @@ -49,18 +29,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.2.2", "@babel/generator@^7.3.3": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.3.tgz#185962ade59a52e00ca2bdfcfd1d58e528d4e39e" - integrity sha512-aEADYwRRZjJyMnKN7llGIlircxTCofm3dtV5pmY6ob18MSIuipHpA2yZWkPlycwu5HJcx/pADS3zssd8eY7/6A== - dependencies: - "@babel/types" "^7.3.3" - jsesc "^2.5.1" - lodash "^4.17.11" - source-map "^0.5.0" - trim-right "^1.0.1" - -"@babel/generator@^7.3.4": +"@babel/generator@^7.0.0", "@babel/generator@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.4.tgz#9aa48c1989257877a9d971296e5b73bfe72e446e" integrity sha512-8EXhHRFqlVVWXPezBW5keTiQi/rJMQTg/Y9uVCEZ0CAF3PKtCCaVRnp64Ii1ujhkoDhhF1fVsImoN4yJ2uz4Wg== @@ -95,18 +64,7 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-create-class-features-plugin@^7.3.0": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.2.tgz#ba1685603eb1c9f2f51c9106d5180135c163fe73" - integrity sha512-tdW8+V8ceh2US4GsYdNVNoohq5uVwOf9k6krjwW4E1lINcHgttnWcNqgdoessn12dAy8QkbezlbQh2nXISNY+A== - dependencies: - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-member-expression-to-functions" "^7.0.0" - "@babel/helper-optimise-call-expression" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.2.3" - -"@babel/helper-create-class-features-plugin@^7.3.4": +"@babel/helper-create-class-features-plugin@^7.3.0", "@babel/helper-create-class-features-plugin@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.4.tgz#092711a7a3ad8ea34de3e541644c2ce6af1f6f0c" integrity sha512-uFpzw6L2omjibjxa8VGZsJUPL5wJH0zzGKpoz0ccBkzIa6C8kWNUbiBmQ0rgOKWlHJ6qzmfa6lTiGchiV8SC+g== @@ -214,17 +172,7 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.2.3": - version "7.2.3" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.2.3.tgz#19970020cf22677d62b3a689561dbd9644d8c5e5" - integrity sha512-GyieIznGUfPXPWu0yLS6U55Mz67AZD9cUk0BfirOWlPrXlBcan9Gz+vHGz+cPfuoweZSnPzPIm67VtQM0OWZbA== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.0.0" - "@babel/helper-optimise-call-expression" "^7.0.0" - "@babel/traverse" "^7.2.3" - "@babel/types" "^7.0.0" - -"@babel/helper-replace-supers@^7.3.4": +"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.3.4.tgz#a795208e9b911a6eeb08e5891faacf06e7013e13" integrity sha512-pvObL9WVf2ADs+ePg0jrqlhHoxRXlOa+SHRHzAXIz2xkYuOHfGl+fKxPMaS4Fq+uje8JQPobnertBBvyrWnQ1A== @@ -277,12 +225,7 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.2.3", "@babel/parser@^7.3.3": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.3.tgz#092d450db02bdb6ccb1ca8ffd47d8774a91aef87" - integrity sha512-xsH1CJoln2r74hR+y7cg2B5JCPaTh+Hd+EbBRk9nWGSNspuo6krjhX0Om6RnRQuIvFq8wVXCLKH3kwKDYhanSg== - -"@babel/parser@^7.3.4": +"@babel/parser@^7.0.0", "@babel/parser@^7.2.2", "@babel/parser@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.4.tgz#a43357e4bbf4b92a437fb9e465c192848287f27c" integrity sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ== @@ -713,22 +656,7 @@ "@babel/parser" "^7.2.2" "@babel/types" "^7.2.2" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.2.2", "@babel/traverse@^7.2.3": - version "7.2.3" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.2.3.tgz#7ff50cefa9c7c0bd2d81231fdac122f3957748d8" - integrity sha512-Z31oUD/fJvEWVR0lNZtfgvVt512ForCTNKYcJBGbPb1QZfve4WGH8Wsy7+Mev33/45fhP/hwQtvgusNdcCMgSw== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.2.2" - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-split-export-declaration" "^7.0.0" - "@babel/parser" "^7.2.3" - "@babel/types" "^7.2.2" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.10" - -"@babel/traverse@^7.3.4": +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.3.4.tgz#1330aab72234f8dea091b08c4f8b9d05c7119e06" integrity sha512-TvTHKp6471OYEcE/91uWmhR6PrrYywQntCHSaZ8CM8Vmp+pjAusal4nGB2WCCQd0rvI7nOMKn9GnbcvTUz3/ZQ== @@ -743,16 +671,7 @@ globals "^11.1.0" lodash "^4.17.11" -"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.3.tgz#6c44d1cdac2a7625b624216657d5bc6c107ab436" - integrity sha512-2tACZ80Wg09UnPg5uGAOUvvInaqLk3l/IAhQzlxLQOIXacr6bMsra5SH6AWw/hIDRCSbCdHP2KzSOD+cT7TzMQ== - dependencies: - esutils "^2.0.2" - lodash "^4.17.11" - to-fast-properties "^2.0.0" - -"@babel/types@^7.3.4": +"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.4.tgz#bf482eaeaffb367a28abbf9357a94963235d90ed" integrity sha512-WEkp8MsLftM7O/ty580wAmZzN1nDmCACc5+jFzUt+GUFNNIi3LdRlueYz0YIlmJhlZx1QYDMZL5vdWCL0fNjFQ== @@ -3029,12 +2948,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0: - version "2.5.4" - resolved "https://registry.npmjs.org/consola/-/consola-2.5.4.tgz#127627375ca45a1d507223dee770aba17cb991f7" - integrity sha512-4XX27fEcMgE0RDI9E4Dl0jYZm5IBFfpb4HlDMj0mgeULjj/hKXEjaDZEzQho0A8O6Cb3kiVnz2Tr9YfmGo2DNw== - -consola@^2.5.6: +consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.6: version "2.5.6" resolved "https://registry.npmjs.org/consola/-/consola-2.5.6.tgz#5ce14dbaf6f5b589c8a258ef80ed97b752fa57d5" integrity sha512-DN0j6ewiNWkT09G3ZoyyzN3pSYrjxWcx49+mHu+oDI5dvW5vzmyuzYsqGS79+yQserH9ymJQbGzeqUejfssr8w== From f39205a7968efe32363504e05035cc49ba010c22 Mon Sep 17 00:00:00 2001 From: Shingo Sato Date: Sat, 2 Mar 2019 00:49:22 +0900 Subject: [PATCH 122/221] chore(vue-app): suppress deprecated warning for classic vuex in prod (#5137) --- packages/vue-app/template/store.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vue-app/template/store.js b/packages/vue-app/template/store.js index 05d15abcaa..d292cdb0e0 100644 --- a/packages/vue-app/template/store.js +++ b/packages/vue-app/template/store.js @@ -14,9 +14,10 @@ void (function updateModules() { <% return true }}) %> // If store is an exported method = classic mode (deprecated) + <% if (isDev) { %> if (typeof store === 'function') { return log.warn('Classic mode for store/ is deprecated and will be removed in Nuxt 3.') - } + }<% } %> // Enforce store modules store.modules = store.modules || {} From 4b9ea2919d7af20e4a5b989114d51de99b7115f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 2 Mar 2019 22:41:23 +0330 Subject: [PATCH 123/221] chore(deps): update all non-major dependencies (#5122) --- distributions/nuxt-start/package.json | 2 +- package.json | 12 +- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 4 +- packages/typescript/package.json | 4 +- packages/vue-app/package.json | 4 +- packages/vue-renderer/package.json | 6 +- packages/webpack/package.json | 8 +- yarn.lock | 651 +++++++++++++------------- 10 files changed, 357 insertions(+), 338 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 1328cdaf06..abb665acc8 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -55,7 +55,7 @@ "@nuxt/cli": "2.4.5", "@nuxt/core": "2.4.5", "node-fetch": "^2.3.0", - "vue": "^2.6.7", + "vue": "^2.6.8", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/package.json b/package.json index f562496e59..6004216b5f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "consola": "^2.5.6", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.14.1", + "eslint": "^5.15.0", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", @@ -47,7 +47,7 @@ "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.2.2", - "esm": "^3.2.6", + "esm": "^3.2.9", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", @@ -58,7 +58,7 @@ "jest": "^24.1.0", "jsdom": "^13.2.0", "klaw-sync": "^6.0.0", - "lerna": "^3.13.0", + "lerna": "^3.13.1", "lodash": "^4.17.11", "node-fetch": "^2.3.0", "pug": "^2.0.3", @@ -67,7 +67,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.3.0", + "rollup": "^1.4.0", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", @@ -75,10 +75,10 @@ "rollup-plugin-license": "^0.8.1", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.0", - "sort-package-json": "^1.19.0", + "sort-package-json": "^1.20.0", "ts-jest": "^24.0.0", "ts-loader": "^5.3.3", - "tslint": "^5.13.0", + "tslint": "^5.13.1", "typescript": "^3.3.3333", "vue-jest": "^4.0.0-beta.2", "vue-property-decorator": "^7.3.0" diff --git a/packages/builder/package.json b/packages/builder/package.json index c99a25ee98..91a20c7b67 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -8,7 +8,7 @@ ], "main": "dist/builder.js", "dependencies": { - "@nuxt/devalue": "^1.2.0", + "@nuxt/devalue": "^1.2.1", "@nuxt/utils": "2.4.5", "@nuxt/vue-app": "2.4.5", "chokidar": "^2.1.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index f6ec1f58da..23e99fc58e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^3.0.0", "chalk": "^2.4.2", "consola": "^2.5.6", - "esm": "^3.2.6", + "esm": "^3.2.9", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 12818a45e5..4e7929f506 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -9,13 +9,13 @@ "main": "dist/core.js", "dependencies": { "@nuxt/config": "2.4.5", - "@nuxt/devalue": "^1.2.0", + "@nuxt/devalue": "^1.2.1", "@nuxt/server": "2.4.5", "@nuxt/utils": "2.4.5", "@nuxt/vue-renderer": "2.4.5", "consola": "^2.5.6", "debug": "^4.1.1", - "esm": "^3.2.6", + "esm": "^3.2.9", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/typescript/package.json b/packages/typescript/package.json index c299242ec0..73d5582b04 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -9,7 +9,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/node": "^11.9.5", + "@types/node": "^11.10.4", "chalk": "^2.4.2", "consola": "^2.5.6", "enquirer": "^2.3.0", @@ -18,7 +18,7 @@ "std-env": "^2.2.1", "ts-loader": "^5.3.3", "ts-node": "^8.0.2", - "tslint": "^5.13.0", + "tslint": "^5.13.1", "typescript": "^3.3.3333" }, "publishConfig": { diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 27482eda21..2c42a94068 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -14,11 +14,11 @@ "dependencies": { "node-fetch": "^2.3.0", "unfetch": "^4.0.1", - "vue": "^2.6.7", + "vue": "^2.6.8", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.7", + "vue-template-compiler": "^2.6.8", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index de35284ed4..7283db8e9f 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -8,14 +8,14 @@ ], "main": "dist/vue-renderer.js", "dependencies": { - "@nuxt/devalue": "^1.2.0", + "@nuxt/devalue": "^1.2.1", "@nuxt/utils": "2.4.5", "consola": "^2.5.6", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.7", + "vue": "^2.6.8", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.7" + "vue-server-renderer": "^2.6.8" }, "publishConfig": { "access": "public" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 87f11a9e32..ff4d6fb94f 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -35,7 +35,7 @@ "postcss-import": "^12.0.1", "postcss-import-resolver": "^1.1.0", "postcss-loader": "^3.0.0", - "postcss-preset-env": "^6.5.0", + "postcss-preset-env": "^6.6.0", "postcss-url": "^8.0.0", "std-env": "^2.2.1", "style-resources-loader": "^1.2.1", @@ -43,9 +43,9 @@ "thread-loader": "^1.2.0", "time-fix-plugin": "^2.0.5", "url-loader": "^1.1.2", - "vue-loader": "^15.6.4", - "webpack": "^4.29.5", - "webpack-bundle-analyzer": "^3.0.4", + "vue-loader": "^15.7.0", + "webpack": "^4.29.6", + "webpack-bundle-analyzer": "^3.1.0", "webpack-dev-middleware": "^3.6.0", "webpack-hot-middleware": "^2.24.3", "webpack-node-externals": "^1.7.2", diff --git a/yarn.lock b/yarn.lock index d0f3d53850..ba7b58a822 100644 --- a/yarn.lock +++ b/yarn.lock @@ -685,20 +685,20 @@ resolved "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw== -"@lerna/add@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/add/-/add-3.13.0.tgz#e971a17c1f85cba40f22c816a2bb9d855b62d07d" - integrity sha512-5srUGfZHjqa5BW3JODHpzbH1ayweGqqrxH8qOzf/E/giNfzigdfyCSkbGh/iiLTXGu7BBE+3/OFfycoqYbalgg== +"@lerna/add@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/add/-/add-3.13.1.tgz#2cd7838857edb3b43ed73e3c21f69a20beb9b702" + integrity sha512-cXk42YbuhzEnADCK8Qte5laC9Qo03eJLVnr0qKY85jQUM/T4URe3IIUemqpg0CpVATrB+Vz+iNdeqw9ng1iALw== dependencies: - "@lerna/bootstrap" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/bootstrap" "3.13.1" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/npm-conf" "3.13.0" "@lerna/validation-error" "3.13.0" dedent "^0.7.0" npm-package-arg "^6.1.0" p-map "^1.2.0" - pacote "^9.4.1" + pacote "^9.5.0" semver "^5.5.0" "@lerna/batch-packages@3.13.0": @@ -710,13 +710,13 @@ "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" -"@lerna/bootstrap@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.13.0.tgz#04f5d5b7720b020c0c73e11b2db146103c272cd7" - integrity sha512-wdwBzvwEdzGERwpiY6Zu/T+tntCfXeXrL9cQIxP+K2M07jL5M00ZRdDoFcP90sGn568AjhvRhD2ExA5wPECSgA== +"@lerna/bootstrap@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-3.13.1.tgz#f2edd7c8093c8b139e78b0ca5f845f23efd01f08" + integrity sha512-mKdi5Ds5f82PZwEFyB9/W60I3iELobi1i87sTeVrbJh/um7GvqpSPy7kG/JPxyOdMpB2njX6LiJgw+7b6BEPWw== dependencies: "@lerna/batch-packages" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/has-npm-version" "3.13.0" "@lerna/npm-install" "3.13.0" @@ -740,16 +740,16 @@ read-package-tree "^5.1.6" semver "^5.5.0" -"@lerna/changed@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.13.0.tgz#d0249585ce5def15580b5a719231594dae449d10" - integrity sha512-BNUVfEzhrY+XEQJI0fFxEAN7JrguXMGNX5rqQ2KWyGQB4fZ1mv4FStJRjK0K/gcCvdHnuR65uexc/acxBnBi9w== +"@lerna/changed@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-3.13.1.tgz#dc92476aad43c932fe741969bbd0bcf6146a4c52" + integrity sha512-BRXitEJGOkoudbxEewW7WhjkLxFD+tTk4PrYpHLyCBk63pNTWtQLRE6dc1hqwh4emwyGncoyW6RgXfLgMZgryw== dependencies: "@lerna/collect-updates" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/listable" "3.13.0" "@lerna/output" "3.13.0" - "@lerna/version" "3.13.0" + "@lerna/version" "3.13.1" "@lerna/check-working-tree@3.13.0": version "3.13.0" @@ -768,12 +768,12 @@ execa "^1.0.0" strong-log-transformer "^2.0.0" -"@lerna/clean@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.13.0.tgz#0a7536564eaec3445f4397cf9ab3e66fc268b6fe" - integrity sha512-eFkqVsOmybUIjak2NyGfk78Mo8rNyNiSDFh2+HGpias3PBdEbkGYtFi/JMBi9FvqCsBSiVnHCTUcnZdLzMz69w== +"@lerna/clean@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-3.13.1.tgz#9a7432efceccd720a51da5c76f849fc59c5a14ce" + integrity sha512-myGIaXv7RUO2qCFZXvx8SJeI+eN6y9SUD5zZ4/LvNogbOiEIlujC5lUAqK65rAHayQ9ltSa/yK6Xv510xhZXZQ== dependencies: - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/prompt" "3.13.0" "@lerna/pulse-till-done" "3.13.0" @@ -803,14 +803,14 @@ npmlog "^4.1.2" slash "^1.0.0" -"@lerna/command@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/command/-/command-3.13.0.tgz#8e7ff2255bccb8737616a899cf7a0c076dd4411c" - integrity sha512-34Igk99KKeDt1ilzHooVUamMegArFz8AH9BuJivIKBps1E2A5xkwRd0mJFdPENzLxOqBJlt+cnL7LyvaIM6tRQ== +"@lerna/command@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/command/-/command-3.13.1.tgz#b60dda2c0d9ffbb6030d61ddf7cceedc1e8f7e6e" + integrity sha512-SYWezxX+iheWvzRoHCrbs8v5zHPaxAx3kWvZhqi70vuGsdOVAWmaG4IvHLn11ztS+Vpd5PM+ztBWSbnykpLFKQ== dependencies: "@lerna/child-process" "3.13.0" "@lerna/package-graph" "3.13.0" - "@lerna/project" "3.13.0" + "@lerna/project" "3.13.1" "@lerna/validation-error" "3.13.0" "@lerna/write-log-file" "3.13.0" dedent "^0.7.0" @@ -844,13 +844,13 @@ fs-extra "^7.0.0" npmlog "^4.1.2" -"@lerna/create@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/create/-/create-3.13.0.tgz#033ea1bbb028cd18252a8595ef32edf28e99048d" - integrity sha512-0Vrl6Z1NEQFKd1uzWBFWii59OmMNKSNXxgKYoh3Ulu/ekMh90BgnLJ0a8tE34KK4lG5mVTQDlowKFEF+jZfYOA== +"@lerna/create@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/create/-/create-3.13.1.tgz#2c1284cfdc59f0d2b88286d78bc797f4ab330f79" + integrity sha512-pLENMXgTkQuvKxAopjKeoLOv9fVUCnpTUD7aLrY5d95/1xqSZlnsOcQfUYcpMf3GpOvHc8ILmI5OXkPqjAf54g== dependencies: "@lerna/child-process" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/npm-conf" "3.13.0" "@lerna/validation-error" "3.13.0" camelcase "^5.0.0" @@ -860,7 +860,7 @@ init-package-json "^1.10.3" npm-package-arg "^6.1.0" p-reduce "^1.0.0" - pacote "^9.4.1" + pacote "^9.5.0" pify "^3.0.0" semver "^5.5.0" slash "^1.0.0" @@ -876,24 +876,24 @@ "@lerna/child-process" "3.13.0" npmlog "^4.1.2" -"@lerna/diff@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.13.0.tgz#9a39bfb1c4d6af1ea05b3d3df2ba0022ea24b81d" - integrity sha512-fyHRzRBiqXj03YbGY5/ume1N0v0wrWVB7XPHPaQs/e/eCgMpcmoQGQoW5r97R+xaEoy3boByr/ham4XHZv02ZQ== +"@lerna/diff@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-3.13.1.tgz#5c734321b0f6c46a3c87f55c99afef3b01d46520" + integrity sha512-cKqmpONO57mdvxtp8e+l5+tjtmF04+7E+O0QEcLcNUAjC6UR2OSM77nwRCXDukou/1h72JtWs0jjcdYLwAmApg== dependencies: "@lerna/child-process" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/validation-error" "3.13.0" npmlog "^4.1.2" -"@lerna/exec@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.13.0.tgz#76f0a7f48f3feb36d266f4ac1f084c8f34afb152" - integrity sha512-Dc8jr1jL6YrfbI1sUZ3+px00HwcZLKykl7AC8A+vvCzYLa4MeK3UJ7CPg4kvBN1mX7yhGrSDSfxG0bJriHU5nA== +"@lerna/exec@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-3.13.1.tgz#4439e90fb0877ec38a6ef933c86580d43eeaf81b" + integrity sha512-I34wEP9lrAqqM7tTXLDxv/6454WFzrnXDWpNDbiKQiZs6SIrOOjmm6I4FiQsx+rU3o9d+HkC6tcUJRN5mlJUgA== dependencies: "@lerna/batch-packages" "3.13.0" "@lerna/child-process" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/run-parallel-batches" "3.13.0" "@lerna/validation-error" "3.13.0" @@ -932,14 +932,14 @@ ssri "^6.0.1" tar "^4.4.8" -"@lerna/github-client@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.13.0.tgz#960c75e4159905ea31c171e27ca468c1a809ed77" - integrity sha512-4/003z1g7shg21nl06ku5/yqYbQfNsQkeWuWEd+mjiTtGH6OhzJ8XcmBOq6mhZrfDAlA4OLeXypd1QIK1Y7arA== +"@lerna/github-client@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.13.1.tgz#cb9bf9f01685a0cee0fac63f287f6c3673e45aa3" + integrity sha512-iPLUp8FFoAKGURksYEYZzfuo9TRA+NepVlseRXFaWlmy36dCQN20AciINpoXiXGoHcEUHXUKHQvY3ARFdMlf3w== dependencies: "@lerna/child-process" "3.13.0" - "@octokit/plugin-enterprise-rest" "^2.1.0" - "@octokit/rest" "^16.15.0" + "@octokit/plugin-enterprise-rest" "^2.1.1" + "@octokit/rest" "^16.16.0" git-url-parse "^11.1.2" npmlog "^4.1.2" @@ -956,13 +956,13 @@ "@lerna/child-process" "3.13.0" semver "^5.5.0" -"@lerna/import@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/import/-/import-3.13.0.tgz#0c521b020edf291c89d591dc6eda0d1efa754452" - integrity sha512-uQ+hoYEC6/B8VqQ9tecA1PVCFiqwN+DCrdIBY/KX3Z5vip94Pc8H/u+Q2dfBymkT6iXnvmPR/6hsMkpMOjBQDg== +"@lerna/import@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/import/-/import-3.13.1.tgz#69d641341a38b79bd379129da1c717d51dd728c7" + integrity sha512-A1Vk1siYx1XkRl6w+zkaA0iptV5TIynVlHPR9S7NY0XAfhykjztYVvwtxarlh6+VcNrO9We6if0+FXCrfDEoIg== dependencies: "@lerna/child-process" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/prompt" "3.13.0" "@lerna/pulse-till-done" "3.13.0" "@lerna/validation-error" "3.13.0" @@ -970,34 +970,34 @@ fs-extra "^7.0.0" p-map-series "^1.0.0" -"@lerna/init@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/init/-/init-3.13.0.tgz#7b92151572aaa1d9b89002e0b8c332db0ff1b692" - integrity sha512-4MBaNaitr9rfzwHK4d0Y19WIzqL5RTk719tIlVtw+IRE2qF9/ioovNIZuoeISyi84mTKehsFtPsHoxFIulZUhQ== +"@lerna/init@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/init/-/init-3.13.1.tgz#0392c822abb3d63a75be4916c5e761cfa7b34dda" + integrity sha512-M59WACqim8WkH5FQEGOCEZ89NDxCKBfFTx4ZD5ig3LkGyJ8RdcJq5KEfpW/aESuRE9JrZLzVr0IjKbZSxzwEMA== dependencies: "@lerna/child-process" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" fs-extra "^7.0.0" p-map "^1.2.0" write-json-file "^2.3.0" -"@lerna/link@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/link/-/link-3.13.0.tgz#9965e2fcacfa1b1414db8902d800464d56cf170e" - integrity sha512-0PAZM1kVCmtJfiQUzy6TT1aemIg9pxejGxFBYMB+IAxR5rcgLlZago1R52/8HyNGa07bLv0B6CkRgrdQ/9bzCg== +"@lerna/link@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/link/-/link-3.13.1.tgz#7d8ed4774bfa198d1780f790a14abb8722a3aad1" + integrity sha512-N3h3Fj1dcea+1RaAoAdy4g2m3fvU7m89HoUn5X/Zcw5n2kPoK8kTO+NfhNAatfRV8VtMXst8vbNrWQQtfm0FFw== dependencies: - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/package-graph" "3.13.0" "@lerna/symlink-dependencies" "3.13.0" p-map "^1.2.0" slash "^1.0.0" -"@lerna/list@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/list/-/list-3.13.0.tgz#4cb34828507d2c02ccd3305ff8b9f546cab7727e" - integrity sha512-nKSqGs4ZJe7zB6SJmBEb7AfGLzqDOwJwbucC3XVgkjrXlrX4AW4+qnPiGpEdz8OFmzstkghQrWUUJvsEpNVTjw== +"@lerna/list@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/list/-/list-3.13.1.tgz#f9513ed143e52156c10ada4070f903c5847dcd10" + integrity sha512-635iRbdgd9gNvYLLIbYdQCQLr+HioM5FGJLFS0g3DPGygr6iDR8KS47hzCRGH91LU9NcM1mD1RoT/AChF+QbiA== dependencies: - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/listable" "3.13.0" "@lerna/output" "3.13.0" @@ -1081,16 +1081,16 @@ dependencies: npmlog "^4.1.2" -"@lerna/pack-directory@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.13.0.tgz#e5df1647f7d3c417753aba666c17bdb8743eb346" - integrity sha512-p5lhLPvpRptms08uSTlDpz8R2/s8Z2Vi0Hc8+yIAP74YD8gh/U9Diku9EGkkgkLfV+P0WhnEO8/Gq/qzNVbntA== +"@lerna/pack-directory@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-3.13.1.tgz#5ad4d0945f86a648f565e24d53c1e01bb3a912d1" + integrity sha512-kXnyqrkQbCIZOf1054N88+8h0ItC7tUN5v9ca/aWpx298gsURpxUx/1TIKqijL5TOnHMyIkj0YJmnH/PyBVLKA== dependencies: "@lerna/get-packed" "3.13.0" "@lerna/package" "3.13.0" "@lerna/run-lifecycle" "3.13.0" figgy-pudding "^3.5.1" - npm-packlist "^1.1.12" + npm-packlist "^1.4.1" npmlog "^4.1.2" tar "^4.4.8" temp-write "^3.4.0" @@ -1113,14 +1113,14 @@ npm-package-arg "^6.1.0" write-pkg "^3.1.0" -"@lerna/project@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/project/-/project-3.13.0.tgz#e7d3ae16309988443eb47470c9dbf6aa8386a2ed" - integrity sha512-hxRvln8Dks3T4PBALC9H3Kw6kTne70XShfqSs4oJkMqFyDj4mb5VCUN6taCDXyF8fu75d02ETdTFZhhBgm1x6w== +"@lerna/project@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/project/-/project-3.13.1.tgz#bce890f60187bd950bcf36c04b5260642e295e79" + integrity sha512-/GoCrpsCCTyb9sizk1+pMBrIYchtb+F1uCOn3cjn9yenyG/MfYEnlfrbV5k/UDud0Ei75YBLbmwCbigHkAKazQ== dependencies: "@lerna/package" "3.13.0" "@lerna/validation-error" "3.13.0" - cosmiconfig "^5.0.2" + cosmiconfig "^5.1.0" dedent "^0.7.0" dot-prop "^4.2.0" glob-parent "^3.1.0" @@ -1139,29 +1139,29 @@ inquirer "^6.2.0" npmlog "^4.1.2" -"@lerna/publish@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.13.0.tgz#9acd2ab79b278e0131f677c339755cfecc30b1b5" - integrity sha512-WuO7LWWQ+8F+ig48RtUxWrVdOfpqDBOv6fXz0/2heQf/rJQoJDTzJZ0rk5ymaGCFz1Av2CbP0zoP7PAQQ2BeKg== +"@lerna/publish@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-3.13.1.tgz#217e401dcb5824cdd6d36555a36303fb7520c514" + integrity sha512-KhCJ9UDx76HWCF03i5TD7z5lX+2yklHh5SyO8eDaLptgdLDQ0Z78lfGj3JhewHU2l46FztmqxL/ss0IkWHDL+g== dependencies: "@lerna/batch-packages" "3.13.0" "@lerna/check-working-tree" "3.13.0" "@lerna/child-process" "3.13.0" "@lerna/collect-updates" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/describe-ref" "3.13.0" "@lerna/log-packed" "3.13.0" "@lerna/npm-conf" "3.13.0" "@lerna/npm-dist-tag" "3.13.0" "@lerna/npm-publish" "3.13.0" "@lerna/output" "3.13.0" - "@lerna/pack-directory" "3.13.0" + "@lerna/pack-directory" "3.13.1" "@lerna/prompt" "3.13.0" "@lerna/pulse-till-done" "3.13.0" "@lerna/run-lifecycle" "3.13.0" "@lerna/run-parallel-batches" "3.13.0" "@lerna/validation-error" "3.13.0" - "@lerna/version" "3.13.0" + "@lerna/version" "3.13.1" figgy-pudding "^3.5.1" fs-extra "^7.0.0" libnpmaccess "^3.0.1" @@ -1172,7 +1172,7 @@ p-map "^1.2.0" p-pipe "^1.2.0" p-reduce "^1.0.0" - pacote "^9.4.1" + pacote "^9.5.0" semver "^5.5.0" "@lerna/pulse-till-done@3.13.0": @@ -1219,13 +1219,13 @@ p-map "^1.2.0" p-map-series "^1.0.0" -"@lerna/run@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/run/-/run-3.13.0.tgz#4a73af6133843cf9d5767f006e2b988a2aa3461a" - integrity sha512-KSpEStp5SVzNB7+3V5WnyY4So8aEyDhBYvhm7cJr5M7xesKf/IE5KFywcI+JPYzyqnIOGXghfzBf9nBZRHlEUQ== +"@lerna/run@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/run/-/run-3.13.1.tgz#87e174c1d271894ddd29adc315c068fb7b1b0117" + integrity sha512-nv1oj7bsqppWm1M4ifN+/IIbVu9F4RixrbQD2okqDGYne4RQPAXyb5cEZuAzY/wyGTWWiVaZ1zpj5ogPWvH0bw== dependencies: "@lerna/batch-packages" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/filter-options" "3.13.0" "@lerna/npm-run-script" "3.13.0" "@lerna/output" "3.13.0" @@ -1269,18 +1269,18 @@ dependencies: npmlog "^4.1.2" -"@lerna/version@3.13.0": - version "3.13.0" - resolved "https://registry.npmjs.org/@lerna/version/-/version-3.13.0.tgz#d2eb17561b6a9b08947a88b5dc463a4a72e01198" - integrity sha512-YdLC208tExVpV77pdXpokGt9MAtTE7Kt93a2jcfjqiMoAI1VmXgGA+7drgBSTVtzfjXExPgi2//hJjI5ObckXA== +"@lerna/version@3.13.1": + version "3.13.1" + resolved "https://registry.npmjs.org/@lerna/version/-/version-3.13.1.tgz#5e919d13abb13a663dcc7922bb40931f12fb137b" + integrity sha512-WpfKc5jZBBOJ6bFS4atPJEbHSiywQ/Gcd+vrwaEGyQHWHQZnPTvhqLuq3q9fIb9sbuhH5pSY6eehhuBrKqTnjg== dependencies: "@lerna/batch-packages" "3.13.0" "@lerna/check-working-tree" "3.13.0" "@lerna/child-process" "3.13.0" "@lerna/collect-updates" "3.13.0" - "@lerna/command" "3.13.0" + "@lerna/command" "3.13.1" "@lerna/conventional-commits" "3.13.0" - "@lerna/github-client" "3.13.0" + "@lerna/github-client" "3.13.1" "@lerna/output" "3.13.0" "@lerna/prompt" "3.13.0" "@lerna/run-lifecycle" "3.13.0" @@ -1318,12 +1318,12 @@ resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== -"@nuxt/devalue@^1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@nuxt/devalue/-/devalue-1.2.0.tgz#a76f12fbabf43fbfde6823942338674ba7ae3265" - integrity sha512-t4HOJiCc4uqjgDIFjLpVBom/071SroKiJW6fXMg1Tga1ahnSPHBvo7YIPjPzpVSzDJhwKHaio7t0J/trH4+43g== +"@nuxt/devalue@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@nuxt/devalue/-/devalue-1.2.1.tgz#29f077ba646cf77c865872b1c9aa615518905cd5" + integrity sha512-lNhY8yo9rc/FME52sUyQcs07wjTQ4QS8geFgBI5R/Zg60rq7CruG54qi5Za1m+mVvrJvhW24Jyu0Sq3lwfe3cg== dependencies: - consola "^2.3.0" + consola "^2.5.6" "@nuxt/friendly-errors-webpack-plugin@^2.4.0": version "2.4.0" @@ -1368,27 +1368,27 @@ universal-user-agent "^2.0.1" url-template "^2.0.8" -"@octokit/plugin-enterprise-rest@^2.1.0": - version "2.1.1" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.1.1.tgz#ee7b245aada06d3ffdd409205ad1b891107fee0b" - integrity sha512-DJNXHH0LptKCLpJ8y3vCA/O+s+3/sDU4JNN2V0M04tsMN0hVGLPzoGgejPJgaxGP8Il5aw+jA5Nl5mTfdt9NrQ== +"@octokit/plugin-enterprise-rest@^2.1.1": + version "2.1.2" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.1.2.tgz#259bd5ac00825a8a482ff6584ae9aed60acd0b41" + integrity sha512-EWKrEqhSgzqWXI9DuEsEI691PNJppm/a4zW62//te27I8pYI5zSNVR3wtNUk0NWPlvs7054YzGZochwbUbhI8A== -"@octokit/request@2.3.0": - version "2.3.0" - resolved "https://registry.npmjs.org/@octokit/request/-/request-2.3.0.tgz#da2672308bcf0b9376ef66f51bddbe5eb87cc00a" - integrity sha512-5YRqYNZOAaL7+nt7w3Scp6Sz4P2g7wKFP9npx1xdExMomk8/M/ICXVLYVam2wzxeY0cIc6wcKpjC5KI4jiNbGw== +"@octokit/request@2.4.0": + version "2.4.0" + resolved "https://registry.npmjs.org/@octokit/request/-/request-2.4.0.tgz#729fc5ea7654ab7cb74e0ae1935f69462a33b5e6" + integrity sha512-Bm2P0duVRUeKhyepNyFg5GX+yhCK71fqdtpsw5Rz+PQPjSha8HYwPMF5QfpzpD8b6/Xl3xhTgu3V90W362gZ1A== dependencies: "@octokit/endpoint" "^3.1.1" is-plain-object "^2.0.4" node-fetch "^2.3.0" universal-user-agent "^2.0.1" -"@octokit/rest@^16.15.0": - version "16.16.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.16.0.tgz#b686407d34c756c3463f8a7b1e42aa035a504306" - integrity sha512-Q6L5OwQJrdJ188gLVmUHLKNXBoeCU0DynKPYW8iZQQoGNGws2hkP/CePVNlzzDgmjuv7o8dCrJgecvDcIHccTA== +"@octokit/rest@^16.16.0": + version "16.16.3" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.16.3.tgz#89b64b1f5ed1f85cfd1925f0c4b968c403b895db" + integrity sha512-8v5xyqXZwQbQ1WsTLU3G25nAlcKYEgIXzDeqLgTFpbzzJXcey0C8Mcs/LZiAgU8dDINZtO2dAPgd1cVKgK9DQw== dependencies: - "@octokit/request" "2.3.0" + "@octokit/request" "2.4.0" before-after-hook "^1.2.0" btoa-lite "^1.0.0" lodash.get "^4.4.2" @@ -1420,6 +1420,11 @@ resolved "https://registry.npmjs.org/@types/node/-/node-11.9.5.tgz#011eece9d3f839a806b63973e228f85967b79ed3" integrity sha512-vVjM0SVzgaOUpflq4GYBvCpozes8OgIIS5gVXVka+OfK3hvnkC1i93U8WiY2OtNE4XUWyyy/86Kf6e0IHTQw1Q== +"@types/node@^11.10.4": + version "11.10.4" + resolved "https://registry.npmjs.org/@types/node/-/node-11.10.4.tgz#3f5fc4f0f322805f009e00ab35a2ff3d6b778e42" + integrity sha512-wa09itaLE8L705aXd8F80jnFpxz3Y1/KRHfKsYL2bPc0XF+wEWu8sR9n5bmeu8Ba1N9z2GRNzm/YdHcghLkLKg== + "@types/q@^1.5.1": version "1.5.1" resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" @@ -1519,150 +1524,150 @@ dom-event-types "^1.0.0" lodash "^4.17.4" -"@webassemblyjs/ast@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.3.tgz#63a741bd715a6b6783f2ea5c6ab707516aa215eb" - integrity sha512-xy3m06+Iu4D32+6soz6zLnwznigXJRuFNTovBX2M4GqVqLb0dnyWLbPnpcXvUSdEN+9DVyDeaq2jyH1eIL2LZQ== +"@webassemblyjs/ast@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" + integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== dependencies: - "@webassemblyjs/helper-module-context" "1.8.3" - "@webassemblyjs/helper-wasm-bytecode" "1.8.3" - "@webassemblyjs/wast-parser" "1.8.3" + "@webassemblyjs/helper-module-context" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/wast-parser" "1.8.5" -"@webassemblyjs/floating-point-hex-parser@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.3.tgz#f198a2d203b3c50846a064f5addd6a133ef9bc0e" - integrity sha512-vq1TISG4sts4f0lDwMUM0f3kpe0on+G3YyV5P0IySHFeaLKRYZ++n2fCFfG4TcCMYkqFeTUYFxm75L3ddlk2xA== +"@webassemblyjs/floating-point-hex-parser@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" + integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== -"@webassemblyjs/helper-api-error@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.3.tgz#3b708f6926accd64dcbaa7ba5b63db5660ff4f66" - integrity sha512-BmWEynI4FnZbjk8CaYZXwcv9a6gIiu+rllRRouQUo73hglanXD3AGFJE7Q4JZCoVE0p5/jeX6kf5eKa3D4JxwQ== +"@webassemblyjs/helper-api-error@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" + integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== -"@webassemblyjs/helper-buffer@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.3.tgz#f3150a23ffaba68621e1f094c8a14bebfd53dd48" - integrity sha512-iVIMhWnNHoFB94+/2l7LpswfCsXeMRnWfExKtqsZ/E2NxZyUx9nTeKK/MEMKTQNEpyfznIUX06OchBHQ+VKi/Q== +"@webassemblyjs/helper-buffer@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" + integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== -"@webassemblyjs/helper-code-frame@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.3.tgz#f43ac605789b519d95784ef350fd2968aebdd3ef" - integrity sha512-K1UxoJML7GKr1QXR+BG7eXqQkvu+eEeTjlSl5wUFQ6W6vaOc5OwSxTcb3oE9x/3+w4NHhrIKD4JXXCZmLdL2cg== +"@webassemblyjs/helper-code-frame@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" + integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== dependencies: - "@webassemblyjs/wast-printer" "1.8.3" + "@webassemblyjs/wast-printer" "1.8.5" -"@webassemblyjs/helper-fsm@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.3.tgz#46aaa03f41082a916850ebcb97e9fc198ef36a9c" - integrity sha512-387zipfrGyO77/qm7/SDUiZBjQ5KGk4qkrVIyuoubmRNIiqn3g+6ijY8BhnlGqsCCQX5bYKOnttJobT5xoyviA== +"@webassemblyjs/helper-fsm@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" + integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== -"@webassemblyjs/helper-module-context@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.3.tgz#150da405d90c8ea81ae0b0e1965b7b64e585634f" - integrity sha512-lPLFdQfaRssfnGEJit5Sk785kbBPPPK4ZS6rR5W/8hlUO/5v3F+rN8XuUcMj/Ny9iZiyKhhuinWGTUuYL4VKeQ== +"@webassemblyjs/helper-module-context@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" + integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== dependencies: - "@webassemblyjs/ast" "1.8.3" + "@webassemblyjs/ast" "1.8.5" mamacro "^0.0.3" -"@webassemblyjs/helper-wasm-bytecode@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.3.tgz#12f55bbafbbc7ddf9d8059a072cb7b0c17987901" - integrity sha512-R1nJW7bjyJLjsJQR5t3K/9LJ0QWuZezl8fGa49DZq4IVaejgvkbNlKEQxLYTC579zgT4IIIVHb5JA59uBPHXyw== +"@webassemblyjs/helper-wasm-bytecode@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" + integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== -"@webassemblyjs/helper-wasm-section@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.3.tgz#9e79456d9719e116f4f8998ee62ab54ba69a6cf3" - integrity sha512-P6F7D61SJY73Yz+fs49Q3+OzlYAZP86OfSpaSY448KzUy65NdfzDmo2NPVte+Rw4562MxEAacvq/mnDuvRWOcg== +"@webassemblyjs/helper-wasm-section@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" + integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-buffer" "1.8.3" - "@webassemblyjs/helper-wasm-bytecode" "1.8.3" - "@webassemblyjs/wasm-gen" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" -"@webassemblyjs/ieee754@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.3.tgz#0a89355b1f6c9d08d0605c2acbc2a6fe3141f5b4" - integrity sha512-UD4HuLU99hjIvWz1pD68b52qsepWQlYCxDYVFJQfHh3BHyeAyAlBJ+QzLR1nnS5J6hAzjki3I3AoJeobNNSZlg== +"@webassemblyjs/ieee754@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" + integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.3.tgz#b7fd9d7c039e34e375c4473bd4dc89ce8228b920" - integrity sha512-XXd3s1BmkC1gpGABuCRLqCGOD6D2L+Ma2BpwpjrQEHeQATKWAQtxAyU9Z14/z8Ryx6IG+L4/NDkIGHrccEhRUg== +"@webassemblyjs/leb128@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" + integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.3.tgz#75712db52cfdda868731569ddfe11046f1f1e7a2" - integrity sha512-Wv/WH9Zo5h5ZMyfCNpUrjFsLZ3X1amdfEuwdb7MLdG3cPAjRS6yc6ElULlpjLiiBTuzvmLhr3ENsuGyJ3wyCgg== +"@webassemblyjs/utf8@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" + integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== -"@webassemblyjs/wasm-edit@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.3.tgz#23c3c6206b096f9f6aa49623a5310a102ef0fb87" - integrity sha512-nB19eUx3Yhi1Vvv3yev5r+bqQixZprMtaoCs1brg9Efyl8Hto3tGaUoZ0Yb4Umn/gQCyoEGFfUxPLp1/8+Jvnw== +"@webassemblyjs/wasm-edit@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" + integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-buffer" "1.8.3" - "@webassemblyjs/helper-wasm-bytecode" "1.8.3" - "@webassemblyjs/helper-wasm-section" "1.8.3" - "@webassemblyjs/wasm-gen" "1.8.3" - "@webassemblyjs/wasm-opt" "1.8.3" - "@webassemblyjs/wasm-parser" "1.8.3" - "@webassemblyjs/wast-printer" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/helper-wasm-section" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" + "@webassemblyjs/wasm-opt" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" + "@webassemblyjs/wast-printer" "1.8.5" -"@webassemblyjs/wasm-gen@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.3.tgz#1a433b8ab97e074e6ac2e25fcbc8cb6125400813" - integrity sha512-sDNmu2nLBJZ/huSzlJvd9IK8B1EjCsOl7VeMV9VJPmxKYgTJ47lbkSP+KAXMgZWGcArxmcrznqm7FrAPQ7vVGg== +"@webassemblyjs/wasm-gen@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" + integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-wasm-bytecode" "1.8.3" - "@webassemblyjs/ieee754" "1.8.3" - "@webassemblyjs/leb128" "1.8.3" - "@webassemblyjs/utf8" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/ieee754" "1.8.5" + "@webassemblyjs/leb128" "1.8.5" + "@webassemblyjs/utf8" "1.8.5" -"@webassemblyjs/wasm-opt@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.3.tgz#54754bcf88f88e92b909416a91125301cc81419c" - integrity sha512-j8lmQVFR+FR4/645VNgV4R/Jz8i50eaPAj93GZyd3EIJondVshE/D9pivpSDIXyaZt+IkCodlzOoZUE4LnQbeA== +"@webassemblyjs/wasm-opt@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" + integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-buffer" "1.8.3" - "@webassemblyjs/wasm-gen" "1.8.3" - "@webassemblyjs/wasm-parser" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-buffer" "1.8.5" + "@webassemblyjs/wasm-gen" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" -"@webassemblyjs/wasm-parser@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.3.tgz#d12ed19d1b8e8667a7bee040d2245aaaf215340b" - integrity sha512-NBI3SNNtRoy4T/KBsRZCAWUzE9lI94RH2nneLwa1KKIrt/2zzcTavWg6oY05ArCbb/PZDk3OUi63CD1RYtN65w== +"@webassemblyjs/wasm-parser@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" + integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-api-error" "1.8.3" - "@webassemblyjs/helper-wasm-bytecode" "1.8.3" - "@webassemblyjs/ieee754" "1.8.3" - "@webassemblyjs/leb128" "1.8.3" - "@webassemblyjs/utf8" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-api-error" "1.8.5" + "@webassemblyjs/helper-wasm-bytecode" "1.8.5" + "@webassemblyjs/ieee754" "1.8.5" + "@webassemblyjs/leb128" "1.8.5" + "@webassemblyjs/utf8" "1.8.5" -"@webassemblyjs/wast-parser@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.3.tgz#44aa123e145503e995045dc3e5e2770069da117b" - integrity sha512-gZPst4CNcmGtKC1eYQmgCx6gwQvxk4h/nPjfPBbRoD+Raw3Hs+BS3yhrfgyRKtlYP+BJ8LcY9iFODEQofl2qbg== +"@webassemblyjs/wast-parser@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" + integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/floating-point-hex-parser" "1.8.3" - "@webassemblyjs/helper-api-error" "1.8.3" - "@webassemblyjs/helper-code-frame" "1.8.3" - "@webassemblyjs/helper-fsm" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/floating-point-hex-parser" "1.8.5" + "@webassemblyjs/helper-api-error" "1.8.5" + "@webassemblyjs/helper-code-frame" "1.8.5" + "@webassemblyjs/helper-fsm" "1.8.5" "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.3.tgz#b1177780b266b1305f2eeba87c4d6aa732352060" - integrity sha512-DTA6kpXuHK4PHu16yAD9QVuT1WZQRT7079oIFFmFSjqjLWGXS909I/7kiLTn931mcj7wGsaUNungjwNQ2lGQ3Q== +"@webassemblyjs/wast-printer@1.8.5": + version "1.8.5" + resolved "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" + integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/wast-parser" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/wast-parser" "1.8.5" "@xtuc/long" "4.2.2" "@xtuc/ieee754@^1.2.0": @@ -1726,7 +1731,7 @@ acorn-jsx@^5.0.0: resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e" integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg== -acorn-walk@^6.0.1: +acorn-walk@^6.0.1, acorn-walk@^6.1.1: version "6.1.1" resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.1.tgz#d363b66f5fac5f018ff9c3a1e7b6f8e310cc3913" integrity sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw== @@ -1741,16 +1746,21 @@ acorn@^4.0.4, acorn@~4.0.2: resolved "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" integrity sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c= -acorn@^5.5.3, acorn@^5.7.3: +acorn@^5.5.3: version "5.7.3" resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5, acorn@^6.0.7, acorn@^6.1.0: +acorn@^6.0.1, acorn@^6.0.2, acorn@^6.0.4, acorn@^6.0.5, acorn@^6.0.7: version "6.1.0" resolved "https://registry.npmjs.org/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818" integrity sha512-MW/FjM+IvU9CgBzjO3UIPCE2pyEwUsoFl+VGdczOPEdxfGFjuKny/gN54mOuX7Qxmb9Rg9MCn2oKiSUeW+pjrw== +acorn@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f" + integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA== + agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0: version "4.2.1" resolved "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" @@ -2045,7 +2055,7 @@ atob@^2.1.1: resolved "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@^9.4.2: +autoprefixer@^9.4.9: version "9.4.9" resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.9.tgz#0d3eb86bc1d1228551abcf55220d6fd246b6cb31" integrity sha512-OyUl7KvbGBoFQbGQu51hMywz1aaVeud/6uX8r1R1DNcqFvqGUUy6+BDHnAZE8s5t5JyEObaSw+O1DpAdjAmLuw== @@ -2371,7 +2381,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.3.5, browserslist@^4.4.2: +browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.4.2: version "4.4.2" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.4.2.tgz#6ea8a74d6464bb0bd549105f659b41197d8f0ba2" integrity sha512-ISS/AIAiHERJ3d45Fz0AVYKkgcy+F/eJHzKEvv1j0wwKGKD9T3BrwKr/5g45L+Y4XIK5PlTqefHciRFcfE1Jxg== @@ -2583,7 +2593,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000918, caniuse-lite@^1.0.30000939: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939: version "1.0.30000939" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz#b9ab7ac9e861bf78840b80c5dfbc471a5cd7e679" integrity sha512-oXB23ImDJOgQpGjRv1tCtzAvJr4/OvrHi5SO2vUgB0g0xpdZZoA/BxfImiWfdwoYdUTtQrPsXsvYU/dmCSM8gg== @@ -3139,7 +3149,7 @@ cosmiconfig@^4.0.0: parse-json "^4.0.0" require-from-string "^2.0.1" -cosmiconfig@^5.0.0, cosmiconfig@^5.0.2: +cosmiconfig@^5.0.0, cosmiconfig@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.1.0.tgz#6c5c35e97f37f985061cdf653f114784231185cf" integrity sha512-kCNPvthka8gvLtzAxQXvWo4FxqRB+ftRZyPZNuab5ngvM9Y7yw7hbEysglptLgpkGX9nAOKTBVkHUAe8xtYR6Q== @@ -4096,6 +4106,14 @@ eslint-scope@^4.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^4.0.2: + version "4.0.2" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.2.tgz#5f10cd6cabb1965bf479fa65745673439e21cb0e" + integrity sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.3.0, eslint-utils@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512" @@ -4106,10 +4124,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.14.1: - version "5.14.1" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.14.1.tgz#490a28906be313685c55ccd43a39e8d22efc04ba" - integrity sha512-CyUMbmsjxedx8B0mr79mNOqetvkbij/zrXnFeK2zc3pGRn3/tibjiNAv/3UxFEyfMDjh+ZqTrJrEGBFiGfD5Og== +eslint@^5.15.0: + version "5.15.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.15.0.tgz#f313a2f7c7628d39adeefdba4a9c41f842012c9e" + integrity sha512-xwG7SS5JLeqkiR3iOmVgtF8Y6xPdtr6AAsN6ph7Q6R/fv+3UlKYoika8SmNzmb35qdRF+RfTY35kMEdtbi+9wg== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -4117,7 +4135,7 @@ eslint@^5.14.1: cross-spawn "^6.0.5" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^4.0.0" + eslint-scope "^4.0.2" eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" espree "^5.0.1" @@ -4148,10 +4166,10 @@ eslint@^5.14.1: table "^5.2.3" text-table "^0.2.0" -esm@^3.2.6: - version "3.2.6" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.6.tgz#879e4888e631a6893f2afc24adb23d4dbe8fad30" - integrity sha512-3wWjSurKSczMzYyHiBih3VVEQYCoZa6nfsqqcM2Tx6KBAQAeor0SZUfAol+zeVUtESLygayOi2ZcMfYZy7MCsg== +esm@^3.2.9: + version "3.2.9" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.9.tgz#9dca653e3b39f89c3c65c5e84cebfa4af345c10d" + integrity sha512-mATFs9dpCjnEyNv27z29UNDmJmBBX8zMdcFip7aIOrBRTpLs8SA+6Ek1QtsWfvecAJVeZy+X5D3Z6xZVtUvYdg== espree@^4.1.0: version "4.1.0" @@ -6377,26 +6395,26 @@ left-pad@^1.3.0: resolved "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" integrity sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA== -lerna@^3.13.0: - version "3.13.0" - resolved "https://registry.npmjs.org/lerna/-/lerna-3.13.0.tgz#3a9fe155d763a9814939a631ff958957322f2f31" - integrity sha512-MHaqqwfAdYIo0rAE0oOZRQ8eKbKyW035akLf0pz3YlWbdXKH91lxXRLj0BpbEytUz7hDbsv0FNNtXz9u5eTNFg== +lerna@^3.13.1: + version "3.13.1" + resolved "https://registry.npmjs.org/lerna/-/lerna-3.13.1.tgz#feaff562176f304bd82329ca29ce46ab6c033463" + integrity sha512-7kSz8LLozVsoUNTJzJzy+b8TnV9YdviR2Ee2PwGZSlVw3T1Rn7kOAPZjEi+3IWnOPC96zMPHVmjCmzQ4uubalw== dependencies: - "@lerna/add" "3.13.0" - "@lerna/bootstrap" "3.13.0" - "@lerna/changed" "3.13.0" - "@lerna/clean" "3.13.0" + "@lerna/add" "3.13.1" + "@lerna/bootstrap" "3.13.1" + "@lerna/changed" "3.13.1" + "@lerna/clean" "3.13.1" "@lerna/cli" "3.13.0" - "@lerna/create" "3.13.0" - "@lerna/diff" "3.13.0" - "@lerna/exec" "3.13.0" - "@lerna/import" "3.13.0" - "@lerna/init" "3.13.0" - "@lerna/link" "3.13.0" - "@lerna/list" "3.13.0" - "@lerna/publish" "3.13.0" - "@lerna/run" "3.13.0" - "@lerna/version" "3.13.0" + "@lerna/create" "3.13.1" + "@lerna/diff" "3.13.1" + "@lerna/exec" "3.13.1" + "@lerna/import" "3.13.1" + "@lerna/init" "3.13.1" + "@lerna/link" "3.13.1" + "@lerna/list" "3.13.1" + "@lerna/publish" "3.13.1" + "@lerna/run" "3.13.1" + "@lerna/version" "3.13.1" import-local "^1.0.0" npmlog "^4.1.2" @@ -7255,7 +7273,7 @@ npm-lifecycle@^2.1.0: semver "^5.5.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.1.12, npm-packlist@^1.1.6: +npm-packlist@^1.1.12, npm-packlist@^1.1.6, npm-packlist@^1.4.1: version "1.4.1" resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz#19064cdf988da80ea3cee45533879d90192bbfbc" integrity sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw== @@ -7582,7 +7600,7 @@ p-waterfall@^1.0.0: dependencies: p-reduce "^1.0.0" -pacote@^9.4.1: +pacote@^9.5.0: version "9.5.0" resolved "https://registry.npmjs.org/pacote/-/pacote-9.5.0.tgz#85f3013a3f6dd51c108b0ccabd3de8102ddfaeda" integrity sha512-aUplXozRbzhaJO48FaaeClmN+2Mwt741MC6M3bevIGZwdCaP7frXzbUOfOWa91FPHoLITzG0hYaKY363lxO3bg== @@ -7869,7 +7887,7 @@ posix-character-classes@^0.1.0: resolved "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= -postcss-attribute-case-insensitive@^4.0.0: +postcss-attribute-case-insensitive@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-4.0.1.tgz#b2a721a0d279c2f9103a36331c88981526428cc7" integrity sha512-L2YKB3vF4PetdTIthQVeT+7YiSzMoNMLLYxPXXppOOP7NoazEAy45sh2LvJ8leCQjfBcfkYQs8TtCcQjeZTp8A== @@ -8338,20 +8356,20 @@ postcss-place@^4.0.1: postcss "^7.0.2" postcss-values-parser "^2.0.0" -postcss-preset-env@^6.5.0: - version "6.5.0" - resolved "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-6.5.0.tgz#a14b8f6e748b2a3a4a02a56f36c390f30073b9e1" - integrity sha512-RdsIrYJd9p9AouQoJ8dFP5ksBJEIegA4q4WzJDih8nevz3cZyIP/q1Eaw3pTVpUAu3n7Y32YmvAW3X07mSRGkw== +postcss-preset-env@^6.6.0: + version "6.6.0" + resolved "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-6.6.0.tgz#642e7d962e2bdc2e355db117c1eb63952690ed5b" + integrity sha512-I3zAiycfqXpPIFD6HXhLfWXIewAWO8emOKz+QSsxaUZb9Dp8HbF5kUf+4Wy/AxR33o+LRoO8blEWCHth0ZsCLA== dependencies: - autoprefixer "^9.4.2" - browserslist "^4.3.5" - caniuse-lite "^1.0.30000918" + autoprefixer "^9.4.9" + browserslist "^4.4.2" + caniuse-lite "^1.0.30000939" css-blank-pseudo "^0.1.4" css-has-pseudo "^0.10.0" css-prefers-color-scheme "^3.1.1" cssdb "^4.3.0" - postcss "^7.0.6" - postcss-attribute-case-insensitive "^4.0.0" + postcss "^7.0.14" + postcss-attribute-case-insensitive "^4.0.1" postcss-color-functional-notation "^2.0.1" postcss-color-gray "^5.0.0" postcss-color-hex-alpha "^5.0.2" @@ -9389,14 +9407,14 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.3.0.tgz#0ec4b14b3260142e7ec6968c8e0011415d50c2ae" - integrity sha512-QiT0wFmu0IzkGgT5LvzRK5hezHcJW8T9MQdvdC+FylrNpsprpz0gTOpcyY9iM6Sda1fD1SatwNutCxcQd3Y/Lg== +rollup@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.4.0.tgz#fdc965b4ea7948e0b8e1a9051067dce1a61b3a24" + integrity sha512-E5HP4rgvAqkXQNYfNHgCDnX5HDHwAPDLUVSNp8iTmT49vY34G0DxEfhjPWnqnFi7v0vQtDGkKl2hvLfmsMvmcA== dependencies: "@types/estree" "0.0.39" "@types/node" "^11.9.5" - acorn "^6.1.0" + acorn "^6.1.1" rsvp@^3.3.3: version "3.6.2" @@ -9709,10 +9727,10 @@ sort-object-keys@^1.1.2: resolved "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.2.tgz#d3a6c48dc2ac97e6bc94367696e03f6d09d37952" integrity sha1-06bEjcKsl+a8lDZ2luA/bQnTeVI= -sort-package-json@^1.19.0: - version "1.19.0" - resolved "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.19.0.tgz#3e6819147d75680832890523e753b8992166a442" - integrity sha512-SRzbsvOG+g8jTuFYZCvljh+LOsNeCS04bH+MF6qf0Ukva0Eh3Y6Jf7a4GSNEeDHLHM6CWqhZuJo7OLdzycTH1A== +sort-package-json@^1.20.0: + version "1.20.0" + resolved "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.20.0.tgz#b2407ac5e7d0b4ed01a66c99b9ab9dd1b505c7ed" + integrity sha512-xrclPt/C0hiMPUBEshjWJ4dcqCqP1RcZMI2VsUqPe5f4V39Lach4xITARMH3H0WnrO/T5LeqYVocCWRg6YoWfw== dependencies: detect-indent "^5.0.0" sort-object-keys "^1.1.2" @@ -10437,10 +10455,10 @@ tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== -tslint@^5.13.0: - version "5.13.0" - resolved "https://registry.npmjs.org/tslint/-/tslint-5.13.0.tgz#239a2357c36b620d72d86744754b6fc088a25359" - integrity sha512-ECOOQRxXCYnUUePG5h/+Z1Zouobk3KFpIHA9aKBB/nnMxs97S1JJPDGt5J4cGm1y9U9VmVlfboOxA8n1kSNzGw== +tslint@^5.13.1: + version "5.13.1" + resolved "https://registry.npmjs.org/tslint/-/tslint-5.13.1.tgz#fbc0541c425647a33cd9108ce4fd4cd18d7904ed" + integrity sha512-fplQqb2miLbcPhyHoMV4FU9PtNRbgmm/zI5d3SZwwmJQM6V0eodju+hplpyfhLWpmwrDNfNYU57uYRb8s0zZoQ== dependencies: babel-code-frame "^6.22.0" builtin-modules "^1.1.1" @@ -10811,10 +10829,10 @@ vue-jest@^4.0.0-beta.2: source-map "^0.5.6" ts-jest "^23.10.5" -vue-loader@^15.6.4: - version "15.6.4" - resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.6.4.tgz#ea6ea48cada424da2cc2304495377678e4b0f6a7" - integrity sha512-GImqWcO3OsiRYS/zfMhmthFd1xwL68AAE5gAHhzNCI4SLNSxIlB9YmjgJS89anqViWSyl0mnAmyXNYHs7sydFw== +vue-loader@^15.7.0: + version "15.7.0" + resolved "https://registry.npmjs.org/vue-loader/-/vue-loader-15.7.0.tgz#27275aa5a3ef4958c5379c006dd1436ad04b25b3" + integrity sha512-x+NZ4RIthQOxcFclEcs8sXGEWqnZHodL2J9Vq+hUz+TDZzBaDIh1j3d9M2IUlTjtrHTZy4uMuRdTi8BGws7jLA== dependencies: "@vue/component-compiler-utils" "^2.5.1" hash-sum "^1.0.2" @@ -10849,10 +10867,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.7.tgz#ff40f69a439da8993a6e171b7d58575bfbeefb79" - integrity sha512-CVtGR+bE63y4kyIeOcCEF2UNKquSquFQAsTHZ5R1cGM4L4Z0BXgAUEcngTOy8kN+tubt3c1zpRvbrok/bHKeDg== +vue-server-renderer@^2.6.8: + version "2.6.8" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.8.tgz#7f191eede16778d96916f2f9199efa781fd30879" + integrity sha512-aiN2Fz3Sw35KRDQYqSSdsWjOtYcDWpm8rjcf3oSf/iiwFF/i1Q9UjDWvxQv4mbqVRBXGhdoICClQ005IZJoVbQ== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -10871,10 +10889,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.7.tgz#7f6c14eacf3c912d28d33b029cde706d9756e00c" - integrity sha512-ZjxJLr6Lw2gj6aQGKwBWTxVNNd28/qggIdwvr5ushrUHUvqgbHD0xusOVP2yRxT4pX3wRIJ2LfxjgFT41dEtoQ== +vue-template-compiler@^2.6.8: + version "2.6.8" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.8.tgz#750802604595134775b9c53141b9850b35255e1c" + integrity sha512-SwWKANE5ee+oJg+dEJmsdxsxWYICPsNwk68+1AFjOS8l0O/Yz2845afuJtFqf3UjS/vXG7ECsPeHHEAD65Cjng== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -10884,10 +10902,10 @@ vue-template-es2015-compiler@^1.9.0: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== -vue@^2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.7.tgz#254f188e7621d2d19ee28d0c0442c6d21b53ae2d" - integrity sha512-g7ADfQ82QU+j6F/bVDioVQf2ccIMYLuR4E8ev+RsDBlmwRkhGO3HhgF4PF9vpwjdPpxyb1zzLur2nQ2oIMAMEg== +vue@^2.6.8: + version "2.6.8" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.8.tgz#f21cbc536bfc14f7d1d792a137bb12f69e60ea91" + integrity sha512-+vp9lEC2Kt3yom673pzg1J7T1NVGuGzO9j8Wxno+rQN2WYVBX2pyo/RGQ3fXCLh2Pk76Skw/laAPCuBuEQ4diw== vuex@^3.1.0: version "3.1.0" @@ -10946,12 +10964,13 @@ webidl-conversions@^4.0.2: resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -webpack-bundle-analyzer@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.0.4.tgz#095638487a664162f19e3b2fb7e621b7002af4b8" - integrity sha512-ggDUgtKuQki4vmc93Ej65GlYxeCUR/0THa7gA+iqAGC2FFAxO+r+RM9sAUa8HWdw4gJ3/NZHX/QUcVgRjdIsDg== +webpack-bundle-analyzer@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.1.0.tgz#2f19cbb87bb6d4f3cb4e59cb67c837bd9436e89d" + integrity sha512-nyDyWEs7C6DZlgvu1pR1zzJfIWSiGPbtaByZr8q+Fd2xp70FuM/8ngCJzj3Er1TYRLSFmp1F1OInbEm4DZH8NA== dependencies: - acorn "^5.7.3" + acorn "^6.0.7" + acorn-walk "^6.1.1" bfj "^6.1.1" chalk "^2.4.1" commander "^2.18.0" @@ -11005,15 +11024,15 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.29.5: - version "4.29.5" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.5.tgz#52b60a7b0838427c3a894cd801a11dc0836bc79f" - integrity sha512-DuWlYUT982c7XVHodrLO9quFbNpVq5FNxLrMUfYUTlgKW0+yPimynYf1kttSQpEneAL1FH3P3OLNgkyImx8qIQ== +webpack@^4.29.6: + version "4.29.6" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.29.6.tgz#66bf0ec8beee4d469f8b598d3988ff9d8d90e955" + integrity sha512-MwBwpiE1BQpMDkbnUUaW6K8RFZjljJHArC6tWQJoFm0oQtfoSebtg4Y7/QHnJ/SddtjYLHaKGX64CFjG5rehJw== dependencies: - "@webassemblyjs/ast" "1.8.3" - "@webassemblyjs/helper-module-context" "1.8.3" - "@webassemblyjs/wasm-edit" "1.8.3" - "@webassemblyjs/wasm-parser" "1.8.3" + "@webassemblyjs/ast" "1.8.5" + "@webassemblyjs/helper-module-context" "1.8.5" + "@webassemblyjs/wasm-edit" "1.8.5" + "@webassemblyjs/wasm-parser" "1.8.5" acorn "^6.0.5" acorn-dynamic-import "^4.0.0" ajv "^6.1.0" From 2dd4171934392d2733b8d5a8e6ffda8b1b4f7204 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 2 Mar 2019 22:45:10 +0330 Subject: [PATCH 124/221] chore(deps): update all non-major dependencies (#5143) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6004216b5f..63a6120a53 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^0.5.2", "fs-extra": "^7.0.1", - "get-port": "^4.1.0", + "get-port": "^4.2.0", "glob": "^7.1.3", "is-wsl": "^1.1.0", "jest": "^24.1.0", diff --git a/yarn.lock b/yarn.lock index ba7b58a822..7eb9d953ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4792,10 +4792,10 @@ get-port@^3.2.0: resolved "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" integrity sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw= -get-port@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/get-port/-/get-port-4.1.0.tgz#93eb3d5552c197497d76e9c389a6ac9920e20192" - integrity sha512-4/fqAYrzrzOiqDrdeZRKXGdTGgbkfTEumGlNQPeP6Jy8w0PzN9mzeNQ3XgHaTNie8pQ3hOUkrwlZt2Fzk5H9mA== +get-port@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" + integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== get-stdin@^4.0.1: version "4.0.1" From 0751faa9c899eac165f149fb297dfa1bf76197d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sun, 3 Mar 2019 10:57:19 +0330 Subject: [PATCH 125/221] chore(deps): update dependency wrap-ansi to v5 (#5145) --- packages/cli/package.json | 2 +- packages/cli/src/utils/formatting.js | 2 +- .../unit/__snapshots__/command.test.js.snap | 28 +++++++++---------- yarn.lock | 9 ++++++ 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 23e99fc58e..db56cad6da 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -23,7 +23,7 @@ "opener": "1.5.1", "pretty-bytes": "^5.1.0", "std-env": "^2.2.1", - "wrap-ansi": "^4.0.0" + "wrap-ansi": "^5.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/cli/src/utils/formatting.js b/packages/cli/src/utils/formatting.js index b22f5bcba1..59f91184b1 100644 --- a/packages/cli/src/utils/formatting.js +++ b/packages/cli/src/utils/formatting.js @@ -22,7 +22,7 @@ export function indentLines(string, spaces, firstLineSpaces) { } export function foldLines(string, spaces, firstLineSpaces, charsPerLine = maxCharsPerLine()) { - return indentLines(wrapAnsi(string, charsPerLine, { trim: false }), spaces, firstLineSpaces) + return indentLines(wrapAnsi(string, charsPerLine), spaces, firstLineSpaces) } export function colorize(text) { diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index 96b3942fea..fc6f1cf37f 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -1,36 +1,36 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`cli/command builds help text 1`] = ` -" Usage: nuxt this is how you do it +" Usage: nuxt this is how you do it [options] - a very long description that should wrap - to the next line because is not longer + a very long description that should wrap + to the next line because is not longer than the terminal width Options: --spa, -s Launch in SPA mode - --universal, -u Launch in Universal + --universal, -u Launch in Universal mode (default) - --config-file, -c Path to Nuxt.js + --config-file, -c Path to Nuxt.js config file (default: nuxt.config.js) - --modern, -m Build/Start app for - modern browsers, e.g. server, client and + --modern, -m Build/Start app for + modern browsers, e.g. server, client and false - --force-exit Whether Nuxt.js - should force exit after the command has + --force-exit Whether Nuxt.js + should force exit after the command has finished - --version, -v Display the Nuxt + --version, -v Display the Nuxt version --help, -h Display this message - --port, -p Port number on which + --port, -p Port number on which to start the application - --hostname, -H Hostname on which to + --hostname, -H Hostname on which to start the application --unix-socket, -n Path to a UNIX socket - --foo very long option that - is longer than the terminal width and + --foo very long option that + is longer than the terminal width and should wrap to the next line " diff --git a/yarn.lock b/yarn.lock index 7eb9d953ff..ed742e5539 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11183,6 +11183,15 @@ wrap-ansi@^4.0.0: string-width "^2.1.1" strip-ansi "^4.0.0" +wrap-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.0.0.tgz#c3838a85fbac6a647558ca97024d41d7631721dc" + integrity sha512-3ThemJUfTTju0SKG2gjGExzGRHxT5l/KEM5sff3TQReaVWe/bFTiF1GEr8DKr/j0LxGt8qPzx0yhd2RLyqgy2Q== + dependencies: + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" From e87711c5e7b48ab0e1e2ffb1ec02f52a3539b62d Mon Sep 17 00:00:00 2001 From: Jonas Galvez Date: Sun, 3 Mar 2019 04:49:46 -0300 Subject: [PATCH 126/221] feat: support `devModules` option (#5102) --- packages/config/src/config/_app.js | 1 + .../test/__snapshots__/options.test.js.snap | 1 + .../config/__snapshots__/index.test.js.snap | 2 + packages/core/src/module.js | 10 +++ packages/core/test/module.test.js | 61 ++++++++++++++++--- 5 files changed, 65 insertions(+), 10 deletions(-) diff --git a/packages/config/src/config/_app.js b/packages/config/src/config/_app.js index ac8c58f3c3..0b4a07d40a 100644 --- a/packages/config/src/config/_app.js +++ b/packages/config/src/config/_app.js @@ -23,6 +23,7 @@ export default () => ({ css: [], modules: [], + devModules: [], layouts: {}, diff --git a/packages/config/test/__snapshots__/options.test.js.snap b/packages/config/test/__snapshots__/options.test.js.snap index 8324643528..e64e2de92f 100644 --- a/packages/config/test/__snapshots__/options.test.js.snap +++ b/packages/config/test/__snapshots__/options.test.js.snap @@ -141,6 +141,7 @@ Object { "css": Array [], "debug": false, "dev": false, + "devModules": Array [], "dir": Object { "assets": "assets", "layouts": "layouts", diff --git a/packages/config/test/config/__snapshots__/index.test.js.snap b/packages/config/test/config/__snapshots__/index.test.js.snap index bb9c006373..83f9a88a7a 100644 --- a/packages/config/test/config/__snapshots__/index.test.js.snap +++ b/packages/config/test/config/__snapshots__/index.test.js.snap @@ -131,6 +131,7 @@ Object { "css": Array [], "debug": undefined, "dev": false, + "devModules": Array [], "dir": Object { "assets": "assets", "layouts": "layouts", @@ -459,6 +460,7 @@ Object { "css": Array [], "debug": undefined, "dev": false, + "devModules": Array [], "dir": Object { "assets": "assets", "layouts": "layouts", diff --git a/packages/core/src/module.js b/packages/core/src/module.js index e6fbc251ac..c728d7b960 100644 --- a/packages/core/src/module.js +++ b/packages/core/src/module.js @@ -16,6 +16,11 @@ export default class ModuleContainer { // Call before hook await this.nuxt.callHook('modules:before', this, this.options.modules) + if (this.options.devModules && !this.options._start) { + // Load every devModule in sequence + await sequence(this.options.devModules, this.addModule.bind(this)) + } + // Load every module in sequence await sequence(this.options.modules, this.addModule.bind(this)) @@ -131,6 +136,11 @@ export default class ModuleContainer { handler = src } + // Prevent adding devModules-listed entries in production + if (this.options.devModules.includes(handler) && this.options._start) { + return + } + // Resolve handler if (!handler) { handler = this.nuxt.resolver.requireModule(src) diff --git a/packages/core/test/module.test.js b/packages/core/test/module.test.js index bd9c617719..b69ce96004 100644 --- a/packages/core/test/module.test.js +++ b/packages/core/test/module.test.js @@ -15,6 +15,11 @@ jest.mock('@nuxt/utils', () => ({ chainFn: jest.fn(() => 'chainedFn') })) +const defaultOptions = { + modules: [], + devModules: [] +} + describe('core: module', () => { const requireModule = jest.fn(src => options => Promise.resolve({ src, options })) @@ -41,6 +46,7 @@ describe('core: module', () => { test('should call hooks and addModule when ready', async () => { const nuxt = { options: { + ...defaultOptions, modules: [jest.fn(), jest.fn()] }, callHook: jest.fn() @@ -60,7 +66,9 @@ describe('core: module', () => { }) test('should display deprecated message for addVendor', () => { - new ModuleContainer({}).addVendor() + new ModuleContainer({ + ...defaultOptions + }).addVendor() expect(consola.warn).toBeCalledTimes(1) expect(consola.warn).toBeCalledWith('addVendor has been deprecated due to webpack4 optimization') @@ -69,6 +77,7 @@ describe('core: module', () => { test('should add string template', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, build: { templates: [] } @@ -88,6 +97,7 @@ describe('core: module', () => { test('should add object template', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, build: { templates: [] } @@ -109,6 +119,7 @@ describe('core: module', () => { test('should use filename in preference to calculation', () => { const module = new ModuleContainer({ + ...defaultOptions, options: { build: { templates: [] @@ -130,13 +141,21 @@ describe('core: module', () => { }) test('should throw error when template invalid', () => { - const module = new ModuleContainer({}) + const module = new ModuleContainer({ + options: { + ...defaultOptions + } + }) expect(() => module.addTemplate()).toThrow('Invalid template: undefined') }) test('should throw error when template not found', () => { - const module = new ModuleContainer({}) + const module = new ModuleContainer({ + options: { + ...defaultOptions + } + }) fs.existsSync = jest.fn(() => false) expect(() => module.addTemplate('/var/nuxt/test')).toThrow('Template src not found: /var/nuxt/test') @@ -147,6 +166,7 @@ describe('core: module', () => { test('should add plugin into module', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, buildDir: '/var/nuxt/build', plugins: [] } @@ -165,6 +185,7 @@ describe('core: module', () => { test('should add layout into module', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, layouts: {} } }) @@ -181,6 +202,7 @@ describe('core: module', () => { test('should display deprecated message when registration is duplicate', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, layouts: { 'test-layout': 'test.template' } @@ -200,6 +222,7 @@ describe('core: module', () => { test('should register error layout at same time', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, layouts: {} } }) @@ -219,6 +242,7 @@ describe('core: module', () => { test('should add error layout', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, rootDir: '/var/nuxt', buildDir: '/var/nuxt/build', layouts: {} @@ -233,6 +257,7 @@ describe('core: module', () => { test('should add server middleware', () => { const module = new ModuleContainer({ options: { + ...defaultOptions, serverMiddleware: [] } }) @@ -248,6 +273,7 @@ describe('core: module', () => { const extend = () => {} const module = new ModuleContainer({ options: { + ...defaultOptions, build: { extend } } }) @@ -264,6 +290,7 @@ describe('core: module', () => { const extendRoutes = () => {} const module = new ModuleContainer({ options: { + ...defaultOptions, router: { extendRoutes } } }) @@ -278,7 +305,9 @@ describe('core: module', () => { test('should call addModule when require module', () => { const module = new ModuleContainer({ - options: {} + options: { + ...defaultOptions + } }) module.addModule = jest.fn() @@ -292,7 +321,9 @@ describe('core: module', () => { test('should add string module', async () => { const module = new ModuleContainer({ resolver: { requireModule }, - options: {} + options: { + ...defaultOptions + } }) const result = await module.addModule('moduleTest') @@ -312,7 +343,9 @@ describe('core: module', () => { test('should add function module', async () => { const module = new ModuleContainer({ resolver: { requireModule }, - options: {} + options: { + ...defaultOptions + } }) const functionModule = function (options) { @@ -337,7 +370,9 @@ describe('core: module', () => { test('should add array module', async () => { const module = new ModuleContainer({ resolver: { requireModule }, - options: {} + options: { + ...defaultOptions + } }) const result = await module.addModule(['moduleTest', { test: true }]) @@ -359,7 +394,9 @@ describe('core: module', () => { test('should add object module', async () => { const module = new ModuleContainer({ resolver: { requireModule }, - options: {} + options: { + ...defaultOptions + } }) const result = await module.addModule({ @@ -386,7 +423,9 @@ describe('core: module', () => { test('should throw error when handler is not function', async () => { const module = new ModuleContainer({ resolver: { requireModule: () => false }, - options: {} + options: { + ...defaultOptions + } }) await expect(module.addModule('moduleTest')).rejects.toThrow('Module should export a function: moduleTest') @@ -395,7 +434,9 @@ describe('core: module', () => { test('should prevent multiple adding when requireOnce is enabled', async () => { const module = new ModuleContainer({ resolver: { requireModule }, - options: {} + options: { + ...defaultOptions + } }) const handler = jest.fn(() => true) From 04cdd60211ffb067be53777a623678ad9013e64b Mon Sep 17 00:00:00 2001 From: HG Date: Sun, 3 Mar 2019 07:50:42 +0000 Subject: [PATCH 127/221] chore(babel-preset): create readme with basic docs (#5127) --- packages/babel-preset-app/README.md | 64 +++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 packages/babel-preset-app/README.md diff --git a/packages/babel-preset-app/README.md b/packages/babel-preset-app/README.md new file mode 100644 index 0000000000..47a2bddac9 --- /dev/null +++ b/packages/babel-preset-app/README.md @@ -0,0 +1,64 @@ +# `@nuxt/babel-preset-app` +> Default babel preset for nuxt + +## Usage + +This is the default preset used by Nuxt, which is mainly a wrapper around the `@babel/preset-env` preset. It also optionally uses the `@vue/babel-preset-jsx` preset as well as `@babel/plugin-syntax-dynamic-import`, `@babel/plugin-proposal-decorators`, `@babel/plugin-proposal-class-properties`, `@babel/plugin-transform-runtime`. Furthermore the preset is adding polyfills. + +Usually, no additional configuration is required. If needed though, there is an option to fine-tune the preset's behavior. Just add the following to `nuxt.config.js`: +```js +babel: { + presets({ isServer }) { + return [ + [ "@nuxt/babel-preset-app", options ] + ] + } +} +``` +...where `options` is an object with parameters, for example: +``` + const options = { + useBuiltIns: "entry" +} +``` +Below is a list of all available parameters: + +### Options +* **buildTarget** - passed in through the Builder, either `"server"` or `"client"` +* **configPath** - [`@babel/preset-env` parameter](https://babeljs.io/docs/en/babel-preset-env#configpath) +* **forceAllTransforms** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#forcealltransforms)' parameter +* **debug**, default `false` - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#debug)' parameter +* **decoratorsBeforeExport** +* **decoratorsLegacy**, default true +* **exclude** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#exclude)' parameter +* **ignoreBrowserslistConfig**, defaults to value of `modern` - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#ignorebrowserslistconfig)' parameter +* **include** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#include)' parameter +* **jsx**, default truish, can be a an object passed as params to [@vue/babel-preset-jsx`](https://www.npmjs.com/package/@vue/babel-preset-jsx) +* **loose**, default `false` - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#loose)' parameter and also sets `loose=true` for `@babel/plugin-proposal-class-properties` +* **modern** passed by builder, either `true` or `false` +* **modules**, default `false` - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#modules)' parameter +* **polyfills**, default `['es6.array.iterator','es6.promise','es7.promise.finally']`, more [in the corresponding repository](https://github.com/zloirock/core-js) +* **shippedProposals** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#shippedproposals)' parameter +* **spec** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#spec)' parameter +* **targets** - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#targets)' parameter +* **useBuiltIns**, default `"usage"` - '[@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env#usebuiltins)' parameter + +There are [detailed docs](https://babeljs.io/docs/en/babel-preset-env#options) for the parameters of '@babel/preset-env'. + +### Example 1. Change targets for server and client respectively +```js +babel: { + presets({ isServer }) { + return [ + [ + "@nuxt/babel-preset-app", + { + targets: isServer + ? { node: "current" } + : { browsers: ["last 2 versions"], ie: 11 } + } + ] + ] + } +}, +``` From 05299d673831c90ae470d1b033337ae203df5761 Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Sun, 3 Mar 2019 08:52:59 +0100 Subject: [PATCH 128/221] refactor: improve modern middleware and spa modern rendering (#5037) --- packages/server/src/middleware/modern.js | 21 +++++------------- packages/server/src/server.js | 2 +- packages/vue-renderer/src/renderer.js | 21 +++++++++--------- packages/vue-renderer/src/spa-meta.js | 27 ++++++++++++------------ test/unit/modern.spa.test.js | 22 ++++++++++++++++--- 5 files changed, 49 insertions(+), 44 deletions(-) diff --git a/packages/server/src/middleware/modern.js b/packages/server/src/middleware/modern.js index 97976f56e9..1ee541ac73 100644 --- a/packages/server/src/middleware/modern.js +++ b/packages/server/src/middleware/modern.js @@ -44,29 +44,18 @@ const detectModernBuild = ({ options, resources }) => { } const detectModernBrowser = ({ socket = {}, headers }) => { - if (socket.isModernBrowser !== undefined) { - return + if (socket.isModernBrowser === undefined) { + const ua = headers && headers['user-agent'] + socket.isModernBrowser = isModernBrowser(ua) } - const ua = headers && headers['user-agent'] - socket.isModernBrowser = isModernBrowser(ua) -} - -const setModernMode = (req, options) => { - const { socket: { isModernBrowser } = {} } = req - if (options.modern === 'server') { - req.modernMode = isModernBrowser - } - if (options.dev && !!options.modern) { - req.devModernMode = isModernBrowser - } + return socket.isModernBrowser } export default ({ context }) => (req, res, next) => { detectModernBuild(context) if (context.options.modern !== false) { - detectModernBrowser(req) - setModernMode(req, context.options) + req.modernMode = detectModernBrowser(req) } next() } diff --git a/packages/server/src/server.js b/packages/server/src/server.js index fe9c2a965b..ecb7fa8956 100644 --- a/packages/server/src/server.js +++ b/packages/server/src/server.js @@ -88,7 +88,7 @@ export default class Server { if (this.options.dev) { this.useMiddleware(modernMiddleware) this.useMiddleware(async (req, res, next) => { - const name = req.devModernMode ? 'modern' : 'client' + const name = req.modernMode ? 'modern' : 'client' if (this.devMiddleware && this.devMiddleware[name]) { await this.devMiddleware[name](req, res) } diff --git a/packages/vue-renderer/src/renderer.js b/packages/vue-renderer/src/renderer.js index dfc6a2722c..8b710b4f67 100644 --- a/packages/vue-renderer/src/renderer.js +++ b/packages/vue-renderer/src/renderer.js @@ -87,14 +87,13 @@ export default class VueRenderer { return modernFiles } - getPreloadFiles(context) { + getSsrPreloadFiles(context) { const preloadFiles = context.getPreloadFiles() - const modernMode = this.context.options.modern // In eligible server modern mode, preloadFiles are modern bundles from modern renderer - return modernMode === 'client' ? this.getModernFiles(preloadFiles) : preloadFiles + return this.context.options.modern === 'client' ? this.getModernFiles(preloadFiles) : preloadFiles } - renderResourceHints(context) { + renderSsrResourceHints(context) { if (this.context.options.modern === 'client') { const { publicPath, crossorigin } = this.context.options.build const linkPattern = /]*?href="([^"]*?)"[^>]*?as="script"[^>]*?>/g @@ -320,9 +319,7 @@ export default class VueRenderer { return { html, - getPreloadFiles: this.getPreloadFiles.bind(this, { - getPreloadFiles: content.getPreloadFiles - }) + getPreloadFiles: content.getPreloadFiles } } @@ -363,7 +360,7 @@ export default class VueRenderer { // Inject resource hints if (this.context.options.render.resourceHints) { - HEAD += this.renderResourceHints(context) + HEAD += this.renderSsrResourceHints(context) } // Inject styles @@ -409,7 +406,7 @@ export default class VueRenderer { return { html, cspScriptSrcHashes, - getPreloadFiles: this.getPreloadFiles.bind(this, context), + getPreloadFiles: this.getSsrPreloadFiles.bind(this, context), error: context.nuxt.error, redirected: context.redirected } @@ -438,15 +435,17 @@ export default class VueRenderer { // Add url to the context context.url = url + const { req = {} } = context + // context.spa if (context.spa === undefined) { // TODO: Remove reading from context.res in Nuxt3 - context.spa = !this.SSR || context.spa || (context.req && context.req.spa) || (context.res && context.res.spa) + context.spa = !this.SSR || context.spa || req.spa || (context.res && context.res.spa) } // context.modern if (context.modern === undefined) { - context.modern = context.req ? (context.req.modernMode || context.req.modern) : false + context.modern = req.modernMode && this.context.options.modern === 'server' } // Call context hook diff --git a/packages/vue-renderer/src/spa-meta.js b/packages/vue-renderer/src/spa-meta.js index 4d3106aa74..8fb72e91f0 100644 --- a/packages/vue-renderer/src/spa-meta.js +++ b/packages/vue-renderer/src/spa-meta.js @@ -30,8 +30,9 @@ export default class SPAMetaRenderer { return vm.$meta().inject() } - async render({ url = '/' }) { - let meta = this.cache.get(url) + async render({ url = '/', req = {} }) { + const cacheKey = `${req.modernMode ? 'modern:' : 'legacy:'}${url}` + let meta = this.cache.get(cacheKey) if (meta) { return meta @@ -73,8 +74,8 @@ export default class SPAMetaRenderer { meta.resourceHints = '' - const { modernManifest, clientManifest } = this.renderer.context.resources - const manifest = this.options.modern ? modernManifest : clientManifest + const { resources: { modernManifest, clientManifest } } = this.renderer.context + const manifest = req.modernMode ? modernManifest : clientManifest const { shouldPreload, shouldPrefetch } = this.options.render.bundleRenderer @@ -86,15 +87,18 @@ export default class SPAMetaRenderer { const { crossorigin } = this.options.build const cors = `${crossorigin ? ` crossorigin="${crossorigin}"` : ''}` - meta.resourceHints += manifest.initial + meta.preloadFiles = manifest.initial .map(SPAMetaRenderer.normalizeFile) .filter(({ fileWithoutQuery, asType }) => shouldPreload(fileWithoutQuery, asType)) - .map(({ file, extension, fileWithoutQuery, asType }) => { + .map(file => ({ ...file, modern: req.modernMode })) + + meta.resourceHints += meta.preloadFiles + .map(({ file, extension, fileWithoutQuery, asType, modern }) => { let extra = '' if (asType === 'font') { - extra = ` type="font/${extension}" crossorigin` + extra = ` type="font/${extension}"${cors ? '' : ' crossorigin'}` } - return `` }) .join('') @@ -116,13 +120,10 @@ export default class SPAMetaRenderer { } // Emulate getPreloadFiles from vue-server-renderer (works for JS chunks only) - meta.getPreloadFiles = () => - clientManifest.initial - .map(SPAMetaRenderer.normalizeFile) - .filter(({ fileWithoutQuery, asType }) => shouldPreload(fileWithoutQuery, asType)) + meta.getPreloadFiles = () => (meta.preloadFiles || []) // Set meta tags inside cache - this.cache.set(url, meta) + this.cache.set(cacheKey, meta) return meta } diff --git a/test/unit/modern.spa.test.js b/test/unit/modern.spa.test.js index 78ce72529c..1b5d86b570 100644 --- a/test/unit/modern.spa.test.js +++ b/test/unit/modern.spa.test.js @@ -4,6 +4,7 @@ import { loadFixture, getPort, Nuxt, rp } from '../utils' let nuxt, port, options const url = route => 'http://localhost:' + port + route +const modernUA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36' const modernInfo = mode => `Modern bundles are detected. Modern mode (${chalk.green.bold(mode)}) is enabled now.` describe('modern client mode (SPA)', () => { @@ -31,14 +32,29 @@ describe('modern client mode (SPA)', () => { expect(response).toContain(' diff --git a/examples/typescript-eslint/tsconfig.json b/examples/typescript-eslint/tsconfig.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/examples/typescript-eslint/tsconfig.json @@ -0,0 +1 @@ +{} diff --git a/examples/typescript-tsx/package.json b/examples/typescript-tsx/package.json index 80507973ca..4ac7793329 100644 --- a/examples/typescript-tsx/package.json +++ b/examples/typescript-tsx/package.json @@ -3,20 +3,18 @@ "private": true, "version": "1.0.0", "scripts": { - "dev": "nuxt-ts", - "build": "nuxt-ts build", - "start": "nuxt-ts start", - "generate": "nuxt-ts generate", - "lint": "tslint --project .", - "lint:fix": "tslint --project . --fix", + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate", "post-update": "yarn upgrade --latest", "watch:css": "tcm components -w" }, "dependencies": { - "nuxt-ts": "latest" + "nuxt": "latest" }, "devDependencies": { - "tslint-config-standard": "^8.0.1", + "@nuxt/typescript": "latest", "typed-css-modules": "^0.3.7" } } diff --git a/examples/typescript-tsx/tsconfig.json b/examples/typescript-tsx/tsconfig.json index fe19900507..e19104a826 100644 --- a/examples/typescript-tsx/tsconfig.json +++ b/examples/typescript-tsx/tsconfig.json @@ -1,8 +1,6 @@ { - "extends": "@nuxt/typescript", "compilerOptions": { - "baseUrl": ".", - "noImplicitThis": true, - "types": ["@types/node", "@nuxt/vue-app"] + "jsx": "preserve", + "noImplicitThis": true } } diff --git a/examples/typescript-tsx/tslint.json b/examples/typescript-tsx/tslint.json deleted file mode 100644 index 0c17b301f4..0000000000 --- a/examples/typescript-tsx/tslint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "defaultSeverity": "error", - "extends": ["tslint-config-standard"], - "rules": { - "prefer-const": true - } -} diff --git a/examples/typescript-vuex/package.json b/examples/typescript-vuex/package.json index 767f9cd8ef..1648346119 100644 --- a/examples/typescript-vuex/package.json +++ b/examples/typescript-vuex/package.json @@ -3,20 +3,19 @@ "private": true, "dependencies": { "axios": "^0.18.0", - "nuxt-ts": "latest", + "nuxt": "latest", "tachyons": "^4.11.1", "vue-property-decorator": "^7.3.0", "vuex-class": "^0.3.1" }, "scripts": { - "dev": "nuxt-ts", - "build": "nuxt-ts build", - "start": "nuxt-ts start", - "generate": "nuxt-ts generate", - "lint": "tslint --project .", + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate", "post-update": "yarn upgrade --latest" }, "devDependencies": { - "tslint-config-standard": "^8.0.1" + "@nuxt/typescript": "latest" } } diff --git a/examples/typescript-vuex/tsconfig.json b/examples/typescript-vuex/tsconfig.json index 6b563db445..0967ef424b 100644 --- a/examples/typescript-vuex/tsconfig.json +++ b/examples/typescript-vuex/tsconfig.json @@ -1,11 +1 @@ -{ - "extends": "@nuxt/typescript", - "compilerOptions": { - "baseUrl": ".", - "noImplicitAny": false, - "types": [ - "@types/node", - "@nuxt/vue-app" - ] - } -} +{} diff --git a/examples/typescript-vuex/tslint.json b/examples/typescript-vuex/tslint.json deleted file mode 100644 index 085d45bd4b..0000000000 --- a/examples/typescript-vuex/tslint.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultSeverity": "error", - "extends": [ - "tslint-config-standard" - ], - "rules": { - "prefer-const": true - } -} diff --git a/examples/typescript/package.json b/examples/typescript/package.json index aa696b9fc4..5596e3b173 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -2,18 +2,17 @@ "version": "1.0.0", "private": true, "dependencies": { - "nuxt-ts": "latest", + "nuxt": "latest", "vue-property-decorator": "^7.3.0" }, "scripts": { - "dev": "nuxt-ts", - "build": "nuxt-ts build", - "start": "nuxt-ts start", - "generate": "nuxt-ts generate", - "lint": "tslint --project .", + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start", + "generate": "nuxt generate", "post-update": "yarn upgrade --latest" }, "devDependencies": { - "tslint-config-standard": "^8.0.1" + "@nuxt/typescript": "latest" } } diff --git a/examples/typescript/tsconfig.json b/examples/typescript/tsconfig.json index e088a2e41c..0967ef424b 100644 --- a/examples/typescript/tsconfig.json +++ b/examples/typescript/tsconfig.json @@ -1,10 +1 @@ -{ - "extends": "@nuxt/typescript", - "compilerOptions": { - "baseUrl": ".", - "types": [ - "@types/node", - "@nuxt/vue-app" - ] - } -} +{} diff --git a/examples/typescript/tslint.json b/examples/typescript/tslint.json deleted file mode 100644 index 085d45bd4b..0000000000 --- a/examples/typescript/tslint.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "defaultSeverity": "error", - "extends": [ - "tslint-config-standard" - ], - "rules": { - "prefer-const": true - } -} diff --git a/packages/cli/src/command.js b/packages/cli/src/command.js index d09e9b4a68..7108d0450f 100644 --- a/packages/cli/src/command.js +++ b/packages/cli/src/command.js @@ -1,9 +1,12 @@ + +import path from 'path' import consola from 'consola' import minimist from 'minimist' import { name, version } from '../package.json' import { loadNuxtConfig, forceExit } from './utils' import { indent, foldLines, colorize } from './utils/formatting' import { startSpaces, optionSpaces, forceExitTimeout } from './utils/constants' +import { detectAndSetupTypeScriptSupport } from './utils/typescript' import * as imports from './imports' export default class NuxtCommand { @@ -73,7 +76,10 @@ export default class NuxtCommand { return this._parsedArgv } - async getNuxtConfig(extraOptions) { + async getNuxtConfig(extraOptions = {}) { + const rootDir = path.resolve(this.argv._[0] || '.') + extraOptions._typescript = await detectAndSetupTypeScriptSupport(rootDir, { transpileOnly: this.cmd.name === 'start' }) + const config = await loadNuxtConfig(this.argv) const options = Object.assign(config, extraOptions) diff --git a/packages/cli/src/utils/index.js b/packages/cli/src/utils/index.js index b2f22d13b6..de6ce42ad5 100644 --- a/packages/cli/src/utils/index.js +++ b/packages/cli/src/utils/index.js @@ -1,5 +1,4 @@ import path from 'path' -import { existsSync } from 'fs' import consola from 'consola' import esm from 'esm' import exit from 'exit' @@ -11,14 +10,14 @@ import prettyBytes from 'pretty-bytes' import env from 'std-env' import { successBox, warningBox } from './formatting' -export const requireModule = process.env.NUXT_TS ? require : esm(module, { +const esmOptions = { cache: false, cjs: { cache: true, vars: true, namedExports: true } -}) +} export const eventsMapping = { add: { icon: '+', color: 'green', action: 'Created' }, @@ -26,18 +25,23 @@ export const eventsMapping = { unlink: { icon: '-', color: 'red', action: 'Removed' } } -const getRootDir = argv => path.resolve(argv._[0] || '.') -const getNuxtConfigFile = argv => path.resolve(getRootDir(argv), argv['config-file']) - export async function loadNuxtConfig(argv) { - const rootDir = getRootDir(argv) - const nuxtConfigFile = getNuxtConfigFile(argv) - + const rootDir = path.resolve(argv._[0] || '.') + let nuxtConfigFile let options = {} - if (existsSync(nuxtConfigFile)) { - delete require.cache[nuxtConfigFile] - options = requireModule(nuxtConfigFile) || {} + try { + nuxtConfigFile = require.resolve(path.resolve(rootDir, argv['config-file'])) + } catch (e) { + if (e.code !== 'MODULE_NOT_FOUND') { + throw (e) + } else if (argv['config-file'] !== defaultNuxtConfigFile) { + consola.fatal('Could not load config file: ' + argv['config-file']) + } + } + + if (nuxtConfigFile) { + options = (nuxtConfigFile.endsWith('.ts') ? require(nuxtConfigFile) : esm(module, esmOptions)(nuxtConfigFile)) || {} if (options.default) { options = options.default } @@ -56,9 +60,8 @@ export async function loadNuxtConfig(argv) { // Keep _nuxtConfigFile for watching options._nuxtConfigFile = nuxtConfigFile - } else if (argv['config-file'] !== defaultNuxtConfigFile) { - consola.fatal('Could not load config file: ' + argv['config-file']) } + if (typeof options.rootDir !== 'string') { options.rootDir = rootDir } diff --git a/packages/cli/src/utils/typescript.js b/packages/cli/src/utils/typescript.js new file mode 100644 index 0000000000..efb0d7b60f --- /dev/null +++ b/packages/cli/src/utils/typescript.js @@ -0,0 +1,38 @@ +import path from 'path' +import { existsSync } from 'fs' +import chalk from 'chalk' +import consola from 'consola' +import { warningBox } from './formatting' + +const dependencyNotFoundMessage = +`Please install @nuxt/typescript and rerun the command + +${chalk.bold('Using yarn')} +yarn add -D @nuxt/typescript + +${chalk.bold('Using npm')} +npm install -D @nuxt/typescript` + +export async function detectAndSetupTypeScriptSupport(rootDir, options = {}) { + const tsConfigPath = path.resolve(rootDir, 'tsconfig.json') + + if (!existsSync(tsConfigPath)) { + return false + } + + consola.info(`${chalk.bold.blue('tsconfig.json')} found, enabling TypeScript runtime support`) + + try { + const { setup } = require('@nuxt/typescript') + await setup(tsConfigPath, options) + } catch (e) { + if (e.code === 'MODULE_NOT_FOUND') { + process.stdout.write(warningBox(dependencyNotFoundMessage, chalk.yellow('An external official dependency is needed to enable TS support'))) + process.exit(1) + } else { + throw (e) + } + } + + return true +} diff --git a/packages/cli/test/unit/__snapshots__/command.test.js.snap b/packages/cli/test/unit/__snapshots__/command.test.js.snap index fc6f1cf37f..7e94e0af4a 100644 --- a/packages/cli/test/unit/__snapshots__/command.test.js.snap +++ b/packages/cli/test/unit/__snapshots__/command.test.js.snap @@ -14,7 +14,7 @@ exports[`cli/command builds help text 1`] = ` --universal, -u Launch in Universal mode (default) --config-file, -c Path to Nuxt.js - config file (default: nuxt.config.js) + config file (default: nuxt.config) --modern, -m Build/Start app for modern browsers, e.g. server, client and false diff --git a/packages/config/src/config/build.js b/packages/config/src/config/build.js index 8b0919d37a..3bde85fbc6 100644 --- a/packages/config/src/config/build.js +++ b/packages/config/src/config/build.js @@ -54,7 +54,9 @@ export default () => ({ }, vueStyle: {} }, - useForkTsChecker: process.env.NUXT_TS === 'true', + typescript: { + typeCheck: true + }, styleResources: {}, plugins: [], terser: {}, diff --git a/packages/config/src/config/index.js b/packages/config/src/config/index.js index 0e6fe2fc75..aa36e71330 100644 --- a/packages/config/src/config/index.js +++ b/packages/config/src/config/index.js @@ -10,7 +10,7 @@ import router from './router' import server from './server' import cli from './cli' -export const defaultNuxtConfigFile = `nuxt.config${process.env.NUXT_TS === 'true' ? '.ts' : '.js'}` +export const defaultNuxtConfigFile = 'nuxt.config' export function getDefaultNuxtConfig(options = {}) { if (!options.env) { diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 639afc6cb8..896d40e7e1 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -84,7 +84,7 @@ export function getNuxtConfig(_options) { // Default value for _nuxtConfigFile if (!options._nuxtConfigFile) { - options._nuxtConfigFile = path.resolve(options.rootDir, defaultNuxtConfigFile) + options._nuxtConfigFile = path.resolve(options.rootDir, `${defaultNuxtConfigFile}.js`) } // Watch for _nuxtConfigFile changes diff --git a/packages/config/test/__snapshots__/options.test.js.snap b/packages/config/test/__snapshots__/options.test.js.snap index e64e2de92f..41cf6a3d4b 100644 --- a/packages/config/test/__snapshots__/options.test.js.snap +++ b/packages/config/test/__snapshots__/options.test.js.snap @@ -131,7 +131,9 @@ Object { "templates": Array [], "terser": Object {}, "transpile": Array [], - "useForkTsChecker": false, + "typescript": Object { + "typeCheck": true, + }, "watch": Array [], }, "buildDir": "/var/nuxt/test/.nuxt", diff --git a/packages/config/test/config/__snapshots__/index.test.js.snap b/packages/config/test/config/__snapshots__/index.test.js.snap index 83f9a88a7a..26e25a4840 100644 --- a/packages/config/test/config/__snapshots__/index.test.js.snap +++ b/packages/config/test/config/__snapshots__/index.test.js.snap @@ -121,7 +121,9 @@ Object { "templates": Array [], "terser": Object {}, "transpile": Array [], - "useForkTsChecker": false, + "typescript": Object { + "typeCheck": true, + }, "watch": Array [], }, "buildDir": ".nuxt", @@ -450,7 +452,9 @@ Object { "templates": Array [], "terser": Object {}, "transpile": Array [], - "useForkTsChecker": false, + "typescript": Object { + "typeCheck": true, + }, "watch": Array [], }, "buildDir": ".nuxt", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index ff9ed23aea..24c95df1bf 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -4,8 +4,7 @@ "repository": "nuxt/nuxt.js", "license": "MIT", "files": [ - "dist", - "tsconfig.json" + "dist" ], "main": "dist/typescript.js", "dependencies": { @@ -22,15 +21,11 @@ "@types/webpack-bundle-analyzer": "^2.13.1", "@types/webpack-dev-middleware": "^2.0.2", "@types/webpack-hot-middleware": "^2.16.5", - "chalk": "^2.4.2", - "consola": "^2.5.6", - "enquirer": "^2.3.0", "fork-ts-checker-webpack-plugin": "^1.0.0", "fs-extra": "^7.0.1", - "std-env": "^2.2.1", + "lodash": "^4.17.11", "ts-loader": "^5.3.3", "ts-node": "^8.0.3", - "tslint": "^5.14.0", "typescript": "^3.3.3333" }, "publishConfig": { diff --git a/packages/typescript/src/index.js b/packages/typescript/src/index.js index 6cc30c8c49..dbd13c56b9 100644 --- a/packages/typescript/src/index.js +++ b/packages/typescript/src/index.js @@ -1,53 +1,57 @@ -import chalk from 'chalk' -import consola from 'consola' -import env from 'std-env' -import { prompt } from 'enquirer' -import { existsSync, writeJSON } from 'fs-extra' +import { readJSON, writeJSON } from 'fs-extra' import { register } from 'ts-node' +import defaultsDeep from 'lodash/defaultsDeep' -async function generateTsConfig(tsConfigPath) { - const configToExtend = '@nuxt/typescript' - await writeJSON(tsConfigPath, { - extends: configToExtend, - compilerOptions: { - baseUrl: '.', - types: [ - '@types/node', - '@nuxt/vue-app' +export const defaultTsJsonConfig = { + compilerOptions: { + target: 'esnext', + module: 'esnext', + moduleResolution: 'node', + lib: [ + 'esnext', + 'esnext.asynciterable', + 'dom' + ], + esModuleInterop: true, + experimentalDecorators: true, + allowJs: true, + sourceMap: true, + strict: true, + noImplicitAny: false, + noEmit: true, + baseUrl: '.', + paths: { + '~/*': [ + './*' + ], + '@/*': [ + './*' ] - } - }, { spaces: 2 }) - consola.info(`Extending ${chalk.bold.blue(`node_modules/${configToExtend}/tsconfig.json`)}`) - consola.success(`Generated successfully at ${chalk.bold.green(tsConfigPath)}`) + }, + types: [ + '@types/node', + '@nuxt/vue-app' + ] + } } let _setup = false -export async function setup(tsConfigPath) { +export async function setup(tsConfigPath, options = {}) { if (_setup) { return } _setup = true - if (!existsSync(tsConfigPath)) { - const { confirmGeneration } = await prompt({ - type: 'confirm', - name: 'confirmGeneration', - message: `${chalk.bold.blue(tsConfigPath)} is missing, generate it ?`, - initial: true, - skip: env.minimal - }) + const config = await readJSON(tsConfigPath) + await writeJSON(tsConfigPath, defaultsDeep(config, defaultTsJsonConfig), { spaces: 2 }) - if (confirmGeneration) { - await generateTsConfig(tsConfigPath) - } - } // https://github.com/TypeStrong/ts-node register({ project: tsConfigPath, compilerOptions: { module: 'commonjs' }, - transpileOnly: process.argv[2] === 'start' + ...options }) } diff --git a/packages/typescript/test/setup.test.js b/packages/typescript/test/setup.test.js index 3646048f49..837442a07a 100644 --- a/packages/typescript/test/setup.test.js +++ b/packages/typescript/test/setup.test.js @@ -1,12 +1,9 @@ import { resolve } from 'path' -import { exists, mkdirp, readJSON, remove } from 'fs-extra' +import { mkdirp, readJSON, remove, writeJSON } from 'fs-extra' import { register } from 'ts-node' -import { setup as setupTypeScript } from '@nuxt/typescript' +import { defaultTsJsonConfig, setup as setupTypeScript } from '@nuxt/typescript' jest.mock('ts-node') -jest.mock('enquirer', () => ({ - prompt: jest.fn(() => ({ confirmGeneration: true })) -})) describe('typescript setup', () => { const rootDir = 'tmp' @@ -15,21 +12,12 @@ describe('typescript setup', () => { beforeAll(async () => { // We're assuming that rootDir provided to setupTypeScript is existing so we create the tested one await mkdirp(rootDir) + await writeJSON(tsConfigPath, {}) await setupTypeScript(tsConfigPath) }) - test('tsconfig.json has been generated if missing', async () => { - expect(await exists(tsConfigPath)).toBe(true) - expect(await readJSON(tsConfigPath)).toEqual({ - extends: '@nuxt/typescript', - compilerOptions: { - baseUrl: '.', - types: [ - '@types/node', - '@nuxt/vue-app' - ] - } - }) + test('tsconfig.json has been updated with defaults', async () => { + expect(await readJSON(tsConfigPath)).toEqual(defaultTsJsonConfig) }) test('ts-node has been registered once', async () => { @@ -41,13 +29,12 @@ describe('typescript setup', () => { project: tsConfigPath, compilerOptions: { module: 'commonjs' - }, - transpileOnly: false + } }) }) afterAll(async () => { // Clean workspace by removing the temporary folder (and the generated tsconfig.json at the same time) - await remove(tsConfigPath) + await remove(rootDir) }) }) diff --git a/packages/typescript/tsconfig.json b/packages/typescript/tsconfig.json deleted file mode 100644 index d4a6699b61..0000000000 --- a/packages/typescript/tsconfig.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "module": "esnext", - "moduleResolution": "node", - "lib": [ - "esnext", - "esnext.asynciterable", - "dom" - ], - "esModuleInterop": true, - "experimentalDecorators": true, - "jsx": "preserve", - "sourceMap": true, - "strict": true, - "noImplicitAny": true, - "noEmit": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "baseUrl": ".", - "paths": { - "~/*": [ - "./*" - ], - "@/*": [ - "./*" - ] - } - } -} diff --git a/packages/webpack/src/config/client.js b/packages/webpack/src/config/client.js index 46a484613b..6642105240 100644 --- a/packages/webpack/src/config/client.js +++ b/packages/webpack/src/config/client.js @@ -1,5 +1,4 @@ import path from 'path' -import fs from 'fs' import querystring from 'querystring' import consola from 'consola' import webpack from 'webpack' @@ -77,7 +76,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig { plugins() { const plugins = super.plugins() - const { buildOptions, options: { appTemplatePath, buildDir, rootDir, modern } } = this.buildContext + const { buildOptions, options: { appTemplatePath, buildDir, modern, rootDir, _typescript } } = this.buildContext // Generate output HTML for SSR if (buildOptions.ssr) { @@ -140,21 +139,16 @@ export default class WebpackClientConfig extends WebpackBaseConfig { // TypeScript type checker // Only performs once per client compilation and only if `ts-loader` checker is not used (transpileOnly: true) - if (!this.isModern && this.loaders.ts.transpileOnly && buildOptions.useForkTsChecker) { - const forkTsCheckerResolvedPath = this.buildContext.nuxt.resolver.resolveModule('fork-ts-checker-webpack-plugin') - if (forkTsCheckerResolvedPath) { - const ForkTsCheckerWebpackPlugin = require(forkTsCheckerResolvedPath) - plugins.push(new ForkTsCheckerWebpackPlugin(Object.assign({ - vue: true, - tsconfig: path.resolve(rootDir, 'tsconfig.json'), - // https://github.com/Realytics/fork-ts-checker-webpack-plugin#options - tslint: boolean | string - So we set it false if file not found - tslint: (tslintPath => fs.existsSync(tslintPath) && tslintPath)(path.resolve(rootDir, 'tslint.json')), - formatter: 'codeframe', - logger: consola - }, buildOptions.useForkTsChecker))) - } else { - consola.warn('You need to install `fork-ts-checker-webpack-plugin` as devDependency to enable TypeScript type checking !') - } + if (_typescript && buildOptions.typescript && buildOptions.typescript.typeCheck && !this.isModern && this.loaders.ts.transpileOnly) { + // We assume that "_typescript" being truthy means @nuxt/typescript is installed <=> fork-ts-checker-webpack-plugin is installed + const ForkTsCheckerWebpackPlugin = require(this.buildContext.nuxt.resolver.resolveModule('fork-ts-checker-webpack-plugin')) + plugins.push(new ForkTsCheckerWebpackPlugin(Object.assign({ + vue: true, + tsconfig: path.resolve(rootDir, 'tsconfig.json'), + tslint: false, // We recommend using ESLint so we set this option to `false` by default + formatter: 'codeframe', + logger: consola + }, buildOptions.typescript.typeCheck))) } return plugins diff --git a/test/fixtures/typescript/tsconfig.json b/test/fixtures/typescript/tsconfig.json index 6b563db445..5829f5af81 100644 --- a/test/fixtures/typescript/tsconfig.json +++ b/test/fixtures/typescript/tsconfig.json @@ -1,8 +1,30 @@ { - "extends": "@nuxt/typescript", "compilerOptions": { - "baseUrl": ".", + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", + "lib": [ + "esnext", + "esnext.asynciterable", + "dom" + ], + "esModuleInterop": true, + "experimentalDecorators": true, + "allowJs": true, + "jsx": "preserve", + "sourceMap": true, + "strict": true, "noImplicitAny": false, + "noEmit": true, + "baseUrl": ".", + "paths": { + "~/*": [ + "./*" + ], + "@/*": [ + "./*" + ] + }, "types": [ "@types/node", "@nuxt/vue-app" diff --git a/test/unit/typescript.modern.test.js b/test/unit/typescript.modern.test.js index f6105747be..4f934f653e 100644 --- a/test/unit/typescript.modern.test.js +++ b/test/unit/typescript.modern.test.js @@ -8,7 +8,7 @@ describe('typescript modern', () => { beforeAll(async () => { const options = await loadFixture('typescript') - nuxt = new Nuxt(Object.assign(options, { modern: true, build: { useForkTsChecker: true } })) + nuxt = new Nuxt(Object.assign(options, { modern: true, _typescript: true })) await new Builder(nuxt, BundleBuilder).build() }) diff --git a/yarn.lock b/yarn.lock index cb1b31086a..860abde92f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2184,7 +2184,7 @@ ansi-align@^3.0.0: dependencies: string-width "^3.0.0" -ansi-colors@^3.0.0, ansi-colors@^3.2.1: +ansi-colors@^3.0.0: version "3.2.4" resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== @@ -4284,13 +4284,6 @@ enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.0: memory-fs "^0.4.0" tapable "^1.0.0" -enquirer@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.0.tgz#c362c9d84984ebe854def63caaf12983a16af552" - integrity sha512-RNGUbRVlfnjmpxV+Ed+7CGu0rg3MK7MmlW+DW0v7V2zdAUBC1s4BxCRiIAozbYB2UJ+q4D+8tW9UFb11kF72/g== - dependencies: - ansi-colors "^3.2.1" - entities@^1.1.1, entities@~1.1.1: version "1.1.2" resolved "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" From 29c3c4250c4daf225de85c2fdbfe519ebe706595 Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Thu, 14 Mar 2019 06:09:52 -0400 Subject: [PATCH 176/221] fix(ts): deprecate `isClient`, `isServer`, `isStatic` (#5211) --- packages/vue-app/types/index.d.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/vue-app/types/index.d.ts b/packages/vue-app/types/index.d.ts index a902e63d58..658c05c161 100644 --- a/packages/vue-app/types/index.d.ts +++ b/packages/vue-app/types/index.d.ts @@ -14,9 +14,18 @@ type NuxtState = Dictionary export interface Context { app: Vue - isClient: boolean - isServer: boolean - isStatic: boolean + /** + * @deprecated Use process.client instead + */ + isClient: boolean; isClient: boolean; + /** + * @deprecated Use process.server instead + */ + isServer: boolean; isServer: boolean; + /** + * @deprecated Use process.static instead + */ + isStatic: boolean; isStatic: boolean; isDev: boolean isHMR: boolean route: Route From f89227e968047846144a22e4e662511b044c3ea1 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 14 Mar 2019 13:52:12 +0330 Subject: [PATCH 177/221] fix typo in index.d.ts --- packages/vue-app/types/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vue-app/types/index.d.ts b/packages/vue-app/types/index.d.ts index 658c05c161..cdc3c97673 100644 --- a/packages/vue-app/types/index.d.ts +++ b/packages/vue-app/types/index.d.ts @@ -17,15 +17,15 @@ export interface Context { /** * @deprecated Use process.client instead */ - isClient: boolean; isClient: boolean; + isClient: boolean; /** * @deprecated Use process.server instead */ - isServer: boolean; isServer: boolean; + isServer: boolean; /** * @deprecated Use process.static instead */ - isStatic: boolean; isStatic: boolean; + isStatic: boolean; isDev: boolean isHMR: boolean route: Route From cb3171f29687d76c69e4fb1061e3c445b6f6c0de Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 14 Mar 2019 13:56:52 +0330 Subject: [PATCH 178/221] update @types/chokidar --- packages/typescript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 24c95df1bf..8d8593165a 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -8,7 +8,7 @@ ], "main": "dist/typescript.js", "dependencies": { - "@types/chokidar": "^1.7.5", + "@types/chokidar": "^2.1.3", "@types/compression": "^0.0.36", "@types/etag": "^1.8.0", "@types/express": "^4.16.1", From 14eab43cf026bb2145f450e8493e3b8707f1b084 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 14 Mar 2019 13:56:59 +0330 Subject: [PATCH 179/221] update yarn.lock --- yarn.lock | 148 ++++++++++++++++++++++++++---------------------------- 1 file changed, 71 insertions(+), 77 deletions(-) diff --git a/yarn.lock b/yarn.lock index 860abde92f..00ea089c2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1503,10 +1503,10 @@ mustache "^2.3.0" stack-trace "0.0.10" -"@octokit/endpoint@^3.1.1": - version "3.1.3" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.1.3.tgz#f6e9c2521b83b74367600e474b24efec2b0471c4" - integrity sha512-vAWzeoj9Lzpl3V3YkWKhGzmDUoMfKpyxJhpq74/ohMvmLXDoEuAGnApy/7TRi3OmnjyX2Lr+e9UGGAD0919ohA== +"@octokit/endpoint@^3.2.0": + version "3.2.3" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-3.2.3.tgz#bd9aea60cd94ce336656b57a5c9cb7f10be8f4f3" + integrity sha512-yUPCt4vMIOclox13CUxzuKiPJIFo46b/6GhUnUTw5QySczN1L0DtSxgmIZrZV4SAb9EyAqrceoyrWoYVnfF2AA== dependencies: deepmerge "3.2.0" is-plain-object "^2.0.4" @@ -1514,16 +1514,16 @@ url-template "^2.0.8" "@octokit/plugin-enterprise-rest@^2.1.1": - version "2.2.0" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.2.0.tgz#7ee72a187e8a034d6fc21b8174bef40e34c22f02" - integrity sha512-/uXIvjK5bxmMKI1MDZXxVSiheiyvqv7GCWjoN1s43jF3MMrfqnErOwbZkreeL0CgO1R2lNW6dESDV5NbRiWEQA== + version "2.2.1" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.2.1.tgz#47954271289cfc65607a8cfb0257f0d47fb2d486" + integrity sha512-Ssrh5D5uOqeS/Kjs6bbzn4ZaaaZQ2h6X/DgoDVv0Goa2ncpHwBN644hfYOL5ycigkpYbHKTjyb6cM49kPwQRPA== -"@octokit/request@2.4.1": - version "2.4.1" - resolved "https://registry.npmjs.org/@octokit/request/-/request-2.4.1.tgz#98c4d6870e4abe3ccdd2b9799034b4ae3f441c30" - integrity sha512-nN8W24ZXEpJQJoVgMsGZeK9FOzxkc39Xn9ykseUpPpPMNEDFSvqfkCeqqKrjUiXRm72ubGLWG1SOz0aJPcgGww== +"@octokit/request@2.4.2": + version "2.4.2" + resolved "https://registry.npmjs.org/@octokit/request/-/request-2.4.2.tgz#87c36e820dd1e43b1629f4f35c95b00cd456320b" + integrity sha512-lxVlYYvwGbKSHXfbPk5vxEA8w4zHOH1wobado4a9EfsyD3Cbhuhus1w0Ye9Ro0eMubGO8kNy5d+xNFisM3Tvaw== dependencies: - "@octokit/endpoint" "^3.1.1" + "@octokit/endpoint" "^3.2.0" deprecation "^1.0.1" is-plain-object "^2.0.4" node-fetch "^2.3.0" @@ -1531,17 +1531,19 @@ universal-user-agent "^2.0.1" "@octokit/rest@^16.16.0": - version "16.17.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.17.0.tgz#3a8c0ff5290e25a48b11f6957aa90791c672c91e" - integrity sha512-1RB7e4ptR/M+1Ik3Qn84pbppbSadBaCtpgFqgqsXn6s4ZVE6hqW9SOm6UW5yd3KT7ObVfdYUkhMlgR937oKyDw== + version "16.18.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.18.0.tgz#e57634d3a2b79045aa125430b640f16ffcf3e8c2" + integrity sha512-xRgcFk4og+9SrPLKYdKDCny8iqr+8VkvPucTQEVer6rBBRYVGdZ65/49IZXngErlRrTkuDni3bC7V8re4vvypA== dependencies: - "@octokit/request" "2.4.1" + "@octokit/request" "2.4.2" before-after-hook "^1.4.0" btoa-lite "^1.0.0" + deprecation "^1.0.1" lodash.get "^4.4.2" lodash.set "^4.3.2" lodash.uniq "^4.5.0" octokit-pagination-methods "^1.1.0" + once "^1.4.0" universal-user-agent "^2.0.0" url-template "^2.0.8" @@ -1603,13 +1605,12 @@ "@types/connect" "*" "@types/node" "*" -"@types/chokidar@^1.7.5": - version "1.7.5" - resolved "https://registry.npmjs.org/@types/chokidar/-/chokidar-1.7.5.tgz#1fa78c8803e035bed6d98e6949e514b133b0c9b6" - integrity sha512-PDkSRY7KltW3M60hSBlerxI8SFPXsO3AL/aRVsO4Kh9IHRW74Ih75gUuTd/aE4LSSFqypb10UIX3QzOJwBQMGQ== +"@types/chokidar@^2.1.3": + version "2.1.3" + resolved "https://registry.npmjs.org/@types/chokidar/-/chokidar-2.1.3.tgz#123ab795dba6d89be04bf076e6aecaf8620db674" + integrity sha512-6qK3xoLLAhQVTucQGHTySwOVA1crHRXnJeLwqK6KIFkkKa2aoMFXh+WEi8PotxDtvN6MQJLyYN9ag9P6NLV81w== dependencies: - "@types/events" "*" - "@types/node" "*" + chokidar "*" "@types/clean-css@*": version "4.2.0" @@ -1644,11 +1645,6 @@ dependencies: "@types/node" "*" -"@types/events@*": - version "3.0.0" - resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" - integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== - "@types/express-serve-static-core@*": version "4.16.1" resolved "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.1.tgz#35df7b302299a4ab138a643617bd44078e74d44e" @@ -1697,12 +1693,7 @@ resolved "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz#dc488842312a7f075149312905b5e3c0b054c79d" integrity sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw== -"@types/node@*", "@types/node@^11.9.5": - version "11.11.0" - resolved "https://registry.npmjs.org/@types/node/-/node-11.11.0.tgz#070e9ce7c90e727aca0e0c14e470f9a93ffe9390" - integrity sha512-D5Rt+HXgEywr3RQJcGlZUCTCx1qVbCZpVk3/tOOA6spLNZdGm8BU+zRgdRYDoF1pO3RuXLxADzMrF903JlQXqg== - -"@types/node@^11.11.3": +"@types/node@*", "@types/node@^11.11.3", "@types/node@^11.9.5": version "11.11.3" resolved "https://registry.npmjs.org/@types/node/-/node-11.11.3.tgz#7c6b0f8eaf16ae530795de2ad1b85d34bf2f5c58" integrity sha512-wp6IOGu1lxsfnrD+5mX6qwSwWuqsdkKKxTN4aQc4wByHAKZJf9/D4KXPQ1POUjEbnCP5LMggB0OEFNY9OTsMqg== @@ -1715,9 +1706,9 @@ "@types/webpack" "*" "@types/q@^1.5.1": - version "1.5.1" - resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18" - integrity sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA== + version "1.5.2" + resolved "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" + integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== "@types/range-parser@*": version "1.2.3" @@ -2397,9 +2388,9 @@ astral-regex@^1.0.0: integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== async-each@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - integrity sha1-GdOGodntxufByF04iu28xW0zYC0= + version "1.0.2" + resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz#8b8a7ca2a658f927e9f307d6d1a42f4199f0f735" + integrity sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg== async-limiter@~1.0.0: version "1.0.0" @@ -2966,12 +2957,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940: - version "1.0.30000943" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000943.tgz#00b25bd5808edc2ed1cfb53533a6a6ff6ca014ee" - integrity sha512-nJMjU4UaesbOHTcmz6VS+qaog++Fdepg4KAya5DL/AZrL/aaAZDGOOQ0AECtsJa09r4cJBdHZMive5mw8lnQ5A== - -caniuse-lite@^1.0.30000947: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940, caniuse-lite@^1.0.30000947: version "1.0.30000947" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000947.tgz#c30305e9701449c22e97f4e9837cea3d76aa3273" integrity sha512-ubgBUfufe5Oi3W1+EHyh2C3lfBIEcZ6bTuvl5wNOpIuRB978GF/Z+pQ7pGGUpeYRB0P+8C7i/3lt6xkeu2hwnA== @@ -3045,7 +3031,7 @@ cheerio@^1.0.0-rc.2: lodash "^4.15.0" parse5 "^3.0.1" -chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.2: +chokidar@*, chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz#9c23ea40b01638439e0513864d362aeacc5ad058" integrity sha512-IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg== @@ -4219,9 +4205,9 @@ ejs@^2.6.1: integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== electron-to-chromium@^1.3.113: - version "1.3.114" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.114.tgz#1862887589db93f832057c81878c56c404960aa6" - integrity sha512-EQEFDVId4dqTrV9wvDmu/Po8Re9nN1sJm9KZECKRf3HC39DUYAEHQ8s7s9HsnhO9iFwl/Gpke9dvm6VwQTss5w== + version "1.3.116" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.116.tgz#1dbfee6a592a0c14ade77dbdfe54fef86387d702" + integrity sha512-NKwKAXzur5vFCZYBHpdWjTMO8QptNLNP80nItkSIgUOapPAo9Uia+RvkCaZJtO7fhQaVElSvBPWEc2ku6cKsPA== elliptic@^6.0.0: version "6.4.1" @@ -4934,12 +4920,12 @@ find-cache-dir@^1.0.0: pkg-dir "^2.0.0" find-cache-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.0.0.tgz#4c1faed59f45184530fb9d7fa123a4d04a98472d" - integrity sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA== + version "2.1.0" + resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" + integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== dependencies: commondir "^1.0.1" - make-dir "^1.0.0" + make-dir "^2.0.0" pkg-dir "^3.0.0" find-up@^1.0.0: @@ -7039,6 +7025,14 @@ make-dir@^1.0.0, make-dir@^1.3.0: dependencies: pify "^3.0.0" +make-dir@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" + integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== + dependencies: + pify "^4.0.1" + semver "^5.6.0" + make-error@1.x, make-error@^1.1.1: version "1.3.5" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" @@ -7122,12 +7116,12 @@ media-typer@0.3.0: integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= mem@^4.0.0: - version "4.1.0" - resolved "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz#aeb9be2d21f47e78af29e4ac5978e8afa2ca5b8a" - integrity sha512-I5u6Q1x7wxO0kdOpYBB28xueHADYps5uty/zg936CiG8NTe5sJL8EjrCuLneuDW3PlMdZBGDIn8BirEVdovZvg== + version "4.2.0" + resolved "https://registry.npmjs.org/mem/-/mem-4.2.0.tgz#5ee057680ed9cb8dad8a78d820f9a8897a102025" + integrity sha512-5fJxa68urlY0Ir8ijatKa3eRz5lwXnRCTvo9+TbTGAuTFJOwpGcY0X05moBd0nW45965Njt4CDI2GFQoG8DvqA== dependencies: map-age-cleaner "^0.1.1" - mimic-fn "^1.0.0" + mimic-fn "^2.0.0" p-is-promise "^2.0.0" memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1: @@ -7252,6 +7246,11 @@ mimic-fn@^1.0.0: resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== +mimic-fn@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.0.0.tgz#0913ff0b121db44ef5848242c38bbb35d44cabde" + integrity sha512-jbex9Yd/3lmICXwYT6gA/j2mNQGU48wCh/VzRd+/Y/PjYQtlg1gLMdZqvu9s/xH7qKvngxRObl56XZR609IMbA== + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -7396,9 +7395,9 @@ mute-stream@~0.0.4: integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== nan@^2.9.2: - version "2.12.1" - resolved "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" - integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== + version "2.13.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.13.0.tgz#7bdfc27dd3c060c46e60b62c72b74012d1a4cd68" + integrity sha512-5DDQvN0luhXdut8SCwzm/ZuAX2W+fwhqNzfq7CZ+OJzQ6NwpcqmIGyLD1R8MEt7BeErzcsI0JLr4pND2pNp2Cw== nanomatch@^1.2.9: version "1.2.13" @@ -9458,10 +9457,10 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" -regenerate-unicode-properties@^8.0.1: - version "8.0.1" - resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.1.tgz#58a4a74e736380a7ab3c5f7e03f303a941b31289" - integrity sha512-HTjMafphaH5d5QDHuwW8Me6Hbc/GhXg8luNqTkPVwZ/oCZhnoifjWhGYsu2BzepMELTlbnoVcXvV0f+2uDDvoQ== +regenerate-unicode-properties@^8.0.2: + version "8.0.2" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.2.tgz#7b38faa296252376d363558cfbda90c9ce709662" + integrity sha512-SbA/iNrBUf6Pv2zU8Ekv1Qbhv92yxL4hiDa2siuxs4KKn4oOoMDHXjAf7+Nz9qinUQ46B1LcWEi/PhJfPWpZWQ== dependencies: regenerate "^1.4.0" @@ -9506,12 +9505,12 @@ regexpp@^2.0.1: integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== regexpu-core@^4.1.3, regexpu-core@^4.2.0: - version "4.5.3" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.3.tgz#72f572e03bb8b9f4f4d895a0ccc57e707f4af2e4" - integrity sha512-LON8666bTAlViVEPXMv65ZqiaR3rMNLz36PIaQ7D+er5snu93k0peR7FSvO0QteYbZ3GOkvfHKbGr/B1xDu9FA== + version "4.5.4" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae" + integrity sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ== dependencies: regenerate "^1.4.0" - regenerate-unicode-properties "^8.0.1" + regenerate-unicode-properties "^8.0.2" regjsgen "^0.5.0" regjsparser "^0.6.0" unicode-match-property-ecmascript "^1.0.4" @@ -10125,9 +10124,9 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: urix "^0.1.0" source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.10: - version "0.5.10" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.10.tgz#2214080bc9d51832511ee2bab96e3c2f9353120c" - integrity sha512-YfQ3tQFTK/yzlGJuX8pTwa4tifQj4QS2Mj7UegOu8jAz59MqIiMGPXxQhVQiIMNzayuUSF/jEuVnfFF5JqybmQ== + version "0.5.11" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.11.tgz#efac2ce0800355d026326a0ca23e162aeac9a4e2" + integrity sha512-//sajEx/fGL3iw6fltKMdPvy8kL3kJ2O3iuYlRoT3k9Kb4BjOoZ+BZzaNHeuaruSt+Kf3Zk9tnfAQg9/AJqUVQ== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -11026,12 +11025,7 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -upath@^1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/upath/-/upath-1.1.1.tgz#497f7c1090b0818f310bbfb06783586a68d28014" - integrity sha512-D0yetkpIOKiZQquxjM2Syvy48Y1DbZ0SWxgsZiwd9GCWRpc75vN8ytzem14WDSg+oiX6+Qt31FpiS/ExODCrLg== - -upath@^1.1.2: +upath@^1.1.0, upath@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q== From 19dab79581ba4a196262e7b3f11d918c68f23fcf Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Thu, 14 Mar 2019 14:14:47 +0330 Subject: [PATCH 180/221] improve commits script --- .gitignore | 1 + scripts/commits | 34 ++++++++++++++++++---------------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 356b4b7b35..dd1e0c60b0 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ coverage Network Trash Folder Temporary Items .apdisk +commits.md diff --git a/scripts/commits b/scripts/commits index f161b0268a..7230d01288 100755 --- a/scripts/commits +++ b/scripts/commits @@ -4,23 +4,25 @@ latestTag=`git describe | grep -oE "^[^-]+"` -echo "Comaparing $latestTag...dev" +rm commits.md + +write() { + echo "$@" + echo "$@" >> commits.md +} + +write "Comaparing $latestTag...dev" diff=`git --no-pager log $latestTag...dev --pretty="%s (%an) (%h)"` -echo -echo "# Features" -echo "$diff" | awk '/feat/' -echo "$diff" | awk '/feat/' | grep -oE "[0-9a-f]{8}" > .git/feat.txt +write +write "## Features" +write +res=`echo "$diff" | awk '/feat/' | grep ":" | grep -v "renovate" | sed -e 's/^/- /' | sort` +write "$res" -echo -echo "# Fixes" -echo "$diff" | awk '!/feat/' -echo "$diff" | awk '!/feat/' | grep -oE "[0-9a-f]{8}" > .git/fix.txt - -echo -echo "To apply diff into target banch:" -echo "$ git cherry-pick \`tac .git/fix.txt\`" -echo "In case of conflicts:" -echo "$ yarn" -echo "$ git cherry-pick --continue" +write +write "## Fixes" +write +res=`echo "$diff" | awk '!/feat/' | grep ":" | grep -v "renovate" | sed -e 's/^/- /' | sort` +write "$res" From 3be7f0aa3ec58c3332d47c4b78560ec29542a48a Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 14 Mar 2019 12:16:34 +0000 Subject: [PATCH 181/221] chore: improve commit shell [release] --- scripts/commits | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/scripts/commits b/scripts/commits index 7230d01288..e1957750c4 100755 --- a/scripts/commits +++ b/scripts/commits @@ -11,18 +11,22 @@ write() { echo "$@" >> commits.md } +writeSection() { + write + write "## $1" + write + res=`echo "$3" | awk "/^$2(.*):/;" | grep ":" | grep -v "renovate" | sed -e 's/^/- /' | sort` + write "$res" +} + write "Comaparing $latestTag...dev" diff=`git --no-pager log $latestTag...dev --pretty="%s (%an) (%h)"` -write -write "## Features" -write -res=`echo "$diff" | awk '/feat/' | grep ":" | grep -v "renovate" | sed -e 's/^/- /' | sort` -write "$res" - -write -write "## Fixes" -write -res=`echo "$diff" | awk '!/feat/' | grep ":" | grep -v "renovate" | sed -e 's/^/- /' | sort` -write "$res" +writeSection 'Features' 'feat' $diff +writeSection 'Fixes' 'fix' $diff +writeSection 'Refactors' 'refactor' $diff +writeSection 'Performance Improvements' 'perf' $diff +writeSection 'Examples' 'examples' $diff +writeSection 'Chore' 'chore' $diff +writeSection 'Tests' 'test' $diff From 5f6f12eea745a1d204e914243568f6d9ea9afb01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 14 Mar 2019 13:01:52 +0000 Subject: [PATCH 182/221] chore(deps): update dependency @nuxt/devalue to ^1.2.2 (#5240) --- packages/builder/package.json | 2 +- packages/core/package.json | 2 +- packages/vue-renderer/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 43470207ae..2593c6d9e2 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -8,7 +8,7 @@ ], "main": "dist/builder.js", "dependencies": { - "@nuxt/devalue": "^1.2.1", + "@nuxt/devalue": "^1.2.2", "@nuxt/utils": "2.4.5", "@nuxt/vue-app": "2.4.5", "chokidar": "^2.1.2", diff --git a/packages/core/package.json b/packages/core/package.json index f6b287fc2f..52853bda23 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -9,7 +9,7 @@ "main": "dist/core.js", "dependencies": { "@nuxt/config": "2.4.5", - "@nuxt/devalue": "^1.2.1", + "@nuxt/devalue": "^1.2.2", "@nuxt/server": "2.4.5", "@nuxt/utils": "2.4.5", "@nuxt/vue-renderer": "2.4.5", diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index a352aa2ce3..4c92ff6901 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -8,7 +8,7 @@ ], "main": "dist/vue-renderer.js", "dependencies": { - "@nuxt/devalue": "^1.2.1", + "@nuxt/devalue": "^1.2.2", "@nuxt/utils": "2.4.5", "consola": "^2.5.6", "fs-extra": "^7.0.1", diff --git a/yarn.lock b/yarn.lock index 00ea089c2c..b1e7f22824 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1463,10 +1463,10 @@ resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== -"@nuxt/devalue@^1.2.1": - version "1.2.1" - resolved "https://registry.npmjs.org/@nuxt/devalue/-/devalue-1.2.1.tgz#29f077ba646cf77c865872b1c9aa615518905cd5" - integrity sha512-lNhY8yo9rc/FME52sUyQcs07wjTQ4QS8geFgBI5R/Zg60rq7CruG54qi5Za1m+mVvrJvhW24Jyu0Sq3lwfe3cg== +"@nuxt/devalue@^1.2.2": + version "1.2.2" + resolved "https://registry.npmjs.org/@nuxt/devalue/-/devalue-1.2.2.tgz#1d7993f9a6029df07f597a20246b16282302b156" + integrity sha512-T3S20YKOG0bzhvFRuGWqXLjqnwTczvRns5BgzHKRosijWHjl6tOpWCIr+2PFC5YQ3gTE4c5ZOLG5wOEcMLvn1w== dependencies: consola "^2.5.6" From 4281c22b4552c5f9907c4184aac0e82f4219ff78 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 15 Mar 2019 11:24:24 +0330 Subject: [PATCH 183/221] chore(deps): update dependency caniuse-lite to ^1.0.30000948 (#5249) --- packages/webpack/package.json | 2 +- yarn.lock | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 16b10976cc..e872b4a202 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.5", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000947", + "caniuse-lite": "^1.0.30000948", "chalk": "^2.4.2", "consola": "^2.5.6", "css-loader": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index b1e7f22824..1c6e5b4d0b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2957,11 +2957,16 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940, caniuse-lite@^1.0.30000947: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940: version "1.0.30000947" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000947.tgz#c30305e9701449c22e97f4e9837cea3d76aa3273" integrity sha512-ubgBUfufe5Oi3W1+EHyh2C3lfBIEcZ6bTuvl5wNOpIuRB978GF/Z+pQ7pGGUpeYRB0P+8C7i/3lt6xkeu2hwnA== +caniuse-lite@^1.0.30000948: + version "1.0.30000948" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000948.tgz#793ed7c28fe664856beb92b43fc013fc22b81633" + integrity sha512-Lw4y7oz1X5MOMZm+2IFaSISqVVQvUuD+ZUSfeYK/SlYiMjkHN/eJ2PDfJehW5NA6JjrxYSSnIWfwjeObQMEjFQ== + capture-exit@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" From 020fa8e1b6283552d3f6085b828c88ab282a6c96 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sat, 16 Mar 2019 10:44:14 +0330 Subject: [PATCH 184/221] chore(deps): update all non-major dependencies (#5252) --- package.json | 6 ++--- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 44 +++++++++++++++++++++-------------- 5 files changed, 32 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 05014c1772..97a037f577 100644 --- a/package.json +++ b/package.json @@ -38,16 +38,16 @@ "consola": "^2.5.6", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.15.1", + "eslint": "^5.15.2", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", - "eslint-plugin-jest": "^22.3.2", + "eslint-plugin-jest": "^22.4.1", "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "eslint-plugin-vue": "^5.2.2", - "esm": "^3.2.17", + "esm": "^3.2.18", "express": "^4.16.4", "finalhandler": "^1.1.1", "fork-ts-checker-webpack-plugin": "^1.0.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 3108386388..c4d16f4ca2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -16,7 +16,7 @@ "boxen": "^3.0.0", "chalk": "^2.4.2", "consola": "^2.5.6", - "esm": "^3.2.17", + "esm": "^3.2.18", "execa": "^1.0.0", "exit": "^0.1.2", "minimist": "^1.2.0", diff --git a/packages/core/package.json b/packages/core/package.json index 52853bda23..0d049174db 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,7 +15,7 @@ "@nuxt/vue-renderer": "2.4.5", "consola": "^2.5.6", "debug": "^4.1.1", - "esm": "^3.2.17", + "esm": "^3.2.18", "fs-extra": "^7.0.1", "hash-sum": "^1.0.2", "std-env": "^2.2.1" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index e872b4a202..ff8d9704f5 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.5", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000948", + "caniuse-lite": "^1.0.30000949", "chalk": "^2.4.2", "consola": "^2.5.6", "css-loader": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index 1c6e5b4d0b..f53f7eb49d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2962,10 +2962,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000947.tgz#c30305e9701449c22e97f4e9837cea3d76aa3273" integrity sha512-ubgBUfufe5Oi3W1+EHyh2C3lfBIEcZ6bTuvl5wNOpIuRB978GF/Z+pQ7pGGUpeYRB0P+8C7i/3lt6xkeu2hwnA== -caniuse-lite@^1.0.30000948: - version "1.0.30000948" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000948.tgz#793ed7c28fe664856beb92b43fc013fc22b81633" - integrity sha512-Lw4y7oz1X5MOMZm+2IFaSISqVVQvUuD+ZUSfeYK/SlYiMjkHN/eJ2PDfJehW5NA6JjrxYSSnIWfwjeObQMEjFQ== +caniuse-lite@^1.0.30000949: + version "1.0.30000949" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000949.tgz#8cbc6d2f141bc32362f7467b45a2dcae8e64c84b" + integrity sha512-jIF/jphmuJ7oAWmfYO0qAxRAvCa0zNquALO6Ykfe6qo8qwh882Cgcs+OWmm21L3x6nu4TVLFeEZ9/q6VuKCfSg== capture-exit@^1.2.0: version "1.2.0" @@ -4415,10 +4415,10 @@ eslint-plugin-import@^2.16.0: read-pkg-up "^2.0.0" resolve "^1.9.0" -eslint-plugin-jest@^22.3.2: - version "22.3.2" - resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.3.2.tgz#702ac04b06223c9241d92b986165318db474ca81" - integrity sha512-K1i3qORvcX2VuGLI4N+slreGpeObAWkT5gi1ya8olZ6YXwnxzBrMlif3uEUHgXwPIStpO26vAlRX0SgFy8SkZA== +eslint-plugin-jest@^22.4.1: + version "22.4.1" + resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.4.1.tgz#a5fd6f7a2a41388d16f527073b778013c5189a9c" + integrity sha512-gcLfn6P2PrFAVx3AobaOzlIEevpAEf9chTpFZz7bYfc7pz8XRv7vuKTIE4hxPKZSha6XWKKplDQ0x9Pq8xX2mg== eslint-plugin-node@^8.0.1: version "8.0.1" @@ -4457,7 +4457,7 @@ eslint-scope@3.7.1: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^4.0.0, eslint-scope@^4.0.2: +eslint-scope@^4.0.0: version "4.0.2" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.2.tgz#5f10cd6cabb1965bf479fa65745673439e21cb0e" integrity sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg== @@ -4465,6 +4465,14 @@ eslint-scope@^4.0.0, eslint-scope@^4.0.2: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" + integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.3.0, eslint-utils@^1.3.1: version "1.3.1" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512" @@ -4475,10 +4483,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.15.1: - version "5.15.1" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.15.1.tgz#8266b089fd5391e0009a047050795b1d73664524" - integrity sha512-NTcm6vQ+PTgN3UBsALw5BMhgO6i5EpIjQF/Xb5tIh3sk9QhrFafujUOczGz4J24JBlzWclSB9Vmx8d+9Z6bFCg== +eslint@^5.15.2: + version "5.15.2" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.15.2.tgz#0237bbb2362f89f4effef2f191eb0fea5279c0a5" + integrity sha512-I8VM4SILpMwUvsRt83bQVwIRQAJ2iPMXun1FVZ/lV1OHklH2tJaXqoDnNzdiFc6bnCtGKXvQIQNP3kj1eMskSw== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -4486,7 +4494,7 @@ eslint@^5.15.1: cross-spawn "^6.0.5" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^4.0.2" + eslint-scope "^4.0.3" eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" espree "^5.0.1" @@ -4517,10 +4525,10 @@ eslint@^5.15.1: table "^5.2.3" text-table "^0.2.0" -esm@^3.2.17: - version "3.2.17" - resolved "https://registry.npmjs.org/esm/-/esm-3.2.17.tgz#ae74c34f502ab2ee8f03c64cc785ebeb1786526a" - integrity sha512-C9o9bz51z5upkD7wCsTKgWwWSZ+OztN2eXLL8senHAULFAXCXGSmw1EW2zengsoyyDh9D/H4Twxk7ZkMEW360Q== +esm@^3.2.18: + version "3.2.18" + resolved "https://registry.npmjs.org/esm/-/esm-3.2.18.tgz#54e9276449ab832b01240069ae66bf245785c767" + integrity sha512-1UENjnnI37UDp7KuOqKYjfqdaMim06eBWnDv37smaxTIzDl0ZWnlgoXwsVwD9+Lidw+q/f1gUf2diVMDCycoVw== espree@^4.1.0: version "4.1.0" From 2561b68ab11946e60fe8df7e3b78f3363363605d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 16 Mar 2019 11:33:42 +0330 Subject: [PATCH 185/221] test: fix e2e test by downloading chromium (#5254) --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 436dc9e06b..fe55977346 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -141,9 +141,16 @@ jobs: - checkout - attach_workspace: at: ~/project + - run: + name: Download Chromium + command: | + cd /opt + sudo wget https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/641430/chrome-linux.zip + sudo unzip chrome-linux.zip + sudo ln -s `pwd`/chrome-linux/chrome /bin/chromium - run: name: E2E Tests - command: yarn test:e2e && yarn coverage + command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage test-types: <<: *defaults From d6b505aa507538fb167d384cbf77f4a92a8af750 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 16 Mar 2019 16:12:35 +0330 Subject: [PATCH 186/221] test: fail tests in case of unhandled errors (#5255) --- packages/cli/src/command.js | 30 ++++++++++++++++++------- packages/cli/test/unit/generate.test.js | 2 +- test/utils/setup.js | 9 ++++++++ 3 files changed, 32 insertions(+), 9 deletions(-) diff --git a/packages/cli/src/command.js b/packages/cli/src/command.js index 7108d0450f..296cbbca09 100644 --- a/packages/cli/src/command.js +++ b/packages/cli/src/command.js @@ -31,33 +31,47 @@ export default class NuxtCommand { return new NuxtCommand(cmd, argv) } - run() { + async run() { if (this.argv.help) { this.showHelp() - return Promise.resolve() + return } if (this.argv.version) { this.showVersion() - return Promise.resolve() + return } if (typeof this.cmd.run !== 'function') { - return Promise.resolve() + return } - const runResolve = Promise.resolve(this.cmd.run(this)) + let cmdError + + try { + await this.cmd.run(this) + } catch (e) { + cmdError = e + } if (this.argv.lock) { - runResolve.then(() => this.releaseLock()) + await this.releaseLock() } if (this.argv['force-exit']) { const forceExitByUser = this.isUserSuppliedArg('force-exit') - runResolve.then(() => forceExit(this.cmd.name, forceExitByUser ? false : forceExitTimeout)) + if (cmdError) { + consola.fatal(cmdError) + } + forceExit(this.cmd.name, forceExitByUser ? false : forceExitTimeout) + if (forceExitByUser) { + return + } } - return runResolve + if (cmdError) { + throw cmdError + } } showVersion() { diff --git a/packages/cli/test/unit/generate.test.js b/packages/cli/test/unit/generate.test.js index 8905284def..44b54cc9f4 100644 --- a/packages/cli/test/unit/generate.test.js +++ b/packages/cli/test/unit/generate.test.js @@ -141,7 +141,7 @@ describe('generate', () => { mockGetGenerator(() => ({ errors: [{ type: 'dummy' }] })) const cmd = NuxtCommand.from(generate, ['generate', '.', '--fail-on-error']) - await expect(cmd.run()).rejects + await expect(cmd.run()).rejects.toThrow('Error generating pages, exiting with non-zero code') }) test('do not throw an error when fail-on-error disabled and page errors', async () => { diff --git a/test/utils/setup.js b/test/utils/setup.js index bb74d136c9..cda2252ad1 100644 --- a/test/utils/setup.js +++ b/test/utils/setup.js @@ -1,6 +1,7 @@ import consola from 'consola' import chalk from 'chalk' import env from 'std-env' +import exit from 'exit' const isWin = env.windows @@ -15,3 +16,11 @@ chalk.enabled = false jest.setTimeout(60000) consola.mockTypes(() => jest.fn()) + +function errorTrap(error) { + process.stderr.write('\n' + error.stack + '\n') + exit(1) +} + +process.on('unhandledRejection', errorTrap) +process.on('uncaughtException', errorTrap) From 37cd24c261588b543e88cac9eacbbed480e1f6aa Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Sun, 17 Mar 2019 00:52:01 +0330 Subject: [PATCH 187/221] chore: cherry-pick goodies from #4235 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Chopin --- package.json | 3 ++- packages/webpack/src/builder.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 97a037f577..fc3ea6caf3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "distributions/*" ], "scripts": { - "build": "yarn clean && node -r esm ./scripts/package", + "build": "yarn clean && yarn pkg", + "pkg": "node -r esm ./scripts/package", "clean": "yarn clean:build && yarn clean:examples && yarn clean:test", "clean:build": "rimraf distributions/*/dist packages/*/dist", "clean:examples": "rimraf examples/*/dist examples/*/.nuxt", diff --git a/packages/webpack/src/builder.js b/packages/webpack/src/builder.js index 5b684772b4..7f7251a9a8 100644 --- a/packages/webpack/src/builder.js +++ b/packages/webpack/src/builder.js @@ -96,8 +96,8 @@ export class WebpackBundler { } // Configure compilers - this.compilers = compilersOptions.map((compilersOption) => { - const compiler = webpack(compilersOption) + this.compilers = compilersOptions.map((compilerOptions) => { + const compiler = webpack(compilerOptions) // In dev, write files in memory FS if (options.dev) { From 5b7f6d78ec39eb24c19cf89ab86f6c5d9222de79 Mon Sep 17 00:00:00 2001 From: phof <37412+phof@users.noreply.github.com> Date: Sat, 16 Mar 2019 21:33:22 +0000 Subject: [PATCH 188/221] fix(server): handle decodeURI error (#5243) --- packages/server/src/middleware/nuxt.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/server/src/middleware/nuxt.js b/packages/server/src/middleware/nuxt.js index 11efdd7d26..e12194a880 100644 --- a/packages/server/src/middleware/nuxt.js +++ b/packages/server/src/middleware/nuxt.js @@ -7,10 +7,10 @@ import { getContext } from '@nuxt/utils' export default ({ options, nuxt, renderRoute, resources }) => async function nuxtMiddleware(req, res, next) { // Get context const context = getContext(req, res) - const url = decodeURI(req.url) - res.statusCode = 200 try { + const url = decodeURI(req.url) + res.statusCode = 200 const result = await renderRoute(url, context) await nuxt.callHook('render:route', url, result, context) const { @@ -82,6 +82,9 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux return err } + if (err.name === 'URIError') { + err.statusCode = 400 + } next(err) } } From a6a1ff684ecb889a7a474e1c002b0c829c29c01a Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Sun, 17 Mar 2019 01:08:01 +0330 Subject: [PATCH 189/221] fix commits script --- scripts/commits | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/commits b/scripts/commits index e1957750c4..9aa9923e92 100755 --- a/scripts/commits +++ b/scripts/commits @@ -23,10 +23,10 @@ write "Comaparing $latestTag...dev" diff=`git --no-pager log $latestTag...dev --pretty="%s (%an) (%h)"` -writeSection 'Features' 'feat' $diff -writeSection 'Fixes' 'fix' $diff -writeSection 'Refactors' 'refactor' $diff -writeSection 'Performance Improvements' 'perf' $diff -writeSection 'Examples' 'examples' $diff -writeSection 'Chore' 'chore' $diff -writeSection 'Tests' 'test' $diff +writeSection 'Features' 'feat' "$diff" +writeSection 'Fixes' 'fix' "$diff" +writeSection 'Refactors' 'refactor' "$diff" +writeSection 'Performance Improvements' 'perf' "$diff" +writeSection 'Examples' 'examples' "$diff" +writeSection 'Chore' 'chore' "$diff" +writeSection 'Tests' 'test' "$diff" From ca1ecf0ee4b9770b6a44a6dcd30b2f04a9a85845 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Sun, 17 Mar 2019 11:57:10 +0330 Subject: [PATCH 190/221] chore(deps): update dependency caniuse-lite to ^1.0.30000950 (#5259) --- packages/webpack/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webpack/package.json b/packages/webpack/package.json index ff8d9704f5..7ecf054747 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -15,7 +15,7 @@ "@nuxt/utils": "2.4.5", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000949", + "caniuse-lite": "^1.0.30000950", "chalk": "^2.4.2", "consola": "^2.5.6", "css-loader": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index f53f7eb49d..5789165243 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2962,10 +2962,10 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000947.tgz#c30305e9701449c22e97f4e9837cea3d76aa3273" integrity sha512-ubgBUfufe5Oi3W1+EHyh2C3lfBIEcZ6bTuvl5wNOpIuRB978GF/Z+pQ7pGGUpeYRB0P+8C7i/3lt6xkeu2hwnA== -caniuse-lite@^1.0.30000949: - version "1.0.30000949" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000949.tgz#8cbc6d2f141bc32362f7467b45a2dcae8e64c84b" - integrity sha512-jIF/jphmuJ7oAWmfYO0qAxRAvCa0zNquALO6Ykfe6qo8qwh882Cgcs+OWmm21L3x6nu4TVLFeEZ9/q6VuKCfSg== +caniuse-lite@^1.0.30000950: + version "1.0.30000950" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000950.tgz#8c559d66e332b34e919d1086cc6d29c1948856ae" + integrity sha512-Cs+4U9T0okW2ftBsCIHuEYXXkki7mjXmjCh4c6PzYShk04qDEr76/iC7KwhLoWoY65wcra1XOsRD+S7BptEb5A== capture-exit@^1.2.0: version "1.2.0" From d03a61b04040f21952af5840abaaf30240eda591 Mon Sep 17 00:00:00 2001 From: Michael Leaney Date: Tue, 19 Mar 2019 18:25:20 +0800 Subject: [PATCH 191/221] fix(vue-app): multiple named views cause invalid syntax (#5262) --- packages/vue-app/template/router.js | 3 +- test/fixtures/named-views/nuxt.config.js | 36 +++++++++++---------- test/fixtures/named-views/pages/another.vue | 6 ++++ 3 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 test/fixtures/named-views/pages/another.vue diff --git a/packages/vue-app/template/router.js b/packages/vue-app/template/router.js index c3b6d860d1..520f563807 100644 --- a/packages/vue-app/template/router.js +++ b/packages/vue-app/template/router.js @@ -3,11 +3,12 @@ import Router from 'vue-router' import { interopDefault } from './utils'<%= isTest ? '// eslint-disable-line no-unused-vars' : '' %> <% function recursiveRoutes(routes, tab, components, indentCount) { - let res = '', resMap = '' + let res = '' const baseIndent = tab.repeat(indentCount) const firstIndent = '\n' + tab.repeat(indentCount + 1) const nextIndent = ',' + firstIndent routes.forEach((route, i) => { + let resMap = '' // If need to handle named views if (route.components) { let _name = '_' + hash(route.components.default) diff --git a/test/fixtures/named-views/nuxt.config.js b/test/fixtures/named-views/nuxt.config.js index a23f24aae9..7d45b8c013 100644 --- a/test/fixtures/named-views/nuxt.config.js +++ b/test/fixtures/named-views/nuxt.config.js @@ -1,30 +1,32 @@ export default { router: { extendRoutes(routes, resolve) { - const indexIndex = routes.findIndex(route => route.name === 'index') - let index = routes[indexIndex].children.findIndex(route => route.name === 'index-child-id') - routes[indexIndex].children[index] = { - ...routes[indexIndex].children[index], + const indexRoute = routes.find(route => route.name === 'index') + const indexChildRoute = indexRoute.children.find(route => route.name === 'index-child-id') + + Object.assign(indexChildRoute, { components: { - default: routes[indexIndex].children[index].component, + default: indexChildRoute.component, left: resolve(__dirname, 'components/childLeft.vue') }, chunkNames: { left: 'components/childLeft' } - } + }) - index = routes.findIndex(route => route.name === 'main') - routes[index] = { - ...routes[index], - components: { - default: routes[index].component, - top: resolve(__dirname, 'components/mainTop.vue') - }, - chunkNames: { - top: 'components/mainTop' - } - } + routes + .filter(route => ['main', 'another'].includes(route.name)) + .forEach((route) => { + Object.assign(route, { + components: { + default: route.component, + top: resolve(__dirname, 'components/mainTop.vue') + }, + chunkNames: { + top: 'components/mainTop' + } + }) + }) } } } diff --git a/test/fixtures/named-views/pages/another.vue b/test/fixtures/named-views/pages/another.vue new file mode 100644 index 0000000000..3a03798e51 --- /dev/null +++ b/test/fixtures/named-views/pages/another.vue @@ -0,0 +1,6 @@ + From 8bbb269d80b0a2c04d3eae53d9966dbabf14bd43 Mon Sep 17 00:00:00 2001 From: Matsumoto Toshi <32378535+toshi1127@users.noreply.github.com> Date: Tue, 19 Mar 2019 19:26:37 +0900 Subject: [PATCH 192/221] test: Add error on malformed URL (#5269) --- packages/server/test/middleware/nuxt.test.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/server/test/middleware/nuxt.test.js b/packages/server/test/middleware/nuxt.test.js index 91bc107b4e..9bf104b0ac 100644 --- a/packages/server/test/middleware/nuxt.test.js +++ b/packages/server/test/middleware/nuxt.test.js @@ -306,4 +306,19 @@ describe('server: nuxtMiddleware', () => { expect(await nuxtMiddleware(req, res, next)).toBe(err) expect(consola.error).toBeCalledWith(err) }) + + test('should return 400 if request is uri error', async () => { + const context = createContext() + const result = { html: 'rendered html' } + context.renderRoute.mockReturnValue(result) + const nuxtMiddleware = createNuxtMiddleware(context) + const { req, res, next } = createServerContext() + + const err = Error('URI malformed') + err.name = 'URIError' + + await nuxtMiddleware({ ...req, url: 'http://localhost/test/server/%c1%81' }, res, next) + + expect(next).toBeCalledWith(err) + }) }) From ffe5f4df5d7fb56c1883ad07bc79a3f0041a8814 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Mar 2019 10:27:06 +0000 Subject: [PATCH 193/221] chore(deps): update all non-major dependencies (#5261) --- package.json | 4 +- packages/builder/package.json | 2 +- packages/server/package.json | 2 +- packages/typescript/package.json | 2 +- packages/utils/package.json | 2 +- yarn.lock | 79 +++++++++++++++++++++----------- 6 files changed, 57 insertions(+), 34 deletions(-) diff --git a/package.json b/package.json index fc3ea6caf3..54b5d94fd6 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "consola": "^2.5.6", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", - "eslint": "^5.15.2", + "eslint": "^5.15.3", "eslint-config-standard": "^12.0.0", "eslint-multiplexer": "^1.0.3", "eslint-plugin-import": "^2.16.0", @@ -75,7 +75,7 @@ "rollup-plugin-json": "^3.1.0", "rollup-plugin-license": "^0.8.1", "rollup-plugin-node-resolve": "^4.0.1", - "rollup-plugin-replace": "^2.1.0", + "rollup-plugin-replace": "^2.1.1", "sort-package-json": "^1.21.0", "ts-jest": "^24.0.0", "ts-loader": "^5.3.3", diff --git a/packages/builder/package.json b/packages/builder/package.json index 2593c6d9e2..039cd380fc 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -16,7 +16,7 @@ "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", - "ignore": "^5.0.5", + "ignore": "^5.0.6", "lodash": "^4.17.11", "pify": "^4.0.1", "semver": "^5.6.0", diff --git a/packages/server/package.json b/packages/server/package.json index ba84849247..7348a829ee 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.5", "@nuxtjs/youch": "^4.2.3", "chalk": "^2.4.2", - "compression": "^1.7.3", + "compression": "^1.7.4", "connect": "^3.6.6", "consola": "^2.5.6", "etag": "^1.8.1", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 8d8593165a..4d19367062 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -17,7 +17,7 @@ "@types/optimize-css-assets-webpack-plugin": "^1.3.4", "@types/serve-static": "^1.13.2", "@types/terser-webpack-plugin": "^1.2.1", - "@types/webpack": "^4.4.25", + "@types/webpack": "^4.4.26", "@types/webpack-bundle-analyzer": "^2.13.1", "@types/webpack-dev-middleware": "^2.0.2", "@types/webpack-hot-middleware": "^2.16.5", diff --git a/packages/utils/package.json b/packages/utils/package.json index 7877f78698..efe3f292f4 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -10,7 +10,7 @@ "dependencies": { "consola": "^2.5.6", "hash-sum": "^1.0.2", - "proper-lockfile": "^4.0.0", + "proper-lockfile": "^4.1.0", "serialize-javascript": "^1.6.1", "signal-exit": "^3.0.2" }, diff --git a/yarn.lock b/yarn.lock index 5789165243..b11b45ed82 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1778,7 +1778,7 @@ "@types/connect" "*" "@types/webpack" "*" -"@types/webpack@*", "@types/webpack@^4.4.25": +"@types/webpack@*": version "4.4.25" resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.25.tgz#c8a1eb968a33a3e6da641f529c5add0d44d34809" integrity sha512-YaYVbSK1bC3xiAWFLSgDQyVHdCTNq5cLlcx633basmrwSoUxJiv4SZ0SoT1uoF15zWx98afOcCbqA1YHeCdRYA== @@ -1789,6 +1789,17 @@ "@types/uglify-js" "*" source-map "^0.6.0" +"@types/webpack@^4.4.26": + version "4.4.26" + resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.26.tgz#b52f605351f2ed60e6ce24fa7df39ab7abd03470" + integrity sha512-vs8LjgEZUQTBxotXbMf8s4jgykozkqjv6P0JRi+1BLh0n7LQUkMXfvsoPb5U/dBL1ay5Lu0c46G6FRmAZBhAUA== + dependencies: + "@types/anymatch" "*" + "@types/node" "*" + "@types/tapable" "*" + "@types/uglify-js" "*" + source-map "^0.6.0" + "@types/yargs@^12.0.2", "@types/yargs@^12.0.9": version "12.0.9" resolved "https://registry.npmjs.org/@types/yargs/-/yargs-12.0.9.tgz#693e76a52f61a2f1e7fb48c0eef167b95ea4ffd0" @@ -3274,23 +3285,23 @@ component-emitter@^1.2.1: resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= -compressible@~2.0.14: +compressible@~2.0.16: version "2.0.16" resolved "https://registry.npmjs.org/compressible/-/compressible-2.0.16.tgz#a49bf9858f3821b64ce1be0296afc7380466a77f" integrity sha512-JQfEOdnI7dASwCuSPWIeVYwc/zMsu/+tRhoUvEfXz2gxOA2DNjmG5vhtFdBlhWPPGo+RdT9S3tgc/uH5qgDiiA== dependencies: mime-db ">= 1.38.0 < 2" -compression@^1.7.3: - version "1.7.3" - resolved "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz#27e0e176aaf260f7f2c2813c3e440adb9f1993db" - integrity sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg== +compression@^1.7.4: + version "1.7.4" + resolved "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" + integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== dependencies: accepts "~1.3.5" bytes "3.0.0" - compressible "~2.0.14" + compressible "~2.0.16" debug "2.6.9" - on-headers "~1.0.1" + on-headers "~1.0.2" safe-buffer "5.1.2" vary "~1.1.2" @@ -4483,10 +4494,10 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^5.15.2: - version "5.15.2" - resolved "https://registry.npmjs.org/eslint/-/eslint-5.15.2.tgz#0237bbb2362f89f4effef2f191eb0fea5279c0a5" - integrity sha512-I8VM4SILpMwUvsRt83bQVwIRQAJ2iPMXun1FVZ/lV1OHklH2tJaXqoDnNzdiFc6bnCtGKXvQIQNP3kj1eMskSw== +eslint@^5.15.3: + version "5.15.3" + resolved "https://registry.npmjs.org/eslint/-/eslint-5.15.3.tgz#c79c3909dc8a7fa3714fb340c11e30fd2526b8b5" + integrity sha512-vMGi0PjCHSokZxE0NLp2VneGw5sio7SSiDNgIUn2tC0XkWJRNOIoHIg3CliLVfXnJsiHxGAYrkw0PieAu8+KYQ== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -5623,11 +5634,16 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2, ignore@^5.0.5: +ignore@^5.0.2: version "5.0.5" resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.5.tgz#c663c548d6ce186fb33616a8ccb5d46e56bdbbf9" integrity sha512-kOC8IUb8HSDMVcYrDVezCxpJkzSQWTAzf3olpKM6o9rM5zpojx23O0Fl8Wr4+qJ6ZbPEHqf1fdwev/DS7v7pmA== +ignore@^5.0.6: + version "5.0.6" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.6.tgz#562dacc7ec27d672dde433aa683c543b24c17694" + integrity sha512-/+hp3kUf/Csa32ktIaj0OlRqQxrgs30n62M90UBpNd9k+ENEch5S+hmbW3DtcJGz3sYFTh4F3A6fQ0q7KWsp4w== + import-cwd@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -7024,7 +7040,7 @@ magic-string@0.25.1: dependencies: sourcemap-codec "^1.4.1" -magic-string@^0.25.1: +magic-string@^0.25.1, magic-string@^0.25.2: version "0.25.2" resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.2.tgz#139c3a729515ec55e96e69e82a11fe890a293ad9" integrity sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg== @@ -7274,7 +7290,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= -minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: +minimatch@^3.0.0, minimatch@^3.0.3, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== @@ -7797,7 +7813,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -on-headers@^1.0.2, on-headers@~1.0.1: +on-headers@^1.0.2, on-headers@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== @@ -9001,10 +9017,10 @@ promzard@^0.3.0: dependencies: read "1" -proper-lockfile@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.0.0.tgz#8c69a611ed11c4f9a9be000c217441018321c4fc" - integrity sha512-P85AS7lPUMs8S2G9HQITSbNlZ5FJaQdade/RQSySPFp9Qs425X28UasQ5Suk/6NiLNi4P3tD2P5LhEPzURgIQg== +proper-lockfile@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.0.tgz#e5e21d68ea6938cbfb04171ac7f04dd0cba6fe92" + integrity sha512-5FGLP4Dehcwd1bOPyQhWKUosdIbL9r7F6uvBYhlsJAsGSwFk4nGtrS1Poqj6cKU2XXgqkqfDw2h0JdNjd8IgIQ== dependencies: graceful-fs "^4.1.11" retry "^0.12.0" @@ -9777,16 +9793,15 @@ rollup-plugin-node-resolve@^4.0.1: is-module "^1.0.0" resolve "^1.10.0" -rollup-plugin-replace@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.1.0.tgz#f9c07a4a89a2f8be912ee54b3f0f68d91e9ed0ae" - integrity sha512-SxrAIgpH/B5/W4SeULgreOemxcpEgKs2gcD42zXw50bhqGWmcnlXneVInQpAqzA/cIly4bJrOpeelmB9p4YXSQ== +rollup-plugin-replace@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.1.1.tgz#e49cb8d07d6f91a7bf28b90b66692f2c8c0b9bba" + integrity sha512-IS5ZYBb3px0UfbDCYzKaKxelLd5dbPHhfplEXbymfvGlz9Ok44At4AjTOWe2qEax73bE8+pnMZN9C7PcVpFNlw== dependencies: - magic-string "^0.25.1" - minimatch "^3.0.2" - rollup-pluginutils "^2.0.1" + magic-string "^0.25.2" + rollup-pluginutils "^2.4.1" -rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3: +rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3: version "2.4.1" resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.4.1.tgz#de43ab54965bbf47843599a7f3adceb723de38db" integrity sha512-wesMQ9/172IJDIW/lYWm0vW0LiKe5Ekjws481R7z9WTRtmO59cqyM/2uUlxvf6yzm/fElFmHUobeQOYz46dZJw== @@ -9794,6 +9809,14 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, estree-walker "^0.6.0" micromatch "^3.1.10" +rollup-pluginutils@^2.4.1: + version "2.5.0" + resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.5.0.tgz#23be0f05ac3972ea7b08fc7870cb91fde5b23a09" + integrity sha512-9Muh1H+XB5f5ONmKMayUoTYR1EZwHbwJJ9oZLrKT5yuTf/RLIQ5mYIGsrERquVucJmjmaAW0Y7+6Qo1Ep+5w3Q== + dependencies: + estree-walker "^0.6.0" + micromatch "^3.1.10" + rollup@^1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/rollup/-/rollup-1.6.0.tgz#4329f4634718197c678d18491724d50d8b7ee76c" From b675a0623bce533adf860eee6a7127f12f3afc59 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Mar 2019 10:28:30 +0000 Subject: [PATCH 194/221] chore(deps): update dependency rollup-plugin-json to v4 (#5272) --- package.json | 2 +- yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 54b5d94fd6..83b0b70840 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", - "rollup-plugin-json": "^3.1.0", + "rollup-plugin-json": "^4.0.0", "rollup-plugin-license": "^0.8.1", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index b11b45ed82..1c5a1afc37 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9766,12 +9766,12 @@ rollup-plugin-commonjs@^9.2.1: resolve "^1.10.0" rollup-pluginutils "^2.3.3" -rollup-plugin-json@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/rollup-plugin-json/-/rollup-plugin-json-3.1.0.tgz#7c1daf60c46bc21021ea016bd00863561a03321b" - integrity sha512-BlYk5VspvGpjz7lAwArVzBXR60JK+4EKtPkCHouAWg39obk9S61hZYJDBfMK+oitPdoe11i69TlxKlMQNFC/Uw== +rollup-plugin-json@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/rollup-plugin-json/-/rollup-plugin-json-4.0.0.tgz#a18da0a4b30bf5ca1ee76ddb1422afbb84ae2b9e" + integrity sha512-hgb8N7Cgfw5SZAkb3jf0QXii6QX/FOkiIq2M7BAQIEydjHvTyxXHQiIzZaTFgx1GK0cRCHOCBHIyEkkLdWKxow== dependencies: - rollup-pluginutils "^2.3.1" + rollup-pluginutils "^2.5.0" rollup-plugin-license@^0.8.1: version "0.8.1" @@ -9801,7 +9801,7 @@ rollup-plugin-replace@^2.1.1: magic-string "^0.25.2" rollup-pluginutils "^2.4.1" -rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3: +rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3: version "2.4.1" resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.4.1.tgz#de43ab54965bbf47843599a7f3adceb723de38db" integrity sha512-wesMQ9/172IJDIW/lYWm0vW0LiKe5Ekjws481R7z9WTRtmO59cqyM/2uUlxvf6yzm/fElFmHUobeQOYz46dZJw== @@ -9809,7 +9809,7 @@ rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.3.3: estree-walker "^0.6.0" micromatch "^3.1.10" -rollup-pluginutils@^2.4.1: +rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.5.0.tgz#23be0f05ac3972ea7b08fc7870cb91fde5b23a09" integrity sha512-9Muh1H+XB5f5ONmKMayUoTYR1EZwHbwJJ9oZLrKT5yuTf/RLIQ5mYIGsrERquVucJmjmaAW0Y7+6Qo1Ep+5w3Q== From 2eb196535701403d44973bbc252e441042466fca Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 19 Mar 2019 11:19:56 +0000 Subject: [PATCH 195/221] fix: correct socket address in use error message --- packages/server/src/listener.js | 17 +++++++++-------- packages/server/test/listener.test.js | 9 +++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/packages/server/src/listener.js b/packages/server/src/listener.js index d3d753c88a..04f13a442f 100644 --- a/packages/server/src/listener.js +++ b/packages/server/src/listener.js @@ -95,15 +95,16 @@ export default class Listener { // Use better error message if (addressInUse) { - error.message = `Address \`${this.host}:${this.port}\` is already in use.` - } + const address = this.socket || `${this.host}:${this.port}` + error.message = `Address \`${address}\` is already in use.` - // Listen to a random port on dev as a fallback - if (addressInUse && this.dev && this.port !== '0') { - consola.warn(error.message) - consola.info('Trying a random port...') - this.port = '0' - return this.close().then(() => this.listen()) + // Listen to a random port on dev as a fallback + if (this.dev && !this.socket && this.port !== '0') { + consola.warn(error.message) + consola.info('Trying a random port...') + this.port = '0' + return this.close().then(() => this.listen()) + } } // Throw error diff --git a/packages/server/test/listener.test.js b/packages/server/test/listener.test.js index 0747fe05fd..e53624fd6d 100644 --- a/packages/server/test/listener.test.js +++ b/packages/server/test/listener.test.js @@ -330,6 +330,15 @@ describe('server: listener', () => { expect(() => listener.serverErrorHandler(addressInUse)).toThrow('Address `localhost:3000` is already in use.') }) + test('should throw address in use error for socket', () => { + const listener = new Listener({}) + listener.socket = 'nuxt.socket' + + const addressInUse = new Error() + addressInUse.code = 'EADDRINUSE' + expect(() => listener.serverErrorHandler(addressInUse)).toThrow('Address `nuxt.socket` is already in use.') + }) + test('should fallback to a random port in address in use error', async () => { const listener = new Listener({ dev: true }) listener.host = 'localhost' From 65a431d68cdb7ab81293b82e0a27a6e554562316 Mon Sep 17 00:00:00 2001 From: Pim Date: Tue, 19 Mar 2019 14:54:23 +0100 Subject: [PATCH 196/221] fix: relax lock settings (#5280) --- packages/utils/src/locking.js | 4 ++-- packages/utils/test/locking.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/utils/src/locking.js b/packages/utils/src/locking.js index 903baa48e1..68cc1a731f 100644 --- a/packages/utils/src/locking.js +++ b/packages/utils/src/locking.js @@ -8,8 +8,8 @@ import onExit from 'signal-exit' export const lockPaths = new Set() export const defaultLockOptions = { - stale: 15000, - onCompromised: err => consola.fatal(err) + stale: 30000, + onCompromised: err => consola.warn(err) } export function getLockOptions(options) { diff --git a/packages/utils/test/locking.test.js b/packages/utils/test/locking.test.js index 5687890830..58dfcf5c41 100644 --- a/packages/utils/test/locking.test.js +++ b/packages/utils/test/locking.test.js @@ -18,9 +18,9 @@ describe('util: locking', () => { beforeEach(() => jest.resetAllMocks()) beforeEach(() => lockPaths.clear()) - test('onCompromised lock is fatal error by default', () => { + test('onCompromised lock is warn error by default', () => { defaultLockOptions.onCompromised() - expect(consola.fatal).toHaveBeenCalledTimes(1) + expect(consola.warn).toHaveBeenCalledTimes(1) }) test('can override default options', () => { From f8ff8b5d6256df6731bcc8e3d43cb4dc15fc38e2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Mar 2019 21:09:36 +0330 Subject: [PATCH 197/221] chore(deps): update dependency consola to ^2.5.7 (#5283) --- package.json | 2 +- packages/builder/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/package.json | 2 +- packages/generator/package.json | 2 +- packages/server/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-renderer/package.json | 2 +- packages/webpack/package.json | 2 +- yarn.lock | 5 +++++ 11 files changed, 15 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 83b0b70840..96d9b2a18e 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "babel-plugin-dynamic-import-node": "^2.2.0", "cheerio": "^1.0.0-rc.2", "codecov": "^3.2.0", - "consola": "^2.5.6", + "consola": "^2.5.7", "cross-env": "^5.2.0", "cross-spawn": "^6.0.5", "eslint": "^5.15.3", diff --git a/packages/builder/package.json b/packages/builder/package.json index 039cd380fc..10136b905d 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -12,7 +12,7 @@ "@nuxt/utils": "2.4.5", "@nuxt/vue-app": "2.4.5", "chokidar": "^2.1.2", - "consola": "^2.5.6", + "consola": "^2.5.7", "fs-extra": "^7.0.1", "glob": "^7.1.3", "hash-sum": "^1.0.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index c4d16f4ca2..64f86ea1a4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,7 +15,7 @@ "@nuxt/config": "2.4.5", "boxen": "^3.0.0", "chalk": "^2.4.2", - "consola": "^2.5.6", + "consola": "^2.5.7", "esm": "^3.2.18", "execa": "^1.0.0", "exit": "^0.1.2", diff --git a/packages/config/package.json b/packages/config/package.json index 4d52820519..08ff9910bf 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -11,7 +11,7 @@ "typings": "types/index.d.ts", "dependencies": { "@nuxt/utils": "2.4.5", - "consola": "^2.5.6", + "consola": "^2.5.7", "std-env": "^2.2.1" }, "publishConfig": { diff --git a/packages/core/package.json b/packages/core/package.json index 0d049174db..17d066b8f4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "@nuxt/server": "2.4.5", "@nuxt/utils": "2.4.5", "@nuxt/vue-renderer": "2.4.5", - "consola": "^2.5.6", + "consola": "^2.5.7", "debug": "^4.1.1", "esm": "^3.2.18", "fs-extra": "^7.0.1", diff --git a/packages/generator/package.json b/packages/generator/package.json index 38ad378de8..9e628decc6 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/utils": "2.4.5", "chalk": "^2.4.2", - "consola": "^2.5.6", + "consola": "^2.5.7", "fs-extra": "^7.0.1", "html-minifier": "^3.5.21" }, diff --git a/packages/server/package.json b/packages/server/package.json index 7348a829ee..6880032bb5 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -14,7 +14,7 @@ "chalk": "^2.4.2", "compression": "^1.7.4", "connect": "^3.6.6", - "consola": "^2.5.6", + "consola": "^2.5.7", "etag": "^1.8.1", "fresh": "^0.5.2", "fs-extra": "^7.0.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index efe3f292f4..45ec6c2773 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ ], "main": "dist/utils.js", "dependencies": { - "consola": "^2.5.6", + "consola": "^2.5.7", "hash-sum": "^1.0.2", "proper-lockfile": "^4.1.0", "serialize-javascript": "^1.6.1", diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 4c92ff6901..68fd9b22ea 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nuxt/devalue": "^1.2.2", "@nuxt/utils": "2.4.5", - "consola": "^2.5.6", + "consola": "^2.5.7", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.9", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 7ecf054747..7bb1c94eb8 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -17,7 +17,7 @@ "cache-loader": "^2.0.1", "caniuse-lite": "^1.0.30000950", "chalk": "^2.4.2", - "consola": "^2.5.6", + "consola": "^2.5.7", "css-loader": "^2.1.1", "cssnano": "^4.1.10", "eventsource-polyfill": "^0.9.6", diff --git a/yarn.lock b/yarn.lock index 1c5a1afc37..82f2a2d9cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3343,6 +3343,11 @@ consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.6: resolved "https://registry.npmjs.org/consola/-/consola-2.5.6.tgz#5ce14dbaf6f5b589c8a258ef80ed97b752fa57d5" integrity sha512-DN0j6ewiNWkT09G3ZoyyzN3pSYrjxWcx49+mHu+oDI5dvW5vzmyuzYsqGS79+yQserH9ymJQbGzeqUejfssr8w== +consola@^2.5.7: + version "2.5.7" + resolved "https://registry.npmjs.org/consola/-/consola-2.5.7.tgz#72b313ac9039b181c8adc065c1c092effa417122" + integrity sha512-KZteEB71fuSoSDgJoYEo/dIvwofWMU/bI/n+wusLYHPp+c7KcxBGZ0P8CzTCko2Jp0xsrbLjmLuUo4jyIWa6vQ== + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" From df51d6f8d3f89fc290166c1766b1de95de2ba989 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Tue, 19 Mar 2019 21:11:01 +0330 Subject: [PATCH 198/221] chore(deps): lock file maintenance (#5266) --- yarn.lock | 186 +++++++++++++++++++++--------------------------------- 1 file changed, 72 insertions(+), 114 deletions(-) diff --git a/yarn.lock b/yarn.lock index 82f2a2d9cd..7133e04101 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1514,9 +1514,9 @@ url-template "^2.0.8" "@octokit/plugin-enterprise-rest@^2.1.1": - version "2.2.1" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.2.1.tgz#47954271289cfc65607a8cfb0257f0d47fb2d486" - integrity sha512-Ssrh5D5uOqeS/Kjs6bbzn4ZaaaZQ2h6X/DgoDVv0Goa2ncpHwBN644hfYOL5ycigkpYbHKTjyb6cM49kPwQRPA== + version "2.2.2" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-2.2.2.tgz#c0e22067a043e19f96ff9c7832e2a3019f9be75c" + integrity sha512-CTZr64jZYhGWNTDGlSJ2mvIlFsm9OEO3LqWn9I/gmoHI4jRBp4kpHoFYNemG4oA75zUAcmbuWblb7jjP877YZw== "@octokit/request@2.4.2": version "2.4.2" @@ -1531,9 +1531,9 @@ universal-user-agent "^2.0.1" "@octokit/rest@^16.16.0": - version "16.18.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.18.0.tgz#e57634d3a2b79045aa125430b640f16ffcf3e8c2" - integrity sha512-xRgcFk4og+9SrPLKYdKDCny8iqr+8VkvPucTQEVer6rBBRYVGdZ65/49IZXngErlRrTkuDni3bC7V8re4vvypA== + version "16.19.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-16.19.0.tgz#238244eae904c15bc9aa863bb3819142d3369ccb" + integrity sha512-mUk/GU2LtV95OAM3FnvK7KFFNzUUzEGFldOhWliJnuhwBqxEag1gW85o//L6YphC9wLoTaZQOhCHmQcsCnt2ag== dependencies: "@octokit/request" "2.4.2" before-after-hook "^1.4.0" @@ -1646,9 +1646,9 @@ "@types/node" "*" "@types/express-serve-static-core@*": - version "4.16.1" - resolved "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.1.tgz#35df7b302299a4ab138a643617bd44078e74d44e" - integrity sha512-QgbIMRU1EVRry5cIu1ORCQP4flSYqLM1lS5LYyGWfKnFT3E58f0gKto7BR13clBFVrVZ0G0rbLZ1hUpSkgQQOA== + version "4.16.2" + resolved "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.2.tgz#5ee8a22e602005be6767df6b2cba9879df3f75aa" + integrity sha512-qgc8tjnDrc789rAQed8NoiFLV5VGcItA4yWNFphqGU0RcuuQngD00g3LHhWIK3HQ2XeDgVCmlNPDlqi3fWBHnQ== dependencies: "@types/node" "*" "@types/range-parser" "*" @@ -1778,18 +1778,7 @@ "@types/connect" "*" "@types/webpack" "*" -"@types/webpack@*": - version "4.4.25" - resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.25.tgz#c8a1eb968a33a3e6da641f529c5add0d44d34809" - integrity sha512-YaYVbSK1bC3xiAWFLSgDQyVHdCTNq5cLlcx633basmrwSoUxJiv4SZ0SoT1uoF15zWx98afOcCbqA1YHeCdRYA== - dependencies: - "@types/anymatch" "*" - "@types/node" "*" - "@types/tapable" "*" - "@types/uglify-js" "*" - source-map "^0.6.0" - -"@types/webpack@^4.4.26": +"@types/webpack@*", "@types/webpack@^4.4.26": version "4.4.26" resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.4.26.tgz#b52f605351f2ed60e6ce24fa7df39ab7abd03470" integrity sha512-vs8LjgEZUQTBxotXbMf8s4jgykozkqjv6P0JRi+1BLh0n7LQUkMXfvsoPb5U/dBL1ay5Lu0c46G6FRmAZBhAUA== @@ -1801,9 +1790,9 @@ source-map "^0.6.0" "@types/yargs@^12.0.2", "@types/yargs@^12.0.9": - version "12.0.9" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-12.0.9.tgz#693e76a52f61a2f1e7fb48c0eef167b95ea4ffd0" - integrity sha512-sCZy4SxP9rN2w30Hlmg5dtdRwgYQfYRiLo9usw8X9cxlf+H4FqM1xX7+sNH7NNKVdbXMJWqva7iyy+fxh/V7fA== + version "12.0.10" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-12.0.10.tgz#17a8ec65cd8e88f51b418ceb271af18d3137df67" + integrity sha512-WsVzTPshvCSbHThUduGGxbmnwcpkgSctHGHTqzWyFg4lYAuV5qXlyFPOsP3OWqCINfmg/8VXP+zJaa4OxEsBQQ== "@vue/babel-helper-vue-jsx-merge-props@^1.0.0-beta.2": version "1.0.0-beta.2" @@ -2408,7 +2397,7 @@ async-limiter@~1.0.0: resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== -async@^2.3.0, async@^2.5.0, async@^2.6.1: +async@^2.3.0, async@^2.6.1: version "2.6.2" resolved "https://registry.npmjs.org/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381" integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg== @@ -2426,12 +2415,12 @@ atob@^2.1.1: integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== autoprefixer@^9.4.9: - version "9.4.10" - resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.10.tgz#e1be61fc728bacac8f4252ed242711ec0dcc6a7b" - integrity sha512-XR8XZ09tUrrSzgSlys4+hy5r2/z4Jp7Ag3pHm31U4g/CTccYPOVe19AkaJ4ey/vRd1sfj+5TtuD6I0PXtutjvQ== + version "9.5.0" + resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.5.0.tgz#7e51d0355c11596e6cf9a0afc9a44e86d1596c70" + integrity sha512-hMKcyHsZn5+qL6AUeP3c8OyuteZ4VaUlg+fWbyl8z7PqsKHF/Bf8/px3K6AT8aMzDkBo8Bc11245MM+itDBOxQ== dependencies: browserslist "^4.4.2" - caniuse-lite "^1.0.30000940" + caniuse-lite "^1.0.30000947" normalize-range "^0.1.2" num2fraction "^1.2.2" postcss "^7.0.14" @@ -2757,13 +2746,13 @@ browserify-zlib@^0.2.0: pako "~1.0.5" browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.4.2.tgz#6ea8a74d6464bb0bd549105f659b41197d8f0ba2" - integrity sha512-ISS/AIAiHERJ3d45Fz0AVYKkgcy+F/eJHzKEvv1j0wwKGKD9T3BrwKr/5g45L+Y4XIK5PlTqefHciRFcfE1Jxg== + version "4.5.1" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz#2226cada1947b33f4cfcf7b608dcb519b6128106" + integrity sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg== dependencies: - caniuse-lite "^1.0.30000939" - electron-to-chromium "^1.3.113" - node-releases "^1.1.8" + caniuse-lite "^1.0.30000949" + electron-to-chromium "^1.3.116" + node-releases "^1.1.11" bs-logger@0.x: version "0.2.6" @@ -2968,22 +2957,17 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000940: - version "1.0.30000947" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000947.tgz#c30305e9701449c22e97f4e9837cea3d76aa3273" - integrity sha512-ubgBUfufe5Oi3W1+EHyh2C3lfBIEcZ6bTuvl5wNOpIuRB978GF/Z+pQ7pGGUpeYRB0P+8C7i/3lt6xkeu2hwnA== - -caniuse-lite@^1.0.30000950: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000947, caniuse-lite@^1.0.30000949, caniuse-lite@^1.0.30000950: version "1.0.30000950" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000950.tgz#8c559d66e332b34e919d1086cc6d29c1948856ae" integrity sha512-Cs+4U9T0okW2ftBsCIHuEYXXkki7mjXmjCh4c6PzYShk04qDEr76/iC7KwhLoWoY65wcra1XOsRD+S7BptEb5A== -capture-exit@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f" - integrity sha1-HF/MSJ/QqwDU8ax64QcuMXP7q28= +capture-exit@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" + integrity sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g== dependencies: - rsvp "^3.3.3" + rsvp "^4.8.4" caseless@~0.12.0: version "0.12.0" @@ -3247,12 +3231,12 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -commander@2.17.x, commander@~2.17.1: +commander@2.17.x: version "2.17.1" resolved "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg== -commander@^2.12.1, commander@^2.18.0, commander@^2.19.0: +commander@^2.12.1, commander@^2.18.0, commander@^2.19.0, commander@~2.19.0: version "2.19.0" resolved "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== @@ -3338,12 +3322,7 @@ connect@^3.6.6: parseurl "~1.3.2" utils-merge "1.0.1" -consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.6: - version "2.5.6" - resolved "https://registry.npmjs.org/consola/-/consola-2.5.6.tgz#5ce14dbaf6f5b589c8a258ef80ed97b752fa57d5" - integrity sha512-DN0j6ewiNWkT09G3ZoyyzN3pSYrjxWcx49+mHu+oDI5dvW5vzmyuzYsqGS79+yQserH9ymJQbGzeqUejfssr8w== - -consola@^2.5.7: +consola@^2.0.0-1, consola@^2.3.0, consola@^2.5.6, consola@^2.5.7: version "2.5.7" resolved "https://registry.npmjs.org/consola/-/consola-2.5.7.tgz#72b313ac9039b181c8adc065c1c092effa417122" integrity sha512-KZteEB71fuSoSDgJoYEo/dIvwofWMU/bI/n+wusLYHPp+c7KcxBGZ0P8CzTCko2Jp0xsrbLjmLuUo4jyIWa6vQ== @@ -4225,7 +4204,7 @@ ejs@^2.6.1: resolved "https://registry.npmjs.org/ejs/-/ejs-2.6.1.tgz#498ec0d495655abc6f23cd61868d926464071aa0" integrity sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ== -electron-to-chromium@^1.3.113: +electron-to-chromium@^1.3.116: version "1.3.116" resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.116.tgz#1dbfee6a592a0c14ade77dbdfe54fef86387d702" integrity sha512-NKwKAXzur5vFCZYBHpdWjTMO8QptNLNP80nItkSIgUOapPAo9Uia+RvkCaZJtO7fhQaVElSvBPWEc2ku6cKsPA== @@ -4473,15 +4452,7 @@ eslint-scope@3.7.1: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^4.0.0: - version "4.0.2" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.2.tgz#5f10cd6cabb1965bf479fa65745673439e21cb0e" - integrity sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@^4.0.3: +eslint-scope@^4.0.0, eslint-scope@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== @@ -5307,11 +5278,11 @@ gzip-size@^5.0.0: pify "^3.0.0" handlebars@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a" - integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w== + version "4.1.1" + resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.1.1.tgz#6e4e41c18ebe7719ae4d38e5aca3d32fa3dd23d3" + integrity sha512-3Zhi6C0euYZL5sM0Zcy7lInLXKQ+YLcF/olbN010mzGQ4XVm50JeyBnMqofHh696GrciGruC7kCcApPDJvVgwA== dependencies: - async "^2.5.0" + neo-async "^2.6.0" optimist "^0.6.1" source-map "^0.6.1" optionalDependencies: @@ -5639,12 +5610,7 @@ ignore@^4.0.6: resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.0.2: - version "5.0.5" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.5.tgz#c663c548d6ce186fb33616a8ccb5d46e56bdbbf9" - integrity sha512-kOC8IUb8HSDMVcYrDVezCxpJkzSQWTAzf3olpKM6o9rM5zpojx23O0Fl8Wr4+qJ6ZbPEHqf1fdwev/DS7v7pmA== - -ignore@^5.0.6: +ignore@^5.0.2, ignore@^5.0.6: version "5.0.6" resolved "https://registry.npmjs.org/ignore/-/ignore-5.0.6.tgz#562dacc7ec27d672dde433aa683c543b24c17694" integrity sha512-/+hp3kUf/Csa32ktIaj0OlRqQxrgs30n62M90UBpNd9k+ENEch5S+hmbW3DtcJGz3sYFTh4F3A6fQ0q7KWsp4w== @@ -7034,9 +7000,9 @@ lru-cache@^5.1.1: yallist "^3.0.2" macos-release@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/macos-release/-/macos-release-2.0.0.tgz#7dddf4caf79001a851eb4fba7fb6034f251276ab" - integrity sha512-iCM3ZGeqIzlrH7KxYK+fphlJpCCczyHXc+HhRVbEu9uNTCrzYJjvvtefzeKTCVHd5AP/aD/fzC80JZ4ZP+dQ/A== + version "2.1.0" + resolved "https://registry.npmjs.org/macos-release/-/macos-release-2.1.0.tgz#c87935891fbeb0dba7537913fc66f469fee9d662" + integrity sha512-8TCbwvN1mfNxbBv0yBtfyIFMo3m1QsNbKHv7PYIp/abRBKVQBXN7ecu3aeGGgT18VC/Tf397LBDGZF9KBGJFFw== magic-string@0.25.1: version "0.25.1" @@ -7429,9 +7395,9 @@ mute-stream@~0.0.4: integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== nan@^2.9.2: - version "2.13.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.13.0.tgz#7bdfc27dd3c060c46e60b62c72b74012d1a4cd68" - integrity sha512-5DDQvN0luhXdut8SCwzm/ZuAX2W+fwhqNzfq7CZ+OJzQ6NwpcqmIGyLD1R8MEt7BeErzcsI0JLr4pND2pNp2Cw== + version "2.13.1" + resolved "https://registry.npmjs.org/nan/-/nan-2.13.1.tgz#a15bee3790bde247e8f38f1d446edcdaeb05f2dd" + integrity sha512-I6YB/YEuDeUZMmhscXKxGgZlFnhsn5y0hgOZBadkzfTRrZBtJDZeg6eQf7PYMIEclwmorTKK8GztsyOUSVBREA== nanomatch@^1.2.9: version "1.2.13" @@ -7589,10 +7555,10 @@ node-pre-gyp@^0.10.0: semver "^5.3.0" tar "^4" -node-releases@^1.1.8: - version "1.1.10" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.10.tgz#5dbeb6bc7f4e9c85b899e2e7adcc0635c9b2adf7" - integrity sha512-KbUPCpfoBvb3oBkej9+nrU0/7xPlVhmhhUJ1PZqwIP5/1dJkRWKWD3OONjo6M2J7tSCBtDCumLwwqeI+DWWaLQ== +node-releases@^1.1.11: + version "1.1.11" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.11.tgz#9a0841a4b0d92b7d5141ed179e764f42ad22724a" + integrity sha512-8v1j5KfP+s5WOTa1spNUAOfreajQPN12JXbRR0oDE+YrJBQCXBnNqUDj27EKpPLOoSiU3tKi3xGPB+JaOdUEQQ== dependencies: semver "^5.3.0" @@ -7988,9 +7954,9 @@ p-try@^1.0.0: integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= p-try@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" - integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ== + version "2.1.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.1.0.tgz#c1a0f1030e97de018bb2c718929d2af59463e505" + integrity sha512-H2RyIJ7+A3rjkwKC2l5GGtU4H1vkxKCAGsWasNVd0Set+6i4znxbWy6/j16YDPJDWxhsgZiKAstMEP8wCdSpjA== p-waterfall@^1.0.0: version "1.0.0" @@ -9008,9 +8974,9 @@ promise@^7.0.1: asap "~2.0.3" prompts@^2.0.1: - version "2.0.3" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.3.tgz#c5ccb324010b2e8f74752aadceeb57134c1d2522" - integrity sha512-H8oWEoRZpybm6NV4to9/1limhttEo13xK62pNvn2JzY0MA03p7s0OjtmhXyon3uJmxiJJVSuUwEJFFssI3eBiQ== + version "2.0.4" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.0.4.tgz#179f9d4db3128b9933aa35f93a800d8fce76a682" + integrity sha512-HTzM3UWp/99A0gk51gAegwo1QRYA7xjcZufMNe33rCclFszUYAuHe1fIN/3ZmiHeGPkUsNaRyQm1hHOfM0PKxA== dependencies: kleur "^3.0.2" sisteransi "^1.0.0" @@ -9806,15 +9772,7 @@ rollup-plugin-replace@^2.1.1: magic-string "^0.25.2" rollup-pluginutils "^2.4.1" -rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3: - version "2.4.1" - resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.4.1.tgz#de43ab54965bbf47843599a7f3adceb723de38db" - integrity sha512-wesMQ9/172IJDIW/lYWm0vW0LiKe5Ekjws481R7z9WTRtmO59cqyM/2uUlxvf6yzm/fElFmHUobeQOYz46dZJw== - dependencies: - estree-walker "^0.6.0" - micromatch "^3.1.10" - -rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.5.0: +rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3, rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.5.0.tgz#23be0f05ac3972ea7b08fc7870cb91fde5b23a09" integrity sha512-9Muh1H+XB5f5ONmKMayUoTYR1EZwHbwJJ9oZLrKT5yuTf/RLIQ5mYIGsrERquVucJmjmaAW0Y7+6Qo1Ep+5w3Q== @@ -9831,10 +9789,10 @@ rollup@^1.6.0: "@types/node" "^11.9.5" acorn "^6.1.1" -rsvp@^3.3.3: - version "3.6.2" - resolved "https://registry.npmjs.org/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" - integrity sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw== +rsvp@^4.8.4: + version "4.8.4" + resolved "https://registry.npmjs.org/rsvp/-/rsvp-4.8.4.tgz#b50e6b34583f3dd89329a2f23a8a2be072845911" + integrity sha512-6FomvYPfs+Jy9TfXmBpBuMWNH94SgCsZmJKcanySzgNNP6LjWxBvyLTa9KaMfDDM5oxRfrKDB0r/qeRsLwnBfA== run-async@^2.2.0: version "2.3.0" @@ -9875,13 +9833,13 @@ safe-regex@^1.1.0: integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== sane@^4.0.3: - version "4.0.3" - resolved "https://registry.npmjs.org/sane/-/sane-4.0.3.tgz#e878c3f19e25cc57fbb734602f48f8a97818b181" - integrity sha512-hSLkC+cPHiBQs7LSyXkotC3UUtyn8C4FMn50TNaacRyvBlI+3ebcxMpqckmTdtXVtel87YS7GXN3UIOj7NiGVQ== + version "4.1.0" + resolved "https://registry.npmjs.org/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 "^1.2.0" + capture-exit "^2.0.0" exec-sh "^0.3.2" execa "^1.0.0" fb-watchman "^2.0.0" @@ -10421,9 +10379,9 @@ strip-ansi@^4.0.0: ansi-regex "^3.0.0" strip-ansi@^5.0.0, strip-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.1.0.tgz#55aaa54e33b4c0649a7338a43437b1887d153ec4" - integrity sha512-TjxrkPONqO2Z8QDCpeE2j6n0M6EwxzyDgzEeGp+FbdvaJAt//ClYi6W5my+3ROlC/hZX2KACUwDfK49Ka5eDvg== + version "5.2.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: ansi-regex "^4.1.0" @@ -10942,11 +10900,11 @@ ua-parser-js@^0.7.19: integrity sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ== uglify-js@3.4.x, uglify-js@^3.1.4: - version "3.4.9" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" - integrity sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q== + version "3.4.10" + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz#9ad9563d8eb3acdfb8d38597d2af1d815f6a755f" + integrity sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw== dependencies: - commander "~2.17.1" + commander "~2.19.0" source-map "~0.6.1" uglify-js@^2.6.1: From f5f1471bc5d205064e4c10e9c956ba6e88721975 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 20 Mar 2019 09:28:41 +0330 Subject: [PATCH 199/221] chore(deps): update all non-major dependencies (#5284) --- distributions/nuxt-legacy/package.json | 8 +- package.json | 6 +- packages/babel-preset-app/package.json | 12 +- packages/typescript/package.json | 4 +- packages/webpack/package.json | 6 +- yarn.lock | 427 ++++++++++++++++--------- 6 files changed, 292 insertions(+), 171 deletions(-) diff --git a/distributions/nuxt-legacy/package.json b/distributions/nuxt-legacy/package.json index 21f3c54dc7..70f6f19185 100644 --- a/distributions/nuxt-legacy/package.json +++ b/distributions/nuxt-legacy/package.json @@ -50,10 +50,10 @@ ], "bin": "bin/nuxt-legacy.js", "dependencies": { - "@babel/core": "^7.3.4", - "@babel/polyfill": "^7.2.5", - "@babel/preset-env": "^7.3.4", - "@babel/register": "^7.0.0", + "@babel/core": "^7.4.0", + "@babel/polyfill": "^7.4.0", + "@babel/preset-env": "^7.4.1", + "@babel/register": "^7.4.0", "@nuxt/builder": "2.4.5", "@nuxt/cli": "2.4.5", "@nuxt/core": "2.4.5", diff --git a/package.json b/package.json index 96d9b2a18e..1044845245 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "release": "./scripts/release" }, "devDependencies": { - "@babel/core": "^7.3.4", - "@babel/preset-env": "^7.3.4", + "@babel/core": "^7.4.0", + "@babel/preset-env": "^7.4.1", "@nuxtjs/eslint-config": "^0.0.1", "@vue/server-test-utils": "^1.0.0-beta.29", "@vue/test-utils": "^1.0.0-beta.29", @@ -80,7 +80,7 @@ "ts-jest": "^24.0.0", "ts-loader": "^5.3.3", "tslint": "^5.14.0", - "typescript": "^3.3.3333", + "typescript": "^3.3.4000", "vue-jest": "^4.0.0-beta.2", "vue-property-decorator": "^8.0.0" }, diff --git a/packages/babel-preset-app/package.json b/packages/babel-preset-app/package.json index 000ae6493f..72451cdfbd 100644 --- a/packages/babel-preset-app/package.json +++ b/packages/babel-preset-app/package.json @@ -10,13 +10,13 @@ ], "main": "src/index.js", "dependencies": { - "@babel/core": "^7.3.4", - "@babel/plugin-proposal-class-properties": "^7.3.4", - "@babel/plugin-proposal-decorators": "^7.3.0", + "@babel/core": "^7.4.0", + "@babel/plugin-proposal-class-properties": "^7.4.0", + "@babel/plugin-proposal-decorators": "^7.4.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-transform-runtime": "^7.3.4", - "@babel/preset-env": "^7.3.4", - "@babel/runtime": "^7.3.4", + "@babel/plugin-transform-runtime": "^7.4.0", + "@babel/preset-env": "^7.4.1", + "@babel/runtime": "^7.4.0", "@vue/babel-preset-jsx": "^1.0.0-beta.2" }, "publishConfig": { diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 4d19367062..f82cab2bac 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -13,7 +13,7 @@ "@types/etag": "^1.8.0", "@types/express": "^4.16.1", "@types/html-minifier": "^3.5.3", - "@types/node": "^11.11.3", + "@types/node": "^11.11.4", "@types/optimize-css-assets-webpack-plugin": "^1.3.4", "@types/serve-static": "^1.13.2", "@types/terser-webpack-plugin": "^1.2.1", @@ -26,7 +26,7 @@ "lodash": "^4.17.11", "ts-loader": "^5.3.3", "ts-node": "^8.0.3", - "typescript": "^3.3.3333" + "typescript": "^3.3.4000" }, "publishConfig": { "access": "public" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 7bb1c94eb8..d3c0c955c3 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -8,14 +8,14 @@ ], "main": "dist/webpack.js", "dependencies": { - "@babel/core": "^7.3.4", - "@babel/polyfill": "^7.2.5", + "@babel/core": "^7.4.0", + "@babel/polyfill": "^7.4.0", "@nuxt/babel-preset-app": "2.4.5", "@nuxt/friendly-errors-webpack-plugin": "^2.4.0", "@nuxt/utils": "2.4.5", "babel-loader": "^8.0.5", "cache-loader": "^2.0.1", - "caniuse-lite": "^1.0.30000950", + "caniuse-lite": "^1.0.30000951", "chalk": "^2.4.2", "consola": "^2.5.7", "css-loader": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index 7133e04101..c82cf73df8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,7 +9,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@^7.1.0", "@babel/core@^7.3.4": +"@babel/core@^7.1.0": version "7.3.4" resolved "https://registry.npmjs.org/@babel/core/-/core-7.3.4.tgz#921a5a13746c21e32445bf0798680e9d11a6530b" integrity sha512-jRsuseXBo9pN197KnDwhhaaBzyZr2oIcLHHTt2oDdQrej5Qp57dCCJafWx5ivU8/alEYDpssYqv1MUqcxwQlrA== @@ -29,6 +29,26 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.4.0.tgz#248fd6874b7d755010bfe61f557461d4f446d9e9" + integrity sha512-Dzl7U0/T69DFOTwqz/FJdnOSWS57NpjNfCwMKHABr589Lg8uX1RrlBIJ7L5Dubt/xkLsx0xH5EBFzlBVes1ayA== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/generator" "^7.4.0" + "@babel/helpers" "^7.4.0" + "@babel/parser" "^7.4.0" + "@babel/template" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" + convert-source-map "^1.1.0" + debug "^4.1.0" + json5 "^2.1.0" + lodash "^4.17.11" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + "@babel/generator@^7.0.0", "@babel/generator@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.3.4.tgz#9aa48c1989257877a9d971296e5b73bfe72e446e" @@ -40,6 +60,17 @@ source-map "^0.5.0" trim-right "^1.0.1" +"@babel/generator@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.4.0.tgz#c230e79589ae7a729fd4631b9ded4dc220418196" + integrity sha512-/v5I+a1jhGSKLgZDcmAUZ4K/VePi43eRkUs3yePW1HB1iANOD5tqJXwGSG4BZhSksP8J9ejSlwGeTiiOFZOrXQ== + dependencies: + "@babel/types" "^7.4.0" + jsesc "^2.5.1" + lodash "^4.17.11" + source-map "^0.5.0" + trim-right "^1.0.1" + "@babel/helper-annotate-as-pure@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32" @@ -55,35 +86,35 @@ "@babel/helper-explode-assignable-expression" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-call-delegate@^7.1.0": - version "7.1.0" - resolved "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.1.0.tgz#6a957f105f37755e8645343d3038a22e1449cc4a" - integrity sha512-YEtYZrw3GUK6emQHKthltKNZwszBcHK58Ygcis+gVUrF4/FmTVr5CCqQNSfmvg2y+YDEANyYoaLz/SHsnusCwQ== +"@babel/helper-call-delegate@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.4.0.tgz#f308eabe0d44f451217853aedf4dea5f6fe3294f" + integrity sha512-SdqDfbVdNQCBp3WhK2mNdDvHd3BD6qbmIc43CAyjnsfCmgHMeqgDcM3BzY2lchi7HBJGJ2CVdynLWbezaE4mmQ== dependencies: - "@babel/helper-hoist-variables" "^7.0.0" - "@babel/traverse" "^7.1.0" - "@babel/types" "^7.0.0" + "@babel/helper-hoist-variables" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" -"@babel/helper-create-class-features-plugin@^7.3.0", "@babel/helper-create-class-features-plugin@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.3.4.tgz#092711a7a3ad8ea34de3e541644c2ce6af1f6f0c" - integrity sha512-uFpzw6L2omjibjxa8VGZsJUPL5wJH0zzGKpoz0ccBkzIa6C8kWNUbiBmQ0rgOKWlHJ6qzmfa6lTiGchiV8SC+g== +"@babel/helper-create-class-features-plugin@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.4.0.tgz#30fd090e059d021995c1762a5b76798fa0b51d82" + integrity sha512-2K8NohdOT7P6Vyp23QH4w2IleP8yG3UJsbRKwA4YP6H8fErcLkFuuEEqbF2/BYBKSNci/FWJiqm6R3VhM/QHgw== dependencies: "@babel/helper-function-name" "^7.1.0" "@babel/helper-member-expression-to-functions" "^7.0.0" "@babel/helper-optimise-call-expression" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.3.4" - "@babel/helper-split-export-declaration" "^7.0.0" + "@babel/helper-replace-supers" "^7.4.0" + "@babel/helper-split-export-declaration" "^7.4.0" -"@babel/helper-define-map@^7.1.0": - version "7.1.0" - resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz#3b74caec329b3c80c116290887c0dd9ae468c20c" - integrity sha512-yPPcW8dc3gZLN+U1mhYV91QU3n5uTbx7DUdf8NnPbjS0RMwBuHi9Xt2MUgppmNz7CJxTBWsGczTiEp1CSOTPRg== +"@babel/helper-define-map@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.4.0.tgz#cbfd8c1b2f12708e262c26f600cd16ed6a3bc6c9" + integrity sha512-wAhQ9HdnLIywERVcSvX40CEJwKdAa1ID4neI9NXQPDOHwwA+57DqwLiPEVy2AIyWzAk0CQ8qx4awO0VUURwLtA== dependencies: "@babel/helper-function-name" "^7.1.0" - "@babel/types" "^7.0.0" - lodash "^4.17.10" + "@babel/types" "^7.4.0" + lodash "^4.17.11" "@babel/helper-explode-assignable-expression@^7.1.0": version "7.1.0" @@ -109,12 +140,12 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/helper-hoist-variables@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0.tgz#46adc4c5e758645ae7a45deb92bab0918c23bb88" - integrity sha512-Ggv5sldXUeSKsuzLkddtyhyHe2YantsxWKNi7A+7LeD12ExRDWTRk29JCXpaHPAbMaIPZSil7n+lq78WY2VY7w== +"@babel/helper-hoist-variables@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.0.tgz#25b621399ae229869329730a62015bbeb0a6fbd6" + integrity sha512-/NErCuoe/et17IlAQFKWM24qtyYYie7sFIrW/tIQXpck6vAu2hhtYYsKLBWQV+BQZMbcIYPU/QMYuTufrY4aQw== dependencies: - "@babel/types" "^7.0.0" + "@babel/types" "^7.4.0" "@babel/helper-member-expression-to-functions@^7.0.0": version "7.0.0" @@ -172,7 +203,7 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-replace-supers@^7.1.0", "@babel/helper-replace-supers@^7.3.4": +"@babel/helper-replace-supers@^7.1.0": version "7.3.4" resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.3.4.tgz#a795208e9b911a6eeb08e5891faacf06e7013e13" integrity sha512-pvObL9WVf2ADs+ePg0jrqlhHoxRXlOa+SHRHzAXIz2xkYuOHfGl+fKxPMaS4Fq+uje8JQPobnertBBvyrWnQ1A== @@ -182,6 +213,16 @@ "@babel/traverse" "^7.3.4" "@babel/types" "^7.3.4" +"@babel/helper-replace-supers@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.4.0.tgz#4f56adb6aedcd449d2da9399c2dcf0545463b64c" + integrity sha512-PVwCVnWWAgnal+kJ+ZSAphzyl58XrFeSKSAJRiqg5QToTsjL+Xu1f9+RJ+d+Q0aPhPfBGaYfkox66k86thxNSg== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.0.0" + "@babel/helper-optimise-call-expression" "^7.0.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" + "@babel/helper-simple-access@^7.1.0": version "7.1.0" resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz#65eeb954c8c245beaa4e859da6188f39d71e585c" @@ -197,6 +238,13 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-split-export-declaration@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.0.tgz#571bfd52701f492920d63b7f735030e9a3e10b55" + integrity sha512-7Cuc6JZiYShaZnybDmfwhY4UYHzI6rlqhWjaIqbsJGsIqPimEYy5uh3akSRLMg65LSdSEnJ8a8/bWQN6u2oMGw== + dependencies: + "@babel/types" "^7.4.0" + "@babel/helper-wrap-function@^7.1.0": version "7.2.0" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz#c4e0012445769e2815b55296ead43a958549f6fa" @@ -216,6 +264,15 @@ "@babel/traverse" "^7.1.5" "@babel/types" "^7.3.0" +"@babel/helpers@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.0.tgz#03392e52c4ce7ad2e7b1cc07d1aba867a8ce2e32" + integrity sha512-2Lfcn74A2WSFUbYJ76ilYE1GnegCKUHTfXxp25EL2zPZHjV7OcDncqNjl295mUH0VnB65mNriXW4J5ROvxsgGg== + dependencies: + "@babel/template" "^7.4.0" + "@babel/traverse" "^7.4.0" + "@babel/types" "^7.4.0" + "@babel/highlight@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4" @@ -230,6 +287,11 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.3.4.tgz#a43357e4bbf4b92a437fb9e465c192848287f27c" integrity sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ== +"@babel/parser@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.4.0.tgz#6de669e73ac3a32c754280d0fef8fca6aad2c416" + integrity sha512-ZmMhJfU/+SXXvy9ALjDZopa3T3EixQtQai89JRC48eM9OUwrxJjYjuM/0wmdl2AekytlzMVhPY8cYdLb13kpKQ== + "@babel/plugin-proposal-async-generator-functions@^7.2.0": version "7.2.0" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz#b289b306669dce4ad20b0252889a15768c9d417e" @@ -239,20 +301,20 @@ "@babel/helper-remap-async-to-generator" "^7.1.0" "@babel/plugin-syntax-async-generators" "^7.2.0" -"@babel/plugin-proposal-class-properties@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.4.tgz#410f5173b3dc45939f9ab30ca26684d72901405e" - integrity sha512-lUf8D3HLs4yYlAo8zjuneLvfxN7qfKv1Yzbj5vjqaqMJxgJA3Ipwp4VUJ+OrOdz53Wbww6ahwB8UhB2HQyLotA== +"@babel/plugin-proposal-class-properties@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.0.tgz#d70db61a2f1fd79de927eea91f6411c964e084b8" + integrity sha512-t2ECPNOXsIeK1JxJNKmgbzQtoG27KIlVE61vTqX0DKR9E9sZlVVxWUtEW9D5FlZ8b8j7SBNCHY47GgPKCKlpPg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.3.4" + "@babel/helper-create-class-features-plugin" "^7.4.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-decorators@^7.3.0": - version "7.3.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.3.0.tgz#637ba075fa780b1f75d08186e8fb4357d03a72a7" - integrity sha512-3W/oCUmsO43FmZIqermmq6TKaRSYhmh/vybPfVFwQWdSb8xwki38uAIvknCRzuyHRuYfCYmJzL9or1v0AffPjg== +"@babel/plugin-proposal-decorators@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.0.tgz#8e1bfd83efa54a5f662033afcc2b8e701f4bb3a9" + integrity sha512-d08TLmXeK/XbgCo7ZeZ+JaeZDtDai/2ctapTRsWWkkmy7G/cqz8DQN/HlWG7RR4YmfXxmExsbU3SuCjlM7AtUg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.3.0" + "@babel/helper-create-class-features-plugin" "^7.4.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-decorators" "^7.2.0" @@ -264,10 +326,10 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-json-strings" "^7.2.0" -"@babel/plugin-proposal-object-rest-spread@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.4.tgz#47f73cf7f2a721aad5c0261205405c642e424654" - integrity sha512-j7VQmbbkA+qrzNqbKHrBsW3ddFnOeva6wzSe/zB7T+xaxGc+RCpwo44wCmRixAIGRoIpmVgvzFzNJqQcO3/9RA== +"@babel/plugin-proposal-object-rest-spread@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.0.tgz#e4960575205eadf2a1ab4e0c79f9504d5b82a97f" + integrity sha512-uTNi8pPYyUH2eWHyYWWSYJKwKg34hhgl4/dbejEjL+64OhbHjTX7wEVWMQl82tEmdDsGeu77+s8HHLS627h6OQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" @@ -280,14 +342,14 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" -"@babel/plugin-proposal-unicode-property-regex@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.2.0.tgz#abe7281fe46c95ddc143a65e5358647792039520" - integrity sha512-LvRVYb7kikuOtIoUeWTkOxQEV1kYvL5B6U3iWEGCzPNRus1MzJweFqORTj+0jkxozkTSYNJozPOddxmqdqsRpw== +"@babel/plugin-proposal-unicode-property-regex@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.0.tgz#202d91ee977d760ef83f4f416b280d568be84623" + integrity sha512-h/KjEZ3nK9wv1P1FSNb9G079jXrNYR0Ko+7XkOx85+gM24iZbPn0rh4vCftk+5QKY7y1uByFataBTmX7irEF1w== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-regex" "^7.0.0" - regexpu-core "^4.2.0" + regexpu-core "^4.5.4" "@babel/plugin-syntax-async-generators@^7.2.0": version "7.2.0" @@ -345,10 +407,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-async-to-generator@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.3.4.tgz#4e45408d3c3da231c0e7b823f407a53a7eb3048c" - integrity sha512-Y7nCzv2fw/jEZ9f678MuKdMo99MFDJMT/PvD9LisrR5JDFcJH6vYeH6RnjVt3p5tceyGRvTtEN0VOlU+rgHZjA== +"@babel/plugin-transform-async-to-generator@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.0.tgz#234fe3e458dce95865c0d152d256119b237834b0" + integrity sha512-EeaFdCeUULM+GPFEsf7pFcNSxM7hYjoj5fiYbyuiXobW4JhFnjAv9OWzNwHyHcKoPNpAfeRDuW6VyaXEDUBa7g== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -361,26 +423,26 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-block-scoping@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.3.4.tgz#5c22c339de234076eee96c8783b2fed61202c5c4" - integrity sha512-blRr2O8IOZLAOJklXLV4WhcEzpYafYQKSGT3+R26lWG41u/FODJuBggehtOwilVAcFu393v3OFj+HmaE6tVjhA== +"@babel/plugin-transform-block-scoping@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.0.tgz#164df3bb41e3deb954c4ca32ffa9fcaa56d30bcb" + integrity sha512-AWyt3k+fBXQqt2qb9r97tn3iBwFpiv9xdAiG+Gr2HpAZpuayvbL55yWrsV3MyHvXk/4vmSiedhDRl1YI2Iy5nQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" lodash "^4.17.11" -"@babel/plugin-transform-classes@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.4.tgz#dc173cb999c6c5297e0b5f2277fdaaec3739d0cc" - integrity sha512-J9fAvCFBkXEvBimgYxCjvaVDzL6thk0j0dBvCeZmIUDBwyt+nv6HfbImsSrWsYXfDNDivyANgJlFXDUWRTZBuA== +"@babel/plugin-transform-classes@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.0.tgz#e3428d3c8a3d01f33b10c529b998ba1707043d4d" + integrity sha512-XGg1Mhbw4LDmrO9rSTNe+uI79tQPdGs0YASlxgweYRLZqo/EQktjaOV4tchL/UZbM0F+/94uOipmdNGoaGOEYg== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-define-map" "^7.1.0" + "@babel/helper-define-map" "^7.4.0" "@babel/helper-function-name" "^7.1.0" "@babel/helper-optimise-call-expression" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.3.4" - "@babel/helper-split-export-declaration" "^7.0.0" + "@babel/helper-replace-supers" "^7.4.0" + "@babel/helper-split-export-declaration" "^7.4.0" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.2.0": @@ -390,10 +452,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-destructuring@^7.2.0": - version "7.3.2" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.3.2.tgz#f2f5520be055ba1c38c41c0e094d8a461dd78f2d" - integrity sha512-Lrj/u53Ufqxl/sGxyjsJ2XNtNuEjDyjpqdhMNh5aZ+XFOdThL46KBj27Uem4ggoezSYBxKWAil6Hu8HtwqesYw== +"@babel/plugin-transform-destructuring@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.0.tgz#acbb9b2418d290107db333f4d6cd8aa6aea00343" + integrity sha512-HySkoatyYTY3ZwLI8GGvkRWCFrjAGXUHur5sMecmCIdIharnlcWWivOqDJI76vvmVZfzwb6G08NREsrY96RhGQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -421,10 +483,10 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-for-of@^7.2.0": - version "7.2.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.2.0.tgz#ab7468befa80f764bb03d3cb5eef8cc998e1cad9" - integrity sha512-Kz7Mt0SsV2tQk6jG5bBv5phVbkd0gd27SgYD4hH1aLMJRchM0dzHaXvrWhVZ+WxAlDoAKZ7Uy3jVTW2mKXQ1WQ== +"@babel/plugin-transform-for-of@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.0.tgz#56c8c36677f5d4a16b80b12f7b768de064aaeb5f" + integrity sha512-vWdfCEYLlYSxbsKj5lGtzA49K3KANtb8qCPQ1em07txJzsBwY+cKJzBHizj5fl3CCx7vt+WPdgDLTHmydkbQSQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -460,12 +522,21 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-simple-access" "^7.1.0" -"@babel/plugin-transform-modules-systemjs@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.3.4.tgz#813b34cd9acb6ba70a84939f3680be0eb2e58861" - integrity sha512-VZ4+jlGOF36S7TjKs8g4ojp4MEI+ebCQZdswWb/T9I4X84j8OtFAyjXjt/M16iIm5RIZn0UMQgg/VgIwo/87vw== +"@babel/plugin-transform-modules-commonjs@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.0.tgz#3b8ec61714d3b75d20c5ccfa157f2c2e087fd4ca" + integrity sha512-iWKAooAkipG7g1IY0eah7SumzfnIT3WNhT4uYB2kIsvHnNSB6MDYVa5qyICSwaTBDBY2c4SnJ3JtEa6ltJd6Jw== dependencies: - "@babel/helper-hoist-variables" "^7.0.0" + "@babel/helper-module-transforms" "^7.1.0" + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/helper-simple-access" "^7.1.0" + +"@babel/plugin-transform-modules-systemjs@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.0.tgz#c2495e55528135797bc816f5d50f851698c586a1" + integrity sha512-gjPdHmqiNhVoBqus5qK60mWPp1CmYWp/tkh11mvb0rrys01HycEGD7NvvSoKXlWEfSM9TcL36CpsK8ElsADptQ== + dependencies: + "@babel/helper-hoist-variables" "^7.4.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-transform-modules-umd@^7.2.0": @@ -483,10 +554,10 @@ dependencies: regexp-tree "^0.1.0" -"@babel/plugin-transform-new-target@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0.tgz#ae8fbd89517fa7892d20e6564e641e8770c3aa4a" - integrity sha512-yin069FYjah+LbqfGeTfzIBODex/e++Yfa0rH0fpfam9uTbuEeEOx5GLGr210ggOV77mVRNoeqSYqeuaqSzVSw== +"@babel/plugin-transform-new-target@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.0.tgz#67658a1d944edb53c8d4fa3004473a0dd7838150" + integrity sha512-6ZKNgMQmQmrEX/ncuCwnnw1yVGoaOW5KpxNhoWI7pCQdA0uZ0HqHGqenCUIENAnxRjy2WwNQ30gfGdIgqJXXqw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -498,26 +569,26 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.1.0" -"@babel/plugin-transform-parameters@^7.2.0": - version "7.3.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.3.3.tgz#3a873e07114e1a5bee17d04815662c8317f10e30" - integrity sha512-IrIP25VvXWu/VlBWTpsjGptpomtIkYrN/3aDp4UKm7xK6UxZY88kcJ1UwETbzHAlwN21MnNfwlar0u8y3KpiXw== +"@babel/plugin-transform-parameters@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.0.tgz#a1309426fac4eecd2a9439a4c8c35124a11a48a9" + integrity sha512-Xqv6d1X+doyiuCGDoVJFtlZx0onAX0tnc3dY8w71pv/O0dODAbusVv2Ale3cGOwfiyi895ivOBhYa9DhAM8dUA== dependencies: - "@babel/helper-call-delegate" "^7.1.0" + "@babel/helper-call-delegate" "^7.4.0" "@babel/helper-get-function-arity" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-regenerator@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.3.4.tgz#1601655c362f5b38eead6a52631f5106b29fa46a" - integrity sha512-hvJg8EReQvXT6G9H2MvNPXkv9zK36Vxa1+csAVTpE1J3j0zlHplw76uudEbJxgvqZzAq9Yh45FLD4pk5mKRFQA== +"@babel/plugin-transform-regenerator@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.0.tgz#0780e27ee458cc3fdbad18294d703e972ae1f6d1" + integrity sha512-SZ+CgL4F0wm4npojPU6swo/cK4FcbLgxLd4cWpHaNXY/NJ2dpahODCqBbAwb2rDmVszVb3SSjnk9/vik3AYdBw== dependencies: regenerator-transform "^0.13.4" -"@babel/plugin-transform-runtime@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.3.4.tgz#57805ac8c1798d102ecd75c03b024a5b3ea9b431" - integrity sha512-PaoARuztAdd5MgeVjAxnIDAIUet5KpogqaefQvPOmPYCxYoaPhautxDh3aO8a4xHsKgT/b9gSxR0BKK1MIewPA== +"@babel/plugin-transform-runtime@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.0.tgz#b4d8c925ed957471bc57e0b9da53408ebb1ed457" + integrity sha512-1uv2h9wnRj98XX3g0l4q+O3jFM6HfayKup7aIu4pnnlzGz0H+cYckGBC74FZIWJXJSXAmeJ9Yu5Gg2RQpS4hWg== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -570,82 +641,83 @@ "@babel/helper-regex" "^7.0.0" regexpu-core "^4.1.3" -"@babel/polyfill@^7.2.5": - version "7.2.5" - resolved "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.2.5.tgz#6c54b964f71ad27edddc567d065e57e87ed7fa7d" - integrity sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug== +"@babel/polyfill@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.4.0.tgz#90f9d68ae34ac42ab4b4aa03151848f536960218" + integrity sha512-bVsjsrtsDflIHp5I6caaAa2V25Kzn50HKPL6g3X0P0ni1ks+58cPB8Mz6AOKVuRPgaVdq/OwEUc/1vKqX+Mo4A== dependencies: - core-js "^2.5.7" - regenerator-runtime "^0.12.0" + core-js "^2.6.5" + regenerator-runtime "^0.13.2" -"@babel/preset-env@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.4.tgz#887cf38b6d23c82f19b5135298bdb160062e33e1" - integrity sha512-2mwqfYMK8weA0g0uBKOt4FE3iEodiHy9/CW0b+nWXcbL+pGzLx8ESYc+j9IIxr6LTDHWKgPm71i9smo02bw+gA== +"@babel/preset-env@^7.4.1": + version "7.4.1" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.1.tgz#80e19ad76f62fb136d57ee4b963db3e8a6840bad" + integrity sha512-uC2DeVb6ljdjBGhJCyHxNZfSJEVgPdUm2R5cX85GCl1Qreo5sMM5g85ntqtzRF7XRYGgnRmV5we9cdlvo1wJvg== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-async-generator-functions" "^7.2.0" "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.3.4" + "@babel/plugin-proposal-object-rest-spread" "^7.4.0" "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.2.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.0" "@babel/plugin-syntax-async-generators" "^7.2.0" "@babel/plugin-syntax-json-strings" "^7.2.0" "@babel/plugin-syntax-object-rest-spread" "^7.2.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.3.4" + "@babel/plugin-transform-async-to-generator" "^7.4.0" "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.3.4" - "@babel/plugin-transform-classes" "^7.3.4" + "@babel/plugin-transform-block-scoping" "^7.4.0" + "@babel/plugin-transform-classes" "^7.4.0" "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.2.0" + "@babel/plugin-transform-destructuring" "^7.4.0" "@babel/plugin-transform-dotall-regex" "^7.2.0" "@babel/plugin-transform-duplicate-keys" "^7.2.0" "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.2.0" + "@babel/plugin-transform-for-of" "^7.4.0" "@babel/plugin-transform-function-name" "^7.2.0" "@babel/plugin-transform-literals" "^7.2.0" "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.2.0" - "@babel/plugin-transform-modules-systemjs" "^7.3.4" + "@babel/plugin-transform-modules-commonjs" "^7.4.0" + "@babel/plugin-transform-modules-systemjs" "^7.4.0" "@babel/plugin-transform-modules-umd" "^7.2.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.3.0" - "@babel/plugin-transform-new-target" "^7.0.0" + "@babel/plugin-transform-new-target" "^7.4.0" "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.3.4" + "@babel/plugin-transform-parameters" "^7.4.0" + "@babel/plugin-transform-regenerator" "^7.4.0" "@babel/plugin-transform-shorthand-properties" "^7.2.0" "@babel/plugin-transform-spread" "^7.2.0" "@babel/plugin-transform-sticky-regex" "^7.2.0" "@babel/plugin-transform-template-literals" "^7.2.0" "@babel/plugin-transform-typeof-symbol" "^7.2.0" "@babel/plugin-transform-unicode-regex" "^7.2.0" - browserslist "^4.3.4" + "@babel/types" "^7.4.0" + browserslist "^4.4.2" + core-js-compat "^3.0.0" invariant "^2.2.2" js-levenshtein "^1.1.3" semver "^5.3.0" -"@babel/register@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@babel/register/-/register-7.0.0.tgz#fa634bae1bfa429f60615b754fc1f1d745edd827" - integrity sha512-f/+CRmaCe7rVEvcvPvxeA8j5aJhHC3aJie7YuqcMDhUOuyWLA7J/aNrTaHIzoWPEhpHA54mec4Mm8fv8KBlv3g== +"@babel/register@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/register/-/register-7.4.0.tgz#d9d0a621db268fb14200f2685a4f8924c822404c" + integrity sha512-ekziebXBnS/7V6xk8sBfLSSD6YZuy6P29igBtR6OL/tswKdxOV+Yqq0nzICMguVYtGRZYUCGpfGV8J9Za2iBdw== dependencies: - core-js "^2.5.7" - find-cache-dir "^1.0.0" - home-or-tmp "^3.0.0" - lodash "^4.17.10" + core-js "^3.0.0" + find-cache-dir "^2.0.0" + lodash "^4.17.11" mkdirp "^0.5.1" pirates "^4.0.0" source-map-support "^0.5.9" -"@babel/runtime@^7.3.4": - version "7.3.4" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83" - integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g== +"@babel/runtime@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.0.tgz#d523416573f19aa12784639e631257c7fc58c0aa" + integrity sha512-/eftZ45kD0OfOFHAmN02WP6N1NVphY+lBf8c2Q/P9VW3tj+N5NlBBAWfqOLOl96YDGMqpIBO5O/hQNx4A/lAng== dependencies: - regenerator-runtime "^0.12.0" + regenerator-runtime "^0.13.2" "@babel/template@^7.0.0", "@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2": version "7.2.2" @@ -656,6 +728,15 @@ "@babel/parser" "^7.2.2" "@babel/types" "^7.2.2" +"@babel/template@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.4.0.tgz#12474e9c077bae585c5d835a95c0b0b790c25c8b" + integrity sha512-SOWwxxClTTh5NdbbYZ0BmaBVzxzTh2tO/TeLTbF6MO6EzVhHTnff8CdBXx3mEtazFBoysmEM6GU/wF+SuSx4Fw== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/parser" "^7.4.0" + "@babel/types" "^7.4.0" + "@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.5", "@babel/traverse@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.3.4.tgz#1330aab72234f8dea091b08c4f8b9d05c7119e06" @@ -671,6 +752,21 @@ globals "^11.1.0" lodash "^4.17.11" +"@babel/traverse@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.0.tgz#14006967dd1d2b3494cdd650c686db9daf0ddada" + integrity sha512-/DtIHKfyg2bBKnIN+BItaIlEg5pjAnzHOIQe5w+rHAw/rg9g0V7T4rqPX8BJPfW11kt3koyjAnTNwCzb28Y1PA== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/generator" "^7.4.0" + "@babel/helper-function-name" "^7.1.0" + "@babel/helper-split-export-declaration" "^7.4.0" + "@babel/parser" "^7.4.0" + "@babel/types" "^7.4.0" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.11" + "@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.2.2", "@babel/types@^7.3.0", "@babel/types@^7.3.4": version "7.3.4" resolved "https://registry.npmjs.org/@babel/types/-/types-7.3.4.tgz#bf482eaeaffb367a28abbf9357a94963235d90ed" @@ -680,6 +776,15 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" +"@babel/types@^7.4.0": + version "7.4.0" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.4.0.tgz#670724f77d24cce6cc7d8cf64599d511d164894c" + integrity sha512-aPvkXyU2SPOnztlgo8n9cEiXW755mgyvueUPcpStqdzoSPm0fjO0vQBjLkt3JKJW7ufikfcnMTTPsN1xaTsBPA== + dependencies: + esutils "^2.0.2" + lodash "^4.17.11" + to-fast-properties "^2.0.0" + "@cnakazawa/watch@^1.0.3": version "1.0.3" resolved "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef" @@ -1693,11 +1798,16 @@ resolved "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz#dc488842312a7f075149312905b5e3c0b054c79d" integrity sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw== -"@types/node@*", "@types/node@^11.11.3", "@types/node@^11.9.5": +"@types/node@*", "@types/node@^11.9.5": version "11.11.3" resolved "https://registry.npmjs.org/@types/node/-/node-11.11.3.tgz#7c6b0f8eaf16ae530795de2ad1b85d34bf2f5c58" integrity sha512-wp6IOGu1lxsfnrD+5mX6qwSwWuqsdkKKxTN4aQc4wByHAKZJf9/D4KXPQ1POUjEbnCP5LMggB0OEFNY9OTsMqg== +"@types/node@^11.11.4": + version "11.11.4" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.4.tgz#8808bd5a82bbf6f5d412eff1c228d178e7c24bb3" + integrity sha512-02tIL+QIi/RW4E5xILdoAMjeJ9kYq5t5S2vciUdFPXv/ikFTb0zK8q9vXkg4+WAJuYXGiVT1H28AkD2C+IkXVw== + "@types/optimize-css-assets-webpack-plugin@^1.3.4": version "1.3.4" resolved "https://registry.npmjs.org/@types/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-1.3.4.tgz#6838ab7a3a5ec1253ad98c348bdcd009e91b39cd" @@ -2745,7 +2855,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.3.4, browserslist@^4.4.2: +browserslist@^4.0.0, browserslist@^4.4.2, browserslist@^4.5.1: version "4.5.1" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz#2226cada1947b33f4cfcf7b608dcb519b6128106" integrity sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg== @@ -2957,11 +3067,16 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000947, caniuse-lite@^1.0.30000949, caniuse-lite@^1.0.30000950: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000939, caniuse-lite@^1.0.30000947, caniuse-lite@^1.0.30000949: version "1.0.30000950" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000950.tgz#8c559d66e332b34e919d1086cc6d29c1948856ae" integrity sha512-Cs+4U9T0okW2ftBsCIHuEYXXkki7mjXmjCh4c6PzYShk04qDEr76/iC7KwhLoWoY65wcra1XOsRD+S7BptEb5A== +caniuse-lite@^1.0.30000951: + version "1.0.30000951" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000951.tgz#c7c2fd4d71080284c8677dd410368df8d83688fe" + integrity sha512-eRhP+nQ6YUkIcNQ6hnvdhMkdc7n3zadog0KXNRxAZTT2kHjUb1yGn71OrPhSn8MOvlX97g5CR97kGVj8fMsXWg== + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -3493,7 +3608,27 @@ copy-descriptor@^0.1.0: resolved "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -core-js@^2.4.0, core-js@^2.5.7: +core-js-compat@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.0.0.tgz#cd9810b8000742535a4a43773866185e310bd4f7" + integrity sha512-W/Ppz34uUme3LmXWjMgFlYyGnbo1hd9JvA0LNQ4EmieqVjg2GPYbj3H6tcdP2QGPGWdRKUqZVbVKLNIFVs/HiA== + dependencies: + browserslist "^4.5.1" + core-js "3.0.0" + core-js-pure "3.0.0" + semver "^5.6.0" + +core-js-pure@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b" + integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g== + +core-js@3.0.0, core-js@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957" + integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ== + +core-js@^2.4.0, core-js@^2.6.5: version "2.6.5" resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== @@ -4910,15 +5045,6 @@ finalhandler@1.1.1, finalhandler@^1.1.1: statuses "~1.4.0" unpipe "~1.0.0" -find-cache-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" - integrity sha1-kojj6ePMN0hxfTnq3hfPcfww7m8= - dependencies: - commondir "^1.0.1" - make-dir "^1.0.0" - pkg-dir "^2.0.0" - find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" @@ -5420,11 +5546,6 @@ hmac-drbg@^1.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -home-or-tmp@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz#57a8fe24cf33cdd524860a15821ddc25c86671fb" - integrity sha1-V6j+JM8zzdUkhgoVgh3cJchmcfs= - hoopy@^0.1.2: version "0.1.4" resolved "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" @@ -9474,10 +9595,10 @@ regenerator-runtime@^0.11.0: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.12.0: - version "0.12.1" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" - integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== +regenerator-runtime@^0.13.2: + version "0.13.2" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" + integrity sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA== regenerator-transform@^0.13.4: version "0.13.4" @@ -9504,7 +9625,7 @@ regexpp@^2.0.1: resolved "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== -regexpu-core@^4.1.3, regexpu-core@^4.2.0: +regexpu-core@^4.1.3, regexpu-core@^4.5.4: version "4.5.4" resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae" integrity sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ== @@ -10889,10 +11010,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.3.3333: - version "3.3.3333" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6" - integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw== +typescript@^3.3.4000: + version "3.3.4000" + resolved "https://registry.npmjs.org/typescript/-/typescript-3.3.4000.tgz#76b0f89cfdbf97827e1112d64f283f1151d6adf0" + integrity sha512-jjOcCZvpkl2+z7JFn0yBOoLQyLoIkNZAs/fYJkUG6VKy6zLPHJGfQJYFHzibB6GJaF/8QrcECtlQ5cpvRHSMEA== ua-parser-js@^0.7.19: version "0.7.19" From fae8fb0df85251d02c84825a5a101666f879a50e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 20 Mar 2019 10:41:58 +0330 Subject: [PATCH 200/221] chore(deps): update all non-major dependencies (#5288) --- distributions/nuxt-start/package.json | 2 +- package.json | 2 +- packages/vue-app/package.json | 4 ++-- packages/vue-renderer/package.json | 4 ++-- yarn.lock | 32 +++++++++++++-------------- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 37ed69f966..e28d767d5b 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -55,7 +55,7 @@ "@nuxt/cli": "2.4.5", "@nuxt/core": "2.4.5", "node-fetch": "^2.3.0", - "vue": "^2.6.9", + "vue": "^2.6.10", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", diff --git a/package.json b/package.json index 1044845245..03275f52c4 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.6.0", + "rollup": "^1.6.1", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index 3183aa1f47..e2fee85c0b 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -14,11 +14,11 @@ "dependencies": { "node-fetch": "^2.3.0", "unfetch": "^4.1.0", - "vue": "^2.6.9", + "vue": "^2.6.10", "vue-meta": "^1.5.8", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.2", - "vue-template-compiler": "^2.6.9", + "vue-template-compiler": "^2.6.10", "vuex": "^3.1.0" }, "publishConfig": { diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 68fd9b22ea..8b639321c9 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -13,9 +13,9 @@ "consola": "^2.5.7", "fs-extra": "^7.0.1", "lru-cache": "^5.1.1", - "vue": "^2.6.9", + "vue": "^2.6.10", "vue-meta": "^1.5.8", - "vue-server-renderer": "^2.6.9" + "vue-server-renderer": "^2.6.10" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index c82cf73df8..ee828531de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9901,10 +9901,10 @@ rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3, rollup-pluginutils@^2.4.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.6.0: - version "1.6.0" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.6.0.tgz#4329f4634718197c678d18491724d50d8b7ee76c" - integrity sha512-qu9iWyuiOxAuBM8cAwLuqPclYdarIpayrkfQB7aTGTiyYPbvx+qVF33sIznfq4bxZCiytQux/FvZieUBAXivCw== +rollup@^1.6.1: + version "1.6.1" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.6.1.tgz#b1f2edc949d78186fb487597b28dd9717b8bc20f" + integrity sha512-2giWBZjBepr/25vkds/EzpC52xySDyhX1wPGaJ69cnZJHCuYTzIJKFzJB1DTZ8C7A1FocBbG0KhS/No3whXmzw== dependencies: "@types/estree" "0.0.39" "@types/node" "^11.9.5" @@ -11359,10 +11359,10 @@ vue-router@^3.0.2: resolved "https://registry.npmjs.org/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be" integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg== -vue-server-renderer@^2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.9.tgz#74b970be513887ad255b2132daa1720a16af69ed" - integrity sha512-UAwI9R+H9oh6YIG9xmS4uU1X8MD9bBzDLGIhqB8UHX9tJPrWQTrBijfXfnytDpefIisfz3qLa27qFOKuX4vnsw== +vue-server-renderer@^2.6.10: + version "2.6.10" + resolved "https://registry.npmjs.org/vue-server-renderer/-/vue-server-renderer-2.6.10.tgz#cb2558842ead360ae2ec1f3719b75564a805b375" + integrity sha512-UYoCEutBpKzL2fKCwx8zlRtRtwxbPZXKTqbl2iIF4yRZUNO/ovrHyDAJDljft0kd+K0tZhN53XRHkgvCZoIhug== dependencies: chalk "^1.1.3" hash-sum "^1.0.2" @@ -11381,10 +11381,10 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.9.tgz#26600415ff81a7a241aebc2d4e0abaa0f1a07915" - integrity sha512-QgO0LSCdeH6zUMSgtqel+yDWsZWQPXiWBdFg9qzOhWfQL8vZ+ywinAzE04rm1XrWc+3SU0YAdWISlEgs/i8WWA== +vue-template-compiler@^2.6.10: + version "2.6.10" + resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.10.tgz#323b4f3495f04faa3503337a82f5d6507799c9cc" + integrity sha512-jVZkw4/I/HT5ZMvRnhv78okGusqe0+qH2A0Em0Cp8aq78+NK9TII263CDVz2QXZsIT+yyV/gZc/j/vlwa+Epyg== dependencies: de-indent "^1.0.2" he "^1.1.0" @@ -11394,10 +11394,10 @@ vue-template-es2015-compiler@^1.9.0: resolved "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== -vue@^2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/vue/-/vue-2.6.9.tgz#415c1cc1a5ed00c8f0acdd0a948139d12b7ea6b3" - integrity sha512-t1+tvH8hybPM86oNne3ZozCD02zj/VoZIiojOBPJLjwBn7hxYU5e1gBObFpq8ts1NEn1VhPf/hVXBDAJ3X5ljg== +vue@^2.6.10: + version "2.6.10" + resolved "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637" + integrity sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ== vuex@^3.1.0: version "3.1.0" From 03178b73cdda8ca523c96659e62ecbfc41e94fc8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 20 Mar 2019 12:47:22 +0330 Subject: [PATCH 201/221] chore(deps): update dependency rollup to ^1.7.0 (#5289) --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 03275f52c4..9817faf1b2 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "request": "^2.88.0", "request-promise-native": "^1.0.7", "rimraf": "^2.6.3", - "rollup": "^1.6.1", + "rollup": "^1.7.0", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", diff --git a/yarn.lock b/yarn.lock index ee828531de..b01838028f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9901,10 +9901,10 @@ rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3, rollup-pluginutils@^2.4.1, estree-walker "^0.6.0" micromatch "^3.1.10" -rollup@^1.6.1: - version "1.6.1" - resolved "https://registry.npmjs.org/rollup/-/rollup-1.6.1.tgz#b1f2edc949d78186fb487597b28dd9717b8bc20f" - integrity sha512-2giWBZjBepr/25vkds/EzpC52xySDyhX1wPGaJ69cnZJHCuYTzIJKFzJB1DTZ8C7A1FocBbG0KhS/No3whXmzw== +rollup@^1.7.0: + version "1.7.0" + resolved "https://registry.npmjs.org/rollup/-/rollup-1.7.0.tgz#2f5063c0f344f2225d1077655dc54d105a512bb2" + integrity sha512-hjuWSCgoQsFSTsmsNP4AH1l1kfkFqW82gW00V9nL81Zr3JtnKn3rvxh18jUAAEMb7qNoHj21PR5SqbK2mhBgMg== dependencies: "@types/estree" "0.0.39" "@types/node" "^11.9.5" From ef41e205e6787b784ab5907d99652b9d74891c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 20 Mar 2019 10:17:53 +0100 Subject: [PATCH 202/221] feat: loading screen (#5251) [release] --- distributions/nuxt/package.json | 1 + packages/cli/src/commands/dev.js | 26 ++--- packages/cli/src/utils/formatting.js | 2 +- packages/cli/test/unit/dev.test.js | 2 +- packages/config/src/options.js | 5 + packages/server/src/middleware/nuxt.js | 7 ++ packages/server/src/server.js | 1 + packages/vue-app/template/pages/index.vue | 86 ++------------- .../vue-app/template/views/loading/nuxt.html | 100 +++++++----------- packages/vue-renderer/src/renderer.js | 72 ++++++++----- packages/webpack/src/config/base.js | 3 + test/unit/basic.dev.test.js | 8 +- test/unit/renderer.test.js | 21 ++-- yarn.lock | 12 ++- 14 files changed, 156 insertions(+), 190 deletions(-) diff --git a/distributions/nuxt/package.json b/distributions/nuxt/package.json index ce3649b9c9..fd5c0300a6 100644 --- a/distributions/nuxt/package.json +++ b/distributions/nuxt/package.json @@ -58,6 +58,7 @@ "@nuxt/cli": "2.4.5", "@nuxt/core": "2.4.5", "@nuxt/generator": "2.4.5", + "@nuxt/loading-screen": "^0.0.2", "@nuxt/opencollective": "^0.2.1", "@nuxt/webpack": "2.4.5" }, diff --git a/packages/cli/src/commands/dev.js b/packages/cli/src/commands/dev.js index 4cfe5d7838..55622fbc33 100644 --- a/packages/cli/src/commands/dev.js +++ b/packages/cli/src/commands/dev.js @@ -20,13 +20,8 @@ export default { async run(cmd) { const { argv } = cmd - const nuxt = await this.startDev(cmd, argv) - // Opens the server listeners url in the default browser - if (argv.open) { - const openerPromises = nuxt.server.listeners.map(listener => opener(listener.url)) - await Promise.all(openerPromises) - } + await this.startDev(cmd, argv, argv.open) }, async startDev(cmd, argv) { @@ -47,21 +42,28 @@ export default { nuxt.hook('watch:restart', payload => this.onWatchRestart(payload, { nuxt, builder, cmd, argv })) nuxt.hook('bundler:change', changedFileName => this.onBundlerChange(changedFileName)) - // Create builder instance - const builder = await cmd.getBuilder(nuxt) - // Wait for nuxt to be ready await nuxt.ready() // Start listening await nuxt.server.listen() + // Show banner when listening + showBanner(nuxt) + + // Opens the server listeners url in the default browser (only once) + if (argv.open) { + argv.open = false + const openerPromises = nuxt.server.listeners.map(listener => opener(listener.url)) + await Promise.all(openerPromises) + } + + // Create builder instance + const builder = await cmd.getBuilder(nuxt) + // Start Build await builder.build() - // Show banner after build - showBanner(nuxt) - // Return instance return nuxt }, diff --git a/packages/cli/src/utils/formatting.js b/packages/cli/src/utils/formatting.js index 59f91184b1..e3197fb580 100644 --- a/packages/cli/src/utils/formatting.js +++ b/packages/cli/src/utils/formatting.js @@ -30,7 +30,7 @@ export function colorize(text) { .replace(/\[[^ ]+]/g, m => chalk.grey(m)) .replace(/<[^ ]+>/g, m => chalk.green(m)) .replace(/ (-[-\w,]+)/g, m => chalk.bold(m)) - .replace(/`(.+)`/g, (_, m) => chalk.bold.cyan(m)) + .replace(/`([^`]+)`/g, (_, m) => chalk.bold.cyan(m)) } export function box(message, title, options) { diff --git a/packages/cli/test/unit/dev.test.js b/packages/cli/test/unit/dev.test.js index 5faafeab17..e0b135160a 100644 --- a/packages/cli/test/unit/dev.test.js +++ b/packages/cli/test/unit/dev.test.js @@ -51,7 +51,7 @@ describe('dev', () => { // Test error on second build so we cover oldInstance stuff const builder = new Builder() builder.nuxt = new Nuxt() - Builder.prototype.build = jest.fn().mockImplementationOnce(() => Promise.reject(new Error('Build Error'))) + Builder.prototype.build = () => { throw new Error('Build Error') } await Nuxt.fileRestartHook(builder) expect(Nuxt.prototype.close).toHaveBeenCalled() diff --git a/packages/config/src/options.js b/packages/config/src/options.js index 896d40e7e1..e5da7d33d6 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -330,5 +330,10 @@ export function getNuxtConfig(_options) { bundleRenderer.runInNewContext = options.dev } + // Add loading screen + if (options.dev) { + options.devModules.push('@nuxt/loading-screen') + } + return options } diff --git a/packages/server/src/middleware/nuxt.js b/packages/server/src/middleware/nuxt.js index e12194a880..b430d3e946 100644 --- a/packages/server/src/middleware/nuxt.js +++ b/packages/server/src/middleware/nuxt.js @@ -12,6 +12,13 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux const url = decodeURI(req.url) res.statusCode = 200 const result = await renderRoute(url, context) + + // If result is falsy, call renderLoading + if (!result) { + await nuxt.callHook('server:nuxt:renderLoading', req, res) + return + } + await nuxt.callHook('render:route', url, result, context) const { html, diff --git a/packages/server/src/server.js b/packages/server/src/server.js index 5e57cbba96..e937f00fb1 100644 --- a/packages/server/src/server.js +++ b/packages/server/src/server.js @@ -115,6 +115,7 @@ export default class Server { context: this.renderer.context })) + // Dev middleware if (this.options.dev) { this.useMiddleware((req, res, next) => { if (!this.devMiddleware) { diff --git a/packages/vue-app/template/pages/index.vue b/packages/vue-app/template/pages/index.vue index 89c43d9d3c..c2d3284bed 100644 --- a/packages/vue-app/template/pages/index.vue +++ b/packages/vue-app/template/pages/index.vue @@ -2,15 +2,16 @@
-

The Vue Framework

+

The Vue.js Framework

Get Started @@ -85,75 +86,6 @@ } } - .VueToNuxtLogo { - display: inline-block; - animation: turn 2s linear forwards; - transform: rotateX(180deg); - position: relative; - overflow: hidden; - height: 180px; - width: 245px; - } - - .Triangle { - position: absolute; - top: 0; - left: 0; - width: 0; - height: 0; - } - - .Triangle--one { - border-left: 105px solid transparent; - border-right: 105px solid transparent; - border-bottom: 180px solid #41B883; - } - - .Triangle--two { - top: 30px; - left: 35px; - animation: goright 0.5s linear forwards 2.5s; - border-left: 87.5px solid transparent; - border-right: 87.5px solid transparent; - border-bottom: 150px solid #3B8070; - } - - .Triangle--three { - top: 60px; - left: 35px; - animation: goright 0.5s linear forwards 2.5s; - border-left: 70px solid transparent; - border-right: 70px solid transparent; - border-bottom: 120px solid #35495E; - } - - .Triangle--four { - top: 120px; - left: 70px; - animation: godown 0.5s linear forwards 2s; - border-left: 35px solid transparent; - border-right: 35px solid transparent; - border-bottom: 60px solid #fff; - } - - @keyframes turn { - 100% { - transform: rotateX(0deg); - } - } - - @keyframes godown { - 100% { - top: 180px; - } - } - - @keyframes goright { - 100% { - left: 70px; - } - } - .button { font-family: "Quicksand", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; position: relative; diff --git a/packages/vue-app/template/views/loading/nuxt.html b/packages/vue-app/template/views/loading/nuxt.html index 7611527be7..90fa8ce93f 100644 --- a/packages/vue-app/template/views/loading/nuxt.html +++ b/packages/vue-app/template/views/loading/nuxt.html @@ -1,6 +1,6 @@ -