Skip to content

Commit 6ddb7db

Browse files
authored
Update netlify-cms to the latest version 🚀 (#62)
* chore(package): update netlify-cms to version 1.9.3 Closes #54 * chore(package): update lockfile https://npm.im/greenkeeper-lockfile * chore(package): update snapshot
1 parent 4f649b7 commit 6ddb7db

File tree

3 files changed

+87
-20
lines changed

3 files changed

+87
-20
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"koa": "^2.3.0",
5252
"koa-static": "^5.0.0",
5353
"lint-staged": "^7.0.1",
54-
"netlify-cms": "1.7.0",
54+
"netlify-cms": "1.9.3",
5555
"nuxt": "^1.4.0",
5656
"prettier": "^1.7.0",
5757
"request-promise-native": "^1.0.4",

‎test/__snapshots__/module.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports[`module admin 1`] = `
99
<title>Content Manager</title>
1010
</head>
1111
<body>
12-
<script type=\\"text/javascript\\" src=\\"/admin/bundle.a1fe59daeb5345806803.js\\"></script></body>
12+
<script type=\\"text/javascript\\" src=\\"/admin/bundle.1ae2be3d50182028bccf.js\\"></script></body>
1313
</html>
1414
"
1515
`;

‎yarn.lock

Lines changed: 85 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ ajv@^5.0.0, ajv@^5.1.0:
194194
json-stable-stringify "^1.0.1"
195195

196196
ajv@^6.0.1, ajv@^6.5.0:
197-
version "6.5.1"
198-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.1.tgz#88ebc1263c7133937d108b80c5572e64e1d9322d"
197+
version "6.5.2"
198+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.2.tgz#678495f9b82f7cca6be248dd92f59bff5e1f4360"
199199
dependencies:
200200
fast-deep-equal "^2.0.1"
201201
fast-json-stable-stringify "^2.0.0"
@@ -2749,6 +2749,10 @@ dom-serializer@0:
27492749
domelementtype "~1.1.1"
27502750
entities "~1.1.1"
27512751

2752+
dom-walk@^0.1.0:
2753+
version "0.1.1"
2754+
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
2755+
27522756
domain-browser@^1.1.1:
27532757
version "1.1.7"
27542758
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
@@ -3115,13 +3119,17 @@ eslint-scope@^4.0.0:
31153119
esrecurse "^4.1.0"
31163120
estraverse "^4.1.1"
31173121

3122+
eslint-utils@^1.3.1:
3123+
version "1.3.1"
3124+
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512"
3125+
31183126
eslint-visitor-keys@^1.0.0:
31193127
version "1.0.0"
31203128
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
31213129

31223130
eslint@^5.0.1:
3123-
version "5.0.1"
3124-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.0.1.tgz#109b90ab7f7a736f54e0f341c8bb9d09777494c3"
3131+
version "5.2.0"
3132+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.2.0.tgz#3901ae249195d473e633c4acbc370068b1c964dc"
31253133
dependencies:
31263134
ajv "^6.5.0"
31273135
babel-code-frame "^6.26.0"
@@ -3130,15 +3138,16 @@ eslint@^5.0.1:
31303138
debug "^3.1.0"
31313139
doctrine "^2.1.0"
31323140
eslint-scope "^4.0.0"
3141+
eslint-utils "^1.3.1"
31333142
eslint-visitor-keys "^1.0.0"
31343143
espree "^4.0.0"
31353144
esquery "^1.0.1"
31363145
esutils "^2.0.2"
31373146
file-entry-cache "^2.0.0"
31383147
functional-red-black-tree "^1.0.1"
31393148
glob "^7.1.2"
3140-
globals "^11.5.0"
3141-
ignore "^3.3.3"
3149+
globals "^11.7.0"
3150+
ignore "^4.0.2"
31423151
imurmurhash "^0.1.4"
31433152
inquirer "^5.2.0"
31443153
is-resolvable "^1.1.0"
@@ -3453,7 +3462,7 @@ fast-json-stable-stringify@^2.0.0:
34533462
version "2.0.0"
34543463
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
34553464

3456-
fast-levenshtein@~2.0.4:
3465+
fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4:
34573466
version "2.0.6"
34583467
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
34593468

@@ -3952,7 +3961,14 @@ glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@~7.1.1:
39523961
once "^1.3.0"
39533962
path-is-absolute "^1.0.0"
39543963

3955-
globals@^11.1.0, globals@^11.5.0:
3964+
global@^4.3.0:
3965+
version "4.3.2"
3966+
resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f"
3967+
dependencies:
3968+
min-document "^2.19.0"
3969+
process "~0.5.1"
3970+
3971+
globals@^11.1.0, globals@^11.7.0:
39563972
version "11.7.0"
39573973
resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673"
39583974

@@ -4298,6 +4314,10 @@ hoist-non-react-statics@^2.1.0, hoist-non-react-statics@^2.3.0:
42984314
version "2.3.1"
42994315
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz#343db84c6018c650778898240135a1420ee22ce0"
43004316

4317+
hoist-non-react-statics@^2.5.0:
4318+
version "2.5.5"
4319+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
4320+
43014321
home-or-tmp@^2.0.0:
43024322
version "2.0.0"
43034323
resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
@@ -4407,13 +4427,14 @@ http-errors@1.6.2, http-errors@^1.2.8, http-errors@~1.6.1, http-errors@~1.6.2:
44074427
statuses ">= 1.3.1 < 2"
44084428

44094429
http-errors@^1.6.3:
4410-
version "1.6.3"
4411-
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
4430+
version "1.7.0"
4431+
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.0.tgz#b6d36492a201c7888bdcb5dd0471140423c4ad2a"
44124432
dependencies:
44134433
depd "~1.1.2"
44144434
inherits "2.0.3"
44154435
setprototypeof "1.1.0"
4416-
statuses ">= 1.4.0 < 2"
4436+
statuses ">= 1.5.0 < 2"
4437+
toidentifier "1.0.0"
44174438

44184439
http-signature@~1.1.0:
44194440
version "1.1.1"
@@ -4485,9 +4506,9 @@ ignore-walk@^3.0.1:
44854506
dependencies:
44864507
minimatch "^3.0.4"
44874508

4488-
ignore@^3.3.3:
4489-
version "3.3.5"
4490-
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6"
4509+
ignore@^4.0.2:
4510+
version "4.0.3"
4511+
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.3.tgz#e2d58c9654d75b542529fa28d80ac95b29e4f467"
44914512

44924513
immediate@~3.0.5:
44934514
version "3.0.6"
@@ -6315,6 +6336,12 @@ mimic-fn@^1.0.0:
63156336
version "1.1.0"
63166337
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
63176338

6339+
min-document@^2.19.0:
6340+
version "2.19.0"
6341+
resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
6342+
dependencies:
6343+
dom-walk "^0.1.0"
6344+
63186345
minimalistic-assert@^1.0.0:
63196346
version "1.0.0"
63206347
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3"
@@ -6499,9 +6526,9 @@ negotiator@0.6.1:
64996526
version "0.6.1"
65006527
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
65016528

6502-
netlify-cms@1.7.0:
6503-
version "1.7.0"
6504-
resolved "https://registry.yarnpkg.com/netlify-cms/-/netlify-cms-1.7.0.tgz#7fdb2b50f14b9c08092f59e27a660aeb4aaabe11"
6529+
netlify-cms@1.9.3:
6530+
version "1.9.3"
6531+
resolved "https://registry.yarnpkg.com/netlify-cms/-/netlify-cms-1.9.3.tgz#f65d82b7779983e471fc40307c900ed809dc2819"
65056532
dependencies:
65066533
classnames "^2.2.5"
65076534
create-react-class "^15.6.0"
@@ -6529,7 +6556,9 @@ netlify-cms@1.7.0:
65296556
react-dnd-html5-backend "^2.5.4"
65306557
react-dom "^16.0.0"
65316558
react-frame-component "^2.0.0"
6559+
react-hot-loader "^4.0.0"
65326560
react-immutable-proptypes "^2.1.0"
6561+
react-is "16.3.1"
65336562
react-modal "^3.1.5"
65346563
react-redux "^4.4.0"
65356564
react-router-dom "^4.2.2"
@@ -8065,6 +8094,10 @@ process@^0.11.0:
80658094
version "0.11.10"
80668095
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
80678096

8097+
process@~0.5.1:
8098+
version "0.5.2"
8099+
resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf"
8100+
80688101
progress-bar-webpack-plugin@^1.10.0:
80698102
version "1.10.0"
80708103
resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.10.0.tgz#e0b1063aa03c79e298a9340598590bb61efef9a4"
@@ -8105,6 +8138,13 @@ prop-types@^15.0.0, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6,
81058138
loose-envify "^1.3.1"
81068139
object-assign "^4.1.1"
81078140

8141+
prop-types@^15.6.1:
8142+
version "15.6.2"
8143+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102"
8144+
dependencies:
8145+
loose-envify "^1.3.1"
8146+
object-assign "^4.1.1"
8147+
81088148
property-information@^3.0.0, property-information@^3.1.0:
81098149
version "3.2.0"
81108150
resolved "https://registry.yarnpkg.com/property-information/-/property-information-3.2.0.tgz#fd1483c8fbac61808f5fe359e7693a1f48a58331"
@@ -8305,10 +8345,29 @@ react-frame-component@^2.0.0:
83058345
version "2.0.0"
83068346
resolved "https://registry.yarnpkg.com/react-frame-component/-/react-frame-component-2.0.0.tgz#a39e1fec9b0da6e1295beccf1b659b0f15e6bb98"
83078347

8348+
react-hot-loader@^4.0.0:
8349+
version "4.3.3"
8350+
resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.3.3.tgz#37409a3341c7787563d0972007ba02521f82f5d5"
8351+
dependencies:
8352+
fast-levenshtein "^2.0.6"
8353+
global "^4.3.0"
8354+
hoist-non-react-statics "^2.5.0"
8355+
prop-types "^15.6.1"
8356+
react-lifecycles-compat "^3.0.4"
8357+
shallowequal "^1.0.2"
8358+
83088359
react-immutable-proptypes@^2.1.0:
83098360
version "2.1.0"
83108361
resolved "https://registry.yarnpkg.com/react-immutable-proptypes/-/react-immutable-proptypes-2.1.0.tgz#023d6f39bb15c97c071e9e60d00d136eac5fa0b4"
83118362

8363+
react-is@16.3.1:
8364+
version "16.3.1"
8365+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.3.1.tgz#ee66e6d8283224a83b3030e110056798488359ba"
8366+
8367+
react-lifecycles-compat@^3.0.4:
8368+
version "3.0.4"
8369+
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
8370+
83128371
react-modal@^3.1.5:
83138372
version "3.1.8"
83148373
resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.1.8.tgz#7d6b1958f44828babd2a1ce826c28fa40d026b0f"
@@ -9330,6 +9389,10 @@ shallow-equal@^1.0.0:
93309389
version "1.0.0"
93319390
resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.0.0.tgz#508d1838b3de590ab8757b011b25e430900945f7"
93329391

9392+
shallowequal@^1.0.2:
9393+
version "1.1.0"
9394+
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
9395+
93339396
shebang-command@^1.2.0:
93349397
version "1.2.0"
93359398
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@@ -9673,7 +9736,7 @@ static-extend@^0.1.1:
96739736
version "1.3.1"
96749737
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
96759738

9676-
"statuses@>= 1.4.0 < 2":
9739+
"statuses@>= 1.5.0 < 2":
96779740
version "1.5.0"
96789741
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
96799742

@@ -10085,6 +10148,10 @@ to-regex@^3.0.1, to-regex@^3.0.2:
1008510148
regex-not "^1.0.2"
1008610149
safe-regex "^1.1.0"
1008710150

10151+
toidentifier@1.0.0:
10152+
version "1.0.0"
10153+
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
10154+
1008810155
toml-j0.4@^1.1.1:
1008910156
version "1.1.1"
1009010157
resolved "https://registry.yarnpkg.com/toml-j0.4/-/toml-j0.4-1.1.1.tgz#eb0c70348609a0263bb1d6e4a3dd191dcca60866"

0 commit comments

Comments
 (0)