@orgajs/reorg-rehype 3.0.9 → 4.0.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/dist/index.d.ts +0 -1
- package/dist/index.js +3 -8
- package/package.json +11 -11
- package/CHANGELOG.md +0 -132
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3
|
-
};
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const oast_to_hast_1 = __importDefault(require("oast-to-hast"));
|
|
1
|
+
import toHAST from 'oast-to-hast';
|
|
6
2
|
function reorg2rehype(options = {}) {
|
|
7
3
|
return transformer;
|
|
8
4
|
function transformer(node) {
|
|
9
|
-
return
|
|
5
|
+
return toHAST(node, options);
|
|
10
6
|
}
|
|
11
7
|
}
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
8
|
+
export default reorg2rehype;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orgajs/reorg-rehype",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "rehype support for orga",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
8
|
"main": "dist/index.js",
|
|
9
|
-
"
|
|
9
|
+
"type": "module",
|
|
10
|
+
"author": "Xiaoxing Hu <hi@xiaoxing.dev>",
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"homepage": "https://github.com/orgapp/orgajs/tree/main/packages/reorg-rehype#readme",
|
|
12
13
|
"repository": {
|
|
@@ -14,16 +15,15 @@
|
|
|
14
15
|
"url": "https://github.com/orgapp/orgajs.git",
|
|
15
16
|
"directory": "packages/reorg-rehype"
|
|
16
17
|
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "yarn clean && yarn compile",
|
|
19
|
-
"clean": "del ./dist tsconfig.tsbuildinfo",
|
|
20
|
-
"compile": "tsc -b"
|
|
21
|
-
},
|
|
22
18
|
"dependencies": {
|
|
23
|
-
"oast-to-hast": "
|
|
19
|
+
"oast-to-hast": "4.0.0"
|
|
24
20
|
},
|
|
25
21
|
"devDependencies": {
|
|
26
|
-
"@types/unist": "2.0.
|
|
27
|
-
"unified": "
|
|
22
|
+
"@types/unist": "^2.0.6",
|
|
23
|
+
"unified": "^10.1.2"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"clean": "tsc --build --clean",
|
|
27
|
+
"build": "tsc --build"
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
## 3.0.9
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [6c1ddb9f]
|
|
8
|
-
- oast-to-hast@3.2.0
|
|
9
|
-
|
|
10
|
-
## 3.0.8
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- oast-to-hast@3.1.6
|
|
15
|
-
|
|
16
|
-
## 3.0.7
|
|
17
|
-
|
|
18
|
-
### Patch Changes
|
|
19
|
-
|
|
20
|
-
- Updated dependencies [ae83a3b0]
|
|
21
|
-
- oast-to-hast@3.1.5
|
|
22
|
-
|
|
23
|
-
## 3.0.6
|
|
24
|
-
|
|
25
|
-
### Patch Changes
|
|
26
|
-
|
|
27
|
-
- oast-to-hast@3.1.4
|
|
28
|
-
|
|
29
|
-
## 3.0.5
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
- oast-to-hast@3.1.3
|
|
34
|
-
|
|
35
|
-
## 3.0.4
|
|
36
|
-
|
|
37
|
-
### Patch Changes
|
|
38
|
-
|
|
39
|
-
- Updated dependencies [19156b8a]
|
|
40
|
-
- oast-to-hast@3.1.2
|
|
41
|
-
|
|
42
|
-
## 3.0.3
|
|
43
|
-
|
|
44
|
-
### Patch Changes
|
|
45
|
-
|
|
46
|
-
- 7f209ff5: export Options type
|
|
47
|
-
- Updated dependencies [7f209ff5]
|
|
48
|
-
- oast-to-hast@3.1.1
|
|
49
|
-
|
|
50
|
-
## 3.0.2
|
|
51
|
-
|
|
52
|
-
### Patch Changes
|
|
53
|
-
|
|
54
|
-
- Updated dependencies [eeea0c54]
|
|
55
|
-
- oast-to-hast@3.1.0
|
|
56
|
-
|
|
57
|
-
## 3.0.1
|
|
58
|
-
|
|
59
|
-
### Patch Changes
|
|
60
|
-
|
|
61
|
-
- 6ed76057: # rename gatsby themes
|
|
62
|
-
|
|
63
|
-
- gatsby-theme-orga -> gatsby-theme-orga-posts-core
|
|
64
|
-
- gatsby-theme-blorg -> gatsby-theme-orga-posts
|
|
65
|
-
|
|
66
|
-
# add example projects
|
|
67
|
-
|
|
68
|
-
- gatsby-posts
|
|
69
|
-
- gatsby-posts-core
|
|
70
|
-
|
|
71
|
-
- 759e6149: # Bug Fixes
|
|
72
|
-
|
|
73
|
-
- fix lexer for parsing headline with todo keyword
|
|
74
|
-
- fix properties drawer issue
|
|
75
|
-
- fix orga-theme-ui-preset package
|
|
76
|
-
- fix gatsby-transformer-orga & gatsby-theme-blorg
|
|
77
|
-
|
|
78
|
-
# Improved Playground
|
|
79
|
-
|
|
80
|
-
- add `tokens` view
|
|
81
|
-
- show node type in tree views
|
|
82
|
-
|
|
83
|
-
- Updated dependencies [6ed76057]
|
|
84
|
-
- Updated dependencies [759e6149]
|
|
85
|
-
- oast-to-hast@3.0.1
|
|
86
|
-
|
|
87
|
-
## 3.0.0
|
|
88
|
-
|
|
89
|
-
### Major Changes
|
|
90
|
-
|
|
91
|
-
- 8b02d10: # Features
|
|
92
|
-
|
|
93
|
-
- more powerful and flexible lexer and parser
|
|
94
|
-
- webpack support
|
|
95
|
-
- `jsx` support
|
|
96
|
-
- better code block rendering
|
|
97
|
-
- better image processing in gatsby
|
|
98
|
-
- updated examples
|
|
99
|
-
- tons of bug fixes
|
|
100
|
-
- brand new `gatsby-plugin-orga`
|
|
101
|
-
|
|
102
|
-
### Patch Changes
|
|
103
|
-
|
|
104
|
-
- Updated dependencies [8b02d10]
|
|
105
|
-
- oast-to-hast@3.0.0
|
|
106
|
-
|
|
107
|
-
All notable changes to this project will be documented in this file.
|
|
108
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
109
|
-
|
|
110
|
-
# [2.6.0](https://github.com/orgapp/orgajs/compare/v2.5.0...v2.6.0) (2021-08-28)
|
|
111
|
-
|
|
112
|
-
### Bug Fixes
|
|
113
|
-
|
|
114
|
-
- remove prepublish step individually ([a75a6a9](https://github.com/orgapp/orgajs/commit/a75a6a9606421b66b6ef69b28e3fcb03a5ee282a))
|
|
115
|
-
|
|
116
|
-
## 2.4.9 (2021-07-13)
|
|
117
|
-
|
|
118
|
-
# [2.5.0](https://github.com/orgapp/orgajs/compare/v2.4.9...v2.5.0) (2021-08-27)
|
|
119
|
-
|
|
120
|
-
**Note:** Version bump only for package @orgajs/reorg-rehype
|
|
121
|
-
|
|
122
|
-
## [2.4.9](https://github.com/orgapp/orgajs/compare/v2.4.8...v2.4.9) (2021-07-13)
|
|
123
|
-
|
|
124
|
-
**Note:** Version bump only for package @orgajs/reorg-rehype
|
|
125
|
-
|
|
126
|
-
## [2.4.8](https://github.com/orgapp/orgajs/compare/v2.4.7...v2.4.8) (2021-04-26)
|
|
127
|
-
|
|
128
|
-
**Note:** Version bump only for package @orgajs/reorg-rehype
|
|
129
|
-
|
|
130
|
-
## [2.4.7](https://github.com/orgapp/orgajs/compare/v2.4.6...v2.4.7) (2021-04-26)
|
|
131
|
-
|
|
132
|
-
**Note:** Version bump only for package @orgajs/reorg-rehype
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,YAAY,EAAE,OAAO,EAAE,CAAA;AAEvB,iBAAS,YAAY,CAAC,OAAO,GAAE,OAAO,CAAC,OAAO,CAAM,GAAG,WAAW,CAKjE;AAED,eAAe,YAAY,CAAA"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,gEAA8C;AAK9C,SAAS,YAAY,CAAC,UAA4B,EAAE;IAClD,OAAO,WAAW,CAAA;IAClB,SAAS,WAAW,CAAC,IAAI;QACvB,OAAO,sBAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9B,CAAC;AACH,CAAC;AAED,kBAAe,YAAY,CAAA"}
|