svelte-highlight 5.1.3 → 5.1.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.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [5.1.4](https://github.com/metonym/svelte-highlight/releases/tag/v5.1.4) - 2021-12-18
9
+
10
+ - recommend installing `highlight.js` as a dependency for pnpm users
11
+
8
12
  ## [5.1.3](https://github.com/metonym/svelte-highlight/releases/tag/v5.1.3) - 2021-11-13
9
13
 
10
14
  - patch `highlight.js` to version 11.3.1
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm i -D svelte-highlight
24
24
  **pnpm**
25
25
 
26
26
  ```bash
27
- pnpm i -D svelte-highlight
27
+ pnpm i -D svelte-highlight highlight.js
28
28
  ```
29
29
 
30
30
  ## SvelteKit Set-up
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-highlight",
3
- "version": "5.1.3",
3
+ "version": "5.1.4",
4
4
  "license": "MIT",
5
5
  "description": "Syntax Highlighting for Svelte using highlight.js",
6
6
  "author": "Eric Liu (https://github.com/metonym)",
@@ -24,15 +24,15 @@
24
24
  "devDependencies": {
25
25
  "@sveltejs/adapter-static": "next",
26
26
  "@sveltejs/kit": "next",
27
- "carbon-components-svelte": "^0.47.3",
27
+ "carbon-components-svelte": "^0.50.2",
28
+ "carbon-icons-svelte": "^10.44.3",
28
29
  "carbon-preprocess-svelte": "^0.6.0",
29
- "prettier": "^2.4.1",
30
- "prettier-plugin-svelte": "^2.4.0",
31
- "svelte": "^3.44.1",
32
- "svelte-check": "^2.2.8",
33
- "svelte-focus-key": "^0.1.1",
34
- "totalist": "^2.0.0",
35
- "vite": "^2.6.14"
30
+ "prettier": "^2.5.1",
31
+ "prettier-plugin-svelte": "^2.5.1",
32
+ "svelte": "^3.44.3",
33
+ "svelte-check": "^2.2.10",
34
+ "svelte-focus-key": "^0.2.4",
35
+ "totalist": "^2.0.0"
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
@@ -37,10 +37,7 @@
37
37
  </script>
38
38
 
39
39
  <slot {highlighted}>
40
- <pre
41
- class:langtag
42
- data-language="svelte"
43
- {...$$restProps}>
40
+ <pre class:langtag data-language="svelte" {...$$restProps}>
44
41
  <code class="hljs">
45
42
  {@html highlighted}
46
43
  </code>