@contrast/agent 4.4.1 → 4.6.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.
Files changed (156) hide show
  1. package/bin/VERSION +1 -1
  2. package/bin/linux/contrast-service +0 -0
  3. package/bin/mac/contrast-service +0 -0
  4. package/bin/windows/contrast-service.exe +0 -0
  5. package/lib/assess/hapi/route-coverage.js +3 -3
  6. package/lib/assess/membrane/index.js +2 -8
  7. package/lib/assess/membrane/source-membrane.js +3 -4
  8. package/lib/assess/models/base-event.js +2 -2
  9. package/lib/assess/models/call-context.js +0 -3
  10. package/lib/assess/policy/propagators.json +20 -0
  11. package/lib/assess/policy/signatures.json +103 -0
  12. package/lib/assess/propagators/path/common.js +165 -36
  13. package/lib/assess/propagators/path/join.js +5 -1
  14. package/lib/assess/propagators/path/normalize.js +5 -1
  15. package/lib/assess/propagators/path/resolve.js +11 -2
  16. package/lib/assess/response-scanning/autocomplete-missing.js +0 -2
  17. package/lib/assess/response-scanning/parameter-pollution.js +0 -2
  18. package/lib/core/arch-components/dynamodb.js +1 -2
  19. package/lib/core/arch-components/dynamodbv3.js +44 -0
  20. package/lib/core/arch-components/index.js +1 -0
  21. package/lib/core/async-storage/hooks/bluebird.js +20 -0
  22. package/lib/core/config/options.js +3 -2
  23. package/lib/core/express/utils.js +1 -1
  24. package/lib/core/logger/debug-logger.js +15 -17
  25. package/lib/core/stacktrace.js +3 -4
  26. package/lib/feature-set.js +2 -1
  27. package/lib/hooks/encoding.js +1 -1
  28. package/lib/hooks/frameworks/base.js +8 -2
  29. package/lib/hooks/frameworks/http.js +23 -16
  30. package/lib/hooks/frameworks/http2.js +73 -0
  31. package/lib/hooks/frameworks/index.js +8 -3
  32. package/lib/hooks/http.js +112 -128
  33. package/lib/hooks/patcher.js +10 -12
  34. package/lib/hooks/require.js +16 -22
  35. package/lib/instrumentation.js +0 -3
  36. package/lib/protect/analysis/aho-corasick.js +13 -30
  37. package/lib/protect/rules/cmd-injection-command-backdoors/backdoor-detector.js +3 -3
  38. package/lib/protect/rules/signatures/reflected-xss/helpers/function-call.js +1 -1
  39. package/lib/protect/rules/xss/helpers/function-call.js +1 -1
  40. package/lib/util/clean-stack.js +1 -1
  41. package/lib/util/clean-string/brackets.js +3 -3
  42. package/lib/util/clean-string/concatenations.js +1 -1
  43. package/lib/util/clean-string/util.js +1 -2
  44. package/lib/util/ip-analyzer.js +1 -1
  45. package/lib/util/some.js +27 -0
  46. package/lib/util/xml-analyzer/external-entity-finder.js +1 -1
  47. package/package.json +14 -15
  48. package/lib/hooks/frameworks/https.js +0 -42
  49. package/node_modules/bindings/LICENSE.md +0 -22
  50. package/node_modules/bindings/README.md +0 -98
  51. package/node_modules/bindings/bindings.js +0 -221
  52. package/node_modules/bindings/package.json +0 -32
  53. package/node_modules/file-uri-to-path/.npmignore +0 -1
  54. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  55. package/node_modules/file-uri-to-path/History.md +0 -21
  56. package/node_modules/file-uri-to-path/LICENSE +0 -20
  57. package/node_modules/file-uri-to-path/README.md +0 -74
  58. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  59. package/node_modules/file-uri-to-path/index.js +0 -66
  60. package/node_modules/file-uri-to-path/package.json +0 -36
  61. package/node_modules/file-uri-to-path/test/test.js +0 -24
  62. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  63. package/node_modules/glossy/LICENSE +0 -19
  64. package/node_modules/glossy/README.md +0 -129
  65. package/node_modules/glossy/index.js +0 -12
  66. package/node_modules/glossy/lib/glossy/parse.js +0 -520
  67. package/node_modules/glossy/lib/glossy/produce.js +0 -459
  68. package/node_modules/glossy/package.json +0 -47
  69. package/node_modules/glossy/test/decide.js +0 -7
  70. package/node_modules/glossy/test/decode_pri.js +0 -24
  71. package/node_modules/glossy/test/parse_3164.js +0 -104
  72. package/node_modules/glossy/test/parse_5424.js +0 -106
  73. package/node_modules/glossy/test/parse_5848.js +0 -40
  74. package/node_modules/glossy/test/parse_8601.js +0 -14
  75. package/node_modules/glossy/test/parse_rfc3339.js +0 -9
  76. package/node_modules/glossy/test/produce.js +0 -162
  77. package/node_modules/glossy/test/runner.js +0 -40
  78. package/node_modules/glossy/test/structure_data.js +0 -24
  79. package/node_modules/nan/CHANGELOG.md +0 -537
  80. package/node_modules/nan/LICENSE.md +0 -13
  81. package/node_modules/nan/README.md +0 -455
  82. package/node_modules/nan/doc/asyncworker.md +0 -146
  83. package/node_modules/nan/doc/buffers.md +0 -54
  84. package/node_modules/nan/doc/callback.md +0 -76
  85. package/node_modules/nan/doc/converters.md +0 -41
  86. package/node_modules/nan/doc/errors.md +0 -226
  87. package/node_modules/nan/doc/json.md +0 -62
  88. package/node_modules/nan/doc/maybe_types.md +0 -583
  89. package/node_modules/nan/doc/methods.md +0 -664
  90. package/node_modules/nan/doc/new.md +0 -147
  91. package/node_modules/nan/doc/node_misc.md +0 -123
  92. package/node_modules/nan/doc/object_wrappers.md +0 -263
  93. package/node_modules/nan/doc/persistent.md +0 -296
  94. package/node_modules/nan/doc/scopes.md +0 -73
  95. package/node_modules/nan/doc/script.md +0 -38
  96. package/node_modules/nan/doc/string_bytes.md +0 -62
  97. package/node_modules/nan/doc/v8_internals.md +0 -199
  98. package/node_modules/nan/doc/v8_misc.md +0 -85
  99. package/node_modules/nan/include_dirs.js +0 -1
  100. package/node_modules/nan/nan.h +0 -2898
  101. package/node_modules/nan/nan_callbacks.h +0 -88
  102. package/node_modules/nan/nan_callbacks_12_inl.h +0 -514
  103. package/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  104. package/node_modules/nan/nan_converters.h +0 -72
  105. package/node_modules/nan/nan_converters_43_inl.h +0 -68
  106. package/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  107. package/node_modules/nan/nan_define_own_property_helper.h +0 -29
  108. package/node_modules/nan/nan_implementation_12_inl.h +0 -430
  109. package/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  110. package/node_modules/nan/nan_json.h +0 -166
  111. package/node_modules/nan/nan_maybe_43_inl.h +0 -356
  112. package/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  113. package/node_modules/nan/nan_new.h +0 -340
  114. package/node_modules/nan/nan_object_wrap.h +0 -156
  115. package/node_modules/nan/nan_persistent_12_inl.h +0 -132
  116. package/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  117. package/node_modules/nan/nan_private.h +0 -73
  118. package/node_modules/nan/nan_string_bytes.h +0 -305
  119. package/node_modules/nan/nan_typedarray_contents.h +0 -96
  120. package/node_modules/nan/nan_weak.h +0 -437
  121. package/node_modules/nan/package.json +0 -41
  122. package/node_modules/nan/tools/1to2.js +0 -412
  123. package/node_modules/nan/tools/README.md +0 -14
  124. package/node_modules/nan/tools/package.json +0 -19
  125. package/node_modules/unix-dgram/LICENSE +0 -13
  126. package/node_modules/unix-dgram/README.md +0 -107
  127. package/node_modules/unix-dgram/binding.gyp +0 -20
  128. package/node_modules/unix-dgram/build/Makefile +0 -324
  129. package/node_modules/unix-dgram/build/Release/.deps/Release/obj.target/unix_dgram/src/unix_dgram.o.d +0 -58
  130. package/node_modules/unix-dgram/build/Release/.deps/Release/obj.target/unix_dgram.node.d +0 -1
  131. package/node_modules/unix-dgram/build/Release/.deps/Release/unix_dgram.node.d +0 -1
  132. package/node_modules/unix-dgram/build/Release/obj.target/unix_dgram/src/unix_dgram.o +0 -0
  133. package/node_modules/unix-dgram/build/Release/obj.target/unix_dgram.node +0 -0
  134. package/node_modules/unix-dgram/build/Release/unix_dgram.node +0 -0
  135. package/node_modules/unix-dgram/build/binding.Makefile +0 -6
  136. package/node_modules/unix-dgram/build/config.gypi +0 -213
  137. package/node_modules/unix-dgram/build/unix_dgram.target.mk +0 -159
  138. package/node_modules/unix-dgram/lib/unix_dgram.js +0 -168
  139. package/node_modules/unix-dgram/package.json +0 -36
  140. package/node_modules/unix-dgram/src/unix_dgram.cc +0 -404
  141. package/node_modules/unix-dgram/src/win_dummy.cc +0 -7
  142. package/node_modules/unix-dgram/test/test-connect-callback.js +0 -68
  143. package/node_modules/unix-dgram/test/test-connect.js +0 -53
  144. package/node_modules/unix-dgram/test/test-dgram-unix.js +0 -58
  145. package/node_modules/unix-dgram/test/test-send-error.js +0 -26
  146. package/node_modules/winston-syslog/.eslintrc +0 -7
  147. package/node_modules/winston-syslog/.travis.yml +0 -14
  148. package/node_modules/winston-syslog/CHANGELOG.md +0 -9
  149. package/node_modules/winston-syslog/LICENSE +0 -20
  150. package/node_modules/winston-syslog/README.md +0 -135
  151. package/node_modules/winston-syslog/lib/utils.js +0 -26
  152. package/node_modules/winston-syslog/lib/winston-syslog.js +0 -385
  153. package/node_modules/winston-syslog/package.json +0 -56
  154. package/node_modules/winston-syslog/test/format-test.js +0 -122
  155. package/node_modules/winston-syslog/test/syslog-test.js +0 -95
  156. package/node_modules/winston-syslog/test/unix-connect-test.js +0 -133
