bare-buffer 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/CMakeLists.txt +2 -2
  2. package/package.json +2 -4
package/CMakeLists.txt CHANGED
@@ -19,13 +19,13 @@ endif()
19
19
  add_bare_module(bare_buffer)
20
20
 
21
21
  target_sources(
22
- bare_buffer
22
+ ${bare_buffer}
23
23
  PRIVATE
24
24
  binding.c
25
25
  )
26
26
 
27
27
  target_link_libraries(
28
- bare_buffer
28
+ ${bare_buffer}
29
29
  PUBLIC
30
30
  utf
31
31
  base64
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-buffer",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Native buffers for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -17,9 +17,7 @@
17
17
  "vendor/libutf/include",
18
18
  "vendor/libutf/src"
19
19
  ],
20
- "addon": {
21
- "target": "bare_buffer"
22
- },
20
+ "addon": true,
23
21
  "scripts": {
24
22
  "test": "standard && bare test/all.js"
25
23
  },