Skip to content

Commit

Permalink
Fix sass types for TS 4.7+ Node16/NodeNext module resolution (#1736)
Browse files Browse the repository at this point in the history
Fixes #1714
  • Loading branch information
Goodwine committed Jun 30, 2022
1 parent 26e117c commit 2299632
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
## 1.54.0

### JS API

* Fix Sass npm package types for TS 4.7+ Node16 and NodeNext module resolution.

## 1.53.0

* Add support for calling `var()` with an empty second argument, such as
Expand Down
14 changes: 12 additions & 2 deletions package/package.json
Expand Up @@ -17,10 +17,20 @@
"node": ">=12.0.0"
},
"dependencies": {
"@types/node": "^18.0.0",
"chokidar": ">=3.0.0 <4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
},
"keywords": ["style", "scss", "sass", "preprocessor", "css"],
"types": "types/index.d.ts"
"keywords": [
"style",
"scss",
"sass",
"preprocessor",
"css"
],
"types": "types/index.d.ts",
"exports": {
"types": "./types/index.d.ts"
}
}
4 changes: 2 additions & 2 deletions pubspec.yaml
@@ -1,5 +1,5 @@
name: sass
version: 1.53.0
version: 1.54.0-dev
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies:
dev_dependencies:
analyzer: ^3.0.0
archive: ^3.1.2
cli_pkg: ^2.1.0
cli_pkg: ^2.1.4
crypto: ^3.0.0
dart_style: ^2.0.0
dartdoc: ^5.0.0
Expand Down

0 comments on commit 2299632

Please sign in to comment.