tree-selector
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -78,6 +78,6 @@ "use strict"; | ||
var attr = _a[0], op = _a[1], val = _a[2]; | ||
var _b; | ||
return (_b = {}, | ||
_b[attr] = [getOp(op), val ? parseAttrValue(val) : val], | ||
_b); | ||
var _b; | ||
}) | ||
@@ -84,0 +84,0 @@ .reduce(function (acc, curr) { return (__assign({}, acc, curr)); }, {}); |
@@ -76,6 +76,6 @@ var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
var attr = _a[0], op = _a[1], val = _a[2]; | ||
var _b; | ||
return (_b = {}, | ||
_b[attr] = [getOp(op), val ? parseAttrValue(val) : val], | ||
_b); | ||
var _b; | ||
}) | ||
@@ -82,0 +82,0 @@ .reduce(function (acc, curr) { return (__assign({}, acc, curr)); }, {}); |
{ | ||
"name": "tree-selector", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Use CSS selectors to match nodes in a custom object tree", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
import { VNode } from './vnode'; | ||
export function addParents(node: VNode): VNode; | ||
export function addParents(node: VNode | undefined | null): VNode | undefined | null { | ||
@@ -4,0 +5,0 @@ if(node) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1738
203692
49