[Snyk] Upgrade tslib from 2.4.0 to 2.8.1#25
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.
Summary of Changes
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!
This pull request, automatically generated by Snyk, primarily aims to upgrade the tslib dependency from version 2.4.0 to 2.8.1. However, the changes in package-lock.json reveal a more extensive update to the project's dependency tree, including significant version bumps for Angular core and related libraries. This ensures the project benefits from the latest features, bug fixes, and security patches across its key dependencies.
Highlights
- tslib Dependency Upgrade: The
tsliblibrary has been upgraded from version2.4.0to2.8.1. This update incorporates multiple minor and patch releases, bringing the project up-to-date with the latesttslibfeatures and fixes. - Angular Ecosystem Updates: Beyond just
tslib, core Angular dependencies, specifically@angular/commonand@angular/core, have been updated from14.0.5to14.3.0. This broader update also triggered the inclusion or update of several other Angular-related peer and transitive dependencies, such as@angular/animations,@angular/cdk,@angular/flex-layout,@angular/forms,@angular/material,@angular/platform-browser, and@angular/router. - Project Version Bump: The local package
@iote/bricks-angularhas been updated from version2.0.0to2.0.5, reflecting the comprehensive dependency updates applied in this pull request.
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.
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. ↩
| "@angular/cdk": "^14.2.0", | ||
| "@angular/common": "^14.2.0", | ||
| "@angular/core": "^14.2.0", | ||
| "@angular/flex-layout": "^14.0.0-beta.40", |
There was a problem hiding this comment.
This change introduces a peer dependency on @angular/flex-layout, which is a deprecated package. Relying on deprecated packages is risky as they no longer receive updates, including security fixes, and may be removed from registries in the future. It is highly recommended to use modern CSS features like Flexbox or Grid for layouts, as suggested by the Angular team in the deprecation notice. Please remove this dependency and refactor any components that rely on it.
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 8 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: