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 1.0.0 to 1.1.0

6

index.json

@@ -537,2 +537,8 @@ [

{
"name": "Montenegrin",
"iso6392B": "cnr",
"iso6392T": null,
"iso6391": null
},
{
"name": "Coptic",

@@ -539,0 +545,0 @@ "iso6392B": "cop",

43

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

@@ -28,23 +28,37 @@ "license": "MIT",

"devDependencies": {
"browserify": "^13.0.0",
"bail": "^1.0.0",
"browserify": "^16.0.0",
"concat-stream": "^1.5.2",
"d3-dsv": "^1.0.3",
"esmangle": "^1.0.1",
"remark-cli": "^2.0.0",
"remark-preset-wooorm": "^1.0.0",
"prettier": "^1.12.1",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.4.0",
"xo": "^0.17.0"
"xo": "^0.20.0"
},
"scripts": {
"build-crawl": "node build.js",
"build-md": "remark . --quiet --frail",
"generate": "node build",
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.json --bare -s iso6392 > iso-639-2.js",
"build-mangle": "esmangle iso-639-2.js > iso-639-2.min.js",
"build": "npm run build-crawl && npm run build-md && npm run build-bundle && npm run build-mangle",
"lint": "xo",
"test-api": "node test.js",
"test": "npm run build && npm run lint && npm run test-api"
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test": "npm run generate && npm run format && npm run build && npm run test-api"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"space": true,
"prettier": true,
"esnext": false,
"rules": {
"no-var": "off",
"prefer-arrow-callback": "off"
},
"ignores": [

@@ -55,5 +69,6 @@ "iso-639-2.js"

"remarkConfig": {
"output": true,
"presets": "wooorm"
"plugins": [
"preset-wooorm"
]
}
}

@@ -16,5 +16,5 @@ # iso-639-2 [![Build Status][build-badge]][build-page]

```javascript
var iso6392 = require('iso-639-2');
var iso6392 = require('iso-639-2')
var subset = iso6392.slice(121, 126);
iso6392.slice(121, 126)
```

@@ -53,11 +53,9 @@

### `Language`
#### `Language`
`Object.<string?>`:
* `iso6392B` (`string`) — Bibliographic code
* `iso6392T` (`string?`) — Terminologic code
* `iso6391` (`string?`) — ISO 639-1 code
* `name` (`string`) — Language name
* `iso6392B` (`string`) — Bibliographic code;
* `iso6392T` (`string?`) — Terminologic code;
* `iso6391` (`string?`) — ISO 639-1 code;
* `name` (`string`) — Language name.
## License

@@ -64,0 +62,0 @@

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