i18next-browser-languagedetector
Advanced tools
Comparing version 7.1.0 to 7.2.0
@@ -0,1 +1,5 @@ | ||
### 7.2.0 | ||
- fix: separate cjs and mjs typings | ||
### 7.1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -96,5 +96,3 @@ 'use strict'; | ||
var c = ca[i]; | ||
while (c.charAt(0) === ' ') { | ||
c = c.substring(1, c.length); | ||
} | ||
while (c.charAt(0) === ' ') c = c.substring(1, c.length); | ||
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length); | ||
@@ -101,0 +99,0 @@ } |
@@ -89,5 +89,3 @@ import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck'; | ||
var c = ca[i]; | ||
while (c.charAt(0) === ' ') { | ||
c = c.substring(1, c.length); | ||
} | ||
while (c.charAt(0) === ' ') c = c.substring(1, c.length); | ||
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length); | ||
@@ -94,0 +92,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"7.1.0"} | ||
{"type":"module","version":"7.2.0"} |
@@ -13,10 +13,10 @@ (function (global, factory) { | ||
function _typeof(obj) { | ||
function _typeof(o) { | ||
"@babel/helpers - typeof"; | ||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | ||
return typeof obj; | ||
} : function (obj) { | ||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}, _typeof(obj); | ||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | ||
return typeof o; | ||
} : function (o) { | ||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | ||
}, _typeof(o); | ||
} | ||
@@ -143,5 +143,3 @@ | ||
var c = ca[i]; | ||
while (c.charAt(0) === ' ') { | ||
c = c.substring(1, c.length); | ||
} | ||
while (c.charAt(0) === ' ') c = c.substring(1, c.length); | ||
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length); | ||
@@ -148,0 +146,0 @@ } |
@@ -13,10 +13,10 @@ (function (global, factory) { | ||
function _typeof(obj) { | ||
function _typeof(o) { | ||
"@babel/helpers - typeof"; | ||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | ||
return typeof obj; | ||
} : function (obj) { | ||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}, _typeof(obj); | ||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | ||
return typeof o; | ||
} : function (o) { | ||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | ||
}, _typeof(o); | ||
} | ||
@@ -143,5 +143,3 @@ | ||
var c = ca[i]; | ||
while (c.charAt(0) === ' ') { | ||
c = c.substring(1, c.length); | ||
} | ||
while (c.charAt(0) === ' ') c = c.substring(1, c.length); | ||
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length); | ||
@@ -148,0 +146,0 @@ } |
{ | ||
"name": "i18next-browser-languagedetector", | ||
"version": "7.1.0", | ||
"version": "7.2.0", | ||
"description": "language detector used in browser environment for i18next", | ||
"main": "./dist/cjs/i18nextBrowserLanguageDetector.js", | ||
"module": "./dist/esm/i18nextBrowserLanguageDetector.js", | ||
"types": "./index.d.ts", | ||
"types": "./index.d.mts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./index.d.ts", | ||
"types": { | ||
"require": "./index.d.ts", | ||
"import": "./index.d.mts" | ||
}, | ||
"module": "./dist/esm/i18nextBrowserLanguageDetector.js", | ||
@@ -22,3 +25,3 @@ "import": "./dist/esm/i18nextBrowserLanguageDetector.js", | ||
"./esm": { | ||
"types": "./index.d.ts", | ||
"types": "./index.d.mts", | ||
"default": "./dist/esm/i18nextBrowserLanguageDetector.js" | ||
@@ -38,9 +41,9 @@ } | ||
"dependencies": { | ||
"@babel/runtime": "^7.19.4" | ||
"@babel/runtime": "^7.23.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.19.6", | ||
"@babel/plugin-transform-runtime": "^7.19.6", | ||
"@babel/preset-env": "^7.19.4", | ||
"@babel/eslint-parser": "^7.19.1", | ||
"@babel/core": "^7.23.3", | ||
"@babel/plugin-transform-runtime": "^7.23.3", | ||
"@babel/preset-env": "^7.23.3", | ||
"@babel/eslint-parser": "^7.23.3", | ||
"babel-polyfill": "^6.26.0", | ||
@@ -50,13 +53,13 @@ "babelify": "^10.0.0", | ||
"browserify-istanbul": "3.0.1", | ||
"chai": "4.3.6", | ||
"chai": "4.3.10", | ||
"coveralls": "3.1.1", | ||
"cpy-cli": "^4.2.0", | ||
"cpy-cli": "^5.0.0", | ||
"dtslint": "^4.2.1", | ||
"eslint": "8.26.0", | ||
"eslint": "8.53.0", | ||
"eslint-config-airbnb": "19.0.4", | ||
"expect.js": "0.3.1", | ||
"i18next": "23.2.3", | ||
"mkdirp": "1.0.4", | ||
"mocha": "10.1.0", | ||
"rimraf": "3.0.2", | ||
"i18next": "23.7.1", | ||
"mkdirp": "3.0.1", | ||
"mocha": "10.2.0", | ||
"rimraf": "5.0.5", | ||
"rollup": "^2.79.1", | ||
@@ -67,5 +70,5 @@ "@rollup/plugin-babel": "^5.3.1", | ||
"tslint": "^5.20.1", | ||
"tsd": "0.24.1", | ||
"typescript": "^4.8.4", | ||
"yargs": "17.6.0" | ||
"tsd": "0.29.0", | ||
"typescript": "5.1.3", | ||
"yargs": "17.7.2" | ||
}, | ||
@@ -72,0 +75,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87922
17
1657
Updated@babel/runtime@^7.23.2