New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commander-spellbook

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commander-spellbook - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

6

CHANGELOG.md

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

# 0.13.1
`search`
- Fix bug where `:` could not be used in search terms
# 0.13.0

@@ -2,0 +8,0 @@

2

dist/normalize-string-input.js

@@ -6,5 +6,5 @@ "use strict";

.toLowerCase()
.replace(/[^a-zA-Z 0-9]+/g, "")
.replace(/[^a-zA-Z 0-9{}]+/g, "")
.trim();
}
exports.default = normalizeStringInput;

@@ -36,8 +36,10 @@ "use strict";

queries.forEach(function (group) {
var _a;
newQuery = newQuery.replace(group, "");
var operator = (group.match(OPERATOR_REGEX) || [":"])[0];
var pair = group.split(operator);
var key = (_a = pair[0]) === null || _a === void 0 ? void 0 : _a.toLowerCase().replace(/_/g, "");
var value = pair[1];
var indexOfOperator = group.indexOf(operator);
var key = group
.substring(0, indexOfOperator)
.toLowerCase()
.replace(/_/g, "");
var value = group.substring(indexOfOperator + 1, group.length);
if (value.length > 2) {

@@ -44,0 +46,0 @@ var firstChar = value.charAt(0);

{
"name": "commander-spellbook",
"version": "0.13.0",
"version": "0.13.1",
"description": "A wrapper for parsing the commander spellbook api.",

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

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