{ "_args": [ [ "labeled-stream-splicer@^2.0.0", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify" ] ], "_from": "labeled-stream-splicer@>=2.0.0 <3.0.0", "_id": "labeled-stream-splicer@2.0.0", "_inCache": true, "_installable": true, "_location": "/labeled-stream-splicer", "_nodeVersion": "2.4.0", "_npmUser": { "email": "substack@gmail.com", "name": "substack" }, "_npmVersion": "3.2.2", "_phantomChildren": {}, "_requested": { "name": "labeled-stream-splicer", "raw": "labeled-stream-splicer@^2.0.0", "rawSpec": "^2.0.0", "scope": null, "spec": ">=2.0.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/browserify" ], "_resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.0.tgz", "_shasum": "a52e1d138024c00b86b1c0c91f677918b8ae0a59", "_shrinkwrap": null, "_spec": "labeled-stream-splicer@^2.0.0", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify", "author": { "email": "mail@substack.net", "name": "James Halliday", "url": "http://substack.net" }, "bugs": { "url": "https://github.com/substack/labeled-stream-splicer/issues" }, "dependencies": { "inherits": "^2.0.1", "isarray": "~0.0.1", "stream-splicer": "^2.0.0" }, "description": "stream splicer with labels", "devDependencies": { "browser-pack": "^2.0.1", "concat-stream": "^1.4.6", "module-deps": "^2.1.2", "tape": "^2.12.1", "through2": "^1.0.0" }, "directories": {}, "dist": { "shasum": "a52e1d138024c00b86b1c0c91f677918b8ae0a59", "tarball": "http://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.0.tgz" }, "gitHead": "a52780b45be32fc8e398dc6a1957299603e30a12", "homepage": "https://github.com/substack/labeled-stream-splicer", "keywords": [ "splice", "stream", "labels", "mutable", "pipeline" ], "license": "MIT", "main": "index.js", "maintainers": [ { "email": "mail@substack.net", "name": "substack" } ], "name": "labeled-stream-splicer", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git://github.com/substack/labeled-stream-splicer.git" }, "scripts": { "test": "tape test/*.js" }, "version": "2.0.0" }
# | 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/labeled-stream-splicer/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. |