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 0.0.2-ALPHA to 0.0.3-ALPHA

2

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

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

//var process = require('process');
//console.dir(process.env);
var npm = require('npm');

@@ -76,4 +77,8 @@ var fs = require('fs');

var cwd = fs.realpathSync('.');
var relpath = path.join('node_modules',myname);
var isglobal = process.env.npm_config_global === 'true';
var relpath = isglobal ? cwd : path.join('node_modules',myname);
function advice() {

@@ -90,2 +95,7 @@ if(false /* nodever >= ### */) {

}
console.log("");
console.log("By the way, if you have full data, running this in node:");
// 9E8 is 10 days into January, so TimeZone independent
console.log("> new Intl.DateTimeFormat('es',{month:'long'}).format(new Date(9E8));");
console.log("... will show “enero”. If it shows “January” you don't have full data.");
}

@@ -95,3 +105,3 @@ }

if(fs.existsSync(icudat)) {
console.log('√ ' + icudat + ' Already there ( for Node ' + nodever + ' and small-icu ' + icuver + ')');
console.log('√ ' + icudat + ' Already there (for Node ' + nodever + ' and small-icu ' + icuver + ')');
advice();

@@ -98,0 +108,0 @@ } else {

@@ -8,2 +8,9 @@ Install full ICU data

or for global install:
npm install -g full-icu
Instructions will be printed out on how to activate this data for your version fo node.
MIRROR

@@ -10,0 +17,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