Socket
Socket
Sign inDemoInstall

@domql/utils

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/utils - npm Package Compare versions

Comparing version 2.5.91 to 2.5.92

2

dist/cjs/object.js

@@ -265,3 +265,3 @@ "use strict";

if ((0, import_types.isString)(objProp)) {
if ((objProp.includes("=>") || objProp.startsWith("function") || objProp.startsWith("(")) && !objProp.startsWith("{") && !objProp.startsWith("[")) {
if ((objProp.includes("(){") || objProp.includes("() {") || objProp.includes("=>") || objProp.startsWith("()") || objProp.startsWith("async") || objProp.startsWith("function") || objProp.startsWith("(")) && !objProp.startsWith("{") && !objProp.startsWith("[")) {
try {

@@ -268,0 +268,0 @@ const evalProp = import_globals.window.eval(`(${objProp})`);

@@ -252,3 +252,13 @@ 'use strict'

if (isString(objProp)) {
if ((objProp.includes('=>') || objProp.startsWith('function') || objProp.startsWith('(')) && !objProp.startsWith('{') && !objProp.startsWith('[')) {
if ((
objProp.includes('(){') ||
objProp.includes('() {') ||
objProp.includes('=>') ||
objProp.startsWith('()') ||
objProp.startsWith('async') ||
objProp.startsWith('function') ||
objProp.startsWith('(')
) &&
!objProp.startsWith('{') && !objProp.startsWith('[')
) {
try {

@@ -255,0 +265,0 @@ const evalProp = window.eval(`(${objProp})`)

{
"name": "@domql/utils",
"version": "2.5.91",
"version": "2.5.92",
"license": "MIT",

@@ -26,3 +26,3 @@ "type": "module",

},
"gitHead": "15a57f968b6c8832cb843c886e251a89ff17cc24",
"gitHead": "41f831e7064481d010f7a763e9466931c6389f87",
"devDependencies": {

@@ -29,0 +29,0 @@ "@babel/core": "^7.12.0"

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