require-bro
Advanced tools
@@ -45,3 +45,3 @@ "use strict"; | ||
| var exports={}; | ||
| createdModule = factory.apply(window, dependencies.map(function(moduleName){ | ||
| createdModule = factory.apply(window, dependencies.map(function(moduleName){ | ||
| if(moduleName==='require'){ | ||
@@ -53,3 +53,3 @@ return requireBro; | ||
| } | ||
| return requireBro(moduleName) | ||
| return requireBro(moduleName) | ||
| })); | ||
@@ -94,10 +94,10 @@ argPos++; | ||
| if((window.require.cache||{})[foundName]){ | ||
| /* jshint -W093 */ | ||
| /* jshint -W093 */ | ||
| return window.requireBro.definedModules[foundName] = (window.require.cache||{})[foundName]; | ||
| /* jshint +W093 */ | ||
| /* jshint +W093 */ | ||
| } | ||
| if(window[foundName]){ | ||
| /* jshint -W093 */ | ||
| /* jshint -W093 */ | ||
| return window.requireBro.definedModules[foundName] = window[foundName]; | ||
| /* jshint +W093 */ | ||
| /* jshint +W093 */ | ||
| } | ||
@@ -110,2 +110,2 @@ } | ||
| window.require = window.requireBro; | ||
| })(); | ||
| })(); |
@@ -45,2 +45,2 @@ (function(){ | ||
| }); | ||
| })(); | ||
| })(); |
+0
-1
@@ -22,2 +22,1 @@ The MIT License (MIT) | ||
| SOFTWARE. | ||
+16
-8
| { | ||
| "name": "require-bro", | ||
| "description": "require for browsers", | ||
| "version": "0.3.5", | ||
| "version": "0.3.6", | ||
| "files": [ | ||
@@ -18,2 +18,7 @@ "lib" | ||
| "main": "lib/require-bro.js", | ||
| "overrides": { | ||
| "diff": ">=8.0.2", | ||
| "serialize-javascript": ">=7.0.0", | ||
| "uuid": ">=14.0.0" | ||
| }, | ||
| "dependencies": {}, | ||
@@ -23,9 +28,10 @@ "devDependencies": { | ||
| "istanbul": "~0.4.5", | ||
| "mocha": "~11.7.5", | ||
| "puppeteer": "~24.36.1", | ||
| "best-globals": "~2.0.7", | ||
| "discrepances": "~0.2.9", | ||
| "serve-content": "~1.0.2", | ||
| "mocha": "~11.7.6", | ||
| "puppeteer": "~25.2.1", | ||
| "best-globals": "~2.2.0", | ||
| "discrepances": "~0.2.14", | ||
| "qa-control": "^0.6.16", | ||
| "serve-content": "~1.0.4", | ||
| "server4test": "~1.0.0", | ||
| "type-store": "~0.4.5" | ||
| "type-store": "~0.4.12" | ||
| }, | ||
@@ -43,2 +49,3 @@ "engines": { | ||
| "qa-control": { | ||
| "profile": "minimum", | ||
| "package-version": "0.3.0", | ||
@@ -48,4 +55,5 @@ "coverage": 0, | ||
| "stability": "extending", | ||
| "type": "lib" | ||
| "type": "lib", | ||
| "gha": "all" | ||
| } | ||
| } |
+3
-6
@@ -9,9 +9,7 @@ # require-bro | ||
|  | ||
| [](https://npmjs.org/package/require-bro) | ||
| [](https://npmjs.org/package/require-bro) | ||
| [](https://travis-ci.org/codenautas/require-bro) | ||
| [](https://github.com/codenautas/require-bro/actions/workflows/node.js.yml) | ||
| [](https://codeclimate.com/github/codenautas/require-bro) | ||
| [](https://david-dm.org/codenautas/require-bro) | ||
| [](https://github.com/codenautas/require-bro/actions/workflows/build-and-test.yml) | ||
| [](https://socket.dev/npm/package/require-bro) | ||
| [](https://github.com/codenautas/require-bro/actions/workflows/qa-control.yml) | ||
@@ -88,2 +86,1 @@ | ||
| [MIT](LICENSE) | ||
Sorry, the diff of this file is too big to display
2658
0.11%101929
-0.02%10
11.11%85
-3.41%