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

iso-639-2

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iso-639-2 - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

22

index.js
'use strict';
var Interface,
data;
/**
* Dependencies.
*/
var Interface;
Interface = require('datamap-interface');
data = require('./data/iso-639-2.json');
module.exports = new Interface(data);
/**
* Data.
*/
var words;
words = require('./data/iso-639-2.json');
/**
* Expose iso-639-2.
*/
module.exports = new Interface(words);

22

package.json
{
"name": "iso-639-2",
"version": "0.0.1",
"version": "0.1.0",
"description": "ISO-639-2 codes in an accessible format",

@@ -17,3 +17,3 @@ "license": "MIT",

"dependencies": {
"datamap-interface": "^0.1.0"
"datamap-interface": "^0.2.0"
},

@@ -33,15 +33,15 @@ "repository": {

"scripts": {
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports spec/iso-639-2.spec.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports spec/iso-639-2.spec.js",
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports test.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports test.js",
"lint": "npm run lint-api && npm run lint-test && npm run lint-style",
"lint-api": "node_modules/.bin/eslint index.js build-data.js build-support.js --env node --env browser --rule 'quotes: [2, single]'",
"lint-test": "node_modules/.bin/eslint spec/iso-639-2.spec.js --env node --env mocha --rule 'quotes: [2, single]'",
"lint-style": "node_modules/.bin/jscs index.js build-data.js build-support.js spec/iso-639-2.spec.js --reporter=inline",
"lint-api": "node_modules/.bin/eslint index.js script/build-data.js script/build-support.js --env node --env browser --rule 'quotes: [2, single]'",
"lint-test": "node_modules/.bin/eslint test.js --env node --env mocha --rule 'quotes: [2, single]'",
"lint-style": "node_modules/.bin/jscs index.js script/build-data.js script/build-support.js test.js --reporter=inline",
"scrape-data": "curl --connect-timeout 15 --max-time 20 -L http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt -o data/iso-639-2.txt || exit 0",
"build-data": "node build-data.js || exit 0",
"build-support": "node build-support.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- spec/iso-639-2.spec.js",
"prepublish": "npm run scrape-data && npm run build-data",
"build-data": "node script/build-data.js",
"build-support": "node script/build-support.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- test.js",
"prepublish": "npm run scrape-data && npm run build-data && npm run build-support",
"make": "npm run lint && npm run coverage"
}
}

@@ -49,3 +49,3 @@ # iso-639-2 [![Build Status](https://travis-ci.org/wooorm/iso-639-2.svg?branch=master)](https://travis-ci.org/wooorm/iso-639-2) [![Coverage Status](https://img.shields.io/coveralls/wooorm/iso-639-2.svg)](https://coveralls.io/r/wooorm/iso-639-2?branch=master)

See [Supported-codes.md](Supported-codes.md).
See [Support.md](Support.md).

@@ -52,0 +52,0 @@ ## License

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