@olton/query
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "@olton/query", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Query is a minimalist JavaScript library for manipulating with HTML Elements", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
import { terser } from 'rollup-plugin-terser' | ||
import { babel } from '@rollup/plugin-babel' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
@@ -5,0 +3,0 @@ export default [ |
@@ -23,3 +23,3 @@ import {each} from "../helpers/each.js" | ||
import {Events} from "../plugins/events.js" | ||
import {DataSet, QueryDataSet} from "./data" | ||
import {DataSet} from "./data" | ||
import {appendScript, Script} from "../plugins/script.js" | ||
@@ -74,3 +74,2 @@ import {Manipulations} from "../plugins/manipulations.js" | ||
Initiator, | ||
QueryDataSet, | ||
Attr, | ||
@@ -77,0 +76,0 @@ Class, |
@@ -43,3 +43,3 @@ import {appendScript} from "./script"; | ||
} | ||
if (isArrayLike(value)) { | ||
if (typeof value !== 'string' && isArrayLike(value)) { | ||
each(value, (_, el) => { | ||
@@ -46,0 +46,0 @@ if (el instanceof HTMLElement) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
4
10681178
130
3294