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

berial

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

berial - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

4

dist/berial.d.ts

@@ -60,3 +60,3 @@ /*! *****************************************************************************

function runScript(code, allow = []) {
allow.reduce((obj, cur) => {
const allowObj = allow.reduce((obj, cur) => {
obj[cur] = window[cur];

@@ -137,3 +137,3 @@ return obj;

scrollX,
scrollY }, allow);
scrollY }, allowObj);
if (!Object.isFrozen(String.prototype)) {

@@ -140,0 +140,0 @@ for (const k in allowList) {

@@ -60,3 +60,3 @@ /*! *****************************************************************************

function runScript(code, allow = []) {
allow.reduce((obj, cur) => {
const allowObj = allow.reduce((obj, cur) => {
obj[cur] = window[cur];

@@ -137,3 +137,3 @@ return obj;

scrollX,
scrollY }, allow);
scrollY }, allowObj);
if (!Object.isFrozen(String.prototype)) {

@@ -140,0 +140,0 @@ for (const k in allowList) {

@@ -66,3 +66,3 @@ (function (global, factory) {

function runScript(code, allow = []) {
allow.reduce((obj, cur) => {
const allowObj = allow.reduce((obj, cur) => {
obj[cur] = window[cur];

@@ -143,3 +143,3 @@ return obj;

scrollX,
scrollY }, allow);
scrollY }, allowObj);
if (!Object.isFrozen(String.prototype)) {

@@ -146,0 +146,0 @@ for (const k in allowList) {

{
"name": "berial",
"version": "0.1.4",
"version": "0.1.5",
"description": "micro frontend",

@@ -5,0 +5,0 @@ "main": "dist/berial.js",

@@ -99,3 +99,3 @@ export function runScript(code: string, allow: any = []): any {

// custom allow list
...allow
...allowObj
}

@@ -102,0 +102,0 @@

Sorry, the diff of this file is not supported yet

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