itty-router
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -26,2 +26,2 @@ const Router = (o = {}) => | ||
module.exports = { Router } | ||
module.exports = { Router } |
{ | ||
"name": "itty-router", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Tiny, zero-dependency router with route param and query parsing.", | ||
@@ -22,3 +22,3 @@ "main": "./dist/itty-router.min.js", | ||
"scripts": { | ||
"test": "jest --verbose --coverage", | ||
"test": "npx eslint src && jest --verbose --coverage", | ||
"verify": "echo 'verifying module...' && yarn build && yarn test", | ||
@@ -44,2 +44,4 @@ "dev": "yarn test - --watch", | ||
"coveralls": "^3.0.13", | ||
"eslint": "^7.2.0", | ||
"eslint-plugin-jest": "^23.13.2", | ||
"fs-extra": "^9.0.0", | ||
@@ -46,0 +48,0 @@ "jest": "^25.3.0", |
@@ -1,8 +0,8 @@ | ||
![image](https://user-images.githubusercontent.com/865416/79531114-fa0d8200-8036-11ea-824d-70d84164b00a.png) | ||
![Logo][logo-image] | ||
[![npm version](https://badge.fury.io/js/apicache.svg)](https://www.npmjs.com/package/itty-router) | ||
[![Build Status via Travis CI](https://travis-ci.org/kwhitley/itty-router.svg?branch=v1.x)](https://travis-ci.org/kwhitley/itty-router) | ||
[![Coverage Status](https://coveralls.io/repos/github/kwhitley/itty-router/badge.svg?branch=v1.x)](https://coveralls.io/github/kwhitley/itty-router?branch=v1.x) | ||
[![minified + gzipped size](https://badgen.net/bundlephobia/minzip/itty-router@latest)](https://bundlephobia.com/result?p=itty-router) | ||
[![Open Issues](https://img.shields.io/github/issues/kwhitley/itty-router)](https://github.com/kwhitley/itty-router/issues) | ||
[![npm package][npm-image]][npm-url] | ||
[![minified + gzipped size][gzip-image]][gzip-url] | ||
[![Build Status][travis-image]][travis-url] | ||
[![Coverage Status][coveralls-image]][coveralls-url] | ||
[![Open Issues][issues-image]][issues-url] | ||
@@ -227,14 +227,15 @@ It's an itty bitty router. Like... super tiny, with zero dependencies. For reals. | ||
## Changelog | ||
Until this library makes it to a production release of v1.x, **minor versions may contain breaking changes to the API**. After v1.x, semantic versioning will be honored, and breaking changes will only occur under the umbrella of a major version bump. | ||
- **v1.2.2** - fix: require verify/build pass before publishing and fixed README badges (should point to v1.x branch) | ||
- **v1.2.0** - feature: chainable route declarations (with test)... that didn't take long... | ||
- **v1.1.1** - updated README to reflect that chaining actually never was working... (not a breaking change, as no code could have been using it) | ||
- **v1.1.0** - feature: added single option `{ base: '/some/path' }` to `Router` for route prefixing, fix: trailing wildcard issue (e.g. `/foo/*` should match `/foo`) | ||
- **v1.0.0** - production release, stamped into gold from x0.9.7 | ||
- **v0.9.0** - added support for multiple handlers (middleware) | ||
- **v0.8.0** - deep minification pass and build steps for final module | ||
- **v0.7.0** - removed { path } from request handler context, travis build fixed, added coveralls, improved README docs | ||
- **v0.6.0** - added types to project for vscode intellisense (thanks [@mvasigh](https://github.com/mvasigh)) | ||
- **v0.5.4** - fix: wildcard routes properly supported | ||
[twitter-image]:https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fitty-router | ||
[logo-image]:https://user-images.githubusercontent.com/865416/79531114-fa0d8200-8036-11ea-824d-70d84164b00a.png | ||
[gzip-image]:https://img.shields.io/bundlephobia/minzip/itty-router | ||
[gzip-url]:https://bundlephobia.com/result?p=itty-router | ||
[issues-image]:https://img.shields.io/github/issues/kwhitley/itty-router | ||
[issues-url]:https://github.com/kwhitley/itty-router/issues | ||
[npm-image]:https://img.shields.io/npm/v/itty-router.svg | ||
[npm-url]:http://npmjs.org/package/itty-router | ||
[travis-image]:https://travis-ci.org/kwhitley/itty-router.svg?branch=v1.x | ||
[travis-url]:https://travis-ci.org/kwhitley/itty-router | ||
[david-image]:https://david-dm.org/kwhitley/itty-router/status.svg | ||
[david-url]:https://david-dm.org/kwhitley/itty-router | ||
[coveralls-image]:https://coveralls.io/repos/github/kwhitley/itty-router/badge.svg?branch=v1.x | ||
[coveralls-url]:https://coveralls.io/github/kwhitley/itty-router?branch=v1.x |
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
14984
6
26
241
8