node-osc 6.1.9 → 6.1.13

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.
@@ -13,10 +13,15 @@ on:
13
13
  description: 'Semver type of new version (major / minor / patch)'
14
14
  # Input has to be provided for the workflow to run
15
15
  required: true
16
+ type: choice
17
+ options:
18
+ - patch
19
+ - minor
20
+ - major
16
21
 
17
22
  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18
23
  jobs:
19
- # This workflow contains a single job called "greet"
24
+ # This workflow contains a single job called "bump-version"
20
25
  bump-version:
21
26
  # The type of runner that the job will run on
22
27
  runs-on: ubuntu-latest
@@ -32,10 +37,11 @@ jobs:
32
37
  with:
33
38
  ssh-key: ${{ secrets.DEPLOY_KEY }}
34
39
 
35
- - name: Setup Node.js 14
36
- uses: actions/setup-node@v1
40
+ - name: Setup Node.js
41
+ uses: actions/setup-node@v2
37
42
  with:
38
- node-version: 14.x
43
+ node-version: '16'
44
+ cache: 'npm'
39
45
 
40
46
  - name: Install npm packages
41
47
  run: npm ci
@@ -0,0 +1,51 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '44 5 * * 1'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'javascript' ]
36
+
37
+ steps:
38
+ - name: Checkout repository
39
+ uses: actions/checkout@v2
40
+
41
+ # Initializes the CodeQL tools for scanning.
42
+ - name: Initialize CodeQL
43
+ uses: github/codeql-action/init@v1
44
+ with:
45
+ languages: ${{ matrix.language }}
46
+ # If you wish to specify custom queries, you can do so here or in a config file.
47
+ # By default, queries listed here will override any specified in a config file.
48
+ # Prefix the list here with "+" to use these queries and those in the config file.
49
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
50
+ - name: Perform CodeQL Analysis
51
+ uses: github/codeql-action/analyze@v1
@@ -11,9 +11,10 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - uses: actions/checkout@v2
14
- - uses: actions/setup-node@v1
14
+ - uses: actions/setup-node@v2
15
15
  with:
16
- node-version: 16
16
+ node-version: '16'
17
+ cache: 'npm'
17
18
  - name: Publish
18
19
  run: |
19
20
  npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
@@ -11,7 +11,7 @@ jobs:
11
11
  run-tests:
12
12
  strategy:
13
13
  matrix:
14
- node-version: [16.x, 14.x, 12.x]
14
+ node-version: ['17', '16', '14', '12']
15
15
  os: [ubuntu-latest, macos-latest, windows-latest]
16
16
 
17
17
  runs-on: ${{ matrix.os }}
@@ -20,22 +20,10 @@ jobs:
20
20
  - uses: actions/checkout@v2
21
21
 
22
22
  - name: Use Node.js ${{ matrix.node-version }}
23
- uses: actions/setup-node@v1
23
+ uses: actions/setup-node@v2
24
24
  with:
25
25
  node-version: ${{ matrix.node-version }}
26
-
27
- - name: Get npm cache directory
28
- if: matrix.os != 'windows-latest'
29
- id: npm-cache
30
- run: |
31
- echo "::set-output name=dir::$(npm config get cache)"
32
- - uses: actions/cache@v1
33
- if: matrix.os != 'windows-latest'
34
- with:
35
- path: ${{ steps.npm-cache.outputs.dir }}
36
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37
- restore-keys: |
38
- ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26
+ cache: 'npm'
39
27
 
40
28
  - name: Install Dependencies
41
29
  run: npm ci
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": "6.1.9",
4
+ "version": "6.1.13",
5
5
  "exports": {
6
6
  "require": "./dist/lib/index.js",
7
7
  "default": "./lib/index.mjs"
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "c8": "^7.3.0",
44
- "eslint": "^7.6.0",
44
+ "eslint": "^8.2.0",
45
45
  "get-port": "^6.0.0",
46
46
  "rollup": "^2.23.0",
47
47
  "tap": "^15.0.4"