Skip to content

Commit 336aecb

Browse files
renovate[bot]Daniel Eriksson
authored andcommitted
fix(deps): update dependency flat to v5 (#1435)
* fix(deps): update dependency flat to v5 * test: update snapshots
1 parent 3ce0b2c commit 336aecb

File tree

9 files changed

+22
-49
lines changed

9 files changed

+22
-49
lines changed

integration-tests/cli/__snapshots__/csv-parser-state.it.js.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,20 @@ Array [
8787

8888
exports[`CSV and CLI Tests Parse with transitions without \`projectkey\` with \`continueOnProblems\` should skip rows having transition 1`] = `
8989
"[
90-
{\\"key\\":\\"state-key-1\\",\\"type\\":\\"OrderState\\",\\"name\\":{\\"en\\":\\"Will's state\\"},\\"initial\\":true,\\"description\\":{\\"en\\":\\"beschreibung\\"}}
90+
{\\"name\\":{\\"en\\":\\"Will's state\\"},\\"key\\":\\"state-key-1\\",\\"description\\":{\\"en\\":\\"beschreibung\\"},\\"type\\":\\"OrderState\\",\\"initial\\":true}
9191
,
92-
{\\"key\\":\\"state-key-3\\",\\"type\\":\\"LineItemState\\",\\"name\\":{\\"en\\":\\"completion\\"},\\"initial\\":false,\\"description\\":{\\"en\\":\\"only used when some state is complete\\"}}
92+
{\\"name\\":{\\"en\\":\\"completion\\"},\\"key\\":\\"state-key-3\\",\\"description\\":{\\"en\\":\\"only used when some state is complete\\"},\\"type\\":\\"LineItemState\\",\\"initial\\":false}
9393
,
94-
{\\"key\\":\\"state-key-4\\",\\"type\\":\\"PaymentState\\",\\"name\\":{\\"en\\":\\"auto gen\\"},\\"initial\\":true,\\"description\\":{\\"en\\":\\"this state should be auto generated\\"}}
94+
{\\"name\\":{\\"en\\":\\"auto gen\\"},\\"key\\":\\"state-key-4\\",\\"description\\":{\\"en\\":\\"this state should be auto generated\\"},\\"type\\":\\"PaymentState\\",\\"initial\\":true}
9595
]
9696
"
9797
`;
9898

9999
exports[`CSV and CLI Tests Parse without transitions should parse states without projectKey 1`] = `
100100
"[
101-
{\\"key\\":\\"state-key-1\\",\\"type\\":\\"OrderState\\",\\"name\\":{\\"en\\":\\"Will's state\\"},\\"initial\\":true,\\"description\\":{\\"en\\":\\"beschreibung\\"}}
101+
{\\"name\\":{\\"en\\":\\"Will's state\\"},\\"key\\":\\"state-key-1\\",\\"description\\":{\\"en\\":\\"beschreibung\\"},\\"type\\":\\"OrderState\\",\\"initial\\":true}
102102
,
103-
{\\"key\\":\\"state-key-2\\",\\"type\\":\\"ProductState\\",\\"name\\":{\\"en\\":\\"tester\\"},\\"initial\\":false,\\"description\\":{\\"en\\":\\"uniqueness of states\\"}}
103+
{\\"name\\":{\\"en\\":\\"tester\\"},\\"key\\":\\"state-key-2\\",\\"description\\":{\\"en\\":\\"uniqueness of states\\"},\\"type\\":\\"ProductState\\",\\"initial\\":false}
104104
]
105105
"
106106
`;

packages/csv-parser-discount-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"dependencies": {
4040
"JSONStream": "^1.3.5",
4141
"csv-parser": "^2.1.0",
42-
"flat": "^4.1.0",
42+
"flat": "^5.0.0",
4343
"highland": "^2.13.0",
4444
"npmlog": "^4.1.2",
4545
"pretty-error": "^2.1.1",

packages/csv-parser-price/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@commercetools/sdk-middleware-user-agent": "^2.1.2",
4747
"JSONStream": "^1.3.5",
4848
"csv-parser": "^2.1.0",
49-
"flat": "^4.1.0",
49+
"flat": "^5.0.0",
5050
"highland": "^2.13.0",
5151
"lodash.isnil": "^4.0.0",
5252
"lodash.mapvalues": "^4.6.0",

packages/csv-parser-state/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@commercetools/sdk-middleware-user-agent": "^2.1.2",
5050
"JSONStream": "^1.3.5",
5151
"csv-parser": "^2.1.0",
52-
"flat": "^4.1.0",
52+
"flat": "^5.0.0",
5353
"highland": "^2.13.0",
5454
"lodash.memoize": "^4.1.2",
5555
"node-fetch": "^2.3.0",

packages/discount-code-exporter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@commercetools/sdk-middleware-user-agent": "^2.1.2",
4646
"JSONStream": "^1.3.5",
4747
"fast-csv": "^3.0.0",
48-
"flat": "^4.1.0",
48+
"flat": "^5.0.0",
4949
"node-fetch": "^2.3.0",
5050
"npmlog": "^4.1.2",
5151
"pretty-error": "^2.1.1",

packages/discount-code-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"dependencies": {
3939
"csv-parser": "^2.1.0",
40-
"flat": "^4.1.0",
40+
"flat": "^5.0.0",
4141
"json2csv": "^4.3.3",
4242
"npmlog": "^4.1.2",
4343
"pretty-error": "^2.1.1",

packages/price-exporter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@commercetools/sdk-middleware-user-agent": "^2.1.2",
4747
"JSONStream": "^1.3.5",
4848
"fast-csv": "^3.0.0",
49-
"flat": "^4.1.0",
49+
"flat": "^5.0.0",
5050
"lodash": "^4.17.11",
5151
"node-fetch": "^2.3.0",
5252
"npmlog": "^4.1.2",

packages/product-json-to-csv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"babel-runtime": "^6.26.0",
5252
"bluebird": "^3.5.3",
5353
"common-tags": "^1.8.0",
54-
"flat": "^4.1.0",
54+
"flat": "^5.0.0",
5555
"highland": "^2.13.0",
5656
"iconv-lite": "^0.5.0",
5757
"json2csv": "^4.3.3",

yarn.lock

Lines changed: 10 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4642,7 +4642,7 @@ debug@^3.0.1, debug@^3.1.0, debug@^3.2.6:
46424642
dependencies:
46434643
ms "^2.1.1"
46444644

4645-
debuglog@*, debuglog@^1.0.1:
4645+
debuglog@^1.0.1:
46464646
version "1.0.1"
46474647
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
46484648
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -5803,12 +5803,12 @@ flat-cache@^2.0.1:
58035803
rimraf "2.6.3"
58045804
write "1.0.3"
58055805

5806-
flat@^4.1.0:
5807-
version "4.1.0"
5808-
resolved "https://registry.yarnpkg.com/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2"
5809-
integrity sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==
5806+
flat@^5.0.0:
5807+
version "5.0.0"
5808+
resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.0.tgz#dab7d71d60413becb0ac2de9bf4304495e3af6af"
5809+
integrity sha512-6KSMM+cHHzXC/hpldXApL2S8Uz+QZv+tq5o/L0KQYleoG+GcwrnIJhTWC7tCOiKQp8D/fIvryINU1OZCCwevjA==
58105810
dependencies:
5811-
is-buffer "~2.0.3"
5811+
is-buffer "~2.0.4"
58125812

58135813
flatstr@^1.0.12:
58145814
version "1.0.12"
@@ -6725,7 +6725,7 @@ import-local@^2.0.0:
67256725
pkg-dir "^3.0.0"
67266726
resolve-cwd "^2.0.0"
67276727

6728-
imurmurhash@*, imurmurhash@^0.1.4:
6728+
imurmurhash@^0.1.4:
67296729
version "0.1.4"
67306730
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
67316731
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -6945,7 +6945,7 @@ is-buffer@^1.1.5:
69456945
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
69466946
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
69476947

6948-
is-buffer@~2.0.3:
6948+
is-buffer@~2.0.4:
69496949
version "2.0.4"
69506950
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.4.tgz#3e572f23c8411a5cfd9557c849e3665e0b290623"
69516951
integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==
@@ -8389,11 +8389,6 @@ lodash._basecreate@^3.0.0:
83898389
resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821"
83908390
integrity sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE=
83918391

8392-
lodash._baseindexof@*:
8393-
version "3.1.0"
8394-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
8395-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
8396-
83978392
lodash._baseuniq@~4.6.0:
83988393
version "4.6.0"
83998394
resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8"
@@ -8402,29 +8397,12 @@ lodash._baseuniq@~4.6.0:
84028397
lodash._createset "~4.0.0"
84038398
lodash._root "~3.0.0"
84048399

8405-
lodash._bindcallback@*:
8406-
version "3.0.1"
8407-
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
8408-
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
8409-
8410-
lodash._cacheindexof@*:
8411-
version "3.0.2"
8412-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
8413-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
8414-
8415-
lodash._createcache@*:
8416-
version "3.1.2"
8417-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
8418-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
8419-
dependencies:
8420-
lodash._getnative "^3.0.0"
8421-
84228400
lodash._createset@~4.0.0:
84238401
version "4.0.3"
84248402
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
84258403
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
84268404

8427-
lodash._getnative@*, lodash._getnative@^3.0.0:
8405+
lodash._getnative@^3.0.0:
84288406
version "3.9.1"
84298407
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
84308408
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
@@ -8587,11 +8565,6 @@ lodash.reject@^4.4.0:
85878565
resolved "https://registry.yarnpkg.com/lodash.reject/-/lodash.reject-4.6.0.tgz#80d6492dc1470864bbf583533b651f42a9f52415"
85888566
integrity sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=
85898567

8590-
lodash.restparam@*:
8591-
version "3.6.1"
8592-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
8593-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
8594-
85958568
lodash.set@^4.3.2:
85968569
version "4.3.2"
85978570
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
@@ -11183,7 +11156,7 @@ readable-stream@~1.1.10:
1118311156
isarray "0.0.1"
1118411157
string_decoder "~0.10.x"
1118511158

11186-
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0:
11159+
readdir-scoped-modules@^1.0.0:
1118711160
version "1.1.0"
1118811161
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
1118911162
integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==

0 commit comments

Comments
 (0)