File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -80,9 +80,7 @@ export default function gulpRev() {
8080 reverseFilename = JSON . parse ( file . contents . toString ( ) ) . file ;
8181 } catch { }
8282
83- if ( ! reverseFilename ) {
84- reverseFilename = path . relative ( path . dirname ( file . path ) , path . basename ( file . path , '.map' ) ) ;
85- }
83+ reverseFilename ||= path . relative ( path . dirname ( file . path ) , path . basename ( file . path , '.map' ) ) ;
8684
8785 if ( pathMap [ reverseFilename ] ) {
8886 // Save the old path for later
Original file line number Diff line number Diff line change 1212 },
1313 "type" : " module" ,
1414 "exports" : " ./index.js" ,
15+ "sideEffects" : false ,
1516 "engines" : {
1617 "node" : " >=20"
1718 },
4243 "rev-hash" : " ^4.1.0" ,
4344 "rev-path" : " ^3.0.0" ,
4445 "sort-keys" : " ^6.0.0" ,
45- "vinyl" : " ^3.0.0 " ,
46+ "vinyl" : " ^3.0.1 " ,
4647 "vinyl-file" : " ^5.0.0"
4748 },
4849 "devDependencies" : {
4950 "ava" : " ^6.4.1" ,
5051 "p-event" : " ^7.0.0" ,
51- "xo" : " ^0.56.0 "
52+ "xo" : " ^1.2.3 "
5253 },
5354 "peerDependencies" : {
5455 "gulp" : " >=4"
You can’t perform that action at this time.
0 commit comments