Skip to content

Commit bb38c7e

Browse files
authored
Merge pull request #2877 from segmentio/develop
Release 22.19.1
2 parents 23ad842 + bf44197 commit bb38c7e

File tree

29 files changed

+802
-210
lines changed

29 files changed

+802
-210
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ catalog: catalog-papi
6262
# uses the old configapi
6363
.PHONY: capi
6464
capi: vendor/bundle
65-
@node scripts/catalog-capi.js
65+
@node scripts/catalog_capi.js
6666

6767
# shorter alias
6868
.PHONY: catalog-capi
6969
catalog-capi: vendor/bundle
70-
@node scripts/catalog-capi.js
70+
@node scripts/catalog_capi.js
7171

7272
# uses the new public api
7373
.PHONY: catalog-papi

scripts/catalog_capi.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,14 @@ const updateSources = async () => {
303303
var todayDate = new Date().toISOString().slice(0,10);
304304
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
305305
output += "# sources last updated " + todayDate + " \n";
306-
output += yaml.safeDump({ items: sourcesUpdated }, options);
306+
output += yaml.dump({ items: sourcesUpdated }, options);
307307
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/sources_capi.yml`), output);
308308

309309
// Create source-category mapping yaml file
310310
var todayDate = new Date().toISOString().slice(0,10);
311311
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
312312
output += "# source cateogries last updated " + todayDate + " \n";
313-
output += yaml.safeDump({ items: sourceCategories }, options);
313+
output += yaml.dump({ items: sourceCategories }, options);
314314
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/source_categories_capi.yml`), output);
315315
}
316316

@@ -413,14 +413,14 @@ const updateDestinations = async () => {
413413
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
414414
var todayDate = new Date().toISOString().slice(0,10);
415415
output += "# destination data last updated " + todayDate + " \n";
416-
output += yaml.safeDump({ items: destinationsUpdated }, options);
416+
output += yaml.dump({ items: destinationsUpdated }, options);
417417
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/destinations_capi.yml`), output);
418418

419419
// Create destination-category mapping yaml file
420420
output = "# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT\n"
421421
var todayDate = new Date().toISOString().slice(0,10);
422422
output += "# destination categories last updated " + todayDate + " \n";
423-
output += yaml.safeDump({ items: destinationCategories }, options);
423+
output += yaml.dump({ items: destinationCategories }, options);
424424
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/destination_categories_capi.yml`), output);
425425
}
426426

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2022-05-05
2+
# destination categories last updated 2022-05-10
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)