phptest 0.0.6 → 0.0.7

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.6",
2
+ "version": "0.0.7",
3
3
  "name": "phptest",
4
4
  "description": "Test helper library for PHP core runtime components",
5
5
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "source-map": "^0.8.0-beta.0"
33
33
  },
34
34
  "devDependencies": {
35
- "phpcore": "^7.1.0"
35
+ "phpcore": "^7.2.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "core-js-pure": "^3.21.1",
@@ -110,6 +110,8 @@ module.exports = function (phpCorePath, initRuntime) {
110
110
  return phpCore;
111
111
  });
112
112
 
113
+ // Note that we do not support setting additional module options for PHPCore,
114
+ // because module-level options are deprecated in favour of environment-level ones.
113
115
  if (path !== null) {
114
116
  module = module.using({
115
117
  path: path
@@ -181,7 +183,7 @@ module.exports = function (phpCorePath, initRuntime) {
181
183
  result.setValue(value).next(resolve, reject);
182
184
  });
183
185
  }, function (reference) {
184
- return result.setReference(reference);
186
+ return result.setReference(reference.getReference());
185
187
  });
186
188
  }
187
189