@sarj/eslint-plugin 16.42.0 → 16.42.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/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4420,7 +4420,7 @@ function isSearchParamReceiver(call, services) {
|
|
|
4420
4420
|
// package.json
|
|
4421
4421
|
var package_default = {
|
|
4422
4422
|
name: "@sarj/eslint-plugin",
|
|
4423
|
-
version: "16.42.
|
|
4423
|
+
version: "16.42.1",
|
|
4424
4424
|
packageManager: "npm@12.2.1",
|
|
4425
4425
|
description: "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
|
|
4426
4426
|
type: "module",
|
|
@@ -19665,7 +19665,7 @@ var no_server_env_in_client_component_default = createRule({
|
|
|
19665
19665
|
// src/rules/no-server-file-uploads.ts
|
|
19666
19666
|
var import_utils117 = require("@typescript-eslint/utils");
|
|
19667
19667
|
var NO_SERVER_FILE_UPLOADS_DOCUMENTATION = {
|
|
19668
|
-
defaultLevel: "
|
|
19668
|
+
defaultLevel: "error",
|
|
19669
19669
|
summary: "Keep native File handling outside explicit server boundaries.",
|
|
19670
19670
|
rationale: "Accepting uploaded files routes their bytes through application workers, consuming connections, memory or temporary disk. Direct signed-URL uploads keep that transfer in object storage.",
|
|
19671
19671
|
remediation: "Issue an authorized, short-lived signed URL; upload the browser File directly to storage, then submit its object key and metadata. Use Blob for server-generated binary content.",
|
|
@@ -36720,7 +36720,7 @@ var RULE_POLICY = {
|
|
|
36720
36720
|
"@sarj/no-restated-jsdoc": ["warn", "both"],
|
|
36721
36721
|
"@sarj/no-secret-in-log": ["error", "both"],
|
|
36722
36722
|
"@sarj/no-server-env-in-client-component": ["error", "both"],
|
|
36723
|
-
"@sarj/no-server-file-uploads": ["
|
|
36723
|
+
"@sarj/no-server-file-uploads": ["error", "both"],
|
|
36724
36724
|
"@sarj/no-select-star": ["error", "both"],
|
|
36725
36725
|
"@sarj/no-sentinel-return-on-catch": ["error", "both"],
|
|
36726
36726
|
"@sarj/no-silent-promise-catch": ["error", "both"],
|
package/dist/index.d.cts
CHANGED
|
@@ -631,7 +631,7 @@ declare const RULE_POLICY: {
|
|
|
631
631
|
readonly "@sarj/no-restated-jsdoc": readonly ["warn", "both"];
|
|
632
632
|
readonly "@sarj/no-secret-in-log": readonly ["error", "both"];
|
|
633
633
|
readonly "@sarj/no-server-env-in-client-component": readonly ["error", "both"];
|
|
634
|
-
readonly "@sarj/no-server-file-uploads": readonly ["
|
|
634
|
+
readonly "@sarj/no-server-file-uploads": readonly ["error", "both"];
|
|
635
635
|
readonly "@sarj/no-select-star": readonly ["error", "both"];
|
|
636
636
|
readonly "@sarj/no-sentinel-return-on-catch": readonly ["error", "both"];
|
|
637
637
|
readonly "@sarj/no-silent-promise-catch": readonly ["error", "both"];
|
package/dist/index.d.ts
CHANGED
|
@@ -631,7 +631,7 @@ declare const RULE_POLICY: {
|
|
|
631
631
|
readonly "@sarj/no-restated-jsdoc": readonly ["warn", "both"];
|
|
632
632
|
readonly "@sarj/no-secret-in-log": readonly ["error", "both"];
|
|
633
633
|
readonly "@sarj/no-server-env-in-client-component": readonly ["error", "both"];
|
|
634
|
-
readonly "@sarj/no-server-file-uploads": readonly ["
|
|
634
|
+
readonly "@sarj/no-server-file-uploads": readonly ["error", "both"];
|
|
635
635
|
readonly "@sarj/no-select-star": readonly ["error", "both"];
|
|
636
636
|
readonly "@sarj/no-sentinel-return-on-catch": readonly ["error", "both"];
|
|
637
637
|
readonly "@sarj/no-silent-promise-catch": readonly ["error", "both"];
|
package/dist/index.js
CHANGED
|
@@ -4373,7 +4373,7 @@ function isSearchParamReceiver(call, services) {
|
|
|
4373
4373
|
// package.json
|
|
4374
4374
|
var package_default = {
|
|
4375
4375
|
name: "@sarj/eslint-plugin",
|
|
4376
|
-
version: "16.42.
|
|
4376
|
+
version: "16.42.1",
|
|
4377
4377
|
packageManager: "npm@12.2.1",
|
|
4378
4378
|
description: "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
|
|
4379
4379
|
type: "module",
|
|
@@ -19696,7 +19696,7 @@ var no_server_env_in_client_component_default = createRule({
|
|
|
19696
19696
|
// src/rules/no-server-file-uploads.ts
|
|
19697
19697
|
import { AST_NODE_TYPES as AST_NODE_TYPES105, ASTUtils as ASTUtils69 } from "@typescript-eslint/utils";
|
|
19698
19698
|
var NO_SERVER_FILE_UPLOADS_DOCUMENTATION = {
|
|
19699
|
-
defaultLevel: "
|
|
19699
|
+
defaultLevel: "error",
|
|
19700
19700
|
summary: "Keep native File handling outside explicit server boundaries.",
|
|
19701
19701
|
rationale: "Accepting uploaded files routes their bytes through application workers, consuming connections, memory or temporary disk. Direct signed-URL uploads keep that transfer in object storage.",
|
|
19702
19702
|
remediation: "Issue an authorized, short-lived signed URL; upload the browser File directly to storage, then submit its object key and metadata. Use Blob for server-generated binary content.",
|
|
@@ -36828,7 +36828,7 @@ var RULE_POLICY = {
|
|
|
36828
36828
|
"@sarj/no-restated-jsdoc": ["warn", "both"],
|
|
36829
36829
|
"@sarj/no-secret-in-log": ["error", "both"],
|
|
36830
36830
|
"@sarj/no-server-env-in-client-component": ["error", "both"],
|
|
36831
|
-
"@sarj/no-server-file-uploads": ["
|
|
36831
|
+
"@sarj/no-server-file-uploads": ["error", "both"],
|
|
36832
36832
|
"@sarj/no-select-star": ["error", "both"],
|
|
36833
36833
|
"@sarj/no-sentinel-return-on-catch": ["error", "both"],
|
|
36834
36834
|
"@sarj/no-silent-promise-catch": ["error", "both"],
|