@architect/hydrate
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -5,3 +5,3 @@ # Architect Hydrate changelog | ||
## [3.1.0 - 3.1.1] 2022-08-20 | ||
## [3.1.0 - 3.1.2] 2022-08-20 | ||
@@ -16,2 +16,3 @@ ### Added | ||
- Fixed issue where `hydrate.shared()` erroneously destroys the `@architect/functions` module; thanks @idy! | ||
- Fixed issue where autoinstall would fail to parse `require` or `import` within for/of statements; fixes #1370 | ||
@@ -18,0 +19,0 @@ --- |
{ | ||
"name": "@architect/hydrate", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Architect dependency hydrator and shared file manager", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -30,3 +30,4 @@ let { readFileSync } = require('fs') | ||
ids.forEach(r => { | ||
if (r.init.value) called.push(r.init.value) | ||
// Note: r.init may be null in certain cases (such as variable declarations in for/of statements) | ||
if (r.init?.value) called.push(r.init.value) | ||
else update.warn(`Dynamic ${isESM ? 'imports' : 'requires'} are not supported, dependency may not be installed: ${dir} imports '${id}'`) | ||
@@ -33,0 +34,0 @@ }) |
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
66232
1052