@total-typescript/ts-reset
Advanced tools
Comparing version 0.1.1 to 0.1.2
# @total-typescript/ts-reset | ||
## 0.1.2 | ||
### Patch Changes | ||
- 4cfb07e: Fixed build process and moved to .d.ts files | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -1,5 +0,3 @@ | ||
declare global { | ||
interface Body { | ||
json(): Promise<unknown>; | ||
} | ||
interface Body { | ||
json(): Promise<unknown>; | ||
} |
@@ -1,5 +0,3 @@ | ||
declare global { | ||
interface Array<T> { | ||
filter(predicate: BooleanConstructor, thisArg?: any): NonNullable<T>[]; | ||
} | ||
interface Array<T> { | ||
filter(predicate: BooleanConstructor, thisArg?: any): NonNullable<T>[]; | ||
} |
@@ -1,5 +0,3 @@ | ||
declare global { | ||
interface ArrayConstructor { | ||
isArray(arg: any): arg is unknown[]; | ||
} | ||
interface ArrayConstructor { | ||
isArray(arg: any): arg is unknown[]; | ||
} |
@@ -1,11 +0,12 @@ | ||
declare global { | ||
interface JSON { | ||
/** | ||
* Converts a JavaScript Object Notation (JSON) string into an object. | ||
* @param text A valid JSON string. | ||
* @param reviver A function that transforms the results. This function is called for each member of the object. | ||
* If a member contains nested objects, the nested objects are transformed before the parent object is. | ||
*/ | ||
parse(text: string, reviver?: (this: any, key: string, value: any) => any): unknown; | ||
} | ||
interface JSON { | ||
/** | ||
* Converts a JavaScript Object Notation (JSON) string into an object. | ||
* @param text A valid JSON string. | ||
* @param reviver A function that transforms the results. This function is called for each member of the object. | ||
* If a member contains nested objects, the nested objects are transformed before the parent object is. | ||
*/ | ||
parse( | ||
text: string, | ||
reviver?: (this: any, key: string, value: any) => any, | ||
): unknown; | ||
} |
@@ -1,4 +0,4 @@ | ||
import './json-parse.js'; | ||
import './fetch.js'; | ||
import './is-array.js'; | ||
import './filter-boolean.js'; | ||
/// <reference path="fetch.d.ts" /> | ||
/// <reference path="filter-boolean.d.ts" /> | ||
/// <reference path="is-array.d.ts" /> | ||
/// <reference path="json-parse.d.ts" /> |
{ | ||
"name": "@total-typescript/ts-reset", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -8,2 +8,3 @@ "main": "./dist/recommended.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
@@ -46,10 +47,11 @@ "require": "./dist/recommended.js", | ||
"@types/node": "^18.14.0", | ||
"tsup": "^6.6.3", | ||
"check-export-map": "^1.3.0", | ||
"tsx": "^3.12.3", | ||
"typescript": "^4.9.5" | ||
}, | ||
"scripts": { | ||
"build": "tsup", | ||
"lint": "tsc && node lint.js", | ||
"release": "pnpm run lint && pnpm run build && changeset publish" | ||
"build": "tsx build.ts", | ||
"lint": "tsc && tsx lint.ts && check-export-map", | ||
"release": "pnpm run build && pnpm run lint && changeset publish" | ||
} | ||
} |
@@ -93,4 +93,3 @@ { | ||
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ | ||
"skipLibCheck": true /* Skip type checking all .d.ts files. */ | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
16278
5
22
168