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

@qp-mongosh/async-rewriter2

Package Overview
Dependencies
Maintainers
6
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qp-mongosh/async-rewriter2 - npm Package Compare versions

Comparing version 0.0.0-dev.21 to 0.0.0-dev.22

21

lib/async-writer-babel.js

@@ -31,3 +31,2 @@ "use strict";

const runtime_support_nocov_1 = __importDefault(require("./runtime-support.nocov"));
const disable_async_function_1 = __importDefault(require("./stages/disable-async-function"));
const wrap_as_iife_1 = __importDefault(require("./stages/wrap-as-iife"));

@@ -56,3 +55,3 @@ const uncatchable_exceptions_1 = __importDefault(require("./stages/uncatchable-exceptions"));

process(code) {
var _a, _b, _c, _d, _e;
var _a, _b, _c, _d;
try {

@@ -62,16 +61,12 @@ let ast = (_a = this.step(undefined, code, [

require('@babel/plugin-transform-parameters').default,
require('@babel/plugin-transform-destructuring').default,
require('@babel/plugin-transform-destructuring').default
])) === null || _a === void 0 ? void 0 : _a.ast;
ast = (_b = this.step(ast, code, [disable_async_function_1.default])) === null || _b === void 0 ? void 0 : _b.ast;
ast = (_c = this.step(ast, code, [wrap_as_iife_1.default])) === null || _c === void 0 ? void 0 : _c.ast;
ast = (_d = this.step(ast, code, [uncatchable_exceptions_1.default])) === null || _d === void 0 ? void 0 : _d.ast;
code = (_e = this.step(ast, code, [
ast = (_b = this.step(ast, code, [wrap_as_iife_1.default])) === null || _b === void 0 ? void 0 : _b.ast;
ast = (_c = this.step(ast, code, [uncatchable_exceptions_1.default])) === null || _c === void 0 ? void 0 : _c.ast;
return (_d = this.step(ast, code, [
[
transform_maybe_await_1.default,
{
customErrorBuilder: babel.types.identifier('MongoshAsyncWriterError'),
},
],
], { code: true, ast: false })) === null || _e === void 0 ? void 0 : _e.code;
return code;
{ customErrorBuilder: babel.types.identifier('MongoshAsyncWriterError') }
]
], { code: true, ast: false })) === null || _d === void 0 ? void 0 : _d.code;
}

@@ -78,0 +73,0 @@ catch (e) {

{
"name": "@qp-mongosh/async-rewriter2",
"version": "0.0.0-dev.21",
"version": "0.0.0-dev.22",
"description": "MongoDB Shell Async Rewriter Package",

@@ -5,0 +5,0 @@ "main": "./lib/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