{"_id":"@advanced-rest-client/arc-request-logic","_rev":"15-38a309da519d482b300bb324c619fbd2","name":"@advanced-rest-client/arc-request-logic","dist-tags":{"latest":"3.0.3"},"versions":{"3.0.0-preview.1":{"name":"@advanced-rest-client/arc-request-logic","version":"3.0.0-preview.1","keywords":["api-components"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-request-logic@3.0.0-preview.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"f6c1241011958417c115a524cf44fc13bd10afb1","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-request-logic/-/arc-request-logic-3.0.0-preview.1.tgz","fileCount":5,"integrity":"sha512-bADQh04Eii5eedVvAvrpzqX0xkflXIxiBJYpCAU4tWpq7OryfKRMilqDsETG23euUfuUqe7ABIZuAptzz0O8Jg==","signatures":[{"sig":"MEYCIQCQAu5Md36m/2ATDsv+KxqRmHSPz3747p6Ef7z+2SpADwIhAM7/0tnSOFrrUhiVy1khBmwmeRiShCEVPrIJ8I1Tcza7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqEL4CRA9TVsSAnZWagAAVvgP/RtAy/lyAIdWZs5JYBz+\nF4m3eC3x/jhL/n2Fv8a4kBelRWDCl7Qq8NtMxU4F+FLnvmnzhuuTpXTUa9o9\nY5di/0ZjoAkPL/2hyF00wu3b85ob+UtQxWjUj2aW/1bFdvA9BkUmnq/qBssi\n7QWlU0yW054wY6lqPiSdLmRgK5+a7gza1bl61nk5GGQ8gPuw/+DDmrOV6Bur\nM+2d3rt6w1pKmUS5EYaepD3gOrLFs9/Rxo5MQy1X0/WeIlkjA4USm6gcJusr\nzP0fDB/J9Z+aAEDeLbJrIyGr2sayQqbg4lcD9fh39kdbDDB2OnnOYsU9xD3R\nT9GFPNmzWQAUrSIKKtmeTBPMUwj7EtVrEb5R5IzSNUlysbxgn8/A1w+XnKJN\niFeMbhJDL40M7wRJSeL+XTfPR8TYCo8eTajHQNKxA3jr5yR4TcCy6QadfoNf\nuDNQszoTeG/0yRT2ZArZMWG9mXUuEt4JLbefLvLfsDJoMESSzHoYHQKYbV1y\nqzGyS178l2hpXjxVvEGXHIa29Pss97wvHk29xbzmjLbcYTDrZjEZc9UHg+91\ndPqZQCFrs7bTVOO+fx9WInkNTawf6xlMOnYJ2vBzxjH25DP0B6t3p/Gs6ggk\nYmH/s+NirTQvRqYWDiahQ2PxM5R5UqMMg6pcpTt6C4wwcTz67BHTesAd/Xw8\nt4pQ\r\n=Y+Vn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"arc-request-logic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"4aef40a6e2c6867f284fe8924b6d874d6a9ceef3","scripts":{"lint":"polymer lint arc-request-logic.html","test":"polymer test --plugin local","prepare":"node dev-lib/prepare.js","test-sauce":"polymer test --plugin sauce --job-name \"arc-request-logic:local-test\"","update-types":"gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"_npmVersion":"6.9.0","description":"A request logic for Advanced REST Client excluding HTTP transport.","directories":{},"_nodeVersion":"10.14.0","dependencies":{"@polymer/polymer":"^3.0.0","@advanced-rest-client/events-target-mixin":"^3.0.0-preview.3","@advanced-rest-client/variables-evaluator":"^3.0.0-preview.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","jexl":"^2.1.1","mocha":"^5.2.0","sinon":"^7.2.3","fs-extra":"^7.0.1","uglify-js":"^3.5.2","wct-mocha":"^1.0.0","browserify":"^16.2.3","@babel/core":"^7.4.0","@babel/preset-env":"^7.4.2","@polymer/test-fixture":"^4.0.2","@polymer/iron-demo-helpers":"^3.0.0","@polymer/iron-test-helpers":"^3.0.0","@polymer/iron-component-page":"^4.0.0","@webcomponents/webcomponentsjs":"^2.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.3","babel-plugin-minify-mangle-names":"^0.5.0","@polymer/gen-typescript-declarations":"^1.5.1","@advanced-rest-client/variables-manager":"^3.0.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/arc-request-logic_3.0.0-preview.1_1554531063577_0.37283135513043963","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@advanced-rest-client/arc-request-logic","version":"3.0.0","keywords":["api-components","advanced-rest-client","request-processor","request-logic"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-request-logic@3.0.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"1be2827db3fa3152280c473381cc5f6ca811ce13","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-request-logic/-/arc-request-logic-3.0.0.tgz","fileCount":8,"integrity":"sha512-JRBY/2CZ0oCMQ0f82qPd6QZSLnn9K7s4TLM450tPGRr84hepSbheXiS2LMkzs0D6r7dSo+AO+2lJVjfNzuPrDQ==","signatures":[{"sig":"MEUCIArxMxcO4cilwLMtkLEbAw2Gf574pLCEu3D+Ndqi/rT+AiEAyiTAZZzLkDmOFe2BKkwtF72fzmws6klytRYa7+lqRno=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSnamCRA9TVsSAnZWagAAJzMP/joERD/uelVBoSRC4jvV\nIS5uRGcvDBFLc2yDiOYHZxSSBC03feY2J2XcfkxUXROYob/AdYVrab9KNrAo\nHSXYTShksBc7E1n1NzhThQ5AwPg3Kwmst2bwnD2sxM5F3WS7zrQLmxdmULB6\nRKvTYqoIEFXjlmTcApeDT3E/MB3I0inHMJiNMjvsMMXTuSnxCjgslJfSqh+n\nXHbcl0n/HK9qk/QelcRcPLLuGX2ihzlupRSVz+MAbG7c92JWd03AepTefE6Y\nSpbKb1bq36tCIMzgZR/9qegZpsTQF+CTzR39M7eIkLL70NuVzZMz0tQJrxHz\npIjFoNASMia2BgnYTHJKPOh1s3eq8QtddHrwS8N0gK0wL+Do2Ybp3c1UK4fS\nZjqIMQyJLx9D4jgm7nT3sz7+l0r5hgxNPdippOQA9ZullL9cNKajaBSl+5C2\nbclvBnK/pgQ/XAmpK8lTSsyrWPMXkU1sH8uXOJ8mVkmrW+x4JfC/STItUgc4\nMSBMv/El1f0U/pYnfLzta21yHPAUWAbty2mfwojeekGMuzUYZn7aipmtn3Mt\ng1WRbimbb5o7iGaVuzVUDn2w88kIsNRynleterXqpQ87omWAOdSeUrm5aCAF\neET2iRdwwJhIeCELL7Y9teSJj85CdfpKQI5s30YlAHoMcrX5Fp/W/aTQRu16\nYTsB\r\n=890Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"arc-request-logic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"e43c2324d2c47b7813fe6cfa39112fcf7bd0e050","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","prepare":"node dev-lib/prepare.js","test:sl":"karma start karma.sl.config.js --legacy --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --legacy --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --legacy --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"_npmVersion":"6.10.3","description":"A request logic for Advanced REST Client excluding HTTP transport.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@advanced-rest-client/events-target-mixin":"^3.0.0","@advanced-rest-client/variables-evaluator":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jexl":"^2.1.1","husky":"^1.0.0","karma":"^4.2.0","sinon":"^7.3.2","fs-extra":"^7.0.1","deepmerge":"^4.0.0","uglify-js":"^3.6.0","browserify":"^16.3.0","@babel/core":"^7.5.5","lint-staged":"^9.2.1","es-dev-server":"^1.8.3","@commitlint/cli":"^8.1.0","@open-wc/testing":"^2.2.1","@babel/preset-env":"^7.5.5","@open-wc/testing-karma":"^3.1.5","@polymer/iron-test-helpers":"^3.0.0","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/arc-models":"^3.0.0-preview.7","babel-plugin-minify-mangle-names":"^0.5.0","@advanced-rest-client/eslint-config":"^1.0.6","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.9","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.3","@advanced-rest-client/variables-manager":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/arc-request-logic_3.0.0_1565161125175_0.24427584446955675","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@advanced-rest-client/arc-request-logic","version":"3.0.1","keywords":["api-components","advanced-rest-client","request-processor","request-logic"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-request-logic@3.0.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"2b5226ec250ac1f178d0dd8f1941fdfce0a605d7","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-request-logic/-/arc-request-logic-3.0.1.tgz","fileCount":7,"integrity":"sha512-w7zgnxbQodvRjOLcohjCKjL9wkA0gWau4qgidJBCCW3qxZ846xnHQsjwmCvoUoByEuDbbuuWJNMTy6/6j068NA==","signatures":[{"sig":"MEUCIQCeWBtjM/AMHOGo8DQoQ/VewHPleEfPjtYeeQ2wUVwcJQIgNXKUIo9F7tv2s4iKLK57Ed9Yw2FT7mhmNvLxeVVuvdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeAGU9CRA9TVsSAnZWagAAF2sP/3szAckr00bqE8NlWkrr\neq7MNFJDUzSKHDr3j9U6W3dQI9ACqyDO9ds9r7ZOsx+N+sNN7vz++UlkgCMD\nXe+FMiTCxz8dMldKkvTU/uQoW7SP4TTWMb8kALpzX7q1d4lbhscyxZcF6fMk\nBS4iqUsYyxUr2Q5LMFEeyxsbuE7XBdbl2H9+pMs1A8er2KuioMDiWcM4bf8T\n1R0yXJ16OHLT9rI7Kkke+oSjrbIcDEMTONX7igpvoUsJH2QsxQ3pBGfRHi+E\ngt4n1ZAbhDlOFB0hVra8yJHcj8iQbThlMo79PrhRDpHtEg5ZMnFHeHVF5LSV\nAggczNaSt9YFcsjZBXs0sYxn45o10hZfNqBT/gtXwWGRIyAp+O9INZ187b7F\n7KkVIOx0gupqfVNvyYRalCVqgIRAv3aL5GQ4VW6J8RaK4rKue5orhAhoeF/g\n0RXlLBMvsb0EJ+RiUl3LDOLMbfAaJaX9dB/3WJgYp3R6tczWnF0BopyA7EMv\nmc8XR6+8lL45/YrHEPzf2s2zmekQowVP5rFVRdRxLlMTN3fJS7sGWMD9rkfg\nB15dSRr1RPEXHX7b2K1e7RGufHOSW/8D0G3NBq6bHiCfM3IJiUgTyw9g0f1v\nebBY4d172nuSQtZLDEM+7SYqTxUg9V4HPC1+MDfVmahAbeI0+TubbCTzmFms\n8U9v\r\n=gZI/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"arc-request-logic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"5a3a49fc8fc310f3096c9668cfe54e422e47b39b","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","prepare":"node dev-lib/prepare.js","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:compatibility":"karma start --compatibility all --coverage","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch","test:prune-snapshots":"karma start --prune-snapshots","test:update-snapshots":"karma start --update-snapshots","test:compatibility:watch":"karma start --compatibility all --auto-watch=true --single-run=false"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"_npmVersion":"6.12.0","description":"A request logic for Advanced REST Client excluding HTTP transport.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.13.0","dependencies":{"lit-element":"^2.2.1","@advanced-rest-client/events-target-mixin":"^3.0.0","@advanced-rest-client/variables-evaluator":"^3.0.0","@advanced-rest-client/headers-parser-mixin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jexl":"^2.2.2","husky":"^3.1.0","karma":"^4.4.1","sinon":"^8.0.0","fs-extra":"^8.1.0","deepmerge":"^4.2.2","uglify-js":"^3.7.2","browserify":"^16.5.0","@babel/core":"^7.7.7","lint-staged":"^9.5.0","es-dev-server":"^1.32.0","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.4.2","@babel/preset-env":"^7.7.7","@open-wc/testing-karma":"^3.2.21","@polymer/iron-test-helpers":"^3.0.0","@commitlint/config-conventional":"^8.2.0","@advanced-rest-client/arc-models":"^3.0.3","babel-plugin-minify-mangle-names":"^0.5.0","@advanced-rest-client/eslint-config":"^1.1.4","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.1.0","@advanced-rest-client/variables-manager":"^3.0.1","@advanced-rest-client/arc-data-generator":"^3.0.6"},"_npmOperationalInternal":{"tmp":"tmp/arc-request-logic_3.0.1_1577084220986_0.890640868353157","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@advanced-rest-client/arc-request-logic","version":"3.0.2","keywords":["api-components","advanced-rest-client","request-processor","request-logic"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-request-logic@3.0.2","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"7d5eeb1db8a33af64e561f991f51a3527779421d","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-request-logic/-/arc-request-logic-3.0.2.tgz","fileCount":7,"integrity":"sha512-YvMNZTq/3r6ZZEoqZfASMYi55KSFF8cgXaqf0i9wFwGqUbUEV6OFx1f0kzped7DgnmHP1izOAQZ+KjNJZMfkXg==","signatures":[{"sig":"MEUCIFBpIJAex6t4TayKHqoSUWmBoy3uPzvbHyN1CeCxj84+AiEA2x8bYFyeJ7J+Z96R3Ft5yPoMmhEDVEWb0T8S4fIq/pk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeCxnCCRA9TVsSAnZWagAA1KgP/jdu5VE0t/a9sGrCtlpW\naAR9A0tdWwDxT9jVCpv0TG+aei1nBgAJN3GPC42M7ahNBz/fZ32DTOCypyAo\np8wInScKRY5CH7ZHNDJPyrQwdNYhoEYRtXSMTgJH85u5zetFJOaGzvEp8PY1\naOFhxon6BY53K4zVL2dUf6zePAyiTMO53EWA2+Wr4bh+TnSJg2iudOcox0Db\nSeEi8L1f6VFbqy/HD3Baf4IzOx4kfbyg+3/TYxRrywm9NUGt9vtcwvh5QdJ3\nTq8IgPN/JgrIDKv8QmQdfSOHB1AJZPf476tAsEKqMvIurkU3ep+cvlbZcYPJ\n1WQqlA1nUsfKa3FKlySYywr6sJiBuZWbBuyT5Ke41aRqCztntaUin4Kv02/i\nO8+ZZ72KlrCbVaz5DGoeI/X+FXd/pQL9vKmvaqlIf37/Nd8CIK/EUBfDoFlS\nGPb9vuLJcfoG9auZ06tMo1TjqvL8tGGCZfnnmNDTDfED1V6OgjVX+pFtk1Xs\nXsEya94ohYfp4fuBTrcuh0eI51CMFFZWjKh2cObIyDbMC4QpvR6vD1yEhq4j\nmuQBH1+Kt1CW4++oMBzDvTdFbJEBF+cMAaVdZm/c+bs/kAm6hTsCqFULR1Yb\nXaOr5dbzA+tSW7w+CLARMMnWLSER04OM6jpzsZJsrPVcywQLQfSk2YJ8yTuE\nuuZ8\r\n=ucy3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"arc-request-logic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"6c4c05a08dd56a7b4c0267ecf4348e6083db8ba8","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","prepare":"node dev-lib/prepare.js","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:compatibility":"karma start --compatibility all --coverage","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch","test:prune-snapshots":"karma start --prune-snapshots","test:update-snapshots":"karma start --update-snapshots","test:compatibility:watch":"karma start --compatibility all --auto-watch=true --single-run=false"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"_npmVersion":"6.12.0","description":"A request logic for Advanced REST Client excluding HTTP transport.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.13.0","dependencies":{"lit-element":"^2.2.1","@advanced-rest-client/events-target-mixin":"^3.0.0","@advanced-rest-client/variables-evaluator":"^3.0.0","@advanced-rest-client/headers-parser-mixin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jexl":"^2.2.2","husky":"^3.1.0","karma":"^4.4.1","sinon":"^8.0.2","fs-extra":"^8.1.0","deepmerge":"^4.2.2","uglify-js":"^3.7.3","browserify":"^16.5.0","@babel/core":"^7.7.7","lint-staged":"^9.5.0","es-dev-server":"^1.34.0","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.4.2","@babel/preset-env":"^7.7.7","@open-wc/testing-karma":"^3.2.24","@polymer/iron-test-helpers":"^3.0.0","@commitlint/config-conventional":"^8.2.0","@advanced-rest-client/arc-models":"^3.0.3","babel-plugin-minify-mangle-names":"^0.5.0","@advanced-rest-client/eslint-config":"^1.1.4","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.1.0","@advanced-rest-client/variables-manager":"^3.0.1","@advanced-rest-client/arc-data-generator":"^3.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-request-logic_3.0.2_1577785793698_0.3785204756225147","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@advanced-rest-client/arc-request-logic","version":"3.0.3","keywords":["api-components","advanced-rest-client","request-processor","request-logic"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-request-logic@3.0.3","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"48ae3af116993e7f2c874dac51d1c61903f954ef","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-request-logic/-/arc-request-logic-3.0.3.tgz","fileCount":7,"integrity":"sha512-1NZMPoUtR6h4CdVf0yiilPGSMbQGaMXXj7ES7M8Sa4OBa2Hbs/IUbySYWdYJ6OJEHY1bQPiQeKVkycKNdfpkog==","signatures":[{"sig":"MEUCIQD2xTmQn+Qwj87LdxI3X9BvMTEriyCqDTevliR9p6RrXAIgWyKc9dmAy9eK7AhPJQugtSRvxxxLsMhmbrCZD4T/PMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFhNCCRA9TVsSAnZWagAA1W4P/1/i2KS9H55y8UTpT5Ul\nbWk2Nxv7izFwQ6WADM8uS6x3cm3ArRGGyhEtYP4wSE9O1irTMa6cgSPPpQby\noV+p2YRRSW9nY0KJp+Gp3i+6JhNfO/PsHWl9Ocrub/M9QaEbL5PpqxOfF18Y\n/80e6wIKBYUK+N8NnxZvbG2vl31SeXUYHsmUvwc0tp3s2wzk5C1VUbCbLAc0\nWn225mW2R6dfuH4Ktf2nHDqJ92AUJarhAy1QIlSoU6b5SyTv6To/n4Yal9/W\nx0EW30LTpLsVKePkN1ZIF0DWEWKg96I3tOno6kSuMsF5tN/iX+cFq6X0RNu1\neIZNSd59TRmQ1scZWkk71QBRBs1ABMYA1LE4EMZxz9RdXemWFD5Nu4aUOzhs\nVFDHE7TTQKgsgJijzJrbFok/xjIZgGZb0JWfAuDwsjQoqPbxYvrzER9JW+cL\nwINptZXFModqaVPqwm9N6bg6hubSm/nZKPCgn9uozqwxL9+HXrOwOJtMtpBQ\nBIEOZ9LDpJrenVcqJGBPBIBUgmmDJAHzBiIZEECmCNvMH1ds21H/J45OcJ0Z\nz0wPYC2gKt+aB/EhPfg65LzHShabDPjknIc4xfaanzFY8WA4KTTCQk6UNX6r\nXlBA/yDZQsFGQWpVfk5+8Y09mAOLHOEfYO9njFJouGhccNb6PTsy4qz05IAe\nDrJJ\r\n=n0GQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"arc-request-logic.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"0af8ab5aecb1ac1a8358d9b395fa01af3c751cec","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","prepare":"node dev-lib/prepare.js","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:compatibility":"karma start --compatibility all --coverage","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch","test:prune-snapshots":"karma start --prune-snapshots","test:update-snapshots":"karma start --update-snapshots","test:compatibility:watch":"karma start --compatibility all --auto-watch=true --single-run=false"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is deprecated","repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"_npmVersion":"6.12.0","description":"A request logic for Advanced REST Client excluding HTTP transport.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.13.0","dependencies":{"lit-element":"^2.2.1","@advanced-rest-client/events-target-mixin":"^3.0.0","@advanced-rest-client/variables-evaluator":"^3.0.0","@advanced-rest-client/headers-parser-mixin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jexl":"^2.2.2","husky":"^4.0.1","karma":"^4.4.1","sinon":"^8.0.4","fs-extra":"^8.1.0","deepmerge":"^4.2.2","uglify-js":"^3.7.4","browserify":"^16.5.0","@babel/core":"^7.7.7","lint-staged":"^9.5.0","es-dev-server":"^1.36.1","@commitlint/cli":"^8.3.4","@open-wc/testing":"^2.5.0","@babel/preset-env":"^7.7.7","@open-wc/testing-karma":"^3.2.28","@polymer/iron-test-helpers":"^3.0.0","@commitlint/config-conventional":"^8.3.4","@advanced-rest-client/arc-models":"^3.0.3","babel-plugin-minify-mangle-names":"^0.5.0","@advanced-rest-client/eslint-config":"^1.1.4","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.1.0","@advanced-rest-client/variables-manager":"^3.0.1","@advanced-rest-client/arc-data-generator":"^3.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-request-logic_3.0.3_1578505025970_0.30017932787195933","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-06T06:11:03.412Z","modified":"2026-04-07T19:30:22.160Z","3.0.0-preview.1":"2019-04-06T06:11:03.734Z","3.0.0":"2019-08-07T06:58:45.380Z","3.0.1":"2019-12-23T06:57:01.123Z","3.0.2":"2019-12-31T09:49:53.792Z","3.0.3":"2020-01-08T17:37:06.137Z"},"bugs":{"url":"https://github.com/advanced-rest-client/arc-request-logic/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/arc-request-logic#readme","keywords":["api-components","advanced-rest-client","request-processor","request-logic"],"repository":{"url":"git://github.com/advanced-rest-client/arc-request-logic.git","type":"git"},"description":"A request logic for Advanced REST Client excluding HTTP transport.","contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/arc-request-logic.svg)](https://www.npmjs.com/package/@advanced-rest-client/arc-request-logic)\n\n[![Build Status](https://travis-ci.org/advanced-rest-client/arc-request-logic.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/arc-request-logic)\n\n# arc-request-logic\n\nA request logic for Advanced REST Client excluding HTTP transport.\n\nThis component is responsible for handing `api-request` event, handing variables processing, request actions, `before-request` event, dispatching URL history store event, communicating with transport library, and finally dispatching `api-response` event. If the transport library it the hearth of the application then this component is it's brain.\n\n## API components\n\nThis components is a part of [API components ecosystem](https://elements.advancedrestclient.com/)\n\n## Usage\n\n### Installation\n```\nnpm install --save @advanced-rest-client/arc-request-logic\n```\n\n## Jexl dependency\n\nThis library uses `@advanced-rest-client/arc-request-logic` which depend on `Jexl` and this library is not included by default in the element.\nYou need to add this dependency manually.\n\nYou must install [Jexl](https://github.com/TomFrost/Jexl) on your project, and build it for browser. See `dev-lib/` folder for an example of such a build.\n\nFinally you have to either pass the pointer to Jexl library to `jexl` property or point to a relative in the `window` object.\n\nSetting Jexl reference:\n\n```javascript\nconst eval = document.querySelector('arc-request-logic');\neval.jexl = myJexlVariable;\n```\n\nSetting path to Jexl:\n\n```html\n<arc-request-logic jexlpath=\"ArcVariables.JexlDev\"></arc-request-logic>\n```\nThis expects the Jexl library to be under `window.ArcVariables.JexlDev` variable.\n\n\n### development\n\n```sh\ngit clone https://github.com/advanced-rest-client/arc-request-logic\ncd arc-request-logic\nnpm install\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n\n### Middleware\n\nHandle `before-request` custom event to alter request properties before send.\nWhen the handler is synchronous then there's no need for additional steps.\n\nIf the handler is asynchronous then add a `Promise` to the `promises` array on detail object and resolve it when ready. It is possible to set `timeout` property on the promise to extend default timeout for `before-request` event processing which is set to 2000ms.\n\n```javascript\ndocument.body.addEventListener('before-request', (e) => {\n  cont p = new Promise((resolve) => {\n    sync processUrl(e.detail); // set new URL on the detail object as objects are passed by reference\n    resolve();\n  });\n  p.timeout = 3500;\n  e.detail.promises.push(p);\n});\n\ndocument.body.dispatchEvent(new CustomEvent('api-request', {\n  bubbles: true,\n  cancelable: true,\n  detail: request\n});\n```\n\nMind that other handlers may interact with the same properties. Even though there's no race conditions per so in JavaScript you may get different values between processing different parts of request if the event loop is releases.\n","readmeFilename":"README.md"}