Category : cryptojs

I’m running the staticrypt CLI (based on cryptojs) in a Docker container on Github Actions and getting an error that I can’t reproduce in my development environment. When the container runs staticrypt my_input.html password -o my_output.html, I get: /usr/local/lib/node_modules/staticrypt/node_modules/yargs/build/index.cjs:1 "use strict";var t=require("assert");class e extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace(this,e)}}let s,i=[];function n(t,o,a,h){s=h;let l={};if(Object.prototype.hasOwnProperty.call(t,"extends")){if("string"!=typeof t.extends)return l;const r=/.json|..*rc$/.test(t.extends);let h=null;if(r)h=function(t,e){return s.path.resolve(t,e)}(o,t.extends);else try{h=require.resolve(t.extends)}catch(e){return ..

Read more