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

onix-core

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onix-core - npm Package Compare versions

Comparing version 1.7.0 to 1.7.2

10

dist/Intl.js

@@ -1,2 +0,2 @@

import * as warning from 'warning';
import warning from 'warning';
var defaultLocale = 'ru-ru';

@@ -13,3 +13,5 @@ var Intl = /** @class */ (function () {

}
Intl.currentLocale = defaultLocale;
else {
Intl.currentLocale = defaultLocale;
}
return Intl.currentLocale;

@@ -91,5 +93,7 @@ };

export { Intl };
Intl.setLocale(window.navigator.language);
if ((window !== undefined) && (window['navigator'])) {
Intl.setLocale(window.navigator.language);
}
export var _ = Intl.t;
export var __ = Intl.ts;
//# sourceMappingURL=Intl.js.map
{
"name": "onix-core",
"version": "1.7.0",
"version": "1.7.2",
"description": "Onix library core",

@@ -31,3 +31,4 @@ "main": "dist/index.js",

"@types/lodash-es": "^4.17.3",
"@types/node": "^7.10.9",
"@types/node": "^13.9.0",
"@types/warning": "^3.0.0",
"chai": "^4.2.0",

@@ -34,0 +35,0 @@ "clean-webpack-plugin": "^3.0.0",

@@ -1,2 +0,2 @@

import * as warning from 'warning';
import warning from 'warning';

@@ -28,6 +28,6 @@ declare type Locales = 'ru-ru' | 'en-us';

Intl.currentLocale = 'en-us';
} else {
Intl.currentLocale = defaultLocale;
}
Intl.currentLocale = defaultLocale;
return Intl.currentLocale;

@@ -126,5 +126,7 @@ };

Intl.setLocale(window.navigator.language);
if ((window !== undefined) && (window['navigator'])) {
Intl.setLocale(window.navigator.language);
}
export const _ = Intl.t;
export const __ = Intl.ts;

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