[ 
https://issues.apache.org/jira/browse/CB-14156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619281#comment-16619281
 ] 

ASF GitHub Bot commented on CB-14156:
-------------------------------------

brodybits commented on issue #162: [CB-14156] Remove browserify
URL: https://github.com/apache/cordova-js/pull/162#issuecomment-422439253
 
 
   > @brodybits Could you explain what you mean by "known to fail `npm test`"? 
The CI tests all passed.
   
   I think (recall) that when I raised this PR it would not pass `npm test`. 
   
   > I also removed the _WIP_ in the title, as this is now finished IMHO.
   
   I was kinda surprised that you did not remove _NOT TESTED_ from the title. I 
just removed these words in good faith that you would have actually tested the 
changes after rebasing and before approving.
   
   I just marked 5.0.0-dev (#170), would like to do one more rebase before 
merging. I would favor merging this in a merge commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> cordova-js browserify issues
> ----------------------------
>
>                 Key: CB-14156
>                 URL: https://issues.apache.org/jira/browse/CB-14156
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-js
>            Reporter: Chris Brody
>            Assignee: Chris Brody
>            Priority: Major
>
> I spotted the following issues with the way {{cordova-js}} uses 
> {{browserify}}:
> * 1: duplicate source files in {{src}}: {{src/cordova_b.js}}, 
> {{src/common/modulemapper_b.js}},
>  {{src/common/pluginloader_b.js}}, {{src/common/init_b.js}}, which only seem 
> to be used by {{tasks/lib/bundle-browserify.js}}
> * 2: I have not been able to make a working {{browserify}} build.
> * 3: {{npm outdated}} shows {{browserify}} as outdated
> Another possible issue that I am not 100% sure about:
> * 4: {{browserify}} is listed as a {{dependencies}} item in {{package.json}} 
> while I think it should have been listed as a {{devDependencies}} item
> I am very concerned that keeping duplicated source files may lead to old bugs 
> including possible security issues leaking through the maintenance process in 
> the future. The changes between the duplicated source files and the 
> non-browserify versions are very limited so it should be possible to resolve 
> this issue using very basic code techniques.
> I think the easiest solution would be to drop the browserify build/test 
> target and remove the duplicated source files. I suspect that the browserify 
> target has not been used for years.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to