Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loop-detection

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loop-detection - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

lib/transformer.js

@@ -31,6 +31,6 @@ // Transformer adds in loop protection code to each loop.

Transformer.prototype.transform = function transform() {
var ast = recast.parse(this.code)
var ast = recast.parse(this.code, {sourceFileName: this.sourceMap && this.sourceMap.file})
types.visit(ast, this.visitor)
var result = recast.print(ast, {inputSourceMap: this.sourceMap})
var result = recast.print(ast, {inputSourceMap: this.sourceMap, sourceMapName: 'map.json'})
return {code: result.code, sourceMap: result.map}

@@ -37,0 +37,0 @@ }

{
"name": "loop-detection",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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