updated deps & updated node for circleci and docker to 10.x. (8.x should technically still work)

This commit is contained in:
Danny Coates 2018-08-02 12:24:36 -07:00
parent a0edff1ead
commit e97b8ff42d
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
5 changed files with 3724 additions and 4817 deletions

View File

@ -14,6 +14,8 @@ plugins:
root: true root: true
rules: rules:
node/no-deprecated-api: off
node/no-unsupported-features/es-syntax: off
node/no-unpublished-require: off node/no-unpublished-require: off
security/detect-non-literal-fs-filename: off security/detect-non-literal-fs-filename: off

View File

@ -1,4 +1,4 @@
FROM node:8-alpine FROM node:10-alpine
RUN apk add --no-cache git RUN apk add --no-cache git
RUN addgroup -S -g 10001 app && adduser -S -D -G app -u 10001 app RUN addgroup -S -g 10001 app && adduser -S -D -G app -u 10001 app

View File

@ -2,7 +2,7 @@ version: 2.0
jobs: jobs:
build: build:
docker: docker:
- image: circleci/node:8 - image: circleci/node:10
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -19,7 +19,7 @@ jobs:
- ./dist - ./dist
test: test:
docker: docker:
- image: circleci/node:8-browsers - image: circleci/node:10-browsers
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -29,7 +29,6 @@ jobs:
key: send-{{ checksum "package-lock.json" }} key: send-{{ checksum "package-lock.json" }}
paths: paths:
- node_modules - node_modules
- run: npm run check
- run: npm run lint - run: npm run lint
- run: npm run test - run: npm run test
- store_artifacts: - store_artifacts:

8492
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,6 @@
"scripts": { "scripts": {
"precommit": "lint-staged", "precommit": "lint-staged",
"prepush": "npm test", "prepush": "npm test",
"check": "nsp check",
"clean": "rimraf dist", "clean": "rimraf dist",
"build": "npm run clean && webpack", "build": "npm run clean && webpack",
"lint": "npm-run-all lint:*", "lint": "npm-run-all lint:*",
@ -22,7 +21,6 @@
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write", "format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
"get-prod-locales": "node scripts/get-prod-locales", "get-prod-locales": "node scripts/get-prod-locales",
"get-prod-locales:write": "npm run get-prod-locales -- --write", "get-prod-locales:write": "npm run get-prod-locales -- --write",
"changelog": "github-changes -o mozilla -r send --only-pulls --use-commit-body --no-merges",
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS", "contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
"release": "npm-run-all contributors changelog", "release": "npm-run-all contributors changelog",
"test": "npm-run-all test:*", "test": "npm-run-all test:*",
@ -52,12 +50,12 @@
"cache": true "cache": true
}, },
"engines": { "engines": {
"node": ">=8.2.0" "node": ">=10.0.0"
}, },
"devDependencies": { "devDependencies": {
"@dannycoates/webpack-dev-server": "^3.1.4", "@dannycoates/webpack-dev-server": "^3.1.4",
"@mattiasbuelens/web-streams-polyfill": "0.1.0-alpha.5", "@mattiasbuelens/web-streams-polyfill": "0.1.0-alpha.5",
"asmcrypto.js": "^0.22.0", "asmcrypto.js": "^2.3.2",
"babel-core": "^6.26.3", "babel-core": "^6.26.3",
"babel-loader": "^7.1.4", "babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.6", "babel-plugin-istanbul": "^4.1.6",
@ -69,13 +67,13 @@
"base64-js": "^1.3.0", "base64-js": "^1.3.0",
"content-disposition": "^0.5.2", "content-disposition": "^0.5.2",
"copy-webpack-plugin": "^4.5.2", "copy-webpack-plugin": "^4.5.2",
"crc": "^3.7.0", "crc": "^3.8.0",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"css-loader": "^1.0.0", "css-loader": "^1.0.0",
"css-mqpacker": "^6.0.2", "css-mqpacker": "^7.0.0",
"eslint": "^4.19.1", "eslint": "^5.2.0",
"eslint-plugin-mocha": "^4.12.1", "eslint-plugin-mocha": "^5.1.0",
"eslint-plugin-node": "^6.0.1", "eslint-plugin-node": "^7.0.1",
"eslint-plugin-security": "^1.4.0", "eslint-plugin-security": "^1.4.0",
"expose-loader": "^0.7.5", "expose-loader": "^0.7.5",
"extract-loader": "^2.0.1", "extract-loader": "^2.0.1",
@ -84,7 +82,6 @@
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"fluent-intl-polyfill": "^0.1.0", "fluent-intl-polyfill": "^0.1.0",
"git-rev-sync": "^1.12.0", "git-rev-sync": "^1.12.0",
"github-changes": "^1.1.2",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"http_ece": "^1.0.5", "http_ece": "^1.0.5",
"husky": "^0.14.3", "husky": "^0.14.3",
@ -93,38 +90,37 @@
"nanobus": "^4.3.2", "nanobus": "^4.3.2",
"nanotiming": "^7.3.1", "nanotiming": "^7.3.1",
"npm-run-all": "^4.1.3", "npm-run-all": "^4.1.3",
"nsp": "^3.2.1", "nyc": "^12.0.2",
"nyc": "^11.9.0",
"postcss-cssnext": "^3.1.0", "postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0", "postcss-import": "^11.1.0",
"postcss-loader": "^2.1.5", "postcss-loader": "^2.1.5",
"prettier": "^1.13.7", "prettier": "^1.14.0",
"proxyquire": "^1.8.0", "proxyquire": "^2.0.1",
"puppeteer": "^1.6.1", "puppeteer": "^1.6.2",
"raven-js": "^3.26.4", "raven-js": "^3.26.4",
"redis-mock": "^0.21.0", "redis-mock": "^0.29.0",
"require-from-string": "^2.0.2", "require-from-string": "^2.0.2",
"rimraf": "^2.6.2", "rimraf": "^2.6.2",
"sinon": "^4.5.0", "sinon": "^6.1.4",
"string-hash": "^1.1.3", "string-hash": "^1.1.3",
"stylelint": "^9.3.0", "stylelint": "^9.4.0",
"stylelint-config-standard": "^18.2.0", "stylelint-config-standard": "^18.2.0",
"stylelint-no-unsupported-browser-features": "^3.0.1", "stylelint-no-unsupported-browser-features": "^3.0.1",
"svgo": "^1.0.5", "svgo": "^1.0.5",
"svgo-loader": "^2.1.0", "svgo-loader": "^2.1.0",
"testpilot-ga": "^0.3.0", "testpilot-ga": "^0.3.0",
"val-loader": "^1.1.1", "val-loader": "^1.1.1",
"webpack": "^4.16.2", "webpack": "^4.16.4",
"webpack-cli": "^3.1.0", "webpack-cli": "^3.1.0",
"webpack-dev-middleware": "^3.1.3", "webpack-dev-middleware": "^3.1.3",
"webpack-manifest-plugin": "^2.0.3", "webpack-manifest-plugin": "^2.0.3",
"webpack-unassert-loader": "^1.2.0" "webpack-unassert-loader": "^1.2.0"
}, },
"dependencies": { "dependencies": {
"aws-sdk": "^2.280.1", "aws-sdk": "^2.285.1",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"choo": "^6.12.1", "choo": "^6.12.1",
"cldr-core": "^32.0.0", "cldr-core": "^33.0.0",
"convict": "^4.3.2", "convict": "^4.3.2",
"express": "^4.16.3", "express": "^4.16.3",
"express-ws": "^4.0.0", "express-ws": "^4.0.0",