{ "_args": [ [ "pbkdf2@^3.0.3", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/crypto-browserify" ] ], "_from": "pbkdf2@>=3.0.3 <4.0.0", "_id": "pbkdf2@3.0.4", "_inCache": true, "_installable": true, "_location": "/pbkdf2", "_nodeVersion": "0.12.0", "_npmUser": { "email": "email@dcousens.com", "name": "dcousens" }, "_npmVersion": "2.7.1", "_phantomChildren": {}, "_requested": { "name": "pbkdf2", "raw": "pbkdf2@^3.0.3", "rawSpec": "^3.0.3", "scope": null, "spec": ">=3.0.3 <4.0.0", "type": "range" }, "_requiredBy": [ "/crypto-browserify", "/parse-asn1" ], "_resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.4.tgz", "_shasum": "12c8bfaf920543786a85150b03f68d5f1aa982fc", "_shrinkwrap": null, "_spec": "pbkdf2@^3.0.3", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/crypto-browserify", "author": { "name": "Daniel Cousens" }, "browser": "./browser.js", "bugs": { "url": "https://github.com/crypto-browserify/pbkdf2/issues" }, "dependencies": { "create-hmac": "^1.1.2" }, "description": "This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()", "devDependencies": { "browserify": "^8.1.1", "coveralls": "^2.11.2", "istanbul": "^0.3.5", "mocha": "^2.1.0", "standard": "^3.0.0" }, "directories": {}, "dist": { "shasum": "12c8bfaf920543786a85150b03f68d5f1aa982fc", "tarball": "http://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.4.tgz" }, "gitHead": "c9b595c784154e433995faf6cd81813aef29c713", "homepage": "https://github.com/crypto-browserify/pbkdf2", "keywords": [ "pbkdf2", "kdf", "salt", "hash" ], "license": "MIT", "main": "./index.js", "maintainers": [ { "email": "cfddream@gmail.com", "name": "fundon" }, { "email": "calvin.metcalf@gmail.com", "name": "cwmma" }, { "email": "email@dcousens.com", "name": "dcousens" }, { "email": "jprichardson@gmail.com", "name": "jprichardson" }, { "email": "dominic.tarr@gmail.com", "name": "dominictarr" }, { "email": "fedor@indutny.com", "name": "indutny" } ], "name": "pbkdf2", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git+https://github.com/crypto-browserify/pbkdf2.git" }, "scripts": { "bundle-test": "browserify test/index.js > test/bundle.js", "coverage": "istanbul cover _mocha -- -t 20000 test/index.js", "coveralls": "npm run coverage && coveralls < coverage/lcov.info", "standard": "standard", "test": "mocha --reporter list -t 20000 test/index.js" }, "standard": { "ignore": [ "test/**" ] }, "version": "3.0.4" }
# | 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/pbkdf2/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. |