@tabnas/markdown 0.7.12 → 0.7.13

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.
@@ -26,4 +26,4 @@ export type { ParserOptions } from './options.ts';
26
26
  export { renderHTML } from './html.ts';
27
27
  export { translate } from './translate';
28
28
  export type { TranslationPart, TranslationParts } from './translate';
29
- declare const VERSION = "0.7.12";
29
+ declare const VERSION = "0.7.13";
package/dist/markdown.js CHANGED
@@ -161,6 +161,6 @@ Object.defineProperty(exports, "translate", { enumerable: true, get: function ()
161
161
  // VERSION is this package's version. It MUST equal package.json "version":
162
162
  // the release orchestrator rewrites both, and the version test fails the
163
163
  // build if they drift. Mirrors `const VERSION` in go/markdown.go.
164
- const VERSION = '0.7.12';
164
+ const VERSION = '0.7.13';
165
165
  exports.VERSION = VERSION;
166
166
  //# sourceMappingURL=markdown.js.map
package/dist/translate.js CHANGED
@@ -61,7 +61,8 @@ const TRANSLATION = Object.freeze({
61
61
  "A line break in a cell is written as a space.",
62
62
  "Whitespace at either end of a cell is not kept, as the reader trims it: the space, the tab, U+00A0, U+FEFF, U+2028, U+2029 and the other Unicode space separators, though not U+0085.",
63
63
  "A U+0000 in a cell is written as U+FFFD, the character a Markdown reader puts in its place, so it reads back as U+FFFD."
64
- ]
64
+ ],
65
+ "whole": "A link or an image may name a link reference definition that comes later in the document, so a document's tree is complete only at its end: it is read whole before anything is written."
65
66
  }
66
67
  }
67
68
  `,
@@ -1 +1 @@
1
- {"version":3,"file":"translate.js","sourceRoot":"","sources":["../src/translate.ts"],"names":[],"mappings":";AAAA,yDAAyD;;QAgavD,SAAS;AA/YX,MAAM,WAAW,GAAqB,MAAM,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DX;IACC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,eAAe,E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AAK,EAAE,iBAAiB,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuI3D,EAAE,CAAC;CACH,CAAC,CAAA;AAEF,SAAS,SAAS;IAChB,OAAO,WAAW,CAAA;AACpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabnas/markdown",
3
- "version": "0.7.12",
3
+ "version": "0.7.13",
4
4
  "description": "A Tabnas parser plugin for CommonMark/GFM Markdown — headings, lists, blockquotes, code, emphasis, links and more, into a JSON AST.",
5
5
  "main": "dist/markdown.js",
6
6
  "type": "commonjs",
package/src/markdown.ts CHANGED
@@ -236,4 +236,4 @@ export type { TranslationPart, TranslationParts } from './translate'
236
236
  // VERSION is this package's version. It MUST equal package.json "version":
237
237
  // the release orchestrator rewrites both, and the version test fails the
238
238
  // build if they drift. Mirrors `const VERSION` in go/markdown.go.
239
- const VERSION = '0.7.12'
239
+ const VERSION = '0.7.13'
package/src/translate.ts CHANGED
@@ -74,7 +74,8 @@ const TRANSLATION: TranslationParts = Object.freeze({
74
74
  "A line break in a cell is written as a space.",
75
75
  "Whitespace at either end of a cell is not kept, as the reader trims it: the space, the tab, U+00A0, U+FEFF, U+2028, U+2029 and the other Unicode space separators, though not U+0085.",
76
76
  "A U+0000 in a cell is written as U+FFFD, the character a Markdown reader puts in its place, so it reads back as U+FFFD."
77
- ]
77
+ ],
78
+ "whole": "A link or an image may name a link reference definition that comes later in the document, so a document's tree is complete only at its end: it is read whole before anything is written."
78
79
  }
79
80
  }
80
81
  `,