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

rollup-pluginutils

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-pluginutils - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

6

CHANGELOG.md
# rollup-pluginutils changelog
## 2.3.2
*2017-09-18*
* Bumb micromatch dependency ([#36](https://github.com/rollup/rollup-pluginutils/issues/36))
* Bumb dependencies ([#41](https://github.com/rollup/rollup-pluginutils/issues/41))
* Split up tests ([#40](https://github.com/rollup/rollup-pluginutils/issues/40))
## 2.3.1

@@ -4,0 +10,0 @@ *2017-08-06*

2

dist/pluginutils.cjs.js

@@ -183,3 +183,3 @@ 'use strict';

function createFilter ( include, exclude ) {
var getMatcher = function (id) { return ( isRegexp( id ) ? id : { test: mm.matcher( path.resolve( id ) ) } ); };
var getMatcher = function (id) { return ( isRegexp( id ) ? id : { test: mm.matcher( path.resolve( id ).split ( path.sep ).join( '/' ) ) } ); };
include = ensureArray( include ).map( getMatcher );

@@ -186,0 +186,0 @@ exclude = ensureArray( exclude ).map( getMatcher );

@@ -177,3 +177,3 @@ import { extname, resolve, sep } from 'path';

function createFilter ( include, exclude ) {
var getMatcher = function (id) { return ( isRegexp( id ) ? id : { test: mm.matcher( resolve( id ) ) } ); };
var getMatcher = function (id) { return ( isRegexp( id ) ? id : { test: mm.matcher( resolve( id ).split ( sep ).join( '/' ) ) } ); };
include = ensureArray( include ).map( getMatcher );

@@ -180,0 +180,0 @@ exclude = ensureArray( exclude ).map( getMatcher );

{
"name": "rollup-pluginutils",
"description": "Functionality commonly needed by Rollup plugins",
"version": "2.3.1",
"version": "2.3.2",
"main": "dist/pluginutils.cjs.js",

@@ -14,8 +14,8 @@ "module": "dist/pluginutils.es.js",

"devDependencies": {
"eslint": "^4.19.1",
"eslint": "^5.6.0",
"husky": "^0.14.3",
"lint-staged": "^7.1.0",
"mocha": "^5.1.1",
"rollup": "^0.58.2",
"rollup-plugin-buble": "^0.15.0"
"lint-staged": "^7.2.2",
"mocha": "^5.2.0",
"rollup": "^0.66.0",
"rollup-plugin-buble": "^0.19.2"
},

@@ -34,3 +34,3 @@ "scripts": {

"estree-walker": "^0.5.2",
"micromatch": "^2.3.11"
"micromatch": "^3.1.10"
},

@@ -37,0 +37,0 @@ "repository": "rollup/rollup-pluginutils",

@@ -6,3 +6,3 @@ import { resolve, sep } from 'path';

export default function createFilter ( include, exclude ) {
const getMatcher = id => ( isRegexp( id ) ? id : { test: mm.matcher( resolve( id ) ) } );
const getMatcher = id => ( isRegexp( id ) ? id : { test: mm.matcher( resolve( id ).split ( sep ).join( '/' ) ) } );
include = ensureArray( include ).map( getMatcher );

@@ -9,0 +9,0 @@ exclude = ensureArray( exclude ).map( getMatcher );

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