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

@agoric/acorn-eventual-send

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/acorn-eventual-send - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

13

index.js

@@ -13,2 +13,3 @@ const { tokTypes: tt, TokenType } = require('acorn');

return class extends Parser {
// eslint-disable-next-line camelcase
readToken_tilde() {

@@ -79,3 +80,3 @@ const next1 = this.input.charCodeAt(this.start + 1);

// x ~. [i] = foo := HandledPromise.set(base, i)
method = "set";
method = 'set';
args.push(this.parseMaybeAssign());

@@ -85,3 +86,3 @@ } else {

// Method may change to HandledPromise.delete(base, i)
method = "get";
method = 'get';
}

@@ -99,7 +100,7 @@

callee.computed = false;
callee = this.finishNode(callee, "MemberExpression");
callee = this.finishNode(callee, 'MemberExpression');
// Create a WavyDot CallExpression.
const wdot = this.startNodeAtNode(node);
if (method === "get") {
if (method === 'get') {
wdot.maybeDeleteWavyDot = true;

@@ -109,3 +110,3 @@ }

wdot.arguments = args;
return this.finishNode(wdot, "CallExpression");
return this.finishNode(wdot, 'CallExpression');
}

@@ -151,3 +152,3 @@

{
resolverObject: options.HandledPromise || 'HandledPromise',
HandledPromise: options.HandledPromise || 'HandledPromise',
},

@@ -154,0 +155,0 @@ Parser,

{
"name": "@agoric/acorn-eventual-send",
"version": "1.0.0",
"version": "1.0.1",
"description": "Eventual send (wavy dot) parser plugin for Acorn",

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

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