@poppinss/utils
Advanced tools
Comparing version 6.3.0-0 to 6.3.1-0
@@ -15,4 +15,5 @@ /// <reference types="node" resolution-mode="require"/> | ||
export { slash } from './src/slash.js'; | ||
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js'; | ||
export { RuntimeException } from './src/exceptions/runtime_exception.js'; | ||
export { InvalidArgumentsException } from './src/exceptions/invalid_arguments_exception.js'; | ||
export declare function getDirname(url: string | URL): string; | ||
export declare function getFilename(url: string | URL): string; |
@@ -16,3 +16,4 @@ import { fileURLToPath } from 'node:url'; | ||
export { slash } from './src/slash.js'; | ||
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js'; | ||
export { RuntimeException } from './src/exceptions/runtime_exception.js'; | ||
export { InvalidArgumentsException } from './src/exceptions/invalid_arguments_exception.js'; | ||
export function getDirname(url) { | ||
@@ -19,0 +20,0 @@ return pathDirname(getFilename(url)); |
@@ -6,5 +6,1 @@ import { Exception } from '../exception.js'; | ||
} | ||
export declare class InvalidArgumentExceptiom extends Exception { | ||
static code: string; | ||
static status: number; | ||
} |
@@ -6,5 +6,1 @@ import { Exception } from '../exception.js'; | ||
} | ||
export class InvalidArgumentExceptiom extends Exception { | ||
static code = 'E_INVALID_ARGUMENTS_EXCEPTION'; | ||
static status = 500; | ||
} |
{ | ||
"name": "@poppinss/utils", | ||
"version": "6.3.0-0", | ||
"version": "6.3.1-0", | ||
"description": "Handy utilities for repetitive work", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
94636
71
993