@medusajs/modules-sdk
Advanced tools
Comparing version 1.8.8-snapshot-20230614162431 to 1.8.8-snapshot-20230615085436
@@ -25,2 +25,3 @@ "use strict"; | ||
}; | ||
var _a, _b; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -42,3 +43,3 @@ exports.loadModuleMigrations = exports.loadInternalModule = void 0; | ||
resolution.moduleExports ?? | ||
(await Promise.resolve().then(() => __importStar(require(resolution.resolutionPath)))).default; | ||
(await (_a = resolution.resolutionPath, Promise.resolve().then(() => __importStar(require(_a))))).default; | ||
} | ||
@@ -113,3 +114,3 @@ catch (error) { | ||
try { | ||
loadedModule = (await Promise.resolve().then(() => __importStar(require(resolution.resolutionPath)))).default; | ||
loadedModule = (await (_b = resolution.resolutionPath, Promise.resolve().then(() => __importStar(require(_b))))).default; | ||
return [loadedModule.runMigrations, loadedModule.revertMigration]; | ||
@@ -116,0 +117,0 @@ } |
{ | ||
"name": "@medusajs/modules-sdk", | ||
"version": "1.8.8-snapshot-20230614162431", | ||
"version": "1.8.8-snapshot-20230615085436", | ||
"description": "SDK for medusa modules", | ||
@@ -26,4 +26,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@medusajs/types": "1.8.8-snapshot-20230614162431", | ||
"@medusajs/utils": "1.9.1-snapshot-20230614162431", | ||
"@medusajs/types": "1.8.8-snapshot-20230615085436", | ||
"@medusajs/utils": "1.9.1-snapshot-20230615085436", | ||
"awilix": "^8.0.0", | ||
@@ -30,0 +30,0 @@ "resolve-cwd": "^3.0.0" |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
38754
569
+ Added@medusajs/types@1.8.8-snapshot-20230615085436(transitive)
+ Added@medusajs/utils@1.9.1-snapshot-20230615085436(transitive)
- Removed@isaacs/cliui@8.0.2(transitive)
- Removed@medusajs/types@1.8.8-snapshot-20230614162431(transitive)
- Removed@medusajs/utils@1.9.1-snapshot-20230614162431(transitive)
- Removed@pkgjs/parseargs@0.11.0(transitive)
- Removedansi-regex@5.0.16.1.0(transitive)
- Removedansi-styles@4.3.06.2.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@8.0.09.2.2(transitive)
- Removedforeground-child@3.3.0(transitive)
- Removedglob@10.4.5(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjackspeak@3.4.3(transitive)
- Removedlru-cache@10.4.3(transitive)
- Removedminimatch@9.0.5(transitive)
- Removedminipass@7.1.2(transitive)
- Removedpackage-json-from-dist@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-scurry@1.11.1(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@4.1.0(transitive)
- Removedstring-width@4.2.35.1.2(transitive)
- Removedstrip-ansi@6.0.17.1.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrap-ansi@7.0.08.1.0(transitive)