payload-guard-filter 1.6.1 → 1.6.2

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 (1) hide show
  1. package/package.json +91 -91
package/package.json CHANGED
@@ -1,92 +1,92 @@
1
- {
2
- "name": "payload-guard-filter",
3
- "version": "1.6.1",
4
- "description": "Lightweight, zero-dependency shape-based payload filtering and sanitization for Node.js and browser",
5
- "main": "dist/index.js",
6
- "module": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
13
- },
14
- "./express": {
15
- "import": "./dist/express.js",
16
- "require": "./dist/express.js",
17
- "types": "./dist/express.d.ts"
18
- },
19
- "./client": {
20
- "import": "./dist/client.js",
21
- "require": "./dist/client.js",
22
- "types": "./dist/client.d.ts"
23
- }
24
- },
25
- "files": [
26
- "dist",
27
- "README.md",
28
- "LICENSE"
29
- ],
30
- "bin": {
31
- "payload-guard": "./dist/cli.js"
32
- },
33
- "scripts": {
34
- "build": "npm run build:esm && npm run build:cjs && npm run build:types",
35
- "build:esm": "tsc -p tsconfig.esm.json",
36
- "build:cjs": "tsc -p tsconfig.cjs.json",
37
- "build:types": "tsc -p tsconfig.types.json",
38
- "clean": "rimraf dist",
39
- "prepublishOnly": "npm run clean && npm run build",
40
- "test": "vitest run",
41
- "test:watch": "vitest",
42
- "test:coverage": "vitest run --coverage",
43
- "lint": "eslint src --ext .ts",
44
- "format": "prettier --write \"src/**/*.ts\"",
45
- "benchmark": "npx ts-node benchmarks/run.ts"
46
- },
47
- "keywords": [
48
- "payload",
49
- "filter",
50
- "sanitize",
51
- "express",
52
- "middleware",
53
- "typescript",
54
- "security",
55
- "api",
56
- "validation",
57
- "shape",
58
- "trim",
59
- "sensitive"
60
- ],
61
- "author": "",
62
- "license": "MIT",
63
- "sideEffects": false,
64
- "engines": {
65
- "node": ">=18.0.0"
66
- },
67
- "devDependencies": {
68
- "@types/express": "^4.17.21",
69
- "@types/node": "^20.10.0",
70
- "express": "^4.18.2",
71
- "prettier": "^3.1.1",
72
- "rimraf": "^5.0.5",
73
- "typescript": "^5.3.3",
74
- "vitest": "^1.1.0"
75
- },
76
- "peerDependencies": {
77
- "express": ">=4.0.0"
78
- },
79
- "peerDependenciesMeta": {
80
- "express": {
81
- "optional": true
82
- }
83
- },
84
- "repository": {
85
- "type": "git",
86
- "url": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-.git"
87
- },
88
- "bugs": {
89
- "url": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-/issues"
90
- },
91
- "homepage": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-#readme"
1
+ {
2
+ "name": "payload-guard-filter",
3
+ "version": "1.6.2",
4
+ "description": "Lightweight, zero-dependency shape-based payload filtering and sanitization for Node.js and browser",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "require": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./express": {
15
+ "import": "./dist/express.js",
16
+ "require": "./dist/express.js",
17
+ "types": "./dist/express.d.ts"
18
+ },
19
+ "./client": {
20
+ "import": "./dist/client.js",
21
+ "require": "./dist/client.js",
22
+ "types": "./dist/client.d.ts"
23
+ }
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE"
29
+ ],
30
+ "bin": {
31
+ "payload-guard": "./dist/cli.js"
32
+ },
33
+ "scripts": {
34
+ "build": "npm run build:esm && npm run build:cjs && npm run build:types",
35
+ "build:esm": "tsc -p tsconfig.esm.json",
36
+ "build:cjs": "tsc -p tsconfig.cjs.json",
37
+ "build:types": "tsc -p tsconfig.types.json",
38
+ "clean": "rimraf dist",
39
+ "prepublishOnly": "npm run clean && npm run build",
40
+ "test": "vitest run",
41
+ "test:watch": "vitest",
42
+ "test:coverage": "vitest run --coverage",
43
+ "lint": "eslint src --ext .ts",
44
+ "format": "prettier --write \"src/**/*.ts\"",
45
+ "benchmark": "npx ts-node benchmarks/run.ts"
46
+ },
47
+ "keywords": [
48
+ "payload",
49
+ "filter",
50
+ "sanitize",
51
+ "express",
52
+ "middleware",
53
+ "typescript",
54
+ "security",
55
+ "api",
56
+ "validation",
57
+ "shape",
58
+ "trim",
59
+ "sensitive"
60
+ ],
61
+ "author": "",
62
+ "license": "MIT",
63
+ "sideEffects": false,
64
+ "engines": {
65
+ "node": ">=18.0.0"
66
+ },
67
+ "devDependencies": {
68
+ "@types/express": "^5.0.0",
69
+ "@types/node": "^22.13.0",
70
+ "express": "^5.0.1",
71
+ "prettier": "^3.4.2",
72
+ "rimraf": "^6.0.1",
73
+ "typescript": "^5.7.3",
74
+ "vitest": "^3.0.5"
75
+ },
76
+ "peerDependencies": {
77
+ "express": ">=4.0.0"
78
+ },
79
+ "peerDependenciesMeta": {
80
+ "express": {
81
+ "optional": true
82
+ }
83
+ },
84
+ "repository": {
85
+ "type": "git",
86
+ "url": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-.git"
87
+ },
88
+ "bugs": {
89
+ "url": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-/issues"
90
+ },
91
+ "homepage": "https://github.com/sannuk79/PROJECTS-AND-NPM-PACKAGES-#readme"
92
92
  }