frida 17.1.0 → 17.1.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.
@@ -681,7 +681,7 @@ export const LogLevel = binding.LogLevel;
681
681
  return inspectWrapper(this, "FileMonitor", ["path"], depth, options);
682
682
  };
683
683
  binding.Compiler.prototype[inspect.custom] = function (depth, options) {
684
- return inspectWrapper(this, "Compiler", ["manager"], depth, options);
684
+ return inspectWrapper(this, "Compiler", [], depth, options);
685
685
  };
686
686
  binding.StaticAuthenticationService.prototype[inspect.custom] = function (depth, options) {
687
687
  return inspectWrapper(this, "StaticAuthenticationService", ["tokenHash"], depth, options);
@@ -380,10 +380,9 @@ export class FileMonitor extends BaseObject {
380
380
  export type FileMonitorChangeHandler = (filePath: string, otherFilePath: string | null, event: FileMonitorEvent) => void;
381
381
 
382
382
  export class Compiler extends BaseObject {
383
- constructor(manager: DeviceManager);
383
+ constructor(manager?: DeviceManager | null);
384
384
  build(entrypoint: string, options?: BuildOptions, cancellable?: Cancellable | null): Promise<string>;
385
385
  watch(entrypoint: string, options?: WatchOptions, cancellable?: Cancellable | null): Promise<void>;
386
- manager: DeviceManager;
387
386
  readonly starting: Signal<CompilerStartingHandler>;
388
387
  readonly finished: Signal<CompilerFinishedHandler>;
389
388
  readonly output: Signal<CompilerOutputHandler>;
package/meson.build CHANGED
@@ -79,7 +79,6 @@ endif
79
79
 
80
80
  frida_core_dep = dependency('frida-core-1.0', default_options: [
81
81
  f'frida_version=@version@',
82
- 'compiler_backend=disabled',
83
82
  ])
84
83
 
85
84
  pkg_install_dir = get_option('libdir') / 'node_modules' / 'frida'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frida",
3
- "version": "17.1.0",
3
+ "version": "17.1.2",
4
4
  "authors": [
5
5
  "Frida Developers"
6
6
  ],
@@ -990,6 +990,8 @@ fdn_gvalue_to_value (napi_env env,
990
990
 
991
991
  return fdn_utf8_to_value (env, str);
992
992
  }
993
+ case G_TYPE_VARIANT:
994
+ return fdn_variant_to_value (env, g_value_get_variant (value));
993
995
  default:
994
996
  {
995
997
  napi_value result;
@@ -1774,7 +1776,13 @@ fdn_signal_closure_deliver (napi_env env,
1774
1776
  napi_get_global (env, &global);
1775
1777
  napi_get_reference_value (env, self->handler, &handler);
1776
1778
 
1777
- napi_call_function (env, global, handler, args->len, js_args, &js_result);
1779
+ if (napi_call_function (env, global, handler, args->len, js_args, &js_result) == napi_pending_exception)
1780
+ {
1781
+ napi_value err;
1782
+
1783
+ napi_get_and_clear_last_exception (env, &err);
1784
+ napi_fatal_exception (env, err);
1785
+ }
1778
1786
  }
1779
1787
 
1780
1788
  for (i = 0; i != args->len; i++)
@@ -778,6 +778,11 @@ const assetRoot = params?.assetRoot ?? null;
778
778
  "Injector": ObjectTypeCustomizations(drop=True),
779
779
  "RpcClient": ObjectTypeCustomizations(drop=True),
780
780
  "RpcPeer": ObjectTypeCustomizations(drop=True),
781
+ "Compiler": ObjectTypeCustomizations(
782
+ signals={
783
+ "output": SignalCustomizations(behavior="FDN_SIGNAL_KEEP_ALIVE"),
784
+ },
785
+ ),
781
786
  "Cancellable": ObjectTypeCustomizations(
782
787
  methods={
783
788
  "is_cancelled": MethodCustomizations(hide=True),
@@ -1,6 +1,6 @@
1
1
  [wrap-git]
2
2
  url = https://github.com/frida/frida-core.git
3
- revision = 17.1.0
3
+ revision = 17.1.2
4
4
  depth = 1
5
5
 
6
6
  [provide]