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

interface

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interface - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "interface",
"version": "1.1.0",
"version": "1.1.1",
"description": "Enforce an interface on classes",

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

@@ -7,2 +7,8 @@ # Interface-js

### Installation
```bash
npm install --save interface
```
### Usage

@@ -9,0 +15,0 @@

@@ -11,3 +11,3 @@ var expect = require('chai').expect

function generateTestSuite () {
function applyTestSuite () {
it('should not allow an interface to be instantiated', function () {

@@ -99,3 +99,3 @@ try {

generateTestSuite()
applyTestSuite()
})

@@ -108,3 +108,3 @@

generateTestSuite()
applyTestSuite()
})

@@ -117,4 +117,4 @@

generateTestSuite()
applyTestSuite()
})
})
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