@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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/ssr-utils.d.ts +2 -0
- package/dist/ssr-utils.js +8 -0
- package/package.json +3 -2
- package/src/ssr-utils.ts +8 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[34m@astrojs/markdown-remark:build: [0mcache hit, replaying output [2mb4050b97e1fd3558[0m
|
|
2
|
+
[34m@astrojs/markdown-remark:build: [0m
|
|
3
|
+
[34m@astrojs/markdown-remark:build: [0m> @astrojs/markdown-remark@0.11.7 build /home/runner/work/astro/astro/packages/markdown/remark
|
|
4
|
+
[34m@astrojs/markdown-remark:build: [0m> astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json
|
|
5
|
+
[34m@astrojs/markdown-remark:build: [0m
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/markdown-remark",
|
|
3
|
-
"version": "0.11.
|
|
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",
|
package/src/ssr-utils.ts
ADDED
|
@@ -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
|
+
}
|