@effected/markdown 0.9.2 → 0.10.1

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 (2) hide show
  1. package/Markdown.js +1 -1
  2. package/package.json +5 -5
package/Markdown.js CHANGED
@@ -387,7 +387,7 @@ var Markdown = class Markdown {
387
387
  * @returns A `Schema.Codec<Root, string>`.
388
388
  */
389
389
  static fromString(options) {
390
- return Schema.String.pipe(Schema.decodeTo(Root, SchemaTransformation.transformOrFail({
390
+ return Schema.String.pipe(Schema.decodeTo(Root, SchemaTransformation.transformEffect({
391
391
  decode: (input) => Effect.mapError(Markdown.parse(input, options), (error) => new SchemaIssue.InvalidValue({ message: error.message }, input)),
392
392
  encode: (value) => Effect.mapError(Markdown.stringify(value), (error) => new SchemaIssue.InvalidValue({ message: error.message }, value))
393
393
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/markdown",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "private": false,
5
5
  "description": "CommonMark and GFM markdown parse, edit and transform schemas for Effect",
6
6
  "keywords": [
@@ -39,10 +39,10 @@
39
39
  "./package.json": "./package.json"
40
40
  },
41
41
  "peerDependencies": {
42
- "@effected/jsonc": "^0.10.0",
43
- "@effected/toml": "^0.6.0",
44
- "@effected/yaml": "^0.14.0",
45
- "effect": "4.0.0-rc.112"
42
+ "@effected/jsonc": "^0.11.1",
43
+ "@effected/toml": "^0.7.1",
44
+ "@effected/yaml": "^0.15.2",
45
+ "effect": "4.0.0-rc.115"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@effected/jsonc": {