Socket
Socket
Sign inDemoInstall

accept-language

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accept-language - npm Package Compare versions

Comparing version 3.0.18 to 3.0.19

4

Build/Source/AcceptLanguage.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var bcp47 = require("bcp47");
var stable = require("stable");
var AcceptLanguage = /** @class */ (function () {

@@ -154,3 +153,3 @@ function AcceptLanguage() {

}
return result.length > 0 ? stable(result, function (a, b) {
return result.length > 0 ? result.sort(function (a, b) {
var quality = b.quality - a.quality;

@@ -170,2 +169,3 @@ if (quality != 0) {

})
// Filter non-defined language tags
.filter(function (languageTag) {

@@ -172,0 +172,0 @@ if (!languageTag) {

@@ -0,0 +0,0 @@

{
"name": "accept-language",
"version": "3.0.18",
"version": "3.0.19",
"description": "Accept-Language parser for nodejs",

@@ -30,9 +30,8 @@ "main": "Build/Source/AcceptLanguage.js",

"chai": "~1.9.1",
"mocha": "^2.2.5",
"mocha": "^10.7.3",
"source-map-support": "^0.4.18"
},
"dependencies": {
"bcp47": "^1.1.2",
"stable": "^0.1.6"
"bcp47": "^1.1.2"
}
}

@@ -0,0 +0,0 @@ accept-language [![Build Status](https://travis-ci.org/tinganho/node-accept-language.png)](https://travis-ci.org/tinganho/node-accept-language)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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