Socket
Socket
Sign inDemoInstall

bumble-strings

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.2 to 0.6.3

test/compare.coffee

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## [0.6.3](https://github.com/littlebee/bumble-strings.git/compare/0.6.2...0.6.3) (2018-04-20)
Weakly compare now functions as the documentation says.
### Other Commits
* [17dd04f](https://github.com/littlebee/bumble-strings.git/commit/17dd04f3c50ac8e5095566e82cbffb8d41f4490f) add test and fix remaining bug in weaklyCompare
## [0.6.2](https://github.com/littlebee/bumble-strings.git/compare/0.6.1...0.6.2) (2018-04-20)

@@ -2,0 +8,0 @@ I th

8

lib/bumble-strings.js

@@ -155,11 +155,7 @@ // Generated by CoffeeScript 1.9.3

StringHelpers.weaklyCompare = function(str, otherStrings, options) {
StringHelpers.weaklyCompare = function(str, otherStr, options) {
if (options == null) {
options = {};
}
return this._withOneOrArray(otherStrings, (function(_this) {
return function(otherStr) {
return _this.weakValue(str, options).localeCompare(_this.weakValue(otherStr, options));
};
})(this));
return this.weakValue(str, options).localeCompare(this.weakValue(otherStr, options));
};

@@ -166,0 +162,0 @@

{
"name": "bumble-strings",
"version": "0.6.2",
"version": "0.6.3",
"description": "Some simple string helpers for testing weakly equality and more",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc