Socket
Socket
Sign inDemoInstall

acorn-es6

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

test/examples/template-literals.js

3

index.js

@@ -9,3 +9,4 @@ 'use strict';

require('./transforms/for-of.js'),
require('./transforms/property-methods.js')
require('./transforms/property-methods.js'),
require('./transforms/template-literal.js')
];

@@ -12,0 +13,0 @@

{
"name": "acorn-es6",
"version": "0.0.2",
"version": "0.0.3",
"description": "Support many ES6 features with no runtime requirements",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -60,2 +60,10 @@ # acorn-es6

### templateLiterals
```js
var x = 5, y = 10;
console.log(`${x} + ${y} = ${ x + y}`);
// 5 + 10 = 15
```
### restParameters

@@ -62,0 +70,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc