@astrojs/markdown-remark 0.11.6 → 0.11.7

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.
@@ -1,5 +1,5 @@
1
- @astrojs/markdown-remark:build: cache hit, replaying output 29cccc2060a2f573
2
- @astrojs/markdown-remark:build: 
3
- @astrojs/markdown-remark:build: > @astrojs/markdown-remark@0.11.6 build /home/runner/work/astro/astro/packages/markdown/remark
4
- @astrojs/markdown-remark:build: > astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json
5
- @astrojs/markdown-remark:build: 
1
+ @astrojs/markdown-remark:build: cache hit, replaying output b4050b97e1fd3558
2
+ @astrojs/markdown-remark:build: 
3
+ @astrojs/markdown-remark:build: > @astrojs/markdown-remark@0.11.7 build /home/runner/work/astro/astro/packages/markdown/remark
4
+ @astrojs/markdown-remark:build: > astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json
5
+ @astrojs/markdown-remark:build: 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @astrojs/markdown-remark
2
2
 
3
+ ## 0.11.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3919](https://github.com/withastro/astro/pull/3919) [`01a55467d`](https://github.com/withastro/astro/commit/01a55467d561974f843a9e0cd6963af7c840abb9) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add back missing ssr-utils.js file
8
+
3
9
  ## 0.11.6
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ /** @see {@link "/packages/astro/vite-plugin-markdown"} */
2
+ export declare function slug(value: string): string;
@@ -0,0 +1,8 @@
1
+ import Slugger from "github-slugger";
2
+ const slugger = new Slugger();
3
+ function slug(value) {
4
+ return slugger.slug(value);
5
+ }
6
+ export {
7
+ slug
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/markdown-remark",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",
@@ -13,7 +13,8 @@
13
13
  "homepage": "https://astro.build",
14
14
  "main": "./dist/index.js",
15
15
  "exports": {
16
- ".": "./dist/index.js"
16
+ ".": "./dist/index.js",
17
+ "./ssr-utils": "./dist/ssr-utils.js"
17
18
  },
18
19
  "dependencies": {
19
20
  "@astrojs/micromark-extension-mdx-jsx": "^1.0.3",
@@ -0,0 +1,8 @@
1
+ /** Utilities used in deployment-ready SSR bundles */
2
+ import Slugger from 'github-slugger';
3
+
4
+ const slugger = new Slugger();
5
+ /** @see {@link "/packages/astro/vite-plugin-markdown"} */
6
+ export function slug(value: string): string {
7
+ return slugger.slug(value);
8
+ }