@effected/markdown 0.9.1 → 0.10.0
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.
- package/Markdown.js +1 -1
- package/package.json +5 -5
- package/tsdoc-metadata.json +1 -1
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.
|
|
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.
|
|
3
|
+
"version": "0.10.0",
|
|
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.
|
|
43
|
-
"@effected/toml": "^0.
|
|
44
|
-
"@effected/yaml": "^0.
|
|
45
|
-
"effect": "4.0.0-rc.
|
|
42
|
+
"@effected/jsonc": "^0.11.0",
|
|
43
|
+
"@effected/toml": "^0.7.0",
|
|
44
|
+
"@effected/yaml": "^0.15.0",
|
|
45
|
+
"effect": "4.0.0-rc.115"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@effected/jsonc": {
|