node-aix-ppc64 21.3.0 → 21.5.0
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/CHANGELOG.md +138 -0
- package/LICENSE +241 -43
- package/README.md +2 -2
- package/bin/node +0 -0
- package/include/node/common.gypi +1 -1
- package/include/node/config.gypi +0 -1
- package/include/node/js_native_api.h +2 -0
- package/include/node/node.exp +259 -37
- package/include/node/node_version.h +1 -1
- package/include/node/uv/version.h +1 -1
- package/include/node/uv.h +12 -0
- package/include/node/v8-profiler.h +10 -0
- package/include/node/zlib.h +9 -9
- package/package.json +1 -1
package/include/node/uv.h
CHANGED
|
@@ -1885,6 +1885,18 @@ struct uv_loop_s {
|
|
|
1885
1885
|
UV_EXTERN void* uv_loop_get_data(const uv_loop_t*);
|
|
1886
1886
|
UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data);
|
|
1887
1887
|
|
|
1888
|
+
/* String utilities needed internally for dealing with Windows. */
|
|
1889
|
+
size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
|
|
1890
|
+
ssize_t utf16_len);
|
|
1891
|
+
int uv_utf16_to_wtf8(const uint16_t* utf16,
|
|
1892
|
+
ssize_t utf16_len,
|
|
1893
|
+
char** wtf8_ptr,
|
|
1894
|
+
size_t* wtf8_len_ptr);
|
|
1895
|
+
ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
|
|
1896
|
+
void uv_wtf8_to_utf16(const char* wtf8,
|
|
1897
|
+
uint16_t* utf16,
|
|
1898
|
+
size_t utf16_len);
|
|
1899
|
+
|
|
1888
1900
|
/* Don't export the private CPP symbols. */
|
|
1889
1901
|
#undef UV_HANDLE_TYPE_PRIVATE
|
|
1890
1902
|
#undef UV_REQ_TYPE_PRIVATE
|
|
@@ -921,12 +921,22 @@ class V8_EXPORT EmbedderGraph {
|
|
|
921
921
|
virtual ~EmbedderGraph() = default;
|
|
922
922
|
};
|
|
923
923
|
|
|
924
|
+
class QueryObjectPredicate {
|
|
925
|
+
public:
|
|
926
|
+
virtual ~QueryObjectPredicate() = default;
|
|
927
|
+
virtual bool Filter(v8::Local<v8::Object> object) = 0;
|
|
928
|
+
};
|
|
929
|
+
|
|
924
930
|
/**
|
|
925
931
|
* Interface for controlling heap profiling. Instance of the
|
|
926
932
|
* profiler can be retrieved using v8::Isolate::GetHeapProfiler.
|
|
927
933
|
*/
|
|
928
934
|
class V8_EXPORT HeapProfiler {
|
|
929
935
|
public:
|
|
936
|
+
void QueryObjects(v8::Local<v8::Context> context,
|
|
937
|
+
QueryObjectPredicate* predicate,
|
|
938
|
+
std::vector<v8::Global<v8::Object>>* objects);
|
|
939
|
+
|
|
930
940
|
enum SamplingFlags {
|
|
931
941
|
kSamplingNoFlags = 0,
|
|
932
942
|
kSamplingForceGC = 1 << 0,
|
package/include/node/zlib.h
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
|
2
|
-
version 1.
|
|
2
|
+
version 1.3, August 18th, 2023
|
|
3
3
|
|
|
4
|
-
Copyright (C) 1995-
|
|
4
|
+
Copyright (C) 1995-2023 Jean-loup Gailly and Mark Adler
|
|
5
5
|
|
|
6
6
|
This software is provided 'as-is', without any express or implied
|
|
7
7
|
warranty. In no event will the authors be held liable for any damages
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
extern "C" {
|
|
38
38
|
#endif
|
|
39
39
|
|
|
40
|
-
#define ZLIB_VERSION "1.
|
|
41
|
-
#define ZLIB_VERNUM
|
|
40
|
+
#define ZLIB_VERSION "1.3"
|
|
41
|
+
#define ZLIB_VERNUM 0x1300
|
|
42
42
|
#define ZLIB_VER_MAJOR 1
|
|
43
|
-
#define ZLIB_VER_MINOR
|
|
44
|
-
#define ZLIB_VER_REVISION
|
|
45
|
-
#define ZLIB_VER_SUBREVISION
|
|
43
|
+
#define ZLIB_VER_MINOR 3
|
|
44
|
+
#define ZLIB_VER_REVISION 0
|
|
45
|
+
#define ZLIB_VER_SUBREVISION 0
|
|
46
46
|
|
|
47
47
|
/*
|
|
48
48
|
The 'zlib' compression library provides in-memory compression and
|
|
@@ -320,8 +320,8 @@ ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush);
|
|
|
320
320
|
with the same value of the flush parameter and more output space (updated
|
|
321
321
|
avail_out), until the flush is complete (deflate returns with non-zero
|
|
322
322
|
avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
|
|
323
|
-
avail_out is greater than six
|
|
324
|
-
avail_out == 0
|
|
323
|
+
avail_out is greater than six when the flush marker begins, in order to avoid
|
|
324
|
+
repeated flush markers upon calling deflate() again when avail_out == 0.
|
|
325
325
|
|
|
326
326
|
If the parameter flush is set to Z_FINISH, pending input is processed,
|
|
327
327
|
pending output is flushed and deflate returns with Z_STREAM_END if there was
|