From 85ad44e13efc241d6db71a2c0b21777348b97a5c Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Fri, 30 Aug 2019 14:14:53 -0400 Subject: [PATCH] chore: package json cleanup (#5649) --- build/assets.js | 75 ++-- build/current-changelog.js | 24 +- build/docs-only.js | 10 +- build/fix-api-docs.js | 17 +- build/generate-example.js | 40 +- build/gh-release.js | 42 +- build/minify.js | 10 +- build/netlify-docs.js | 4 +- build/sandbox.js | 15 +- build/test-a11y.js | 3 +- build/translations.js | 25 +- build/version.js | 19 - docs/translations-needed.md | 4 +- package-lock.json | 782 +++++++++++++++--------------------- package.json | 39 +- rollup.config.js | 3 +- test/karma.conf.js | 19 +- 17 files changed, 487 insertions(+), 644 deletions(-) delete mode 100644 build/version.js diff --git a/build/assets.js b/build/assets.js index cabfc378fd..738b4d2423 100644 --- a/build/assets.js +++ b/build/assets.js @@ -1,57 +1,37 @@ +/* eslint-disable no-console */ const fs = require('fs'); const zlib = require('zlib'); -const Promise = require('bluebird'); -const klawSync = require('klaw-sync'); const filesize = require('filesize'); const Table = require('cli-table'); - -const files = klawSync('dist/', { - ignore: ['examples', 'lang', 'font', '*.zip', '*.gz'], - nodir: true -}); - -Promise.all(files.map(gzipAndStat)) -.then(mapFiles) -.then(function(files) { - logTable(files); - - return files; -}) -.then(cleanup) -.catch(function(err) { - console.error(err.stack); -}); - -function cleanup(files) { - files.forEach(function(file) { - fs.unlinkSync('dist/' + file[0] + '.gz'); - }); -} - -function mapFiles(files) { - return files.map(function(file) { - const path = file[0].path; - const fileStat = file[0].stats; - const gzStat = file[1]; - return [file[0].path.split('dist/')[1], filesize(fileStat.size), filesize(gzStat.size)]; - }); -} - -function gzipAndStat(file) { +const path = require('path'); +const sh = require('shelljs'); + +// find all js/css files in the dist dir +// but ignore any files in lang, example, or font directories +const filepaths = sh + .find(path.join(__dirname, '..', 'dist', '**', '*.{js,css}')) + .filter((filepath) => !(/\/(lang|example|font)\//).test(filepath)); + +// map all files that we found into an array of +// table entries the filepath, file size, and gzip size. +Promise.all(filepaths.map(function(filepath) { return new Promise(function(resolve, reject) { - const readStream = fs.createReadStream(file.path); - const writeStream = fs.createWriteStream(file.path + '.gz'); + const readStream = fs.createReadStream(filepath); + const writeStream = fs.createWriteStream(filepath + '.gz'); const gzip = zlib.createGzip(); + readStream.pipe(gzip).pipe(writeStream).on('close', function() { - const gzStat = fs.statSync(file.path + '.gz'); + const gzStat = fs.statSync(filepath + '.gz'); + const fileStat = fs.statSync(filepath); + + fs.unlinkSync(filepath + '.gz'); - resolve([file, gzStat]); + resolve([filepath.split('dist/')[1], filesize(fileStat.size), filesize(gzStat.size)]); }) - .on('error', reject); + .on('error', reject); }); -} - -function logTable(files) { +})).then(function(lines) { + // log all the files and there sizes using a cli table const table = new Table({ head: ['filename', 'size', 'gzipped'], colAligns: ['left', 'right', 'right'], @@ -60,6 +40,9 @@ function logTable(files) { } }); - table.push.apply(table, files); + table.push.apply(table, lines); console.log(table.toString()); -} + +}).catch(function(err) { + console.error(err.stack); +}); diff --git a/build/current-changelog.js b/build/current-changelog.js index 3144b22091..a80ef88e53 100644 --- a/build/current-changelog.js +++ b/build/current-changelog.js @@ -1,22 +1,24 @@ -var unified = require('unified'); -var markdown = require('remark-parse'); -var stringify = require('remark-stringify'); -var fs = require('fs'); +/* eslint-disable no-console */ + +const unified = require('unified'); +const markdown = require('remark-parse'); +const stringify = require('remark-stringify'); +const fs = require('fs'); module.exports = function() { - var processor = unified() - .use(markdown, {commonmark: true}) - .use(stringify); + const processor = unified() + .use(markdown, {commonmark: true}) + .use(stringify); - var ast = processor.parse(fs.readFileSync('./CHANGELOG.md')); + const ast = processor.parse(fs.readFileSync('./CHANGELOG.md')); + const changelog = []; - var changelog = []; changelog.push(processor.stringify(ast.children[0])); // start at 1 so we get the first anchor tag // and can break on the second - for (var i = 1; i < ast.children.length; i++) { - var item = processor.stringify(ast.children[i]); + for (let i = 1; i < ast.children.length; i++) { + let item = processor.stringify(ast.children[i]); if (/^', replace: '

'}, {find: '

', replace: '

'}, {find: '

', - replace: '

'}, + replace: '

'}, {find: '

', - replace: '

'}, + replace: '

'}, {find: '

', - replace: '

'}, + replace: '

'}, {find: '

', replace: '

'}, {find: '

', replace: '

'} ]; - replacements.forEach(function(obj) { replace({ regex: obj.find, diff --git a/build/generate-example.js b/build/generate-example.js index b1f5f32961..56255b1c88 100644 --- a/build/generate-example.js +++ b/build/generate-example.js @@ -1,24 +1,23 @@ -import path from 'path'; -import fs from 'fs'; -import sh from 'shelljs'; -import klawSync from 'klaw-sync'; -import pkg from '../package.json'; - -const dest = 'docs/api/'; -const vjsFlash = 'node_modules/videojs-flash'; -const vjsSwf = 'node_modules/videojs-swf/'; +const path = require('path'); +const fs = require('fs'); +const sh = require('shelljs'); +const pkg = require('../package.json'); + +const dest = path.join(__dirname, '..', 'docs', 'api'); +const vjsFlash = path.join(__dirname, '..', 'node_modules', 'videojs-flash'); +const vjsSwf = path.join('node_modules', 'videojs-swf'); const distDest = path.join(dest, 'dist'); const exampleDest = path.join(dest, 'test-example'); const vjsFlashDest = path.join(dest, vjsFlash, 'dist'); const swfDest = path.join(dest, vjsFlash, vjsSwf, 'dist'); -export function cleanupExample() { +const cleanupExample = function() { sh.rm('-rf', distDest); sh.rm('-rf', exampleDest); sh.rm('-rf', path.join(dest, 'node_modules')); -} +}; -export default function generateExample({skipBuild} = {}) { +const generateExample = function({skipBuild} = {}) { // run the build if (!skipBuild) { sh.exec('npm run build'); @@ -42,11 +41,18 @@ export default function generateExample({skipBuild} = {}) { sh.cp(path.join(vjsSwf, 'dist', 'video-js.swf'), swfDest); } - const files = klawSync('sandbox/').filter((file) => path.extname(file.path) === '.example'); + const filepaths = sh.find(path.join(__dirname, '..', 'sandbox', '**', '*.*')) + .filter((filepath) => path.extname(filepath) === '.example'); // copy the sandbox example files - files.forEach(function(file) { - const p = path.parse(file.path); - sh.cp(file.path, path.join(exampleDest, p.name)); + filepaths.forEach(function(filepath) { + const p = path.parse(filepath); + + sh.cp(filepath, path.join(exampleDest, p.name)); }); -} +}; + +module.exports = { + cleanupExample, + generateExample +}; diff --git a/build/gh-release.js b/build/gh-release.js index f2285a20d8..00a98ccfd1 100644 --- a/build/gh-release.js +++ b/build/gh-release.js @@ -1,24 +1,14 @@ -var ghrelease = require('gh-release'); -var currentChangelog = require('./current-changelog.js'); -var safeParse = require('safe-json-parse/tuple'); -var pkg = require('../package.json') -var minimist = require('minimist'); +/* eslint-disable no-console */ -var args = minimist(process.argv.slice(2), { - boolean: ['prerelease'], - default: { - prerelease: false - }, - alias: { - p: 'prerelease' - } -}); - -var options = { +const ghrelease = require('gh-release'); +const currentChangelog = require('./current-changelog.js'); +const safeParse = require('safe-json-parse/tuple'); +const pkg = require('../package.json'); +const options = { owner: 'videojs', repo: 'video.js', body: currentChangelog(), - assets: ['./dist/video-js-'+pkg.version+'.zip'], + assets: ['./dist/video-js-' + pkg.version + '.zip'], endpoint: 'https://api.github.com', auth: { username: process.env.VJS_GITHUB_USER, @@ -26,10 +16,22 @@ var options = { } }; -var tuple = safeParse(process.env.npm_config_argv); -var npmargs = tuple[0] ? [] : tuple[1].cooked; +let i = process.argv.length; + +while (i--) { + const arg = process.argv[i]; + + if (arg === '-p' || arg === '--prerelease') { + options.prerelease = true; + } +} + +const tuple = safeParse(process.env.npm_config_argv); +const npmargs = tuple[0] ? [] : tuple[1].cooked; -if (args.prerelease || npmargs.some(function(arg) { return /next/.test(arg); })) { +if (npmargs.some(function(arg) { + return /next/.test(arg); +})) { options.prerelease = true; } diff --git a/build/minify.js b/build/minify.js index 7e09fe2c9a..25767774e8 100644 --- a/build/minify.js +++ b/build/minify.js @@ -1,6 +1,8 @@ -import fs from 'fs'; -import uglify from 'uglify-js'; -import maxmin from 'maxmin'; +/* eslint-disable no-console, camelcase */ + +const fs = require('fs'); +const uglify = require('uglify-js'); +const maxmin = require('maxmin'); const options = { nameCache: {}, @@ -38,7 +40,7 @@ const minify = (file, dest) => { console.log('File', dest, 'created:', maxmin(code, minified.code, true)); }; -console.log('Minifying files\n'); +console.log('Minifying files\n'); minify('dist/video.js', 'dist/video.min.js'); minify('dist/alt/video.novtt.js', 'dist/alt/video.novtt.min.js'); diff --git a/build/netlify-docs.js b/build/netlify-docs.js index 6954a61fca..3f163f3696 100644 --- a/build/netlify-docs.js +++ b/build/netlify-docs.js @@ -1,9 +1,9 @@ const sh = require('shelljs'); const semver = require('semver'); -const generateExample = require('./generate-example.js').default; +const generateExample = require('./generate-example.js').generateExample; const GIT_LOG = `git log --format=%B -n 1 ${process.env.COMMIT_REF}`; -const output = sh.exec(GIT_LOG, {async: false, silent:true}).stdout; +const output = sh.exec(GIT_LOG, {async: false, silent: true}).stdout; // if we're on master branch and not on a tagged commit, // error the build so it doesn't redeploy the docs diff --git a/build/sandbox.js b/build/sandbox.js index 798c72fe02..0a56d61172 100644 --- a/build/sandbox.js +++ b/build/sandbox.js @@ -1,18 +1,21 @@ +/* eslint-disable no-console */ + const fs = require('fs'); const path = require('path'); -const klawSync = require('klaw-sync'); +const sh = require('shelljs'); -const files = klawSync('sandbox/').filter((file) => path.extname(file.path) === '.example'); +const files = sh.find(path.join(__dirname, '..', 'sandbox', '**', '*.*')) + .filter((filepath) => path.extname(filepath) === '.example'); const changes = files.map(function(file) { const p = path.parse(file.path); const nonExample = path.join(p.dir, p.name); + return { file: file.path, copy: nonExample }; -}) -.filter(function(change) { +}).filter(function(change) { return !fs.existsSync(change.copy); }); @@ -21,8 +24,8 @@ changes.forEach(function(change) { }); if (changes.length) { - console.log("Updated Sandbox files for:"); + console.log('Updated Sandbox files for:'); console.log('\t' + changes.map((chg) => chg.copy).join('\n\t')); } else { - console.log("No sandbox updates necessary"); + console.log('No sandbox updates necessary'); } diff --git a/build/test-a11y.js b/build/test-a11y.js index 4abc144ae9..9debe18c62 100644 --- a/build/test-a11y.js +++ b/build/test-a11y.js @@ -20,7 +20,8 @@ const options = { AccessSniff.default(testFiles, options).then(function(report) { AccessSniff.report(report); -}).catch(function(error) { +}).catch(function() { + // there were errors, which are already reported, exit with an error process.exit(1); }); diff --git a/build/translations.js b/build/translations.js index 2bc81c4655..f7843cd66b 100644 --- a/build/translations.js +++ b/build/translations.js @@ -1,25 +1,28 @@ +/* eslint-disable no-console */ + const fs = require('fs'); const path = require('path'); -const klawSync = require('klaw-sync'); +const sh = require('shelljs'); const source = require('../lang/en.json'); const table = require('markdown-table'); const tableRegex = /()(.|\n)*()/; -let doc = fs.readFileSync('docs/translations-needed.md', 'utf8'); -let tableData = [['Language file', 'Missing translations']]; +let doc = fs.readFileSync(path.join(__dirname, '..', 'docs', 'translations-needed.md'), 'utf8'); +const tableData = [['Language file', 'Missing translations']]; -const files = klawSync('lang'); +const filepaths = sh.find(path.join(__dirname, '..', 'lang', '**', '!(zh-Hans|zh-Hant)*.json')); -files.forEach((file) => { - const filename = path.basename(file.path); +filepaths.forEach((filepath) => { + const filename = path.basename(filepath); if (filename === 'en.json') { return; } - const target = require(file.path); - let missing = []; + const target = require(filepath); + const missing = []; + for (const string in source) { if (!target[string]) { console.log(`${filename} missing "${string}"`); @@ -29,7 +32,7 @@ files.forEach((file) => { if (missing.length > 0) { console.error(`${filename} is missing ${missing.length} translations.`); tableData.push([`${filename} (missing ${missing.length})`, missing[0]]); - for (var i = 1; i < missing.length; i++) { + for (let i = 1; i < missing.length; i++) { tableData.push(['', missing[i]]); } } else { @@ -38,5 +41,5 @@ files.forEach((file) => { } }); -doc = doc.replace(tableRegex, `$1\n` + table(tableData) + `\n$3`); -fs.writeFileSync('docs/translations-needed.md', doc, 'utf8'); +doc = doc.replace(tableRegex, '$1\n' + table(tableData) + '\n$3'); +fs.writeFileSync(path.join(__dirname, '..', 'docs', 'translations-needed.md'), doc, 'utf8'); diff --git a/build/version.js b/build/version.js deleted file mode 100644 index 9180a6900f..0000000000 --- a/build/version.js +++ /dev/null @@ -1,19 +0,0 @@ -var safeParse = require("safe-json-parse/tuple"); -var tuple = safeParse(process.env.npm_config_argv); -var npm_config_argv = tuple[1] - -if (tuple[0]) { - process.exit(1); -} - -var sh = require('shelljs'); -var prereleaseType = npm_config_argv['remain'][0]; -var approvedTypes = { - 'major': 1, - 'minor': 1, - 'patch': 1 -} - -if (prereleaseType in approvedTypes) { - sh.exec('npm run changelog'); -} diff --git a/docs/translations-needed.md b/docs/translations-needed.md index bd0c718bac..2f10fe9197 100644 --- a/docs/translations-needed.md +++ b/docs/translations-needed.md @@ -13,6 +13,7 @@ This default value is hardcoded as a default to the localize method in the SeekB ## Status of translations + | Language file | Missing translations | | ----------------------- | ----------------------------------------------------------------------------------- | | ar.json (missing 53) | Audio Player | @@ -1052,7 +1053,6 @@ This default value is hardcoded as a default to the localize method in the SeekB | | Seek to live, currently playing live | | | {1} is loading. | | zh-CN.json (Complete) | | -| zh-Hans.json (Complete) | | -| zh-Hant.json (Complete) | | | zh-TW.json (Complete) | | + diff --git a/package-lock.json b/package-lock.json index 2008a03fe6..14745ffff1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,24 +4,6 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@babel/cli": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.5.5.tgz", - "integrity": "sha512-UHI+7pHv/tk9g6WXQKYz+kmXTI77YtuY3vqC59KIqcoWEjsJJSG6rAxKaLsgj3LDyadsPrCB929gVOKM6Hui0w==", - "dev": true, - "requires": { - "chokidar": "^2.0.4", - "commander": "^2.8.1", - "convert-source-map": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.0.0", - "lodash": "^4.17.13", - "mkdirp": "^0.5.1", - "output-file-sync": "^2.0.0", - "slash": "^2.0.0", - "source-map": "^0.5.0" - } - }, "@babel/code-frame": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", @@ -51,23 +33,6 @@ "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "@babel/generator": { @@ -297,20 +262,6 @@ "js-tokens": "^4.0.0" } }, - "@babel/node": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.5.5.tgz", - "integrity": "sha512-xsW6il+yY+lzXMsQuvIJNA7tU8ix/f4G6bDt4DrnCkVpsR6clk9XgEbp7QF+xGNDdoD7M7QYokCH83pm+UjD0w==", - "dev": true, - "requires": { - "@babel/polyfill": "^7.0.0", - "@babel/register": "^7.5.5", - "commander": "^2.8.1", - "lodash": "^4.17.13", - "node-environment-flags": "^1.0.5", - "v8flags": "^3.1.1" - } - }, "@babel/parser": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.5.5.tgz", @@ -753,16 +704,6 @@ "regexpu-core": "^4.5.4" } }, - "@babel/polyfill": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.4.4.tgz", - "integrity": "sha512-WlthFLfhQQhh+A2Gn5NSFl0Huxz36x86Jn+E9OW7ibK8edKPq+KLy4apM1yDpQ8kJOVi1OVjpP4vSDLdrI04dg==", - "dev": true, - "requires": { - "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.2" - } - }, "@babel/preset-env": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.5.5.tgz", @@ -821,28 +762,6 @@ "semver": "^5.5.0" } }, - "@babel/register": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.5.5.tgz", - "integrity": "sha512-pdd5nNR+g2qDkXZlW1yRCWFlNrAn2PPdnZUB72zjX4l1Vv4fMRRLwyf+n/idFCLI1UgVGboUU8oVziwTBiyNKQ==", - "dev": true, - "requires": { - "core-js": "^3.0.0", - "find-cache-dir": "^2.0.0", - "lodash": "^4.17.13", - "mkdirp": "^0.5.1", - "pirates": "^4.0.0", - "source-map-support": "^0.5.9" - }, - "dependencies": { - "core-js": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz", - "integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw==", - "dev": true - } - } - }, "@babel/runtime": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.5.5.tgz", @@ -877,23 +796,6 @@ "debug": "^4.1.0", "globals": "^11.1.0", "lodash": "^4.17.13" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "@babel/types": { @@ -998,9 +900,9 @@ "dev": true }, "@types/node": { - "version": "12.7.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.2.tgz", - "integrity": "sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg==", + "version": "12.7.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.3.tgz", + "integrity": "sha512-3SiLAIBkDWDg6vFo0+5YJyHPWU9uwu40Qe+v+0MH8wRKYBimHvvAOyk3EzMrD/TrIlLYfXrqDqrg913PynrMJQ==", "dev": true }, "@types/resolve": { @@ -1253,6 +1155,12 @@ "repeat-string": "^1.5.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -1341,17 +1249,6 @@ "requires": { "micromatch": "^3.1.4", "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } } }, "application-config": { @@ -1420,6 +1317,14 @@ "lodash.union": "^4.6.0", "normalize-path": "^3.0.0", "readable-stream": "^2.0.0" + }, + "dependencies": { + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + } } }, "argparse": { @@ -1639,14 +1544,6 @@ "requires": { "follow-redirects": "1.5.10", "is-buffer": "^2.0.2" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", - "dev": true - } } }, "babel-code-frame": { @@ -1798,11 +1695,26 @@ "lodash": "^4.17.4" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "globals": { "version": "9.18.0", "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -2045,6 +1957,21 @@ "type-is": "~1.6.17" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "qs": { "version": "6.7.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", @@ -2664,9 +2591,9 @@ } }, "chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz", + "integrity": "sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A==", "dev": true, "requires": { "anymatch": "^2.0.0", @@ -2681,6 +2608,14 @@ "path-is-absolute": "^1.0.0", "readdirp": "^2.2.1", "upath": "^1.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + } } }, "chokidar-cli": { @@ -2693,28 +2628,6 @@ "chokidar": "2.1.5", "lodash": "4.17.15", "yargs": "13.3.0" - }, - "dependencies": { - "chokidar": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz", - "integrity": "sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A==", - "dev": true, - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - } - } } }, "ci-info": { @@ -2971,12 +2884,6 @@ "integrity": "sha512-oB3TinFT+PV3p8UwDQt71+HkG03+zwPwikDlKU6ZDmql6QX2zFlQ+G0GGSDqyJhdZi4PSlzFBm+YJ+ebOX3Vgw==", "dev": true }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, "compare-func": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz", @@ -3015,6 +2922,14 @@ "crc32-stream": "^3.0.1", "normalize-path": "^3.0.0", "readable-stream": "^2.3.6" + }, + "dependencies": { + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + } } }, "concat-map": { @@ -3057,21 +2972,6 @@ "requires": { "is-obj": "^1.0.0" } - }, - "make-dir": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", - "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true } } }, @@ -3085,6 +2985,23 @@ "finalhandler": "1.1.2", "parseurl": "~1.3.3", "utils-merge": "1.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "console-browserify": { @@ -3660,12 +3577,12 @@ "dev": true }, "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { - "ms": "2.0.0" + "ms": "^2.1.1" } }, "decamelize": { @@ -3783,14 +3700,6 @@ "p-map": "^1.1.1", "pify": "^3.0.0", "rimraf": "^2.2.8" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } } }, "delayed-stream": { @@ -4014,9 +3923,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.244", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.244.tgz", - "integrity": "sha512-nEfPd2EKnFeLuZ/+JsRG3KixRQwWf2SPpp09ftNt5ouGhg408N759+oXvdXy57+TcM34ykfJYj2JMkc1O3R0lQ==", + "version": "1.3.246", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.246.tgz", + "integrity": "sha512-CzR7VM16UmZQVgd5I5qu/rx0e67l6FF17rpJD2kRFX9n1ygHFIS+TV9DO55MSZKBGVuQ0Ph1JLLTFEReCKU6nQ==", "dev": true }, "elegant-spinner": { @@ -4090,6 +3999,12 @@ "ms": "2.0.0" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "ws": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", @@ -4137,6 +4052,12 @@ "ms": "2.0.0" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, "ws": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", @@ -4352,15 +4273,6 @@ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, "import-fresh": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", @@ -4371,12 +4283,6 @@ "resolve-from": "^4.0.0" } }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -4437,6 +4343,12 @@ "unified": "^6.1.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "remark-parse": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-5.0.0.tgz", @@ -4651,6 +4563,15 @@ "to-regex": "^3.0.1" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "define-property": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", @@ -4668,6 +4589,12 @@ "requires": { "is-extendable": "^0.1.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -4693,6 +4620,12 @@ "repeat-string": "^1.5.2" } }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "is-number": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", @@ -4835,6 +4768,23 @@ "debug": "2.6.9", "mkdirp": "0.5.1", "yauzl": "2.4.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "extsprintf": { @@ -4969,17 +4919,23 @@ "parseurl": "~1.3.3", "statuses": "~1.5.0", "unpipe": "~1.0.0" - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } } }, "find-root": { @@ -5054,6 +5010,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -5144,12 +5106,6 @@ "klaw": "^1.0.0" } }, - "fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -6532,6 +6488,12 @@ "kind-of": "^4.0.0" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", @@ -6590,15 +6552,6 @@ "minimalistic-crypto-utils": "^1.0.1" } }, - "homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "requires": { - "parse-passwd": "^1.0.0" - } - }, "hosted-git-info": { "version": "2.8.4", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.4.tgz", @@ -6720,12 +6673,6 @@ "requires": { "ms": "^2.1.1" } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true } } }, @@ -6798,12 +6745,6 @@ "ci-info": "^2.0.0" } }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, "read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -7069,6 +7010,12 @@ "xtend": "^4.0.0" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -7107,6 +7054,12 @@ "kind-of": "^3.0.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -7156,9 +7109,9 @@ } }, "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", + "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", "dev": true }, "is-callable": { @@ -7184,6 +7137,12 @@ "kind-of": "^3.0.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -7336,6 +7295,12 @@ "kind-of": "^3.0.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -7950,9 +7915,9 @@ }, "dependencies": { "anymatch": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.0.3.tgz", - "integrity": "sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.0.tgz", + "integrity": "sha512-Ozz7l4ixzI7Oxj2+cw+p0tVUt27BpaJ+1+q1TCeANWxHpvyn2+Un+YamBdfKu0uh8xLodGhoa1v7595NhKDAuA==", "dev": true, "requires": { "normalize-path": "^3.0.0", @@ -8048,6 +8013,12 @@ "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==", "dev": true }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, "readdirp": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.1.2.tgz", @@ -8379,15 +8350,6 @@ "graceful-fs": "^4.1.9" } }, - "klaw-sync": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", - "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.11" - } - }, "labeled-stream-splicer": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", @@ -8532,18 +8494,6 @@ "requires": { "pump": "^3.0.0" } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true } } }, @@ -8683,14 +8633,6 @@ "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } } }, "load-plugin": { @@ -8948,23 +8890,6 @@ "flatted": "^2.0.0", "rfdc": "^1.1.4", "streamroller": "^1.0.6" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "lolex": { @@ -9038,13 +8963,12 @@ } }, "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "dev": true, "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "pify": "^3.0.0" } }, "map-age-cleaner": { @@ -9522,9 +9446,9 @@ } }, "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, "mute-stream": { @@ -9601,16 +9525,6 @@ "path-to-regexp": "^1.7.0" } }, - "node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - } - }, "node-libs-browser": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-0.7.0.tgz", @@ -9782,16 +9696,10 @@ } } }, - "node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true - }, "node-releases": { - "version": "1.1.28", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.28.tgz", - "integrity": "sha512-AQw4emh6iSXnCpDiFe0phYcThiccmkNWMZnFZ+lDJjAP8J0m2fVd59duvUUyuTirQOhIAajTFkzG6FHCLBO59g==", + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.29.tgz", + "integrity": "sha512-R5bDhzh6I+tpi/9i2hrrvGJ3yKPYzlVOORDkXhnZuwi5D3q1I5w4vYy24PJXTcLk9Q0kws9TO77T75bcK8/ysQ==", "dev": true, "requires": { "semver": "^5.3.0" @@ -9866,10 +9774,13 @@ } }, "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } }, "normalize-range": { "version": "0.1.2", @@ -9877,6 +9788,15 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "not-prerelease": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/not-prerelease/-/not-prerelease-1.0.1.tgz", + "integrity": "sha512-Cyia7zecBYj219nIzJBc6TmzK3Z8MzFhShF365g3YrKngBmdmr4BRaKVVvVpHOxVlk/5iqn5Dmxz4K9M3orApA==", + "dev": true, + "requires": { + "semver": "^5.5.0" + } + }, "npm-merge-driver": { "version": "2.3.5", "resolved": "https://registry.npmjs.org/npm-merge-driver/-/npm-merge-driver-2.3.5.tgz", @@ -10391,6 +10311,12 @@ "is-descriptor": "^0.1.0" } }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -10428,16 +10354,6 @@ "object-keys": "^1.0.11" } }, - "object.getownpropertydescriptors": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz", - "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", - "dev": true, - "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.5.1" - } - }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", @@ -10592,17 +10508,6 @@ "shell-quote": "^1.4.2" } }, - "output-file-sync": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-2.0.1.tgz", - "integrity": "sha512-mDho4qm7WgIXIGf4eYU1RHN2UU5tPfVYVSRwDJw0uTmj35DQUt/eNp19N7v6T3SrR0ESTEf2up2CGO73qI35zQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.11", - "is-plain-obj": "^1.1.0", - "mkdirp": "^0.5.1" - } - }, "p-defer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", @@ -10777,12 +10682,6 @@ "json-parse-better-errors": "^1.0.1" } }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true - }, "parse5": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", @@ -10891,14 +10790,6 @@ "dev": true, "requires": { "pify": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } } }, "pbkdf2": { @@ -10968,9 +10859,9 @@ "dev": true }, "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true }, "pinkie": { @@ -10988,15 +10879,6 @@ "pinkie": "^2.0.0" } }, - "pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "requires": { - "node-modules-regexp": "^1.0.0" - } - }, "pkcs7": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pkcs7/-/pkcs7-1.0.3.tgz", @@ -11148,6 +11030,12 @@ "graceful-fs": "^4.1.6" } }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, "require-main-filename": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", @@ -12588,6 +12476,23 @@ "statuses": "~1.5.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, "ms": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", @@ -12737,23 +12642,6 @@ "dev": true, "requires": { "debug": "^4.0.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } } }, "sinon": { @@ -12799,6 +12687,15 @@ "use": "^3.1.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "define-property": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", @@ -12816,6 +12713,12 @@ "requires": { "is-extendable": "^0.1.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -12879,6 +12782,12 @@ "kind-of": "^3.2.0" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -12912,6 +12821,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -12957,6 +12872,12 @@ "requires": { "ms": "2.0.0" } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -12991,6 +12912,12 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -13019,24 +12946,6 @@ "urix": "^0.1.0" } }, - "source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", @@ -13278,12 +13187,6 @@ "requires": { "graceful-fs": "^4.1.6" } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true } } }, @@ -13618,6 +13521,12 @@ "kind-of": "^3.0.2" }, "dependencies": { + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -13659,14 +13568,6 @@ "requires": { "is-buffer": "^2.0.0", "vfile": "^3.0.0" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", - "dev": true - } } }, "toidentifier": { @@ -13998,12 +13899,6 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true } } }, @@ -14100,17 +13995,6 @@ "dev": true, "requires": { "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } } }, "unpipe": { @@ -14344,15 +14228,6 @@ "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==", "dev": true }, - "v8flags": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz", - "integrity": "sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==", - "dev": true, - "requires": { - "homedir-polyfill": "^1.0.1" - } - }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -14390,14 +14265,6 @@ "replace-ext": "1.0.0", "unist-util-stringify-position": "^1.0.0", "vfile-message": "^1.0.0" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", - "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==", - "dev": true - } } }, "vfile-location": { @@ -14570,12 +14437,6 @@ "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", "dev": true }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, "slash": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", @@ -14747,6 +14608,12 @@ "is-glob": "^2.0.0" } }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, "is-extglob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", @@ -14791,15 +14658,6 @@ "parse-glob": "^3.0.4", "regex-cache": "^0.4.2" } - }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } } } }, diff --git a/package.json b/package.json index 47c6984eb5..4b386ed33f 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "build:lang": "vjslang --dir dist/lang", "postbuild:lang": "shx cp -R lang/* dist/lang/", "minify": "npm-run-all minify:*", - "minify:js": "babel-node build/minify.js", + "minify:js": "node build/minify.js", "minify:css": "npm-run-all minify:css:*", "minify:css:cdn": "cleancss dist/alt/video-js-cdn.css -o dist/alt/video-js-cdn.min.css", "minify:css:default": "cleancss dist/video-js.css -o dist/video-js.min.css", @@ -69,10 +69,10 @@ "docs:lint": "remark -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'", "docs:fix": "remark --output -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'", "docs:lang": "node build/translations.js", - "netlify": "babel-node ./build/netlify-docs.js", + "netlify": "node ./build/netlify-docs.js", "prepublishOnly": "run-p build", "publish": "node build/gh-release.js", - "version": "node build/version.js && git add CHANGELOG.md", + "version": "is-prerelease || npm run changelog && git add CHANGELOG.md", "zip": "cd dist && cross-env bestzip \"./video-js-${npm_package_version}.zip\" * && cd .." }, "repository": { @@ -90,18 +90,14 @@ "@videojs/xhr": "2.5.1" }, "devDependencies": { - "@babel/cli": "^7.4.4", "@babel/core": "^7.4.5", - "@babel/node": "^7.4.5", "@babel/plugin-transform-object-assign": "^7.2.0", "@babel/plugin-transform-runtime": "^7.5.5", "@babel/preset-env": "^7.4.5", - "@babel/register": "^7.4.4", "access-sniff": "^3.2.0", "autoprefixer": "^9.6.0", "babelify": "^10.0.0", "bestzip": "^2.1.4", - "bluebird": "^3.5.5", "browserify": "^16.2.3", "browserify-istanbul": "^3.0.1", "chokidar-cli": "^1.2.2", @@ -119,11 +115,10 @@ "jsdoc": "^3.6.2", "karma": "^4.1.0", "karma-browserify": "^5.3.0", - "klaw-sync": "^6.0.0", "lint-staged": "^8.2.0", "markdown-table": "^1.1.3", "maxmin": "^2.1.0", - "minimist": "^1.2.0", + "not-prerelease": "^1.0.1", "npm-merge-driver-install": "^1.1.1", "npm-run-all": "^4.1.5", "postcss-cli": "^6.1.2", @@ -156,22 +151,16 @@ "videojs-generate-karma-config": "~5.2.1", "videojs-languages": "^2.0.0", "videojs-standard": "^8.0.3", - "watchify": "^3.11.1", + "watchify": "^3.11.0", "webpack": "^1.15.0" }, "vjsstandard": { "ignore": [ - "**/es5/**", - "**/build/**", - "!build/rollup.js", - "core.js", - "**/dist/**", - "**/docs/**", - "**/lang/**", - "**/sandbox/**", - "**/test/api/**", - "**/test/dist/coverage/**", - "**/test/karma.conf.js" + "dist", + "docs", + "test/dist", + "test/api", + "core.js" ] }, "greenkeeper": { @@ -188,6 +177,14 @@ "*.js": [ "vjsstandard --fix", "git add" + ], + "!(CHANGELOG)*.md": [ + "remark --output --", + "git add" + ], + "lang/**/!(zh-Hans|zh-Hant)*.json": [ + "node build/translations.js", + "git add docs/translations-needed.md" ] } } diff --git a/rollup.config.js b/rollup.config.js index 32820f1650..6215c53583 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -78,8 +78,7 @@ const globals = { const moduleExternals = [ 'global', - 'xhr', - 'tsml', + '@videojs/xhr', 'safe-json-parse', 'videojs-vtt.js', 'url-toolkit', diff --git a/test/karma.conf.js b/test/karma.conf.js index c890dfac01..6a186e8596 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -1,8 +1,9 @@ const generate = require('videojs-generate-karma-config'); module.exports = function(config) { - const coverageFlag = process.env.npm_config_coverage; - const reportCoverage = false; // process.env.TRAVIS || coverageFlag || false; + // const coverageFlag = process.env.npm_config_coverage; + // process.env.TRAVIS || coverageFlag || false; + const reportCoverage = false; // see https://github.com/videojs/videojs-generate-karma-config // for options @@ -14,7 +15,7 @@ module.exports = function(config) { serverBrowsers(defaults) { return []; }, - coverage: reportCoverage, + coverage: reportCoverage }; config = generate(config, options); @@ -44,7 +45,7 @@ module.exports = function(config) { debug: true, plugin: ['proxyquireify/plugin'], transform: [ - ['babelify', {"presets": [["@babel/preset-env", {"loose": true}]]}], + ['babelify', {presets: [['@babel/preset-env', {loose: true}]]}] ] }; @@ -52,14 +53,15 @@ module.exports = function(config) { config.browserify.transform.push('browserify-istanbul'); } - config.preprocessors = { 'test/globals-shim.js': ['browserify'], - 'test/unit/**/*.js': ['browserify'], + 'test/unit/**/*.js': ['browserify'] }; // pin Browserstack Firefox version to 64 + /* eslint-disable camelcase */ config.customLaunchers.bsFirefox.browser_version = '64.0'; + /* eslint-enable camelcase */ // uncomment the section below to re-enable all browserstack video recording // it is off by default because it slows the build @@ -70,4 +72,9 @@ module.exports = function(config) { } }); */ + + /* eslint-disable no-console */ + console.log(JSON.stringify(config, null, 2)); + /* eslint-enable no-console */ + };