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

patrun

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patrun - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json

@@ -18,3 +18,3 @@ {

"main": "patrun.js",
"version": "0.1.2",
"version": "0.1.3",
"scripts": {

@@ -21,0 +21,0 @@ "test": "./node_modules/.bin/jasmine-node ./test",

@@ -91,3 +91,7 @@ /* Copyright (c) 2013 Richard Rodger, MIT License, https://github.com/rjrodger/patrun */

self.find = function( pat ) {
self.findexact = function( pat ) {
return self.find( pat, true )
}
self.find = function( pat, exact ) {
var keymap = top

@@ -97,2 +101,3 @@ var data = null

var stars = []
var foundkeys = {}

@@ -105,2 +110,4 @@ do {

if( nextkeymap ) {
foundkeys[key]=true
if( keymap.s ) {

@@ -132,2 +139,6 @@ stars.push(keymap.s)

if( exact && _.keys(foundkeys).length != _.keys(pat).length ) {
data = null
}
return data

@@ -134,0 +145,0 @@ }

@@ -35,3 +35,3 @@ # patrun

Current Version: 0.1.2
Current Version: 0.1.3

@@ -38,0 +38,0 @@ Tested on: Node.js 0.10.19, Chrome 29

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