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

@directus/errors

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@directus/errors - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/index.d.ts

@@ -174,3 +174,3 @@ import { Range } from '@directus/storage';

*/
declare const isDirectusError: <T = never, C extends string = string>(value: unknown, code?: C) => value is DirectusError<[T] extends [never] ? C extends ErrorCode ? ExtensionsMap[C] : unknown : T>;
declare const isDirectusError: <T = never, C extends string = string>(value: unknown, code?: C) => value is DirectusError<[T] extends [never] ? (C extends keyof ExtensionsMap ? ExtensionsMap[C] : unknown) : T>;

@@ -177,0 +177,0 @@ declare const ContentTooLargeError: DirectusErrorConstructor<void>;

{
"name": "@directus/errors",
"version": "1.0.0",
"version": "1.0.1",
"description": "Create consistent error objects around the codebase",

@@ -25,12 +25,12 @@ "repository": {

"ms": "2.1.3",
"@directus/storage": "11.0.0"
"@directus/storage": "11.0.1"
},
"devDependencies": {
"@types/ms": "0.7.34",
"@vitest/coverage-v8": "1.5.3",
"tsup": "8.2.2",
"typescript": "5.4.5",
"vitest": "1.5.3",
"@directus/random": "1.0.0",
"@directus/tsconfig": "2.0.0"
"@vitest/coverage-v8": "2.1.2",
"tsup": "8.3.0",
"typescript": "5.6.3",
"vitest": "2.1.2",
"@directus/tsconfig": "2.0.0",
"@directus/random": "1.0.0"
},

@@ -37,0 +37,0 @@ "scripts": {

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