Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iox

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iox - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.nvmrc

2

coverage/coverage-final.json

@@ -1,2 +0,2 @@

{"/Users/tushar/dev-javascript/js-io-meditations/iox.js": {"path":"/Users/tushar/dev-javascript/js-io-meditations/iox.js","statementMap":{"0":{"start":{"line":10,"column":2},"end":{"line":15,"column":4}},"1":{"start":{"line":19,"column":2},"end":{"line":19,"column":11}},"2":{"start":{"line":23,"column":2},"end":{"line":41,"column":3}},"3":{"start":{"line":24,"column":4},"end":{"line":24,"column":74}},"4":{"start":{"line":24,"column":34},"end":{"line":24,"column":74}},"5":{"start":{"line":24,"column":57},"end":{"line":24,"column":72}},"6":{"start":{"line":25,"column":4},"end":{"line":25,"column":35}},"7":{"start":{"line":25,"column":22},"end":{"line":25,"column":35}},"8":{"start":{"line":27,"column":23},"end":{"line":27,"column":28}},"9":{"start":{"line":30,"column":19},"end":{"line":30,"column":33}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":77}},"11":{"start":{"line":31,"column":24},"end":{"line":31,"column":77}},"12":{"start":{"line":32,"column":17},"end":{"line":32,"column":27}},"13":{"start":{"line":35,"column":17},"end":{"line":35,"column":36}},"14":{"start":{"line":36,"column":4},"end":{"line":40,"column":5}},"15":{"start":{"line":37,"column":6},"end":{"line":37,"column":56}},"16":{"start":{"line":37,"column":39},"end":{"line":37,"column":54}},"17":{"start":{"line":39,"column":6},"end":{"line":39,"column":25}},"18":{"start":{"line":44,"column":0},"end":{"line":44,"column":25}}},"fnMap":{"0":{"name":"isIO","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":13}},"loc":{"start":{"line":9,"column":39},"end":{"line":16,"column":1}},"line":9},"1":{"name":"identity","decl":{"start":{"line":18,"column":9},"end":{"line":18,"column":17}},"loc":{"start":{"line":18,"column":21},"end":{"line":20,"column":1}},"line":18},"2":{"name":"run","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":12}},"loc":{"start":{"line":22,"column":50},"end":{"line":42,"column":1}},"line":22},"3":{"name":"(anonymous_3)","decl":{"start":{"line":24,"column":52},"end":{"line":24,"column":53}},"loc":{"start":{"line":24,"column":57},"end":{"line":24,"column":72}},"line":24},"4":{"name":"(anonymous_4)","decl":{"start":{"line":37,"column":34},"end":{"line":37,"column":35}},"loc":{"start":{"line":37,"column":39},"end":{"line":37,"column":54}},"line":37}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":4},"end":{"line":14,"column":55}},"type":"binary-expr","locations":[{"start":{"line":11,"column":4},"end":{"line":11,"column":17}},{"start":{"line":12,"column":6},"end":{"line":12,"column":31}},{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},{"start":{"line":14,"column":7},"end":{"line":14,"column":18}},{"start":{"line":14,"column":22},"end":{"line":14,"column":54}}],"line":11},"1":{"loc":{"start":{"line":24,"column":4},"end":{"line":24,"column":74}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":74}},{"start":{"line":24,"column":4},"end":{"line":24,"column":74}}],"line":24},"2":{"loc":{"start":{"line":25,"column":4},"end":{"line":25,"column":35}},"type":"if","locations":[{"start":{"line":25,"column":4},"end":{"line":25,"column":35}},{"start":{"line":25,"column":4},"end":{"line":25,"column":35}}],"line":25},"3":{"loc":{"start":{"line":31,"column":4},"end":{"line":31,"column":77}},"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":31,"column":77}},{"start":{"line":31,"column":4},"end":{"line":31,"column":77}}],"line":31},"4":{"loc":{"start":{"line":35,"column":17},"end":{"line":35,"column":36}},"type":"binary-expr","locations":[{"start":{"line":35,"column":17},"end":{"line":35,"column":24}},{"start":{"line":35,"column":28},"end":{"line":35,"column":36}}],"line":35},"5":{"loc":{"start":{"line":36,"column":4},"end":{"line":40,"column":5}},"type":"if","locations":[{"start":{"line":36,"column":4},"end":{"line":40,"column":5}},{"start":{"line":36,"column":4},"end":{"line":40,"column":5}}],"line":36}},"s":{"0":203,"1":1,"2":202,"3":203,"4":0,"5":0,"6":203,"7":201,"8":2,"9":2,"10":2,"11":1,"12":1,"13":1,"14":1,"15":0,"16":0,"17":1,"18":2},"f":{"0":203,"1":1,"2":202,"3":0,"4":0},"b":{"0":[203,203,202,2,1],"1":[0,203],"2":[201,2],"3":[1,1],"4":[1,1],"5":[0,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ea497f206da135a4bf79b02643da1af51225b57b"}
{"/Users/tpokle/projects/iox/iox.js": {"path":"/Users/tpokle/projects/iox/iox.js","statementMap":{"0":{"start":{"line":10,"column":2},"end":{"line":15,"column":4}},"1":{"start":{"line":19,"column":2},"end":{"line":19,"column":11}},"2":{"start":{"line":23,"column":2},"end":{"line":36,"column":3}},"3":{"start":{"line":24,"column":4},"end":{"line":24,"column":35}},"4":{"start":{"line":24,"column":22},"end":{"line":24,"column":35}},"5":{"start":{"line":26,"column":23},"end":{"line":26,"column":28}},"6":{"start":{"line":29,"column":19},"end":{"line":29,"column":33}},"7":{"start":{"line":30,"column":4},"end":{"line":30,"column":74}},"8":{"start":{"line":30,"column":24},"end":{"line":30,"column":74}},"9":{"start":{"line":31,"column":17},"end":{"line":31,"column":33}},"10":{"start":{"line":34,"column":17},"end":{"line":34,"column":36}},"11":{"start":{"line":35,"column":4},"end":{"line":35,"column":23}},"12":{"start":{"line":39,"column":0},"end":{"line":39,"column":25}}},"fnMap":{"0":{"name":"isIO","decl":{"start":{"line":9,"column":9},"end":{"line":9,"column":13}},"loc":{"start":{"line":9,"column":39},"end":{"line":16,"column":1}},"line":9},"1":{"name":"identity","decl":{"start":{"line":18,"column":9},"end":{"line":18,"column":17}},"loc":{"start":{"line":18,"column":21},"end":{"line":20,"column":1}},"line":18},"2":{"name":"run","decl":{"start":{"line":22,"column":15},"end":{"line":22,"column":18}},"loc":{"start":{"line":22,"column":56},"end":{"line":37,"column":1}},"line":22}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":4},"end":{"line":14,"column":55}},"type":"binary-expr","locations":[{"start":{"line":11,"column":4},"end":{"line":11,"column":17}},{"start":{"line":12,"column":6},"end":{"line":12,"column":31}},{"start":{"line":13,"column":6},"end":{"line":13,"column":34}},{"start":{"line":14,"column":7},"end":{"line":14,"column":18}},{"start":{"line":14,"column":22},"end":{"line":14,"column":54}}],"line":11},"1":{"loc":{"start":{"line":24,"column":4},"end":{"line":24,"column":35}},"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":35}},{"start":{"line":24,"column":4},"end":{"line":24,"column":35}}],"line":24},"2":{"loc":{"start":{"line":30,"column":4},"end":{"line":30,"column":74}},"type":"if","locations":[{"start":{"line":30,"column":4},"end":{"line":30,"column":74}},{"start":{"line":30,"column":4},"end":{"line":30,"column":74}}],"line":30},"3":{"loc":{"start":{"line":34,"column":17},"end":{"line":34,"column":36}},"type":"binary-expr","locations":[{"start":{"line":34,"column":17},"end":{"line":34,"column":24}},{"start":{"line":34,"column":28},"end":{"line":34,"column":36}}],"line":34}},"s":{"0":1000124,"1":5,"2":109,"3":1000124,"4":106,"5":1000018,"6":1000018,"7":1000018,"8":1,"9":1000017,"10":1000015,"11":1000015,"12":3},"f":{"0":1000124,"1":5,"2":109},"b":{"0":[1000124,1000124,1000118,1000018,1000010],"1":[106,1000018],"2":[1,1000017],"3":[1000015,5]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0f555107b05f51707fda9242fe085868eea1b9e7"}
}
{
"name": "iox",
"version": "0.0.2",
"main": "iox.js",
"version": "0.0.3",
"main": "ioX.js",
"repository": "git@github.com:pokle/iox.git",

@@ -25,3 +25,6 @@ "author": "Tushar Pokle <tushar.pokle@gmail.com>",

}
},
"engines": {
"node": ">=7.6.0"
}
}

@@ -8,3 +8,3 @@ # iox

Instead of passing dependencies to your functions, instead arrange for them return:
- A description of what IO operation they would like carried out.
- A description of what IO operation they would like carried out.
- What to do after the IO operation has completed.

@@ -18,8 +18,4 @@

How do you run this?
So how do you run this? Check out the full example at [examples/lowercase-file.js](examples/lowercase-file.js)
const iox = require('iox')
iox.run()
## Why?

@@ -26,0 +22,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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