Fix sass types for TS 4.7+ Node16/NodeNext module resolution (#1736)

Fixes #1714
This commit is contained in:
Goodwine 2022-06-30 16:05:41 -07:00 committed by GitHub
parent 26e117c896
commit 2299632ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 4 deletions

View File

@ -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

View File

@ -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"
}
}

View File

@ -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
@ -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