You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on paraquire - security-oriented alternative for standard require. It is supposed to be fully backward compatible, i.e. there could be both require and paraquire calls in the same file. I prepared PR #1755 to show how will browserify look with paraquire.
As main security risks are access to FS and access to network, paraquire in browserified environment should act as usual require. Unfortunately, this trick wasn't successful: browserify does not treat paraquired libraries as dependencies while parsing module.
Is there any existing option to tell browserify to parse paraquire calls as require calls? I only need dependency injecting, not function redefinition. I guess that dependency list is defined by detective package, but which exact options should I pass?
The text was updated successfully, but these errors were encountered:
browserify/module-deps#141 will allow you to do this; once released, you can create a transform that finds paraquire calls and emits a 'dep' event with the argument string for each one.
Greetings from Russia, comrads!
I'm working on paraquire - security-oriented alternative for standard
require
. It is supposed to be fully backward compatible, i.e. there could be bothrequire
andparaquire
calls in the same file. I prepared PR #1755 to show how willbrowserify
look withparaquire
.As main security risks are access to FS and access to network, paraquire in browserified environment should act as usual require. Unfortunately, this trick wasn't successful: browserify does not treat paraquired libraries as dependencies while parsing module.
Is there any existing option to tell
browserify
to parseparaquire
calls asrequire
calls? I only need dependency injecting, not function redefinition. I guess that dependency list is defined bydetective
package, but which exact options should I pass?The text was updated successfully, but these errors were encountered: