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

@santi100/assertion-lib

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@santi100/assertion-lib - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js
class AssertionError extends Error {
constructor(expected, actual, operator) {
super(`Assertion failed! Expected ${expected}. Got ${actual} when using operator ${operator}.`)
Object.setPrototypeOf(this, Object.assign(this, { expected, actual, operator }));
Object.assign(this, { expected, actual, operator });
}

@@ -6,0 +6,0 @@ }

{
"name": "@santi100/assertion-lib",
"version": "1.0.2",
"version": "1.0.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "Other",

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