Commit Graph

2284 Commits

Author SHA1 Message Date
Natalie Weizenbaum
b1d56a4f07
Change terminology to refer to JS instead of Node.js (#2039)
Now that we support running in a browser, saying "Node.js" is
generally inaccurate. It's still preserved in places that are
genuinely Node-specific.
2023-07-21 14:36:12 -07:00
Natalie Weizenbaum
89bd36b14e Revert "Start writing implementation documentation"
This reverts commit 6c592134fe. This was
supposed to land on a separate branch.
2023-07-20 19:01:13 -07:00
Natalie Weizenbaum
6c592134fe Start writing implementation documentation 2023-07-19 18:36:50 -07:00
Ed Rivas
ca2be2ace9
Expose calculations in JS API (#1988)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-07-19 14:36:22 -07:00
Goodwine
fe7f9a146d
Do not validate a CSS declaration if its key is interpolated (#2036)
* Do not validate a CSS declaration if itss key is interpolated

* add changelog
2023-07-13 17:02:24 -07:00
Natalie Weizenbaum
262961cb57
Check the fs library to determine if we're on Node.js (#2033)
This fixes an issue where some environments (like VS Code) define
`process` but don't load the Node.js entrypoint, causing Sass to think
it's running under Node without access to its Node dependencies.

Closes #2032
2023-07-06 16:03:32 -07:00
Natalie Weizenbaum
60dbddf010
Use a fine-grained personal access token to push to the Sass site (#2029) 2023-07-05 14:45:28 -07:00
Goodwine
78150a94f8
Add changelog for sass/embedded-host-node#226 (#1992) 2023-06-30 19:19:20 -07:00
Natalie Weizenbaum
e9e44d7edb
Emit comments in source order where possible (#1989)
See sass/sass#2848
Closes #1939
2023-06-23 15:52:06 -07:00
Natalie Weizenbaum
2bece76153
Un-skip a test (#2028)
This should pass now that dart-lang/stream_channel#92 has landed and been released.
2023-06-23 15:50:54 -07:00
なつき
61af9ee0ac
Use a common error handler for embedded protocol errors (#2027) 2023-06-22 18:12:20 -07:00
Natalie Weizenbaum
658eb70b55
Cut a release (#2025)
This allows us to release sass/embedded-host-node#231.
2023-06-21 21:50:07 +00:00
Natalie Weizenbaum
b4e8a74a50
Use the new import name for the ESM default export (#2026)
Closes #2024
2023-06-21 20:30:11 +00:00
Natalie Weizenbaum
a48ced8ec9
Fix a race condition with re-used compilation isolate IDs (#2018)
Closes #2004
2023-06-20 17:55:46 -07:00
Joe Mooring
62f29c8eca
Update README: npm package does not support --embedded flag (#2022) 2023-06-20 17:14:53 -07:00
Natalie Weizenbaum
cb4b442408
Add a changelog entry for google/dart_cli_pkg#132 (#2020) 2023-06-20 14:52:50 -07:00
dependabot[bot]
c41d52aa3b
Bump protobuf and protoc_plugin (#2021)
Bumps [protobuf](https://github.com/google/protobuf.dart) and [protoc_plugin](https://github.com/google/protobuf.dart). These dependencies needed to be updated together.

Updates `protobuf` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/google/protobuf.dart/releases)
- [Commits](https://github.com/google/protobuf.dart/compare/protobuf-v2.1.0...protobuf-v3.0.0)

Updates `protoc_plugin` from 20.0.1 to 21.0.0
- [Release notes](https://github.com/google/protobuf.dart/releases)
- [Commits](https://github.com/google/protobuf.dart/compare/protoc_plugin-v20.0.1...protoc_plugin-v21.0.0)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: protoc_plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 21:46:17 +00:00
Joe Mooring
3fce74c1c5
Update README: install with brew on macOS or Linux (#2012)
Closes #2005
2023-06-20 13:39:32 -07:00
なつき
b11840eaa1
Limit pool size (#2019)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-06-15 15:01:40 -07:00
Natalie Weizenbaum
e34a0c7fa9
Cut a release (#2016) 2023-06-13 17:32:57 -07:00
Natalie Weizenbaum
3de612e67c
Re-enable support for default exports (#2009)
See #2008
2023-06-13 15:28:49 -07:00
Natalie Weizenbaum
ce58d87dcf
Add missing ESM exports (#2010) 2023-06-13 14:23:23 -07:00
なつき
aa59a5f4a9
Fix race condition between spawning and killing isolates during shutdown (#2007)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-06-09 15:55:47 -07:00
なつき
760fa2ead1
Add current stylesheet to loadedUrls when throwing parsing error (#1991)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-06-09 13:41:25 -07:00
Natalie Weizenbaum
645e48fd5d
Cut a release (#2006) 2023-06-09 08:33:24 -07:00
Natalie Weizenbaum
eb09d75ea3
Fix a few more deployment issues (#1998) 2023-06-07 18:23:57 -07:00
Natalie Weizenbaum
ce909e454d
Use the correct pub credential location for deploying sub-packages (#1997) 2023-06-07 17:58:46 -07:00
Natalie Weizenbaum
eea0717ad3
Block release on all tests (#1996) 2023-06-07 17:50:00 -07:00
Natalie Weizenbaum
d82654bc3a
Fix deploy configuration (#1994) 2023-06-07 17:15:18 -07:00
Natalie Weizenbaum
c3ed547932
Release 1.63.0 (#1987) 2023-06-07 13:32:01 -07:00
Natalie Weizenbaum
a88318f5a9
Run embedded compilations across multiple isolates (#1981)
Closes #1980
Closes #1959
2023-06-06 14:23:17 -07:00
Francesco Pongiluppi
b0efcb00b9
Fix README Docker example (#1982) (#1983) 2023-05-31 13:27:52 -07:00
tianheg
44a3caf232
Update README.md (#1979) 2023-05-30 14:42:46 -07:00
Tachibana Shin
21f98c6586
Fix the syntax for browser examples in the README (#1975)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-25 15:54:00 -07:00
Natalie Weizenbaum
9e1d18a60e
Upgrade the analyzer package (#1974) 2023-05-24 14:53:21 -07:00
Natalie Weizenbaum
247098dbf4
Further expand browser documentation and mention it in the README (#1973) 2023-05-24 13:58:47 -07:00
なつき
f0f00a64fe
Address deprecation warning in GitHub Actions (#1968) 2023-05-22 23:17:44 +00:00
Natalie Weizenbaum
1c9a5e160b
Document browser support (#1972) 2023-05-19 14:46:29 -07:00
Ed Rivas
cca9464b09
Add support for running in the browser (#1895)
Closes #25

Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-19 13:22:44 -07:00
Natalie Weizenbaum
eb18526913
Use the embedded protocol from the Sass language repo (#1966) 2023-05-17 13:12:44 -07:00
なつき
cb039c7efd
Format with dart 3.0.1 (#1967) 2023-05-17 13:09:54 -07:00
Natalie Weizenbaum
17f7fab482
Pull more repeated GH Action tasks into sub-actions (#1964)
This converts the build-protobuf action into a general action that
initializes Dart _and_ builds the protobuf. It also factors out the
repeated work to set up the sass-spec repo.
2023-05-16 17:37:51 -07:00
なつき
4692841355
Fix printing usage when no args provided (#1963)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-16 13:48:17 -07:00
Natalie Weizenbaum
bd771af1c6
Merge pull request #1955 from sass/embedded
Merge the Dart Sass embedded compiler repo into the Dart Sass repo
2023-05-15 14:49:53 -07:00
Natalie Weizenbaum
6d6d5ee5a4 Merge branch 'embedded-move' into embedded 2023-05-15 14:34:52 -07:00
Natalie Weizenbaum
3fc6a42e8f Move source and test files to namespaced subdirectories 2023-05-08 17:34:32 -07:00
Sass Bot
152754e291 Update Dart Sass version and release 2023-04-25 23:32:15 +00:00
Natalie Weizenbaum
8dddcb7b7d
Split SilentComment nodes on empty lines in SCSS (#1945)
Closes #1941
2023-04-25 16:21:05 -07:00
Natalie Weizenbaum
3091de542c
Fix :has(+ &) (#1938)
Closes #1937
2023-04-19 15:29:31 -07:00
Sass Bot
6f1305cf65 Update Dart Sass version and release 2023-04-11 22:56:34 +00:00