{ "_args": [ [ "domain-browser@~1.1.0", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify" ] ], "_from": "domain-browser@>=1.1.0 <1.2.0", "_id": "domain-browser@1.1.7", "_inCache": true, "_installable": true, "_location": "/domain-browser", "_nodeVersion": "5.2.0", "_npmUser": { "email": "b@lupton.cc", "name": "balupton" }, "_npmVersion": "3.5.1", "_phantomChildren": {}, "_requested": { "name": "domain-browser", "raw": "domain-browser@~1.1.0", "rawSpec": "~1.1.0", "scope": null, "spec": ">=1.1.0 <1.2.0", "type": "range" }, "_requiredBy": [ "/browserify" ], "_resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", "_shasum": "867aa4b093faa05f1de08c06f4d7b21fdf8698bc", "_shrinkwrap": null, "_spec": "domain-browser@~1.1.0", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify", "author": { "email": "us@bevry.me", "name": "2013+ Bevry Pty Ltd", "url": "http://bevry.me" }, "badges": { "config": { "bitcoinURL": "https://bevry.me/bitcoin", "flattrCode": "344188/balupton-on-Flattr", "gratipayUsername": "bevry", "patreonUsername": "bevry", "paypalButtonID": "QB8GQPZAH84N6", "slackinURL": "https://slack.bevry.me", "wishlistURL": "https://bevry.me/wishlist" }, "list": [ "travisci", "npmversion", "npmdownloads", "daviddm", "daviddmdev", "---", "slackin", "patreon", "gratipay", "flattr", "paypal", "bitcoin", "wishlist" ] }, "browsers": true, "bugs": { "url": "https://github.com/bevry/domain-browser/issues" }, "contributors": [ { "email": "b@lupton.cc", "name": "Benjamin Lupton", "url": "http://balupton.com" }, { "name": "Evan Solomon", "url": "http://evansolomon.me" }, { "email": "substack@gmail.com", "name": "James Halliday", "url": "http://substack.net/" }, { "email": "guybedford@gmail.com", "name": "Guy Bedford", "url": "twitter.com/guybedford" }, { "email": "trysound@yandex.ru", "name": "Bogdan Chadkin", "url": "https://github.com/TrySound" } ], "dependencies": {}, "description": "Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.", "devDependencies": { "assert-helpers": "^4.1.0", "eslint": "^1.10.3", "joe": "^1.6.0", "joe-reporter-console": "^1.2.1", "projectz": "^1.0.8" }, "directories": {}, "dist": { "shasum": "867aa4b093faa05f1de08c06f4d7b21fdf8698bc", "tarball": "http://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz" }, "engines": { "node": ">=0.4", "npm": ">=1.2" }, "gitHead": "9b7f0590a10569078b1b3b5c33f201f0a59d9822", "homepage": "https://github.com/bevry/domain-browser", "jspm": { "map": { "./index.js": { "node": "@node/domain" } } }, "keywords": [ "domain", "trycatch", "try", "catch", "node-compat", "ender.js", "component", "component.io", "umd", "amd", "require.js", "browser" ], "license": "MIT", "main": "./index.js", "maintainers": [ { "email": "b@lupton.cc", "name": "balupton" }, { "email": "mail@substack.net", "name": "substack" }, { "email": "evan@evanalyze.com", "name": "evansolomon" } ], "name": "domain-browser", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git+ssh://git@github.com/bevry/domain-browser.git" }, "scripts": { "clean": "node --harmony nakefile.js clean", "compile": "node --harmony nakefile.js compile", "meta": "node --harmony nakefile.js meta", "prepare": "node --harmony nakefile.js prepare", "release": "node --harmony nakefile.js release", "setup": "node --harmony nakefile.js setup", "test": "node --harmony ./test.js", "verify": "node --harmony nakefile.js verify", "watch": "node --harmony nakefile.js watch" }, "version": "1.1.7" }
# | 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/domain-browser/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. |