@medusajs/modules-sdk
Advanced tools
Comparing version 1.8.8-snapshot-20230614153216 to 1.8.8-snapshot-20230614154906
@@ -25,3 +25,2 @@ "use strict"; | ||
}; | ||
var _a, _b; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -43,3 +42,3 @@ exports.loadModuleMigrations = exports.loadInternalModule = void 0; | ||
resolution.moduleExports ?? | ||
(await (_a = resolution.resolutionPath, Promise.resolve().then(() => __importStar(require(_a))))).default; | ||
(await Promise.resolve().then(() => __importStar(require(resolution.resolutionPath)))).default; | ||
} | ||
@@ -114,3 +113,3 @@ catch (error) { | ||
try { | ||
loadedModule = (await (_b = resolution.resolutionPath, Promise.resolve().then(() => __importStar(require(_b))))).default; | ||
loadedModule = (await Promise.resolve().then(() => __importStar(require(resolution.resolutionPath)))).default; | ||
return [loadedModule.runMigrations, loadedModule.revertMigration]; | ||
@@ -117,0 +116,0 @@ } |
{ | ||
"name": "@medusajs/modules-sdk", | ||
"version": "1.8.8-snapshot-20230614153216", | ||
"version": "1.8.8-snapshot-20230614154906", | ||
"description": "SDK for medusa modules", | ||
@@ -26,4 +26,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@medusajs/types": "1.8.8-snapshot-20230614153216", | ||
"@medusajs/utils": "1.9.1-snapshot-20230614153216", | ||
"@medusajs/types": "1.8.8-snapshot-20230614154906", | ||
"@medusajs/utils": "1.9.1-snapshot-20230614154906", | ||
"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
38719
568
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@medusajs/types@1.8.8-snapshot-20230614154906(transitive)
+ Added@medusajs/utils@1.9.1-snapshot-20230614154906(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removed@medusajs/types@1.8.8-snapshot-20230614153216(transitive)
- Removed@medusajs/utils@1.9.1-snapshot-20230614153216(transitive)