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.5.0 to 0.5.1

8

package.json

@@ -18,5 +18,6 @@ {

"main": "patrun.js",
"version": "0.5.0",
"version": "0.5.1",
"scripts": {
"test": "./test.sh",
"test": "jasmine-node test",
"browser-test": "./test.sh",
"build": "./build.sh"

@@ -32,8 +33,9 @@ },

"dependencies": {
"lodash": "3.10.0",
"lodash": "4.15.0",
"gex": "0.2.2"
},
"devDependencies": {
"jasmine-node": "1.14.5",
"serve": "1.4.0"
}
}

@@ -1,2 +0,2 @@

/* Copyright (c) 2013-2015 Richard Rodger, MIT License, https://github.com/rjrodger/patrun */
/* Copyright (c) 2013-2016 Richard Rodger, MIT License, https://github.com/rjrodger/patrun */

@@ -120,4 +120,4 @@ ;(function() {

var g = keymap.g = keymap.g || {}
var ga = g[key] = g[key] || []
var g = (keymap.g = keymap.g || {})
var ga = (g[key] = g[key] || [])
ga.push( gexer )

@@ -188,5 +188,13 @@ ga.sort( function(a,b) {

if( exact && _.keys(foundkeys).length != patlen ) {
data = null
if( exact ) {
if( _.keys(foundkeys).length !== patlen ) {
data = null
}
}
else {
// If there's root data, return as a catch all
if( null == data && void 0 !== top.d ) {
data = top.d
}
}

@@ -202,2 +210,3 @@ if( finalfind ) {

self.remove = function( pat ) {

@@ -204,0 +213,0 @@ var keymap = top

@@ -38,6 +38,2 @@ # patrun

Current Version: 0.5.0
Tested on: node 0.10, 0.11, 0.12, iojs, Chrome 43, Safari 7, Firefox 38
[![Build Status](https://travis-ci.org/rjrodger/patrun.png?branch=master)](https://travis-ci.org/rjrodger/patrun)

@@ -44,0 +40,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