File tree Expand file tree Collapse file tree 4 files changed +5
-12
lines changed
test/integration/size-limit/test Expand file tree Collapse file tree 4 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,9 @@ function getOptimizedAliases(
106
106
'object.assign/polyfill' : path . join ( shimAssign , 'polyfill.js' ) ,
107
107
'object.assign/shim' : path . join ( shimAssign , 'shim.js' ) ,
108
108
109
- // Replace: full URL polyfill with platform-based polyfill
110
- url : require . resolve ( 'native-url' ) ,
109
+ // TODO: re-enable when `native-url` supports Safari 10
110
+ // // Replace: full URL polyfill with platform-based polyfill
111
+ // url: require.resolve('native-url'),
111
112
}
112
113
)
113
114
}
Original file line number Diff line number Diff line change 115
115
"lru-cache" : " 5.1.1" ,
116
116
"mini-css-extract-plugin" : " 0.8.0" ,
117
117
"mkdirp" : " 0.5.1" ,
118
- "native-url" : " 0.2.6" ,
119
118
"node-fetch" : " 2.6.0" ,
120
119
"object-assign" : " 4.1.1" ,
121
120
"ora" : " 3.4.0" ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ describe('Production response size', () => {
80
80
)
81
81
82
82
// These numbers are without gzip compression!
83
- const delta = responseSizesBytes - 226 * 1024
83
+ const delta = responseSizesBytes - 233 * 1024
84
84
expect ( delta ) . toBeLessThanOrEqual ( 1024 ) // don't increase size more than 1kb
85
85
expect ( delta ) . toBeGreaterThanOrEqual ( - 1024 ) // don't decrease size more than 1kb without updating target
86
86
} )
@@ -100,7 +100,7 @@ describe('Production response size', () => {
100
100
)
101
101
102
102
// These numbers are without gzip compression!
103
- const delta = responseSizesBytes - 195 * 1024
103
+ const delta = responseSizesBytes - 201 * 1024
104
104
expect ( delta ) . toBeLessThanOrEqual ( 1024 ) // don't increase size more than 1kb
105
105
expect ( delta ) . toBeGreaterThanOrEqual ( - 1024 ) // don't decrease size more than 1kb without updating target
106
106
} )
Original file line number Diff line number Diff line change @@ -10918,13 +10918,6 @@ native-or-bluebird@^1.2.0:
10918
10918
resolved "https://registry.yarnpkg.com/native-or-bluebird/-/native-or-bluebird-1.2.0.tgz#39c47bfd7825d1fb9ffad32210ae25daadf101c9"
10919
10919
integrity sha1-OcR7/Xgl0fuf+tMiEK4l2q3xAck=
10920
10920
10921
- native-url@0.2.6:
10922
- version "0.2.6"
10923
- resolved "https://registry.yarnpkg.com/native-url/-/native-url-0.2.6.tgz#ca1258f5ace169c716ff44eccbddb674e10399ae"
10924
- integrity sha512-k4bDC87WtgrdD362gZz6zoiXQrl40kYlBmpfmSjwRO1VU0V5ccwJTlxuE72F6m3V0vc1xOf6n3UCP9QyerRqmA==
10925
- dependencies:
10926
- querystring "^0.2.0"
10927
-
10928
10921
natural-compare@^1.4.0:
10929
10922
version "1.4.0"
10930
10923
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
You can’t perform that action at this time.
0 commit comments