Socket
Socket
Sign inDemoInstall

@mongosh/async-rewriter2

Package Overview
Dependencies
Maintainers
13
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongosh/async-rewriter2 - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

lib/stages/wrap-as-iife.js

@@ -52,3 +52,5 @@ "use strict";

}
else if (path.isClassDeclaration() && path.parentPath.isProgram()) {
else if (path.isClassDeclaration() &&
path.parentPath.isProgram() &&
path.node.id) {
this.variables.push(path.node.id.name);

@@ -55,0 +57,0 @@ this.movedStatements.push(t.expressionStatement(t.assignmentExpression('=', path.node.id, t.classExpression(path.node.id, path.node.superClass, path.node.body))));

{
"name": "@mongosh/async-rewriter2",
"version": "2.0.1",
"version": "2.0.2",
"description": "MongoDB Shell Async Rewriter Package",

@@ -58,3 +58,3 @@ "main": "./lib/index.js",

},
"gitHead": "225d4603f0d43d500a8847beaa980e906e9a35be"
"gitHead": "5737e60cdbcd551f6a355b38fc9b5b6cc19ac5a4"
}

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