New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@locker/aura-disabled

Package Overview
Dependencies
Maintainers
8
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/aura-disabled - npm Package Compare versions

Comparing version 0.18.12 to 0.18.13

39

dist/iife/aura-locker-disabled.js

@@ -17,4 +17,4 @@ /*!

* Bundle from @locker/aura-disabled
* Generated: 2023-02-23
* Version: 0.18.12
* Generated: 2023-03-07
* Version: 0.18.13
*/

@@ -24,26 +24,2 @@

'use strict';
/*!
* Copyright (C) 2023 salesforce.com, inc.
*/
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/trusted-types
const createPolicy = (name, options) => // @ts-ignore: Prevent cannot find name 'trustedTypes' error.
typeof trustedTypes === 'undefined' ? // istanbul ignore next: currently unreachable via tests (trustedTypes never undefined)
options : // @ts-ignore: Prevent cannot find name 'trustedTypes' error.
trustedTypes.createPolicy(name, options);
const defaults = {
createHTML: function (value) {
return value;
},
createScript: function (value) {
return value;
},
createScriptURL: function (value) {
return value;
}
};
const trusted = createPolicy('trusted', defaults);
/*! version: 0.18.12 */
/* eslint-disable no-unused-vars, prefer-template */

@@ -152,2 +128,13 @@ // This is a mock for non-compliant browsers, in particular for IE11.

const trusted = {
createHTML: function (value) {
return value;
},
createScript: function (value) {
return value;
},
createScriptURL: function (value) {
return value;
}
};
exports.create = create;

@@ -154,0 +141,0 @@ exports.createForClass = createForClass;

@@ -17,11 +17,6 @@ /*!

* Bundle from @locker/aura-disabled
* Generated: 2023-02-23
* Version: 0.18.12
* Generated: 2023-03-07
* Version: 0.18.13
*/
var AuraLockerDisabled=function(n){"use strict";
/*!
* Copyright (C) 2023 salesforce.com, inc.
*/const t=(e="trusted",r={createHTML:function(n){return n},createScript:function(n){return n},createScriptURL:function(n){return n}},"undefined"==typeof trustedTypes?r:trustedTypes.createPolicy(e,r));var e,r;
/*! version: 0.18.12 */
function u(n){return(0,eval)("(function(){\n"+n+"\n})()")}return n.create=function(n,t,e){return{globals:window,returnValue:u(n)}},n.createForClass=function(n,t){return u("return (\n"+n+"\n)")},n.createForDef=function(n,t){return u(n)},n.createForDefNext=function(n,t,e){return u(n)},n.createForModule=function(n,t){return u("return (\n"+n+"\n)")},n.getEnv=function(n){return window},n.getEnvForSecureObject=function(n){return window},n.getKeyForNamespace=function(n){},n.getMethodUsageMetrics=function(){},n.getRaw=function(n){return n},n.initialize=function(n){},n.instanceOf=function(n,t){return n instanceof t},n.isEnabled=function(){return!1},n.isSecureLightningElement=function(){},n.markLiveObject=function(){},n.runScript=function(n,t){return u(n)},n.trackAsLiveTarget=function(){},n.trust=function(n,t){},n.trusted=t,n.unwrap=function(n,t){return t},n.wrap=function(n,t,e){return n},n.wrapComponent=function(n){return n},n.wrapComponentEvent=function(n,t){return t},n}({});
var AuraLockerDisabled=function(n){"use strict";function t(n){return(0,eval)("(function(){\n"+n+"\n})()")}return n.create=function(n,r,e){return{globals:window,returnValue:t(n)}},n.createForClass=function(n,r){return t("return (\n"+n+"\n)")},n.createForDef=function(n,r){return t(n)},n.createForDefNext=function(n,r,e){return t(n)},n.createForModule=function(n,r){return t("return (\n"+n+"\n)")},n.getEnv=function(n){return window},n.getEnvForSecureObject=function(n){return window},n.getKeyForNamespace=function(n){},n.getMethodUsageMetrics=function(){},n.getRaw=function(n){return n},n.initialize=function(n){},n.instanceOf=function(n,t){return n instanceof t},n.isEnabled=function(){return!1},n.isSecureLightningElement=function(){},n.markLiveObject=function(){},n.runScript=function(n,r){return t(n)},n.trackAsLiveTarget=function(){},n.trust=function(n,t){},n.trusted={createHTML:function(n){return n},createScript:function(n){return n},createScriptURL:function(n){return n}},n.unwrap=function(n,t){return t},n.wrap=function(n,t,r){return n},n.wrapComponent=function(n){return n},n.wrapComponentEvent=function(n,t){return t},n}({});
{
"name": "@locker/aura-disabled",
"version": "0.18.12",
"version": "0.18.13",
"description": "Aura Locker Disabled",

@@ -17,7 +17,3 @@ "author": "Salesforce UI Security Team",

"build:dev": "cross-env NODE_ENV=development yarn build"
},
"dependencies": {
"@locker/trusted-types": "0.18.12"
},
"gitHead": "c77e7a4fd162647dd8828972c09cee4e9c7096d5"
}
}
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