Skip to content

Commit 4e12a1a

Browse files
authored
Bump the protocol version (#228)
Also stop testing for a compatible embedded compiler version. Now that we've got linked pull requests and pull from main by default, keeping this up-to-date is just busywork.
1 parent 9fce9b2 commit 4e12a1a

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sass-embedded",
33
"version": "1.63.3",
4-
"protocol-version": "2.0.0",
4+
"protocol-version": "2.1.0",
55
"compiler-version": "1.63.3",
66
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
77
"repository": "sass/embedded-host-node",

test/dependencies.test.ts

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ import * as p from 'path';
88

99
import * as pkg from '../package.json';
1010

11-
// These tests assert that our declared dependencies on the embedded protocol
12-
// and compiler are either -dev versions (which download the latest main
13-
// branches of each repo and block release) or the same versions as the versions
14-
// we're testing against.
11+
// These tests assert that our declared dependency on the embedded protocol is
12+
// either a -dev version or the same version we're testing against.
1513

1614
it('declares a compatible dependency on the embedded protocol', () => {
1715
if (pkg['protocol-version'].endsWith('-dev')) return;
@@ -25,16 +23,3 @@ it('declares a compatible dependency on the embedded protocol', () => {
2523
.trim()
2624
).toBe(pkg['protocol-version']);
2725
});
28-
29-
it('declares a compatible dependency on the embedded compiler', () => {
30-
if (pkg['compiler-version'].endsWith('-dev')) return;
31-
32-
const version = JSON.parse(
33-
child_process.execSync(
34-
p.join(__dirname, '../lib/src/vendor/dart-sass/sass') +
35-
' --embedded --version',
36-
{encoding: 'utf-8'}
37-
)
38-
);
39-
expect(version.compilerVersion).toBe(pkg['compiler-version']);
40-
});

0 commit comments

Comments
 (0)