{ "_args": [ [ "is-buffer@^1.1.0", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/insert-module-globals" ] ], "_from": "is-buffer@>=1.1.0 <2.0.0", "_id": "is-buffer@1.1.3", "_inCache": true, "_installable": true, "_location": "/is-buffer", "_nodeVersion": "4.3.2", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/is-buffer-1.1.3.tgz_1457390977775_0.6384289276320487" }, "_npmUser": { "email": "feross@feross.org", "name": "feross" }, "_npmVersion": "2.14.12", "_phantomChildren": {}, "_requested": { "name": "is-buffer", "raw": "is-buffer@^1.1.0", "rawSpec": "^1.1.0", "scope": null, "spec": ">=1.1.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/insert-module-globals" ], "_resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.3.tgz", "_shasum": "db897fc3f7aca2d50de94b6c8c2896a4771627af", "_shrinkwrap": null, "_spec": "is-buffer@^1.1.0", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/insert-module-globals", "author": { "email": "feross@feross.org", "name": "Feross Aboukhadijeh", "url": "http://feross.org/" }, "bugs": { "url": "https://github.com/feross/is-buffer/issues" }, "dependencies": {}, "description": "Determine if an object is Buffer", "devDependencies": { "standard": "^6.0.5", "tape": "^4.0.0", "zuul": "^3.0.0" }, "directories": {}, "dist": { "shasum": "db897fc3f7aca2d50de94b6c8c2896a4771627af", "tarball": "http://registry.npmjs.org/is-buffer/-/is-buffer-1.1.3.tgz" }, "engines": { "node": ">=0.12" }, "gitHead": "dfd658d887e6b63254b89d22af1a755a39313455", "homepage": "https://github.com/feross/is-buffer", "keywords": [ "buffer", "buffers", "type", "core buffer", "browser buffer", "browserify", "typed array", "uint32array", "int16array", "int32array", "float32array", "float64array", "browser", "arraybuffer", "dataview" ], "license": "MIT", "main": "index.js", "maintainers": [ { "email": "feross@feross.org", "name": "feross" } ], "name": "is-buffer", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git://github.com/feross/is-buffer.git" }, "scripts": { "test": "standard && npm run test-node && npm run test-browser", "test-browser": "zuul -- test/*.js", "test-browser-local": "zuul --local -- test/*.js", "test-node": "tape test/*.js" }, "testling": { "files": "test/*.js" }, "version": "1.1.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/is-buffer/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. |