bare-http1 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
@@ -7,14 +7,14 @@ include(bare)
7
7
  add_bare_module(bare_http1)
8
8
 
9
9
  target_sources(
10
- bare_http1
10
+ ${bare_http1}
11
11
  PRIVATE
12
12
  binding.c
13
13
  )
14
14
 
15
15
  if(WIN32)
16
16
  target_link_libraries(
17
- bare_http1
17
+ ${bare_http1}
18
18
  INTERFACE
19
19
  ws2_32
20
20
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-http1",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Native HTTP/1 library for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -10,9 +10,7 @@
10
10
  "CMakeLists.txt",
11
11
  "prebuilds"
12
12
  ],
13
- "addon": {
14
- "target": "bare_http1"
15
- },
13
+ "addon": true,
16
14
  "scripts": {
17
15
  "test": "standard && bare test.js"
18
16
  },