Socket
Socket
Sign inDemoInstall

css-select

Package Overview
Dependencies
8
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

lib/attributes.d.ts

27

package.json
{
"name": "css-select",
"version": "3.0.1",
"version": "3.0.2",
"description": "a CSS selector compiler/engine",

@@ -26,2 +26,3 @@ "author": "Felix Boehm <me@feedic.com>",

"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.0.5",

@@ -34,16 +35,15 @@ "@typescript-eslint/eslint-plugin": "^4.1.0",

"eslint-config-prettier": "^6.0.0",
"expect.js": "^0.3.1",
"htmlparser2": "^4.0.0",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"jest": "^26.4.2",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"ts-jest": "^26.4.0",
"typescript": "^4.0.2"
},
"scripts": {
"test": "mocha --parallel && npm run lint",
"lint": "eslint .",
"lcov": "nyc mocha",
"coveralls": "(nyc report --reporter=text-lcov | coveralls)",
"build": "tsc"
"test": "jest --coverage && npm run lint",
"coverage": "cat coverage/lcov.info | coveralls",
"lint": "eslint src",
"format": "prettier --write '**/*.{ts,md,json}'",
"build": "tsc",
"prepare": "npm run build"
},

@@ -54,3 +54,10 @@ "license": "BSD-2-Clause",

"tabWidth": 4
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/*.ts"
]
}
}

@@ -236,3 +236,3 @@ # css-select [![NPM version](http://img.shields.io/npm/v/css-select.svg)](https://npmjs.org/package/css-select) [![Build Status](https://travis-ci.org/fb55/css-select.svg?branch=master)](http://travis-ci.org/fb55/css-select) [![Downloads](https://img.shields.io/npm/dm/css-select.svg)](https://npmjs.org/package/css-select) [![Coverage](https://coveralls.io/repos/fb55/css-select/badge.svg?branch=master)](https://coveralls.io/r/fb55/css-select)

- `:nth-[last-]child[-of-type]`
- `:link`
- `:link`, `:any-link`
- `:visited`, `:hover`, `:active` \* (these depend on optional Adapter methods, so these will work only if implemented in Adapter)

@@ -239,0 +239,0 @@ - `:selected` \*, `:checked`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc