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

[COM-65] bump cross-fetch to fix CVE-2022-0235 #317

Merged
merged 2 commits into from Jan 24, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
120 changes: 98 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -23,12 +23,13 @@
},
"license": "MIT",
"dependencies": {
"@react-native-async-storage/async-storage": "^1.15.8",
"cross-fetch": "^3.1.4"
"@react-native-async-storage/async-storage": "^1.15.16",
"cross-fetch": "^3.1.5"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/fetch-mock": "^7.3.2",
"@types/jest": "^25.1.1",
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Expand Up @@ -4,6 +4,7 @@ import serve from 'rollup-plugin-serve';
import commonjs from '@rollup/plugin-commonjs';
import {nodeResolve} from '@rollup/plugin-node-resolve';
import alias from '@rollup/plugin-alias';
import json from '@rollup/plugin-json';
import {resolve} from 'path';

const browserFetch = () =>
Expand Down Expand Up @@ -60,7 +61,7 @@ const nodeCJS = {
file: './dist/library.js',
format: 'cjs',
},
plugins: [nodeResolve({mainFields: ['main']}), commonjs(), tsPlugin()],
plugins: [nodeResolve({mainFields: ['main']}), commonjs(), tsPlugin(), json()],
};

const browserESM = {
Expand Down