Socket
Socket
Sign inDemoInstall

@locker/babel-plugin-transform-unforgeables

Package Overview
Dependencies
12
Maintainers
8
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.19.5 to 0.19.6

12

dist/index.cjs.js

@@ -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"
}
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