@modern-js/plugin
Advanced tools
Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
# @modern-js/plugin | ||
## 1.0.0-rc.4 | ||
### Patch Changes | ||
- fix server route match | ||
- 204c626: feat: initial | ||
## 1.0.0-rc.3 | ||
### Patch Changes | ||
- feat: initial |
@@ -0,1 +1,3 @@ | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -38,5 +40,5 @@ | ||
var dispatch = /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(index, input) { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(index, input) { | ||
var next; | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -43,0 +45,0 @@ switch (_context.prev = _context.next) { |
@@ -15,2 +15,4 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -87,5 +89,5 @@ | ||
var init = /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(options) { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) { | ||
var container, sortedPlugins, hooksList; | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -92,0 +94,0 @@ switch (_context.prev = _context.next) { |
@@ -0,1 +1,3 @@ | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -65,5 +67,5 @@ | ||
return createAsyncCounter( /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
var middleware, result; | ||
return regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
return _regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
while (1) { | ||
@@ -90,4 +92,4 @@ switch (_context2.prev = _context2.next) { | ||
_context2.next = 7; | ||
return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -94,0 +96,0 @@ switch (_context.prev = _context.next) { |
@@ -15,2 +15,4 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
@@ -39,4 +41,4 @@ | ||
return createAsyncCounter( /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
return regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
return _regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
while (1) { | ||
@@ -53,4 +55,4 @@ switch (_context2.prev = _context2.next) { | ||
case 2: | ||
return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -113,7 +115,7 @@ switch (_context.prev = _context.next) { | ||
var run = /*#__PURE__*/function () { | ||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(input, options) { | ||
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(input, options) { | ||
var _options$container; | ||
var container, hooks, runner; | ||
return regeneratorRuntime.wrap(function _callee3$(_context3) { | ||
return _regeneratorRuntime.wrap(function _callee3$(_context3) { | ||
while (1) { | ||
@@ -120,0 +122,0 @@ switch (_context3.prev = _context3.next) { |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
@@ -31,5 +33,5 @@ | ||
return createAsyncCounter( /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) { | ||
var middleware; | ||
return regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
return _regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
while (1) { | ||
@@ -47,5 +49,5 @@ switch (_context2.prev = _context2.next) { | ||
middleware = middlewares[index]; | ||
return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() { | ||
var result, rest; | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -98,7 +100,7 @@ switch (_context.prev = _context.next) { | ||
var run = /*#__PURE__*/function () { | ||
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(input, options) { | ||
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(input, options) { | ||
var _options$container; | ||
var container, hooks, runner; | ||
return regeneratorRuntime.wrap(function _callee3$(_context3) { | ||
return _regeneratorRuntime.wrap(function _callee3$(_context3) { | ||
while (1) { | ||
@@ -105,0 +107,0 @@ switch (_context3.prev = _context3.next) { |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
@@ -35,4 +37,4 @@ | ||
var middleware = middlewares[index]; | ||
return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { | ||
return regeneratorRuntime.wrap(function _callee$(_context) { | ||
return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() { | ||
return _regeneratorRuntime.wrap(function _callee$(_context) { | ||
while (1) { | ||
@@ -73,7 +75,7 @@ switch (_context.prev = _context.next) { | ||
var run = /*#__PURE__*/function () { | ||
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(input, options) { | ||
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(input, options) { | ||
var _options$container; | ||
var container, hooks, runner; | ||
return regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
return _regeneratorRuntime.wrap(function _callee2$(_context2) { | ||
while (1) { | ||
@@ -80,0 +82,0 @@ switch (_context2.prev = _context2.next) { |
{ | ||
"name": "@modern-js/plugin", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"jsnext:source": "./src/index.ts", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types/index.d.ts", |
315227
7999