@magic/transmute 0.0.60 → 0.0.61
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/README.md +7 -1
- package/package.json +6 -6
- package/src/bin/runCli.js +2 -3
- package/src/index.js +2 -4
package/README.md
CHANGED
|
@@ -363,5 +363,11 @@ update dependencies
|
|
|
363
363
|
- add @magic/lint, add npm run tasks for tsc and lint, add oxlint.config and tsconfig files
|
|
364
364
|
- update multiple dependencies
|
|
365
365
|
|
|
366
|
-
|
|
366
|
+
##### 0.0.61
|
|
367
|
+
|
|
368
|
+
- sort imports
|
|
369
|
+
- update dependencies
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
[npm-image]: https://img.shields.io/npm/v/@magic/transmute.sv
|
|
367
373
|
[npm-url]: https://www.npmjs.com/package/@magic/transmute
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic/transmute",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"description": "convert markdown and html to magic function strings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@magic/entities": "0.0.19",
|
|
52
52
|
"@magic/log": "0.1.26",
|
|
53
53
|
"@magic/types": "0.1.42",
|
|
54
|
-
"marked": "18.2.
|
|
55
|
-
"oxfmt": "0.
|
|
54
|
+
"marked": "18.2.1",
|
|
55
|
+
"oxfmt": "0.79.0",
|
|
56
56
|
"posthtml-parser": "0.13.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@magic-modules/pre": "0.0.12",
|
|
63
63
|
"@magic-themes/docs": "0.0.15",
|
|
64
64
|
"@magic/core": "0.0.161",
|
|
65
|
-
"@magic/format": "0.0.
|
|
66
|
-
"@magic/lint": "0.0.
|
|
67
|
-
"@magic/test": "0.3.
|
|
65
|
+
"@magic/format": "0.0.82",
|
|
66
|
+
"@magic/lint": "0.0.6",
|
|
67
|
+
"@magic/test": "0.3.59"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": ">=14.15.4"
|
package/src/bin/runCli.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import path from 'path'
|
|
2
1
|
import fs from 'fs'
|
|
3
|
-
|
|
4
|
-
import { format } from 'oxfmt'
|
|
2
|
+
import path from 'path'
|
|
5
3
|
|
|
6
4
|
import log from '@magic/log'
|
|
7
5
|
import is from '@magic/types'
|
|
8
6
|
|
|
7
|
+
import { format } from 'oxfmt'
|
|
9
8
|
import transmute from '../index.js'
|
|
10
9
|
|
|
11
10
|
// oxfmt's format returns a promise, so the pretty path is async.
|
package/src/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { marked } from 'marked'
|
|
2
|
-
import { parser } from 'posthtml-parser'
|
|
3
|
-
|
|
4
1
|
import is from '@magic/types'
|
|
5
2
|
|
|
3
|
+
import { marked } from 'marked'
|
|
4
|
+
import { parser } from 'posthtml-parser'
|
|
6
5
|
import { findState, implantState } from './lib/index.js'
|
|
7
|
-
|
|
8
6
|
import * as renderers from './renderers/index.js'
|
|
9
7
|
|
|
10
8
|
/**
|