Closed peterennis closed 4 years ago
The fix causes test to fail:
C:\ae\ionic4-sidemenu-auth>npm test
> sidemenu-auth@0.0.1 test C:\ae\ionic4-sidemenu-auth
> ng test
Schema validation failed with the following errors:
Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
Data path ".builders['app-shell']" should have required property 'class'.
at MergeMapSubscriber.project (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\@angular-devkit\core\src\workspace\workspace.js:215:42)
at MergeMapSubscriber._tryNext (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
at MergeMapSubscriber._next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
at MergeMapSubscriber.Subscriber.next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:67:18)
at MergeMapSubscriber.notifyNext (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
at InnerSubscriber._next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:67:18)
at MapSubscriber._next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\map.js:55:26)
at MapSubscriber.Subscriber.next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:67:18)
at SwitchMapSubscriber.notifyNext (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\switchMap.js:86:26)
at InnerSubscriber._next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\Subscriber.js:67:18)
at C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeTo.js:17:28
at Object.subscribeToResult (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeToResult.js:10:45)
at SwitchMapSubscriber._innerSub (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\switchMap.js:65:54)
at SwitchMapSubscriber._next (C:\ae\ionic4-sidemenu-auth\node_modules\@angular\cli\node_modules\rxjs\internal\operators\switchMap.js:55:14)
npm ERR! Test failed. See above for more details.
C:\ae\ionic4-sidemenu-auth>
upgrade deps to A8 etc.
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 90 packages from 60 contributors, removed 77 packages, updated 107 packages, moved 6 packages and audited 23154 packages in 91.179s
23 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
C:\ae\ionic4-sidemenu-auth>
This resolves the security issues but there are breaking changes with Ionic as it now uses CSS by default instead of SCSS.
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es7/reflect' in 'C:\ae\ionic4-sidemenu-auth\src'
resolve 'core-js/es7/reflect' in 'C:\ae\ionic4-sidemenu-auth\src'
Parsed request is a module
fix reflect issue and test results are:
ionic g page aaaa
An unhandled exception occurred: Could not find module "@ionic/angular-toolkit"
First off thanks for taking a look at my work; however not sure why you are logging these issues here? If you forked the repo and you are running into issues, once you identify the resolution, I am more that happy to merge the PR.
This project is pretty old and needs to be updated, and you cannot update it by just running the audit and updating all of the packages
Hi, I am working on the PR, so these are just notes to track fixes related to the security problems. As you suggest, I am using the default build from ionic for comparison and if I run into a wall I will take it upstream.
@peterennis I have updated the repo, remove all audit issues and the basic tests all pass 👍🏾
On Sun, Dec 29, 2019 at 4:29 PM peterennis notifications@github.com wrote:
Hi, I am working on the PR, so these are just notes to track fixes related to the security problems. As you suggest, I am using the default build from ionic for comparison and if I run into a wall I will take it upstream.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/aaronksaunders/ionic4-sidemenu-auth/issues/8?email_source=notifications&email_token=AAEAFGOKKCFNGBLICO7GJF3Q3EJEJA5CNFSM4KBAUAH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZIXPY#issuecomment-569543615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAFGPN4YNNSH27EBN3CFDQ3EJEJANCNFSM4KBAUAHQ .
--
--
Aaron K. Saunders CEO Clearly Innovative Inc - Luma Lab - In3 aaron@clearlyinnovative.com www.clearlyinnovative.com www.In3DC.com
This email message and any attachment(s) are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachment(s) to the original message.
That was quick 😄 I got to here: and learned a bunch. Thanks
@peterennis i needed to update it, your issues gave me the motivation... I just created a new project with the correct dependencies and then moved over the base source file and tweaked it from there.
We have been working with Ionic since the first version and have had to update multiple projects recently; this is the most efficient process.