@nejs/basic-extensions
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -126,5 +126,5 @@ "use strict"; | ||
InstancePatches.reduce(instancePatchReducer, dest.patches); | ||
(Object.entries(Extensions) | ||
.map(([k, v]) => [k, v, k]) | ||
.reduce(staticPatchReducer, dest.classes)); | ||
(Object.values(Extensions) | ||
.flatMap(extension => [...extension]) | ||
.reduce(entriesReducer, dest.classes)); | ||
for (const [key, entry] of globals_js_1.GlobalFunctionsAndProps) { | ||
@@ -131,0 +131,0 @@ const descriptor = new descriptor_js_1.Descriptor(entry.descriptor, entry.owner); |
@@ -117,5 +117,5 @@ import { FunctionExtensions, FunctionPrototypeExtensions } from './functionextensions.js'; | ||
InstancePatches.reduce(instancePatchReducer, dest.patches); | ||
(Object.entries(Extensions) | ||
.map(([k, v]) => [k, v, k]) | ||
.reduce(staticPatchReducer, dest.classes)); | ||
(Object.values(Extensions) | ||
.flatMap(extension => [...extension]) | ||
.reduce(entriesReducer, dest.classes)); | ||
for (const [key, entry] of GlobalFunctionsAndProps) { | ||
@@ -122,0 +122,0 @@ const descriptor = new Descriptor(entry.descriptor, entry.owner); |
@@ -61,7 +61,7 @@ { | ||
"type": "module", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"dependencies": { | ||
"@nejs/extension": "^2.5.0" | ||
}, | ||
"browser": "dist/@nejs/basic-extensions.bundle.1.10.0.js" | ||
"browser": "dist/@nejs/basic-extensions.bundle.2.0.0.js" | ||
} |
@@ -150,5 +150,5 @@ import { FunctionExtensions, FunctionPrototypeExtensions } from './functionextensions.js' | ||
InstancePatches.reduce(instancePatchReducer, dest.patches); | ||
(Object.entries(Extensions) | ||
.map(([k,v]) => [k, v, k]) | ||
.reduce(staticPatchReducer, dest.classes) | ||
(Object.values(Extensions) | ||
.flatMap(extension => [...extension]) | ||
.reduce(entriesReducer, dest.classes) | ||
) | ||
@@ -155,0 +155,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2921494