@podlite/highlight 0.0.3 → 0.0.4

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/CHANGELOG.podlite CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  =head1 Upcoming
4
4
 
5
+ =head1 0.0.4
6
+
7
+ =item the package can be imported from Node directly. The emitted ESM referenced its own files without an extension, which the ESM loader refuses
8
+
9
+
5
10
  =head1 0.0.3
6
11
 
7
12
  =item the README says what the runtime fallback covers: a chunk that fails to load after a successful build, not a missing install
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import { makeAttrs } from '@podlite/schema';
3
- import { codeToThemedHtml } from './shiki';
3
+ import { codeToThemedHtml } from './shiki.js';
4
4
  const fcodeToTag = {
5
5
  B: 'strong',
6
6
  I: 'em',
package/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { default as HighlightedCode, extractPlainAndDecorations } from './HighlightedCode';
2
- export { codeToHtml, codeToThemedHtml, getHighlighter, isLanguageLoaded, normalizeLanguage } from './shiki';
1
+ export { default as HighlightedCode, extractPlainAndDecorations } from './HighlightedCode.js';
2
+ export { codeToHtml, codeToThemedHtml, getHighlighter, isLanguageLoaded, normalizeLanguage } from './shiki.js';
3
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/highlight",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Syntax highlighting for Podlite code blocks, shared by the renderer and the editor",
5
5
  "main": "./lib/index.js",
6
6
  "sideEffects": false,
@@ -23,7 +23,7 @@
23
23
  "test": "yarn g:jest --passWithNoTests"
24
24
  },
25
25
  "dependencies": {
26
- "@podlite/schema": "0.0.69"
26
+ "@podlite/schema": "0.0.70"
27
27
  },
28
28
  "exports": {
29
29
  ".": {