Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / thlorenz/proxyquire issues and pull requests

#275 - module exporting a function

Issue - State: closed - Opened by erakis 7 months ago - 1 comment

#274 - Cannot read property 'require' of undefined when using ES6 modules

Issue - State: closed - Opened by springcomp about 1 year ago - 5 comments

#273 - docs: fix simple typo, excuted -> executed

Pull Request - State: closed - Opened by timgates42 almost 2 years ago

#272 - Proxyquire not working with node@16?

Issue - State: closed - Opened by ericmorand about 2 years ago - 1 comment

#271 - Proxyquire compatibility with ESM

Issue - State: closed - Opened by IsaacChaverri over 2 years ago - 1 comment

#270 - Can we stub pg library of nodejs using proxyquire?

Issue - State: closed - Opened by Saini01Basu over 2 years ago - 1 comment

#269 - Stubbing peer dependencies

Issue - State: closed - Opened by jankapunkt over 2 years ago - 3 comments

#267 - proxyquire jasmine expect not working - 1 test 0 assertions

Issue - State: closed - Opened by Fabiomad85 almost 3 years ago - 2 comments

#266 - Stubbing a dependency within a base class

Issue - State: closed - Opened by oldschoolbg almost 3 years ago - 2 comments

#265 - `createRequire` support & a way to access the mocked `require`

Issue - State: open - Opened by PaperStrike almost 3 years ago - 6 comments

#264 - Slightly confusing first example in readme

Issue - State: closed - Opened by sohale almost 3 years ago - 1 comment

#262 - Mocks the first require only

Issue - State: closed - Opened by shukriadams over 3 years ago - 1 comment

#261 - Cleanup temporal module from a cache, fixes #174

Pull Request - State: open - Opened by theKashey over 3 years ago

#260 - Cannot proxy module sub-item

Issue - State: closed - Opened by guycnicholas over 3 years ago - 3 comments

#259 - Examples of use with classes

Issue - State: closed - Opened by blmille1 over 3 years ago - 2 comments

#257 - Using `@global` on path with subdir causes Node to throw MODULE_NOT_FOUND error

Issue - State: closed - Opened by ryanblock almost 4 years ago - 4 comments

#256 - TypeScript definitions

Issue - State: open - Opened by SnarkBoojum almost 4 years ago - 1 comment

#255 - Unable to stub indirect improts

Issue - State: closed - Opened by sujeet-agrahari almost 4 years ago - 3 comments

#254 - Problem when stubbing for just one test

Issue - State: closed - Opened by Coteh about 4 years ago - 1 comment

#253 - global require not working

Issue - State: closed - Opened by jcald1 over 4 years ago - 2 comments

#252 - docs: Fix simple typo, overriden -> overridden

Pull Request - State: closed - Opened by timgates42 over 4 years ago

#251 - Stubbing multiple requests with proxyquire

Issue - State: closed - Opened by Tyzanol over 4 years ago - 1 comment

#250 - Cannot find module based on relative path

Issue - State: closed - Opened by kukko over 4 years ago - 2 comments

#249 - Stubbing another file that is required in an express route

Issue - State: closed - Opened by stephclleung over 4 years ago - 1 comment

#248 - Problem with a simple example...

Issue - State: closed - Opened by ScottChapman almost 5 years ago - 2 comments

#247 - Mocking Dependency Doesn't Work With Classes

Issue - State: closed - Opened by JimLynchCodes about 5 years ago - 6 comments

#246 - Fix removal of module with null throwing incorrect error type

Pull Request - State: closed - Opened by dsommerich about 5 years ago - 1 comment

#245 - fix for GH-244 non-existent relative module @noCallThru

Pull Request - State: closed - Opened by bvalerius about 5 years ago - 1 comment

#243 - Update dependencies

Pull Request - State: closed - Opened by delaguilaluis about 5 years ago - 2 comments

#242 - proxy a dependency which requires a constructor

Issue - State: closed - Opened by cassiodias about 5 years ago - 5 comments

#241 - README.md: Fix typo

Pull Request - State: closed - Opened by MaxNanasy over 5 years ago

