koffi 0.9.12 → 0.9.14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koffi",
3
- "version": "0.9.12",
3
+ "version": "0.9.14",
4
4
  "description": "Fast and simple FFI (foreign function interface) for Node.js",
5
5
  "keywords": [
6
6
  "foreign",
@@ -16,14 +16,14 @@
16
16
  "url": "https://github.com/Koromix/luigi.git"
17
17
  },
18
18
  "author": "Niels Martignène <niels.martignene@protonmail.com>",
19
- "main": "build/koffi.node",
19
+ "main": "src/index.js",
20
20
  "scripts": {
21
21
  "install": "cnoke",
22
22
  "test": "node test/test.js"
23
23
  },
24
24
  "license": "AGPL-3.0",
25
25
  "dependencies": {
26
- "cnoke": "^0.9.22"
26
+ "cnoke": "^0.9.24"
27
27
  },
28
28
  "devDependencies": {
29
29
  "chalk": "^4.1.2",
package/src/index.js ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+
3
+ // This program is free software: you can redistribute it and/or modify
4
+ // it under the terms of the GNU Affero General Public License as published by
5
+ // the Free Software Foundation, either version 3 of the License, or
6
+ // (at your option) any later version.
7
+ //
8
+ // This program is distributed in the hope that it will be useful,
9
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ // GNU Affero General Public License for more details.
12
+ //
13
+ // You should have received a copy of the GNU Affero General Public License
14
+ // along with this program. If not, see https://www.gnu.org/licenses/.
15
+
16
+ 'use strict';
17
+
18
+ let filename = __dirname + '/../build/koffi.node';
19
+ module.exports = require(filename);
package/build/koffi.node DELETED
Binary file