Skip to content

Commit

Permalink
Merge pull request #1279 from navikt/dev
Browse files Browse the repository at this point in the history
[KAIZEN-0] tvinger core-js til versjon 3.5.0
  • Loading branch information
nutgaard authored Jun 9, 2020
2 parents 778d639 + 8e0260b commit a75aee4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 80 deletions.
92 changes: 16 additions & 76 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"url": "git+https://github.com/navikt/modiapersonoversikt"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"start": "craco start",
"build": "craco build",
"test": "craco test",
Expand All @@ -39,12 +40,11 @@
"@nutgaard/use-fetch": "^2.3.1",
"@nutgaard/use-formstate": "^2.2.1",
"classnames": "^2.2.6",
"core-js": "^2.5.7",
"core-js": "3.5.0",
"craco-less": "^1.15.0",
"detect-browser": "^3.0.1",
"downshift": "^5.0.5",
"faker": "^4.1.0",
"fetch-mock": "^6.5.0",
"history": "^4.7.2",
"js-cookie": "^2.2.0",
"lodash.debounce": "^4.0.8",
Expand Down Expand Up @@ -137,13 +137,15 @@
"eslint-config-prettier": "^4.3.0",
"husky": "^2.2.0",
"jest-enzyme": "^7.0.2",
"jest-fetch-mock": "^2.1.2",
"jest-styled-components": "^7.0.2",
"lint-staged": "^8.1.5",
"prettier": "^1.19.1",
"react-test-renderer": "^16.8.6",
"typescript": "^3.8.0"
},
"resolutions": {
"core-js": "3.5.0"
},
"browserslist": {
"production": [
">0.2%",
Expand Down
2 changes: 1 addition & 1 deletion src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'core-js/stable';
import { configure } from 'enzyme';
import EnzymeReactAdapter from 'enzyme-adapter-react-16';
import 'jest-enzyme';
import 'babel-polyfill';
import 'jest-styled-components';

configure({ adapter: new EnzymeReactAdapter() });
Expand Down

0 comments on commit a75aee4

Please sign in to comment.