Socket
Socket
Sign inDemoInstall

full-icu

Package Overview
Dependencies
Maintainers
2
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.2.0 to 1.2.1

5

full-icu.js

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

var fs = require('fs');
var path = require('path');

@@ -82,3 +83,3 @@ if(!process || !process.versions || !process.versions.node) {

var haveDat = module.exports.haveDat = function haveDat(d) {
if(!d) d = icudat;
if(!d) d = path.resolve(__dirname, icudat);
return fs.existsSync(d);

@@ -88,3 +89,3 @@ }

var datPath = module.exports.datPath = function datPath(d) {
if(!d) d = icudat;
if(!d) d = path.resolve(__dirname, icudat);
if(haveDat(d)) return fs.realpathSync(d);

@@ -91,0 +92,0 @@ throw Error('Does not exist: ' + fs.realpathSync(d));

2

package.json
{
"name": "full-icu",
"version": "1.2.0",
"version": "1.2.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