Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5de62e9

Browse files
fix: update@ampproject/remapping to@jridgewell/remapping (#5)
1 parentc5183b8 commit5de62e9

File tree

4 files changed

+18
-40
lines changed

4 files changed

+18
-40
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Rollback to the state before the last commit. It throws an error if there is no
2424

2525
###`.generateMap()`
2626

27-
Supercharge the original`generateMap` method. Where there are multiple commits, it will generate a combined sourcemap using[`@ampproject/remapping`](https://github.com/ampproject/remapping).
27+
Supercharge the original`generateMap` method. Where there are multiple commits, it will generate a combined sourcemap using[`@jridgewell/remapping`](https://github.com/jridgewell/remapping).
2828

2929
###Example
3030

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"prepare":"simple-git-hooks"
4343
},
4444
"dependencies": {
45-
"@ampproject/remapping":"^2.3.0",
45+
"@jridgewell/remapping":"^2.3.0",
4646
"magic-string":"^0.30.17"
4747
},
4848
"devDependencies": {

‎pnpm-lock.yaml‎

Lines changed: 15 additions & 37 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable ts/no-unsafe-declaration-merging */
22
importtype{DecodedSourceMap,MagicStringOptions,SourceMapOptions}from'magic-string'
3-
importremappingfrom'@ampproject/remapping'
3+
importremappingfrom'@jridgewell/remapping'
44
importMagicString,{SourceMap}from'magic-string'
55

66
// Thanks to@sxzz & @starknt for the solution

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp