Comparing version 1.1.0 to 1.1.1
@@ -23,3 +23,3 @@ 'use strict'; | ||
if (os.platform() === 'win32') { | ||
try { | ||
var regedit = require('regedit'); | ||
@@ -46,6 +46,10 @@ | ||
}); | ||
} else { | ||
callback({ | ||
message: 'operating system unsupported' | ||
}); | ||
} catch (ex) { | ||
if (ex.code === 'MODULE_NOT_FOUND') { | ||
callback({ | ||
message: 'operating system (' + os.platform() + ') unsupported' | ||
}); | ||
return; | ||
} | ||
throw ex; | ||
} | ||
@@ -52,0 +56,0 @@ } |
{ | ||
"name": "cultura", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "formatting dates and numbers according to os settings", | ||
@@ -5,0 +5,0 @@ "engine": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10675
11
119
0