Skip to content

Commit

Permalink
Update dependencies to resolve security issues (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin authored Dec 8, 2022
1 parent 1366907 commit 3e9d8a8
Show file tree
Hide file tree
Showing 6 changed files with 20,724 additions and 16,358 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
"es2015"
"@babel/preset-env"
],
"plugins": ["transform-inline-environment-variables"]
}
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2.1
orbs:
aws-cli: circleci/[email protected]
aws-cli: circleci/[email protected]
browser-tools: circleci/[email protected]
workflows:
version: 2
default:
Expand Down Expand Up @@ -45,7 +46,7 @@ workflows:
ignore: /.*/
defaults:
docker: &ref_0
- image: 'circleci/node:10.16-browsers'
- image: 'cimg/node:18.12-browsers'
working_directory: ~/mapbox-gl-directions
jobs:
prepare:
Expand All @@ -54,12 +55,11 @@ jobs:
steps:
- checkout
- restore_cache:
keys: 'v1-yarn-{{ checksum "yarn.lock" }}'
- run: yarn
keys: 'v1-npm-deps-{{ checksum "package-lock.json" }}'
- run: npm ci
- save_cache:
key: 'v1-yarn-{{ checksum "yarn.lock" }}'
key: 'v1-npm-deps-{{ checksum "package-lock.json" }}'
paths:
- ~/.yarn
- node_modules
- persist_to_workspace:
root: .
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
steps:
- attach_workspace:
at: .
- run: yarn run build
- run: npm run build
- store_artifacts:
path: dist
- persist_to_workspace:
Expand All @@ -108,7 +108,7 @@ jobs:
keys:
- 'v2-lint-{{ .Branch }}'
- v2-lint
- run: yarn run lint
- run: npm run lint
- save_cache:
key: 'v2-lint-{{ .Branch }}-{{ .Revision }}'
paths:
Expand All @@ -119,7 +119,8 @@ jobs:
steps:
- attach_workspace:
at: .
- run: yarn run test
- browser-tools/install-firefox
- run: npm run test
publish:
docker: *ref_0
working_directory: ~/mapbox-gl-directions
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"env": {
"node": true,
"browser": true
Expand Down
Loading

0 comments on commit 3e9d8a8

Please sign in to comment.