-
Notifications
You must be signed in to change notification settings - Fork 616
Commit 4e2813e
fix(deps): update dependency mathjs to v11 (#679)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mathjs](https://mathjs.org) ([source](https://togithub.com/josdejong/mathjs)) | [`^10.0.0` -> `^11.0.0`](https://renovatebot.com/diffs/npm/mathjs/10.6.4/11.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>josdejong/mathjs</summary>
### [`v11.0.1`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#​2022-07-25-version-1101)
[Compare Source](https://togithub.com/josdejong/mathjs/compare/v11.0.0...v11.0.1)
- Fix [#​2632](https://togithub.com/josdejong/mathjs/issues/2632): TypeScript issue of `simplifyConstant` and `simplifyCore`
not having a return type defined.
### [`v11.0.0`](https://togithub.com/josdejong/mathjs/blob/HEAD/HISTORY.md#​2022-07-23-version-1100)
[Compare Source](https://togithub.com/josdejong/mathjs/compare/v10.6.4...v11.0.0)
!!! BE CAREFUL: BREAKING CHANGES !!!
Breaking changes:
- Dropped official support for IE11.
- Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://togithub.com/josdejong/typed-function/blob/develop/HISTORY.md#​2022-05-12-version-300). Thanks [@​gwhitney](https://togithub.com/gwhitney). Most importantly:
- Conversions now have preference over `any`.
- The `this` variable is no longer bound to the typed function itself.
- The properties `typed.types`, `typed.conversions`, and `typed.ignore`
have been removed.
- There are new static functions available like `typed.referTo`,
`typed.referToSelf`, `typed.addTypes`, `typed.addConversions`.
- Implement amended "Rule 2" for implicit multiplication ([#​2370](https://togithub.com/josdejong/mathjs/issues/2370), [#​2460](https://togithub.com/josdejong/mathjs/issues/2460)):
when having a division followed by an implicit multiplication, the division
gets higher precedence over the implicit multiplication when (a) the
numerator is a constant with optionally a prefix operator (`-`, `+`, `~`),
and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was
interpreted as `-1 / (2 * x)` and now it is interpreted as `(-1 / 2) * x`.
Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
square, sqrt, cube, and cbrt to prevent confusion with standard matrix
functions ([#​2440](https://togithub.com/josdejong/mathjs/issues/2440), [#​2465](https://togithub.com/josdejong/mathjs/issues/2465)). Instead, use `math.map(matrix, fn)`.
Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Simplify: convert equivalent function calls into operators, for example,
`add(2, x)` will now be simplified into `2 + x` ([#​2415](https://togithub.com/josdejong/mathjs/issues/2415), [#​2466](https://togithub.com/josdejong/mathjs/issues/2466)).
Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Removed the automatic conversion from `number` to `string` ([#​2482](https://togithub.com/josdejong/mathjs/issues/2482)).
Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Fix [#​2412](https://togithub.com/josdejong/mathjs/issues/2412): let function `diff` return an empty matrix when the input contains
only one element ([#​2422](https://togithub.com/josdejong/mathjs/issues/2422)).
- Internal refactoring in the `simplifyCore` logic ([#​2490](https://togithub.com/josdejong/mathjs/issues/2490), [#​2484](https://togithub.com/josdejong/mathjs/issues/2484), [#​2459](https://togithub.com/josdejong/mathjs/issues/2459)).
The function `simplifyCore` will no longer (partially) merge constants, that
behavior has been moved to `simplifyConstant`. The combination of
`simplifyConstant` and `simplifyCore` is still close to the old behavior
of `simplifyCore`, but there are some differences. To reproduce the same
behavior as the old `simplifyCore`, you can use
`math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`.
Thanks to the refactoring, `simplify` is more thorough in reducing constants.
Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Disable support for splitting rest parameters in chained calculations
([#​2485](https://togithub.com/josdejong/mathjs/issues/2485), [#​2474](https://togithub.com/josdejong/mathjs/issues/2474)). For example: `math.chain(3).max(4, 2).done()` will now throw
an error rather than return `4`, because the rest parameter of
`math.max(...number)` has been split between the contents of the chain and
the arguments to the max call. Thanks [@​gwhitney](https://togithub.com/gwhitney).
- Function `typeOf` now returns `function` (lowercase) for a function instead
of `Function` ([#​2560](https://togithub.com/josdejong/mathjs/issues/2560)). Thanks [@​gwhitney](https://togithub.com/gwhitney).
Non-breaking changes:
- Fix [#​2600](https://togithub.com/josdejong/mathjs/issues/2600): improve the TypeScript definitions of `simplify`.
Thanks [@​laureen-m](https://togithub.com/laureen-m) and [@​mattvague](https://togithub.com/mattvague).
- Fix [#​2607](https://togithub.com/josdejong/mathjs/issues/2607): improve type definition of `createUnit`. Thanks [@​egziko](https://togithub.com/egziko).
- Fix [#​2608](https://togithub.com/josdejong/mathjs/issues/2608): clarify the docs on the need to configure a smaller `epsilon`
when using BigNumbers.
- Fix [#​2613](https://togithub.com/josdejong/mathjs/issues/2613): describe matrix methods `get` and `set` in the docs.
- Fix link to `math.rationalize` in the docs ([#​2616](https://togithub.com/josdejong/mathjs/issues/2616)). Thanks [@​nukisman](https://togithub.com/nukisman).
- Fix [#​2621](https://togithub.com/josdejong/mathjs/issues/2621): add TypeScript definitions for `count` ([#​2622](https://togithub.com/josdejong/mathjs/issues/2622)). Thanks [@​Hansuku](https://togithub.com/Hansuku).
- Improved TypeScript definitions of `multiply` ([#​2623](https://togithub.com/josdejong/mathjs/issues/2623)). Thanks [@​Windrill](https://togithub.com/Windrill).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-language).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMjIuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEyNy4wIn0=-->1 parent 386d9b6 commit 4e2813eCopy full SHA for 4e2813e
File tree
1 file changed
+1
-1
lines changedFilter options
- packages/google-cloud-language/samples
1 file changed
+1
-1
lines changedpackages/google-cloud-language/samples/package.json
Copy file name to clipboardExpand all lines: packages/google-cloud-language/samples/package.json+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
0 commit comments