bare-url 1.0.6 → 1.0.8

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,8 +16,6 @@ add_bare_module(bare_url)
16
16
 
17
17
  target_sources(
18
18
  ${bare_url}
19
- PUBLIC
20
- $<TARGET_OBJECTS:url>
21
19
  PRIVATE
22
20
  binding.c
23
21
  )
@@ -25,5 +23,5 @@ target_sources(
25
23
  target_link_libraries(
26
24
  ${bare_url}
27
25
  PUBLIC
28
- url
26
+ url_static
29
27
  )
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.6",
3
+ "version": "1.0.8",
4
4
  "description": "URL parser for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [
Binary file
Binary file
Binary file
Binary file