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.84 to 2.5.85

4

dist/cjs/object.js

@@ -305,7 +305,7 @@ "use strict";

};
const stringToObject = (str, verbose) => {
const stringToObject = (str, opts = { verbose: true }) => {
try {
return import_globals.window.eval("(" + str + ")");
} catch (e) {
if (verbose)
if (opts.verbose)
console.warn(e);

@@ -312,0 +312,0 @@ }

@@ -286,6 +286,6 @@ 'use strict'

export const stringToObject = (str, verbose) => {
export const stringToObject = (str, opts = { verbose: true }) => {
try {
return window.eval('(' + str + ')') // eslint-disable-line
} catch (e) { if (verbose) console.warn(e) }
} catch (e) { if (opts.verbose) console.warn(e) }
}

@@ -292,0 +292,0 @@

{
"name": "@domql/utils",
"version": "2.5.84",
"version": "2.5.85",
"license": "MIT",

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

},
"gitHead": "4bd66069a10c9126fca5f29ca9c1f99e8b957228",
"gitHead": "d74dca288e3860155be0340404d95a4c872c66aa",
"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