@domql/props
Advanced tools
Comparing version 2.3.117 to 2.3.119
25
index.js
@@ -1,15 +0,5 @@ | ||
'use strict' | ||
import { | ||
exec, | ||
is, | ||
isArray, | ||
isObject, | ||
isString, | ||
deepClone, | ||
deepMerge | ||
} from '@domql/utils' | ||
import { exec, is, isArray, isObject, isString, deepClone, deepMerge } from '@domql/utils' | ||
import { IGNORE_PROPS_PARAMS } from './ignore' | ||
export const IGNORE_PROPS_PARAMS = ['update', '__element'] | ||
const objectizeStringProperty = propValue => { | ||
@@ -53,5 +43,4 @@ if (is(propValue)('string', 'number')) return { inheritedString: propValue } | ||
if (isArray(__ref.__extend)) { | ||
__ref.__extend.map(extend => { | ||
__ref.__extend.forEach(extend => { | ||
if (extend.props) propsStack.push(extend.props) | ||
return extend.props | ||
}) | ||
@@ -72,3 +61,7 @@ } | ||
if (isObject(execProps) && execProps.__element) return | ||
element.props = deepMerge(mergedProps, deepClone(execProps, IGNORE_PROPS_PARAMS), IGNORE_PROPS_PARAMS) | ||
element.props = deepMerge( | ||
mergedProps, | ||
deepClone(execProps, IGNORE_PROPS_PARAMS), | ||
IGNORE_PROPS_PARAMS | ||
) | ||
}) | ||
@@ -111,2 +104,2 @@ element.props = mergedProps | ||
export default createProps | ||
export { IGNORE_PROPS_PARAMS } |
{ | ||
"name": "@domql/props", | ||
"version": "2.3.117", | ||
"main": "index.js", | ||
"version": "2.3.119", | ||
"license": "MIT", | ||
"type": "module", | ||
"module": "dist/esm/index.js", | ||
"unpkg": "dist/iife/index.js", | ||
"jsdelivr": "dist/iife/index.js", | ||
"main": "dist/esm/index.js", | ||
"exports": "./dist/cjs/index.js", | ||
"source": "index.js", | ||
"files": [ | ||
"*.js", | ||
"dist" | ||
], | ||
"scripts": { | ||
"copy:package:cjs": "cp ../../.build/package-cjs.json dist/cjs/package.json", | ||
"build:esm": "npx esbuild *.js --target=es2019 --format=esm --outdir=dist/esm", | ||
"build:cjs": "npx esbuild *.js --target=node16 --format=cjs --outdir=dist/cjs", | ||
"build:iife": "npx esbuild *.js --target=node16 --format=iife --outdir=dist/iife", | ||
"build": "yarn build:cjs", | ||
"prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs" | ||
}, | ||
"dependencies": { | ||
"@domql/event": "latest", | ||
"@domql/utils": "latest" | ||
}, | ||
"gitHead": "a6da9bf1846e4a1e26017978cf52112b9d61d484", | ||
"source": "index.js" | ||
"gitHead": "b5b409c827c8b21896d84918f4fe9d133b057916" | ||
} |
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
10267
1
7
223
Yes
- Removed@domql/event@latest
- Removed@domql/event@2.5.162(transitive)
- Removed@domql/report@2.5.162(transitive)