@discordjs/opus
Advanced tools
Comparing version 0.4.0 to 0.5.0
const { find } = require('@discordjs/node-pre-gyp'); | ||
const { resolve, join } = require('path'); | ||
const { resolve } = require('path'); | ||
const bindingPath = find(resolve(join(__dirname, '..', 'package.json'))); | ||
const binding = require(bindingPath); | ||
module.exports = binding; | ||
module.exports = require(find(resolve(__dirname, '..', 'package.json'))); |
{ | ||
"name": "@discordjs/opus", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Opus bindings for Node", | ||
@@ -29,11 +29,11 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@discordjs/node-pre-gyp": "^0.2.0", | ||
"@discordjs/node-pre-gyp": "^0.3.2", | ||
"node-addon-api": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.18.0", | ||
"eslint-config-aqua": "^8.0.0", | ||
"eslint": "^7.22.0", | ||
"eslint-config-aqua": "^8.1.2", | ||
"node-gyp": "^7.1.2", | ||
"prism-media": "^1.2.3", | ||
"typescript": "^4.1.3" | ||
"prism-media": "^1.2.8", | ||
"typescript": "^4.2.3" | ||
}, | ||
@@ -43,2 +43,5 @@ "eslintConfig": { | ||
}, | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"binary": { | ||
@@ -45,0 +48,0 @@ "module_name": "opus", |
@@ -19,2 +19,3 @@ # @discordjs/opus [](https://github.com/discordjs/opus/actions?query=workflow%3ABuild) [](https://github.com/discordjs/opus/actions?query=workflow%3APrebuild) | ||
## Platform support | ||
⚠ Node.js 12.0.0 or newer is required. | ||
@@ -21,0 +22,0 @@ - Linux x64 & ia32 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
5126741
410
26
841
+ Added@discordjs/node-pre-gyp@0.3.2(transitive)
+ Added@tootallnate/once@1.1.2(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedhttp-proxy-agent@4.0.1(transitive)
+ Addedmake-dir@3.1.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removed@discordjs/node-pre-gyp@0.2.0(transitive)
- Removeddebug@3.2.7(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedini@1.3.8(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedneedle@2.9.1(transitive)
- Removedrc@1.2.8(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsax@1.4.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)