@@ -329,14 +329,14 @@ const updateSources = async () => {
329
329
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
330
330
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
331
331
output += "# sources last updated " + todayDate + " \n" ;
332
- output += yaml . safeDump ( { items : sourcesUpdated } , options ) ;
332
+ output += yaml . dump ( { items : sourcesUpdated } , options ) ;
333
333
fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/sources.yml` ) , output ) ;
334
334
335
335
// Create source-category mapping yaml file
336
336
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
337
337
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
338
338
output += "# source cateogries last updated " + todayDate + " \n" ;
339
- output += yaml . safeDump ( { items : sourceCategories } , options ) ;
339
+ output += yaml . dump ( { items : sourceCategories } , options ) ;
340
340
fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/source_categories.yml` ) , output ) ;
341
341
342
342
@@ -460,14 +460,14 @@ const updateDestinations = async () => {
460
460
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
461
461
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
462
462
output += "# destination data last updated " + todayDate + " \n" ;
463
- output += yaml . safeDump ( { items : destinationsUpdated } , options ) ;
463
+ output += yaml . dump ( { items : destinationsUpdated } , options ) ;
464
464
fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destinations.yml` ) , output ) ;
465
465
466
466
// Create destination-category mapping yaml file
467
467
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
468
468
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
469
469
output += "# destination categories last updated " + todayDate + " \n" ;
470
- output += yaml . safeDump ( { items : destinationCategories } , options ) ;
470
+ output += yaml . dump ( { items : destinationCategories } , options ) ;
471
471
fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/destination_categories.yml` ) , output ) ;
472
472
}
473
473
@@ -520,7 +520,7 @@ const updateWarehouses = async () => {
520
520
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
521
521
var todayDate = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ;
522
522
output += "# warehouse data last updated " + todayDate + " \n" ;
523
- output += yaml . safeDump ( { items : warehousesUpdated } , options ) ;
523
+ output += yaml . dump ( { items : warehousesUpdated } , options ) ;
524
524
fs . writeFileSync ( path . resolve ( __dirname , `../src/_data/catalog/warehouse_papi.yml` ) , output ) ;
525
525
526
526
}
0 commit comments