Skip to content

Commit

Permalink
Bump js-yaml from 3.14.1 to 4.1.0 (#70)
Browse files Browse the repository at this point in the history
* Bump js-yaml from 3.14.1 to 4.1.0

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.1.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...4.1.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* js-yaml update fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shazron Abdullah <36107+shazron@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and shazron authored Jul 21, 2023
1 parent 76fef31 commit 04669a4
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@adobe/aio-lib-ims": "^6.0.1",
"@oclif/core": "^1.5.2",
"inquirer": "^8.2.5",
"js-yaml": "^3.13.1"
"js-yaml": "^4.1.0"
},
"repository": "adobe/aio-cli-plugin-events",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/BaseCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class BaseCommand extends Command {
printYaml (data) {
// clean undefined values
data = JSON.parse(JSON.stringify(data))
this.log(yaml.safeDump(data, { noCompatMode: true }))
this.log(yaml.dump(data, { noCompatMode: true }))
}

/**
Expand Down
6 changes: 3 additions & 3 deletions test/__fixtures__/eventmetadata/create.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
_links:
'rel:sample_event':
rel:sample_event:
href: >-
https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01/sample_event
'rel:update':
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/ID01/eventmetadata/com.adobe.CODE01
self:
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01'
href: https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01
label: LABEL01
description: DESC01
event_code: com.adobe.CODE01
Expand Down
6 changes: 3 additions & 3 deletions test/__fixtures__/eventmetadata/get.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
_links:
'rel:sample_event':
rel:sample_event:
href: >-
https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01/sample_event
'rel:update':
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/ID01/eventmetadata/com.adobe.CODE01
self:
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01'
href: https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01
label: LABEL01
description: DESC01
event_code: com.adobe.CODE01
Expand Down
10 changes: 5 additions & 5 deletions test/__fixtures__/eventmetadata/list.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
_links:
self:
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata'
href: https://api.adobe.io/events/providers/ID01/eventmetadata
_embedded:
eventmetadata:
- _links:
'rel:sample_event':
rel:sample_event:
href: >-
https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01/sample_event
'rel:update':
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/ID01/eventmetadata/com.adobe.CODE01
self:
Expand All @@ -17,10 +17,10 @@ _embedded:
label: LABEL01
event_code: com.adobe.CODE01
- _links:
'rel:sample_event':
rel:sample_event:
href: >-
https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE02/sample_event
'rel:update':
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/ID01/eventmetadata/com.adobe.CODE02
self:
Expand Down
6 changes: 3 additions & 3 deletions test/__fixtures__/eventmetadata/update.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
_links:
'rel:sample_event':
rel:sample_event:
href: >-
https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01/sample_event
'rel:update':
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/ID01/eventmetadata/com.adobe.CODE01
self:
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01'
href: https://api.adobe.io/events/providers/ID01/eventmetadata/com.adobe.CODE01
label: LABEL04
description: DESC04
event_code: com.adobe.CODE01
Expand Down
10 changes: 5 additions & 5 deletions test/__fixtures__/provider/create.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
_links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/ID01/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerOrgId/projectId/workspaceId/providers/ID01
self:
href: 'https://api.adobe.io/events/providers/ID01?eventmetadata=false'
href: https://api.adobe.io/events/providers/ID01?eventmetadata=false
id: ID01
label: LABEL01
description: DESC01
source: 'urn:uuid:ID01'
source: urn:uuid:ID01
docs_url: DOCS01
publisher: 123@AdobeOrg

10 changes: 5 additions & 5 deletions test/__fixtures__/provider/get.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
_links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/ID01/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerOrgId/projectId/workspaceId/providers/ID01
self:
href: 'https://api.adobe.io/events/providers/ID01?eventmetadata=false'
href: https://api.adobe.io/events/providers/ID01?eventmetadata=false
id: ID01
label: LABEL01
description: DESC01
source: 'urn:uuid:ID01'
source: urn:uuid:ID01
docs_url: DOCS01
publisher: 123@AdobeOrg

32 changes: 16 additions & 16 deletions test/__fixtures__/provider/list.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
_links:
self:
href: 'https://api.adobe.io/events/consumerOrgId/providers'
href: https://api.adobe.io/events/consumerOrgId/providers
_embedded:
providers:
- _links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/test-id-1/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/test-id-1/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/test-id-1
self:
href: 'https://api.adobe.io/events/providers/test-id-1'
href: https://api.adobe.io/events/providers/test-id-1
id: ID01
description: DESC01
label: LABEL01
source: 'urn:uuid:source1'
source: urn:uuid:source1
docs_url: DOCS01
publisher: Adobe
- _links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/test-id-2/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/test-id-2/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/test-id-2
self:
href: 'https://api.adobe.io/events/providers/test-id-2'
href: https://api.adobe.io/events/providers/test-id-2
id: ID02
description: DESC02
label: LABEL02
source: 'urn:uuid:source2'
source: urn:uuid:source2
docs_url: DOCS02
publisher: adobeOrg@AdobeOrg
- _links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/test-id-3/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/test-id-3/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerId/projectId/workspaceId/providers/test-id-3
self:
href: 'https://api.adobe.io/events/providers/test-id-3'
href: https://api.adobe.io/events/providers/test-id-3
id: ID03
description: DESC03
label: LABEL03
source: 'urn:uuid:source3'
source: urn:uuid:source3
docs_url: DOCS03
publisher: adobeOrg@AdobeOrg

10 changes: 5 additions & 5 deletions test/__fixtures__/provider/update.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
_links:
'rel:eventmetadata':
href: 'https://api.adobe.io/events/providers/ID01/eventmetadata'
'rel:update':
rel:eventmetadata:
href: https://api.adobe.io/events/providers/ID01/eventmetadata
rel:update:
href: >-
https://api.adobe.io/events/consumerOrgId/projectId/workspaceId/providers/ID01
self:
href: 'https://api.adobe.io/events/providers/ID01?eventmetadata=false'
href: https://api.adobe.io/events/providers/ID01?eventmetadata=false
id: ID01
label: LABEL04
description: DESC04
source: 'urn:uuid:ID01'
source: urn:uuid:ID01
publisher: 123@AdobeOrg

6 changes: 3 additions & 3 deletions test/__fixtures__/registration/create.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
_links:
'rel:events':
rel:events:
href: >-
https://events-va6.adobe.io/events/organizations/consumerOrgId/integrations/integrationId/REGID1
'rel:trace':
rel:trace:
href: >-
https://eventtraces-va6.adobe.io/traces/consumerOrgId/projectId/workspaceId/registration/REGID1
self:
Expand All @@ -12,7 +12,7 @@ id: 11111
name: bowling 1
description: let me know when we can go play bowling!
client_id: '1234654902189324798'
webhook_url: 'https://send-me-a-bowling-event.com/right-now'
webhook_url: https://send-me-a-bowling-event.com/right-now
webhook_status: verified
enabled: 'true'
events_of_interest:
Expand Down
6 changes: 3 additions & 3 deletions test/__fixtures__/registration/get.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
_links:
'rel:events':
rel:events:
href: >-
https://events-va6.adobe.io/events/organizations/consumerOrgId/integrations/integrationId/REGID1
'rel:trace':
rel:trace:
href: >-
https://eventtraces-va6.adobe.io/traces/consumerOrgId/projectId/workspaceId/registration/REGID1
self:
Expand All @@ -12,7 +12,7 @@ id: 11111
name: bowling 1
description: let me know when we can go play bowling!
client_id: '1234654902189324798'
webhook_url: 'https://send-me-a-bowling-event.com/right-now'
webhook_url: https://send-me-a-bowling-event.com/right-now
webhook_status: verified
enabled: 'true'
events_of_interest:
Expand Down
12 changes: 6 additions & 6 deletions test/__fixtures__/registration/list.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
_embedded:
registrations:
- _links:
'rel:events':
rel:events:
href: >-
https://events-va6.adobe.io/events/organizations/consumerOrgId/integrations/integrationId/REGID1
'rel:trace':
rel:trace:
href: >-
https://eventtraces-va6.adobe.io/traces/consumerOrgId/projectId/workspaceId/registration/REGID1
self:
Expand All @@ -14,7 +14,7 @@ _embedded:
name: Event Registration 1
description: let me know when we can go play bowling!
client_id: '1234654902189324798'
webhook_url: 'https://send-me-a-bowling-event.com/right-now'
webhook_url: https://send-me-a-bowling-event.com/right-now
webhook_status: verified
enabled: 'true'
events_of_interest:
Expand All @@ -29,10 +29,10 @@ _embedded:
created_date: '2020-06-12T13:53:59.363Z'
updated_date: '2020-06-12T13:53:59.363Z'
- _links:
'rel:events':
rel:events:
href: >-
https://events-va6.adobe.io/events/organizations/consumerOrgId/integrations/integrationId/REGID2
'rel:trace':
rel:trace:
href: >-
https://eventtraces-va6.adobe.io/traces/consumerOrgId/projectId/workspaceId/registration/REGID2
self:
Expand All @@ -42,7 +42,7 @@ _embedded:
name: Event Registration 2
description: registration for table tennis events
client_id: '1234654902189324798'
webhook_url: 'https://send-me-a-table-tennis-event.com/please'
webhook_url: https://send-me-a-table-tennis-event.com/please
webhook_status: verified
enabled: true
events_of_interest:
Expand Down

0 comments on commit 04669a4

Please sign in to comment.