{ "_args": [ [ "hash.js@^1.0.0", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/elliptic" ] ], "_from": "hash.js@>=1.0.0 <2.0.0", "_id": "hash.js@1.0.3", "_inCache": true, "_installable": true, "_location": "/hash.js", "_nodeVersion": "2.0.0", "_npmUser": { "email": "fedor@indutny.com", "name": "indutny" }, "_npmVersion": "2.9.0", "_phantomChildren": {}, "_requested": { "name": "hash.js", "raw": "hash.js@^1.0.0", "rawSpec": "^1.0.0", "scope": null, "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/elliptic" ], "_resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.3.tgz", "_shasum": "1332ff00156c0a0ffdd8236013d07b77a0451573", "_shrinkwrap": null, "_spec": "hash.js@^1.0.0", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/elliptic", "author": { "email": "fedor@indutny.com", "name": "Fedor Indutny" }, "bugs": { "url": "https://github.com/indutny/hash.js/issues" }, "dependencies": { "inherits": "^2.0.1" }, "description": "Various hash functions that could be run by both browser and node", "devDependencies": { "mocha": "^1.18.2" }, "directories": {}, "dist": { "shasum": "1332ff00156c0a0ffdd8236013d07b77a0451573", "tarball": "http://registry.npmjs.org/hash.js/-/hash.js-1.0.3.tgz" }, "gitHead": "9c2ec8f5cdcdc255d5f6951427c5c803c097f7c6", "homepage": "https://github.com/indutny/hash.js", "keywords": [ "hash", "sha256", "sha224", "hmac" ], "license": "MIT", "main": "lib/hash.js", "maintainers": [ { "email": "fedor@indutny.com", "name": "indutny" } ], "name": "hash.js", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git+ssh://git@github.com/indutny/hash.js.git" }, "scripts": { "test": "mocha --reporter=spec test/*-test.js" }, "version": "1.0.3" }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19553 | swellard | Move and rename clients | ||
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/javascript/node_modules/hash.js/package.json | |||||
#1 | 18810 | tjuricek |
First-pass at JavaScript client SDK. JavaScript requires Node with Gulp to "browserfy" the library. It's the easiest way I found to use the swagger-js project; bundle up a wrapping method. There is no JavaScript reference guide. The swagger-js doesn't really document what they do very well, actually. Overall I'm not particularly impressed by swagger-js, it was hard to even figure out what the right method syntax was. We may want to invest time in doing it better. This required setting CORS response headers, which are currently defaulted to a fairly insecure setting. |