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

router_js

Package Overview
Dependencies
Maintainers
5
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router_js - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

10

dist/cjs/route-info.js

@@ -99,13 +99,11 @@ 'use strict';

function createRouteInfoWithAttributes(routeInfo, context) {
var objects = [{
var attributes = {
get attributes() {
return context;
}
}];
};
if (Object.isFrozen(routeInfo)) {
objects.unshift({}, routeInfo);
} else {
objects.unshift(routeInfo);
return Object.assign({}, routeInfo, attributes);
}
return Object.assign.apply(null, objects);
return Object.assign(routeInfo, attributes);
}

@@ -112,0 +110,0 @@

17

dist/modules/route-info.js

@@ -68,16 +68,11 @@ import { Promise } from 'rsvp';

function createRouteInfoWithAttributes(routeInfo, context) {
let objects = [
{
get attributes() {
return context;
},
let attributes = {
get attributes() {
return context;
},
];
};
if (Object.isFrozen(routeInfo)) {
objects.unshift({}, routeInfo);
return Object.assign({}, routeInfo, attributes);
}
else {
objects.unshift(routeInfo);
}
return Object.assign.apply(null, objects);
return Object.assign(routeInfo, attributes);
}

@@ -84,0 +79,0 @@ export default class InternalRouteInfo {

{
"name": "router_js",
"version": "6.1.1",
"version": "6.1.2",
"description":

@@ -5,0 +5,0 @@ "A lightweight JavaScript library is built on top of route-recognizer and rsvp.js to provide an API for handling routes",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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