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

@salesforce/acorn-visualforce

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/acorn-visualforce - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

9

dist/inject.js

@@ -100,3 +100,3 @@ module.exports =

tc.vfel_expr = new TokContext('{!...}', true, true);
tc.vfel_expr = new TokContext('{!...}', true, false); // isExpr = true, preserveSpace = false
tt.vfelExpressionStart = new TokenType('vfelExpressionStart', {

@@ -293,2 +293,5 @@ beforeExpr: true,

},
// There is only a minor difference between original skipSpace and vfel_skipSpace — there are no line comments in VFEL
vfel_skipSpace: function vfel_skipSpace() {

@@ -336,3 +339,3 @@ var isWhitespace = true;

var startLoc = this.startLoc;
this.next(); // consuming '{!'
this.expect(tt.vfelExpressionStart); // consuming '{!'
this.inMergeField = true;

@@ -344,3 +347,3 @@ return this.vfel_parseMergeFieldAt(startPos, startLoc);

node.value = this.parseMaybeAssign();
this.next(); // consuming vfelExpressionEnd '}'
this.expect(tt.vfelExpressionEnd); // consuming vfelExpressionEnd '}'
this.inMergeField = false;

@@ -347,0 +350,0 @@ return this.finishNode(node, 'VFELExpression');

{
"name": "@salesforce/acorn-visualforce",
"version": "1.1.0",
"version": "1.2.0",
"description": "acorn extension for Salesforce js dialect with merge fields",

@@ -27,5 +27,4 @@ "main": "dist/index.js",

},
"dependencies": {
"acorn": "^4.0.4",
"acorn-jsx": "^3.0.1"
"peerDependencies": {
"acorn": "^5.0.3"
},

@@ -58,3 +57,5 @@ "devDependencies": {

},
"plugins": [ "import" ],
"plugins": [
"import"
],
"parserOptions": {

@@ -61,0 +62,0 @@ "ecmaVersion": 6,

Sorry, the diff of this file is not supported yet

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