{ "_args": [ [ "spdx-license-ids@^1.0.2", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/spdx-correct" ] ], "_from": "spdx-license-ids@>=1.0.2 <2.0.0", "_id": "spdx-license-ids@1.2.1", "_inCache": true, "_installable": true, "_location": "/spdx-license-ids", "_nodeVersion": "5.10.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/spdx-license-ids-1.2.1.tgz_1460030484408_0.8782658798154444" }, "_npmUser": { "email": "snnskwtnb@gmail.com", "name": "shinnn" }, "_npmVersion": "3.8.3", "_phantomChildren": {}, "_requested": { "name": "spdx-license-ids", "raw": "spdx-license-ids@^1.0.2", "rawSpec": "^1.0.2", "scope": null, "spec": ">=1.0.2 <2.0.0", "type": "range" }, "_requiredBy": [ "/spdx-correct", "/spdx-expression-parse" ], "_resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.1.tgz", "_shasum": "d07ea17a4d2fd9351f9d94e2ff9cec74180fe8f3", "_shrinkwrap": null, "_spec": "spdx-license-ids@^1.0.2", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/spdx-correct", "author": { "name": "Shinnosuke Watanabe", "url": "https://github.com/shinnn" }, "bugs": { "url": "https://github.com/shinnn/spdx-license-ids/issues" }, "dependencies": {}, "description": "A list of SPDX license identifiers", "devDependencies": { "@shinnn/eslint-config-node": "^2.0.0", "chalk": "^1.1.3", "eslint": "^2.7.0", "get-spdx-license-ids": "^1.0.0", "istanbul": "^0.4.3", "loud-rejection": "^1.3.0", "rimraf-promise": "^2.0.0", "stringify-object": "^2.3.1", "tap-spec": "^4.1.1", "tape": "^4.5.1", "write-file-atomically": "1.0.0" }, "directories": {}, "dist": { "shasum": "d07ea17a4d2fd9351f9d94e2ff9cec74180fe8f3", "tarball": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.1.tgz" }, "files": [ "spdx-license-ids.json" ], "gitHead": "e907f783792ee05a85dbf66acd24cf1c3067bb76", "homepage": "https://github.com/shinnn/spdx-license-ids#readme", "keywords": [ "spdx", "license", "licenses", "id", "identifier", "identifiers", "json", "array", "oss", "browser", "client-side" ], "license": "Unlicense", "main": "spdx-license-ids.json", "maintainers": [ { "email": "snnskwtnb@gmail.com", "name": "shinnn" } ], "name": "spdx-license-ids", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git+https://github.com/shinnn/spdx-license-ids.git" }, "scripts": { "build": "node --strong_mode --harmony_destructuring build.js", "coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js", "lint": "eslint --config @shinnn/node --env browser --ignore-path .gitignore .", "pretest": "${npm_package_scripts_build} && ${npm_package_scripts_lint}", "test": "node --strong_mode test.js | tap-spec" }, "version": "1.2.1" }
# | 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/spdx-license-ids/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. |