Skip to content

Commit dda9596

Browse files
committed
Array flat polyfill
Originally I was using node v11, which has that built in.
1 parent ee6ed8a commit dda9596

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"author": "",
1515
"license": "MIT",
1616
"dependencies": {
17+
"array.prototype.flat": "^1.2.1",
1718
"manhattan": "^1.0.0"
1819
}
1920
}

yarn.lock

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,89 @@
22
# yarn lockfile v1
33

44

5+
array.prototype.flat@^1.2.1:
6+
version "1.2.1"
7+
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
8+
integrity sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==
9+
dependencies:
10+
define-properties "^1.1.2"
11+
es-abstract "^1.10.0"
12+
function-bind "^1.1.1"
13+
14+
define-properties@^1.1.2:
15+
version "1.1.3"
16+
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
17+
integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==
18+
dependencies:
19+
object-keys "^1.0.12"
20+
21+
es-abstract@^1.10.0:
22+
version "1.12.0"
23+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"
24+
integrity sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==
25+
dependencies:
26+
es-to-primitive "^1.1.1"
27+
function-bind "^1.1.1"
28+
has "^1.0.1"
29+
is-callable "^1.1.3"
30+
is-regex "^1.0.4"
31+
32+
es-to-primitive@^1.1.1:
33+
version "1.2.0"
34+
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377"
35+
integrity sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==
36+
dependencies:
37+
is-callable "^1.1.4"
38+
is-date-object "^1.0.1"
39+
is-symbol "^1.0.2"
40+
41+
function-bind@^1.1.1:
42+
version "1.1.1"
43+
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
44+
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
45+
46+
has-symbols@^1.0.0:
47+
version "1.0.0"
48+
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
49+
integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=
50+
51+
has@^1.0.1:
52+
version "1.0.3"
53+
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
54+
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
55+
dependencies:
56+
function-bind "^1.1.1"
57+
58+
is-callable@^1.1.3, is-callable@^1.1.4:
59+
version "1.1.4"
60+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
61+
integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
62+
63+
is-date-object@^1.0.1:
64+
version "1.0.1"
65+
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
66+
integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=
67+
68+
is-regex@^1.0.4:
69+
version "1.0.4"
70+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
71+
integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=
72+
dependencies:
73+
has "^1.0.1"
74+
75+
is-symbol@^1.0.2:
76+
version "1.0.2"
77+
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
78+
integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==
79+
dependencies:
80+
has-symbols "^1.0.0"
81+
582
manhattan@^1.0.0:
683
version "1.0.0"
784
resolved "https://registry.yarnpkg.com/manhattan/-/manhattan-1.0.0.tgz#f1f2fd947231a195c6611409e6ef62930c809d68"
885
integrity sha512-PIHWL7/v3GAgNS+aBq3reCkBZZCC5btsyRjAUsbInkNjKpN5VRQAjTnU/+jr9AEeEi8dLy4e7Jrc3Z6iyVu3Sw==
86+
87+
object-keys@^1.0.12:
88+
version "1.0.12"
89+
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2"
90+
integrity sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==

0 commit comments

Comments
 (0)