@@ -1,537 +0,0 @@
1
- # NAN ChangeLog
2
-
3
- **Version 2.14.2: current Node 14.13.1, Node 0.12: 0.12.18, Node 0.10: 0.10.48, iojs: 3.3.1**
4
-
5
- ### 2.14.2 Oct 13 2020
6
-
7
- - Bugfix: fix gcc 8 function cast warning (#899) 35f0fab205574b2cbda04e6347c8b2db755e124f
8
-
9
- ### 2.14.1 Apr 21 2020
10
-
11
- - Bugfix: use GetBackingStore() instead of GetContents() (#888) 2c023bd447661a61071da318b0ff4003c3858d39
12
-
13
- ### 2.14.0 May 16 2019
14
-
15
- - Feature: Add missing methods to Nan::Maybe<T> (#852) 4e962489fb84a184035b9fa74f245f650249aca6
16
-
17
- ### 2.13.2 Mar 24 2019
18
-
19
- - Bugfix: remove usage of deprecated `IsNearDeath` (#842) fbaf42252af279c3d867c6b193571f9711c39847
20
-
21
- ### 2.13.1 Mar 14 2019
22
-
23
- - Bugfix: check V8 version directly instead of inferring from NMV (#840) 12f9df9f393285de8fb4a8cd01478dc4fe3b089d
24
-
25
- ### 2.13.0 Mar 13 2019
26
-
27
- - Feature: add support for node master (#831) 113c0282072e7ff4f9dfc98b432fd894b798c2c
28
-
29
- ### 2.12.1 Dec 18 2018
30
-
31
- - Bugfix: Fix build breakage with Node.js 10.0.0-10.9.0. (#833) 625e90e8fef8d39ffa7247250a76a100b2487474
32
-
33
- ### 2.12.0 Dec 16 2018
34
-
35
- - Bugfix: Add scope.Escape() to Call() (#817) 2e5ed4fc3a8ac80a6ef1f2a55099ab3ac8800dc6
36
- - Bugfix: Fix Node.js v10.12.0 deprecation warnings. 509859cc23b1770376b56550a027840a2ce0f73d
37
- - Feature: Allow SetWeak() for non-object persistent handles. (#824) e6ef6a48e7e671fe3e4b7dddaa8912a3f8262ecd
38
-
39
- ### 2.11.1 Sep 29 2018
40
-
41
- - Fix: adapt to V8 7.0 24a22c3b25eeeec2016c6ec239bdd6169e985447
42
-
43
- ### 2.11.0 Aug 25 2018
44
-
45
- - Removal: remove `FunctionCallbackInfo::Callee` for nodejs `>= 10` 1a56c0a6efd4fac944cb46c30912a8e023bda7d4
46
- - Bugfix: Fix `AsyncProgressWorkerBase::WorkProgress` sends invalid data b0c764d1dab11e9f8b37ffb81e2560a4498aad5e
47
- - Feature: Introduce `GetCurrentEventLoop` b4911b0bb1f6d47d860e10ec014d941c51efac5e
48
- - Feature: Add `NAN_MODULE_WORKER_ENABLED` macro as a replacement for `NAN_MODULE` b058fb047d18a58250e66ae831444441c1f2ac7a
49
-
50
- ### 2.10.0 Mar 16 2018
51
-
52
- - Deprecation: Deprecate `MakeCallback` 5e92b19a59e194241d6a658bd6ff7bfbda372950
53
- - Feature: add `Nan::Call` overload 4482e1242fe124d166fc1a5b2be3c1cc849fe452
54
- - Feature: add more `Nan::Call` overloads 8584e63e6d04c7d2eb8c4a664e4ef57d70bf672b
55
- - Feature: Fix deprecation warnings for Node 10 1caf258243b0602ed56922bde74f1c91b0cbcb6a
56
-
57
- ### 2.9.2 Feb 22 2018
58
-
59
- - Bugfix: Bandaid for async hooks 212bd2f849be14ef1b02fc85010b053daa24252b
60
-
61
- ### 2.9.1 Feb 22 2018
62
-
63
- - Bugfix: Avoid deprecation warnings in deprecated `Nan::Callback::operator()` 372b14d91289df4604b0f81780709708c45a9aa4
64
- - Bugfix: Avoid deprecation warnings in `Nan::JSON` 3bc294bce0b7d0a3ee4559926303e5ed4866fda2
65
-
66
- ### 2.9.0 Feb 22 2018
67
-
68
- - Deprecation: Deprecate legacy `Callback::Call` 6dd5fa690af61ca3523004b433304c581b3ea309
69
- - Feature: introduce `AsyncResource` class 90c0a179c0d8cb5fd26f1a7d2b1d6231eb402d48o
70
- - Feature: Add context aware `Nan::Callback::Call` functions 7169e09fb088418b6e388222e88b4c13f07ebaee
71
- - Feature: Make `AsyncWorker` context aware 066ba21a6fb9e2b5230c9ed3a6fc51f1211736a4
72
- - Feature: add `Callback` overload to `Nan::Call` 5328daf66e202658c1dc0d916c3aaba99b3cc606
73
- - Bugfix: fix warning: suggest parentheses around `&&` within `||` b2bb63d68b8ae623a526b542764e1ac82319cb2c
74
- - Bugfix: Fix compilation on io.js 3 d06114dba0a522fb436f0c5f47b994210968cd7b
75
-
76
- ### 2.8.0 Nov 15 2017
77
-
78
- - Deprecation: Deprecate `Nan::ForceSet` in favor of `Nan::DefineOwnProperty()` 95cbb976d6fbbba88ba0f86dd188223a8591b4e7
79
- - Feature: Add `Nan::AsyncProgressQueueWorker` a976636ecc2ef617d1b061ce4a6edf39923691cb
80
- - Feature: Add `Nan::DefineOwnProperty()` 95cbb976d6fbbba88ba0f86dd188223a8591b4e7
81
- - Bugfix: Fix compiling on io.js 1 & 2 82705a64503ce60c62e98df5bd02972bba090900
82
- - Bugfix: Use DefineOwnProperty instead of ForceSet 95cbb976d6fbbba88ba0f86dd188223a8591b4e7
83
-
84
- ### 2.7.0 Aug 30 2017
85
-
86
- - Feature: Add `Nan::To<v8::Function>()` overload. b93280670c9f6da42ed4cf6cbf085ffdd87bd65b
87
- - Bugfix: Fix ternary in `Nan::MaybeLocal<T>::FromMaybe<S>()`. 79a26f7d362e756a9524e672a82c3d603b542867
88
-
89
- ### 2.6.2 Apr 12 2017
90
-
91
- - Bugfix: Fix v8::JSON::Parse() deprecation warning. 87f6a3c65815fa062296a994cc863e2fa124867d
92
-
93
- ### 2.6.1 Apr 6 2017
94
-
95
- - Bugfix: nan_json.h: fix build breakage in Node 6 ac8d47dc3c10bfbf3f15a6b951633120c0ee6d51
96
-
97
- ### 2.6.0 Apr 6 2017
98
-
99
- - Feature: nan: add support for JSON::Parse & Stringify b533226c629cce70e1932a873bb6f849044a56c5
100
-
101
- ### 2.5.1 Jan 23 2017
102
-
103
- - Bugfix: Fix disappearing handle for private value 6a80995694f162ef63dbc9948fbefd45d4485aa0
104
- - Bugfix: Add missing scopes a93b8bae6bc7d32a170db6e89228b7f60ee57112
105
- - Bugfix: Use string::data instead of string::front in NewOneByteString d5f920371e67e1f3b268295daee6e83af86b6e50
106
-
107
- ### 2.5.0 Dec 21 2016
108
-
109
- - Feature: Support Private accessors a86255cb357e8ad8ccbf1f6a4a901c921e39a178
110
- - Bugfix: Abort in delete operators that shouldn't be called 0fe38215ff8581703967dfd26c12793feb960018
111
-
112
- ### 2.4.0 Jul 10 2016
113
-
114
- - Feature: Rewrite Callback to add Callback::Reset c4cf44d61f8275cd5f7b0c911d7a806d4004f649
115
- - Feature: AsyncProgressWorker: add template types for .send 1242c9a11a7ed481c8f08ec06316385cacc513d0
116
- - Bugfix: Add constness to old Persistent comparison operators bd43cb9982c7639605d60fd073efe8cae165d9b2
117
-
118
- ### 2.3.5 May 31 2016
119
-
120
- - Bugfix: Replace NAN_INLINE with 'inline' keyword. 71819d8725f822990f439479c9aba3b240804909
121
-
122
- ### 2.3.4 May 31 2016
123
-
124
- - Bugfix: Remove V8 deprecation warnings 0592fb0a47f3a1c7763087ebea8e1138829f24f9
125
- - Bugfix: Fix new versions not to use WeakCallbackInfo::IsFirstPass 615c19d9e03d4be2049c10db0151edbc3b229246
126
- - Bugfix: Make ObjectWrap::handle() const d19af99595587fe7a26bd850af6595c2a7145afc
127
- - Bugfix: Fix compilation errors related to 0592fb0a47f3a1c7763087ebea8e1138829f24f9 e9191c525b94f652718325e28610a1adcf90fed8
128
-
129
- ### 2.3.3 May 4 2016
130
-
131
- - Bugfix: Refactor SetMethod() to deal with v8::Templates (#566) b9083cf6d5de6ebe6bcb49c7502fbb7c0d9ddda8
132
-
133
- ### 2.3.2 Apr 27 2016
134
-
135
- - Bugfix: Fix compilation on outdated versions due to Handle removal f8b7c875d04d425a41dfd4f3f8345bc3a11e6c52
136
-
137
- ### 2.3.1 Apr 27 2016
138
-
139
- - Bugfix: Don't use deprecated v8::Template::Set() in SetMethod a90951e9ea70fa1b3836af4b925322919159100e
140
-
141
- ### 2.3.0 Apr 27 2016
142
-
143
- - Feature: added Signal() for invoking async callbacks without sending data from AsyncProgressWorker d8adba45f20e077d00561b20199133620c990b38
144
- - Bugfix: Don't use deprecated v8::Template::Set() 00dacf0a4b86027415867fa7f1059acc499dcece
145
-
146
- ### 2.2.1 Mar 29 2016
147
-
148
- - Bugfix: Use NewFromUnsigned in ReturnValue<T>::Set(uint32_t i) for pre_12 3a18f9bdce29826e0e4c217854bc476918241a58
149
- - Performance: Remove unneeeded nullptr checks b715ef44887931c94f0d1605b3b1a4156eebece9
150
-
151
- ### 2.2.0 Jan 9 2016
152
-
153
- - Feature: Add Function::Call wrapper 4c157474dacf284d125c324177b45aa5dabc08c6
154
- - Feature: Rename GC*logueCallback to GCCallback for > 4.0 3603435109f981606d300eb88004ca101283acec
155
- - Bugfix: Fix Global::Pass for old versions 367e82a60fbaa52716232cc89db1cc3f685d77d9
156
- - Bugfix: Remove weird MaybeLocal wrapping of what already is a MaybeLocal 23b4590db10c2ba66aee2338aebe9751c4cb190b
157
-
158
- ### 2.1.0 Oct 8 2015
159
-
160
- - Deprecation: Deprecate NanErrnoException in favor of ErrnoException 0af1ca4cf8b3f0f65ed31bc63a663ab3319da55c
161
- - Feature: added helper class for accessing contents of typedarrays 17b51294c801e534479d5463697a73462d0ca555
162
- - Feature: [Maybe types] Add MakeMaybe(...) 48d7b53d9702b0c7a060e69ea10fea8fb48d814d
163
- - Feature: new: allow utf16 string with length 66ac6e65c8ab9394ef588adfc59131b3b9d8347b
164
- - Feature: Introduce SetCallHandler and SetCallAsFunctionHandler 7764a9a115d60ba10dc24d86feb0fbc9b4f75537
165
- - Bugfix: Enable creating Locals from Globals under Node 0.10. 9bf9b8b190821af889790fdc18ace57257e4f9ff
166
- - Bugfix: Fix issue #462 where PropertyCallbackInfo data is not stored safely. 55f50adedd543098526c7b9f4fffd607d3f9861f
167
-
168
- ### 2.0.9 Sep 8 2015
169
-
170
- - Bugfix: EscapableHandleScope in Nan::NewBuffer for Node 0.8 and 0.10 b1654d7
171
-
172
- ### 2.0.8 Aug 28 2015
173
-
174
- - Work around duplicate linking bug in clang 11902da
175
-
176
- ### 2.0.7 Aug 26 2015
177
-
178
- - Build: Repackage
179
-
180
- ### 2.0.6 Aug 26 2015
181
-
182
- - Bugfix: Properly handle null callback in FunctionTemplate factory 6e99cb1
183
- - Bugfix: Remove unused static std::map instances 525bddc
184
- - Bugfix: Make better use of maybe versions of APIs bfba85b
185
- - Bugfix: Fix shadowing issues with handle in ObjectWrap 0a9072d
186
-
187
- ### 2.0.5 Aug 10 2015
188
-
189
- - Bugfix: Reimplement weak callback in ObjectWrap 98d38c1
190
- - Bugfix: Make sure callback classes are not assignable, copyable or movable 81f9b1d
191
-
192
- ### 2.0.4 Aug 6 2015
193
-
194
- - Build: Repackage
195
-
196
- ### 2.0.3 Aug 6 2015
197
-
198
- - Bugfix: Don't use clang++ / g++ syntax extension. 231450e
199
-
200
- ### 2.0.2 Aug 6 2015
201
-
202
- - Build: Repackage
203
-
204
- ### 2.0.1 Aug 6 2015
205
-
206
- - Bugfix: Add workaround for missing REPLACE_INVALID_UTF8 60d6687
207
- - Bugfix: Reimplement ObjectWrap from scratch to prevent memory leaks 6484601
208
- - Bugfix: Fix Persistent leak in FunctionCallbackInfo and PropertyCallbackInfo 641ef5f
209
- - Bugfix: Add missing overload for Nan::NewInstance that takes argc/argv 29450ed
210
-
211
- ### 2.0.0 Jul 31 2015
212
-
213
- - Change: Renamed identifiers with leading underscores b5932b4
214
- - Change: Replaced NanObjectWrapHandle with class NanObjectWrap 464f1e1
215
- - Change: Replace NanScope and NanEscpableScope macros with classes 47751c4
216
- - Change: Rename NanNewBufferHandle to NanNewBuffer 6745f99
217
- - Change: Rename NanBufferUse to NanNewBuffer 3e8b0a5
218
- - Change: Rename NanNewBuffer to NanCopyBuffer d6af78d
219
- - Change: Remove Nan prefix from all names 72d1f67
220
- - Change: Update Buffer API for new upstream changes d5d3291
221
- - Change: Rename Scope and EscapableScope to HandleScope and EscapableHandleScope 21a7a6a
222
- - Change: Get rid of Handles e6c0daf
223
- - Feature: Support io.js 3 with V8 4.4
224
- - Feature: Introduce NanPersistent 7fed696
225
- - Feature: Introduce NanGlobal 4408da1
226
- - Feature: Added NanTryCatch 10f1ca4
227
- - Feature: Update for V8 v4.3 4b6404a
228
- - Feature: Introduce NanNewOneByteString c543d32
229
- - Feature: Introduce namespace Nan 67ed1b1
230
- - Removal: Remove NanLocker and NanUnlocker dd6e401
231
- - Removal: Remove string converters, except NanUtf8String, which now follows the node implementation b5d00a9
232
- - Removal: Remove NanReturn* macros d90a25c
233
- - Removal: Remove HasInstance e8f84fe
234
-
235
-
236
- ### 1.9.0 Jul 31 2015
237
-
238
- - Feature: Added `NanFatalException` 81d4a2c
239
- - Feature: Added more error types 4265f06
240
- - Feature: Added dereference and function call operators to NanCallback c4b2ed0
241
- - Feature: Added indexed GetFromPersistent and SaveToPersistent edd510c
242
- - Feature: Added more overloads of SaveToPersistent and GetFromPersistent 8b1cef6
243
- - Feature: Added NanErrnoException dd87d9e
244
- - Correctness: Prevent assign, copy, and move for classes that do not support it 1f55c59, 4b808cb, c96d9b2, fba4a29, 3357130
245
- - Deprecation: Deprecate `NanGetPointerSafe` and `NanSetPointerSafe` 81d4a2c
246
- - Deprecation: Deprecate `NanBooleanOptionValue` and `NanUInt32OptionValue` 0ad254b
247
-
248
- ### 1.8.4 Apr 26 2015
249
-
250
- - Build: Repackage
251
-
252
- ### 1.8.3 Apr 26 2015
253
-
254
- - Bugfix: Include missing header 1af8648
255
-
256
- ### 1.8.2 Apr 23 2015
257
-
258
- - Build: Repackage
259
-
260
- ### 1.8.1 Apr 23 2015
261
-
262
- - Bugfix: NanObjectWrapHandle should take a pointer 155f1d3
263
-
264
- ### 1.8.0 Apr 23 2015
265
-
266
- - Feature: Allow primitives with NanReturnValue 2e4475e
267
- - Feature: Added comparison operators to NanCallback 55b075e
268
- - Feature: Backport thread local storage 15bb7fa
269
- - Removal: Remove support for signatures with arguments 8a2069d
270
- - Correcteness: Replaced NanObjectWrapHandle macro with function 0bc6d59
271
-
272
- ### 1.7.0 Feb 28 2015
273
-
274
- - Feature: Made NanCallback::Call accept optional target 8d54da7
275
- - Feature: Support atom-shell 0.21 0b7f1bb
276
-
277
- ### 1.6.2 Feb 6 2015
278
-
279
- - Bugfix: NanEncode: fix argument type for node::Encode on io.js 2be8639
280
-
281
- ### 1.6.1 Jan 23 2015
282
-
283
- - Build: version bump
284
-
285
- ### 1.5.3 Jan 23 2015
286
-
287
- - Build: repackage
288
-
289
- ### 1.6.0 Jan 23 2015
290
-
291
- - Deprecated `NanNewContextHandle` in favor of `NanNew<Context>` 49259af
292
- - Support utility functions moved in newer v8 versions (Node 0.11.15, io.js 1.0) a0aa179
293
- - Added `NanEncode`, `NanDecodeBytes` and `NanDecodeWrite` 75e6fb9
294
-
295
- ### 1.5.2 Jan 23 2015
296
-
297
- - Bugfix: Fix non-inline definition build error with clang++ 21d96a1, 60fadd4
298
- - Bugfix: Readded missing String constructors 18d828f
299
- - Bugfix: Add overload handling NanNew<FunctionTemplate>(..) 5ef813b
300
- - Bugfix: Fix uv_work_cb versioning 997e4ae
301
- - Bugfix: Add function factory and test 4eca89c
302
- - Bugfix: Add object template factory and test cdcb951
303
- - Correctness: Lifted an io.js related typedef c9490be
304
- - Correctness: Make explicit downcasts of String lengths 00074e6
305
- - Windows: Limit the scope of disabled warning C4530 83d7deb
306
-
307
- ### 1.5.1 Jan 15 2015
308
-
309
- - Build: version bump
310
-
311
- ### 1.4.3 Jan 15 2015
312
-
313
- - Build: version bump
314
-
315
- ### 1.4.2 Jan 15 2015
316
-
317
- - Feature: Support io.js 0dbc5e8
318
-
319
- ### 1.5.0 Jan 14 2015
320
-
321
- - Feature: Support io.js b003843
322
- - Correctness: Improved NanNew internals 9cd4f6a
323
- - Feature: Implement progress to NanAsyncWorker 8d6a160
324
-
325
- ### 1.4.1 Nov 8 2014
326
-
327
- - Bugfix: Handle DEBUG definition correctly
328
- - Bugfix: Accept int as Boolean
329
-
330
- ### 1.4.0 Nov 1 2014
331
-
332
- - Feature: Added NAN_GC_CALLBACK 6a5c245
333
- - Performance: Removed unnecessary local handle creation 18a7243, 41fe2f8
334
- - Correctness: Added constness to references in NanHasInstance 02c61cd
335
- - Warnings: Fixed spurious warnings from -Wundef and -Wshadow, 541b122, 99d8cb6
336
- - Windoze: Shut Visual Studio up when compiling 8d558c1
337
- - License: Switch to plain MIT from custom hacked MIT license 11de983
338
- - Build: Added test target to Makefile e232e46
339
- - Performance: Removed superfluous scope in NanAsyncWorker f4b7821
340
- - Sugar/Feature: Added NanReturnThis() and NanReturnHolder() shorthands 237a5ff, d697208
341
- - Feature: Added suitable overload of NanNew for v8::Integer::NewFromUnsigned b27b450
342
-
343
- ### 1.3.0 Aug 2 2014
344
-
345
- - Added NanNew<v8::String, std::string>(std::string)
346
- - Added NanNew<v8::String, std::string&>(std::string&)
347
- - Added NanAsciiString helper class
348
- - Added NanUtf8String helper class
349
- - Added NanUcs2String helper class
350
- - Deprecated NanRawString()
351
- - Deprecated NanCString()
352
- - Added NanGetIsolateData(v8::Isolate *isolate)
353
- - Added NanMakeCallback(v8::Handle<v8::Object> target, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value>* argv)
354
- - Added NanMakeCallback(v8::Handle<v8::Object> target, v8::Handle<v8::String> symbol, int argc, v8::Handle<v8::Value>* argv)
355
- - Added NanMakeCallback(v8::Handle<v8::Object> target, const char* method, int argc, v8::Handle<v8::Value>* argv)
356
- - Added NanSetTemplate(v8::Handle<v8::Template> templ, v8::Handle<v8::String> name , v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
357
- - Added NanSetPrototypeTemplate(v8::Local<v8::FunctionTemplate> templ, v8::Handle<v8::String> name, v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
358
- - Added NanSetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ, const char *name, v8::Handle<v8::Data> value)
359
- - Added NanSetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ, v8::Handle<v8::String> name, v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
360
-
361
- ### 1.2.0 Jun 5 2014
362
-
363
- - Add NanSetPrototypeTemplate
364
- - Changed NAN_WEAK_CALLBACK internals, switched _NanWeakCallbackData to class,
365
- introduced _NanWeakCallbackDispatcher
366
- - Removed -Wno-unused-local-typedefs from test builds
367
- - Made test builds Windows compatible ('Sleep()')
368
-
369
- ### 1.1.2 May 28 2014
370
-
371
- - Release to fix more stuff-ups in 1.1.1
372
-
373
- ### 1.1.1 May 28 2014
374
-
375
- - Release to fix version mismatch in nan.h and lack of changelog entry for 1.1.0
376
-
377
- ### 1.1.0 May 25 2014
378
-
379
- - Remove nan_isolate, use v8::Isolate::GetCurrent() internally instead
380
- - Additional explicit overloads for NanNew(): (char*,int), (uint8_t*[,int]),
381
- (uint16_t*[,int), double, int, unsigned int, bool, v8::String::ExternalStringResource*,
382
- v8::String::ExternalAsciiStringResource*
383
- - Deprecate NanSymbol()
384
- - Added SetErrorMessage() and ErrorMessage() to NanAsyncWorker
385
-
386
- ### 1.0.0 May 4 2014
387
-
388
- - Heavy API changes for V8 3.25 / Node 0.11.13
389
- - Use cpplint.py
390
- - Removed NanInitPersistent
391
- - Removed NanPersistentToLocal
392
- - Removed NanFromV8String
393
- - Removed NanMakeWeak
394
- - Removed NanNewLocal
395
- - Removed NAN_WEAK_CALLBACK_OBJECT
396
- - Removed NAN_WEAK_CALLBACK_DATA
397
- - Introduce NanNew, replaces NanNewLocal, NanPersistentToLocal, adds many overloaded typed versions
398
- - Introduce NanUndefined, NanNull, NanTrue and NanFalse
399
- - Introduce NanEscapableScope and NanEscapeScope
400
- - Introduce NanMakeWeakPersistent (requires a special callback to work on both old and new node)
401
- - Introduce NanMakeCallback for node::MakeCallback
402
- - Introduce NanSetTemplate
403
- - Introduce NanGetCurrentContext
404
- - Introduce NanCompileScript and NanRunScript
405
- - Introduce NanAdjustExternalMemory
406
- - Introduce NanAddGCEpilogueCallback, NanAddGCPrologueCallback, NanRemoveGCEpilogueCallback, NanRemoveGCPrologueCallback
407
- - Introduce NanGetHeapStatistics
408
- - Rename NanAsyncWorker#SavePersistent() to SaveToPersistent()
409
-
410
- ### 0.8.0 Jan 9 2014
411
-
412
- - NanDispose -> NanDisposePersistent, deprecate NanDispose
413
- - Extract _NAN_*_RETURN_TYPE, pull up NAN_*()
414
-
415
- ### 0.7.1 Jan 9 2014
416
-
417
- - Fixes to work against debug builds of Node
418
- - Safer NanPersistentToLocal (avoid reinterpret_cast)
419
- - Speed up common NanRawString case by only extracting flattened string when necessary
420
-
421
- ### 0.7.0 Dec 17 2013
422
-
423
- - New no-arg form of NanCallback() constructor.
424
- - NanCallback#Call takes Handle rather than Local
425
- - Removed deprecated NanCallback#Run method, use NanCallback#Call instead
426
- - Split off _NAN_*_ARGS_TYPE from _NAN_*_ARGS
427
- - Restore (unofficial) Node 0.6 compatibility at NanCallback#Call()
428
- - Introduce NanRawString() for char* (or appropriate void*) from v8::String
429
- (replacement for NanFromV8String)
430
- - Introduce NanCString() for null-terminated char* from v8::String
431
-
432
- ### 0.6.0 Nov 21 2013
433
-
434
- - Introduce NanNewLocal<T>(v8::Handle<T> value) for use in place of
435
- v8::Local<T>::New(...) since v8 started requiring isolate in Node 0.11.9
436
-
437
- ### 0.5.2 Nov 16 2013
438
-
439
- - Convert SavePersistent and GetFromPersistent in NanAsyncWorker from protected and public
440
-
441
- ### 0.5.1 Nov 12 2013
442
-
443
- - Use node::MakeCallback() instead of direct v8::Function::Call()
444
-
445
- ### 0.5.0 Nov 11 2013
446
-
447
- - Added @TooTallNate as collaborator
448
- - New, much simpler, "include_dirs" for binding.gyp
449
- - Added full range of NAN_INDEX_* macros to match NAN_PROPERTY_* macros
450
-
451
- ### 0.4.4 Nov 2 2013
452
-
453
- - Isolate argument from v8::Persistent::MakeWeak removed for 0.11.8+
454
-
455
- ### 0.4.3 Nov 2 2013
456
-
457
- - Include node_object_wrap.h, removed from node.h for Node 0.11.8.
458
-
459
- ### 0.4.2 Nov 2 2013
460
-
461
- - Handle deprecation of v8::Persistent::Dispose(v8::Isolate* isolate)) for
462
- Node 0.11.8 release.
463
-
464
- ### 0.4.1 Sep 16 2013
465
-
466
- - Added explicit `#include <uv.h>` as it was removed from node.h for v0.11.8
467
-
468
- ### 0.4.0 Sep 2 2013
469
-
470
- - Added NAN_INLINE and NAN_DEPRECATED and made use of them
471
- - Added NanError, NanTypeError and NanRangeError
472
- - Cleaned up code
473
-
474
- ### 0.3.2 Aug 30 2013
475
-
476
- - Fix missing scope declaration in GetFromPersistent() and SaveToPersistent
477
- in NanAsyncWorker
478
-
479
- ### 0.3.1 Aug 20 2013
480
-
481
- - fix "not all control paths return a value" compile warning on some platforms
482
-
483
- ### 0.3.0 Aug 19 2013
484
-
485
- - Made NAN work with NPM
486
- - Lots of fixes to NanFromV8String, pulling in features from new Node core
487
- - Changed node::encoding to Nan::Encoding in NanFromV8String to unify the API
488
- - Added optional error number argument for NanThrowError()
489
- - Added NanInitPersistent()
490
- - Added NanReturnNull() and NanReturnEmptyString()
491
- - Added NanLocker and NanUnlocker
492
- - Added missing scopes
493
- - Made sure to clear disposed Persistent handles
494
- - Changed NanAsyncWorker to allocate error messages on the heap
495
- - Changed NanThrowError(Local<Value>) to NanThrowError(Handle<Value>)
496
- - Fixed leak in NanAsyncWorker when errmsg is used
497
-
498
- ### 0.2.2 Aug 5 2013
499
-
500
- - Fixed usage of undefined variable with node::BASE64 in NanFromV8String()
501
-
502
- ### 0.2.1 Aug 5 2013
503
-
504
- - Fixed 0.8 breakage, node::BUFFER encoding type not available in 0.8 for
505
- NanFromV8String()
506
-
507
- ### 0.2.0 Aug 5 2013
508
-
509
- - Added NAN_PROPERTY_GETTER, NAN_PROPERTY_SETTER, NAN_PROPERTY_ENUMERATOR,
510
- NAN_PROPERTY_DELETER, NAN_PROPERTY_QUERY
511
- - Extracted _NAN_METHOD_ARGS, _NAN_GETTER_ARGS, _NAN_SETTER_ARGS,
512
- _NAN_PROPERTY_GETTER_ARGS, _NAN_PROPERTY_SETTER_ARGS,
513
- _NAN_PROPERTY_ENUMERATOR_ARGS, _NAN_PROPERTY_DELETER_ARGS,
514
- _NAN_PROPERTY_QUERY_ARGS
515
- - Added NanGetInternalFieldPointer, NanSetInternalFieldPointer
516
- - Added NAN_WEAK_CALLBACK, NAN_WEAK_CALLBACK_OBJECT,
517
- NAN_WEAK_CALLBACK_DATA, NanMakeWeak
518
- - Renamed THROW_ERROR to _NAN_THROW_ERROR
519
- - Added NanNewBufferHandle(char*, size_t, node::smalloc::FreeCallback, void*)
520
- - Added NanBufferUse(char*, uint32_t)
521
- - Added NanNewContextHandle(v8::ExtensionConfiguration*,
522
- v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)
523
- - Fixed broken NanCallback#GetFunction()
524
- - Added optional encoding and size arguments to NanFromV8String()
525
- - Added NanGetPointerSafe() and NanSetPointerSafe()
526
- - Added initial test suite (to be expanded)
527
- - Allow NanUInt32OptionValue to convert any Number object
528
-
529
- ### 0.1.0 Jul 21 2013
530
-
531
- - Added `NAN_GETTER`, `NAN_SETTER`
532
- - Added `NanThrowError` with single Local<Value> argument
533
- - Added `NanNewBufferHandle` with single uint32_t argument
534
- - Added `NanHasInstance(Persistent<FunctionTemplate>&, Handle<Value>)`
535
- - Added `Local<Function> NanCallback#GetFunction()`
536
- - Added `NanCallback#Call(int, Local<Value>[])`
537
- - Deprecated `NanCallback#Run(int, Local<Value>[])` in favour of Call
@@ -1,13 +0,0 @@
1
- The MIT License (MIT)
2
- =====================
3
-
4
- Copyright (c) 2018 NAN contributors
5
- -----------------------------------
6
-
7
- *NAN contributors listed at <https://github.com/nodejs/nan#contributors>*
8
-
9
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.