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 puppeteer 22.9.0 → 22.10.1 (minor) #318

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 13, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ puppeteer (22.9.0 → 22.10.1) · Repo · Changelog

Release Notes

22.10.1 (from changelog)

Miscellaneous Chores

  • puppeteer: Synchronize puppeteer versions

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 22.10.0 to 22.10.1

22.10.0 (from changelog)

Miscellaneous Chores

  • puppeteer: Synchronize puppeteer versions

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 22.9.0 to 22.10.0

Does any of this look wrong? Please let us know.

↗️ bare-events (indirect, 2.2.2 → 2.4.2) · Repo

Commits

See the full diff on Github. The new version differs by 12 commits:

↗️ puppeteer-core (indirect, 22.9.0 → 22.10.1) · Repo · Changelog

Release Notes

22.10.1 (from changelog)

Bug Fixes

  • add a way to run page.$$ without the isolation (#12539) (03e10a7)
  • align network conditions presets with DevTools (#12542) (ee10745)
  • exposed functions should only be called once (#12560) (8aac8b1)
  • performance: use Runtime.getProperties for improved performance (#12561) (8b2059f)
  • roll to Chrome 125.0.6422.141 (r1287751) (#12509) (c4fdd10)
  • waitForSelector should work for pseudo classes (#12545) (0b2999f)
  • webdriver: default values for touch events (#12554) (4d62988)
  • webdriver: frame url should not be updated on navigationStarted (#12536) (7d0423b)
  • webdriver: HTTPRequest redirect chain from first request (#12506) (68fd771)

22.10.0 (from changelog)

Features

Bug Fixes

  • providing null to page.authenticate should disable authentication (#12203) (f375267)
  • roll to Chrome 125.0.6422.76 (r1287751) (#12477) (d83d9a6)
  • roll to Chrome 125.0.6422.78 (r1287751) (#12484) (f30977f)
  • webdriver: emit single HTTPRequest for Auth requests (#12455) (637e827)

Does any of this look wrong? Please let us know.

↗️ streamx (indirect, 2.16.1 → 2.18.0) · Repo

Commits

See the full diff on Github. The new version differs by 6 commits:

↗️ tslib (indirect, 2.6.2 → 2.6.3) · Repo

Release Notes

2.6.3

What's Changed

Full Changelog: v2.6.2...v2.6.3

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 15 commits:

↗️ zod (indirect, 3.22.4 → 3.23.8) · Repo · Changelog

Release Notes

3.23.8

Commits:

3.23.7

Commits:

3.23.6

Commits:

3.23.5

Commits:

3.23.4

Commits:

3.23.3

Commits:

3.23.0

Zod 3.23 is now available. This is the final 3.x release before Zod 4.0. To try it out:

npm install zod

Features

z.string().date()

Zod can now validate ISO 8601 date strings. Thanks @igalklebanov! #1766

const schema = z.string().date();
schema.parse("2022-01-01"); // OK

z.string().time()

Zod can now validate ISO 8601 time strings. Thanks @igalklebanov! #1766

const schema = z.string().time();
schema.parse("12:00:00"); // OK

You can specify sub-second precision using the precision option:

const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error

z.string().duration()

Zod can now validate ISO 8601 duration strings. Thanks @mastermatt! #3265

const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK

Improvements to z.string().datetime()

Thanks @bchrobot #2522

You can now allow unqualified (timezone-less) datetimes using the local: true flag.

const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK

Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @szamanr! #3391

z.string().base64()

Zod can now validate base64 strings. Thanks @StefanTerdell! #3047

const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK

Improved discriminated unions

The following can now be used as discriminator keys in z.discriminatedUnion():

  • ZodOptional
  • ZodNullable
  • ZodReadonly
  • ZodBranded
  • ZodCatch
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);

Misc

Breaking changes

There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.

ZodFirstPartySchemaTypes

Three new types have been added to the ZodFirstPartySchemaTypes union. This may impact some codegen libraries. #3247

+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;

Default generics in ZodType

The third argument of the ZodType base class now defaults to unknown. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.

- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = any> {}

Unrecognized keys in .pick() and .omit()

This version fixes a bug where unknown keys were accidentally accepted in .pick() and omit(). This has been fixed, which could cause compiler errors in some user code. #3255

z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})

Bugfixes and performance

Docs and ecosystem

New Contributors

Full Changelog: v3.22.4...v3.23.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🆕 text-decoder (added, 1.1.0)

🆕 debug (added, 4.3.5)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Copy link
Contributor Author

depfu bot commented Jun 20, 2024

Closed in favor of #321.

@depfu depfu bot closed this Jun 20, 2024
@depfu depfu bot deleted the depfu/update/npm/puppeteer-22.10.1 branch June 20, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants