Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency marked to v11 #548

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github.aaakk.us.kg[bot]
Copy link
Contributor

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot commented Dec 5, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) 2.0.3 -> 11.1.1 age adoption passing confidence

Release Notes

markedjs/marked (marked)

v11.1.1

Compare Source

Bug Fixes

v11.1.0

Compare Source

Features

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.

v10.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • drop support for node v16

v9.1.6

Compare Source

Bug Fixes

v9.1.5

Compare Source

Bug Fixes

v9.1.4

Compare Source

Bug Fixes

v9.1.3

Compare Source

Bug Fixes

v9.1.2

Compare Source

Bug Fixes

v9.1.1

Compare Source

Bug Fixes

v9.1.0

Compare Source

Features

v9.0.3

Compare Source

Bug Fixes

v9.0.2

Compare Source

Bug Fixes

v9.0.1

Compare Source

Bug Fixes

v9.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • remove built files from git repo.
  • If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
    • https://cdn.jsdelivr.net/npm/marked/marked.min.js

v8.0.1

Compare Source

Bug Fixes

v8.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES

v7.0.5

Compare Source

Bug Fixes

v7.0.4

Compare Source

Bug Fixes

v7.0.3

Compare Source

Bug Fixes

v7.0.2

Compare Source

Bug Fixes

v7.0.1

Compare Source

Bug Fixes

v7.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • change defaults for mangle and headerIds to false

v6.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Migrate to Typescript

v5.1.2

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Bug Fixes
Features

v5.0.5

Compare Source

Bug Fixes

v5.0.4

Compare Source

Bug Fixes

v5.0.3

Compare Source

Bug Fixes

v5.0.2

Compare Source

Bug Fixes

v5.0.1

Compare Source

