File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 149149 "globalthis" : " npm:@socketregistry/globalthis@^1" ,
150150 "hasown" : " npm:@socketregistry/hasown@^1" ,
151151 "is-core-module" : " npm:@socketregistry/is-core-module@^1" ,
152+ "isarray" : " npm:@socketregistry/isarray@^1" ,
152153 "object.assign" : " npm:@socketregistry/object.assign@^1" ,
153154 "object.entries" : " npm:@socketregistry/object.entries@^1" ,
154155 "object.fromentries" : " npm:@socketregistry/object.fromentries@^1" ,
155156 "object.groupby" : " npm:@socketregistry/object.groupby@^1" ,
156157 "object.values" : " npm:@socketregistry/object.values@^1" ,
158+ "safe-buffer" : " npm:@socketregistry/safe-buffer@^1" ,
159+ "safer-buffer" : " npm:@socketregistry/safer-buffer@^1" ,
157160 "side-channel" : " npm:@socketregistry/side-channel@^1" ,
158161 "string.prototype.matchall" : " npm:@socketregistry/string.prototype.matchall@^1" ,
159162 "string.prototype.repeat" : " npm:@socketregistry/string.prototype.repeat@^1"
Original file line number Diff line number Diff line change 11export * from './cdxgen'
2- export * from './cleanup'
32export * from './info'
43export * from './login'
54export * from './logout'
65export * from './npm'
76export * from './npx'
7+ export * from './optimize'
88export * from './organization'
99export * from './raw-npm'
1010export * from './raw-npx'
Original file line number Diff line number Diff line change @@ -403,13 +403,13 @@ async function addOverrides(
403403 return aoState
404404}
405405
406- export const cleanup : CliSubcommand = {
406+ export const optimize : CliSubcommand = {
407407 description :
408- 'Cleanup the dependency graph by removing dependencies or swapping them out for simpler alternatives ' ,
408+ 'Optimize dependencies with @socketregistry overrides ' ,
409409 async run ( argv , importMeta , { parentName } ) {
410410 const commandContext = setupCommand (
411- `${ parentName } dependency cleanup ` ,
412- cleanup . description ,
411+ `${ parentName } dependency optimize ` ,
412+ optimize . description ,
413413 argv ,
414414 importMeta
415415 )
@@ -481,7 +481,7 @@ export const cleanup: CliSubcommand = {
481481 if ( count ) {
482482 console . log ( `Added ${ count } overrides!` )
483483 } else {
484- console . log ( 'Congratulations! No cleanup needed 🚀' )
484+ console . log ( 'Congratulations! No override optimizations needed 🚀' )
485485 }
486486 }
487487 }
You can’t perform that action at this time.
0 commit comments