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

@agoric/transform-bang

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/transform-bang - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

dist/transform-bang.cjs.js

@@ -234,11 +234,11 @@ 'use strict';

// Promise.resolve(...).get/put/post/delete
const babelAst = parse(rs.src, {
const ast = parse(rs.src, {
plugins: ['infixBang'],
});
// Create the source from the ast.
const output = generate(babelAst, {}, rs.src);
const output = generate(ast, {}, rs.src);
// console.log(`have src`, output.code);
return {
...rs,
babelAst,
ast,
src: output.code,

@@ -245,0 +245,0 @@ };

@@ -232,11 +232,11 @@ /**

// Promise.resolve(...).get/put/post/delete
const babelAst = parse(rs.src, {
const ast = parse(rs.src, {
plugins: ['infixBang'],
});
// Create the source from the ast.
const output = generate(babelAst, {}, rs.src);
const output = generate(ast, {}, rs.src);
// console.log(`have src`, output.code);
return {
...rs,
babelAst,
ast,
src: output.code,

@@ -243,0 +243,0 @@ };

@@ -238,11 +238,11 @@ (function (global, factory) {

// Promise.resolve(...).get/put/post/delete
const babelAst = parse(rs.src, {
const ast = parse(rs.src, {
plugins: ['infixBang'],
});
// Create the source from the ast.
const output = generate(babelAst, {}, rs.src);
const output = generate(ast, {}, rs.src);
// console.log(`have src`, output.code);
return {
...rs,
babelAst,
ast,
src: output.code,

@@ -249,0 +249,0 @@ };

{
"name": "@agoric/transform-bang",
"version": "0.2.1",
"version": "0.2.2",
"description": "transform-bang",

@@ -15,2 +15,7 @@ "main": "dist/transform-bang.cjs.js",

"devDependencies": {
"@agoric/acorn-infix-bang": "0.0.3",
"@agoric/babel-parser": "^7.5.0-infixBang.1",
"@babel/generator": "^7.5.0",
"acorn": "^6.2.0",
"astring": "^1.4.0",
"eslint": "^5.11.1",

@@ -25,8 +30,6 @@ "eslint-config-airbnb": "^17.1.0",

"rollup": "^1.16.6",
"rollup-plugin-node-resolve": "^5.2.0",
"tap-spec": "^5.0.0",
"tape": "^4.9.2",
"tape-promise": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"@agoric/babel-parser": "^7.5.0-infixBang.1",
"@babel/generator": "^7.5.0"
"tape-promise": "^4.0.0"
},

@@ -33,0 +36,0 @@ "dependencies": {

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