Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency magic-string to ^0.30.17 #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
magic-string ^0.25.7 -> ^0.30.17 age adoption passing confidence

Release Notes

rich-harris/magic-string (magic-string)

v0.30.17

Compare Source

Bug Fixes
  • remove problematic type: module (092697b)

v0.30.16

Compare Source

Bug Fixes
  • missing mapping after a line break with hires: 'boundary' (#​298) (24cb8ea)
Features

v0.30.15

Compare Source

Features

v0.30.14

Compare Source

Features

v0.30.13

Compare Source

Features

v0.30.12

Compare Source

Performance Improvements

v0.30.11

Compare Source

Bug Fixes
  • not use negative indices for remove in empty string (#​281) (5c1cba0)

v0.30.10

Compare Source

Bug Fixes

v0.30.9

Compare Source

Performance Improvements
  • avoid create uncessary overrides for replace (a1b857c)

v0.30.8

Compare Source

Bug Fixes
  • handle last empty line correctly when using update/overwrite (#​274) (29c7bfa)

v0.30.7

Compare Source

Features

v0.30.6

Compare Source

Features

v0.30.5

Compare Source

Bug Fixes

v0.30.4

Compare Source

Bug Fixes

v0.30.3

Compare Source

Bug Fixes

v0.30.2

Compare Source

Features

v0.30.1

Compare Source

Bug Fixes

v0.30.0

Compare Source

Bug Fixes
Features

v0.29.0

Compare Source

Features
  • x_google_ignoreList: initial support for ignore lists (3c711cd)

v0.28.0

Compare Source

Bug Fixes

v0.27.0

Compare Source

Performance Improvements

0.26.7 (2022-10-09)

Bug Fixes

0.26.6 (2022-10-05)

Features
  • add update method as safer alternative to overwrite (#​212) (9a312e3)

0.26.5 (2022-09-30)

Bug Fixes
  • update typescript definition file to contain replaceAll() (#​224) (45a4921)

0.26.4 (2022-09-22)

Features
  • fix .replace() when searching string, add .replaceAll() (#​222) (04a05bd)
Performance Improvements
  • avoiding use of Object.defineProperty in Chunk constructor (#​219) (130794b)

0.26.3 (2022-08-30)

Performance Improvements

0.26.2 (2022-05-11)

Bug Fixes

0.26.1 (2022-03-03)

Bug Fixes
  • replace: match replacer function signature with spec (902541f)

v0.26.7

Compare Source

Bug Fixes

v0.26.6

Compare Source

Features
  • add update method as safer alternative to overwrite (#​212) (9a312e3)

v0.26.5

Compare Source

Bug Fixes
  • update typescript definition file to contain replaceAll() (#​224) (45a4921)

v0.26.4

Compare Source

Features
  • fix .replace() when searching string, add .replaceAll() (#​222) (04a05bd)
Performance Improvements
  • avoiding use of Object.defineProperty in Chunk constructor (#​219) (130794b)

v0.26.3

Compare Source

Performance Improvements

v0.26.2

Compare Source

Bug Fixes

v0.26.1

Compare Source

Bug Fixes
  • replace: match replacer function signature with spec (902541f)

v0.26.0

Compare Source

BREAKING CHANGES

  • Support of Node.js v10 is dropped. Now magic-string requires Node.js v12 or higher. (#​204)
  • ESM bundle is now shipped with .mjs extension (#​197)
-  "module": "dist/magic-string.es.js",
+  "module": "dist/magic-string.es.mjs",
+  "exports": {
+    "./package.json": "./package.json",
+    ".": {
+      "import": "./dist/magic-string.es.mjs",
+      "require": "./dist/magic-string.cjs.js"
+    }
+  },
Features

0.25.9 (2022-03-03)

Bug Fixes
  • allowed overwrite across moved content preceded by split (#​192) (403fa86)
  • types: make options partial by default (2815e77)
  • use defineProperty for appending prop in storeName (#​194) (96b7cd3)

0.25.8 (2022-03-02)

Bug Fixes

0.25.7

  • fix bundle mappings after remove and move in multiple sources (#​172)

0.25.6

  • Use bitwise operators for small performance boost (#​171)

0.25.5

  • Use a bitset to reduce memory consumption (#​167)

0.25.4

0.25.3

  • Fix typing of SourceMap.version.

0.25.2

  • Remove deprecated new Buffer(...)
  • Handle characters outside Latin1 range when generating a sourcemap in browser (#​154)

0.25.1

  • Additional types for index.d.ts (#​148)

0.25.0

  • Add length method (#​145)
  • Fix trimming chunks with intro/outro (#​144)

0.24.1

  • Add lastLine and lastChar methods (#​142)

0.24.0

  • Add isEmpty methods (#​137)
  • Fix a potential race condition (#​136)
  • Fix CJS/ES bundles inlining sourcemap-codec in 0.23.2.

0.23.2

  • Add generateDecodedMap methods (#​134)

0.23.1

0.23.0

  • Use sourcemap-codec for improved performance (#​133)

0.22.5

  • Add TypeScript interfaces used by rollup (#​131)
  • Remove src directory from npm package

0.22.4

  • contentOnly and storeName are both optional

0.22.3

  • Add original to TS definitions

0.22.2

0.22.1

  • Update TypeScript definitions (#​124)

0.22.0

  • Prevent overwrite state corruption (#​115)
  • Various bugfixes (#​126)

0.21.3

  • Clone indentExclusionRanges correctly (#​122)
  • Fix more typings (#​122)

0.21.2

  • Add default property referencing self in index-legacy.js, to work around TypeScript bug (#​121)

0.21.1

  • Add typings file to package

0.21.0

  • Add TypeScript bindings (#​119)

0.20.0

  • The fourth argument to overwrite is a {storeName, contentOnly} options object. storeName: true is equivalent to true before. contentOnly will preserve existing appends/prepends to the chunk in question

0.19.1

  • Prevent overwrites across a split point (i.e. following a move)
  • Implement remove separately to overwrite

0.19.0

  • More accurate bundle sourcemaps (#​114)

0.18.0

  • Optimisation – remove empty chunks following overwrite or remove (#​113)

0.17.0

  • Add appendLeft, appendRight, prependLeft, prependRight methods (#​109)
  • insertLeft and insertRight are deprecated in favour of appendLeft and prependRight respectively

0.16.0

  • Include inserts in range for overwrite and remove operations (#​89)
  • Make options optional for bundle.generateMap(...) (#​73)

0.15.2

  • Generate correct bundle sourcemap with prepended/appended content

0.15.1

  • Minor sourcemap fixes

0.15.0

  • Use named export of Bundle in ES build, so ES consumers of magic-string can tree-shake it out

0.14.0

  • Throw if overwrite of zero-length range is attempted
  • Correctly handle redundant move operations

0.13.1

  • Fix a bevy of s.slice() issues (#​62)

0.13.0

  • Breaking: insertAfter is now insertLeft, insertBefore is now insertRight
  • Breaking: insert is no longer available. Use insertLeft and insertRight
  • Significant performance improvements

0.12.1

  • Fix sourcemap generation with insertAfter and insertBefore

0.12.0

  • Add insertAfter and insertBefore methods

0.11.4

  • Fix two regression bugs with trim()
  • More informative error message on illegal removals

0.11.3

  • Fix trim methods to ensure correct sourcemaps with trimmed content (#​53)

0.11.2

  • Support sourcemaps with moved content

0.11.1

  • Use findIndex helper for 0.12 support

0.11.0

  • Add experimental move() method
  • Refactor internals to support move()

0.10.2

  • Do not overwrite inserts at the end of patched ranges (#​35)

0.10.1

  • Zero-length inserts are not removed on adjacent overwrites

0.10.0

  • Complete rewrite, resulting in ~40x speed increase (#​30)
  • Breaking – magicString.locate and locateOrigin are deprecated
  • More forgiving rules about contiguous patches, and which ranges are valid with magicString.slice(...)

0.9.1

  • Update deps

0.9.0

  • Update build process

0.8.0

  • Add an ES6 build, change default UMD build to CommonJS (but keeping existing UMD build with bundled dependencies)
  • Make properties non-enumerable, for cleaner logging
  • Update dependencies

0.7.0

  • The names array is populated when generating sourcemaps, and mappings include name indices where appropriate (#​16)
  • Replaced content is mapped correctly in sourcemaps (#​15)

0.6.6

  • Adjust mappings correctly when removing replaced content
  • Error correctly when removed characters are used as slice anchors

0.6.5

  • Fix jsnext:main in package.json

0.6.4

  • Fix bug with positive integer coercion

0.6.3

  • Intro content is correctly indented
  • Content following an intro with trailing newline is correctly indented

0.6.2

  • Noop indents are still chainable (fixes bug introduced in 0.6.1)

0.6.1

  • Indenting with an empty string is a noop

0.6.0

  • Use rollup for bundling, instead of esperanto

0.5.3

  • Correct sourcemap generation with bundles containing varied separators
  • s.clone() clones indent exclusion ranges and sourcemap locations

0.5.2

  • s.slice() accepts negative numbers, and the second argument can be omitted (means 'original string length'), just like String.prototype.slice
  • More informative error message when trying to overwrite content illegally

0.5.1

  • Allow bundle separator to be the empty string
  • Indenting is handled correctly with empty string separator

0.5.0

  • s.replace() is deprecated in favour of s.overwrite() (identical signature)
  • bundle.addSource() can take a MagicString instance as its sole argument, for convenience
  • The options in new MagicString(str, options) can include filename and indentExclusionRanges options, which will be used when bundling
  • New method: s.snip( start, end )

0.4.9

  • file option is optional when generating a bundle sourcemap

0.4.7

  • Repeated insertions at position 0 behave the same as other positions (#​10)

0.4.6

  • Overlapping ranges can be removed
  • Non-string content is rejected (#​9)

0.4.5

  • Implement source.addSourcemapLocation()

0.4.4

  • Another Windows fix, this time for file paths when bundling

0.4.3

  • Handle Windows-style CRLF newlines when determining whether a line is empty

0.4.2

  • Fix typo in package.json (d'oh again)
  • Use only relative paths for internal modules - makes bundling with dependents (i.e. esperanto) possible

0.4.1

  • Includes correct files in npm package (d'oh)

0.4.0

0.3.1

  • Fixes a bug whereby multiple insertions at the same location would cause text to repeat (#​5)

0.3.0

  • Breaking change - source.indentStr is null if no lines are indented. Use source.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 untouched
  • Indentation is not added to an empty source

0.2.6

  • Performance improvement - adjustments are only made when necessary

0.2.5

  • Single spaces are ignored when guessing indentation - experience shows these are more likely to be e.g. JSDoc comments than actual indentation
  • bundle.addSource() can take an indentExclusionRanges option

0.2.4

  • Empty lines are not indented

0.2.3

  • Fixes edge case with bundle sourcemaps

0.2.2

  • Make sources paths in sourcemaps relative to options.file

0.2.1

  • Minor fix for bundle.indent()

0.2.0

  • Implement MagicString.Bundle for concatenating magic strings

0.1.10

  • Fix sourcemap encoding

0.1.9

  • Better performance when indenting large chunks of code

0.1.8

  • Sourcemaps generated with s.generateMap() have a toUrl() method that generates a DataURI

0.1.7

  • Implement s.insert( index, content ) - roughly equivalent to s.replace( index, index, content )

0.1.6

  • Version bump for npm's benefit

0.1.5

  • s.indent({ exclude: [ x, y ] }) prevents lines between (original) characters x and y 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 length

0.1.3

  • s.trim() returns this (i.e. is chainable)

0.1.2

  • Implement s.slice()

0.1.1

  • Implement s.trim()

0.1.0

  • First release

v0.25.9

Compare Source

Bug Fixes
  • allowed overwrite across moved content preceded by split (#​192) (403fa86)
  • types: make options partial by default (2815e77)
  • use defineProperty for appending prop in storeName (#​194) (96b7cd3)

v0.25.8

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@stackblitz
Copy link

stackblitz bot commented Jul 1, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Jul 1, 2023

⚠️ No Changeset found

Latest commit: 8c9b8dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 570813b to b9d871c Compare July 4, 2023 05:49
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.0 fix(deps): update dependency magic-string to ^0.30.1 Jul 4, 2023
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.1 fix(deps): update dependency magic-string to ^0.30.2 Jul 28, 2023
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from b9d871c to d25d556 Compare July 28, 2023 05:46
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from d25d556 to 9047226 Compare August 21, 2023 08:42
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.2 fix(deps): update dependency magic-string to ^0.30.3 Aug 21, 2023
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 9047226 to 1983874 Compare September 30, 2023 08:15
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.3 fix(deps): update dependency magic-string to ^0.30.4 Sep 30, 2023
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 1983874 to 9f892ac Compare October 13, 2023 05:19
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.4 fix(deps): update dependency magic-string to ^0.30.5 Oct 13, 2023
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (579d6fd) to head (1f29cfb).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           31        31           
  Branches         6         6           
=========================================
  Hits            31        31           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 9f892ac to f919fcf Compare November 14, 2023 14:58
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from f919fcf to 04d7a5e Compare January 31, 2024 19:37
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.5 fix(deps): update dependency magic-string to ^0.30.6 Jan 31, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 04d7a5e to 3fe22c9 Compare February 5, 2024 18:41
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.6 fix(deps): update dependency magic-string to ^0.30.7 Feb 5, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 3fe22c9 to 8cf61d3 Compare March 3, 2024 22:17
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.7 fix(deps): update dependency magic-string to ^0.30.8 Mar 3, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 8cf61d3 to ca2df31 Compare April 4, 2024 08:39
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.8 fix(deps): update dependency magic-string to ^0.30.9 Apr 4, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from ca2df31 to 1f29cfb Compare April 17, 2024 16:49
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.9 fix(deps): update dependency magic-string to ^0.30.10 Apr 17, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 1f29cfb to d2716ca Compare July 29, 2024 13:07
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.10 fix(deps): update dependency magic-string to ^0.30.11 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from d2716ca to 23580cf Compare October 11, 2024 07:45
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.11 fix(deps): update dependency magic-string to ^0.30.12 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 23580cf to 683b8e4 Compare November 18, 2024 21:09
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.12 fix(deps): update dependency magic-string to ^0.30.13 Nov 18, 2024
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.13 fix(deps): update dependency magic-string to ^0.30.14 Nov 26, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 683b8e4 to c2180a7 Compare November 26, 2024 09:14
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from c2180a7 to d3e79b4 Compare December 10, 2024 06:31
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.14 fix(deps): update dependency magic-string to ^0.30.15 Dec 10, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from d3e79b4 to 2d07798 Compare December 16, 2024 06:08
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.15 fix(deps): update dependency magic-string to ^0.30.16 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/magic-string-0.x branch from 2d07798 to 8c9b8dd Compare December 16, 2024 09:19
@renovate renovate bot changed the title fix(deps): update dependency magic-string to ^0.30.16 fix(deps): update dependency magic-string to ^0.30.17 Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants