New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rufflib-expect

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rufflib-expect - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

4

dist/rufflib-expect.es.js
/**
* rufflib-expect 3.0.3
* rufflib-expect 3.0.4
* A RuffLIB library for unit testing rough and sketchy JavaScript apps.

@@ -522,3 +522,3 @@ * https://richplastow.com/rufflib-expect

const NAME = 'Expect';
const VERSION = '3.0.3';
const VERSION = '3.0.4';

@@ -525,0 +525,0 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):((t="undefined"!=typeof globalThis?globalThis:t||self).rufflib=t.rufflib||{},t.rufflib.expect=t.rufflib.expect||{},t.rufflib.expect.main=e())}(this,(function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var c=e[n];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(t,c.key,c)}}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
/**
* rufflib-expect 3.0.3
* rufflib-expect 3.0.4
* A RuffLIB library for unit testing rough and sketchy JavaScript apps.
* https://richplastow.com/rufflib-expect
* @license MIT
*/var o=/^[.#]?[a-z][-_0-9a-z]*$/i;var i="expect.render(): ",a="",r="",s="",l="",u="√ ",d="",f="X ",p="",h="<h2>",y="</h2>",T="<s>",g="</s>",x="<i>√ ",m="</i>",b="<u>X ",k="</u>";function S(t,e,n,c,o,h,y){var T=function(t,e,n){return"-".repeat(79)+"\n"+"".concat(a).concat(n).concat(r,"\n")+"=".repeat(n.length)+"\n"+(t?"".concat(f,"Failed").concat(p," ").concat(t," of ").concat(t+e):"".concat(u,"Passed").concat(d," ").concat(e," test").concat(1===e?"":"s"))+"\n"+"-".repeat(79)+"\n"}(e,n,o);return T+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(h))switch(t.kind){case"Error":return"".concat(f,"Failed").concat(p," ").concat(t.testTitle,":\n")+" ".concat(s,"actually is an error:").concat(l,"\n")+" ".concat(t.actually,"\n");case"Failed":return"".concat(f,"Failed").concat(p," ").concat(t.testTitle,":\n")+" ".concat(s,"expected:").concat(l," ").concat(t.expected,"\n")+" ".concat(s,"actually:").concat(l," ").concat(t.actually,"\n");case"Passed":return y?"".concat(u,"Passed").concat(d," ").concat(t.testTitle,"\n"):"";case"SectionTitle":return y||c[t.sectionIndex].failTally?"\n".concat(a).concat(t.sectionTitle,":").concat(r,"\n")+"-".repeat(t.sectionTitle.length+1)+"\n":"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(y?"\n\n"+T:"")}function v(t,e,n,c,o,a,r){var s=function(t,e,n){return"<hr>"+"".concat(h).concat(n).concat(y,"\n")+(t?"".concat(b,"Failed").concat(k," ").concat(t," of ").concat(t+e):"".concat(x,"Passed").concat(m," ").concat(e," test").concat(1===e?"":"s"))+"\n<hr>\n"}(e,n,o);return s+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return"".concat(b,"Failed").concat(k," ").concat(t.testTitle,":\n")+" ".concat(T,"actually is an error:").concat(g,"\n")+" ".concat(t.actually,"\n");case"Failed":return"".concat(b,"Failed").concat(k," ").concat(t.testTitle,":\n")+" ".concat(T,"expected:").concat(g," ").concat(t.expected,"\n")+" ".concat(T,"actually:").concat(g," ").concat(t.actually,"\n");case"Passed":return r?"".concat(x,"Passed").concat(m," ").concat(t.testTitle,"\n"):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?"\n".concat("<b>").concat(t.sectionTitle,":").concat("</b>","\n"):"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(r?"\n\n"+s:"")}function w(t,e,n,c,o,a,r){return"{\n"+' "fail_tally": '.concat(e,",\n")+' "pass_tally": '.concat(n,",\n")+' "status": "'.concat(e?"fail":"pass",'",\n')+' "suite_title": "'.concat(o,'",\n')+' "log": [\n'+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return' { "kind": "Error", "test_title": "'.concat(t.testTitle,'",\n')+' "error": '.concat(JSON.stringify(t.actually)," },\n");case"Failed":return' { "kind": "Failed", "test_title": "'.concat(t.testTitle,'",\n')+' "expected": '.concat(JSON.stringify(t.expected),",\n")+' "actually": '.concat(JSON.stringify(t.actually)," },\n");case"Passed":return r?' { "kind": "Passed", "test_title": "'.concat(t.testTitle,'" },\n'):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?' { "kind": "SectionTitle", "section_title": "'.concat(t.sectionTitle,'" },\n'):"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("").slice(0,-2)+"\n ]\n}"}function E(t,e,n,c,o,a,r){var s=function(t,e,n){return"-".repeat(79)+"\n"+"".concat(n,"\n")+"=".repeat(n.length)+"\n"+(t?"Failed ".concat(t," of ").concat(t+e):"Passed ".concat(e," test").concat(1===e?"":"s"))+"\n"+"-".repeat(79)+"\n"}(e,n,o);return s+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return"Failed ".concat(t.testTitle,":\n")+" actually is an error:\n"+" ".concat(t.actually,"\n");case"Failed":return"Failed ".concat(t.testTitle,":\n")+" expected: ".concat(t.expected,"\n")+" actually: ".concat(t.actually,"\n");case"Passed":return r?"Passed ".concat(t.testTitle,"\n"):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?"\n".concat(t.sectionTitle,":\n")+"-".repeat(t.sectionTitle.length+1)+"\n":"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(r?"\n\n"+s:"")}function I(t){return t}function P(t,e){var n=this,c=this.log,o=this.sections,i=function(t){return o.push({failTally:0,sectionTitle:t})-1},a=function(){return o[o.length-1].failTally++,n.failTally++,n.status="fail",o.length-1},r=function(){return n.passTally++,o.length-1};return{section:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Section";c.push({kind:"SectionTitle",sectionIndex:i(t),sectionTitle:t})},is:function(n){return o.length||this.section(),e===n?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},hasError:function(n){return o.length||this.section(),e&&(null==e?void 0:e.error)===n?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e?null==e?void 0:e.error:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},has:function(n){if(o.length||this.section(),e.error)return c.push({actually:e.error,expected:JSON.stringify(n),kind:"Error",sectionIndex:a(),testTitle:t}),!1;for(var i in n){var s=JSON.stringify(e[i]),l=JSON.stringify(n[i]);if(s!==l)return c.push({actually:s,expected:l,kind:"Failed",sectionIndex:a(),testTitle:"".concat(t,".").concat(i)}),!1}return c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0},stringifiesTo:function(n){o.length||this.section();var i=JSON.stringify(e),s=JSON.stringify(n);return i===s?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:i,expected:s,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},passes:function(n){return o.length||this.section(),n&&null!=n&&n.test(e)?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)}}}var F="3.0.3",C=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Test Suite";e(this,t),this.that=P.bind(this),this.suiteTitle=n,this.reset()}var c,o,i;return c=t,(o=[{key:"reset",value:function(){this.log=[],this.sections=[],this.failTally=0,this.passTally=0,this.status="pass"}}])&&n(c.prototype,o),i&&n(c,i),Object.defineProperty(c,"prototype",{writable:!1}),t}();return c(C,"name","Expect"),c(C,"VERSION",F),C.VERSION=F,C.generateCss=function(e,n){var c=e,i=n;if(!c)throw Error("Expect.generateCss(): the mandatory containerSelector argument is falsey");if("string"!=typeof c)throw Error("Expect.generateCss(): containerSelector is type '".concat(t(c),"' not 'string'"));if(!o.test(c))throw Error("Expect.generateCss(): containerSelector fails ".concat(o));if(!i)throw Error("Expect.generateCss(): the mandatory innerSelector argument is falsey");if("string"!=typeof i)throw Error("Expect.generateCss(): innerSelector is type '".concat(t(i),"' not 'string'"));if(!o.test(i))throw Error("Expect.generateCss(): innerSelector fails ".concat(o));var a=["/* Expect.generateCss('".concat(c,"', '").concat(i,"') */")];return a.push("".concat(c,".fail{background:#642c2c;color:#fce}"),"".concat(c,".pass{background:#2c642c;color:#cfe}")),a.push("".concat(i,"{padding:4px 8px;border-radius:4px;line-height:1.8}"),"".concat(i,"{font-family:Menlo,Consolas,Monaco,Lucida Console,Liberation Mono,"),"DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif}","".concat(i,"{text-align:left;white-space:pre}"),"".concat(i,"{background:#222;color:#eee}"),"".concat(c,".fail ").concat(i,"{background:#411;color:#fce}"),"".concat(c,".pass ").concat(i,"{background:#141;color:#cfe}"),"".concat(c,".fail hr{border-color:#642c2c}"),"".concat(c,".pass hr{border-color:#2c642c}")),a.push("".concat(i," h2{margin:0}"),"".concat(i," b{color:#eee}"),"".concat(i," i{font-style:normal}"),"".concat(c,".pass i{color:#7fff7f}"),"".concat(i," u{padding:2px 8px;color:#fff;background:#900;text-decoration:none}"),"".concat(i," s{color:#9c8293;text-decoration:none}")),a.join("\n")},C.prototype.render=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Plain",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=this.log,o=this.failTally,a=this.passTally,r=this.sections,s=this.suiteTitle,l={Ansi:S,Html:v,Json:w,Plain:E,Raw:I}[t];if(!l)throw Error("".concat(i,"unexpected format, try 'Ansi|Html|Json|Plain|Raw'"));return l(c,o,a,r,s,e.toLowerCase(),n)},C.prototype.section=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Section";this.log.push({kind:"SectionTitle",sectionIndex:this.sections.push({failTally:0,sectionTitle:t})-1,sectionTitle:t})},C}));
*/var o=/^[.#]?[a-z][-_0-9a-z]*$/i;var i="expect.render(): ",a="",r="",s="",l="",u="√ ",d="",f="X ",p="",h="<h2>",y="</h2>",T="<s>",g="</s>",x="<i>√ ",m="</i>",b="<u>X ",k="</u>";function S(t,e,n,c,o,h,y){var T=function(t,e,n){return"-".repeat(79)+"\n"+"".concat(a).concat(n).concat(r,"\n")+"=".repeat(n.length)+"\n"+(t?"".concat(f,"Failed").concat(p," ").concat(t," of ").concat(t+e):"".concat(u,"Passed").concat(d," ").concat(e," test").concat(1===e?"":"s"))+"\n"+"-".repeat(79)+"\n"}(e,n,o);return T+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(h))switch(t.kind){case"Error":return"".concat(f,"Failed").concat(p," ").concat(t.testTitle,":\n")+" ".concat(s,"actually is an error:").concat(l,"\n")+" ".concat(t.actually,"\n");case"Failed":return"".concat(f,"Failed").concat(p," ").concat(t.testTitle,":\n")+" ".concat(s,"expected:").concat(l," ").concat(t.expected,"\n")+" ".concat(s,"actually:").concat(l," ").concat(t.actually,"\n");case"Passed":return y?"".concat(u,"Passed").concat(d," ").concat(t.testTitle,"\n"):"";case"SectionTitle":return y||c[t.sectionIndex].failTally?"\n".concat(a).concat(t.sectionTitle,":").concat(r,"\n")+"-".repeat(t.sectionTitle.length+1)+"\n":"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(y?"\n\n"+T:"")}function v(t,e,n,c,o,a,r){var s=function(t,e,n){return"<hr>"+"".concat(h).concat(n).concat(y,"\n")+(t?"".concat(b,"Failed").concat(k," ").concat(t," of ").concat(t+e):"".concat(x,"Passed").concat(m," ").concat(e," test").concat(1===e?"":"s"))+"\n<hr>\n"}(e,n,o);return s+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return"".concat(b,"Failed").concat(k," ").concat(t.testTitle,":\n")+" ".concat(T,"actually is an error:").concat(g,"\n")+" ".concat(t.actually,"\n");case"Failed":return"".concat(b,"Failed").concat(k," ").concat(t.testTitle,":\n")+" ".concat(T,"expected:").concat(g," ").concat(t.expected,"\n")+" ".concat(T,"actually:").concat(g," ").concat(t.actually,"\n");case"Passed":return r?"".concat(x,"Passed").concat(m," ").concat(t.testTitle,"\n"):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?"\n".concat("<b>").concat(t.sectionTitle,":").concat("</b>","\n"):"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(r?"\n\n"+s:"")}function w(t,e,n,c,o,a,r){return"{\n"+' "fail_tally": '.concat(e,",\n")+' "pass_tally": '.concat(n,",\n")+' "status": "'.concat(e?"fail":"pass",'",\n')+' "suite_title": "'.concat(o,'",\n')+' "log": [\n'+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return' { "kind": "Error", "test_title": "'.concat(t.testTitle,'",\n')+' "error": '.concat(JSON.stringify(t.actually)," },\n");case"Failed":return' { "kind": "Failed", "test_title": "'.concat(t.testTitle,'",\n')+' "expected": '.concat(JSON.stringify(t.expected),",\n")+' "actually": '.concat(JSON.stringify(t.actually)," },\n");case"Passed":return r?' { "kind": "Passed", "test_title": "'.concat(t.testTitle,'" },\n'):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?' { "kind": "SectionTitle", "section_title": "'.concat(t.sectionTitle,'" },\n'):"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("").slice(0,-2)+"\n ]\n}"}function E(t,e,n,c,o,a,r){var s=function(t,e,n){return"-".repeat(79)+"\n"+"".concat(n,"\n")+"=".repeat(n.length)+"\n"+(t?"Failed ".concat(t," of ").concat(t+e):"Passed ".concat(e," test").concat(1===e?"":"s"))+"\n"+"-".repeat(79)+"\n"}(e,n,o);return s+t.map((function(t){if((t.sectionTitle?t.sectionTitle:c[t.sectionIndex].sectionTitle).toLowerCase().includes(a))switch(t.kind){case"Error":return"Failed ".concat(t.testTitle,":\n")+" actually is an error:\n"+" ".concat(t.actually,"\n");case"Failed":return"Failed ".concat(t.testTitle,":\n")+" expected: ".concat(t.expected,"\n")+" actually: ".concat(t.actually,"\n");case"Passed":return r?"Passed ".concat(t.testTitle,"\n"):"";case"SectionTitle":return r||c[t.sectionIndex].failTally?"\n".concat(t.sectionTitle,":\n")+"-".repeat(t.sectionTitle.length+1)+"\n":"";default:throw Error("".concat(i,"unexpected item.kind"))}})).join("")+(r?"\n\n"+s:"")}function I(t){return t}function P(t,e){var n=this,c=this.log,o=this.sections,i=function(t){return o.push({failTally:0,sectionTitle:t})-1},a=function(){return o[o.length-1].failTally++,n.failTally++,n.status="fail",o.length-1},r=function(){return n.passTally++,o.length-1};return{section:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Section";c.push({kind:"SectionTitle",sectionIndex:i(t),sectionTitle:t})},is:function(n){return o.length||this.section(),e===n?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},hasError:function(n){return o.length||this.section(),e&&(null==e?void 0:e.error)===n?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e?null==e?void 0:e.error:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},has:function(n){if(o.length||this.section(),e.error)return c.push({actually:e.error,expected:JSON.stringify(n),kind:"Error",sectionIndex:a(),testTitle:t}),!1;for(var i in n){var s=JSON.stringify(e[i]),l=JSON.stringify(n[i]);if(s!==l)return c.push({actually:s,expected:l,kind:"Failed",sectionIndex:a(),testTitle:"".concat(t,".").concat(i)}),!1}return c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0},stringifiesTo:function(n){o.length||this.section();var i=JSON.stringify(e),s=JSON.stringify(n);return i===s?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:i,expected:s,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)},passes:function(n){return o.length||this.section(),n&&null!=n&&n.test(e)?(c.push({kind:"Passed",sectionIndex:r(),testTitle:t}),!0):(c.push({actually:e,expected:n,kind:"Failed",sectionIndex:a(),testTitle:t}),!1)}}}var F="3.0.4",C=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Test Suite";e(this,t),this.that=P.bind(this),this.suiteTitle=n,this.reset()}var c,o,i;return c=t,(o=[{key:"reset",value:function(){this.log=[],this.sections=[],this.failTally=0,this.passTally=0,this.status="pass"}}])&&n(c.prototype,o),i&&n(c,i),Object.defineProperty(c,"prototype",{writable:!1}),t}();return c(C,"name","Expect"),c(C,"VERSION",F),C.VERSION=F,C.generateCss=function(e,n){var c=e,i=n;if(!c)throw Error("Expect.generateCss(): the mandatory containerSelector argument is falsey");if("string"!=typeof c)throw Error("Expect.generateCss(): containerSelector is type '".concat(t(c),"' not 'string'"));if(!o.test(c))throw Error("Expect.generateCss(): containerSelector fails ".concat(o));if(!i)throw Error("Expect.generateCss(): the mandatory innerSelector argument is falsey");if("string"!=typeof i)throw Error("Expect.generateCss(): innerSelector is type '".concat(t(i),"' not 'string'"));if(!o.test(i))throw Error("Expect.generateCss(): innerSelector fails ".concat(o));var a=["/* Expect.generateCss('".concat(c,"', '").concat(i,"') */")];return a.push("".concat(c,".fail{background:#642c2c;color:#fce}"),"".concat(c,".pass{background:#2c642c;color:#cfe}")),a.push("".concat(i,"{padding:4px 8px;border-radius:4px;line-height:1.8}"),"".concat(i,"{font-family:Menlo,Consolas,Monaco,Lucida Console,Liberation Mono,"),"DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif}","".concat(i,"{text-align:left;white-space:pre}"),"".concat(i,"{background:#222;color:#eee}"),"".concat(c,".fail ").concat(i,"{background:#411;color:#fce}"),"".concat(c,".pass ").concat(i,"{background:#141;color:#cfe}"),"".concat(c,".fail hr{border-color:#642c2c}"),"".concat(c,".pass hr{border-color:#2c642c}")),a.push("".concat(i," h2{margin:0}"),"".concat(i," b{color:#eee}"),"".concat(i," i{font-style:normal}"),"".concat(c,".pass i{color:#7fff7f}"),"".concat(i," u{padding:2px 8px;color:#fff;background:#900;text-decoration:none}"),"".concat(i," s{color:#9c8293;text-decoration:none}")),a.join("\n")},C.prototype.render=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Plain",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=this.log,o=this.failTally,a=this.passTally,r=this.sections,s=this.suiteTitle,l={Ansi:S,Html:v,Json:w,Plain:E,Raw:I}[t];if(!l)throw Error("".concat(i,"unexpected format, try 'Ansi|Html|Json|Plain|Raw'"));return l(c,o,a,r,s,e.toLowerCase(),n)},C.prototype.section=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Untitled Section";this.log.push({kind:"SectionTitle",sectionIndex:this.sections.push({failTally:0,sectionTitle:t})-1,sectionTitle:t})},C}));
{
"name": "rufflib-expect",
"version": "3.0.3",
"version": "3.0.4",
"description": "A RuffLIB library for unit testing rough and sketchy JavaScript apps.",

@@ -10,3 +10,3 @@ "main": "main.js",

"build:css": "node scripts/build-css.js",
"build:static": "cp -r {dist,src/docs/{index.html,img,test}} docs",
"build:static": "cp -r {dist,src/docs/{index.html,img,shims,test}} docs",
"clean": "rm -r dist ||:; rm -r docs ||:",

@@ -13,0 +13,0 @@ "test:dist": "node docs/test/run-nodejs-tests.js # test dist/ using NodeJS",

@@ -5,3 +5,3 @@ # RuffLIB Expect

▶&nbsp; __Version:__ 3.0.3
▶&nbsp; __Version:__ 3.0.4
▶&nbsp; __Homepage:__ <https://richplastow.com/rufflib-expect>

@@ -35,3 +35,3 @@ ▶&nbsp; __NPM:__ <https://www.npmjs.com/package/rufflib-expect>

Run the test suite in ‘src/’, while working on this library:
Run the test suite in ‘src/docs/’, while working on this library:
`npm test --src`

@@ -38,0 +38,0 @@ `npm start --src --open --test`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc