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

vscode-nls

Package Overview
Dependencies
Maintainers
9
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-nls - npm Package Compare versions

Comparing version 5.0.0-next.1 to 5.0.0-next.2

browser.d.ts

14

lib/browser/main.js
"use strict";
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ------------------------------------------------------------------------------------------ */
var __spreadArrays = (this && this.__spreadArrays) || function () {

@@ -10,6 +14,8 @@ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;

Object.defineProperty(exports, "__esModule", { value: true });
exports.config = exports.loadMessageBundle = void 0;
var ral_1 = require("../common/ral");
var common_1 = require("../common/common");
var common_2 = require("../common/common");
exports.MessageFormat = common_2.MessageFormat;
exports.BundleFormat = common_2.BundleFormat;
Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return common_2.MessageFormat; } });
Object.defineProperty(exports, "BundleFormat", { enumerable: true, get: function () { return common_2.BundleFormat; } });
function loadMessageBundle(_file) {

@@ -35,2 +41,6 @@ return function (key, message) {

exports.config = config;
ral_1.default.install(Object.freeze({
loadMessageBundle: loadMessageBundle,
config: config
}));
//# sourceMappingURL=main.js.map

@@ -68,2 +68,4 @@ export declare enum MessageFormat {

export declare function localize(_key: string | LocalizeInfo, message: string, ...args: any[]): string;
export declare function loadMessageBundle(file?: string): LocalizeFunc;
export declare function config(opts?: Options): LoadFunc;
//# sourceMappingURL=common.d.ts.map
"use strict";
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ------------------------------------------------------------------------------------------ */
Object.defineProperty(exports, "__esModule", { value: true });
exports.config = exports.loadMessageBundle = exports.localize = exports.format = exports.setPseudo = exports.isPseudo = exports.isDefined = exports.BundleFormat = exports.MessageFormat = void 0;
var ral_1 = require("./ral");
var MessageFormat;

@@ -66,2 +72,10 @@ (function (MessageFormat) {

exports.localize = localize;
function loadMessageBundle(file) {
return ral_1.default().loadMessageBundle(file);
}
exports.loadMessageBundle = loadMessageBundle;
function config(opts) {
return ral_1.default().config(opts);
}
exports.config = config;
//# sourceMappingURL=common.js.map

12

lib/node/main.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* --------------------------------------------------------------------------------------------

@@ -7,8 +6,11 @@ * Copyright (c) Microsoft Corporation. All rights reserved.

* ------------------------------------------------------------------------------------------ */
Object.defineProperty(exports, "__esModule", { value: true });
exports.config = exports.loadMessageBundle = void 0;
var path = require("path");
var fs = require("fs");
var ral_1 = require("../common/ral");
var common_1 = require("../common/common");
var common_2 = require("../common/common");
exports.MessageFormat = common_2.MessageFormat;
exports.BundleFormat = common_2.BundleFormat;
Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return common_2.MessageFormat; } });
Object.defineProperty(exports, "BundleFormat", { enumerable: true, get: function () { return common_2.BundleFormat; } });
var toString = Object.prototype.toString;

@@ -444,2 +446,6 @@ function isNumber(value) {

exports.config = config;
ral_1.default.install(Object.freeze({
loadMessageBundle: loadMessageBundle,
config: config
}));
//# sourceMappingURL=main.js.map
{
"name": "vscode-nls",
"version": "5.0.0-next.1",
"version": "5.0.0-next.2",
"description": "NPM module to externalize and localize VSCode extensions",

@@ -37,9 +37,12 @@ "author": "Microsoft Corporation",

"files": [
"common",
"browser",
"node",
"lib/common",
"lib/browser",
"lib/node"
"lib/node",
"!lib/*/test",
"!lib/**/*.tsbuildinfo",
"node.js",
"node.d.ts",
"browser.js",
"browser.d.ts"
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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