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

mkast

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkast - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

12

lib/parser.js

@@ -1,3 +0,2 @@

var through = require('through3')
, Node = require('./node');
var through = require('through3');

@@ -8,8 +7,5 @@ /**

* @module {constructor} AstParser
*
* @option {Boolean} [wrap] wrap deserialized objects in shallow nodes.
*/
function AstParser(opts) {
opts = opts || {};
this.wrap = opts.wrap;
}

@@ -40,7 +36,3 @@

if(this.wrap) {
this.push(Node.createNode(res._type, res));
}else{
this.push(res);
}
this.push(res);
cb();

@@ -47,0 +39,0 @@ }

2

package.json
{
"name": "mkast",
"version": "1.1.11",
"version": "1.1.12",
"description": "Abstract syntax tree transformer",

@@ -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