{ "_args": [ [ "util@~0.10.1", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify" ] ], "_from": "util@>=0.10.1 <0.11.0", "_id": "util@0.10.3", "_inCache": true, "_installable": true, "_location": "/util", "_npmUser": { "email": "shtylman@gmail.com", "name": "shtylman" }, "_npmVersion": "1.3.24", "_phantomChildren": {}, "_requested": { "name": "util", "raw": "util@~0.10.1", "rawSpec": "~0.10.1", "scope": null, "spec": ">=0.10.1 <0.11.0", "type": "range" }, "_requiredBy": [ "/assert", "/browserify" ], "_resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", "_shasum": "7afb1afe50805246489e3db7fe0ed379336ac0f9", "_shrinkwrap": null, "_spec": "util@~0.10.1", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify", "author": { "name": "Joyent", "url": "http://www.joyent.com" }, "browser": { "./support/isBuffer.js": "./support/isBufferBrowser.js" }, "bugs": { "url": "https://github.com/defunctzombie/node-util/issues" }, "dependencies": { "inherits": "2.0.1" }, "description": "Node.JS util module", "devDependencies": { "zuul": "~1.0.9" }, "directories": {}, "dist": { "shasum": "7afb1afe50805246489e3db7fe0ed379336ac0f9", "tarball": "https://registry.npmjs.org/util/-/util-0.10.3.tgz" }, "homepage": "https://github.com/defunctzombie/node-util", "keywords": [ "util" ], "license": "MIT", "main": "./util.js", "maintainers": [ { "email": "shtylman@gmail.com", "name": "shtylman" } ], "name": "util", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git://github.com/defunctzombie/node-util.git" }, "scripts": { "test": "node test/node/*.js && zuul test/browser/*.js" }, "version": "0.10.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/util/package.json | |||||
#2 | 19053 | tjuricek |
Rebuild JavaScript Client SDK. The JavaScript client now is a "typed" approach that tends to be similar in approach to the other clients, based on the swagger definition for the platform version. Importantly, client SDK tests are individual scripts (that run under node) that are actually controlled via TestNG. This approach now lets us use a consistent test reporting format so we can at least collect reports from each of the jobs. The documentation is still in progress, that I want to validate as the tests are generated. |
||
#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. |