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

vue-intl

Package Overview
Dependencies
Maintainers
3
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-intl - npm Package Compare versions

Comparing version 6.0.13 to 6.0.14

4

index.js

@@ -5,4 +5,4 @@ "use strict";

var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./plugin"), exports);
tslib_1.__exportStar(require("./provider"), exports);
(0, tslib_1.__exportStar)(require("./plugin"), exports);
(0, tslib_1.__exportStar)(require("./provider"), exports);
var injection_key_1 = require("./injection-key");

@@ -9,0 +9,0 @@ Object.defineProperty(exports, "intlKey", { enumerable: true, get: function () { return injection_key_1.intlKey; } });

{
"name": "vue-intl",
"version": "6.0.13",
"version": "6.0.14",
"description": "formatjs intl binding for vue",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"@formatjs/intl": "1.14.3",
"@formatjs/intl": "1.15.0",
"tslib": "^2.1.0"

@@ -23,0 +23,0 @@ },

@@ -11,3 +11,3 @@ "use strict";

}
var intl = intl_1.createIntl(options);
var intl = (0, intl_1.createIntl)(options);
app.config.globalProperties.$intl = intl;

@@ -14,0 +14,0 @@ app.config.globalProperties.$formatMessage = intl.formatMessage;

@@ -7,7 +7,7 @@ "use strict";

function provideIntl(intl) {
vue_1.provide(injection_key_1.intlKey, intl);
(0, vue_1.provide)(injection_key_1.intlKey, intl);
}
exports.provideIntl = provideIntl;
function useIntl() {
var intl = vue_1.inject(injection_key_1.intlKey);
var intl = (0, vue_1.inject)(injection_key_1.intlKey);
if (!intl) {

@@ -14,0 +14,0 @@ throw new Error("An intl object was not injected. Install the plugin or use provideIntl.");

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