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 common/utils and common/primitives to v10.277 #2192

Merged

Conversation

Spice-King
Copy link
Contributor

@Spice-King Spice-King commented Aug 14, 2022

Resolves #2172, resolves #2173, resolves #2174, resolves #2175, resolves #2176, resolves #2177, resolves #2218, and touches #2166.

@Spice-King Spice-King requested a review from a team as a code owner August 14, 2022 23:47
Spice-King added a commit to Spice-King/foundry-vtt-types that referenced this pull request Aug 14, 2022
@Spice-King
Copy link
Contributor Author

Spice-King commented Aug 14, 2022

url.mjs.d.ts is non-functional due to issues I tried to resolve upstream in Typescript. For the interested, I tried to fix it, but was not able to find a solution I liked for my PR, so I pushed a draft up here: microsoft/TypeScript-DOM-lib-generator#1379

@ghost91-
Copy link
Collaborator

utils.mjs.d.ts is non-functional due to issues I tried to resolve upstream in Typescript. For the interested, I tried to fix it, but was not able to find a solution I liked for my PR, so I pushed a draft up here: microsoft/TypeScript-DOM-lib-generator#1379

I believe you mean url.mjs.d.ts...?

@Spice-King
Copy link
Contributor Author

Spice-King commented Aug 15, 2022

I believe you mean url.mjs.d.ts...?

Yup. Fried brain and running off for dinner.

Copy link
Collaborator

@ghost91- ghost91- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking pretty good, just some small comments.

Collection also needs to be updated. It's mostly just documentation changes, but there are some small implementation changes, too (e.g. the index being passed to map callbacks, etc.)

src/foundry/common/primitives/array.mjs.d.ts Show resolved Hide resolved
src/foundry/common/primitives/set.mjs.d.ts Show resolved Hide resolved
src/foundry/common/primitives/set.mjs.d.ts Show resolved Hide resolved
src/foundry/common/primitives/set.mjs.d.ts Show resolved Hide resolved
src/foundry/common/primitives/string.mjs.d.ts Show resolved Hide resolved
src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
@Spice-King
Copy link
Contributor Author

Collection also needs to be updated.

Whoops. Somehow got missed when I was diffing.

@Spice-King Spice-King force-pushed the v10/common-utils branch 2 times, most recently from 29b879b to 4bc392a Compare August 16, 2022 04:33
@Spice-King
Copy link
Contributor Author

Right, should be all good for now and updated the only things under common/utils and common/primitives to v10.278

Copy link
Collaborator

@ghost91- ghost91- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one tiny small comment, aside from this it's perfect! :)

src/foundry/common/utils/helpers.mjs.d.ts Outdated Show resolved Hide resolved
@ghost91- ghost91- merged commit 8dad13e into League-of-Foundry-Developers:main Aug 19, 2022
@Spice-King Spice-King deleted the v10/common-utils branch August 20, 2022 01:32
Spice-King added a commit to Spice-King/foundry-vtt-types that referenced this pull request Aug 20, 2022
Spice-King added a commit to Spice-King/foundry-vtt-types that referenced this pull request Aug 20, 2022
Spice-King added a commit to Spice-King/foundry-vtt-types that referenced this pull request Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment