@nebula.js/cli-serve 4.10.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fixtures.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e={9946:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=9946,e.exports=o}},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var i=o[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),window.serveFixtures={get(e=""){const o=["/","./"].some((o=>e.startsWith(o)))?e:`./${e}`;let r;try{r=t(9946)}catch(e){throw new Error('Specified "--fixturePath" does not exist')}if(r.keys().includes(o))return r(o).default;throw console.groupCollapsed(`No fixture found at "${o}"`),0===r.keys().length?console.info("No fixtures available."):(console.info("Fixtures available:"),console.info(r.keys()),console.info("Is the fixture you are looking for not in the list?")),console.info('Specify "--fixturePath" to Nebula serve to specify their loction. Note that the fixture\'s file name must end with ".fix.js".'),console.groupEnd(),new Error(`No fixture found at "${o}"`)}}})();
1
+ (()=>{var e={3071:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=3071,e.exports=o}},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var i=o[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),window.serveFixtures={get(e=""){const o=["/","./"].some((o=>e.startsWith(o)))?e:`./${e}`;let r;try{r=t(3071)}catch(e){throw new Error('Specified "--fixturePath" does not exist')}if(r.keys().includes(o))return r(o).default;throw console.groupCollapsed(`No fixture found at "${o}"`),0===r.keys().length?console.info("No fixtures available."):(console.info("Fixtures available:"),console.info(r.keys()),console.info("Is the fixture you are looking for not in the list?")),console.info('Specify "--fixturePath" to Nebula serve to specify their loction. Note that the fixture\'s file name must end with ".fix.js".'),console.groupEnd(),new Error(`No fixture found at "${o}"`)}}})();