Socket
Socket
Sign inDemoInstall

edge-error

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-error - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0-0

2

build/index.d.ts

@@ -1,2 +0,2 @@

import { ExceptionOptions } from './types';
import type { ExceptionOptions } from './types.js';
export declare class EdgeError extends Error {

@@ -3,0 +3,0 @@ message: string;

@@ -1,5 +0,10 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EdgeError = void 0;
class EdgeError extends Error {
/*
* edge-error
*
* (c) Edge
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export class EdgeError extends Error {
message;

@@ -22,2 +27,1 @@ code;

}
exports.EdgeError = EdgeError;

@@ -1,2 +0,2 @@

export declare type ExceptionOptions = {
export type ExceptionOptions = {
line: number;

@@ -3,0 +3,0 @@ col: number;

@@ -1,2 +0,9 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
* edge-error
*
* (c) Edge
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export {};
{
"name": "edge-error",
"version": "3.0.0",
"description": "Create errors with custom stack trace pointing to the .edge template file",
"version": "4.0.0-0",
"engines": {
"node": ">=18.16.0"
},
"main": "build/index.js",
"type": "module",
"files": [

@@ -18,43 +22,38 @@ "build/index.d.ts",

"pretest": "npm run lint",
"test": "npm run vscode:test",
"vscode:test": "node --require=@adonisjs/require-ts/build/register bin/test.ts",
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"compile": "npm run lint && npm run clean && tsc",
"build": "npm run compile",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"release": "np",
"version": "npm run build",
"sync-labels": "github-label-sync --labels .github/labels.js edge-js/error",
"format": "prettier --write .",
"prepublishOnly": "npm run build"
"sync-labels": "github-label-sync --labels .github/labels.json edge-js/error",
"quick:test": "node --enable-source-maps --loader=ts-node/esm bin/test.ts"
},
"keywords": [
"edge-error",
"edge.js"
],
"author": "virk",
"license": "MIT",
"devDependencies": {
"@adonisjs/require-ts": "^2.0.12",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@japa/assert": "^1.3.6",
"@japa/run-failed-tests": "^1.1.0",
"@japa/runner": "^2.2.1",
"@japa/spec-reporter": "^1.3.1",
"@types/node": "^18.7.18",
"@adonisjs/eslint-config": "^1.1.8",
"@adonisjs/prettier-config": "^1.1.8",
"@adonisjs/tsconfig": "^1.1.8",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@japa/assert": "2.0.0-1",
"@japa/runner": "3.0.0-6",
"@swc/core": "^1.3.70",
"@types/node": "^20.4.4",
"c8": "^8.0.0",
"del-cli": "^5.0.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-adonis": "^2.1.1",
"eslint-plugin-prettier": "^4.2.1",
"github-label-sync": "^2.2.0",
"husky": "^8.0.1",
"np": "^7.6.2",
"prettier": "^2.7.1",
"typescript": "^4.8.3"
"eslint": "^8.45.0",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"np": "^8.0.4",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"directories": {
"test": "test"
},
"author": "virk",
"license": "MIT",
"homepage": "https://github.com/edge-js/edge-error#readme",
"repository": {

@@ -67,8 +66,10 @@ "type": "git",

},
"homepage": "https://github.com/edge-js/edge-error#readme",
"np": {
"contents": ".",
"message": "chore(release): %s",
"anyBranch": false
"keywords": [
"edge-error",
"edge.js"
],
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"commitlint": {

@@ -79,32 +80,24 @@ "extends": [

},
"eslintConfig": {
"extends": [
"plugin:adonis/typescriptPackage",
"prettier"
"publishConfig": {
"access": "public",
"tag": "next"
},
"directories": {
"test": "test"
},
"np": {
"message": "chore(release): %s",
"tag": "next",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"eslintIgnore": [
"build"
],
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"useTabs": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 100
"exclude": [
"tests/**"
]
}
}
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