[Snyk] Upgrade twig from 1.13.3 to 1.17.1 #218
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade twig from 1.13.3 to 1.17.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 9 versions ahead of your current version.
The recommended version was released 2 years ago.
Release notes
Package name: twig
-
1.17.1 - 2023-11-16
- Fix package-lock.json for compatibility with Node.js 10+ by @ RobLoach in #886
-
1.17.0 - 2023-11-16
- Add string position of tokens in token trees by @ synga-nl in #859
- Allow multiple spaces after elseif statement. by @ antoineveldhoven in #870
- Make is empty return false for boolean true. by @ antoineveldhoven in #869
- Add support for spaceship operator by @ antoineveldhoven in #873
- Allow colon inside Twig.expression.type.key.brackets. by @ antoineveldhoven in #879
- Bump @ babel/traverse from 7.12.5 to 7.23.2 by @ dependabot in #877
- Support variables in slice filter shorthand by @ antoineveldhoven in #881
- @ synga-nl made their first contribution in #859
- @ antoineveldhoven made their first contribution in #870
-
1.16.0 - 2023-02-28
- Fix macro changing context in loop by @ mihkeleidast in #773
- Imported function PATHS.strip_slash() missing by @ murageyun in #770
- Convert non-string values to string before replacing by @ kmonahan in #797
- Fixed Twig official's URL on README.md by @ Geolim4 in #822
- Add namespace support to
- Add tests for whitespace in paths by @ willrowe in #824
- Fix multiple includes with embeds by @ willrowe in #828
- Use src/twig.js as package's main script instead of the compiled twig.js by @ RobLoach in #829
- Update to Mocha 9.x by @ RobLoach in #831
- Add test for issue #767 by @ willrowe in #837
- Add support for
- Add support for
- Use v3 of
- Test on more node versions by @ willrowe in #847
- Fix webpack 5 compatibility by @ willrowe in #849
- Add test to confirm
- Fix casing of variables in docs by @ willrowe in #852
- Fix passing context around by @ willrowe in #850
- Update to v1.16.0 by @ RobLoach in #858
- Bump dependencies by @ dependabot
- @ murageyun made their first contribution in #770
- @ kmonahan made their first contribution in #797
- @ Geolim4 made their first contribution in #822
-
1.15.4 - 2020-11-27
- fix: fix lost context when calling a macro multiple times by @ mihkeleidast in #760
- Update to 1.15.4 by @ RobLoach in #761
-
1.15.3 - 2020-11-07
- Fix documentation of browser usage (#755) by odebparla
- Add support for template arrays when using extends (#754) by justafish
-
1.15.2 - 2020-08-17
- Specify MimeType to always use for AJAX templates (#742) by MasterOdin
- Added token count validation (#745) by HakS
- Async renderFile error callback (#748) by ArnauMrJeff
- Ternary operator overrides context fix (#737) by oleg-andreyev
- Update lodash to
- Update elliptic to
-
1.15.1 - 2020-04-16
-
1.15.0 - 2020-02-20
- Add support for arrays with
- Add babel preset on serverBuild (#707 by @ stephane-r)
- Support for "do" tag (#703 by @ drzraf)
- Update
- Deprecate Node.js 8 from testing by @ RobLoach
- Support for Source Maps (#700 by @ drzraf)
- Search for block within all ascendants instead of parent only (#698 by @ drzraf)
- Fix autoescape for empty includes (#687 by @ tgabi333)
- Fix filters with empty string input (#690 by @ tbence94)
-
1.14.0 - 2019-11-13
- Add Babel to the webpack build
- Add
- Add
- Add
- Fix
- Add
- Update
- Fix
-
1.13.3 - 2019-05-03
- Allow project development on Windows (#611)
- Add possibility to define namespace without slash at the end of the path (#609)
- Update
from twig GitHub release notesHot fix for v1.17.0 for a package-lock.json fix.
What's Changed
Full Changelog: v1.17.0...v1.17.1
What's Changed
New Contributors
Full Changelog: v1.16.0...v1.17.0
What's Changed
sourcefunction by @ willrowe in #823divisible bytest by @ willrowe in #838withtag without context oronlykeyword by @ willrowe in #839actions/checkoutby @ willrowe in #846renderFileerror handling by @ willrowe in #851New Contributors
Full Changelog: v1.15.4...v1.16.0
What's Changed
Full Changelog: v1.15.3...v1.15.4
Minor improvements:
4.17.196.5.3v1.15.1
Major improvements:
include(#681 by @ justafish)xoand code syntax by @ RobLoachMinor improvements:
Major improvements
Minor improvements
applytag (#656 by @ maxhelias)spacelessfilter (#655 by @ maxhelias)deprecatedtag (#675 by @ josephineb)starts withandends withexpressions (#661 by @ ilkkave)package.jsonlicense field to fix npm warning (#672 by @ WietseWind)strict_variablesoption to match Twig's strict messages (#674 by @ toptalo)??operator when used with arrays to return the array rather than its length (#653 by @ diegorales)verbatimtag (#584)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: