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

@springworks/error-factory

Package Overview
Dependencies
Maintainers
1
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@springworks/error-factory - npm Package Compare versions

Comparing version 2018.11.13-9.39.45 to 2018.11.13-15.44.56

6

index.d.ts

@@ -1,3 +0,3 @@

import { FelError } from './fel';
export { FelError } from './fel';
import { FelError } from '@springworks/fel';
export { FelError } from '@springworks/fel';
export interface CreateErrorParams {

@@ -10,2 +10,2 @@ code?: number;

}
export declare function createError(params?: CreateErrorParams): FelError;
export declare function createError(opt_params?: CreateErrorParams): FelError;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fel_1 = require("./fel");
const fel = require("@springworks/fel");
const internals_1 = require("./internals");
function createError(params = {}) {
function createError(opt_params) {
const params = opt_params || {};
if (!params.stack_from) {
params.stack_from = createError;
}
const error = fel_1.createError(params);
const error = fel.createError(params);
Object.defineProperties(error, {

@@ -11,0 +12,0 @@ toJSON: { value: internals_1.getOutputPayload, enumerable: true },

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

{"name":"@springworks/error-factory","main":"index.js","dependencies":{"boom":"7.2.0","joi":"13.6.0"},"version":"2018.11.13-09.39.45+b86d49959f457909a5d0fecd2cf9a810755a4c9a"}
{"name":"@springworks/error-factory","main":"index.js","dependencies":{"@springworks/fel":"2018.10.29-07.50.10+d38d2b98a852d64233c971d6f89f6ef28cedd614","boom":"7.2.0","joi":"13.6.0"},"version":"2018.11.13-15.44.56+d20f50d26de17de17b018833bc97877349913721"}
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