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

decypher

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decypher - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

index.js

@@ -15,3 +15,3 @@ /**

Object.defineProperty(loader, 'version', {
value: '0.6.0'
value: '0.6.1'
});

@@ -18,0 +18,0 @@

{
"name": "decypher",
"version": "0.6.0",
"version": "0.6.1",
"description": "A handful of cypher utilities for Node.js",

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

@@ -97,3 +97,2 @@ [![Build Status](https://travis-ci.org/Yomguithereal/decypher.svg)](https://travis-ci.org/Yomguithereal/decypher)

// - multiple.cypher
decypher('./folder');

@@ -112,2 +111,4 @@ >>> {

Now that if what you want is only to parse cypher strings because you retrieved the files on your, own, you can alternatively use `decypher.parse`.
## Query builder

@@ -114,0 +115,0 @@

@@ -22,3 +22,3 @@ /**

var nm = line.match(/\/\/\s+name:(.*)/i);
var nm = line.match(/\/\/\s*name:(.*)/i);

@@ -41,8 +41,12 @@ // Name

if (~string.search(/\/\/\s?name:/i))
blocks = string.split(/(?=\/\/\s+name:)/ig);
if (/\/\/\s*name:/i.test(string))
blocks = string.split(/(?=\/\/\s*name:)/ig);
else
blocks = [string];
return blocks.map(parseBlock);
return blocks
.map(parseBlock)
.filter(function(data) {
return !!data.body;
});
}

@@ -49,0 +53,0 @@

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