Update dependency pangu to v9 - #356
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.2.1→9.1.0Release Notes
vinta/pangu.js (pangu)
v9.1.0Compare Source
-v會在版本號前面加上pangu.js,本來只印版本號-t、-f、-c不能再混用,同時給多個會出現錯誤訊息echo "他們在release的前一天爆炸" | pangu會直接印出加好空格的結果,-c也可以這樣用-f現在會原封不動輸出加完空格的檔案內容,不會多加一個換行,檔案結尾本來有幾個換行就是幾個+或|結尾時,結尾引號前面不會再多一個空格,同樣的文字加第二次空格也不會變,排版完馬上用-c檢查也會通過pangu-js這個 CLI command,不管 PATH 順序如何都會執行到 pangu.jsv9.0.0Compare Source
<wbr>這類元素把/兩邊拆成不同文字節點時,斜線前面會漏加空格的問題package.json的module欄位package.json的browser欄位import pangu from 'pangu/browser',本來就是文件建議的用法,型別也一直是對的import pangu from 'pangu',執行時會拿到瀏覽器版本,但是 TypeScript 給的型別是 Node.js 版本<script>載入 UMD 檔案、或是已經在用pangu/browser的話都不受影響v8.2.0Compare Source
v8.1.0Compare Source
-*=<>_+這些符號的加空格規則,夾在半形字元中間時會跟兩邊黏成同一個詞,不會再被拆開+在字尾的加空格規則|的加空格規則,同一行只要有|直接貼著中文,整行的|都會當成分隔符來加空格,例如標題|網站名稱會變成標題 | 網站名稱+直接貼著中文時會當成分隔符來加空格,跟|一樣以行為單位來判斷!;,?後面直接貼著中文時的加空格規則,現在不管這些符號前面是什麼字元,都會在符號後面加空格<tag>現在會被當成一個詞來加空格,但是一般網頁中的 HTML 標籤不受影響 、旁邊又緊接著連結之類的元素時,會多加一個半形空格的問題 改寫成半形空格,這是 v8.0.0 的行為,現在會原封不動保留你打的 ,只在真的缺空格的地方補上空格text-autospace: normal;排版pangu/browser改成只提供 ESM,拿掉了require條件,require('pangu/browser')會出現ERR_PACKAGE_PATH_NOT_EXPORTEDimport照舊,不受影響<script>載入 UMD 檔案的方式也不受影響v8.0.0Compare Source
/和&的加空格規則 會造成空格判斷錯誤的問題,現在會先把它當成一般的半形空格<a>這類元素、或空白被包在<span>這類元素裡時會看不到那個空白Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.