Socket
Socket
Sign inDemoInstall

@poppinss/utils

Package Overview
Dependencies
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poppinss/utils - npm Package Compare versions

Comparing version 6.2.0-0 to 6.2.0

2

build/index.d.ts

@@ -15,4 +15,4 @@ /// <reference types="node" resolution-mode="require"/>

export { slash } from './src/slash.js';
export { RuntimeException } from './src/exceptions/runtime_exception.js';
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
export declare function getDirname(url: string | URL): string;
export declare function getFilename(url: string | URL): string;

@@ -16,3 +16,3 @@ import { fileURLToPath } from 'node:url';

export { slash } from './src/slash.js';
export { RuntimeException } from './src/exceptions/runtime_exception.js';
export { RuntimeException, InvalidArgumentExceptiom } from './src/exceptions/runtime_exception.js';
export function getDirname(url) {

@@ -19,0 +19,0 @@ return pathDirname(getFilename(url));

@@ -6,1 +6,5 @@ import { Exception } from '../exception.js';

}
export declare class InvalidArgumentExceptiom extends Exception {
static code: string;
static status: number;
}

@@ -6,1 +6,5 @@ import { Exception } from '../exception.js';

}
export class InvalidArgumentExceptiom extends Exception {
static code = 'E_INVALID_ARGUMENTS_EXCEPTION';
static status = 500;
}
{
"name": "@poppinss/utils",
"version": "6.2.0-0",
"version": "6.2.0",
"description": "Handy utilities for repetitive work",

@@ -63,8 +63,8 @@ "main": "build/index.js",

"@japa/spec-reporter": "^1.3.2",
"@swc/core": "^1.3.23",
"@swc/core": "^1.3.24",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.11.15",
"@types/node": "^18.11.18",
"c8": "^7.12.0",
"del-cli": "^5.0.0",
"eslint": "^8.29.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",

@@ -79,3 +79,3 @@ "eslint-plugin-adonis": "^3.0.3",

"move-file-cli": "^3.0.0",
"np": "^7.6.2",
"np": "^7.6.3",
"prettier": "^2.8.1",

@@ -93,3 +93,3 @@ "ts-node": "^10.9.1",

"pluralize": "^8.0.0",
"safe-stable-stringify": "^2.4.1",
"safe-stable-stringify": "^2.4.2",
"secure-json-parse": "^2.6.0",

@@ -96,0 +96,0 @@ "slash": "^5.0.0",

@@ -36,4 +36,4 @@ # @poppinss/utils

| ----------------- | --------------- |
| Source code size | `272K` (approx) |
| Dependencies size | `432K` (approx) |
| Source code size | `436K` (approx) |
| Dependencies size | `496K` (approx) |

@@ -1077,3 +1077,3 @@ ## Installation

[gh-workflow-image]: https://img.shields.io/github/workflow/status/poppinss/utils/test?style=for-the-badge
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/poppinss/utils/test.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/poppinss/utils/actions/workflows/test.yml 'Github action'

@@ -1080,0 +1080,0 @@ [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript

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