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.
This PR contains the following updates:
5.3.0
->5.3.1
16.11.25
->16.11.26
0.25.7
->0.26.1
2.67.2
->2.69.0
4.5.5
->4.6.2
5.69.1
->5.70.0
Release Notes
rollup/plugins
v5.3.1
2022-02-22
Bugfixes
rich-harris/magic-string
v0.26.1
Compare Source
Bug Fixes
v0.26.0
Compare Source
BREAKING CHANGES
magic-string
requires Node.js v12 or higher. (#204).mjs
extension (#197)Features
hasChanged
method (#202) (5f2dba7)replace
method (#203) (cd74ea2)0.25.9 (2022-03-03)
Bug Fixes
storeName
(#194) (96b7cd3)0.25.8 (2022-03-02)
Bug Fixes
MagicString
options as optional (#183) (15c3e66)0.25.7
0.25.6
0.25.5
0.25.4
intro
andoutro
(#162)0.25.3
SourceMap.version
.0.25.2
new Buffer(...)
0.25.1
0.25.0
length
method (#145)0.24.1
lastLine
andlastChar
methods (#142)0.24.0
isEmpty
methods (#137)sourcemap-codec
in 0.23.2.0.23.2
generateDecodedMap
methods (#134)0.23.1
0.23.0
sourcemap-codec
for improved performance (#133)0.22.5
0.22.4
contentOnly
andstoreName
are both optional0.22.3
original
to TS definitions0.22.2
declare module
(#127)0.22.1
0.22.0
overwrite
state corruption (#115)0.21.3
indentExclusionRanges
correctly (#122)0.21.2
default
property referencing self in index-legacy.js, to work around TypeScript bug (#121)0.21.1
0.21.0
0.20.0
overwrite
is a{storeName, contentOnly}
options object.storeName: true
is equivalent totrue
before.contentOnly
will preserve existing appends/prepends to the chunk in question0.19.1
move
)remove
separately tooverwrite
0.19.0
0.18.0
overwrite
orremove
(#113)0.17.0
appendLeft
,appendRight
,prependLeft
,prependRight
methods (#109)insertLeft
andinsertRight
are deprecated in favour ofappendLeft
andprependRight
respectively0.16.0
overwrite
andremove
operations (#89)bundle.generateMap(...)
(#73)0.15.2
0.15.1
0.15.0
Bundle
in ES build, so ES consumers of magic-string can tree-shake it out0.14.0
0.13.1
s.slice()
issues (#62)0.13.0
insertAfter
is nowinsertLeft
,insertBefore
is nowinsertRight
insert
is no longer available. UseinsertLeft
andinsertRight
0.12.1
insertAfter
andinsertBefore
0.12.0
insertAfter
andinsertBefore
methods0.11.4
trim()
0.11.3
0.11.2
0.11.1
findIndex
helper for 0.12 support0.11.0
move()
methodmove()
0.10.2
0.10.1
0.10.0
magicString.locate
andlocateOrigin
are deprecatedmagicString.slice(...)
0.9.1
0.9.0
0.8.0
0.7.0
names
array is populated when generating sourcemaps, and mappings include name indices where appropriate (#16)0.6.6
0.6.5
jsnext:main
in package.json0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.3
s.clone()
clones indent exclusion ranges and sourcemap locations0.5.2
s.slice()
accepts negative numbers, and the second argument can be omitted (means 'original string length'), just likeString.prototype.slice
0.5.1
0.5.0
s.replace()
is deprecated in favour ofs.overwrite()
(identical signature)bundle.addSource()
can take aMagicString
instance as its sole argument, for convenienceoptions
innew MagicString(str, options)
can includefilename
andindentExclusionRanges
options, which will be used when bundlings.snip( start, end )
0.4.9
file
option is optional when generating a bundle sourcemap0.4.7
0.4.6
0.4.5
source.addSourcemapLocation()
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
vlq
dependency included0.3.1
0.3.0
source.indentStr
isnull
if no lines are indented. Usesource.getIndentString()
for the old behaviour (guess, and if no lines are indented, return\t
)bundle.getIndentString()
ignores sources with no indented lines when guessing indentation (#3)0.2.7
source.trimLines()
removes empty lines from start/end of source, leaving other whitespace untouched0.2.6
0.2.5
bundle.addSource()
can take anindentExclusionRanges
option0.2.4
0.2.3
0.2.2
sources
paths in sourcemaps relative tooptions.file
0.2.1
bundle.indent()
0.2.0
MagicString.Bundle
for concatenating magic strings0.1.10
0.1.9
0.1.8
s.generateMap()
have atoUrl()
method that generates a DataURI0.1.7
s.insert( index, content )
- roughly equivalent tos.replace( index, index, content )
0.1.6
0.1.5
s.indent({ exclude: [ x, y ] })
prevents lines between (original) charactersx
andy
from being indented. Multiple exclusion ranges are also supported (e.g.exclude: [[a, b], [c, d]]
)0.1.4
s.locate()
doesn't throw out-of-bound error if index is equal to original string's length0.1.3
s.trim()
returnsthis
(i.e. is chainable)0.1.2
s.slice()
0.1.1
s.trim()
0.1.0
v0.25.9
Compare Source
Bug Fixes
storeName
(#194) (96b7cd3)v0.25.8
Compare Source
Bug Fixes
MagicString
options as optional (#183) (15c3e66)rollup/rollup
v2.69.0
Compare Source
2022-03-02
Features
output.generatedCode.symbols
to control the usage of Symbols in Rollup-generated code (#4378)output.namespaceToStringTag
in favor ofoutput.generatedCode.symbols
(#4378)Bug Fixes
./
and../
as external dependencies (#4419)Pull Requests
v2.68.0
Compare Source
2022-02-22
Features
shouldTransformCachedModule
(#4414)Pull Requests
v2.67.3
Compare Source
2022-02-18
Bug Fixes
Pull Requests
Microsoft/TypeScript
v4.6.2
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Downloads are available on:
webpack/webpack
v5.70.0
Compare Source
Features
baseUri
toentry
options to configure a static base uri (the base ofnew URL()
)__webpack_exports_info__.name.canMangle
experiments.buildHttp
import.meta.webpackContext
as ESM alternative torequire.context
Bugfixes
global
to a variableexperiments.outputModule
andloaderContext.importModule
with multiple chunksoutput.clean
will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browserPerformance
Developer Experience
Contributing
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.