@khanacademy/pure-markdown 0.2.13 → 0.2.14

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/es/index.js CHANGED
@@ -18,7 +18,7 @@ function _extends() {
18
18
 
19
19
  // This file is processed by a Rollup plugin (replace) to inject the production
20
20
  const libName = "@khanacademy/pure-markdown";
21
- const libVersion = "0.2.13";
21
+ const libVersion = "0.2.14";
22
22
  addLibraryVersionToPerseusDebug(libName, libVersion);
23
23
 
24
24
  const rWidgetRule = /^\[\[\u2603 (([a-z-]+) ([0-9]+))\]\]/;
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ var SimpleMarkdown__default = /*#__PURE__*/_interopDefaultLegacy(SimpleMarkdown)
11
11
 
12
12
  // This file is processed by a Rollup plugin (replace) to inject the production
13
13
  const libName = "@khanacademy/pure-markdown";
14
- const libVersion = "0.2.13";
14
+ const libVersion = "0.2.14";
15
15
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
16
16
 
17
17
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "SimpleMarkdown instance with non-react Perseus rules",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "0.2.13",
6
+ "version": "0.2.14",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -18,13 +18,16 @@
18
18
  "module": "dist/es/index.js",
19
19
  "main": "dist/index.js",
20
20
  "source": "src/index.ts",
21
+ "files": [
22
+ "dist"
23
+ ],
21
24
  "scripts": {
22
25
  "test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
23
26
  },
24
27
  "dependencies": {
25
- "@khanacademy/perseus-core": "1.4.1",
26
- "@khanacademy/perseus-error": "^0.2.9",
27
- "@khanacademy/simple-markdown": "^0.11.2"
28
+ "@khanacademy/perseus-core": "1.4.2",
29
+ "@khanacademy/perseus-error": "^0.2.10",
30
+ "@khanacademy/simple-markdown": "^0.11.3"
28
31
  },
29
32
  "devDependencies": {},
30
33
  "peerDependencies": {},
package/.eslintrc.js DELETED
@@ -1,12 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- /* eslint-disable import/no-commonjs */
3
- const path = require("path");
4
-
5
- module.exports = {
6
- rules: {
7
- "import/no-extraneous-dependencies": [
8
- "error",
9
- {packageDir: [__dirname, path.join(__dirname, "../../")]},
10
- ],
11
- },
12
- };
package/CHANGELOG.md DELETED
@@ -1,178 +0,0 @@
1
- # @khanacademy/pure-markdown
2
-
3
- ## 0.2.13
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`1f4e17ba`](https://github.com/Khan/perseus/commit/1f4e17ba77e1491523813655af18a70285a25989), [`8857950b`](https://github.com/Khan/perseus/commit/8857950bdeeb6e13bc3766b1c6545289b21cbe2a)]:
8
- - @khanacademy/perseus-core@1.4.1
9
- - @khanacademy/perseus-error@0.2.9
10
- - @khanacademy/simple-markdown@0.11.2
11
-
12
- ## 0.2.12
13
-
14
- ### Patch Changes
15
-
16
- - [#814](https://github.com/Khan/perseus/pull/814) [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Minor build change to how we provide Typescript type definitions (should be no change to build output).
17
-
18
- - Updated dependencies [[`a91c84fe`](https://github.com/Khan/perseus/commit/a91c84fe53827ff4333220777a9918882b7fe9f0), [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c)]:
19
- - @khanacademy/perseus-core@1.4.0
20
- - @khanacademy/perseus-error@0.2.8
21
- - @khanacademy/simple-markdown@0.11.1
22
-
23
- ## 0.2.11
24
-
25
- ### Patch Changes
26
-
27
- - Updated dependencies [[`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c), [`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c)]:
28
- - @khanacademy/simple-markdown@0.11.0
29
-
30
- ## 0.2.10
31
-
32
- ### Patch Changes
33
-
34
- - Updated dependencies [[`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1)]:
35
- - @khanacademy/perseus-core@1.3.0
36
- - @khanacademy/perseus-error@0.2.7
37
- - @khanacademy/simple-markdown@0.10.4
38
-
39
- ## 0.2.9
40
-
41
- ### Patch Changes
42
-
43
- - Updated dependencies [[`376eb0e4`](https://github.com/Khan/perseus/commit/376eb0e4aaaa4c7a90fd6107a84bb74d382b077c)]:
44
- - @khanacademy/perseus-core@1.2.0
45
- - @khanacademy/perseus-error@0.2.6
46
- - @khanacademy/simple-markdown@0.10.3
47
-
48
- ## 0.2.8
49
-
50
- ### Patch Changes
51
-
52
- - Updated dependencies [22a9c408]
53
- - @khanacademy/perseus-core@1.1.2
54
- - @khanacademy/perseus-error@0.2.5
55
- - @khanacademy/simple-markdown@0.10.2
56
-
57
- ## 0.2.7
58
-
59
- ### Patch Changes
60
-
61
- - 55d4cd00: Print package name and version when loaded in the page
62
- - Updated dependencies [55d4cd00]
63
- - @khanacademy/perseus-core@1.1.1
64
- - @khanacademy/perseus-error@0.2.4
65
- - @khanacademy/simple-markdown@0.10.1
66
-
67
- ## 0.2.6
68
-
69
- ### Patch Changes
70
-
71
- - 388b6506: Move comment for mathMatcher to connect to it (so editors display it correctly).
72
- - Updated dependencies [388b6506]
73
- - @khanacademy/perseus-error@0.2.3
74
-
75
- ## 0.2.5
76
-
77
- ### Patch Changes
78
-
79
- - Updated dependencies [a383823d]
80
- - @khanacademy/perseus-error@0.2.2
81
-
82
- ## 0.2.4
83
-
84
- ### Patch Changes
85
-
86
- - ce5e6297: Upgrade wonder-blocks deps to package versions without Flow types
87
- - Updated dependencies [afb14cff]
88
- - Updated dependencies [ce5e6297]
89
- - Updated dependencies [0993a46b]
90
- - @khanacademy/simple-markdown@0.10.0
91
-
92
- ## 0.2.3
93
-
94
- ### Patch Changes
95
-
96
- - Updated dependencies [22c5d564]
97
- - @khanacademy/simple-markdown@0.9.3
98
-
99
- ## 0.2.2
100
-
101
- ### Patch Changes
102
-
103
- - Updated dependencies [77391aa8]
104
- - @khanacademy/simple-markdown@0.9.2
105
-
106
- ## 0.2.1
107
-
108
- ### Patch Changes
109
-
110
- - 1f062e98: Bump all package versions since the build settings have been updated
111
- - Updated dependencies [1f062e98]
112
- - @khanacademy/perseus-error@0.2.1
113
- - @khanacademy/simple-markdown@0.9.1
114
-
115
- ## 0.2.0
116
-
117
- ### Minor Changes
118
-
119
- - 53fd3768: Migrate source code to TypeScript
120
-
121
- ### Patch Changes
122
-
123
- - Updated dependencies [53fd3768]
124
- - @khanacademy/perseus-error@0.2.0
125
- - @khanacademy/simple-markdown@0.9.0
126
-
127
- ## 0.1.5
128
-
129
- ### Patch Changes
130
-
131
- - Updated dependencies [a1b4ab3c]
132
- - @khanacademy/perseus-error@0.1.5
133
-
134
- ## 0.1.4
135
-
136
- ### Patch Changes
137
-
138
- - Updated dependencies [6a7f36be]
139
- - @khanacademy/perseus-error@0.1.4
140
-
141
- ## 0.1.3
142
-
143
- ### Patch Changes
144
-
145
- - f567f660: Update the eslint config to look at both the package.json for the package and the one from the root
146
- - Updated dependencies [f567f660]
147
- - Updated dependencies [eeaa9010]
148
- - @khanacademy/perseus-error@0.1.3
149
- - @khanacademy/simple-markdown@0.8.6
150
-
151
- ## 0.1.2
152
-
153
- ### Patch Changes
154
-
155
- - bf180fe1: Fix our use of import/no-extraneous-dependencies
156
- - Updated dependencies [bf180fe1]
157
- - @khanacademy/perseus-error@0.1.2
158
- - @khanacademy/simple-markdown@0.8.5
159
-
160
- ## 0.1.1
161
-
162
- ### Patch Changes
163
-
164
- - 98d283ff: Fix storybook
165
- - Updated dependencies [98d283ff]
166
- - @khanacademy/perseus-error@0.1.1
167
- - @khanacademy/simple-markdown@0.8.4
168
-
169
- ## 0.1.0
170
-
171
- ### Minor Changes
172
-
173
- - a4f10ace: Move Gorgon, PerseusError, PureMarkdown into their own packages
174
-
175
- ### Patch Changes
176
-
177
- - Updated dependencies [a4f10ace]
178
- - @khanacademy/perseus-error@0.1.0
@@ -1,113 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`pure markdown parser should parse titled table with unescaped dollars 1`] = `
4
- [
5
- {
6
- "table": {
7
- "align": [
8
- null,
9
- null,
10
- null,
11
- ],
12
- "cells": [
13
- [
14
- [
15
- {
16
- "content": "data 1",
17
- "type": "text",
18
- },
19
- ],
20
- [
21
- {
22
- "content": "data 2",
23
- "type": "text",
24
- },
25
- ],
26
- [
27
- {
28
- "content": "data 3",
29
- "type": "text",
30
- },
31
- ],
32
- ],
33
- [
34
- [
35
- {
36
- "content": "data 4",
37
- "type": "text",
38
- },
39
- ],
40
- [
41
- {
42
- "type": "unescapedDollar",
43
- },
44
- {
45
- "content": "data 5",
46
- "type": "text",
47
- },
48
- ],
49
- [
50
- {
51
- "content": "data 6",
52
- "type": "text",
53
- },
54
- ],
55
- ],
56
- [
57
- [
58
- {
59
- "content": "data 7",
60
- "type": "text",
61
- },
62
- ],
63
- [
64
- {
65
- "content": "data 8",
66
- "type": "text",
67
- },
68
- ],
69
- [
70
- {
71
- "content": "data 9",
72
- "type": "text",
73
- },
74
- ],
75
- ],
76
- ],
77
- "header": [
78
- [
79
- {
80
- "content": "header 1",
81
- "type": "text",
82
- },
83
- ],
84
- [
85
- {
86
- "content": "header 2",
87
- "type": "text",
88
- },
89
- ],
90
- [
91
- {
92
- "content": "header 3",
93
- "type": "text",
94
- },
95
- ],
96
- ],
97
- "type": "table",
98
- },
99
- "title": [
100
- {
101
- "content": [
102
- {
103
- "content": "Table title",
104
- "type": "text",
105
- },
106
- ],
107
- "type": "strong",
108
- },
109
- ],
110
- "type": "titledTable",
111
- },
112
- ]
113
- `;