quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
148 stars 22 forks source link

⬆️ Bump peggy from 3.0.2 to 4.0.2 #3076

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps peggy from 3.0.2 to 4.0.2.

Release notes

Sourced from peggy's releases.

Fix types

Bug fixes

  • #478 Add "npx" to some doc examples.
  • #479 Refactor cli/fromMem.js into separate project from-mem.
  • #481 Add CLI test for --library
  • #483 fix errors in typescript file.

External grammar libraries

4.0.0

Released: 2024-02-13

Major Changes

  • #379 Fix infinite recursion issue by moving reportInfiniteRecursion to the new prepare pass, and having it fail after finding the first issue. This will require plugin authors to ensure that reportInfiniteRecursion is in the new pass correctly.
  • #417 BREAKING: change to AST to allow topLevelInitializer and initializer to be arrays, in support of multi-file inputs. This will require plugin updates. The CLI and API now take multiple files as input, where the first file is your main library, and subsequent files consist of a library of other rules. The CLI can take file names of the form npm:<package-name>/<filename> to load library rules from an NPM package that is installed relative to the previous non-npm file name, or to the current working directory if this is the first file name.
  • #420 BREAKING: Node v16+ is now required for running the CLI or using Peggy as a library. Generated code still targets older runtimes.
  • #456 BREAKING: Allow imports from external compiled grammars inside a source grammar, using import {rule} from "external.js". Note that this syntax will generate either import or require in the JavaScript output, depending on the value of the format parameter. This will need explicit support from plugins, with a few new AST node types and a few visitor changes.
  • #463 Drop support for Internet Explorer. Move to eslint flat configs in order to lint minimized browser code for compatibility with defaults, maintained node versions, not op_mini all.

Minor Changes

  • #400 Use @generated in generated code
  • #404 Add support for -w/--watch to the command line interface.
  • #415 Added browser key to package.json, pointing to Webpack output.
  • #420 Updated dependencies to

... (truncated)

Changelog

Sourced from peggy's changelog.

4.0.2

Released: 2024-02-26

Bug fixes

  • #490 Throw error when imports are used in unsupported formats. Supported formats are now only "es" and "commonjs".
  • #494 Updated docs to make --allowedRules * more clear
  • #495 from-mem inadvertantly made the minimum supported node version v20.8. Updated to latest from-mem.

4.0.1

Released: 2024-02-23

Bug fixes

  • #478 Add "npx" to some doc examples.
  • #479 Refactor cli/fromMem.js into separate project from-mem.
  • #481 Add CLI test for --library
  • #483 fix errors in typescript file.

4.0.0

Released: 2024-02-13

Major Changes

  • #379 Fix infinite recursion issue by moving reportInfiniteRecursion to the new prepare pass, and having it fail after finding the first issue. This will require plugin authors to ensure that reportInfiniteRecursion is in the new pass correctly.
  • #417 BREAKING: change to AST to allow topLevelInitializer and initializer to be arrays, in support of multi-file inputs. This will require plugin updates. The CLI and API now take multiple files as input, where the first file is your main library, and subsequent files consist of a library of other rules. The CLI can take file names of the form npm:<package-name>/<filename> to load library rules from an NPM package that is installed relative to the previous non-npm file name, or to the current working directory if this is the first file name.
  • #420 BREAKING: Node v16+ is now required for running the CLI or using Peggy as a library. Generated code still targets older runtimes.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: e44c556b7f8250d9fe29e64ee0c45cc4f41f5e3e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Ignored Deployments | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **quri-hub** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/quri-hub/26am9R7Zur442frm77y7yLp22MLp)) | [Visit Preview](https://quri-hub-git-dependabot-npmandyar-829d7a-quantified-uncertainty.vercel.app) | Mar 1, 2024 5:37pm | | **quri-ui** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/quri-ui/9G2zQTK1agQdLotoVrHGW53xvA27)) | [Visit Preview](https://quri-ui-git-dependabot-npmandyarn-685efa-quantified-uncertainty.vercel.app) | Mar 1, 2024 5:37pm | | **squiggle-components** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/squiggle-components/93wZFCeCkUJPGQk2vazwotv96bnf)) | [Visit Preview](https://squiggle-components-git-dependabo-75c197-quantified-uncertainty.vercel.app) | Mar 1, 2024 5:37pm | | **squiggle-website** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/squiggle-website/7ZTpU7rGuJ2NmnGDN4j8BgT9SLkR)) | [Visit Preview](https://squiggle-website-git-dependabot-n-51324a-quantified-uncertainty.vercel.app) | Mar 1, 2024 5:37pm |
vercel[bot] commented 4 months ago

Deployment failed with the following error:

Too many requests - try again in 51 seconds (more than 60, code: "api-deployments-flood").