Socket
Socket
Sign inDemoInstall

@xylabs/promise

Package Overview
Dependencies
Maintainers
7
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/promise - npm Package Compare versions

Comparing version 3.1.13 to 3.2.0

dist/neutral/fulfilled.d.cts

2

dist/browser/isPromise.d.ts

@@ -5,4 +5,4 @@ import { TypedValue } from './Typed';

}
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>>;
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>>;
export declare const isPromise: (value: unknown) => value is Promise<unknown>;
//# sourceMappingURL=isPromise.d.ts.map

@@ -5,4 +5,4 @@ import { TypedValue } from './Typed';

}
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>>;
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>>;
export declare const isPromise: (value: unknown) => value is Promise<unknown>;
//# sourceMappingURL=isPromise.d.ts.map

@@ -17,8 +17,8 @@ {

"require": {
"types": "./dist/node/index.d.cts",
"default": "./dist/node/index.cjs"
"types": "./dist/neutral/index.d.cts",
"default": "./dist/neutral/index.cjs"
},
"import": {
"types": "./dist/node/index.d.mts",
"default": "./dist/node/index.js"
"types": "./dist/neutral/index.d.mts",
"default": "./dist/neutral/index.js"
}

@@ -28,5 +28,5 @@ },

},
"main": "./dist/node/index.cjs",
"types": "./dist/node/index.d.ts",
"module": "./dist/node/index.js",
"main": "./dist/neutral/index.cjs",
"types": "./dist/neutral/index.d.ts",
"module": "./dist/neutral/index.js",
"homepage": "https://xylabs.com",

@@ -41,4 +41,4 @@ "keywords": [

"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.9.1",
"@xylabs/tsconfig": "^3.9.1",
"@xylabs/ts-scripts-yarn3": "^3.10.0",
"@xylabs/tsconfig": "^3.10.0",
"typescript": "^5.4.5"

@@ -57,4 +57,4 @@ },

"sideEffects": false,
"version": "3.1.13",
"version": "3.2.0",
"type": "module"
}

@@ -8,4 +8,3 @@ import { TypedValue } from './Typed'

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type AnyNonPromise<T = unknown> = Exclude<TypedValue, Promise<T>>
export type AnyNonPromise = Exclude<TypedValue, Promise<unknown>>

@@ -12,0 +11,0 @@ export const isPromise = (value: unknown): value is Promise<unknown> => {

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

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

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