@locker/babel-plugin-transform-unforgeables
Advanced tools
Comparing version 0.19.5 to 0.19.6
@@ -5,3 +5,3 @@ 'use strict'; | ||
var generator = require('@babel/generator'); | ||
var index_js = require('../../../node_modules/match-json/index.js'); | ||
var matchJson = require('match-json'); | ||
@@ -331,3 +331,3 @@ const BABEL_GENERATE_OPTIONS = { | ||
// First, a light schema check. | ||
index_js.partial(conditionalExpr, | ||
matchJson.partial(conditionalExpr, | ||
// JSON schema representing the expanded expression: | ||
@@ -392,3 +392,3 @@ // (NODE === GLOBAL_THIS || NODE === DOCUMENT) ? LOCATION : NODE.location | ||
// First, a light schema check. | ||
index_js.partial(conditionalExpr, | ||
matchJson.partial(conditionalExpr, | ||
// JSON schema representing the expanded expression: | ||
@@ -468,3 +468,3 @@ // (NODE === GLOBAL_THIS || NODE === DOCUMENT) ? LOCATION.assign(VALUE) : NODE.location = VALUE | ||
// First, a light schema check. | ||
index_js.partial(conditionalExpr, | ||
matchJson.partial(conditionalExpr, | ||
// JSON schema representing the expanded expression: | ||
@@ -478,3 +478,3 @@ // (NODE === GLOBAL_THIS || NODE === DOCUMENT) ? LOCATION.assign(LOCATION.href + VALUE) : NODE.location += VALUE | ||
arguments: (args) => args.length === 1 && | ||
index_js.partial(args, [ | ||
matchJson.partial(args, [ | ||
{ | ||
@@ -564,3 +564,3 @@ type: 'BinaryExpression', | ||
// First, a light schema check. | ||
index_js.partial(conditionalExpr, | ||
matchJson.partial(conditionalExpr, | ||
// JSON schema representing the expanded expression: | ||
@@ -567,0 +567,0 @@ // NODE === GLOBAL_THIS ? TOP : NODE.top |
import { types, template } from '@babel/core'; | ||
import { CodeGenerator } from '@babel/generator'; | ||
import { partial } from '../../../node_modules/match-json/index.js'; | ||
import { partial } from 'match-json'; | ||
@@ -5,0 +5,0 @@ const BABEL_GENERATE_OPTIONS = { |
{ | ||
"name": "@locker/babel-plugin-transform-unforgeables", | ||
"version": "0.19.5", | ||
"version": "0.19.6", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -31,3 +31,3 @@ "author": "Salesforce UI Security Team", | ||
], | ||
"gitHead": "36690770927fa731e2dccada6c43b12577b37b5d" | ||
"gitHead": "da97a585bba4c0e08250c9119c3cf30c129cb2f2" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
67246