This repository was archived by the owner on Aug 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +95
-55
lines changed Expand file tree Collapse file tree 4 files changed +95
-55
lines changed Original file line number Diff line number Diff line change 1
1
# rollup-plugin-node-resolve changelog
2
2
3
+ ## 5.0.4 (2019-06-22)
4
+
5
+ * Treat sideEffects array as inclusion list ([ #227 ] ( https://github.com/rollup/rollup-plugin-node-resolve/pull/227 ) by @mikeharder )
6
+
3
7
## 5.0.3 (2019-06-16)
4
8
5
9
* Make empty.js a virtual module ([ #224 ] ( https://github.com/rollup/rollup-plugin-node-resolve/pull/224 ) by @manucorporat )
Original file line number Diff line number Diff line change 7
7
"@babel/preset-env" : " ^7.4.5" ,
8
8
"@babel/register" : " ^7.4.4" ,
9
9
"es5-ext" : " ^0.10.50" ,
10
- "eslint" : " ^5.16 .0" ,
10
+ "eslint" : " ^6.0 .0" ,
11
11
"mocha" : " ^6.1.4" ,
12
- "rollup" : " ^1.13.0 " ,
12
+ "rollup" : " ^1.16.1 " ,
13
13
"rollup-plugin-babel" : " ^4.3.2" ,
14
14
"rollup-plugin-commonjs" : " ^10.0.0" ,
15
15
"rollup-plugin-json" : " ^4.0.0" ,
16
16
"string-capitalize" : " ^1.0.1" ,
17
- "typescript" : " ^3.5.1 "
17
+ "typescript" : " ^3.5.2 "
18
18
},
19
19
"main" : " dist/rollup-plugin-node-resolve.cjs.js" ,
20
20
"module" : " dist/rollup-plugin-node-resolve.es.js" ,
37
37
"@types/resolve" : " 0.0.8" ,
38
38
"builtin-modules" : " ^3.1.0" ,
39
39
"is-module" : " ^1.0.0" ,
40
- "resolve" : " ^1.11.0 " ,
41
- "rollup-pluginutils" : " ^2.8.0 "
40
+ "resolve" : " ^1.11.1 " ,
41
+ "rollup-pluginutils" : " ^2.8.1 "
42
42
},
43
43
"peerDependencies" : {
44
44
"rollup" : " >=1.11.0"
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ export default function nodeResolve ( options = {} ) {
263
263
} )
264
264
. then ( resolved => {
265
265
if ( resolved && packageBrowserField ) {
266
- if ( packageBrowserField . hasOwnProperty ( resolved ) ) {
266
+ if ( Object . prototype . hasOwnProperty . call ( packageBrowserField , resolved ) ) {
267
267
if ( ! packageBrowserField [ resolved ] ) {
268
268
browserMapCache . set ( resolved , packageBrowserField ) ;
269
269
return ES6_BROWSER_EMPTY ;
You can’t perform that action at this time.
0 commit comments