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

@umijs/runtime

Package Overview
Dependencies
Maintainers
14
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/runtime - npm Package Compare versions

Comparing version 3.4.3-beta.1 to 3.4.3

1

dist/index.d.ts

@@ -7,1 +7,2 @@ export { Link, NavLink, Prompt, Redirect, Route, Router, StaticRouter, MemoryRouter, Switch, matchPath, withRouter, useHistory, useLocation, useParams, useRouteMatch, } from 'react-router-dom';

export { default as dynamic } from './dynamic/dynamic';
export { isBrowser } from './utils/index';

@@ -224,2 +224,10 @@ export { Link, MemoryRouter, NavLink, Prompt, Redirect, Route, Router, StaticRouter, Switch, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter } from 'react-router-dom';

/**
* whether in browser env
*/
var isBrowser = function isBrowser() {
return typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
};
var ApplyPluginsType;

@@ -804,2 +812,2 @@

export { ApplyPluginsType, Plugin, dynamic };
export { ApplyPluginsType, Plugin, dynamic, isBrowser };

@@ -228,2 +228,10 @@ 'use strict';

/**
* whether in browser env
*/
var isBrowser = function isBrowser() {
return typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
};
(function (ApplyPluginsType) {

@@ -922,1 +930,2 @@ ApplyPluginsType["compose"] = "compose";

exports.dynamic = dynamic;
exports.isBrowser = isBrowser;
import assert from './assert';
export { assert };
/**
* whether in browser env
*/
export declare const isBrowser: () => boolean;

8

package.json
{
"name": "@umijs/runtime",
"version": "3.4.3-beta.1",
"version": "3.4.3",
"description": "@umijs/runtime",

@@ -28,8 +28,8 @@ "main": "dist/index.js",

"dependencies": {
"@types/react-router": "5.1.8",
"@types/react-router-dom": "5.1.5",
"@types/react-router": "5.1.12",
"@types/react-router-dom": "5.1.7",
"history-with-query": "4.10.4",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"use-subscription": "1.4.1"
"use-subscription": "1.5.1"
},

@@ -36,0 +36,0 @@ "peerDependencies": {

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