π fix recent regression when using path option. return to historical behavior: do not attempt to auto find .env if path set. (regression was introduced in 16.4.3) #814
This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:
Constant folding for JavaScript inequality operators (#3645)
This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:
// Original code
console.log(1 < 2, 'π' > 'π§')
// Old output (with --minify)
console.log(1<2,"π">"π§");
JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:
// Original code
function foo(__proto__) {
return { __proto__: __proto__ } // Note: sets the prototype
This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:
Constant folding for JavaScript inequality operators (#3645)
This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:
// Original code
console.log(1 < 2, 'π' > 'π§')
// Old output (with --minify)
console.log(1<2,"π">"π§");
JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the development-dependencies group with 4 updates: ava, dotenv, esbuild and yaml.
Updates
ava
from 6.1.1 to 6.1.2Release notes
Sourced from ava's releases.
Commits
5d48c95
6.1.2be5000a
Fix throws assertions rejecting falsy values when any: true1d62caf
Upgrade xo to v0.57.0Updates
dotenv
from 16.4.1 to 16.4.5Changelog
Sourced from dotenv's changelog.
Commits
9f3e833
16.4.56924177
Merge pull request #814 from motdotla/dont-check-existance3533420
changelog πͺ΅249e5a6
adjust logic to support tests87fd887
do not check if exists1146910
rename .env-multiline to .env.multilined03e397
16.4.43275a0a
changelog πͺ΅f40a8c3
Merge pull request #812 from motdotla/patch-121dc22d3
replace 14 chaining operatorUpdates
esbuild
from 0.20.0 to 0.20.1Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
9f9e4f8
publish 0.20.1 to npmac36537
fix #3651: handle__proto__
edge cases better555db48
fix #3645: constant folding for\< > \<= >=
5650831
fix #3650: add a wrapper for float64 mathd086889
fix some lintsad3d8c6
fix #3648: copy selectors before checking childrena08f30d
fix #3634: crash if resolving with bad source dirUpdates
yaml
from 2.3.4 to 2.4.0Release notes
Sourced from yaml's releases.
Commits
8d8cfb7
2.4.0e6a5e28
feat: Add CLI tool (#523)959f1cf
docs: Add a predocs script creating symlinks for docs generator74a86e2
docs: Add yaml-types mentione80a4c5
chore: Update json-test-suiteb5fa4cb
chore: Update Babel plugins9fc76fa
chore: Update@βtypes/node
to v20495cfeb
chore: Update rollup to v428b3ba5
chore: Update typescript-eslint to v7e4f963a
style: Apply updated Prettier rulesDependabot 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