@1mill/cloudevents 4.6.0 → 4.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/dist/index.cjs +0 -0
  4. package/dist/index.cjs.map +0 -0
  5. package/dist/index.modern.js +0 -0
  6. package/dist/index.modern.js.map +0 -0
  7. package/dist/index.module.js +0 -0
  8. package/dist/index.module.js.map +0 -0
  9. package/dist/index.umd.js +0 -0
  10. package/dist/index.umd.js.map +0 -0
  11. package/package.json +11 -8
  12. package/src/index.js +0 -0
  13. package/src/tests/constructor/data.test.js +0 -0
  14. package/src/tests/constructor/datacontenttype.test.js +0 -0
  15. package/src/tests/constructor/dataschema.test.js +0 -0
  16. package/src/tests/constructor/id.test.js +0 -0
  17. package/src/tests/constructor/originactor.test.js +0 -0
  18. package/src/tests/constructor/originatorid.test.js +0 -0
  19. package/src/tests/constructor/originid.test.js +0 -0
  20. package/src/tests/constructor/originsource.test.js +0 -0
  21. package/src/tests/constructor/origintime.test.js +0 -0
  22. package/src/tests/constructor/origintype.test.js +0 -0
  23. package/src/tests/constructor/source.test.js +0 -0
  24. package/src/tests/constructor/specversion.test.js +0 -0
  25. package/src/tests/constructor/subjest.test.js +0 -0
  26. package/src/tests/constructor/time.test.js +0 -0
  27. package/src/tests/constructor/type.test.js +0 -0
  28. package/src/tests/constructor/wschannelid.test.js +0 -0
  29. package/src/tests/methods/origin/originactor.test.js +0 -0
  30. package/src/tests/methods/origin/originid.test.js +0 -0
  31. package/src/tests/methods/origin/originsource.test.js +0 -0
  32. package/src/tests/methods/origin/origintime.test.js +0 -0
  33. package/src/tests/methods/origin/origintype.test.js +0 -0
  34. package/src/tests/methods/origin/unit.test.js +0 -0
  35. package/src/tests/methods/originator/originatorid.test.js +0 -0
  36. package/src/tests/methods/originator/unit.test.js +0 -0
  37. package/src/tests/methods/wschannel/unit.test.js +0 -0
  38. package/src/tests/methods/wschannel/wschannelid.test.js +0 -0
  39. package/src/unit.test.js +0 -0
  40. package/src/utils/fetchNodeEnv/index.js +0 -0
  41. package/src/utils/fetchNodeEnv/unit.test.js +0 -0
  42. package/src/utils/setAttribute/index.js +0 -0
  43. package/src/utils/setAttribute/unit.test.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog for @1mill/cloudevents
2
2
 
3
+ ## 4.7.1
4
+
5
+ * Update `nanoid` from `^3.3.4` to `^3.3.7`.
6
+ * Move `sinon-chai` to `devDependencies`.
7
+ * Update various `devDependencies`.
8
+
9
+ ## 4.6.1
10
+
11
+ * Fix spelling in `README.md`.
12
+
3
13
  ## 4.6.0
4
14
 
5
15
  * Add `cloudevent.originactor` attribute and support in `cloudevent.origin({...})` instance method.
package/README.md CHANGED
@@ -90,7 +90,7 @@ console.log(enrichedCloudevent)
90
90
  | originsource | | String | "source" property | |
91
91
  | origintime | | String | "time" property | "time" property is internally generated as part of the package |
92
92
  | origintype | | String | "type" property | |
93
- | originatorid | | String | | Depricated in favor of "originactor" |
93
+ | originatorid | | String | | Deprecated in favor of "originactor" |
94
94
  | wschannelid | | String | | |
95
95
 
96
96
  ### origin
package/dist/index.cjs CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.umd.js CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1mill/cloudevents",
3
- "version": "4.6.0",
3
+ "version": "4.6.2",
4
4
  "description": "Node cloudevents specification and helper",
5
5
  "jsnext:main": "dist/index.module.js",
6
6
  "main": "dist/index.cjs",
@@ -17,29 +17,32 @@
17
17
  "build": "rm -rf ./dist && npm run build:browser && npm run build:node",
18
18
  "build:browser": "microbundle --format modern,umd --external none",
19
19
  "build:node": "microbundle --format cjs,esm",
20
- "deploy": "npm run build && npm publish",
20
+ "deploy": "npm run build && npm publish --access public",
21
21
  "dev": "microbundle watch",
22
22
  "test:unit": "mocha \"src/**/*.test.js\" --recursive"
23
23
  },
24
24
  "homepage": "https://github.com/1mill/cloudevents",
25
+ "bugs": {
26
+ "url": "https://github.com/1mill/cloudevents/issues"
27
+ },
25
28
  "authors": [
26
29
  "Erik Ekberg <nightw0lf@hotmail.com>"
27
30
  ],
28
31
  "license": "MIT",
29
32
  "repository": {
30
33
  "type": "git",
31
- "url": "https://github.com/1mill/cloudevents.git"
34
+ "url": "git+https://github.com/1mill/cloudevents.git"
32
35
  },
33
36
  "dependencies": {
34
- "nanoid": "^3.3.4",
35
- "sinon-chai": "^3.7.0"
37
+ "nanoid": "^3.3.7"
36
38
  },
37
39
  "devDependencies": {
38
- "chai": "^4.3.6",
40
+ "chai": "^4.5.0",
39
41
  "chai-iso8601": "^1.0.0",
40
42
  "chai-subset": "^1.6.0",
41
43
  "microbundle": "^0.15.1",
42
- "mocha": "^10.0.0",
43
- "sinon": "^14.0.0"
44
+ "mocha": "^10.7.3",
45
+ "sinon": "^14.0.2",
46
+ "sinon-chai": "^3.7.0"
44
47
  }
45
48
  }
package/src/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/unit.test.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes