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

acorn-6to5

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-6to5 - npm Package Compare versions

Comparing version 0.9.1-8 to 0.9.1-9

2

package.json

@@ -5,3 +5,3 @@ {

"main": "acorn.js",
"version": "0.9.1-8",
"version": "0.9.1-9",
"maintainers": [

@@ -8,0 +8,0 @@ {

@@ -7,2 +7,106 @@ if (typeof exports != "undefined") {

// Pretzel map
test("arr.map(:toUpperCase)", {
type: "Program",
start: 0,
end: 21,
body: [{
type: "ExpressionStatement",
start: 0,
end: 21,
expression: {
type: "CallExpression",
start: 0,
end: 21,
callee: {
type: "MemberExpression",
start: 0,
end: 7,
object: {
type: "Identifier",
start: 0,
end: 3,
name: "arr"
},
property: {
type: "Identifier",
start: 4,
end: 7,
name: "map"
},
computed: false
},
arguments: [{
type: "PretzelMapExpression",
start: 8,
end: 20,
callee: {
type: "Identifier",
start: 9,
end: 20,
name: "toUpperCase"
},
arguments: []
}]
}
}]
}, {
playground: true
});
test("arr.map(:toFixed(2))", {
type: "Program",
start: 0,
end: 20,
body: [{
type: "ExpressionStatement",
start: 0,
end: 20,
expression: {
type: "CallExpression",
start: 0,
end: 20,
callee: {
type: "MemberExpression",
start: 0,
end: 7,
object: {
type: "Identifier",
start: 0,
end: 3,
name: "arr"
},
property: {
type: "Identifier",
start: 4,
end: 7,
name: "map"
},
computed: false
},
arguments: [{
type: "PretzelMapExpression",
start: 8,
end: 19,
callee: {
type: "Identifier",
start: 9,
end: 16,
name: "toFixed"
},
arguments: [{
type: "Literal",
start: 17,
end: 18,
value: 2,
raw: "2"
}]
}]
}
}]
}, {
playground: true
});
// Memoization assignment operator

@@ -9,0 +113,0 @@

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