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

node-stringprep

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-stringprep - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

12

index.js
'use strict';
var log = require('debug')('node-stringprep')
// from unicode/uidna.h

@@ -16,2 +18,3 @@ var UIDNA_ALLOW_UNASSIGNED = 1

)
log(ex)
}

@@ -36,6 +39,7 @@

} catch (e) {
if (options.throwIfError)
if (options.throwIfError) {
throw e
else
} else {
return value
}
}

@@ -50,2 +54,3 @@ }

this.stringPrep = null
log('Operation does not exist', operation, e)
}

@@ -67,4 +72,5 @@ }

} catch (e) {}
if (false === this.useJsFallbacks)
if (false === this.useJsFallbacks) {
throw new Error(this.LIBICU_NOT_AVAILABLE)
}
return this.jsFallback()

@@ -71,0 +77,0 @@ }

{
"name": "node-stringprep",
"version": "0.5.2",
"version": "0.5.3",
"main": "index.js",

@@ -16,3 +16,4 @@ "description": "ICU StringPrep profiles",

"nan": "^1.2.0",
"bindings": "~1.1.1"
"bindings": "~1.1.1",
"debug": "^2.0.0"
},

@@ -19,0 +20,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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