@modern-js/create-request 1.2.10 → 1.2.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.
@@ -1,6 +1,6 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
1
2
  import _typeof from "@babel/runtime/helpers/esm/typeof";
2
3
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
- import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import { compile, pathToRegexp } from 'path-to-regexp';
5
5
  import qs from 'query-string';
6
6
  import { handleRes } from "./handleRes";
@@ -35,7 +35,7 @@ export var createRequest = function createRequest(path, method, port) {
35
35
  pathToRegexp(path, keys);
36
36
 
37
37
  var sender = /*#__PURE__*/function () {
38
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
38
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
39
39
  var _len,
40
40
  args,
41
41
  _key,
@@ -49,7 +49,7 @@ export var createRequest = function createRequest(path, method, port) {
49
49
  body,
50
50
  _args = arguments;
51
51
 
52
- return _regeneratorRuntime.wrap(function _callee$(_context) {
52
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
53
53
  while (1) {
54
54
  switch (_context.prev = _context.next) {
55
55
  case 0:
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.10",
14
+ "version": "1.2.11",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -62,8 +62,8 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@babel/runtime": "^7",
66
- "@modern-js/plugin-ssr": "^1.4.2",
65
+ "@babel/runtime": "^7.18.0",
66
+ "@modern-js/plugin-ssr": "^1.4.5",
67
67
  "@modern-js/utils": "^1.7.6",
68
68
  "node-fetch": "^2.6.1",
69
69
  "path-to-regexp": "^6.2.0",