@tryghost/bookshelf-filter 0.5.25 → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -9,6 +9,10 @@ or
9
9
  `yarn add @tryghost/bookshelf-filter`
10
10
 
11
11
 
12
+ ## Purpose
13
+
14
+ Bookshelf plugin that parses and applies NQL filter expressions with support for defaults, overrides, and relation mappings.
15
+
12
16
  ## Usage
13
17
 
14
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/bookshelf-filter",
3
- "version": "0.5.25",
3
+ "version": "0.5.26",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/framework.git",
@@ -11,7 +11,7 @@
11
11
  "main": "index.js",
12
12
  "scripts": {
13
13
  "dev": "echo \"Implement me!\"",
14
- "test": "NODE_ENV=testing mocha './test/**/*.test.js'",
14
+ "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 -- mocha './test/**/*.test.js'",
15
15
  "lint": "eslint . --ext .js --cache",
16
16
  "posttest": "yarn lint"
17
17
  },
@@ -23,8 +23,8 @@
23
23
  "access": "public"
24
24
  },
25
25
  "devDependencies": {
26
+ "c8": "8.0.1",
26
27
  "mocha": "11.7.5",
27
- "should": "13.2.3",
28
28
  "sinon": "21.0.1"
29
29
  },
30
30
  "dependencies": {