Socket
Socket
Sign inDemoInstall

selderee

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selderee - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

4

CHANGELOG.md
# Changelog
## Version 0.7.0
* Drop Node.js version 10 support. At least 12.22.x is required.
## Version 0.6.0

@@ -4,0 +8,0 @@

4

lib/Ast.d.ts

@@ -33,3 +33,3 @@ /**

* Tag name has to be checked.
* Underlying varuants can be assembled
* Underlying variants can be assembled
* into a dictionary key check.

@@ -95,3 +95,3 @@ */

* Remove the top element from the stack -
* following ckecks are performed on the previous element.
* following checks are performed on the previous element.
*/

@@ -98,0 +98,0 @@ export declare type PopElementNode<V> = {

@@ -38,3 +38,3 @@ import { ValueContainer } from './Ast';

* Run the selectors decision tree against one HTML Element
* and choose the value from the most specific mached selector.
* and choose the value from the most specific matched selector.
*

@@ -46,3 +46,3 @@ * @param el - an HTML Element.

*
* @returns the value from the most specific mached selector
* @returns the value from the most specific matched selector
* or `null` if nothing matched.

@@ -49,0 +49,0 @@ */

{
"name": "selderee",
"version": "0.6.0",
"version": "0.7.0",
"description": "Selectors decision tree - choose matching selectors, fast",

@@ -40,4 +40,4 @@ "keywords": [

"dependencies": {
"parseley": "^0.7.0"
"parseley": "^0.8.0"
}
}

@@ -6,2 +6,4 @@ # selderee

[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/mxxii/selderee/blob/main/LICENSE)
![GitHub top language](https://img.shields.io/github/languages/top/mxxii/selderee)
[![npm](https://img.shields.io/npm/dw/selderee?color=informational&logo=npm)](https://www.npmjs.com/package/selderee)

@@ -21,3 +23,3 @@ **Sel**ectors **de**cision t**ree** - pick matching selectors, fast.

The main `selderee` package offers the tree structure. Working decision functions for specific DOM implementations are built via plugins.
The main `selderee` package offers the tree structure. Runnable decision functions for specific DOM implementations are built via plugins.

@@ -143,4 +145,4 @@

*Some gotcha: you may notice the check for `#baz` has to be performed every time the decision tree is called. If it happens to be `p#baz` or `div#baz` or even `.foo#baz` - it would be much better to write it like this. Deeper, narrower tree means less checks on average. (in case of `.foo#baz` the class check might finally outweight the tag name check and rebalance the tree.)*
*Some gotcha: you may notice the check for `#baz` has to be performed every time the decision tree is called. If it happens to be `p#baz` or `div#baz` or even `.foo#baz` - it would be much better to write it like this. Deeper, narrower tree means less checks on average. (in case of `.foo#baz` the class check might finally outweigh the tag name check and rebalance the tree.)*
</details>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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