Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/node8 #53

Merged
merged 8 commits into from
Feb 20, 2019
Merged

Feature/node8 #53

merged 8 commits into from
Feb 20, 2019

Conversation

breath103
Copy link
Contributor

v2.0.0 release
Breaking Changes

  1. Route now must have operationId
  2. Engine requirements, "node>=8.0.0"
  3. use cache for convert route into RegExp for route resolving

2. use cache for converting Route into Regexp for route resolveing
3. use node8 (es2017)
src/router.ts Outdated
const regexp = pathToRegexp(joinedPath, keys);
p = { keys, regexp };

this.routeToPathRegexpCaceh.set(endRoute, p);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.routeToPathRegexpCache

@breath103 breath103 merged commit ffcdbe9 into master Feb 20, 2019
@breath103 breath103 deleted the feature/node8 branch February 20, 2019 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants