Skip to content

Commit 4b30b3a

Browse files
authored
The package's name is (supposed to be) sync-message-port (#3)
1 parent 2e84ba9 commit 4b30b3a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
deploy:
4949
name: Deploy
5050
runs-on: ubuntu-latest
51-
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/sync-message-channel'"
51+
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/sync-message-port'"
5252
needs: [static_analysis, tests, sass_spec]
5353

5454
steps:
@@ -65,7 +65,7 @@ jobs:
6565

6666
typedoc:
6767
runs-on: ubuntu-latest
68-
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/sync-message-channel'"
68+
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/sync-message-port'"
6969
needs: [deploy]
7070

7171
environment:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ traditionally only available asynchronously in the Node.js ecosystem by running
77
the asynchronous APIs in a worker and accessing their results synchronously from
88
the main thread.
99

10-
See [the `sync-process` package] for an example of `sync-message-channel` in
10+
See [the `sync-process` package] for an example of `sync-message-port` in
1111
action.
1212

1313
[the `sync-process` package]: https://github.com/sass/sync-process
@@ -31,7 +31,7 @@ action.
3131

3232
```js
3333
import {Worker} from 'node:worker_threads';
34-
import {SyncMessagePort} from 'sync-message-channel';
34+
import {SyncMessagePort} from 'sync-message-port;
3535
// or
3636
// const {SyncMessagePort} = require('sync-message-port');
3737
@@ -42,7 +42,7 @@ const localPort = new SyncMessagePort(channel.port1);
4242

4343
const worker = new Worker(`
4444
import {workerData} = require('node:worker_threads');
45-
import {SyncMessagePort} from 'sync-message-channel';
45+
import {SyncMessagePort} from 'sync-message-port';
4646
4747
const remotePort = new SyncMessagePort(workerData.port);
4848

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "sync-message-channel",
2+
"name": "sync-message-port",
33
"version": "1.0.0",
44
"description": "A Node.js communication port that can pass messages synchronously between workers",
5-
"repository": "sass/sync-message-channel",
5+
"repository": "sass/sync-message-port",
66
"author": "Google Inc.",
77
"license": "MIT",
88
"exports": {

0 commit comments

Comments
 (0)