#240 - TypeError: myClass is not a constructor

Issue - State: closed - Opened by doque over 5 years ago - 3 comments

#239 - Enhances docs for global overrides

Pull Request - State: closed - Opened by klausbayrhammer over 5 years ago

#238 - Huge performance regression from 1.8.0 to 2.1.0

Issue - State: closed - Opened by fatso83 over 5 years ago - 7 comments

#237 - Add file path reference to README.md

Pull Request - State: closed - Opened by loujaybee over 5 years ago

#236 - proxyquire not stubbing module function

Issue - State: closed - Opened by samuela over 5 years ago - 2 comments

#235 - Unable to run it with Karma

Issue - State: closed - Opened by ghost over 5 years ago - 1 comment

#234 - Warn or error when stubbing non-existent functions

Issue - State: open - Opened by tstackhouse over 5 years ago - 1 comment

#233 - path foo example ... use path 'path' for require

Issue - State: closed - Opened by amirbey over 5 years ago - 4 comments

#232 - How to stub out other module dependencies

Issue - State: closed - Opened by parky128 over 5 years ago - 1 comment

#231 - Global variables

Issue - State: closed - Opened by NathanHazout over 5 years ago - 1 comment

#230 - Cannot read property 'onReady' of undefined

Issue - State: open - Opened by laggingreflex almost 6 years ago - 1 comment

#229 - Proxyquire required dependency not working

Issue - State: closed - Opened by lokeshkr2 almost 6 years ago - 1 comment

#228 - Added requireStubs() feature

Pull Request - State: closed - Opened by samuelms1 almost 6 years ago - 7 comments

#227 - Mocking URLs

Issue - State: closed - Opened by Wildhoney almost 6 years ago - 7 comments

#226 - Recursive noPreserveCache: deps should also be reloaded

Issue - State: open - Opened by axelpale almost 6 years ago

#225 - Add throwOnNotFound method

Pull Request - State: open - Opened by jacobsmith-fusionalliance almost 6 years ago - 6 comments

#224 - Can't proxyquire json files in v2

Issue - State: closed - Opened by wheresrhys almost 6 years ago - 4 comments

#222 - Did `preserveCache` stop working and `noPreserveCache` become the default?

Issue - State: open - Opened by Druotic almost 6 years ago - 2 comments

#221 - proxyquire throws cannot find module error whenever called without noCallThru()

Issue - State: closed - Opened by Noor0 almost 6 years ago - 8 comments

#220 - overriding module.exports = function

Issue - State: closed - Opened by Sufiane about 6 years ago - 2 comments

#219 - Proxyquire failing to replace simple module

Issue - State: closed - Opened by shaynemeyer about 6 years ago - 1 comment

#218 - Possible to reoverride modules that return a function?

Issue - State: closed - Opened by Jeffphuang about 6 years ago - 1 comment

#217 - Add support for ES Modules in Node.js

Issue - State: closed - Opened by ghost about 6 years ago - 4 comments

#216 - Resolve nonexistent modules via path.resolve with noCallThru()

Pull Request - State: closed - Opened by bendrucker about 6 years ago - 1 comment

#215 - Can not get proxyquire to work with a require that happens in an init function

Issue - State: closed - Opened by intervalia about 6 years ago - 13 comments

#214 - proxyquire can not use in jest

Issue - State: closed - Opened by GeSnowBoy about 6 years ago - 1 comment

#213 - Proxyquire still calling module after noCallThru()

Issue - State: closed - Opened by maamounapprise about 6 years ago - 5 comments

#212 - Specify ESLint environment for Mocha

Pull Request - State: closed - Opened by sonicdoe about 6 years ago - 1 comment

#211 - How can i override a function after 3 files ?

Issue - State: closed - Opened by basilbattikhi about 6 years ago - 1 comment

#209 - what happens when i pass an empty array as a stub for a function

Issue - State: closed - Opened by ghost about 6 years ago

#208 - Cannot find module unless specific as `.js` in a React Test

Issue - State: closed - Opened by rodoabad over 6 years ago - 3 comments

#207 - [Solved] Error thrown when proxying non existing file

