snabbdom-selector
Advanced tools
Comparing version 4.1.0 to 4.2.0
"use strict"; | ||
var selectorParser_1 = require('./selectorParser'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var selectorParser_1 = require("./selectorParser"); | ||
function classNameFromVNode(vNode) { | ||
@@ -4,0 +5,0 @@ var _a = selectorParser_1.selectorParser(vNode).className, cn = _a === void 0 ? '' : _a; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function curry2(select) { | ||
@@ -12,3 +13,2 @@ return function selector(sel, vNode) { | ||
exports.curry2 = curry2; | ||
; | ||
//# sourceMappingURL=curry2.js.map |
@@ -10,3 +10,2 @@ export function curry2(select) { | ||
} | ||
; | ||
//# sourceMappingURL=curry2.js.map |
"use strict"; | ||
var query_1 = require('./query'); | ||
var parent_symbol_1 = require('./parent-symbol'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var query_1 = require("./query"); | ||
var parent_symbol_1 = require("./parent-symbol"); | ||
function findMatches(cssSelector, vNode) { | ||
@@ -5,0 +6,0 @@ if (!vNode) { |
"use strict"; | ||
var curry2_1 = require('./curry2'); | ||
var findMatches_1 = require('./findMatches'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var curry2_1 = require("./curry2"); | ||
var findMatches_1 = require("./findMatches"); | ||
exports.select = curry2_1.curry2(findMatches_1.findMatches); | ||
var selectorParser_1 = require('./selectorParser'); | ||
var selectorParser_1 = require("./selectorParser"); | ||
exports.selectorParser = selectorParser_1.selectorParser; | ||
var classNameFromVNode_1 = require('./classNameFromVNode'); | ||
var classNameFromVNode_1 = require("./classNameFromVNode"); | ||
exports.classNameFromVNode = classNameFromVNode_1.classNameFromVNode; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var root; | ||
@@ -23,4 +24,3 @@ if (typeof self !== 'undefined') { | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = parentSymbol; | ||
//# sourceMappingURL=parent-symbol.js.map |
"use strict"; | ||
var tree_selector_1 = require('tree-selector'); | ||
var selectorParser_1 = require('./selectorParser'); | ||
var classNameFromVNode_1 = require('./classNameFromVNode'); | ||
var parent_symbol_1 = require('./parent-symbol'); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tree_selector_1 = require("tree-selector"); | ||
var selectorParser_1 = require("./selectorParser"); | ||
var classNameFromVNode_1 = require("./classNameFromVNode"); | ||
var parent_symbol_1 = require("./parent-symbol"); | ||
var options = { | ||
@@ -7,0 +8,0 @@ tag: function (vNode) { return selectorParser_1.selectorParser(vNode).tagName; }, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function selectorParser(node) { | ||
@@ -3,0 +4,0 @@ if (!node.sel) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "snabbdom-selector", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Snabbdom CSS-Selector", | ||
@@ -34,14 +34,17 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^6.0.46", | ||
"cross-env": "^3.1.3", | ||
"mocha": "^5.2.0", | ||
"snabbdom": "0.6.3", | ||
"ts-node": "^1.6.1", | ||
"tslint": "^3.15.1", | ||
"typescript": "2.0.6" | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.6.9", | ||
"cross-env": "^5.2.0", | ||
"mocha": "^6.2.0", | ||
"snabbdom": "^0.7.3", | ||
"ts-node": "^8.3.0", | ||
"tslint": "^5.18.0", | ||
"typescript": "3.5.3" | ||
}, | ||
"dependencies": { | ||
"tree-selector": "^2.0.0" | ||
"tree-selector": "^2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"snabbdom": "*" | ||
} | ||
} |
@@ -12,2 +12,2 @@ import { VNode } from 'snabbdom/vnode'; | ||
} as Selector; | ||
}; | ||
} |
@@ -44,3 +44,3 @@ import { VNode } from 'snabbdom/vnode'; | ||
if (!vNode.data[parentSymbol]) { | ||
if (!vNode.data[parentSymbol as any]) { | ||
Object.defineProperty(vNode.data, parentSymbol, { | ||
@@ -47,0 +47,0 @@ value: parent, |
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
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
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
861
47944
2
+ Addedsnabbdom@3.6.2(transitive)
Updatedtree-selector@^2.1.0