phptest 0.0.9 → 0.0.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.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.11",
|
|
3
3
|
"name": "phptest",
|
|
4
4
|
"description": "Test helper library for PHP core runtime components",
|
|
5
5
|
"keywords": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Dan Phillimore <dan@ovms.co> (https://github.com/asmblah)",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/uniter/phptest"
|
|
14
|
+
"url": "git+https://github.com/uniter/phptest.git"
|
|
15
15
|
},
|
|
16
16
|
"bugs": {
|
|
17
17
|
"email": "dan@ovms.co",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"jshint": "^2.13.6",
|
|
33
|
-
"phpcore": "^
|
|
33
|
+
"phpcore": "^8.1.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"mocha": "^
|
|
37
|
-
"phptoast": "^9.0
|
|
38
|
-
"phptojs": "^
|
|
36
|
+
"mocha": "^11.1.0",
|
|
37
|
+
"phptoast": "^9.3.0",
|
|
38
|
+
"phptojs": "^10.2.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=12"
|
|
@@ -181,7 +181,7 @@ module.exports = function (phpCorePath, initRuntime, forceOpcodesAsync) {
|
|
|
181
181
|
result.setValue(value).next(resolve, reject);
|
|
182
182
|
});
|
|
183
183
|
}, function () {
|
|
184
|
-
return result.unset();
|
|
184
|
+
return futureFactory.createAsyncPresent(result.unset());
|
|
185
185
|
}, function () {
|
|
186
186
|
return result.getReference();
|
|
187
187
|
}, function (reference) {
|
|
@@ -193,13 +193,13 @@ module.exports = function (phpCorePath, initRuntime, forceOpcodesAsync) {
|
|
|
193
193
|
}, function () {
|
|
194
194
|
return result.isReadable();
|
|
195
195
|
}, function () {
|
|
196
|
-
return result.isEmpty();
|
|
196
|
+
return futureFactory.createAsyncPresent(result.isEmpty());
|
|
197
197
|
}, function () {
|
|
198
|
-
return result.isSet();
|
|
198
|
+
return futureFactory.createAsyncPresent(result.isSet());
|
|
199
199
|
}, function () {
|
|
200
200
|
return result.isReference();
|
|
201
201
|
}, function () {
|
|
202
|
-
return result.raiseUndefined();
|
|
202
|
+
return futureFactory.createAsyncPresent(result.raiseUndefined());
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
|