File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Changelog
55
66# 2.x release
77
8+ ## v2.6.2
9+
10+ - Fix: used full filename for main in package.json
11+ - Other: pinned codecov & teeny-request (had one breaking change with spread operators)
12+
813## v2.6.1
914
1015** This is an important security release. It is strongly recommended to update as soon as possible.**
Original file line number Diff line number Diff line change 11{
22 "name" : " node-fetch" ,
3- "version" : " 2.6.1 " ,
3+ "version" : " 2.6.2 " ,
44 "description" : " A light-weight module that brings window.fetch to node.js" ,
5- "main" : " lib/index" ,
5+ "main" : " lib/index.js " ,
66 "browser" : " ./browser.js" ,
77 "module" : " lib/index.mjs" ,
88 "files" : [
4848 "chai-as-promised" : " ^7.1.1" ,
4949 "chai-iterator" : " ^1.1.1" ,
5050 "chai-string" : " ~1.3.0" ,
51- "codecov" : " ^ 3.3.0" ,
51+ "codecov" : " 3.3.0" ,
5252 "cross-env" : " ^5.2.0" ,
5353 "form-data" : " ^2.3.3" ,
5454 "is-builtin-module" : " ^1.0.0" ,
6060 "rollup" : " ^0.63.4" ,
6161 "rollup-plugin-babel" : " ^3.0.7" ,
6262 "string-to-arraybuffer" : " ^1.0.2" ,
63+ "teeny-request" : " 3.7.0" ,
6364 "whatwg-url" : " ^5.0.0"
64- },
65- "dependencies" : {}
65+ }
6666}
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ export default {
1818 tweakDefault ( )
1919 ] ,
2020 external : function ( id ) {
21- if ( isBuiltin ( id ) ) {
22- return true ;
23- }
24- id = id . split ( '/' ) . slice ( 0 , id [ 0 ] === '@' ? 2 : 1 ) . join ( '/' ) ;
25- return ! ! require ( './package.json' ) . dependencies [ id ] ;
21+ return isBuiltin ( id ) ;
2622 }
2723} ;
You can’t perform that action at this time.
0 commit comments