diff --git a/packages/data/single-file/src/array-flatten.ts b/packages/data/single-file/src/array-flatten.ts index a8aabfa..a9f23fb 100644 --- a/packages/data/single-file/src/array-flatten.ts +++ b/packages/data/single-file/src/array-flatten.ts @@ -1 +1,2 @@ export const flatten = (x: any[]) => x.flat(Infinity); +export default flatten; diff --git a/packages/generated/array-flatten/index.js b/packages/generated/array-flatten/index.js index bc974ff..2cf04d2 100644 --- a/packages/generated/array-flatten/index.js +++ b/packages/generated/array-flatten/index.js @@ -1,2 +1,2 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"flatten",{enumerable:!0,get:function(){return e}});const e=e=>e.flat(1/0); +"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(exports,{default:function(){return t},flatten:function(){return e}});const e=e=>e.flat(1/0),t=e; ((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && (Object.assign(exports.default,exports), module.exports = exports.default); diff --git a/packages/generated/array-flatten/package.json b/packages/generated/array-flatten/package.json index 3fbf0dd..a4f6da6 100644 --- a/packages/generated/array-flatten/package.json +++ b/packages/generated/array-flatten/package.json @@ -1,6 +1,6 @@ { "name": "@nolyfill/array-flatten", - "version": "1.0.40", + "version": "1.0.42", "repository": { "type": "git", "url": "https://github.com/SukkaW/nolyfill",