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.4.1 to 1.4.2

11

dist/inject.js

@@ -622,2 +622,10 @@ module.exports =

instance.extend('parsePropertyName', function (inner) {
return function vfelExtendedParsePropertyName(prop) {
if (this.type === tt.metastring) return prop.key = this.parseExprAtom();
return inner.call(this, prop);
};
});
instance.extend('finishNode', function (inner) {

@@ -650,4 +658,5 @@ return function vfelExtendedFinishNode(node, type) {

acorn.Parser.prototype.loadPlugins = function loadPlugins(pluginConfigs) {
if (pluginConfigs.vfel) // vfel is specified in plugin settings, respecting them
if (pluginConfigs.jsx && pluginConfigs.vfel) // jsx and vfel are specified in plugin settings, respecting them
originalLoadPlugins.call(this, pluginConfigs);else originalLoadPlugins.call(this, Object.assign({}, pluginConfigs, {
jsx: true,
vfel: true

@@ -654,0 +663,0 @@ }));

2

package.json
{
"name": "@salesforce/acorn-visualforce",
"version": "1.4.1",
"version": "1.4.2",
"description": "acorn extension for Salesforce js dialect with merge fields",

@@ -5,0 +5,0 @@ "main": "dist/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