1 hours ago
plate

v53.3.5

@platejs/core

Published @platejs/core@53.3.5.

@platejs/link

Patch Changes

  • #5096 by @NoiceHax – Fix pasted plain text starting with # or / (e.g. #!/bin/sh) being autolinked

@platejs/slate

Patch Changes

@platejs/test-utils

Published @platejs/test-utils@53.3.5.

@platejs/utils

Patch Changes

  • Updated @platejs/core, @platejs/slate.

platejs

Patch Changes

  • Updated @platejs/core, @platejs/slate, @platejs/utils.

Contributors

Thanks to everyone who contributed to this release:

@NoiceHax

Full changelog: v53.3.4...v53.3.5

1 hours ago
zip.js

v2.8.51

What's Changed in v2.8.51

New features

  • getChildren() returns the children of a directory as an array, and all its descendants when the recursive option is set to true. It is available on ZipDirectoryEntry and FS instances. The descendants are ordered level by level, like the result of readdir(path, { recursive: true }) in Node.js, which is also the order in which the entries are written by the export*() methods. Unlike the entries property of FS, the array excludes the root directory, leaves no empty slot for removed entries, and can start from any directory. It is a snapshot taken when the method is called, so the tree can be modified while the array is being iterated

Behavior changes

  • The export*() methods of the filesystem API now write the entries in the same order whatever the value of the bufferedWrite option. Setting it to false used to write each branch of the tree entirely before moving to the next one, whereas the default writes the entries level by level, so an archive exported with bufferedWrite set to false does not have the same entry order as in the previous versions. Only the order changes: the entries, their content and their metadata are identical, and a directory entry still precedes the entries it contains

Compatibility improvements

  • exportFileSystemHandle() called with concurrent set to true now reports the failure that stopped the export on browsers which do not support the reason argument of AbortController#abort(), e.g. Firefox 79 and Chromium 87. zip.js used to recognize the cancellation of the sibling entries by the reason it had passed to abort(). These browsers discard that reason and report a plain AbortError instead, so the cancellation was reported as the cause of the failure and the original error was demoted into entryErrors. The cancellation is now tracked by zip.js itself and never read back from the platform (see #669)
  • exportFileSystemHandle() now rejects with an error instead of rejecting with undefined when the export is aborted through the signal option on these browsers. The reason passed to AbortController#abort() is discarded by the platform and cannot be recovered, so a DOMException named AbortError is thrown in its place. Its message is exposed as the new ERR_ABORTED constant. Testing error.name == "AbortError" now identifies an aborted export on every supported platform, whereas these browsers used to report a plain Error when the export was aborted before it started and an AbortError when it was aborted while an entry was streaming

Documentation

  • The API documentation of exportFileSystemHandle() now states that an entry flagged as a symbolic link is written as a regular file whose content is the path of the link target, since the File System Access API cannot create symbolic links

Tests

  • The test verifying that the abort reason of the caller is forwarded is now skipped on browsers without support for AbortSignal#reason instead of being reported as a failure. It moved to its own file and covers aborting before the export as well as aborting while an entry is streaming

Credits

  • @danny0838 reported the failure on Firefox 79 and Chromium 87 and ran the test suite on these browsers

Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.8.50...v2.8.51

3 hours ago
docx-editor

@docx-editor.dev/editor-api@2.3.1

Patch Changes

  • Updated dependencies [1c9b6a2]
  • Updated dependencies [1c9b6a2]
    • @docx-editor.dev/core@2.3.1
3 hours ago
docx-editor

@docx-editor.dev/core@2.3.1

Patch Changes

  • 1c9b6a2: Long documents now reuse pagination after explicit page and section breaks, avoiding full-document work for ordinary typing, wrap-inducing edits, and character, word, line, vertical, or document-edge caret movement. Rapid typing preserves input order while coalescing pending page, toolbar, and review-rail refreshes, and repeated tracked deletions stay compact instead of adding one OOXML run per keypress.
  • 1c9b6a2: Rapid typing no longer reorders characters when a deferred paint leaves the DOM caret behind the model. Native and touch carets that return to that leftover offset still edit there.
    • @docx-editor.dev/i18n@2.3.1
