bare-url 1.0.5 → 1.0.7

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
@@ -16,6 +16,8 @@ add_bare_module(bare_url)
16
16
 
17
17
  target_sources(
18
18
  ${bare_url}
19
+ PUBLIC
20
+ $<TARGET_OBJECTS:url>
19
21
  PRIVATE
20
22
  binding.c
21
23
  )
@@ -23,5 +25,5 @@ target_sources(
23
25
  target_link_libraries(
24
26
  ${bare_url}
25
27
  PUBLIC
26
- url_static
28
+ url
27
29
  )
package/binding.c CHANGED
@@ -87,6 +87,7 @@ bare_url_parse (js_env_t *env, js_callback_info_t *info) {
87
87
 
88
88
  memcpy(components, &url.components, sizeof(url.components));
89
89
 
90
+ url_destroy(&base);
90
91
  url_destroy(&url);
91
92
 
92
93
  return href;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-url",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "URL parser for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [
Binary file
Binary file
Binary file
Binary file