Socket
Socket
Sign inDemoInstall

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 3.1.1 to 3.1.2

12

lib/main.js

@@ -252,3 +252,3 @@ /* --------------------------------------------------------------------------------------------

result = JSON.parse(fs.readFileSync(bundle, { encoding: 'utf8', flag: 'r' }));
touch(bundle);
touch(root);
return result;

@@ -351,4 +351,10 @@ }

var header = JSON.parse(fs.readFileSync(headerFile, 'utf8'));
var nlsBundle = loadNlsBundle(header, bundlePath);
bundle = cacheBundle(bundlePath, nlsBundle ? { header: header, nlsBundle: nlsBundle } : null);
try {
var nlsBundle = loadNlsBundle(header, bundlePath);
bundle = cacheBundle(bundlePath, nlsBundle ? { header: header, nlsBundle: nlsBundle } : null);
}
catch (err) {
console.error('Failed to load nls bundle', err);
bundle = cacheBundle(bundlePath, null);
}
}

@@ -355,0 +361,0 @@ catch (err) {

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

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

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