New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

inline-loops.macro

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-loops.macro - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md
## CHANGELOG
# 2.0.1
- [#32](https://github.com/planttheidea/inline-loops.macro/pull/32) - Fix `forEach*` methods not including the hoisted function call
# 2.0.0

@@ -4,0 +8,0 @@

5

dist/handlers.js

@@ -89,3 +89,6 @@ "use strict";

var _returned = t.callExpression(localFnName, (0, _utils.getCachedFnArgs)(local, isReduce));
return {
return isForEach ? {
injectedBody: [t.expressionStatement(_returned)],
returned: undefined
} : {
injectedBody: [],

@@ -92,0 +95,0 @@ returned: _returned

@@ -61,3 +61,3 @@ {

"typings": "./index.d.ts",
"version": "2.0.0"
"version": "2.0.1"
}
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