@ditojs/router
Advanced tools
Comparing version 0.88.0 to 0.89.0
"use strict"; | ||
require("core-js/modules/es.array.iterator"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -241,2 +239,2 @@ value: true | ||
exports.default = Node; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Ob2RlLmpzIl0sIm5hbWVzIjpbIlRZUEVfU1RBVElDIiwiVFlQRV9QQVJBTSIsIlRZUEVfTUFUQ0hfQU5ZIiwiQ0hBUl9QQVJBTSIsImNoYXJDb2RlQXQiLCJDSEFSX01BVENIX0FOWSIsIkNIQVJfU0xBU0giLCJOb2RlIiwiY29uc3RydWN0b3IiLCJhcmdzIiwiaW5pdGlhbGl6ZSIsInByZWZpeCIsInR5cGUiLCJjaGlsZHJlbiIsImhhbmRsZXIiLCJwYXJhbU5hbWVzIiwibGFiZWwiLCJwYXJhbU5hbWUiLCJhZGRDaGlsZCIsImNoaWxkIiwicHVzaCIsImZpbmRDaGlsZCIsImZpbmRDaGlsZFdpdGhMYWJlbCIsImZpbmRDaGlsZFdpdGhUeXBlIiwiYWRkIiwicGF0aCIsInBvcyIsImxlbmd0aCIsImNoIiwiaW5zZXJ0Iiwic3Vic3RyaW5nIiwic3RhcnQiLCJtYXRjaCIsImN1cnJlbnQiLCJub2RlIiwidW5kZWZpbmVkIiwiZmluZCIsInBhcmFtVmFsdWVzIiwicGFyYW1zIiwiaSIsIm5hbWUiLCJwcmVmaXhMZW5ndGgiLCJmdWxsTWF0Y2giLCJzdGF0aWNDaGlsZCIsInJlc3VsdCIsInBhcmFtQ2hpbGQiLCJtYXgiLCJwb3AiLCJtYXRjaEFueUNoaWxkIiwidG9TdHJpbmciLCJ0YWlsIiwicm9vdCIsImZvcm1hdCIsIm9uIiwib2ZmIiwibGluZXMiLCJzdHIiLCJsIiwiam9pbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBR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cbiAgICAgICAgY29uc3Qgbm9kZSA9IG5ldyBOb2RlKFxuICAgICAgICAgIHByZWZpeC5zdWJzdHJpbmcocG9zKSxcbiAgICAgICAgICBjdXJyZW50LnR5cGUsXG4gICAgICAgICAgY3VycmVudC5jaGlsZHJlbixcbiAgICAgICAgICBjdXJyZW50LmhhbmRsZXIsXG4gICAgICAgICAgY3VycmVudC5wYXJhbU5hbWVzXG4gICAgICAgIClcbiAgICAgICAgLy8gUmVzZXQgcGFyZW50IG5vZGUgYW5kIGFkZCBuZXcgbm9kZSBhcyBjaGlsZCB0byBpdDpcbiAgICAgICAgY3VycmVudC5pbml0aWFsaXplKHByZWZpeC5zdWJzdHJpbmcoMCwgcG9zKSlcbiAgICAgICAgY3VycmVudC5hZGRDaGlsZChub2RlKVxuICAgICAgICBpZiAocG9zIDwgcGF0aC5sZW5ndGgpIHtcbiAgICAgICAgICAvLyBDcmVhdGUgY2hpbGQgbm9kZVxuICAgICAgICAgIGNvbnN0IG5vZGUgPSBuZXcgTm9kZShwYXRoLnN1YnN0cmluZyhwb3MpLCB0eXBlKVxuICAgICAgICAgIGN1cnJlbnQuYWRkQ2hpbGQobm9kZSlcbiAgICAgICAgICBjdXJyZW50ID0gbm9kZSAvLyBTd2l0Y2ggdG8gY2hpbGQgdG8gc2V0IGhhbmRsZXIgYW5kIHBhcmFtTmFtZXNcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIGlmIChwb3MgPCBwYXRoLmxlbmd0aCkge1xuICAgICAgICBwYXRoID0gcGF0aC5zdWJzdHJpbmcocG9zKVxuICAgICAgICBjb25zdCBjaGlsZCA9IGN1cnJlbnQuZmluZENoaWxkV2l0aExhYmVsKHBhdGguY2hhckNvZGVBdCgwKSlcbiAgICAgICAgaWYgKGNoaWxkICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAvLyBHbyBkZWVwZXJcbiAgICAgICAgICBjdXJyZW50ID0gY2hpbGRcbiAgICAgICAgICBjb250aW51ZVxuICAgICAgIC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TdHJpbmcocHJlZml4ID0gJycsIHRhaWwgPSB0cnVlLCByb290ID0gdHJ1ZSkge1xuICAgIGNvbnN0IGhhbmRsZXIgPSB0aGlzLmhhbmRsZXIgJiYgYCR7dGhpcy5oYW5kbGVyLm5hbWUgfHwgJ8aSJ30oKWBcbiAgICBjb25zdCBmb3JtYXQgPSAocHJlZml4LCB0YWlsLCBvbiwgb2ZmKSA9PlxuICAgICAgcm9vdCA/ICcnIDogYCR7cHJlZml4fSR7dGFpbCA/IG9uIDogb2ZmfWBcbiAgICBjb25zdCB7IGNoaWxkcmVuIH0gPSB0aGlzXG4gICAgY29uc3QgbGluZXMgPSBbXG4gICAgICBgJHtmb3JtYXQocHJlZml4LCB0YWlsLCAn4pSU4pSA4pSAICcsICfilJzilIDilIAgJyl9JHtcbiAgICAgICAgdGhpcy50eXBlID09PSBUWVBFX1BBUkFNXG4gICAgICAgICAgPyBgJHt0aGlzLnByZWZpeH0ke3RoaXMucGFyYW1OYW1lfWBcbiAgICAgICAgICA6IHRoaXMucHJlZml4XG4gICAgICB9JHtcbiAgICAgICAgaGFuZGxlciA/IGAgJHtoYW5kbGVyfWAgOiAnJ1xuICAgICAgfSBjaGlsZHJlbj0ke1xuICAgICAgICBjaGlsZHJlbi5sZW5ndGhcbiAgICAgIH1gXG4gICAgXVxuXG4gICAgY29uc3Qgc3RyID0gZm9ybWF0KHByZWZpeCwgdGFpbCwgJyAgICAnLCAn4pSCICAgJylcbiAgICBmb3IgKGxldCBpID0gMCwgbCA9IGNoaWxkcmVuLmxlbmd0aCAtIDE7IGkgPD0gbDsgaSsrKSB7XG4gICAgICBsaW5lcy5wdXNoKGNoaWxkcmVuW2ldLnRvU3RyaW5nKHN0ciwgaSA9PT0gbCwgZmFsc2UpKVxuICAgIH1cbiAgICByZXR1cm4gbGluZXMuam9pbignXFxuJylcbiAgfVxufVxuIl19 |
@@ -5,4 +5,2 @@ "use strict"; | ||
require("core-js/modules/es.array.iterator"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -139,2 +137,2 @@ value: true | ||
exports.default = Router; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Sb3V0ZXIuanMiXSwibmFtZXMiOlsiQ0hBUl9TTEFTSCIsImNoYXJDb2RlQXQiLCJSb3V0ZXIiLCJjb25zdHJ1Y3RvciIsIm9wdGlvbnMiLCJ0cmVlcyIsIl9vcHRpb25zIiwiYWRkIiwibWV0aG9kIiwicGF0aCIsImhhbmRsZXIiLCJub3JtYWxpemVQYXRoIiwidHJlZSIsIk5vZGUiLCJmaW5kIiwiUmVzdWx0IiwiZ2V0QWxsb3dlZE1ldGhvZHMiLCJleGNsdWRlIiwiYWxsb3dlZCIsInB1c2giLCJPYmplY3QiLCJrZXlzIiwiZ2V0IiwiYXJncyIsInB1dCIsInBvc3QiLCJkZWxldGUiLCJoZWFkIiwicGF0Y2giLCJ0cmFjZSIsImNvbm5lY3QiLCJhbGwiLCJodHRwIiwiTUVUSE9EUyIsInN0cmljdCIsInByZWZpeCIsImxlbmd0aCIsInN1YnN0cmluZyIsInRvU3RyaW5nIiwidG9VcHBlckNhc2UiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBRUEsTUFBTUEsVUFBVSxHQUFHLElBQUlDLFVBQUosQ0FBZSxDQUFmLENBQW5COztBQUVlLE1BQU1DLE1BQU4sQ0FBYTtBQUMxQkMsRUFBQUEsV0FBVyxDQUFDQyxPQUFELEVBQVU7QUFDbkIsU0FBS0MsS0FBTCxHQUFhLEVBQWI7QUFDQSxTQUFLQyxRQUFMLEdBQWdCRixPQUFPLElBQUksRUFBM0I7QUFDRDs7QUFFREcsRUFBQUEsR0FBRyxDQUFDQyxNQUFELEVBQVNDLElBQVQsRUFBZUMsT0FBZixFQUF3QjtBQUN6QkQsSUFBQUEsSUFBSSxHQUFHLEtBQUtFLGFBQUws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gICAgdGhpcy5hZGQobWV0aG9kLCAuLi5hcmdzKVxuICAgIH1cbiAgICByZXR1cm4gdGhpc1xuICB9XG5cbiAgbm9ybWFsaXplUGF0aChwYXRoKSB7XG4gICAgY29uc3QgeyBzdHJpY3QsIHByZWZpeCB9ID0gdGhpcy5fb3B0aW9uc1xuICAgIGlmICghc3RyaWN0ICYmIHBhdGggIT09ICcvJykge1xuICAgICAgLy8gV2hlbiBub3QgaW4gc3RyaWN0IG1vZGUsIHJlbW92ZSB0cmFpbGluZyBzbGFzaCBmcm9tIGFueSBwYXRoIGV4Y2VwdFxuICAgICAgLy8gJy8nLCBhbmQgbWFrZSBzdXJlIHBhdGggc3RhcnRzIHdpdGggJy8nXG4gICAgICBjb25zdCB7IGxlbmd0aCB9ID0gcGF0aFxuICAgICAgaWYgKHBhdGguY2hhckNvZGVBdChsZW5ndGggLSAxKSA9PT0gQ0hBUl9TTEFTSCkge1xuICAgICAgICBwYXRoID0gcGF0aC5zdWJzdHJpbmcoMCwgbGVuZ3RoIC0gMSlcbiAgICAgIH1cbiAgICAgIGlmIChwYXRoLmNoYXJDb2RlQXQoMCkgIT09IENIQVJfU0xBU0gpIHtcbiAgICAgICAgcGF0aCA9ICcvJyArIHBhdGhcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHByZWZpeCA/IHByZWZpeCArIHBhdGggOiBwYXRoXG4gIH1cblxuICB0b1N0cmluZyhtZXRob2QgPSAnR0VUJykge1xuICAgIGNvbnN0IHRyZWUgPSB0aGlzLnRyZWVzW21ldGhvZC50b1VwcGVyQ2FzZSgpXVxuICAgIHJldHVybiB0cmVlID8gdHJlZS50b1N0cmluZygpIDogJydcbiAgfVxufVxuIl19 |
{ | ||
"name": "@ditojs/router", | ||
"version": "0.88.0", | ||
"version": "0.89.0", | ||
"description": "Dito.js Router – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js", | ||
@@ -19,7 +19,7 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">= 9.0.0", | ||
"node": ">= 10.0.0", | ||
"yarn": ">= 1.0.0" | ||
}, | ||
"browserslist": [ | ||
"node 9" | ||
"node 10" | ||
], | ||
@@ -31,3 +31,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"@ditojs/utils": "^0.88.0" | ||
"@ditojs/utils": "^0.89.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "keywords": [ | ||
], | ||
"gitHead": "2e00b21270634ddde9ca3bc505c5adc0fed53603" | ||
"gitHead": "80003ce5159d14a82af95109b7a2ddad62bba6ad" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164709
1697