@adobe/helix-html-pipeline 3.6.1 → 3.6.2

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
@@ -1,3 +1,10 @@
1
+ ## [3.6.2](https://github.com/adobe/helix-html-pipeline/compare/v3.6.1...v3.6.2) (2022-10-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency github-slugger to v2 (main) ([#176](https://github.com/adobe/helix-html-pipeline/issues/176)) ([6bf6b58](https://github.com/adobe/helix-html-pipeline/commit/6bf6b588abdae6eb7584cb3ced7ee5d89a756be1))
7
+
1
8
  ## [3.6.1](https://github.com/adobe/helix-html-pipeline/compare/v3.6.0...v3.6.1) (2022-10-31)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@adobe/helix-markdown-support": "5.0.10",
43
43
  "@adobe/helix-shared-utils": "2.1.0",
44
44
  "cookie": "0.5.0",
45
- "github-slugger": "1.5.0",
45
+ "github-slugger": "2.0.0",
46
46
  "hast-util-raw": "7.2.2",
47
47
  "hast-util-select": "5.0.2",
48
48
  "hast-util-to-html": "8.0.3",
@@ -9,7 +9,7 @@
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
- import GithubSlugger from 'github-slugger';
12
+ import { slug } from 'github-slugger';
13
13
 
14
14
  export class IDSlugger {
15
15
  constructor() {
@@ -22,7 +22,7 @@ export class IDSlugger {
22
22
  * @return {string} A unique slug string
23
23
  */
24
24
  slug(value) {
25
- let id = GithubSlugger.slug(value)
25
+ let id = slug(value)
26
26
  // remove leading numbers
27
27
  .replace(/^\d+-+/, '');
28
28