{ "_args": [ [ "esprima@~2.7.1", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/recast" ] ], "_from": "esprima@>=2.7.1 <2.8.0", "_id": "esprima@2.7.2", "_inCache": true, "_installable": true, "_location": "/esprima", "_nodeVersion": "4.2.2", "_npmOperationalInternal": { "host": "packages-9-west.internal.npmjs.com", "tmp": "tmp/esprima-2.7.2.tgz_1454477276067_0.014412595424801111" }, "_npmUser": { "email": "ariya.hidayat@gmail.com", "name": "ariya" }, "_npmVersion": "2.14.7", "_phantomChildren": {}, "_requested": { "name": "esprima", "raw": "esprima@~2.7.1", "rawSpec": "~2.7.1", "scope": null, "spec": ">=2.7.1 <2.8.0", "type": "range" }, "_requiredBy": [ "/recast" ], "_resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.2.tgz", "_shasum": "f43be543609984eae44c933ac63352a6af35f339", "_shrinkwrap": null, "_spec": "esprima@~2.7.1", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/recast", "author": { "email": "ariya.hidayat@gmail.com", "name": "Ariya Hidayat" }, "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" }, "bugs": { "url": "https://github.com/jquery/esprima/issues" }, "dependencies": {}, "description": "ECMAScript parsing infrastructure for multipurpose analysis", "devDependencies": { "codecov.io": "~0.1.6", "escomplex-js": "1.2.0", "eslint": "~1.7.2", "everything.js": "~1.0.3", "glob": "^5.0.15", "istanbul": "~0.4.0", "jscs": "~2.3.5", "json-diff": "~0.3.1", "karma": "^0.13.11", "karma-chrome-launcher": "^0.2.1", "karma-detect-browsers": "^2.0.2", "karma-firefox-launcher": "^0.1.6", "karma-ie-launcher": "^0.2.0", "karma-mocha": "^0.2.0", "karma-safari-launcher": "^0.1.1", "karma-sauce-launcher": "^0.2.14", "lodash": "^3.10.0", "mocha": "^2.3.3", "node-tick-processor": "~0.0.2", "regenerate": "~1.2.1", "temp": "~0.8.3", "unicode-7.0.0": "~0.1.5" }, "directories": {}, "dist": { "shasum": "f43be543609984eae44c933ac63352a6af35f339", "tarball": "https://registry.npmjs.org/esprima/-/esprima-2.7.2.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "bin", "unit-tests.js", "esprima.js" ], "gitHead": "eb05a03b18b8433ab1ebeabea635a949219cd75e", "homepage": "http://esprima.org", "keywords": [ "ast", "ecmascript", "javascript", "parser", "syntax" ], "license": "BSD-2-Clause", "main": "esprima.js", "maintainers": [ { "email": "ariya.hidayat@gmail.com", "name": "ariya" } ], "name": "esprima", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git+https://github.com/jquery/esprima.git" }, "scripts": { "all-tests": "npm run generate-fixtures && npm run unit-tests && npm run grammar-tests && npm run regression-tests", "analyze-coverage": "istanbul cover test/unit-tests.js", "appveyor": "npm run all-tests && npm run browser-tests && npm run dynamic-analysis", "benchmark": "node test/benchmarks.js", "benchmark-quick": "node test/benchmarks.js quick", "browser-tests": "npm run generate-fixtures && cd test && karma start --single-run", "check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100", "check-version": "node test/check-version.js", "circleci": "npm test && npm run codecov && npm run downstream", "codecov": "istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml", "complexity": "node test/check-complexity.js", "downstream": "node test/downstream.js", "droneio": "npm test && npm run saucelabs-evergreen && npm run saucelabs-ie && npm run saucelabs-safari", "dynamic-analysis": "npm run analyze-coverage && npm run check-coverage", "eslint": "node node_modules/eslint/bin/eslint.js -c .lintrc esprima.js", "generate-fixtures": "node tools/generate-fixtures.js", "generate-regex": "node tools/generate-identifier-regex.js", "grammar-tests": "node test/grammar-tests.js", "jscs": "jscs -p crockford esprima.js && jscs -p crockford test/*.js", "profile": "node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor", "regression-tests": "node test/regression-tests.js", "saucelabs-evergreen": "cd test && karma start saucelabs-evergreen.conf.js", "saucelabs-ie": "cd test && karma start saucelabs-ie.conf.js", "saucelabs-safari": "cd test && karma start saucelabs-safari.conf.js", "static-analysis": "npm run check-version && npm run jscs && npm run eslint && npm run complexity", "test": "npm run all-tests && npm run static-analysis && npm run dynamic-analysis", "travis": "npm test", "unit-tests": "node test/unit-tests.js" }, "version": "2.7.2" }
# | 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/esprima/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. |