Issue - State: closed - Opened by adelura over 6 years ago - 3 comments

#206 - docs: adding patreon badge

Pull Request - State: closed - Opened by thlorenz over 6 years ago

#205 - Testing a "dynamically loaded" module

Issue - State: closed - Opened by JohnDMathis over 6 years ago - 4 comments

#204 - proxyquire 2.0.1 breaks relative pathing

Issue - State: closed - Opened by bdruth over 6 years ago - 3 comments

#203 - Proxyquire 2: required module is not cached

Issue - State: closed - Opened by senseysensor over 6 years ago - 5 comments

#202 - Cannot proxyquire es6 dependencies

Issue - State: closed - Opened by nishant-jain-94 over 6 years ago - 6 comments

#201 - Error: Cannot find module

Issue - State: closed - Opened by xduseko over 6 years ago - 1 comment

#200 - proxyquire 2.0.1 seems to be having issues loading modules

Issue - State: closed - Opened by aschonfeld over 6 years ago - 1 comment

#199 - readme: example is broken with simple-get

Pull Request - State: closed - Opened by reggi over 6 years ago - 1 comment

#198 - Doesn't work as expected with 'config' library

Issue - State: closed - Opened by croraf over 6 years ago - 2 comments

#196 - Unexpected issue with extending ES6 class and mocking

Issue - State: closed - Opened by codeburke over 6 years ago - 1 comment

#178 - Stubbing with the es6 class instances

Issue - State: closed - Opened by CMCDragonkai almost 7 years ago - 7 comments

#175 - handling imports that have de-structuring (nodeJs)

Issue - State: closed - Opened by E314c about 7 years ago - 2 comments

#174 - Proxyquire is leaking on module.parent

Issue - State: open - Opened by charlespwd about 7 years ago - 16 comments

#172 - proxyquire does not like import

Issue - State: closed - Opened by jacopolanzoni about 7 years ago - 4 comments

#171 - Support for wildcard strings

Issue - State: closed - Opened by Floriferous about 7 years ago - 2 comments

#167 - _overrideExtensionHandlers tries to write to read-only require.extensions

Issue - State: closed - Opened by touzoku over 7 years ago - 3 comments

#144 - Question - dealing with require.exports = ClassConstructor

Issue - State: closed - Opened by d1manson almost 8 years ago - 8 comments

#137 - Proxying JSON files

Issue - State: closed - Opened by niksy almost 8 years ago - 4 comments

#136 - Question: How to get proxyquire work with classes?

Issue - State: closed - Opened by 360disrupt about 8 years ago - 13 comments

#134 - Add test to catch issue with preserveCache not preserving correctly

Pull Request - State: open - Opened by KarlPurk over 8 years ago - 8 comments

#133 - Proxyquire isn't preserving cache

Issue - State: closed - Opened by KarlPurk over 8 years ago - 3 comments

#113 - What if the module I want to stub is just a function?

Issue - State: closed - Opened by callumlocke over 8 years ago - 4 comments

#99 - how does it play with babel and or ES6 import?

Issue - State: closed - Opened by kilianc almost 9 years ago - 6 comments

#98 - Calls the original function even though stubbing the original function using proxyquire

Issue - State: closed - Opened by prh7 almost 9 years ago - 17 comments

#93 - @runtimeGlobal blows out the stack

Issue - State: closed - Opened by alexjeffburke almost 9 years ago - 6 comments
Labels: awaiting response

#91 - Documentation about caching behavior is very confusing

Issue - State: closed - Opened by jmm almost 9 years ago - 8 comments

#90 - simultaneous usage of rewire and proxyquire

Issue - State: closed - Opened by hellboy81 almost 9 years ago - 12 comments

#88 - Support for ES 6 module syntax

Issue - State: closed - Opened by kasajian almost 9 years ago - 6 comments

#77 - A way to fake require.resolve function

Issue - State: closed - Opened by gyandeeps about 9 years ago - 13 comments
Labels: docs/examples

#63 - Possible to stub constructors?

Issue - State: closed - Opened by alexjamesbrown over 9 years ago - 6 comments