Skip to content

Commit

Permalink
chore(deps): replace sourcemap-codec with @jridgewell/sourcemap-codec (
Browse files Browse the repository at this point in the history
…#139)

* chore(deps): replace sourcemap-codec with @jridgewell/sourcemap-codec

* Create brown-swans-invite.md

Co-authored-by: Yosuke Ota <[email protected]>
  • Loading branch information
chshouyu and ota-meshi authored Dec 14, 2022
1 parent df73c2a commit af6ceb9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-swans-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-astro": patch
---

chore(deps): replace sourcemap-codec with @jridgewell/sourcemap-codec
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
},
"homepage": "https://ota-meshi.github.io/eslint-plugin-astro/",
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.14",
"@typescript-eslint/types": "^5.25.0",
"astro-eslint-parser": "^0.9.0",
"eslint-utils": "^3.0.0",
"postcss": "^8.4.14",
"postcss-selector-parser": "^6.0.10",
"sourcemap-codec": "^1.4.8"
"postcss-selector-parser": "^6.0.10"
},
"peerDependencies": {
"eslint": ">=7.0.0"
Expand Down
3 changes: 1 addition & 2 deletions src/utils/transform/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { AST } from "astro-eslint-parser"
import type { SourceMapMappings } from "sourcemap-codec"
import { decode } from "sourcemap-codec"
import { decode, type SourceMapMappings } from "@jridgewell/sourcemap-codec"
import type { RuleContext } from "../../types"
import { findAttribute, getStaticAttributeStringValue } from "../ast-utils"
import { getContentRange } from "./utils"
Expand Down

0 comments on commit af6ceb9

Please sign in to comment.