Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to resolve security issues #291

Merged
merged 4 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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