eslint-plugin-sequelize-security 1.1.2 → 2.0.1
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 +4 -7
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ routes/search.ts
|
|
|
132
132
|
| Package | Version |
|
|
133
133
|
| :--- | :--- |
|
|
134
134
|
| ESLint | `^8.40.0 \|\| ^9.0.0 \|\| ^10.0.0` |
|
|
135
|
-
| Node.js | `>=
|
|
135
|
+
| Node.js | `>=22.13.0` |
|
|
136
136
|
|
|
137
137
|
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.
|
|
138
138
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-sequelize-security",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "ESLint plugin for the Sequelize ORM — detects SQL injection in raw sequelize.query() and Sequelize.literal() calls built with string concatenation or template literals, connection configuration that disables TLS or certificate validation, and hardcoded database credentials.",
|
|
5
5
|
"type": "commonjs",
|
|
6
|
+
"sideEffects": false,
|
|
6
7
|
"main": "./src/index.js",
|
|
7
8
|
"types": "./src/index.d.ts",
|
|
8
9
|
"exports": {
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"typescript"
|
|
65
66
|
],
|
|
66
67
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
68
|
+
"node": ">=22.13.0"
|
|
68
69
|
},
|
|
69
70
|
"peerDependencies": {
|
|
70
71
|
"eslint": "^8.40.0 || ^9.0.0 || ^10.0.0",
|
|
@@ -79,11 +80,7 @@
|
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
"dependencies": {
|
|
82
|
-
"@interlace/eslint-devkit": "^
|
|
83
|
-
},
|
|
84
|
-
"funding": {
|
|
85
|
-
"type": "github",
|
|
86
|
-
"url": "git+https://github.com/ofri-peretz/eslint.git"
|
|
83
|
+
"@interlace/eslint-devkit": "^2.0.1"
|
|
87
84
|
},
|
|
88
85
|
"interlace": {
|
|
89
86
|
"surface": {
|
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-hardcoded-credentials"(){return require("./rules/no-hardcoded-credentials").noHardcodedCredentials},get"no-mass-assignment"(){return require("./rules/no-mass-assignment").noMassAssignment},get"no-unsafe-query"(){return require("./rules/no-unsafe-query").noUnsafeQuery},get"require-tls"(){return require("./rules/require-tls").requireTls}};(0,eslint_devkit_1.withCanonicalDocsUrls)("plugin-sequelize-security",exports.rules);exports.plugin={meta:{name:"eslint-plugin-sequelize-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-hardcoded-credentials"(){return require("./rules/no-hardcoded-credentials").noHardcodedCredentials},get"no-mass-assignment"(){return require("./rules/no-mass-assignment").noMassAssignment},get"no-unsafe-query"(){return require("./rules/no-unsafe-query").noUnsafeQuery},get"require-tls"(){return require("./rules/require-tls").requireTls}};(0,eslint_devkit_1.withCanonicalDocsUrls)("plugin-sequelize-security",exports.rules);exports.plugin={meta:{name:"eslint-plugin-sequelize-security",version:"2.0.1"},rules:exports.rules};exports.configs={flagship:{plugins:{"sequelize-security":exports.plugin},rules:{"sequelize-security/no-unsafe-query":"error"}},recommended:{plugins:{"sequelize-security":exports.plugin},rules:{"sequelize-security/no-unsafe-query":"error"}},strict:{plugins:{"sequelize-security":exports.plugin},rules:Object.fromEntries(Object.keys(exports.rules).map(ruleName=>[`sequelize-security/${ruleName}`,"error"]))}};exports.default=exports.plugin;
|