New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

en-wordnet

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

en-wordnet - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

CODE_OF_CONDUCT.md

5

index.js

@@ -1,7 +0,8 @@

const packager = require('./package.json')
const path = require('path')
const enWordnet = {
version: packager.wordnet.version,
"3.0": path.join(__dirname, 'database', '3.0'),
"3.1": path.join(__dirname, 'database', '3.1')
}
module.exports = enWordnet
const enWordnet = require('./index')
describe('Test if the package is usable', () => {
test('Check version number', () => {
expect(enWordnet.version).toBe("3.1")
test('Check path for both version exists', () => {
expect(enWordnet["3.0"]).toContain("en-wordnet/database/3.0")
expect(enWordnet["3.1"]).toContain("en-wordnet/database/3.1")
})
})

2

package.json
{
"name": "en-wordnet",
"version": "2.0.1",
"version": "2.0.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:open-language/en-wordnet.git",

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