{"_id":"array.prototype.flat","_rev":"3919070","name":"array.prototype.flat","description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","dist-tags":{"latest":"1.3.3"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-09-01T01:21:36.000Z","created":"2018-05-22T18:41:05.647Z","1.3.3":"2024-12-15T22:32:44.433Z","1.3.2":"2023-09-06T04:08:04.928Z","1.3.1":"2022-11-03T04:07:13.882Z","1.3.0":"2022-04-11T23:47:02.268Z","1.2.5":"2021-10-01T17:31:51.845Z","1.2.4":"2020-11-18T09:04:12.485Z","1.2.3":"2019-12-12T16:51:24.298Z","1.2.2":"2019-10-11T17:07:53.312Z","1.2.1":"2018-05-22T18:41:05.647Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"versions":{"1.3.3":{"name":"array.prototype.flat","version":"1.3.3","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.8","define-properties":"^1.2.1","es-abstract":"^1.23.5","es-shim-unscopables":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","covert":"^1.1.1","encoding":"^0.1.13","eslint":"=8.8.0","evalmd":"^0.0.19","function-bind":"^1.1.2","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.3.1"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.flat@1.3.3","gitHead":"a0fa5660c4b1cf49ca9833329ca98aa8e956ed50","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"534aaf9e6e8dd79fb6b9a9917f839ef1ec63afe5","size":7141,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.3.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/array.prototype.flat_1.3.3_1734301964255_0.8165639326731178"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-15T22:32:44.433Z","publish_time":1734301964433,"_source_registry_name":"default","_cnpm_publish_time":1734301964433},"1.3.2":{"name":"array.prototype.flat","version":"1.3.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","covert":"^1.1.1","eslint":"=8.8.0","evalmd":"^0.0.19","function-bind":"^1.1.1","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.3.1"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"array.prototype.flat@1.3.2","gitHead":"f2084abecf8e48b7ee375f37fc95a35859d3ce3b","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"1476217df8cff17d72ee8f3ba06738db5b387d18","size":6801,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.3.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.3.2_1693973284754_0.8195252193238036"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-06T04:08:04.928Z","publish_time":1693973284928,"_source_registry_name":"default","_cnpm_publish_time":1693973284928},"1.3.1":{"name":"array.prototype.flat","version":"1.3.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","covert":"^1.1.1","eslint":"=8.8.0","evalmd":"^0.0.19","function-bind":"^1.1.1","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"1.3.1"},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"bf9db3ed1c011dc501be343f7d4fd03c87945aee","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.3.1","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2","size":6680,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.3.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.3.1_1667448433729_0.38981213404124704"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T04:13:56.702Z","publish_time":1667448433882,"_cnpm_publish_time":1667448433882},"1.3.0":{"name":"array.prototype.flat","version":"1.3.0","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.2","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","covert":"^1.1.1","eslint":"=8.8.0","evalmd":"^0.0.19","function-bind":"^1.1.1","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.12.0","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"e1671511f12eac4eb0f17799906c13df5c9fc9b5","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.3.0","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b","size":6050,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.3.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.3.0_1649720822125_0.7287604054828167"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-12T00:59:21.356Z","publish_time":1649720822268,"_cnpm_publish_time":1649720822268},"1.2.5":{"name":"array.prototype.flat","version":"1.2.5","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint .","postlint":"es-shim-api --bound"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.0"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","covert":"^1.1.1","eslint":"^7.32.0","evalmd":"^0.0.19","function-bind":"^1.1.1","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"63176adf44c6c62e5bae4fc74ae527ea05aef2db","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.2.5","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"07e0975d84bbc7c48cd1879d609e682598d33e13","size":6007,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.2.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.2.5_1633109511680_0.7989645368864353"},"_hasShrinkwrap":false,"publish_time":1633109511845,"_cnpm_publish_time":1633109511845},"1.2.4":{"name":"array.prototype.flat","version":"1.2.4","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint .","postlint":"es-shim-api --bound"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"call-bind":"^1.0.0","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.2.0","aud":"^1.1.3","covert":"^1.1.1","eslint":"^7.13.0","evalmd":"^0.0.19","function-bind":"^1.1.1","has-strict-mode":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.8.0","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"ce29f8f3055e5a9d91e218474ffb85a3b7cb1b4b","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.2.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"6ef638b43312bd401b4c6199fdec7e2dc9e9a123","size":5666,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.2.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.2.4_1605690252377_0.22520124751562998"},"_hasShrinkwrap":false,"publish_time":1605690252485,"_cnpm_publish_time":1605690252485},"1.2.3":{"name":"array.prototype.flat","version":"1.2.3","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npx aud --production","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.17.0-next.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.2","covert":"^1.1.1","eslint":"^6.7.2","evalmd":"0.0.19","function-bind":"^1.1.1","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"33c7855d8eb6d63133bd6321b208cf691e6c0a2a","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.2.3","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"0de82b426b0318dbfdb940089e38b043d37f6c7b","size":5800,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.2.3.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.2.3_1576169484184_0.691379889815054"},"_hasShrinkwrap":false,"publish_time":1576169484298,"_cnpm_publish_time":1576169484298},"1.2.2":{"name":"array.prototype.flat","version":"1.2.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npx aud --production","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.15.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^14.1.0","covert":"^1.1.1","eslint":"^6.5.1","evalmd":"0.0.19","nyc":"^10.3.2","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.3","tape":"^4.11.0"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"11fc344ef40b4fcaba191a7dea7aa4c97166d8a3","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.2.2","_nodeVersion":"12.11.0","_npmVersion":"6.11.3","dist":{"shasum":"8f3c71d245ba349b6b64b4078f76f5576f1fd723","size":6273,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.2.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.2.2_1570813673136_0.24504277776859218"},"_hasShrinkwrap":false,"publish_time":1570813673312,"_cnpm_publish_time":1570813673312},"1.2.1":{"name":"array.prototype.flat","version":"1.2.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flat.git"},"keywords":["Array.prototype.flatten","Array.prototype.flat","flatten","flat","array","ESnext","shim","polyfill","flatMap","Array.prototype.flatMap","es-shim API"],"dependencies":{"define-properties":"^1.1.2","es-abstract":"^1.10.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.18.1","evalmd":"^0.0.17","nsp":"^3.2.1","nyc":"^10.3.2","safe-publish-latest":"^1.1.1","tape":"^4.9.0"},"testling":{"files":["test/index.js","test/shimmed.js"],"browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"0bb5b417283fa05d98ddab3748bee7807f19ed10","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","_id":"array.prototype.flat@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"812db8f02cad24d3fab65dd67eabe3b8903494a4","size":7357,"noattachment":false,"key":"/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flat/download/array.prototype.flat-1.2.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flat_1.2.1_1527014465533_0.17907849563577205"},"_hasShrinkwrap":false,"publish_time":1527014465647,"_cnpm_publish_time":1527014465647}},"readme":"# array.prototype.flat <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the proposed [spec](https://tc39.github.io/proposal-flatMap/).\n\nBecause `Array.prototype.flat` depends on a receiver (the `this` value), the main export takes the array to operate on as the first argument.\n\n## Getting started\n\n```sh\nnpm install --save array.prototype.flat\n```\n\n## Usage/Examples\n\n```js\nvar flat = require('array.prototype.flat');\nvar assert = require('assert');\n\nvar arr = [1, [2], [], 3, [[4]]];\n\nassert.deepEqual(flat(arr, 1), [1, 2, 3, [4]]);\n```\n\n```js\nvar flat = require('array.prototype.flat');\nvar assert = require('assert');\n/* when Array#flat is not present */\ndelete Array.prototype.flat;\nvar shimmedFlat = flat.shim();\n\nassert.equal(shimmedFlat, flat.getPolyfill());\nassert.deepEqual(arr.flat(), flat(arr));\n```\n\n```js\nvar flat = require('array.prototype.flat');\nvar assert = require('assert');\n/* when Array#flat is present */\nvar shimmedIncludes = flat.shim();\n\nvar mapper = function (x) { return [x, 1]; };\n\nassert.equal(shimmedIncludes, Array.prototype.flat);\nassert.deepEqual(arr.flat(mapper), flat(arr, mapper));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array.prototype.flat\n[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.flat.svg\n[deps-svg]: https://david-dm.org/es-shims/Array.prototype.flat.svg\n[deps-url]: https://david-dm.org/es-shims/Array.prototype.flat\n[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.flat/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.flat#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array.prototype.flat.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array.prototype.flat.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array.prototype.flat.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.flat\n[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.flat/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.flat/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.flat\n[actions-url]: https://github.com/es-shims/Array.prototype.flat/actions\n","_attachments":{},"homepage":"https://github.com/es-shims/Array.prototype.flat#readme","bugs":{"url":"https://github.com/es-shims/Array.prototype.flat/issues"},"license":"MIT"}