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

vscode-nls

Package Overview
Dependencies
Maintainers
1
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 1.0.0 to 1.0.1

ThirdPartyNotices.txt

6

lib/main.js

@@ -119,6 +119,4 @@ /* --------------------------------------------------------------------------------------------

else {
if (isDefined(json.messages) && isDefined(json.order)) {
var messages = [];
json.order.forEach(function (key) { return messages.push(json.messages[key]); });
return createScopedLocalizeFunction(messages);
if (isDefined(json.messages) && isDefined(json.keys)) {
return createScopedLocalizeFunction(json.messages);
}

@@ -125,0 +123,0 @@ else {

{
"name": "vscode-nls",
"version": "1.0.0",
"version": "1.0.1",
"description": "NPM module to externalize and localize VSCode extensions",

@@ -5,0 +5,0 @@ "author": "Microsoft Corporation",

@@ -18,3 +18,4 @@ # vscode-nls

console.log(localize('key', 'Hello World'));
console.log(localize('keyOne', "Hello World"));
console.log(localize('keyTwo', "Current Date {0}", Date.now()));
```

@@ -21,0 +22,0 @@

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