@cimo/request 1.5.22 → 1.5.24

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.
@@ -1,5 +1,4 @@
1
- import { TSESTree } from "@typescript-eslint/utils";
2
- import { RuleContext } from "@typescript-eslint/utils/dist/ts-eslint";
1
+ import { TSESLint, TSESTree } from "@typescript-eslint/utils";
3
2
  export declare const rules: {
4
3
  "no-array-assignment-for-object-type": {
5
4
  meta: {
@@ -13,7 +12,7 @@ export declare const rules: {
13
12
  };
14
13
  schema: never[];
15
14
  };
16
- create(context: RuleContext<"noArrayAssignmentForObjectType", []>): {
15
+ create(context: TSESLint.RuleContext<"noArrayAssignmentForObjectType", []>): {
17
16
  TSArrayType(node: TSESTree.TSArrayType): void;
18
17
  };
19
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.customRule.js","sourceRoot":"","sources":["../eslint.customRule.ts"],"names":[],"mappings":";;;AAAA,oDAAiE;AAGpD,QAAA,KAAK,GAAG;IACjB,qCAAqC,EAAE;QACnC,IAAI,EAAE;YACF,IAAI,EAAE,SAAS;YACf,IAAI,EAAE;gBACF,WAAW,EAAE,wCAAwC;gBACrD,WAAW,EAAE,KAAK;aACrB;YACD,QAAQ,EAAE;gBACN,8BAA8B,EAAE,6CAA6C;aAChF;YACD,MAAM,EAAE,EAAE;SACb;QACD,MAAM,CAAC,OAA0D;YAC7D,MAAM,cAAc,GAAG,mBAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;YAE9D,OAAO;gBACH,WAAW,CAAC,IAA0B;oBAClC,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;oBAC1E,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;oBACxD,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;oBAE/C,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;oBAE5C,IAAI,SAAS,EAAE,CAAC;wBACZ,OAAO,CAAC,MAAM,CAAC;4BACX,IAAI;4BACJ,SAAS,EAAE,gCAAgC;yBAC9C,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC;QACN,CAAC;KACJ;CACJ,CAAC"}
1
+ {"version":3,"file":"eslint.customRule.js","sourceRoot":"","sources":["../eslint.customRule.ts"],"names":[],"mappings":";;;AAAA,oDAA2E;AAE9D,QAAA,KAAK,GAAG;IACjB,qCAAqC,EAAE;QACnC,IAAI,EAAE;YACF,IAAI,EAAE,SAAS;YACf,IAAI,EAAE;gBACF,WAAW,EAAE,wCAAwC;gBACrD,WAAW,EAAE,KAAK;aACrB;YACD,QAAQ,EAAE;gBACN,8BAA8B,EAAE,6CAA6C;aAChF;YACD,MAAM,EAAE,EAAE;SACb;QACD,MAAM,CAAC,OAAmE;YACtE,MAAM,cAAc,GAAG,mBAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;YAE9D,OAAO;gBACH,WAAW,CAAC,IAA0B;oBAClC,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;oBAC1E,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;oBACxD,MAAM,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;oBAE/C,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;oBAE5C,IAAI,SAAS,EAAE,CAAC;wBACZ,OAAO,CAAC,MAAM,CAAC;4BACX,IAAI;4BACJ,SAAS,EAAE,gCAAgC;yBAC9C,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;aACJ,CAAC;QACN,CAAC;KACJ;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimo/request",
3
- "version": "1.5.22",
3
+ "version": "1.5.24",
4
4
  "description": "Request api. Light, fast and secure.",
5
5
  "author": "cimo",
6
6
  "license": "MIT",
@@ -11,10 +11,10 @@
11
11
  "scripts": {
12
12
  "remove_dist": "node -e \"const fs = require('fs'); try{ fs.rmdirSync('./dist/', { recursive: true }) } catch{}; process.exit(0);\"",
13
13
  "remove_build": "node -e \"const fs = require('fs'); try{ fs.rmdirSync('./build/', { recursive: true }) } catch{}; process.exit(0);\"",
14
- "check": "eslint --no-cache --config eslint.config.js",
15
- "build_tsc": "npm run remove_dist && tsc --build tsconfig.tsc.json && npm run check",
14
+ "check": "eslint --no-cache --config eslint.config.cjs",
15
+ "build_tsc": "npm run remove_dist && tsc --build tsconfig.tsc.json",
16
16
  "build_library": "npm run remove_build && tsc --build tsconfig.json && npm pack && mkdir -p ./build/ && mv *.tgz ./build/",
17
- "build": "npm audit && npm run build_tsc && npm run build_library"
17
+ "build": "npm audit && npm run build_tsc && npm run check && npm run build_library"
18
18
  },
19
19
  "dependencies": {},
20
20
  "devDependencies": {
@@ -23,8 +23,8 @@
23
23
  "@typescript-eslint/parser": "8.24.1",
24
24
  "@typescript-eslint/eslint-plugin": "8.24.1",
25
25
  "eslint-plugin-prettier": "5.2.1",
26
- "globals": "15.13.0",
27
26
  "prettier": "3.4.2",
27
+ "globals": "15.13.0",
28
28
  "@types/node": "22.10.2"
29
29
  },
30
30
  "resolutions": {},