[Snyk] Upgrade tslib from 2.4.0 to 2.8.1#20
Conversation
Snyk has created this PR to upgrade tslib from 2.4.0 to 2.8.1. See this package in npm: tslib See this project in Snyk: https://app.snyk.io/org/mohammadnewton/project/2aedef6a-6e2f-4751-81ab-2679b35e27fe?utm_source=github&utm_medium=referral&page=upgrade-pr
There was a problem hiding this comment.
Hello @nejidevelops, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request upgrades the tslib dependency in the @iote/bricks-angular package from version 2.4.0 to 2.8.1. This is an automated upgrade PR created by Snyk to keep dependencies up-to-date and address potential vulnerabilities. The changes primarily involve updating the package-lock.json and package.json files to reflect the new tslib version and its associated dependencies and peer dependencies.
Highlights
- Dependency Upgrade: The primary focus of this PR is to upgrade the
tslibdependency from version 2.4.0 to 2.8.1. - package-lock.json Update: The
package-lock.jsonfile is updated to reflect the newtslibversion and its impact on other dependencies and peer dependencies, including updates to@angular/*packages,rxjs,lodash, and others. - package.json Update: The
package.jsonfile is updated to specify the newtslibversion as a dependency.
Changelog
- libs/util/iote/bricks-angular/package-lock.json
- Upgraded
tslibdependency from version 2.4.0 to 2.8.1. - Updated the version of
@iote/bricks-angularfrom 2.0.0 to 2.0.5. - Added new dependencies and peer dependencies including
@angular/animations,@angular/cdk,@angular/flex-layout,@angular/forms,@angular/material,@angular/platform-browser,@angular/router,@firebase/app-types,@firebase/firestore-types,@firebase/util,@iote/time,lodash,moment,parse5, andsubsink. - Updated peer dependencies for
@angular/commonand@angular/corefrom version 14.0.5 to 14.3.0. - Updated peer dependencies for
zone.jsto allow versions ~0.11.4 or ~0.12.0.
- Upgraded
- libs/util/iote/bricks-angular/package.json
- Upgraded
tslibdependency from version 2.3.0 to 2.8.1. - Updated the version of
@iote/bricks-angularfrom 2.0.0 to 2.0.5.
- Upgraded
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
A library's heart,
tslibevolves, a new start,
Helpers aligned,
With TypeScript combined,
Code's rhythm, a work of art.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Code Review
The pull request updates the tslib dependency from version 2.4.0 to 2.8.1 in the @iote/bricks-angular library. This is a dependency upgrade PR created by Snyk. The changes primarily involve updating the package.json and package-lock.json files to reflect the new version of tslib and its transitive dependencies. Overall, the changes seem straightforward and necessary for keeping the project up-to-date and secure.
Merge Readiness
The pull request appears to be a straightforward dependency upgrade. Given that the changes are primarily in the package.json and package-lock.json files, and there are no high or critical severity issues, the pull request seems reasonably safe to merge. However, as I am unable to directly approve the pull request, I recommend that another reviewer with more familiarity with the project's dependencies take a look before merging. It's always a good idea to run tests after such an upgrade to ensure that everything is still working as expected.
| }, | ||
| "dependencies": { | ||
| "tslib": "^2.3.0" | ||
| "tslib": "^2.8.1" |
Snyk has created this PR to upgrade tslib from 2.4.0 to 2.8.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 12 versions ahead of your current version.
The recommended version was released 6 months ago.
Release notes
Package name: tslib
-
2.8.1 - 2024-10-31
- Fix publish workflow by @ andrewbranch in #271
- Include non-enumerable keys in __importStar helper by @ rbuckton in #272
- Remove use of ES2015 syntax by @ andrewbranch in #275
-
2.8.0 - 2024-10-15
- Validate export structure of every entrypoint by @ andrewbranch in #269
- Add rewriteRelativeImportExtension helper by @ andrewbranch in #270
-
2.7.0 - 2024-08-23
- Implement deterministic collapse of
- Use global 'Iterator.prototype' for downlevel generators by @ rbuckton in #267
-
2.6.3 - 2024-06-04
- 'await using' normative changes by @ rbuckton in #258
-
2.6.2 - 2023-08-18
- Fix path to
-
2.6.1 - 2023-07-24
- Allow functions as values in __addDisposableResource by @ rbuckton in #215
- Stop using es6 syntax in the es6 file by @ andrewbranch in #216
-
2.6.0 - 2023-06-26
- Add helpers for
-
2.5.3 - 2023-06-02
- Do not reference tslib.es6.js from package.json exports by @ andrewbranch in #208
-
2.5.2 - 2023-05-18
-
2.5.1 - 2023-05-17
-
2.5.0 - 2023-01-26
-
2.4.1 - 2022-10-31
-
2.4.0 - 2022-04-22
from tslib GitHub release notesWhat's Changed
Full Changelog: v2.8.0...v2.8.1
What's Changed
Full Changelog: v2.7.0...v2.8.0
What's Changed
awaitinawait usingby @ rbuckton in #262Full Changelog: v2.6.3...v2.7.0
What's Changed
Full Changelog: v2.6.2...v2.6.3
What's Changed
exports["module"]["types"]by @ andrewbranch in #217Full Changelog: v2.6.1...v2.6.2
What's Changed
Full Changelog: 2.6.0...v2.6.1
What's Changed
usingandawait usingby @ rbuckton in #213Full Changelog: v2.5.3...2.6.0
What's Changed
Full Changelog: 2.5.2...v2.5.3
This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.
This release of tslib provides fixes for two issues.
First, it reverses the order of
inithooks provided by decorators to correctly reflect proposed behavior.Second, it corrects the
exportsfield of tslib'spackage.jsonand provides accurate declaration files so that it may be consumed under thenode16andbundlersettings formoduleResolution.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: