@astrojs/markdown-remark 0.11.7 → 0.12.0

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 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: 
1
+ @astrojs/markdown-remark:build: cache hit, replaying output 1546942a008a83f6
2
+ @astrojs/markdown-remark:build: 
3
+ @astrojs/markdown-remark:build: > @astrojs/markdown-remark@0.12.0 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,16 @@
1
1
  # @astrojs/markdown-remark
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3924](https://github.com/withastro/astro/pull/3924) [`07fb544da`](https://github.com/withastro/astro/commit/07fb544dab142a3d4bb9d0d878aab34eaea447b2) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Remove unused ssr-utils file
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`31f9c0bf0`](https://github.com/withastro/astro/commit/31f9c0bf029ffa4b470e620f2c32e1370643e81e)]:
12
+ - @astrojs/prism@0.6.1
13
+
3
14
  ## 0.11.7
4
15
 
5
16
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/markdown-remark",
3
- "version": "0.11.7",
3
+ "version": "0.12.0",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",
@@ -13,12 +13,11 @@
13
13
  "homepage": "https://astro.build",
14
14
  "main": "./dist/index.js",
15
15
  "exports": {
16
- ".": "./dist/index.js",
17
- "./ssr-utils": "./dist/ssr-utils.js"
16
+ ".": "./dist/index.js"
18
17
  },
19
18
  "dependencies": {
20
19
  "@astrojs/micromark-extension-mdx-jsx": "^1.0.3",
21
- "@astrojs/prism": "^0.6.0",
20
+ "@astrojs/prism": "^0.6.1",
22
21
  "acorn": "^8.7.1",
23
22
  "acorn-jsx": "^5.3.2",
24
23
  "assert": "^2.0.0",
@@ -37,6 +37,7 @@ const remarkShiki = async (
37
37
  if (langExists) {
38
38
  lang = node.lang;
39
39
  } else {
40
+ // eslint-disable-next-line no-console
40
41
  console.warn(`The language "${node.lang}" doesn't exist, falling back to plaintext.`);
41
42
  lang = 'plaintext';
42
43
  }
@@ -1,2 +0,0 @@
1
- /** @see {@link "/packages/astro/vite-plugin-markdown"} */
2
- export declare function slug(value: string): string;
package/dist/ssr-utils.js DELETED
@@ -1,8 +0,0 @@
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/src/ssr-utils.ts DELETED
@@ -1,8 +0,0 @@
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
- }