@mxjs/router
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -1,2 +0,1 @@ | ||
import React from 'react'; | ||
import {render} from '@testing-library/react'; | ||
@@ -3,0 +2,0 @@ import {Link} from '..'; |
@@ -0,1 +1,21 @@ | ||
# [0.2.0](https://github.com/twinh/miaoxing/compare/@mxjs/router@0.1.4...@mxjs/router@0.2.0) (2021-10-28) | ||
### Features | ||
* `react` 依赖移到 `peerDependencies` 中,开发依赖使用 `react` 17 ([b355af9](https://github.com/twinh/miaoxing/commit/b355af9ee7c7da1eab7c41069cf9e190dd1c5a17)) | ||
### BREAKING CHANGES | ||
* `react` 依赖移到 `peerDependencies` 中,开发依赖使用 `react` 17 | ||
### Dependencies | ||
* **@miaoxing/dev:** upgrade from `7.0.1` to `8.0.0` | ||
## [0.1.4](https://github.com/twinh/miaoxing/compare/@mxjs/router@0.1.3...@mxjs/router@0.1.4) (2021-05-12) | ||
@@ -2,0 +22,0 @@ |
@@ -1,2 +0,1 @@ | ||
import React from 'react'; | ||
import {Link as RouterLink} from 'react-router-dom'; | ||
@@ -3,0 +2,0 @@ import {createLocation} from 'history'; |
@@ -1,5 +0,5 @@ | ||
import React from 'react'; | ||
import { createContext } from 'react'; | ||
const ModalContext = React.createContext({}); | ||
const ModalContext = createContext({}); | ||
export default ModalContext; |
{ | ||
"name": "@mxjs/router", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
@@ -14,3 +14,2 @@ "license": "MIT", | ||
"dependencies": { | ||
"react": "^16.13.1", | ||
"react-router": "^5.2.0", | ||
@@ -22,5 +21,11 @@ "react-router-dom": "^5.2.0", | ||
"devDependencies": { | ||
"@miaoxing/dev": "^7.0.1", | ||
"@testing-library/react": "^11.2.6" | ||
"@miaoxing/dev": "^8.0.0", | ||
"@testing-library/react": "^11.2.6", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16.13.1", | ||
"react-dom": ">=16.13.1" | ||
}, | ||
"ciDependencies": { | ||
@@ -27,0 +32,0 @@ "@mxjs/router-modal": "miaoxing/mxjs-router-modal", |
Sorry, the diff of this file is not supported yet
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
7490
6
4
41
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
- Removedreact@^16.13.1
- Removedreact@16.14.0(transitive)