bare-buffer 2.0.0 → 2.0.1

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/CMakeLists.txt CHANGED
@@ -24,17 +24,10 @@ target_sources(
24
24
  binding.c
25
25
  )
26
26
 
27
- target_include_directories(
28
- bare_buffer
29
- PRIVATE
30
- $<TARGET_PROPERTY:utf,INTERFACE_INCLUDE_DIRECTORIES>
31
- $<TARGET_PROPERTY:base64,INTERFACE_INCLUDE_DIRECTORIES>
32
- $<TARGET_PROPERTY:hex,INTERFACE_INCLUDE_DIRECTORIES>
33
- )
34
-
35
27
  target_link_libraries(
36
28
  bare_buffer
37
29
  PUBLIC
38
- base64_static
39
- hex_static
30
+ utf
31
+ base64
32
+ hex
40
33
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-buffer",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Native buffers for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -17,12 +17,15 @@
17
17
  "vendor/libutf/include",
18
18
  "vendor/libutf/src"
19
19
  ],
20
+ "addon": {
21
+ "target": "bare_buffer"
22
+ },
20
23
  "scripts": {
21
24
  "test": "standard && bare test/all.js"
22
25
  },
23
26
  "repository": {
24
27
  "type": "git",
25
- "url": "https://github.com/holepunchto/bare-buffer.git"
28
+ "url": "git+https://github.com/holepunchto/bare-buffer.git"
26
29
  },
27
30
  "author": "Holepunch",
28
31
  "license": "Apache-2.0",