rollup-pluginutils
Advanced tools
Comparing version 2.3.0 to 2.3.1
# rollup-pluginutils changelog | ||
## 2.3.1 | ||
*2017-08-06* | ||
* Fixed ObjectPattern scope in attachScopes to recognise { ...rest } syntax ([#37](https://github.com/rollup/rollup-pluginutils/issues/37)) | ||
## 2.3.0 | ||
@@ -4,0 +8,0 @@ *2017-05-21* |
@@ -34,3 +34,7 @@ 'use strict'; | ||
param.properties.forEach( function (prop) { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
if ( prop.type === 'RestElement' ) { | ||
extractors.RestElement( names, prop ); | ||
} else { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
} | ||
}); | ||
@@ -37,0 +41,0 @@ }, |
@@ -28,3 +28,7 @@ import { extname, resolve, sep } from 'path'; | ||
param.properties.forEach( function (prop) { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
if ( prop.type === 'RestElement' ) { | ||
extractors.RestElement( names, prop ); | ||
} else { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
} | ||
}); | ||
@@ -31,0 +35,0 @@ }, |
{ | ||
"name": "rollup-pluginutils", | ||
"description": "Functionality commonly needed by Rollup plugins", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"main": "dist/pluginutils.cjs.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/pluginutils.es.js", |
@@ -19,3 +19,7 @@ import { walk } from 'estree-walker'; | ||
param.properties.forEach( prop => { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
if ( prop.type === 'RestElement' ) { | ||
extractors.RestElement( names, prop ); | ||
} else { | ||
extractors[ (prop.value || prop.key).type ]( names, prop.value || prop.key ); | ||
} | ||
}); | ||
@@ -22,0 +26,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33721
728