Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@goldfishjs/route

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldfishjs/route - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

11

lib/container-router/StackedRouter.js
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _get from "@babel/runtime/helpers/get";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _get from "@babel/runtime/helpers/get";
import _inherits from "@babel/runtime/helpers/inherits";
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
import { parse, stringify } from 'qs';

@@ -37,2 +42,4 @@ import BaseRouter from './BaseRouter';

var _super = _createSuper(StackedRouter);
function StackedRouter() {

@@ -43,3 +50,3 @@ var _this;

_this = _possibleConstructorReturn(this, _getPrototypeOf(StackedRouter).apply(this, arguments));
_this = _super.apply(this, arguments);
_this.fromuKey = 'fromu';

@@ -46,0 +53,0 @@ return _this;

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _get from "@babel/runtime/helpers/get";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _get from "@babel/runtime/helpers/get";
import _inherits from "@babel/runtime/helpers/inherits";
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
import StackedRouter, { format } from './StackedRouter';

@@ -12,2 +17,4 @@

var _super = _createSuper(TinyAppRouter);
function TinyAppRouter() {

@@ -18,3 +25,3 @@ var _this;

_this = _possibleConstructorReturn(this, _getPrototypeOf(TinyAppRouter).call(this));
_this = _super.call(this);
_this.removeChangeListener = _this.addChangeListener(function () {

@@ -21,0 +28,0 @@ var realUrl = format(_this.getPath(), _this.getQuery());

@@ -5,2 +5,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

import _inherits from "@babel/runtime/helpers/inherits";
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
import Route from './Route';

@@ -12,2 +17,4 @@ import { default as BaseTinyappRoute } from './container-router/TinyAppRouter';

var _super = _createSuper(TinyappRoute);
function TinyappRoute() {

@@ -18,3 +25,3 @@ var _this;

_this = _possibleConstructorReturn(this, _getPrototypeOf(TinyappRoute).apply(this, arguments));
_this = _super.apply(this, arguments);
_this.route = new BaseTinyappRoute();

@@ -21,0 +28,0 @@ return _this;

2

package.json
{
"name": "@goldfishjs/route",
"version": "1.1.4",
"version": "1.1.5",
"description": "goldfish-route",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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