Bug Fixes
  • only warn if langPrefix is changed (#​2796) (d193694)
    The deprecated options warnings can be turned off by default by using:

    marked.use({
      mangle: false,
      headerIds: false,
    });

    For the cli you can use:

    marked --no-mangle --no-header-ids ...
    

v5.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • Warnings will be logged to the console if these options are used including headerIds, mangle, and langPrefix which are on by default.
    These warnings can be turned off by default by using:
    marked.use({
      mangle: false,
      headerIds: false,
    });
    If you need these options you can use the extensions listed below.
  • deprecate options
    Option Replacement
    highlight, langPrefix, and callback marked-highlight
    mangle marked-mangle
    baseUrl marked-base-url
    smartypants marked-smartypants
    xhtml marked-xhtml
    headerIds and headerPrefix marked-gfm-heading-id
  • minimum supported node version v18

v4.3.0

Compare Source

Bug Fixes
Features

v4.2.12

Compare Source

Sorry for all of the quick releases. We were testing out different ways to build the files for releases. v4.2.5 - v4.2.12 have no changes to how marked works. The only addition is the version number in the comment in the build files.

Bug Fixes
  • revert to build script in ci (d2ab474)

v4.2.11

Compare Source

Bug Fixes

v4.2.10

Compare Source

Bug Fixes

v4.2.9

Compare Source

Bug Fixes

v4.2.8

Compare Source

v4.2.7

Compare Source

Bug Fixes

v4.2.6

Compare Source

Bug Fixes
  • add version to build files (79b8c0b)

v4.2.5

Compare Source

Bug Fixes

v4.2.4

Compare Source

Bug Fixes

v4.2.3

Compare Source

Bug Fixes

v4.2.2

Compare Source

Bug Fixes

v4.2.1

Compare Source

Bug Fixes

v4.2.0

Compare Source

Features

v4.1.1

Compare Source

Bug Fixes

v4.1.0

Compare Source

Features

v4.0.19

Compare Source

Bug Fixes

v4.0.18

Compare Source

Bug Fixes

v4.0.17

Compare Source

Bug Fixes

v4.0.16

Compare Source

Bug Fixes

v4.0.15

Compare Source

Bug Fixes

v4.0.14

Compare Source

Bug Fixes

v4.0.13

Compare Source

Bug Fixes
  • allow emStrong regex to consume more characters at once (#​2433) (35583c3)

v4.0.12

Compare Source

Bug Fixes

v4.0.11

Compare Source

Bug Fixes

v4.0.10

Compare Source

Bug Fixes
  • security: fix redos vulnerabilities (8f80657)

v4.0.9

Compare Source

Bug Fixes

v4.0.8

Compare Source

Bug Fixes

v4.0.7

Compare Source

Bug Fixes

v4.0.6

Compare Source

Bug Fixes

v4.0.5

Compare Source

Bug Fixes

v4.0.4

Compare Source

Bug Fixes

v4.0.3

Compare Source

Bug Fixes

v4.0.2

Compare Source

Bug Fixes

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Default export removed. Use import { marked } from 'marked' or const { marked } = require('marked') instead.
  • /lib/marked.js removed. Use /marked.min.js in script tag instead.
  • When using marked in a script tag use marked.parse(...) instead of marked(...)

v3.0.8

Compare Source

Bug Fixes

v3.0.7

Compare Source

Bug Fixes
  • use named exports only for ESM build (#​2226)

v3.0.6

Compare Source

Bug Fixes

v3.0.5

Compare Source

Bug Fixes

v3.0.4

Compare Source

Bug Fixes

v3.0.3

Compare Source

Bug Fixes

v3.0.2

Compare Source

Bug Fixes

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Drop support for node 10.
  • Add module field to package.json

  • Tokenizers will create their own tokens with this.lexer.inline(text, tokens). The inline function will queue the token creation until after all block tokens are created.
  • Extensions tokenizer this object will include the lexer as a property. this.inlineTokens becomes this.lexer.inline.
  • Extensions renderer this object will include the parser as a property. this.parseInline becomes this.parser.parseInline.
  • tag and inlineText tokenizer function signatures have changed.

  • nptable tokenizer is removed and merged with table tokenizer.
  • table tokens header property changed to contain an array of objects for each header cell with text and tokens properties.
  • table tokens cells property changed to rows and is an array of rows where each row contains an array of objects for each cell with text and tokens properties.

v2 table token:

{
  "type": "table",
  "align": [null, null],
  "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
  "header": ["a", "b"],
  "cells": [["1", "2"]],
  "tokens": {
    "header": [
      [{ "type": "text", "raw": "a", "text": "a" }],
      [{ "type": "text", "raw": "b", "text": "b" }]
    ],
    "cells": [[
      [{ "type": "text", "raw": "1", "text": "1" }],
      [{ "type": "text", "raw": "2", "text": "2" }]
    ]]
  }
}

v3 table token:

{
  "type": "table",
  "align": [null, null],
  "raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
  "header": [
    {
      "text": "a",
      "tokens": [{ "type": "text", "raw": "a", "text": "a" }]
    },
    {
      "text": "b",
      "tokens": [{ "type": "text", "raw": "b", "text": "b" }]
    }
  ],
  "rows": [
    {
      "text": "1",
      "tokens": [{ "type": "text", "raw": "1", "text": "1" }]
    },
    {
      "text": "2",
      "tokens": [{ "type": "text", "raw": "2", "text": "2" }]
    }
  ]
}

v2.1.3

Compare Source

Bug Fixes

v2.1.2

Compare Source

Bug Fixes

v2.1.1

Compare Source

Bug Fixes

v2.1.0

Compare Source

Features

v2.0.7

Compare Source

Bug Fixes

v2.0.6

Compare Source

Bug Fixes

v2.0.5

Compare Source

Bug Fixes

v2.0.4

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot force-pushed the whitesource-remediate/marked-11.x branch 2 times, most recently from 10ab48f to 57b9075 Compare December 13, 2023 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants