eslint-plugin-drizzle-security 1.1.1 → 2.0.0
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.
- package/README.md +1 -1
- package/package.json +3 -3
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ src/db.ts
|
|
|
130
130
|
| Package | Version |
|
|
131
131
|
| :--- | :--- |
|
|
132
132
|
| ESLint | `^8.40.0 \|\| ^9.0.0 \|\| ^10.0.0` |
|
|
133
|
-
| Node.js | `>=
|
|
133
|
+
| Node.js | `>=22.13.0` |
|
|
134
134
|
|
|
135
135
|
See the [ESLint Version Support Policy](../../docs/ESLINT_VERSION_SUPPORT.md) — current ecosystem share data, the 20% gate, and the forward-looking exception that covers v10.
|
|
136
136
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-drizzle-security",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "ESLint plugin for drizzle-orm — detects SQL injection in raw queries built with string concatenation or template literals.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"typescript"
|
|
65
65
|
],
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
67
|
+
"node": ">=22.13.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"eslint": "^8.40.0 || ^9.0.0 || ^10.0.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@interlace/eslint-devkit": "^
|
|
82
|
+
"@interlace/eslint-devkit": "^2.0.0"
|
|
83
83
|
},
|
|
84
84
|
"funding": {
|
|
85
85
|
"type": "github",
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.configs=exports.plugin=exports.rules=void 0;const eslint_devkit_1=require("@interlace/eslint-devkit");exports.rules={get"no-mass-assignment"(){return require("./rules/no-mass-assignment").noMassAssignment},get"no-raw-identifier-interpolation"(){return require("./rules/no-raw-identifier-interpolation").noRawIdentifierInterpolation},get"no-unsafe-query"(){return require("./rules/no-unsafe-query").noUnsafeQuery},get"no-unscoped-mutation"(){return require("./rules/no-unscoped-mutation").noUnscopedMutation}};(0,eslint_devkit_1.withCanonicalDocsUrls)("plugin-drizzle-security",exports.rules);exports.plugin={meta:{name:"eslint-plugin-drizzle-security",version:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.configs=exports.plugin=exports.rules=void 0;const eslint_devkit_1=require("@interlace/eslint-devkit");exports.rules={get"no-mass-assignment"(){return require("./rules/no-mass-assignment").noMassAssignment},get"no-raw-identifier-interpolation"(){return require("./rules/no-raw-identifier-interpolation").noRawIdentifierInterpolation},get"no-unsafe-query"(){return require("./rules/no-unsafe-query").noUnsafeQuery},get"no-unscoped-mutation"(){return require("./rules/no-unscoped-mutation").noUnscopedMutation}};(0,eslint_devkit_1.withCanonicalDocsUrls)("plugin-drizzle-security",exports.rules);exports.plugin={meta:{name:"eslint-plugin-drizzle-security",version:"2.0.0"},rules:exports.rules};exports.configs={flagship:{plugins:{"drizzle-security":exports.plugin},rules:{"drizzle-security/no-unsafe-query":"error"}},recommended:{plugins:{"drizzle-security":exports.plugin},rules:{"drizzle-security/no-unsafe-query":"error"}},strict:{plugins:{"drizzle-security":exports.plugin},rules:Object.fromEntries(Object.keys(exports.rules).map(ruleName=>[`drizzle-security/${ruleName}`,"error"]))}};exports.default=exports.plugin;
|