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

@jymfony/exceptions

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jymfony/exceptions - npm Package Compare versions

Comparing version 0.1.0-alpha.8 to 0.1.0-alpha.9

lib/UnexpectedValueException.js

1

index.js

@@ -8,1 +8,2 @@ require('./lib/Exception');

require('./lib/UnderflowException');
require('./lib/UnexpectedValueException');

2

package.json
{
"name": "@jymfony/exceptions",
"version": "0.1.0-alpha.8",
"version": "0.1.0-alpha.9",
"description": "Jymfony exception (core package)",

@@ -5,0 +5,0 @@ "main": "index.js",

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] BadMethodCallException', function () {

it('Is instance of Exception', function () {
return expect(new BadMethodCallException).to.be.an.instanceof(Exception);
return expect(new BadMethodCallException()).to.be.an.instanceof(Exception);
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -11,3 +11,3 @@ class TestException extends Exception {}

it('Is instance of Error', function () {
return expect(new Exception).to.be.an.instanceof(Error);
return expect(new Exception()).to.be.an.instanceof(Error);
});

@@ -20,5 +20,5 @@

it('Captures stack', function () {
let ex = new Exception;
const ex = new Exception();
return expect(ex.stack).to.be.not.empty;
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] InvalidArgumentException', function () {

it('Is instance of Exception', function () {
return expect(new InvalidArgumentException).to.be.an.instanceof(Exception);
return expect(new InvalidArgumentException()).to.be.an.instanceof(Exception);
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] LogicException', function () {

it('Is instance of Exception', function () {
return expect(new LogicException).to.be.an.instanceof(Exception);
return expect(new LogicException()).to.be.an.instanceof(Exception);
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] OutOfBoundsException', function () {

it('Is instance of Exception', function () {
return expect(new OutOfBoundsException).to.be.an.instanceof(Exception);
return expect(new OutOfBoundsException()).to.be.an.instanceof(Exception);
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] RuntimeException', function () {

it('Is instance of Exception', function () {
return expect(new RuntimeException).to.be.an.instanceof(Exception);
return expect(new RuntimeException()).to.be.an.instanceof(Exception);
});
});

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

let expect = require('chai').expect;
const expect = require('chai').expect;

@@ -9,4 +9,4 @@ describe('[Exceptions] UnderflowException', function () {

it('Is instance of Exception', function () {
return expect(new UnderflowException).to.be.an.instanceof(Exception);
return expect(new UnderflowException()).to.be.an.instanceof(Exception);
});
});
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