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

full-icu

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

full-icu - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

install-spawn.js

@@ -10,2 +10,4 @@ // Copyright (C) 2015 IBM Corporation and Others. All Rights Reserved.

var isglobal = process.env.npm_config_global === 'true';
module.exports = function npmInstallNpm(fullIcu, advice) {

@@ -37,7 +39,12 @@ var icupkg = fullIcu.icupkg;

} else {
var datPath = path.join('node_modules','icu4c-data',icudat);
var datPath;
if(isglobal) {
datPath = path.join('..','icu4c-data',icudat);
} else {
datPath = path.join('node_modules','icu4c-data',icudat);
}
if(fs.existsSync(icudat)) {
console.log(' √ ' + icudat + " (existing symlink?)");
} else if(!fs.existsSync(datPath)) {
console.log(' • ' + ' (no ' + icudat + ')');
console.log(' • ' + ' (no ' + icudat + ' at ‘' + datPath+'’)');
} else {

@@ -44,0 +51,0 @@ try {

2

package.json
{
"name": "full-icu",
"version": "1.0.0",
"version": "1.0.1",
"description": "install 'full-icu' data for your current node",

@@ -5,0 +5,0 @@ "scripts": {

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