Socket
Socket
Sign inDemoInstall

@architect/hydrate

Package Overview
Dependencies
Maintainers
6
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@architect/hydrate - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

3

changelog.md

@@ -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 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc