New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

boring-router

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boring-router - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

9

bld/library/route-match.d.ts

@@ -10,10 +10,3 @@ import { Dict } from 'tslang';

export declare class RouteMatch<TParamDict extends GeneralParamDict = GeneralParamDict> {
private _name;
/** @internal */
private _matched;
/** @internal */
private _exact;
/** @internal */
private _params;
constructor(_name: string, { match, query }: RouteMatchOptions);
constructor(name: string, { match, query }: RouteMatchOptions);
readonly $matched: boolean;

@@ -20,0 +13,0 @@ readonly $exact: boolean;

9

bld/library/route-match.js

@@ -7,6 +7,8 @@ "use strict";

class RouteMatch {
constructor(_name, { match, query }) {
this._name = _name;
constructor(name, { match, query }) {
/** @internal */
this._matched = false;
/** @internal */
this._exact = false;
this._name = name;
if (match instanceof RegExp && match.global) {

@@ -137,13 +139,10 @@ throw new Error('Expecting a non-global regular expression as match pattern');

mobx_1.observable
/** @internal */
], RouteMatch.prototype, "_matched", void 0);
tslib_1.__decorate([
mobx_1.observable
/** @internal */
], RouteMatch.prototype, "_exact", void 0);
tslib_1.__decorate([
mobx_1.observable
/** @internal */
], RouteMatch.prototype, "_params", void 0);
exports.RouteMatch = RouteMatch;
//# sourceMappingURL=route-match.js.map
{
"name": "boring-router",
"version": "0.1.3",
"version": "0.1.4",
"description": "A light-weight, type-safe, yet reactive router service using MobX.",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc