Christopher Allen
032b5ed9ea
refactor(events): Introduce and use event type predicates ( #8538 )
...
* refactor(events): Introduce type predicates for event classes
Introduce predicates for testing Abstract event subclasses based on
their .type properties. These are useful because there are places
where it is not possible to use instanceof <ClassConstructor> tests
for type narrowing due to load ordering issues that would be caused
by the need to import (rather than just import type) the class
constructors in question.
* refactor(events): Use event type predicates
Simplify several sections of code by using type predicates for
type narrowing and thereby avoiding the need for explicit casts.
* chore(events): Fix copyright date of recently-added files
* chore: Remove unused import
2024-08-20 19:50:29 +01:00
Christopher Allen
bde216d120
refactor(events): Don't filter events before undo ( #8537 )
...
Use of the filter function in Workspace.prototype.undo has caused
problems with repeated undo/redo (see issue #7026 ), the
originally-chosen fix for which was the addition (in PR #7069 ) of
code to fireNow to post-filter the .undoStack_ and .redoStack_ of
any workspace that had just been involved in dispatching events.
This apparently resolved the issue but added considerable
additional complexity and made it difficult to reason about how
events are processed for undo/redo.
Instead, since this filtering typically does nothing (at least
nothing desirable), simply don't re-filter events on the undo
stack before replaying them.
2024-08-20 08:39:37 +01:00
Christopher Allen
7ccdcc5cef
refactor(events): introduce EventType enum in separate module ( #8530 )
...
* refactor(events): Use "export ... from" where applicable
* refactor(events): Introduce EventType enum
Introduce an enum for the event .type values. We can't actually
use it as the type of the .type property on Abstract events,
because we want to allow developers to add their own custom
event types inheriting from this type, but at least this way we
can be reasonably sure that all of our own event subclasses have
distinct .type values—plus consistent use of enum syntax
(EventType.TYPE_NAME) is probably good for readability overall.
Put it in a separate module from the rest of events/utils.ts
because it would be helpful if event utils could use
event instanceof SomeEventType
for type narrowing but but at the moment most events are in
modules that depend on events/utils.ts for their .type
constant, and although circular ESM dependencies should work
in principle there are various restrictions and this
particular circularity causes issues at the moment.
A few of the event classes also depend on utils.ts for fire()
or other functions, which will be harder to deal with, but at
least this commit is win in terms of reducing the complexity
of our dependencies, making most of the Abstract event subclass
module dependent on type.ts, which has no imports, rather than
on utils.ts which has multiple imports.
2024-08-20 08:36:33 +01:00
dependabot[bot]
806f8f95d2
chore(deps): bump typescript from 5.5.3 to 5.5.4 ( #8535 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.5.3 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 08:59:07 -07:00
John Nesky
17e4f1c966
Fix: let workspace comment have delete cursor over trash. ( #8477 )
2024-08-15 11:41:22 -07:00
Christopher Allen
ce22f42868
chore: Organise imports ( #8527 )
...
* chore(deps): Add pretter-plugin-organize-imports
* chore: Remove insignificant blank lines in import sections
Since prettier-plugin-organize-imports sorts imports within
sections separated by blank lines, but preserves the section
divisions, remove any blank lines that are not dividing imports
into meaningful sections.
Do not remove blank lines separating side-effect-only imports
from main imports.
* chore: Remove unneded eslint-disable directives
* chore: Organise imports
2024-08-15 03:16:14 +01:00
abhinavjha0239
ec8f9c8589
chore: removed the whole Drag category from the browser test ( #8478 )
...
* fix: removed the whole Drag category from the blocks
* fix: added comment according to reviewer
* fix: added comment according to reviewer
* fix: added comment according to reviewer
2024-08-14 11:17:28 -07:00
dependabot[bot]
f57ef73aaf
chore(deps): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.0.1 ( #8479 )
...
* chore(deps): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.0.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.17.0 to 8.0.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: lint plugin versions
* chore: fix linting
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Beka Westberg <bwestberg@google.com >
2024-08-14 09:10:34 -07:00
dependabot[bot]
c0c365a5da
chore(deps): bump the npm_and_yarn group across 1 directory with 4 updates ( #8476 )
...
Bumps the npm_and_yarn group with 4 updates in the / directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects ), [ip](https://github.com/indutny/node-ip ), [pac-resolver](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/pac-resolver ) and [socks](https://github.com/JoshGlazebrook/socks ).
Updates `follow-redirects` from 1.15.4 to 1.15.6
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
Removes `ip`
Updates `pac-resolver` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases )
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/pac-resolver/CHANGELOG.md )
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/pac-resolver@7.0.1/packages/pac-resolver )
Updates `socks` from 2.7.1 to 2.8.3
- [Release notes](https://github.com/JoshGlazebrook/socks/releases )
- [Commits](https://github.com/JoshGlazebrook/socks/compare/2.7.1...2.8.3 )
Updates `pac-resolver` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases )
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/pac-resolver/CHANGELOG.md )
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/pac-resolver@7.0.1/packages/pac-resolver )
Updates `socks` from 2.7.1 to 2.8.3
- [Release notes](https://github.com/JoshGlazebrook/socks/releases )
- [Commits](https://github.com/JoshGlazebrook/socks/compare/2.7.1...2.8.3 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: ip
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: pac-resolver
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: socks
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: pac-resolver
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: socks
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 09:42:41 -07:00
dependabot[bot]
7ca84603f6
chore(deps): bump google-github-actions/deploy-appengine ( #8483 )
...
Bumps [google-github-actions/deploy-appengine](https://github.com/google-github-actions/deploy-appengine ) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/google-github-actions/deploy-appengine/releases )
- [Changelog](https://github.com/google-github-actions/deploy-appengine/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/deploy-appengine/compare/v2.1.2...v2.1.3 )
---
updated-dependencies:
- dependency-name: google-github-actions/deploy-appengine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 09:40:54 -07:00
dependabot[bot]
f4731f2caf
chore(deps): bump @hyperjump/json-schema from 1.9.3 to 1.9.6 ( #8482 )
...
Bumps [@hyperjump/json-schema](https://github.com/hyperjump-io/json-schema ) from 1.9.3 to 1.9.6.
- [Commits](https://github.com/hyperjump-io/json-schema/compare/v1.9.3...v1.9.6 )
---
updated-dependencies:
- dependency-name: "@hyperjump/json-schema"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 08:05:49 -07:00
dependabot[bot]
8fa216c226
chore(deps): bump gulp from 4.0.2 to 5.0.0 ( #8463 )
...
Bumps [gulp](https://github.com/gulpjs/gulp ) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/gulpjs/gulp/releases )
- [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/gulp/compare/v4.0.2...v5.0.0 )
---
updated-dependencies:
- dependency-name: gulp
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 19:14:47 +01:00
AbhinavKRNarayan
6b3f9a6723
fix(touch): prevent infinite loop on multi-touch drag ( #8470 )
...
* Change in gesture.ts
* prettier
2024-08-08 15:17:34 -07:00
dependabot[bot]
cf5a3c0fa3
chore(deps): bump @microsoft/api-documenter from 7.25.7 to 7.25.10 ( #8464 )
...
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter ) from 7.25.7 to 7.25.10.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.25.10/apps/api-documenter )
---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 09:37:37 -07:00
Jeremiah Saunders
23e901120b
feat: expose bringToFront() method ( #8472 )
...
* Remove internal from bringToFront JSDoc
* Add a note about the cost of this method
* Remove unnecessary colon
2024-08-07 09:07:48 -07:00
John Nesky
cd31edbd9a
fix: Update dev-tools and remove toolbox category tests Colour and Angles. ( #8457 )
2024-08-05 12:02:58 -07:00
dependabot[bot]
159c5c4d7d
chore(deps): bump rimraf from 5.0.9 to 5.0.10 ( #8461 )
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 5.0.9 to 5.0.10.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.9...v5.0.10 )
---
updated-dependencies:
- dependency-name: rimraf
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 08:57:59 -07:00
Jeremiah Saunders
f020b54fd0
fix: bring comments and bubbles to the front on click ( #8451 )
...
* Bring comment to the block layer when clicked
* Bring bubbles to front when clicked
2024-08-02 13:09:30 -07:00
dependabot[bot]
612b8c89dc
chore(deps): bump jsdom from 24.1.0 to 24.1.1 ( #8444 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 24.1.0 to 24.1.1.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/24.1.0...24.1.1 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-31 00:51:41 +01:00
John Nesky
e2310a4fed
fix: Codify component weights with toolbox in front of flyouts. ( #8432 )
2024-07-29 10:30:29 -07:00
dependabot[bot]
0f74186227
chore(deps): bump @typescript-eslint/eslint-plugin from 7.16.1 to 7.17.0 ( #8445 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.16.1 to 7.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 10:27:20 -07:00
dependabot[bot]
1d8e318028
chore(deps): bump @typescript-eslint/parser from 7.16.1 to 7.17.0 ( #8442 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.16.1 to 7.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 10:26:32 -07:00
dependabot[bot]
ee4a9dd8a1
chore(deps): bump prettier from 3.3.2 to 3.3.3 ( #8410 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 19:28:10 +01:00
ℍ𝕠𝕝𝕝𝕠𝕨 𝕄𝕒𝕟
504de6a98c
fix: drag strategy only clear group id set by us ( #8355 )
...
Add a condition check so that we don't unset
the group ID that is not set by us. Otherwise the
multi-select plugin undo/redo will be broken (apply
individually instead of all together)
Signed-off-by: Hollow Man <hollowman@opensuse.org >
2024-07-25 22:09:10 +01:00
Christopher Allen
ebb56b2ce8
docs(blocks): block.ts and blocks/* JSDoc / formatting / etc. cleanup ( #8431 )
...
* docs(block): Improve documentation for well-known block methods
Improve the JSDocs for the declarations of well-known block
methods:
- getDeveloperVariables
- compose
- decompose
- saveConnections
* docs(blocks): Improve block comments
Fix JSDoc formatting in both core/block.ts and blocks/*, as well as
making various other minor improvments.
* chore(blocks): Remove one unexported const
2024-07-25 17:25:24 +01:00
Beka Westberg
505f28f1a5
Revert "chore: Pin node.js v22 to v22.4.1 in CI ( #8393 )" ( #8398 )
...
This reverts commit 1e3d3fde1c .
2024-07-23 08:24:40 -07:00
Beka Westberg
47c97505f2
Merge pull request #8408 from google/dependabot/npm_and_yarn/develop/microsoft/api-documenter-7.25.7
...
chore(deps): bump @microsoft/api-documenter from 7.25.4 to 7.25.7
2024-07-22 22:08:32 +00:00
dependabot[bot]
625369ce7e
chore(deps): bump rimraf from 5.0.7 to 5.0.9 ( #8409 )
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 5.0.7 to 5.0.9.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.7...v5.0.9 )
---
updated-dependencies:
- dependency-name: rimraf
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 09:39:59 -07:00
John Nesky
40c6d9c490
fix: Enable blocks if user can't manually enable them. ( #8354 )
...
* fix: Enable blocks if user can't manually enable them.
* Only change the affected test method.
2024-07-22 09:21:51 -07:00
dependabot[bot]
5cd3188b58
chore(deps): bump @typescript-eslint/eslint-plugin from 7.16.0 to 7.16.1 ( #8411 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 08:12:01 -07:00
dependabot[bot]
1276c839f1
chore(deps): bump @microsoft/api-documenter from 7.25.4 to 7.25.7
...
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter ) from 7.25.4 to 7.25.7.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.25.7/apps/api-documenter )
---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-22 09:21:57 +00:00
dependabot[bot]
8cad97a214
chore(deps): bump @hyperjump/json-schema from 1.6.7 to 1.9.3 ( #8363 )
...
* chore(deps): bump @hyperjump/json-schema from 1.6.7 to 1.9.3
Bumps [@hyperjump/json-schema](https://github.com/hyperjump-io/json-schema ) from 1.6.7 to 1.9.3.
- [Commits](https://github.com/hyperjump-io/json-schema/compare/v1.6.7...v1.9.3 )
---
updated-dependencies:
- dependency-name: "@hyperjump/json-schema"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(deps): Add dev dependency on @hyperjump/browser
@hyperjump/json-schema (v1.7.0 and later) depends upon
@hyperjump/browser, but fails to declare it as a dependency,
only listing it as a peer dependency, so said package must be
installed separately.
* fix(tests): Use BASIC output as DETAILED is no longer supported
See issue hyperjump-io/json-chema#68 for additional info.
* feat(tests): Add more informational output in case of test failure
Since the BASIC output of the schema verifier is (slightly) less
helpful than the old DETAILED output, add an additional output
containing the first invalid path, e.g.:
#/9.3.0/0/exports/textToDom/newModule
in the results object returned by validate, since this is the
most useful part of that info.
Also use console.error and console.info instead of console.log
where appropriate.
* chore(tests): Format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher Allen <cpcallen+git@google.com >
2024-07-19 11:22:07 +01:00
Christopher Allen
1e3d3fde1c
chore: Pin node.js v22 to v22.4.1 in CI ( #8393 )
...
This should work around nodejs/node#53902 / npm/cli#7657 et al.
2024-07-18 17:12:57 +01:00
Christopher Allen
71f094b901
chore(deps): Enable legacy-peer-deps, update @blockly/ plugins ( #8366 )
...
* chore(deps): Enable npm legacy-peer-deps option
Add legacy-peer-deps=true to .npmrc:
- Doesn't install a second, probably out-of-date copy of Blockly
in node_modules/blockly/.
- Prevents version conflicts when trying to update @blockly/*
dev dependencies, beause npm doesn't seem to be clever enough
to resovle peer dependency version conflicts for the blockly
package when updating plugins (which have blockly as a peer),
even if all plugins are updated at the same time.
- Brings the configuration of the blockly repo in line with
blockly-samples, for whatever that is worth. (Might avoid
problems during monorepo migration.)
* chore(deps): Update @blockly plugins following v11 release
Achieved by running:
npm install --save-dev @blockly/theme-modern@latest @blockly/block-test@latest @blockly/dev-tools@latest
* chore(deps): Install missing @typescript-eslint/parser dev dependency
Our .eslintrc.js references th @typescript-eslint/parser plugin,
but this plugin was not actually included in the devDependencies
section in package.json.
2024-07-17 16:24:26 +01:00
Chang Min Bark
4cdca28fe5
fix: added id to rendered ws comments; made getCommentById public; added blocklyDraggable class to ws comments ( #8358 )
2024-07-15 18:39:39 -07:00
dependabot[bot]
e634b51e41
chore(deps): bump mocha from 10.2.0 to 10.6.0 ( #8364 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 10.2.0 to 10.6.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.6.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 13:20:30 -07:00
dependabot[bot]
baadb52496
chore(deps): bump typescript from 5.4.3 to 5.5.3 ( #8239 )
...
* chore(deps): bump typescript from 5.4.3 to 5.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.4.3 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.5.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: Update typescript and an indirect dependency for compatibility.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Nesky <johnnesky@gmail.com >
2024-07-12 20:33:54 -07:00
Aaron Dodson
f8025a1bdd
Merge pull request #8298 from gonfunko/width-fix
...
fix: use the correct with in getBoundingRectangleWithoutChildren().
2024-07-10 15:57:48 -07:00
Aaron Dodson
b0169ab724
fix: use the correct with in getBoundingRectangleWithoutChildren().
2024-07-10 15:54:56 -07:00
dependabot[bot]
0e85c7110c
chore(deps): bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.16.0 ( #8296 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.12.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 15:45:22 -07:00
Aaron Dodson
fa15cda950
feat: allow fetching block bounds not including children. ( #8284 )
...
* feat: allow fetching block bounds not including children.
* chore: run formatter.
* chore: run the other formatter.
* fix: don't include subsequent blocks in the childless bounding rect.
* chore: remove logging.
2024-07-10 14:52:07 -07:00
Aaron Dodson
8323642d0e
fix: export the layer constants. ( #8256 )
...
* fix: export the layer constants.
* refactor: remove @internal annotations from layer constants.
2024-07-09 15:25:20 -07:00
dependabot[bot]
17dfa462a3
chore(deps): bump google-closure-compiler ( #8251 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20230802.0.0 to 20240317.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20230802.0.0...v20240317.0.0 )
---
updated-dependencies:
- dependency-name: google-closure-compiler
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 17:49:15 +01:00
Christopher Allen
be87eb7aca
test(CI): Have GitHub use npm ci instead of npm install ( #8245 )
...
This should help ensure that CI catches PRs that update
package.json without updating package-lock.json to match.
Proposed in response to breakage caused by PR #8209 .
2024-07-09 17:18:47 +01:00
dependabot[bot]
293bb7c182
chore(deps): bump prettier from 3.2.5 to 3.3.2 ( #8250 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.5 to 3.3.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 15:49:22 -07:00
Christopher Allen
a834e02bd5
test(CI): Add node.js v22.x to build matrix ( #8247 )
2024-07-08 11:03:59 -07:00
Christopher Allen
bc52d65d49
fix(deps): Revert "chore(deps): bump the npm_and_yarn group across 1 directory with 7 up…" ( #8246 )
...
This reverts commit e01154cc74 ,
thereby reverting PR #8209 , due to this having gotten our
package-lock.json out of sync with package.json and thus
breaking npm ci.
2024-07-08 08:43:18 -07:00
Aaron Dodson
a6361fbd81
chore: make getEventWorkspace_() public ( #8241 )
2024-07-02 14:48:16 -07:00
Aaron Dodson
21a73c463f
fix: correctly report the pre-resize-drag size to workspace comment size change listeners ( #8240 )
...
* fix: correctly report the pre-resize-drag size to workspace comment size change listeners
* chore: run formatter
* refactor: implicitly use the presence of preResizeSize to identify a drag.
2024-07-02 14:42:47 -07:00
dependabot[bot]
e01154cc74
chore(deps): bump the npm_and_yarn group across 1 directory with 7 updates ( #8209 )
...
Bumps the npm_and_yarn group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [braces](https://github.com/micromatch/braces ) | `3.0.2` | `3.0.3` |
| [gulp](https://github.com/gulpjs/gulp ) | `4.0.2` | `5.0.0` |
| [follow-redirects](https://github.com/follow-redirects/follow-redirects ) | `1.15.4` | `1.15.6` |
| [ip](https://github.com/indutny/node-ip ) | `1.1.9` | `removed` |
| [pac-resolver](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/pac-resolver ) | `7.0.0` | `7.0.1` |
| [socks](https://github.com/JoshGlazebrook/socks ) | `2.7.1` | `2.8.3` |
| [undici](https://github.com/nodejs/undici ) | `5.28.3` | `5.28.4` |
Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
Updates `gulp` from 4.0.2 to 5.0.0
- [Release notes](https://github.com/gulpjs/gulp/releases )
- [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/gulp/compare/v4.0.2...v5.0.0 )
Updates `follow-redirects` from 1.15.4 to 1.15.6
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
Removes `ip`
Updates `pac-resolver` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases )
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/pac-resolver/CHANGELOG.md )
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/pac-resolver@7.0.1/packages/pac-resolver )
Updates `socks` from 2.7.1 to 2.8.3
- [Release notes](https://github.com/JoshGlazebrook/socks/releases )
- [Commits](https://github.com/JoshGlazebrook/socks/compare/2.7.1...2.8.3 )
Updates `undici` from 5.28.3 to 5.28.4
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: gulp
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: follow-redirects
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: ip
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: pac-resolver
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: socks
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: undici
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 14:41:53 -07:00