wsfe / yapi-plugin-cas Goto Github PK
View Code? Open in Web Editor NEW为yapi设置的基于cas的登录插件
License: MIT License
为yapi设置的基于cas的登录插件
License: MIT License
例如:
https://yapi.test.com:443/api/user/login_by_token 这样是没有问题的
https://yapi.test.com/api/user/login_by_token 这样是有问题的
URL中没有端口号单点登录认证不过
插件不生效 安装配置好重启之后 登录界面没有任何更新
为适配我们用的SSO的具体参数情况,对这个插件进行了修改,有类似需求的可以参考下。网址是https://blog.csdn.net/djhemc/article/details/101355249
目前用的结果是可以支持单点登录的,但是不支持单点登出,建议支持
LOGIN_SERVER和AUTH_SERVER有什么区别?哪个才是直接跳转的?我司的cas只提供了一个地址怎么办?
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors>ykit pack -m
[error] ./client/components/AuthenticatedComponent.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\AuthenticatedComponent.js
28:5 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
31:5 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/components/Loading/Loading.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\Loading\Loading.js
16:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/MyPopConfirm/MyPopConfirm.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\MyPopConfirm\MyPopConfirm.js
29:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Home/Home.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Home\Home.js
340:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Project.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Project.js
44:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
59:9 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Follows/Follows.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Follows\Follows.js
46:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/AddProject/AddProject.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\AddProject\AddProject.js
92:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/User/List.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\User\List.js
97:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/User/Profile.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\User\Profile.js
88:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Group/GroupList/GroupList.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Group\GroupList\GroupList.js
82:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
201:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Group/ProjectList/ProjectList.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Group\ProjectList\ProjectList.js
85:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Group/MemberList/MemberList.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Group\MemberList\MemberList.js
149:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Group/GroupSetting/GroupSetting.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Group\GroupSetting\GroupSetting.js
104:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
196:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/Interface.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\Interface.js
87:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectMember/ProjectMember.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectMember\ProjectMember.js
224:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectData/ProjectData.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectData\ProjectData.js
94:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./exts/yapi-plugin-advanced-mock/AdvMock.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\exts\yapi-plugin-advanced-mock\AdvMock.js
46:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./exts/yapi-plugin-statistics/statisticsClientPage/index.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\exts\yapi-plugin-statistics\statisticsClientPage\index.js
143:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./exts/yapi-plugin-swagger-auto-sync/swaggerAutoSync/swaggerAutoSync.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\exts\yapi-plugin-swagger-auto-sync\swaggerAutoSync\swaggerAutoSync.js
96:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/Postman/Postman.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\Postman\Postman.js
274:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
287:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceList/InterfaceContent.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceList\InterfaceContent.js
45:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
55:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceList/InterfaceMenu.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceList\InterfaceMenu.js
111:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
115:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceCol/InterfaceColContent.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceCol\InterfaceColContent.js
171:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
483:9 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceList/InterfaceList.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceList\InterfaceList.js
125:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
130:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceCol\InterfaceColMenu.js
106:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
110:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceCol/InterfaceCaseContent.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceCol\InterfaceCaseContent.js
81:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
98:9 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectMessage/ProjectMessage.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectMessage\ProjectMessage.js
221:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectRequest/ProjectRequest.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectRequest\ProjectRequest.js
30:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectMock/index.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectMock\index.js
73:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectEnv/index.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectEnv\index.js
54:9 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/TimeLine/TimeLine.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\TimeLine\TimeLine.js
113:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.co
m/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./exts/yapi-plugin-advanced-mock/MockCol/MockCol.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\exts\yapi-plugin-advanced-mock\MockCol\MockCol.js
46:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./exts/yapi-plugin-statistics/statisticsClientPage/StatisChart.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\exts\yapi-plugin-statistics\statisticsClientPage\StatisChart.js
23:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/AceEditor/AceEditor.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\AceEditor\AceEditor.js
52:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/ModalPostman/index.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\ModalPostman\index.js
64:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Setting/ProjectEnv/ProjectEnvContent.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Setting\ProjectEnv\ProjectEnvContent.js
122:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops.
Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceList/Run/Run.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceList\Run\Run.js
35:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
37:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] ./client/components/Label/Label.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\Label\Label.js
25:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/components/ModalPostman/VariablesSelect.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\components\ModalPostman\VariablesSelect.js
79:9 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 1 problem (1 error, 0 warnings)
[error] ./client/containers/Project/Interface/InterfaceList/Run/AddColModal.js
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\client\containers\Project\Interface\InterfaceList\Run\AddColModal.js
44:3 error componentWillMount is deprecated since React 16.9.0, use UNSAFE_componentWillMount instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. Use https://github.com
/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
49:3 error componentWillReceiveProps is deprecated since React 16.9.0, use UNSAFE_componentWillReceiveProps instead, see https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. U
se https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components react/no-deprecated
✖ 2 problems (2 errors, 0 warnings)
[error] .//swagger-client/lib/resolver.js/swagger-client/lib/index.js 14:40-61
Module parse failed: F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\node_modules\swagger-client\lib\resolver.js Unexpected token (119:38)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (119:38)
at Parser.pp$4.raise (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
at Parser.pp.unexpected (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:603:10)
at Parser.pp.expect (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:597:28)
at Parser.pp$3.parseMaybeConditional (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1626:12)
at Parser.pp$3.parseMaybeAssign (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1597:21)
at Parser.pp$3.parseExprList (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2165:22)
at Parser.pp$3.parseSubscripts (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1741:35)
at Parser.pp$3.parseExprSubscripts (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1718:17)
at Parser.pp$3.parseMaybeUnary (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1692:19)
at Parser.pp$3.parseExprOps (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1637:21)
at Parser.pp$3.parseMaybeConditional (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1620:21)
at Parser.pp$3.parseMaybeAssign (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1597:21)
at Parser.pp$3.parseExpression (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1573:21)
at Parser.pp$1.parseReturnStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:839:33)
at Parser.pp$1.parseStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:699:34)
at Parser.pp$1.parseBlock (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:981:25)
@ ./
[error] .//swagger-client/lib/http/index.js/swagger-client/lib/index.js 12:36-53
Module parse failed: F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\node_modules\swagger-client\lib\http\index.js Unexpected token (43:6)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (43:6)
at Parser.pp$4.raise (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
at Parser.pp.unexpected (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:603:10)
at Parser.pp.semicolon (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:581:61)
at Parser.pp$1.parseExpressionStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:966:10)
at Parser.pp$1.parseStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:730:24)
at Parser.pp$1.parseTopLevel (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:638:25)
at Parser.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:516:17)
at Object.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:3098:39)
at Parser.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\lib\Parser.js:902:15)
at NormalModule. (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\lib\NormalModule.js:104:16)
at NormalModule.onModuleBuild (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:310:10)
at nextLoader (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:275:25)
at D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:259:5
at Storage.finished (D:\nodeJs1\node_global\node_modules\ykit\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16)
at D:\nodeJs1\node_global\node_modules\ykit\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
@ ./
[error] .//swagger-client/lib/subtree-resolver/index.js/swagger-client/lib/index.js 16:46-75
Module parse failed: F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\node_modules\swagger-client\lib\subtree-resolver\index.js Unexpected token (20:6)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (20:6)
at Parser.pp$4.raise (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
at Parser.pp.unexpected (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:603:10)
at Parser.pp.semicolon (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:581:61)
at Parser.pp$1.parseExpressionStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:966:10)
at Parser.pp$1.parseStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:730:24)
at Parser.pp$1.parseTopLevel (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:638:25)
at Parser.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:516:17)
at Object.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:3098:39)
at Parser.parse (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\lib\Parser.js:902:15)
at NormalModule. (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\lib\NormalModule.js:104:16)
at NormalModule.onModuleBuild (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:310:10)
at nextLoader (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:275:25)
at D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack-core\lib\NormalModuleMixin.js:259:5
at Storage.finished (D:\nodeJs1\node_global\node_modules\ykit\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16)
at D:\nodeJs1\node_global\node_modules\ykit\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
@ ./
[error] .//buffer/index.js/safe-buffer/index.js 3:13-30
Module parse failed: F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors\node_modules\buffer\index.js Unexpected token (1216:24)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1216:24)
at Parser.pp$4.raise (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2221:15)
at Parser.pp.unexpected (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:603:10)
at Parser.pp$3.parseExprAtom (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1822:12)
at Parser.pp$3.parseExprSubscripts (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1715:21)
at Parser.pp$3.parseMaybeUnary (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1692:19)
at Parser.pp$3.parseExprOp (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1656:43)
at Parser.pp$3.parseExprOp (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1658:21)
at Parser.pp$3.parseExprOp (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1656:26)
at Parser.pp$3.parseExprOps (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1639:17)
at Parser.pp$3.parseMaybeConditional (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1620:21)
at Parser.pp$3.parseMaybeAssign (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1597:21)
at Parser.pp$1.parseVar (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:1034:28)
at Parser.pp$1.parseVarStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:917:10)
at Parser.pp$1.parseStatement (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:706:19)
at Parser.pp$1.parseBlock (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:981:25)
at Parser.pp$3.parseFunctionBody (D:\nodeJs1\node_global\node_modules\ykit\node_modules\webpack\node_modules\acorn\dist\acorn.js:2105:24)
@ ./
[error] [email protected] from UglifyJs
SyntaxError: Name expected [../~/swagger-client/lib/commonjs.js:3,0]
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors>
F:\裕民\yapi_1.9.8\yapi-copy3\my-yapi\vendors>node server/app.js
log: -------------------------------------swaggerSyncUtils constructor-----------------------------------------------
log: 服务已启动,请打开下面链接访问:
http://127.0.0.1:3000/
log: mongodb load success...
(node:9628) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.