corsa-oxlint 0.16.0 → 0.17.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.
Files changed (2) hide show
  1. package/dist/utils.d.ts +13 -12
  2. package/package.json +2 -2
package/dist/utils.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as _$_corsa_bind_napi0 from "@corsa-bind/napi";
1
2
  import { TypeTextKind, classifyTypeText, isAnyLikeTypeTexts, isArrayLikeTypeTexts, isBigIntLikeTypeTexts, isErrorLikeTypeTexts, isNumberLikeTypeTexts, isPromiseLikeTypeTexts, isStringArrayLikeTypeTexts, isStringLikeTypeTexts, isUnknownLikeTypeTexts, splitTopLevelTypeText, splitTypeText } from "@corsa-bind/napi";
2
3
 
3
4
  //#region src/bindings/nodejs/corsa_oxlint/ts/utils.d.ts
@@ -5,18 +6,18 @@ declare namespace utils_d_exports {
5
6
  export { TypeTextKind, Utils, classifyTypeText, isAnyLikeTypeTexts, isArrayLikeTypeTexts, isBigIntLikeTypeTexts, isErrorLikeTypeTexts, isNumberLikeTypeTexts, isPromiseLikeTypeTexts, isStringArrayLikeTypeTexts, isStringLikeTypeTexts, isUnknownLikeTypeTexts, splitTopLevelTypeText, splitTypeText };
6
7
  }
7
8
  declare const Utils: Readonly<{
8
- classifyTypeText: typeof classifyTypeText;
9
- splitTopLevelTypeText: typeof splitTopLevelTypeText;
10
- splitTypeText: typeof splitTypeText;
11
- isStringLikeTypeTexts: typeof isStringLikeTypeTexts;
12
- isNumberLikeTypeTexts: typeof isNumberLikeTypeTexts;
13
- isBigIntLikeTypeTexts: typeof isBigIntLikeTypeTexts;
14
- isAnyLikeTypeTexts: typeof isAnyLikeTypeTexts;
15
- isUnknownLikeTypeTexts: typeof isUnknownLikeTypeTexts;
16
- isArrayLikeTypeTexts: typeof isArrayLikeTypeTexts;
17
- isStringArrayLikeTypeTexts: typeof isStringArrayLikeTypeTexts;
18
- isPromiseLikeTypeTexts: typeof isPromiseLikeTypeTexts;
19
- isErrorLikeTypeTexts: typeof isErrorLikeTypeTexts;
9
+ classifyTypeText: (text?: string) => _$_corsa_bind_napi0.TypeTextKind;
10
+ splitTopLevelTypeText: (text: string, delimiter: string) => string[];
11
+ splitTypeText: (text: string) => string[];
12
+ isStringLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
13
+ isNumberLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
14
+ isBigIntLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
15
+ isAnyLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
16
+ isUnknownLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
17
+ isArrayLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
18
+ isStringArrayLikeTypeTexts: (typeTexts: readonly string[]) => boolean;
19
+ isPromiseLikeTypeTexts: (typeTexts: readonly string[], propertyNames?: readonly string[]) => boolean;
20
+ isErrorLikeTypeTexts: (typeTexts: readonly string[], propertyNames?: readonly string[]) => boolean;
20
21
  }>;
21
22
  //#endregion
22
23
  export { type TypeTextKind, Utils, classifyTypeText, isAnyLikeTypeTexts, isArrayLikeTypeTexts, isBigIntLikeTypeTexts, isErrorLikeTypeTexts, isNumberLikeTypeTexts, isPromiseLikeTypeTexts, isStringArrayLikeTypeTexts, isStringLikeTypeTexts, isUnknownLikeTypeTexts, splitTopLevelTypeText, splitTypeText, utils_d_exports };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corsa-oxlint",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Type-aware Oxlint helpers powered by Corsa",
5
5
  "homepage": "https://github.com/ubugeeei/corsa-bind/tree/main/src/bindings/nodejs/corsa_oxlint",
6
6
  "bugs": {
@@ -97,7 +97,7 @@
97
97
  "dependencies": {
98
98
  "@oxlint/plugins": "1.66.0",
99
99
  "oxlint": "1.66.0",
100
- "@corsa-bind/napi": "0.16.0"
100
+ "@corsa-bind/napi": "0.17.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@typescript-eslint/utils": "8.59.3"