@orgajs/reorg-parse 3.1.6 → 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 CHANGED
@@ -1,4 +1,3 @@
1
1
  import { Plugin } from 'unified';
2
2
  declare const _parse: Plugin;
3
3
  export default _parse;
4
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- const orga_1 = require("orga");
1
+ import { parse } from 'orga';
3
2
  const _parse = function (options) {
4
3
  this.Parser = (doc) => {
5
- return orga_1.parse(doc, options);
4
+ return parse(doc, options);
6
5
  };
7
6
  };
8
- exports.default = _parse;
9
- //# sourceMappingURL=index.js.map
7
+ export default _parse;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@orgajs/reorg-parse",
3
- "version": "3.1.6",
3
+ "version": "4.0.0",
4
4
  "description": "orga parser for unifiedjs",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "dist/index.js",
9
- "author": "Xiaoxing Hu <xiaoxing@huxx.org>",
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-parse#readme",
12
13
  "repository": {
@@ -14,17 +15,15 @@
14
15
  "url": "https://github.com/orgapp/orgajs.git",
15
16
  "directory": "packages/reorg-parse"
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
- "orga": "3.2.0"
19
+ "orga": "^4.0.0"
24
20
  },
25
21
  "devDependencies": {
26
- "del-cli": "^3.0.1",
27
- "typescript": "^4.3.2",
28
- "unified": "9.2.2"
22
+ "typescript": "^5.0.4",
23
+ "unified": "^10.1.2"
24
+ },
25
+ "scripts": {
26
+ "clean": "tsc --build --clean",
27
+ "build": "tsc --build"
29
28
  }
30
- }
29
+ }
package/CHANGELOG.md DELETED
@@ -1,134 +0,0 @@
1
- # Change Log
2
-
3
- ## 3.1.6
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [6c1ddb9f]
8
- - orga@3.2.0
9
-
10
- ## 3.1.5
11
-
12
- ### Patch Changes
13
-
14
- - Updated dependencies [4bde5155]
15
- - orga@3.1.5
16
-
17
- ## 3.1.4
18
-
19
- ### Patch Changes
20
-
21
- - Updated dependencies [ae83a3b0]
22
- - orga@3.1.4
23
-
24
- ## 3.1.3
25
-
26
- ### Patch Changes
27
-
28
- - Updated dependencies [09a3b5c6]
29
- - orga@3.1.3
30
-
31
- ## 3.1.2
32
-
33
- ### Patch Changes
34
-
35
- - Updated dependencies [594bf16b]
36
- - orga@3.1.2
37
-
38
- ## 3.1.1
39
-
40
- ### Patch Changes
41
-
42
- - Updated dependencies [19156b8a]
43
- - orga@3.1.1
44
-
45
- ## 3.1.0
46
-
47
- ### Minor Changes
48
-
49
- - eeea0c54: introduce new token: empty line
50
-
51
- ### Patch Changes
52
-
53
- - Updated dependencies [eeea0c54]
54
- - orga@3.1.0
55
-
56
- ## 3.0.1
57
-
58
- ### Patch Changes
59
-
60
- - 6ed76057: # rename gatsby themes
61
-
62
- - gatsby-theme-orga -> gatsby-theme-orga-posts-core
63
- - gatsby-theme-blorg -> gatsby-theme-orga-posts
64
-
65
- # add example projects
66
-
67
- - gatsby-posts
68
- - gatsby-posts-core
69
-
70
- - 759e6149: # Bug Fixes
71
-
72
- - fix lexer for parsing headline with todo keyword
73
- - fix properties drawer issue
74
- - fix orga-theme-ui-preset package
75
- - fix gatsby-transformer-orga & gatsby-theme-blorg
76
-
77
- # Improved Playground
78
-
79
- - add `tokens` view
80
- - show node type in tree views
81
-
82
- - Updated dependencies [6ed76057]
83
- - Updated dependencies [759e6149]
84
- - orga@3.0.1
85
-
86
- ## 3.0.0
87
-
88
- ### Major Changes
89
-
90
- - 8b02d10: # Features
91
-
92
- - more powerful and flexible lexer and parser
93
- - webpack support
94
- - `jsx` support
95
- - better code block rendering
96
- - better image processing in gatsby
97
- - updated examples
98
- - tons of bug fixes
99
- - brand new `gatsby-plugin-orga`
100
-
101
- ### Patch Changes
102
-
103
- - Updated dependencies [8b02d10]
104
- - orga@3.0.0
105
-
106
- All notable changes to this project will be documented in this file.
107
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
108
-
109
- # [2.6.0](https://github.com/orgapp/orgajs/compare/v2.5.0...v2.6.0) (2021-08-28)
110
-
111
- ### Bug Fixes
112
-
113
- - lock unified & @types/unist version ([dc72217](https://github.com/orgapp/orgajs/commit/dc72217f0cfcd778436d704021116c8479f8ee1e))
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
- ### Bug Fixes
121
-
122
- - lock unified & @types/unist version ([dc72217](https://github.com/orgapp/orgajs/commit/dc72217f0cfcd778436d704021116c8479f8ee1e))
123
-
124
- ## [2.4.9](https://github.com/orgapp/orgajs/compare/v2.4.8...v2.4.9) (2021-07-13)
125
-
126
- **Note:** Version bump only for package @orgajs/reorg-parse
127
-
128
- ## [2.4.8](https://github.com/orgapp/orgajs/compare/v2.4.7...v2.4.8) (2021-04-26)
129
-
130
- **Note:** Version bump only for package @orgajs/reorg-parse
131
-
132
- ## [2.4.7](https://github.com/orgapp/orgajs/compare/v2.4.6...v2.4.7) (2021-04-26)
133
-
134
- **Note:** Version bump only for package @orgajs/reorg-parse
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEhC,QAAA,MAAM,MAAM,EAAE,MAIb,CAAA;AAED,eAAe,MAAM,CAAA"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,+BAA0C;AAG1C,MAAM,MAAM,GAAW,UAAU,OAA8B;IAC7D,IAAI,CAAC,MAAM,GAAG,CAAC,GAAW,EAAE,EAAE;QAC5B,OAAO,YAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;IAC5B,CAAC,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,MAAM,CAAA"}