3 hours ago
docx-editor

@docx-editor.dev/react@2.3.1

Patch Changes

  • @docx-editor.dev/i18n@2.3.1
4 hours ago
electron

electron v42.9.1

Release Notes for v42.9.1

Fixes

  • Fixed a crash in systemPreferences.promptTouchID(reason) when an invalid reason value is passed. #52780 (Also in 43, 44)
  • Fixed a potential crash in contentTracing.stopRecording() when the trace file could not be written to the requested path. #52796 (Also in 43, 44)

Other Changes

  • Backported fixes from upstream ANGLE, Chromium, Skia and V8. #52706
  • Backported fixes from upstream Chromium and V8. #52785
  • Fixed an issue on macOS where a page's first use of speechSynthesis could block the main process for several hundred milliseconds. #52813
9 hours ago
konva

10.3.1

Bug Fixes

  • Path: return last point for getPointAtLength past a closed path #2053 (Yarchik)
  • Arc.getSelfRect() reports a full circle for a zero-degree clockwise arc #2054 (Alexander Kireev)
  • Shape: respect imageSmoothingEnabled for fillPatternImage #2055 (MarkXian)
  • Util: preserve alpha of the named color "transparent" #2056 (Yarchik)
  • Util: parse rgb() components written as percentages #2057 (jaybhade)
  • Util: colorToRGBA() fails to parse non-integer HSL hue #2059 (Xuepoo)
  • Line: getSelfRect wrong for multi-segment bezier and degenerate-derivative segments #2061 (Xuepoo)
  • Line: avoid NaN control points on closed tensioned lines with coincident points #2062 (rajanpanth)
  • Line: guard the zero-distance case inside getControlPoints (Anton Lavrevov)
  • Line: cover joints and near-degenerate derivatives in bezier bounds (Anton Lavrevov)
  • Path: exact getSelfRect bounds for quadratic segments (Anton Lavrevov)
  • Line: exact getSelfRect bounds for lines with a tension (Anton Lavrevov)

Code Refactoring

Performance Improvements

Continuous Integration

Commits

  • b5c7a83: Fix ValidatorFunc Type Mistake (foolishflyfox) #1998
  • ecdf162: Improve Transformer performance with many attached nodes (Anton Lavrevov)
  • 976a63a: Add Transformer perf invariant tests; widen autoDraw suspension (Anton Lavrevov)
  • 7b3cf3b: Simplify a bit (Anton Lavrevov)
  • a203de9: sandbox (Anton Lavrevov)
  • 6e4025c: clear (Anton Lavrevov)
  • b92018b: Merge branch 'master' of github.com:konvajs/konva (Anton Lavrevov)
  • bc123b3: Declare canvas and skia-canvas as optional peer dependencies (Anton Lavrevov)
  • ed1e0cc: Skip pattern smoothing sanity check on skia-canvas (Anton Lavrevov)
  • f9bd818: Report full circle for any full-turn angle in Arc.getSelfRect (Anton Lavrevov)
  • dd90ff4: Merge pull request #2054: fix Arc.getSelfRect for full-turn angles (Anton Lavrevov)
  • 4f8e1a8: color parsing fixes, fix some color values. close #2063, close #2064 (Anton Lavrevov)
  • 4ebadaf: Merge branch 'master' into fix/line-tension-nan (Anton Lavrevov) #2062
  • Line NaN bounding rect fix (Anton Lavrevov)
  • cover all unreleased changes since 10.3.0 (Anton Lavrevov)
  • c7145cc: Merge branch 'master' into fix/line-bezier-selfrect (Anton Lavrevov) #2061
  • d2b96f5: fix(Line,Path): share one exact solver for cubic bezier bounds (Anton Lavrevov)
  • 9e8a106: update CHANGELOG with new version (Anton Lavrevov)
  • fb706a2: build for 10.3.1 (Anton Lavrevov)
  • fad321d: update cdn link (Anton Lavrevov)