cloudevents-sdk
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -15,2 +15,7 @@ # Contributing to CloudEvents' JavaScript SDK | ||
## Changelog | ||
Always update the [CHANGELOG.md](./CHANGELOG.md), following | ||
[this semantics](https://keepachangelog.com/en/1.0.0/). | ||
## Pull Requests | ||
@@ -17,0 +22,0 @@ |
@@ -54,2 +54,6 @@ const Constants = require("./constants.js"); | ||
}; | ||
setterByAttribute[Constants.STRUCTURED_ATTRS_03.SUBJECT] = { | ||
name: "subject", | ||
parser: (v) => v | ||
}; | ||
setterByAttribute[Constants.STRUCTURED_ATTRS_03.DATA] = { | ||
@@ -56,0 +60,0 @@ name: "data", |
{ | ||
"name": "cloudevents-sdk", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "CloudEvents SDK for JavaScript", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
"ajv": "^6.7.0", | ||
"axios": "0.18.0", | ||
"axios": "0.18.1", | ||
"is-empty": "1.2.0", | ||
@@ -38,0 +38,0 @@ "uri-js": "4.2.2", |
@@ -8,2 +8,3 @@ [![licence](https://img.shields.io/github/license/cloudevents/sdk-javascript)](http://www.apache.org/licenses/LICENSE-2.0) | ||
[![dependencies](https://david-dm.org/cloudevents/sdk-javascript.svg)](https://david-dm.org/cloudevents/sdk-javascript) | ||
[![vulnerabilities](https://snyk.io/test/github/cloudevents/sdk-javascript/badge.svg)](https://snyk.io/test/github/cloudevents/sdk-javascript) | ||
@@ -16,2 +17,4 @@ # sdk-javascript | ||
__Checkout the [changelog](./CHANGELOG.md) to see what's going on!__ | ||
## Contributing | ||
@@ -18,0 +21,0 @@ |
@@ -12,3 +12,3 @@ var expect = require("chai").expect; | ||
const schemaurl = "http://cloudevents.io/schema.json"; | ||
const subject = "subject.ext"; | ||
const ceContentType = "application/json"; | ||
@@ -122,5 +122,6 @@ | ||
.source(source) | ||
.contenttype(ceContentType) | ||
.dataContentType(ceContentType) | ||
.time(now) | ||
.schemaurl(schemaurl) | ||
.subject(subject) | ||
.data(data) | ||
@@ -127,0 +128,0 @@ .toString(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164116
53
4359
436
+ Addedaxios@0.18.1(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedis-buffer@2.0.5(transitive)
- Removedaxios@0.18.0(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@0.18.1