Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/statuses

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

@types/statuses - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

statuses/index.d.ts

@@ -8,3 +8,3 @@ // Type definitions for statuses 2.0

type NumericAscii = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0';
type NumericAscii = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0";
type NonNumericAscii<S> = S extends `${NumericAscii}` ? never : any;

@@ -33,7 +33,5 @@

declare namespace status {
type Result<S extends string> = S extends IsNumericString<S>
? string
: S extends IsNonNumericString<S>
? number
type Result<S extends string> = S extends IsNumericString<S> ? string
: S extends IsNonNumericString<S> ? number
: string | number;
}
{
"name": "@types/statuses",
"version": "2.0.1",
"version": "2.0.2",
"description": "TypeScript definitions for statuses",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/statuses",

"dependencies": {},
"typesPublisherContentHash": "41283cc345cff03ce063d54e2f7f471529aa1782c9ff19057d84d57412d05694",
"typesPublisherContentHash": "7186665828f7d45e070e5a24e31407ab14f52d7a6a235c190c3e74bcb682e89e",
"typeScriptVersion": "4.7"
}

@@ -18,3 +18,3 @@ # Installation

type NumericAscii = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0';
type NumericAscii = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0";
type NonNumericAscii<S> = S extends `${NumericAscii}` ? never : any;

@@ -43,6 +43,4 @@

declare namespace status {
type Result<S extends string> = S extends IsNumericString<S>
? string
: S extends IsNonNumericString<S>
? number
type Result<S extends string> = S extends IsNumericString<S> ? string
: S extends IsNonNumericString<S> ? number
: string | number;

@@ -54,3 +52,3 @@ }

### Additional Details
* Last updated: Thu, 12 Jan 2023 00:02:46 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
* Dependencies: none

@@ -57,0 +55,0 @@ * Global values: none

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