We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478484d commit 814e500Copy full SHA for 814e500
.eslintrc.json
@@ -1,3 +1,3 @@
1
{
2
- "extends": "aqua/prettier/node"
+ "extends": ["neon/common", "neon/node", "neon/prettier"]
3
}
.github/workflows/build.yml
@@ -39,7 +39,7 @@ jobs:
39
fail-fast: false
40
matrix:
41
os: [macos-10.15, macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019]
42
- node: [18]
+ node: [18, 19]
43
steps:
44
- name: Checkout repository
45
uses: actions/checkout@v3
@@ -63,7 +63,7 @@ jobs:
63
strategy:
64
65
66
- node: [12, 13, 14, 15, 16, 17, 18]
+ node: [12, 13, 14, 15, 16, 17, 18, 19]
67
68
- name: Setup env with Node v${{ matrix.node }}
69
run: |
@@ -111,7 +111,7 @@ jobs:
111
112
113
os: [ubuntu-20.04, ubuntu-22.04]
114
115
116
117
@@ -137,7 +137,7 @@ jobs:
137
138
139
140
141
142
143
.github/workflows/release.yml
@@ -40,7 +40,7 @@ jobs:
46
@@ -71,7 +71,7 @@ jobs:
71
72
73
74
75
76
77
@@ -133,7 +133,7 @@ jobs:
133
134
135
136
@@ -166,7 +166,7 @@ jobs:
166
167
168
169
170
171
172
.prettierignore
@@ -0,0 +1,5 @@
+# Autogenerated
+build/
+build-tmp-napi-v3/
4
+deps/
5
+prebuild/
README.md
@@ -1,4 +1,5 @@
# @discordjs/opus [](https://github.com/discordjs/opus/actions?query=workflow%3ABuild) [](https://github.com/discordjs/opus/actions?query=workflow%3APrebuild)
+
> Native bindings to libopus v1.3
## Usage
@@ -16,6 +17,7 @@ const decoded = encoder.decode(encoded);
16
17
```
18
19
## Platform support
20
21
⚠ Node.js 12.0.0 or newer is required.
22
23
- Linux x64 & ia32
lib/index.js
+const { resolve } = require('node:path');
const { find } = require('@discordjs/node-pre-gyp');
-const { resolve } = require('path');
+// eslint-disable-next-line import/no-dynamic-require
module.exports = require(find(resolve(__dirname, '..', 'package.json')));
0 commit comments