Socket
Socket
Sign inDemoInstall

@total-typescript/ts-reset

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@total-typescript/ts-reset - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

build.ts

6

CHANGELOG.md
# @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 @@

6

dist/fetch.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc