node-osc 8.0.4 → 8.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,16 +19,26 @@ on:
19
19
  - minor
20
20
  - major
21
21
 
22
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
22
23
  jobs:
24
+ # This workflow contains a single job called "bump-version"
23
25
  bump-version:
26
+ # The type of runner that the job will run on
24
27
  runs-on: ubuntu-latest
25
28
 
29
+ # Steps represent a sequence of tasks that will be executed as part of the job
26
30
  steps:
31
+ # Check out the content (source branch). Use a deploy key so that
32
+ # when we push changes, it will trigger the release workflow
33
+ # run that runs on: tag. (Using the GitHub token would
34
+ # not run the workflow to prevent infinite recursion.)
27
35
  - name: Check out source
28
- uses: actions/checkout@v3
36
+ uses: actions/checkout@v2
37
+ with:
38
+ ssh-key: ${{ secrets.DEPLOY_KEY }}
29
39
 
30
40
  - name: Setup Node.js
31
- uses: actions/setup-node@v3
41
+ uses: actions/setup-node@v2
32
42
  with:
33
43
  node-version: '16'
34
44
  cache: 'npm'
@@ -46,9 +56,3 @@ jobs:
46
56
 
47
57
  - name: Push latest version
48
58
  run: git push origin main --follow-tags
49
-
50
- create-release:
51
- needs: bump-version
52
- uses: ./.github/workflows/create-release.yml
53
- secrets:
54
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -36,11 +36,11 @@ jobs:
36
36
 
37
37
  steps:
38
38
  - name: Checkout repository
39
- uses: actions/checkout@v3
39
+ uses: actions/checkout@v2
40
40
 
41
41
  # Initializes the CodeQL tools for scanning.
42
42
  - name: Initialize CodeQL
43
- uses: github/codeql-action/init@v2
43
+ uses: github/codeql-action/init@v1
44
44
  with:
45
45
  languages: ${{ matrix.language }}
46
46
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -48,4 +48,4 @@ jobs:
48
48
  # Prefix the list here with "+" to use these queries and those in the config file.
49
49
  # queries: ./path/to/local/query, your-org/your-repo/queries@main
50
50
  - name: Perform CodeQL Analysis
51
- uses: github/codeql-action/analyze@v2
51
+ uses: github/codeql-action/analyze@v1
@@ -2,29 +2,16 @@ on:
2
2
  push:
3
3
  tags:
4
4
  - 'v*'
5
- workflow_call:
6
- secrets:
7
- NPM_TOKEN:
8
- required: true
9
5
 
10
6
  name: Create Release
11
7
 
12
8
  jobs:
13
9
  publish:
14
- permissions:
15
- contents: read
16
10
  name: Publish to npm
17
11
  runs-on: ubuntu-latest
18
12
  steps:
19
- - name : checkout main if triggered
20
- if: ${{ github.event_name == 'workflow_dispatch' }}
21
- uses: actions/checkout@v3
22
- with:
23
- ref: main
24
- - name: checkout tag if not triggered
25
- if: ${{ github.event_name != 'workflow_dispatch' }}
26
- uses: actions/checkout@v3
27
- - uses: actions/setup-node@v3
13
+ - uses: actions/checkout@v2
14
+ - uses: actions/setup-node@v2
28
15
  with:
29
16
  node-version: '16'
30
17
  cache: 'npm'
@@ -37,16 +24,12 @@ jobs:
37
24
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38
25
 
39
26
  create-github-release:
40
- permissions:
41
- contents: read
42
27
  name: Create GitHub Release
43
28
  runs-on: ubuntu-latest
44
29
  needs: publish
45
30
  steps:
46
31
  - name: Checkout code
47
32
  uses: actions/checkout@v3
48
- with:
49
- ref: main
50
33
  - name: Create Release
51
34
  run: gh release create ${{ github.ref }} --generate-notes
52
35
  env:
@@ -17,10 +17,10 @@ jobs:
17
17
  runs-on: ${{ matrix.os }}
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v3
20
+ - uses: actions/checkout@v2
21
21
 
22
22
  - name: Use Node.js ${{ matrix.node-version }}
23
- uses: actions/setup-node@v3
23
+ uses: actions/setup-node@v2
24
24
  with:
25
25
  node-version: ${{ matrix.node-version }}
26
26
  cache: 'npm'
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var oscMin__default = /*#__PURE__*/_interopDefaultLegacy(oscMin);
10
10
 
11
- const { toBuffer } = oscMin__default['default'];
11
+ const { toBuffer } = oscMin__default["default"];
12
12
 
13
13
  class Client {
14
14
  constructor(host, port) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-osc",
3
3
  "description": "pyOSC inspired library for sending and receiving OSC messages",
4
- "version": "8.0.4",
4
+ "version": "8.0.6",
5
5
  "exports": {
6
6
  "require": "./dist/lib/index.js",
7
7
  "default": "./lib/index.mjs"
@@ -40,10 +40,10 @@
40
40
  "osc-min": "^1.1.1"
41
41
  },
42
42
  "devDependencies": {
43
- "c8": "^7.3.0",
44
- "eslint": "^8.2.0",
45
- "get-port": "^6.0.0",
46
- "rollup": "^2.23.0",
47
- "tap": "^16.0.1"
43
+ "c8": "^7.12.0",
44
+ "eslint": "^8.24.0",
45
+ "get-port": "^6.1.2",
46
+ "rollup": "^2.79.1",
47
+ "tap": "^16.3.0"
48
48
  }
49
49
  }