Skip to content

Commit 27ec931

Browse files
committed
fix: Webpack broken by AJV update
Lock the version of AJV for now, until issue is resolved webpack/webpack#8768 ajv-validator/ajv#941
1 parent b8465a2 commit 27ec931

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"*.snap",
3333
"dist/**",
3434
"lib/**",
35+
"example/**",
3536
"webpack.config.js"
3637
],
3738
"scripts": {
@@ -101,7 +102,6 @@
101102
"@babel/core": "^7.2.2",
102103
"@babel/plugin-proposal-class-properties": "^7.2.3",
103104
"@babel/plugin-transform-runtime": "^7.2.0",
104-
"@babel/polyfill": "^7.2.5",
105105
"@babel/preset-env": "^7.2.3",
106106
"@babel/preset-flow": "^7.0.0",
107107
"@babel/preset-react": "^7.0.0",
@@ -150,6 +150,7 @@
150150
"typescript-eslint-parser": "^22.0.0"
151151
},
152152
"resolutions": {
153+
"ajv": "6.6.1",
153154
"@types/react": "16.8.2"
154155
}
155-
}
156+
}

yarn.lock

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,6 @@
766766
"@babel/helper-regex" "^7.0.0"
767767
regexpu-core "^4.1.3"
768768

769-
"@babel/polyfill@^7.2.5":
770-
version "7.2.5"
771-
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.2.5.tgz#6c54b964f71ad27edddc567d065e57e87ed7fa7d"
772-
integrity sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==
773-
dependencies:
774-
core-js "^2.5.7"
775-
regenerator-runtime "^0.12.0"
776-
777769
778770
version "7.1.0"
779771
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.1.0.tgz#e67ea5b0441cfeab1d6f41e9b5c79798800e8d11"
@@ -1790,10 +1782,10 @@ ajv-keywords@^3.1.0:
17901782
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.3.0.tgz#cb6499da9b83177af8bc1732b2f0a1a1a3aacf8c"
17911783
integrity sha512-CMzN9S62ZOO4sA/mJZIO4S++ZM7KFWzH3PPWkveLhy4OZ9i1/VatgwWMD46w/XbGCBy7Ye0gCk+Za6mmyfKK7g==
17921784

1793-
ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1:
1794-
version "6.9.0"
1795-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.9.0.tgz#06458dbfb789366d703e308f180e0db195b7f2fa"
1796-
integrity sha512-VsK2jpqRno3Hn+at4NGtBRpR5q3OW7n5INrTKqENDNQJB99DXATQEVHlnoD1BA7Uo/qGO+ijGA/vgSAlxP9E4A==
1785+
ajv@6.6.1, ajv@^6.1.0, ajv@^6.5.3, ajv@^6.5.5, ajv@^6.6.1:
1786+
version "6.6.1"
1787+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.6.1.tgz#6360f5ed0d80f232cc2b294c362d5dc2e538dd61"
1788+
integrity sha512-ZoJjft5B+EJBjUyu9C9Hc0OZyPZSSlOF+plzouTrg6UlA8f+e/n8NIgBFG/9tppJtpPWfthHakK7juJdNDODww==
17971789
dependencies:
17981790
fast-deep-equal "^2.0.1"
17991791
fast-json-stable-stringify "^2.0.0"

0 commit comments

Comments
 (0)