Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dcloudio/uni-i18n

Package Overview
Dependencies
Maintainers
7
Versions
1071
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcloudio/uni-i18n - npm Package Compare versions

Comparing version 0.0.5 to 2.0.0-31520210312001

8

dist/uni-i18n.cjs.js

@@ -172,10 +172,2 @@ 'use strict';

}
mergeLocaleMessage(locale, message) {
if (this.messages[locale]) {
Object.assign(this.messages[locale], message);
}
else {
this.messages[locale] = message;
}
}
t(key, locale, values) {

@@ -182,0 +174,0 @@ let message = this.message;

1

dist/uni-i18n.d.ts

@@ -19,3 +19,2 @@

watchLocale(fn: LocaleWatcher): () => void;
mergeLocaleMessage(locale: BuiltInLocale, message: Record<string, string>): void;
t(key: string, values?: Record<string, unknown> | Array<unknown> | BuiltInLocale): string;

@@ -22,0 +21,0 @@ t(key: string, locale?: BuiltInLocale, values?: Record<string, unknown> | Array<unknown>): string;

@@ -168,10 +168,2 @@ const isObject = (val) => val !== null && typeof val === 'object';

}
mergeLocaleMessage(locale, message) {
if (this.messages[locale]) {
Object.assign(this.messages[locale], message);
}
else {
this.messages[locale] = message;
}
}
t(key, locale, values) {

@@ -178,0 +170,0 @@ let message = this.message;

5

package.json
{
"name": "@dcloudio/uni-i18n",
"version": "0.0.5",
"version": "2.0.0-31520210312001",
"description": "@dcloudio/uni-i18n",

@@ -20,3 +20,4 @@ "main": "dist/uni-i18n.cjs.js",

"url": "https://github.com/dcloudio/uni-app/issues"
}
},
"gitHead": "b0c921d1444e6625bdfaba8f9e7061783a93d38f"
}
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