1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-01 16:33:06 +01:00
uBlock/platform/npm/package.json
Raymond Hill 1130746a9b
Fix regression with important filter option
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1732

The regression affect filter with the `important` option when
the following conditions were fulfilled:

- The filter pattern is pure hostname
- The filter has not one of the following options:
  - domain
  - denyallow
  - header
  - strict1p, strict3p
  - csp
  - removeparam
- There is a matching exception filter

Related commit:
- a2a8ef7e85

A related mocha test has been added in order to detect this
specific regression in the future through `make test`.
2021-09-24 11:09:32 -04:00

45 lines
1.3 KiB
JSON

{
"name": "@gorhill/ubo-core",
"version": "0.1.11",
"description": "To create a working instance of uBlock Origin's static network filtering engine",
"type": "module",
"main": "index.js",
"scripts": {
"build": "node build.js",
"lint": "eslint js/ *.js tests/*.js",
"test": "c8 --include=index.js --include=js/**/*.js node test.js --mocha",
"test-full-battery": "c8 --include=index.js --include=js/**/*.js node test.js --mocha --full-battery",
"check-leaks": "mocha --check-leaks tests/leaks.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gorhill/uBlock.git"
},
"keywords": [
"uBlock",
"uBO",
"adblock",
"trie"
],
"author": "Raymond Hill (https://github.com/gorhill)",
"license": "GPL-3.0-or-later",
"contributors": [
"Manish Jethani <code@manishjethani.io>"
],
"bugs": {
"url": "https://github.com/uBlockOrigin/uBlock-issues/issues"
},
"homepage": "https://github.com/gorhill/uBlock#readme",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.14.4"
},
"devDependencies": {
"c8": "^7.8.0",
"eslint": "^7.32.0",
"esm-world": "0.1.1",
"mocha": "^9.0.3",
"scaling-palm-tree": "github:mjethani/scaling-palm-tree#15cf1ab37e038771e1ff8005edc46d95f176739f"
}
}