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

abstract-syntax-tree

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-syntax-tree - npm Package Compare versions

Comparing version 2.15.1 to 2.15.2

4

CHANGELOG.md
# abstract-syntax-tree changelog
## 2.15.2
* edit: update dependencies
## 2.15.1

@@ -4,0 +8,0 @@

10

package.json
{
"name": "abstract-syntax-tree",
"version": "2.15.1",
"version": "2.15.2",
"description": "abstract syntax tree",

@@ -40,7 +40,7 @@ "main": "index.js",

"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-virtual": "2.0.3",
"ava": "3.14.0",
"ava": "^3.15.0",
"nyc": "15.1.0",
"rollup": "2.34.2",
"rollup": "^2.36.0",
"rollup-plugin-node-polyfills": "0.2.1",

@@ -52,3 +52,3 @@ "rollup-plugin-terser": "7.0.2",

"ast-types": "0.14.2",
"astring": "1.4.3",
"astring": "^1.6.0",
"esquery": "1.3.1",

@@ -55,0 +55,0 @@ "estraverse": "5.2.0",

const astring = require('astring')
const generator = {
...astring.baseGenerator,
ImportExpression (node, state) {
state.write('import(')
this[node.source.type](node.source, state)
state.write(')')
}
}
module.exports = function generate (tree, options) {
return astring.generate(tree, { generator, ...options })
return astring.generate(tree, options)
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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