🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@intlify/bundle-utils

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intlify/bundle-utils - npm Package Compare versions

Comparing version

to
3.2.0

CHANGELOG.md

1

lib/check.d.ts
export declare type InstalledPackage = 'vue-i18n' | 'petite-vue-i18n';
export declare function checkInstallPackage(pkg: string, debug: Function): InstalledPackage;
export declare function checkVueI18nBridgeInstallPackage(debug: Function): boolean;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkInstallPackage = void 0;
exports.checkVueI18nBridgeInstallPackage = exports.checkInstallPackage = void 0;
// eslint-disable-next-line @typescript-eslint/ban-types

@@ -31,1 +31,14 @@ function checkInstallPackage(pkg, debug) {

exports.checkInstallPackage = checkInstallPackage;
// eslint-disable-next-line @typescript-eslint/ban-types
function checkVueI18nBridgeInstallPackage(debug) {
let ret = false;
try {
debug(`vue-i18n-bridge load path: ${require.resolve('vue-i18n-bridge')}`);
ret = true;
}
catch (e) {
debug(`cannot find 'vue-i18n-bridge'`, e);
}
return ret;
}
exports.checkVueI18nBridgeInstallPackage = checkVueI18nBridgeInstallPackage;

2

package.json
{
"name": "@intlify/bundle-utils",
"description": "Bundle utilities for Intlify project",
"version": "3.1.2",
"version": "3.2.0",
"author": {

@@ -6,0 +6,0 @@ "name": "kazuya kawaguchi",