@boost/internal
Advanced tools
Comparing version 5.0.0-alpha.2 to 5.0.0
@@ -5,2 +5,3 @@ export * from './color'; | ||
export * from './env'; | ||
export * from './interopDefault'; | ||
//# sourceMappingURL=browser.d.ts.map |
@@ -7,3 +7,2 @@ /** | ||
export * from './importAbsoluteModule'; | ||
export * from './interopDefault'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -81,3 +81,14 @@ // Bundled with Packemon: https://packemon.dev | ||
} | ||
export { color, createInternalDebugger, createScopedError, env, sentenceCase }; | ||
/** | ||
* For compatibility with ES modules, this function is used to extract the | ||
* default export from an incompatible module. | ||
*/ | ||
function interopDefault(result) { | ||
if (result && typeof result === 'object' && 'default' in result) { | ||
return result.default; | ||
} | ||
return result; | ||
} | ||
export { color, createInternalDebugger, createScopedError, env, interopDefault, sentenceCase }; | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,3 @@ export * from './color'; | ||
export * from './env'; | ||
export * from './interopDefault'; | ||
//# sourceMappingURL=browser.d.ts.map |
@@ -7,3 +7,2 @@ /** | ||
export * from './importAbsoluteModule'; | ||
export * from './interopDefault'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@boost/internal", | ||
"version": "5.0.0-alpha.2", | ||
"version": "5.0.0", | ||
"type": "module", | ||
@@ -20,3 +20,3 @@ "release": "1651512176170", | ||
"engines": { | ||
"node": ">=16.12.0" | ||
"node": ">=18.12.0" | ||
}, | ||
@@ -58,14 +58,13 @@ "repository": { | ||
".": { | ||
"browser": { | ||
"types": "./esm/browser.d.ts", | ||
"module": "./esm/index.js", | ||
"import": "./esm/index.js" | ||
}, | ||
"node": { | ||
"types": "./mjs/index.d.ts", | ||
"import": "./mjs/index.mjs" | ||
}, | ||
"default": { | ||
"types": "./esm/browser.d.ts", | ||
"import": "./esm/index.js" | ||
} | ||
} | ||
}, | ||
"gitHead": "60175188388d1667eb57d53e03b7bfefc092b67c" | ||
"gitHead": "868b258fac254aa4c2673755a9fd5acf89091980" | ||
} |
@@ -5,1 +5,2 @@ export * from './color'; | ||
export * from './env'; | ||
export * from './interopDefault'; |
@@ -8,2 +8,1 @@ /** | ||
export * from './importAbsoluteModule'; | ||
export * from './interopDefault'; |
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
29738
419
1