Commit Graph
1644 Commits
Author SHA1 Message Date
Anixandsnyk-bot 81fc1b7dce fix: upgrade medium-zoom from 1.0.7 to 1.0.8 (#1939)
Snyk has created this PR to upgrade medium-zoom from 1.0.7 to 1.0.8.

See this package in npm:
https://www.npmjs.com/package/medium-zoom

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-12-16 20:34:09 +08:00
Andrew Blakey f4cae7ff82 Describe ordering requirement for prism script tag (#1935)
I couldn't get a prism typescript language grammar to work until I realised that script order mattered.   

This might not be the best language or format for this, but I think it probably belongs in the documentation in some manner.

Thank you!
2022-12-12 15:07:41 +08:00
Snyk bot 26013929cc fix: upgrade medium-zoom from 1.0.6 to 1.0.7 (#1934)
Snyk has created this PR to upgrade medium-zoom from 1.0.6 to 1.0.7.

See this package in npm:
https://www.npmjs.com/package/medium-zoom

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/836f877b-b98e-47ed-89fc-554e9b2e146d?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-12-10 22:10:05 +08:00
dependabot[bot]andKoy Zhuang bb8a07853d chore: bump decode-uri-component from 0.2.0 to 0.2.2 (#1932)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2022-12-04 17:53:01 +08:00
dependabot[bot]andKoy Zhuang 065d1768f8 chore: bump engine.io from 3.5.0 to 6.2.1 (#1930)
Bumps [engine.io](https://github.com/socketio/engine.io) from 3.5.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/3.5.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2022-12-04 17:07:09 +08:00
沈唁 02b6d12870 style: change table tr style for dark theme (#1928) 2022-11-25 08:53:52 +08:00
dependabot[bot] 35b87b9fe8 chore: bump minimatch from 3.0.4 to 3.1.2 (#1926) 2022-11-20 16:08:59 +08:00
959277eeb9 chore: Upgrade prismjs from 1.27.0 to 1.29.0 (#1923)
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
2022-11-14 18:54:02 +08:00
dependabot[bot] d23b35adee chore: bump socket.io-parser from 3.3.2 to 3.3.3 (#1924)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 12:48:38 +08:00
沈唁andsnyk-bot 0c9221e5a4 fix: upgrade debug from 4.3.3 to 4.3.4 (#1919)
Snyk has created this PR to upgrade debug from 4.3.3 to 4.3.4.

See this package in npm:
https://www.npmjs.com/package/debug

See this project in Snyk:
https://app.snyk.io/org/anikethsaha/project/6efe7e04-4e52-497e-8ad5-570733cc577a?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-11-01 21:19:07 +08:00
Koy Zhuang 8281281f6d ci: add server-render build. (#1916)
* ci: add server-render build.
2022-10-28 10:49:10 +08:00
Koy Zhuang c73f8587b2 fix: fix docisify-render denpendency. (#1915)
* fix: fix docisify-render denpendency.
2022-10-27 14:45:47 +08:00
i544693 78aaa377fd chore: add changelog v4.13.0 v4.13.0 2022-10-26 21:50:32 +08:00
i544693 1d29eb305d chore: add changelog 4.13.0 2022-10-26 21:45:51 +08:00
i544693 a6701d6d23 [build] 4.13.0 2022-10-26 21:45:48 +08:00
i544693 dbc4b450c3 fix: upgrade dependencies. 2022-10-26 21:38:31 +08:00
i544693 73ea28df14 fix: fix test. 2022-10-26 21:27:14 +08:00
i544693 6ac6f5200e update: update dependencies. 2022-10-26 20:56:17 +08:00
i544693 c044517caa chore: add changelog 4.12.4 v4.12.4 2022-10-26 17:53:59 +08:00
i544693 8fcd92baa3 [build] 4.12.4 2022-10-26 17:53:55 +08:00
i544693 7db2434a1a [build]: 4.12.3 2022-10-26 17:21:50 +08:00
Koy Zhuang d27af3dd09 fix: filter null node first. (#1909) 2022-10-26 16:58:49 +08:00
dependabot[bot] 91272cac83 chore: bump trim-newlines and lerna (#1895)
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) and [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna). These dependencies needed to be updated together.

Updates `trim-newlines` from 1.0.0 to 3.0.1
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

Updates `lerna` from 3.22.1 to 5.5.1
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v5.5.1/core/lerna)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
- dependency-name: lerna
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 15:47:37 +08:00
Koy Zhuang 79a6619980 chore: upgrade caniuse-lit. (#1879) 2022-09-20 10:45:51 +08:00
Mike Mwanje c98fda7ad6 docs: Update GitHub default branch from to 'main' (#1883) 2022-09-17 22:50:31 +08:00
Koy Zhuang 9b74744299 fix: fix search with no content. (#1878) 2022-09-17 19:01:35 +08:00
Koy Zhuang 9832805681 fix: fix docsify-ignore in seach title. (#1872) 2022-08-30 18:46:08 +08:00
Soc SiengandJohn Hildenbiddle 3c9b3d9702 fix: Ignore emoji shorthand codes in URIs (#1847)
* fix: Ignore emoji shorthand codes in URIs

Fixes: #1823

* test: Add test for emoji in anchor body

* fix: Handle support for URIs used in additional contexts

Examples:

- Without explicit scheme (i.e. starting with `//`)
- In single and double quote strings
- Within unquoted HTML tag attributes
- In css `url()` values

Co-authored-by: John Hildenbiddle <jhildenbiddle@users.noreply.github.com>
2022-08-03 11:52:55 +08:00
John Hildenbiddle 19e40c2075 Docs: Fix plugin insertion order in docs (#1850) 2022-08-02 12:27:23 -05:00
dependabot[bot] 682bf967ae chore: bump parse-url from 6.0.0 to 6.0.2 (#1833)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 07:39:38 +08:00
dependabot[bot] 1e46f2bd1d chore: bump jpeg-js from 0.4.3 to 0.4.4 (#1820)
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 15:20:27 +08:00
Shaun Bharat 150236a43d Improve README.md sentence (#1817) 2022-06-06 22:12:47 -07:00
Koy Zhuang 54cc5f939b fix: cornerExternalLinkTarget config. (#1814) 2022-06-04 23:16:52 +08:00
Xavi Lee fa14210e8e docs: update the name for "Simplified Chinese" (#1811)
* update the name for "Simplified Chinese"

* update the name for "Simplified Chinese"

* update the name for "Simplified Chinese"
2022-06-03 13:29:52 +08:00
Roy Sommer 8cbc7c8073 Virtual Routes Support (#1799)
* add first test

* new VirtualRoutes mixin that handles routes. fetch tries to use VirtualRoutes. default config updated

* cover all basic use cases

* regex matching in routes

* covered all virtual routes tests

* added hack to fix config test on firefox

* removed formatting regex matches into string routes

* added support for "next" function

* added docs

* navigate now supports both hash and history routerModes

* waiting for networkidle in navigateToRoute helper

* promiseless implementation

* remove firefox workaround from catchPluginErrors test, since we no longer use promises

* updated docs

* updated docs for "alias" as well

* minor rephrasing

* removed non-legacy code from exact-match; updated navigateToRoute helper to infer router mode from page

* moved endsWith from router utils to general utils; added startsWith util; refactored makeExactMatcher to use both

* updated docs per feedback

* moved navigateToRoute helper into the virtual-routes test file

* moved navigateToRoute to top of file

* updated docs per pr comments
2022-05-23 14:03:33 -07:00
dependabot[bot] b8b221f3a8 chore: bump minimist from 1.2.5 to 1.2.6 (#1787)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 16:23:38 +08:00
Bernal I. Hernández bec187f6a3 chore: Update CONTRIBUTING.md (#1782)
Update URL of "How to Contribute to an Open Source Project on GitHub" link. The old one send the user to a 404 page where egghead suggest the new and correct URL. So, this change send the user direct to the correct URL.
2022-03-31 16:28:32 +08:00
沈唁 2d13255acb chore: update vercel logo (#1776)
* chore: update vercel logo

* chore: update vercel logo

* chore: remove vercel link form github pages

* chore: update style

* chore: update readme

* chore: update readme

* chore: update readme
2022-03-24 00:46:36 +08:00
沈唁 093d4a0081 chore: update vercel link (#1775)
* chore: update vercel link
2022-03-19 23:58:07 +08:00
John Hildenbiddle 9e6a3e677a docs: Minor fixes to plugin docs (#1774) 2022-03-19 11:36:25 +08:00
John Hildenbiddle 6f4f09bd7e docs: Update configuration options (#1773) 2022-03-18 10:52:29 -05:00
John Hildenbiddle 32c6b3804e Fix: ready/doneEach order with async afterEach (#1770) 2022-03-15 19:15:12 -05:00
John Hildenbiddle 63b2535a45 feat: Plugin error handling (#1742) 2022-03-15 00:18:50 -05:00
沈唁 716a48ee84 chore: update develop branch preview link (#1772) 2022-03-15 11:35:33 +08:00
John Hildenbiddle 9bff31dff0 chore: Remove dompurify (#1490) 2022-03-08 07:45:23 -06:00
John Hildenbiddle ba5ee26f00 feat: Emoji build (#1766)
* Fix incorrect file name

* Improve build

- Display emoji API URL
- Display number of emoji entries retrieved from API
- Distinguish between creating and updating files
- Catch and display errors (gracefully fail for offline work)
- Add “DO NOT EDIT” comment to generated output

* Add emoji to automated build

* Remove emoji plugin from dev index.html
2022-03-08 16:22:10 +08:00
John HildenbiddleandKoy Zhuang 35002c92b7 feat: Native emoji w/ image-based fallbacks and improved parsing (#1746)
* Render native emoji with image fallback

Fix #779

* Deprecate emoji plugin

* Add emoji tests

* Remove console.log statement

* Fix emoji image alt attribute

* Set nativeEmoji to false by default (non-breaking)

* Fix parsing emoji in HTML comments and script tags

* Add nativeEmoji and update noEmoji details

* Add Emoji plugin deprecation notice

* Fix ESLint issues

* Create build:emoji task

- Auto-generate emoji data from GitHub API
- Auto-generate emoji markdown for website
- Add emoji page to navigation

* Fix rendering of GitHub emoji without unicode

* Adjust and match size of native and image emoji

* Update emoji test snapshot

* Update docs test snapshot

* Fix ci/codesandbox error

* Update native emoji font-stack

* Fix rendering of native multi-character emoji

* Kick GitHub Workflow

* Replace rollup’s uglify plugin with terser

* Switch “npm ci” instead of “npm i” for stability

* Change emoji data from default to named export

* Revert "Replace rollup’s uglify plugin with terser"

This reverts commit 7ba8513636.

* Revert "Switch “npm ci” instead of “npm i” for stability"

This reverts commit d52b476a38.

* Revert "Change emoji data from default to named export"

This reverts commit 3f2dd467cf.

* Specify codesandbox template and node version

* Update codesandbox config

* Revert "Revert "Replace rollup’s uglify plugin with terser""

This reverts commit e06fed49f0.

* Revert "Revert "Revert "Replace rollup’s uglify plugin with terser"""

This reverts commit 27d49521f6.

* Update codesandbox config

* Revert "Update codesandbox config"

This reverts commit 5120dd23d4.

* Fix codesandbox uglify error

* Emoji docs tweaks

* Restore and update emoji plugin code

* Restore and update emoji plugin docs

* Prettier updates

* Match lowercase shortcodes only

Co-authored-by: Koy Zhuang <369491420@qq.com>
2022-03-05 22:25:09 -06:00
dependabot[bot] fd883e62de chore: bump prismjs in /packages/docsify-server-renderer (#1760)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 08:19:09 +08:00
dependabot[bot] a00cfbb676 chore: bump follow-redirects from 1.14.7 to 1.14.9 (#1757)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 20:03:53 +08:00
Snyk bot 2dc5b12b71 fix: package.json & package-lock.json to reduce vulnerabilities (#1756)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PRISMJS-2404333
2022-02-24 09:42:42 +08:00