@nativescript/android 8.9.0-napi-quickjs.10 → 8.9.0-napi-quickjs.11

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.
@@ -92,13 +92,13 @@
92
92
  Array.prototype.slice.call(arguments, 1)
93
93
  );
94
94
  } else {
95
- thiz = new (Function.prototype.bind.apply(
95
+ thiz = new (Function.prototype.bind.apply(
96
96
  Extended,
97
97
  [null].concat(Array.prototype.slice.call(arguments, 1))
98
98
  ))();
99
99
  }
100
100
  } else {
101
- thiz = new Extended();
101
+ thiz = new Extended();
102
102
  }
103
103
  return thiz;
104
104
  };
@@ -107,10 +107,17 @@
107
107
  var Extended = extend(thiz);
108
108
  thiz.__container__ = true;
109
109
  if (args && args.length > 0) {
110
- thiz = new (Function.prototype.bind.apply(
111
- Extended,
112
- [null].concat(args)
113
- ))();
110
+ if (typeof Extended !== "function") {
111
+ thiz = Reflect.construct(
112
+ Extended,
113
+ [null].concat(args)
114
+ );
115
+ } else {
116
+ thiz = new (Function.prototype.bind.apply(
117
+ Extended,
118
+ [null].concat(args)
119
+ ))();
120
+ }
114
121
  } else {
115
122
  thiz = new Extended();
116
123
  }
@@ -1,4 +1,4 @@
1
- #Fri, 21 Feb 2025 22:28:14 -0800
1
+ #Wed, 26 Feb 2025 12:00:30 -0800
2
2
  # Project-wide Gradle settings.
3
3
 
4
4
  # IDE (e.g. Android Studio) users:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nativescript/android",
3
3
  "description": "NativeScript for Android using Node-API",
4
- "version": "8.9.0-napi-quickjs.10",
4
+ "version": "8.9.0-napi-quickjs.11",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/NativeScript/android.git"