@podlite/toc 0.0.62 → 0.0.63

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.63
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.41
6
11
 
7
12
  =item add C<exports> map, top-level C<types>, and explicit C<sideEffects> to package manifest
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getFromTree, getTextContentFromNode, mkTocItem, mkTocList, mkToc, getNodeId, makeAttrs, isNamedBlock, mkFomattingCodeL, mkNode, } from '@podlite/schema';
2
- import { prepareDataForToc } from './helpers';
2
+ import { prepareDataForToc } from './helpers.js';
3
3
  export const getContentForToc = (node) => {
4
4
  if (typeof node !== 'string' && 'type' in node) {
5
5
  if (node.type === 'block') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/toc",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "Auto-generate table of contents from Podlite documents",
5
5
  "main": "./lib/index.js",
6
6
  "sideEffects": false,
@@ -59,7 +59,7 @@
59
59
  "react-dom": "^16.0.0 || ^17.0.0 || ^18"
60
60
  },
61
61
  "dependencies": {
62
- "@podlite/schema": "0.0.69",
62
+ "@podlite/schema": "0.0.70",
63
63
  "react": "^16.0.0 || ^17.0.0 || ^18",
64
64
  "react-dom": "^16.0.0 || ^17.0.0 || ^18",
65
65
  "react-is": "^18.0.0"