traceur-rb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/lib/js/compile.js +7 -15
- data/lib/traceur.rb +2 -1
- data/lib/traceur/compilation_error.rb +27 -0
- data/lib/traceur/compiler.rb +4 -1
- data/lib/traceur/configuration.rb +1 -1
- data/lib/traceur/node/runner.rb +1 -1
- data/lib/traceur/version.rb +1 -1
- data/spec/examples/syntax_error.js +3 -0
- data/spec/integration/examples_spec.rb +6 -0
- data/vendor/node_modules/traceur/LICENSE +202 -0
- data/vendor/node_modules/traceur/README.md +5 -5
- data/vendor/node_modules/traceur/bin/traceur-runtime.js +1392 -623
- data/vendor/node_modules/traceur/bin/traceur.js +24749 -17990
- data/vendor/node_modules/traceur/node_modules/.bin/semver +2 -2
- data/vendor/node_modules/traceur/node_modules/commander/History.md +222 -0
- data/vendor/node_modules/traceur/node_modules/commander/Readme.md +127 -35
- data/vendor/node_modules/traceur/node_modules/commander/index.js +261 -93
- data/vendor/node_modules/traceur/node_modules/commander/package.json +41 -9
- data/vendor/node_modules/traceur/node_modules/glob/LICENSE +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/README.md +357 -0
- data/vendor/node_modules/traceur/node_modules/glob/common.js +177 -0
- data/vendor/node_modules/traceur/node_modules/glob/glob.js +649 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/.eslintrc +17 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/LICENSE +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/README.md +37 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/inflight.js +44 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +34 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/package.json +61 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inflight/test.js +97 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/LICENSE +16 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/README.md +42 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/inherits.js +1 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/package.json +33 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/inherits/test.js +25 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/.npmignore +1 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/.travis.yml +4 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/LICENSE +23 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/README.md +216 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/benchmark.js +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/browser.js +1181 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/minimatch.js +845 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +2 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml +3 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +121 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
- data/vendor/node_modules/traceur/node_modules/{q-io/node_modules/collections → glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.travis.yml +0 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +73 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
- data/vendor/node_modules/traceur/node_modules/{q-io/node_modules/url2 → glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/.travis.yml +1 -1
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +83 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +75 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js +32 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt +1075 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt +182 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js +9 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js +10 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +24 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js +16 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js +10 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js +13 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js +7 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js +50 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/package.json +60 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/test/basic.js +399 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/test/brace-expand.js +45 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/test/defaults.js +274 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/LICENSE +27 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/README.md +51 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +34 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/once.js +21 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/package.json +42 -0
- data/vendor/node_modules/traceur/node_modules/glob/node_modules/once/test/once.js +23 -0
- data/vendor/node_modules/traceur/node_modules/glob/package.json +72 -0
- data/vendor/node_modules/traceur/node_modules/glob/sync.js +409 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/.release.json +17 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/CHANGELOG.md +165 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/LICENSE +19 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/README.md +364 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/dist/rsvp.js +1671 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/dist/rsvp.min.js +9 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp.js +66 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp.umd.js +50 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/-internal.js +265 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/all-settled.js +71 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/all.js +15 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/asap.js +109 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/config.js +28 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/defer.js +45 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/enumerator.js +125 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/events.js +201 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/filter.js +120 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/hash-settled.js +124 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/hash.js +94 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/instrument.js +41 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/map.js +99 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/node.js +281 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise-hash.js +51 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise.js +496 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/all.js +52 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/race.js +105 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/reject.js +47 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/resolve.js +49 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/race.js +15 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/reject.js +16 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/resolve.js +17 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/rethrow.js +46 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/lib/rsvp/utils.js +39 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/package.json +100 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/README.md +9 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/bower.json +22 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/composer.json +18 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/package.json +52 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/rsvp.amd.js +1607 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/rsvp.js +1566 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/rsvp.js/rsvp.min.js +26 -0
- data/vendor/node_modules/traceur/node_modules/rsvp/vertx.js +1 -0
- data/vendor/node_modules/traceur/node_modules/semver/bin/semver +2 -2
- data/vendor/node_modules/traceur/node_modules/semver/package.json +4 -3
- data/vendor/node_modules/traceur/node_modules/semver/semver.browser.js +7 -0
- data/vendor/node_modules/traceur/node_modules/semver/semver.browser.js.gz +0 -0
- data/vendor/node_modules/traceur/node_modules/semver/semver.js +7 -0
- data/vendor/node_modules/traceur/node_modules/semver/semver.min.js +1 -1
- data/vendor/node_modules/traceur/node_modules/semver/semver.min.js.gz +0 -0
- data/vendor/node_modules/traceur/node_modules/semver/test/index.js +8 -4
- data/vendor/node_modules/traceur/node_modules/semver/test/ltr.js +2 -1
- data/vendor/node_modules/traceur/node_modules/source-map-support/.npmignore +1 -0
- data/vendor/node_modules/traceur/node_modules/{q-io/node_modules/mime/LICENSE → source-map-support/LICENSE.md} +7 -5
- data/vendor/node_modules/traceur/node_modules/source-map-support/README.md +165 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/browser-source-map-support.js +89 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/index.html +6 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/require.js +36 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/script.coffee +13 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/script.js +24 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/amd-test/script.map +10 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/browser-source-map-support.js +89 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/browser-test/index.html +6 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/browser-test/script.coffee +12 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/browser-test/script.js +25 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/browser-test/script.map +10 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/build.js +69 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/header-test/index.html +6 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/header-test/script.coffee +12 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/header-test/script.js +25 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/header-test/script.map +10 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/header-test/server.js +45 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/.npmignore +2 -0
- data/vendor/node_modules/traceur/node_modules/{q-io → source-map-support/node_modules/source-map}/.travis.yml +1 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/CHANGELOG.md +121 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/README.md +434 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/array-set.js +97 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-map-consumer.js +478 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-map-generator.js +380 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-node.js +371 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/util.js +205 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/README.md +171 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/intercept.js +36 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/package.json +37 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/package.json +142 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/run-tests.js +62 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-array-set.js +104 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-map-consumer.js +451 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-map-generator.js +417 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-node.js +365 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/util.js +161 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/package.json +52 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/source-map-support.js +381 -0
- data/vendor/node_modules/traceur/node_modules/source-map-support/test.js +359 -0
- data/vendor/node_modules/traceur/package.json +234 -20
- data/vendor/node_modules/traceur/src/node/NodeCompiler.js +78 -0
- data/vendor/node_modules/traceur/src/node/System.js +32 -5
- data/vendor/node_modules/traceur/src/node/api.js +28 -93
- data/vendor/node_modules/traceur/src/node/command.js +84 -19
- data/vendor/node_modules/traceur/src/node/compileAllJsFilesInDir.js +40 -0
- data/vendor/node_modules/traceur/src/node/interpreter.js +11 -8
- data/vendor/node_modules/traceur/src/node/recursiveModuleCompile.js +171 -0
- data/vendor/node_modules/traceur/src/node/require.js +7 -21
- data/vendor/node_modules/traceur/src/node/to-amd-compiler.js +2 -7
- data/vendor/node_modules/traceur/src/node/to-closure-compiler.js +28 -0
- data/vendor/node_modules/traceur/src/node/to-commonjs-compiler.js +3 -7
- data/vendor/node_modules/traceur/src/node/traceur.js +1 -1
- metadata +196 -190
- data/vendor/node_modules/traceur/node_modules/q-io/.npmignore +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/CHANGES.md +0 -122
- data/vendor/node_modules/traceur/node_modules/q-io/LICENSE +0 -19
- data/vendor/node_modules/traceur/node_modules/q-io/README.md +0 -928
- data/vendor/node_modules/traceur/node_modules/q-io/buffer-stream.js +0 -59
- data/vendor/node_modules/traceur/node_modules/q-io/coverage-report.js +0 -44
- data/vendor/node_modules/traceur/node_modules/q-io/deprecate.js +0 -51
- data/vendor/node_modules/traceur/node_modules/q-io/fs-boot.js +0 -307
- data/vendor/node_modules/traceur/node_modules/q-io/fs-common.js +0 -499
- data/vendor/node_modules/traceur/node_modules/q-io/fs-mock.js +0 -547
- data/vendor/node_modules/traceur/node_modules/q-io/fs-root.js +0 -105
- data/vendor/node_modules/traceur/node_modules/q-io/fs.js +0 -355
- data/vendor/node_modules/traceur/node_modules/q-io/fs2http.js +0 -65
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps.js +0 -152
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/chain.js +0 -24
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/content.js +0 -93
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/cookie.js +0 -154
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/decorators.js +0 -178
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/fs.js +0 -417
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/html.js +0 -58
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/json.js +0 -78
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/negotiate.js +0 -120
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/proxy.js +0 -27
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/redirect.js +0 -209
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/route.js +0 -125
- data/vendor/node_modules/traceur/node_modules/q-io/http-apps/status.js +0 -175
- data/vendor/node_modules/traceur/node_modules/q-io/http-cookie.js +0 -75
- data/vendor/node_modules/traceur/node_modules/q-io/http.js +0 -378
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/.npmignore +0 -11
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/CHANGES.md +0 -78
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/LICENSE.md +0 -21
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/README.md +0 -1285
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/collections.js +0 -22
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/dict.js +0 -142
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-map.js +0 -57
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-set.js +0 -183
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-collection.js +0 -261
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-map.js +0 -186
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-order.js +0 -55
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-set.js +0 -59
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/heap.js +0 -236
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/iterator.js +0 -371
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/list.js +0 -435
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/array-changes.js +0 -247
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/map-changes.js +0 -147
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/property-changes.js +0 -448
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/range-changes.js +0 -139
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-map.js +0 -79
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-set.js +0 -142
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/map.js +0 -60
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/multi-map.js +0 -41
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/package.json +0 -12
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync +0 -7
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync.patch +0 -48
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/weak-map.js +0 -590
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/package.json +0 -49
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/set.js +0 -173
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-array.js +0 -274
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-function.js +0 -59
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-object.js +0 -538
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-regexp.js +0 -14
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim.js +0 -6
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-map.js +0 -49
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-set.js +0 -51
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array.js +0 -269
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-map.js +0 -61
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-set.js +0 -736
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/tree-log.js +0 -40
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/weak-map.js +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/README.md +0 -66
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/mime.js +0 -114
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/package.json +0 -35
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/test.js +0 -84
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/mime.types +0 -1588
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/node.types +0 -77
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/CHANGES +0 -15
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/LICENSE +0 -19
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/README +0 -96
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/lib/mimeparse.js +0 -166
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/package.json +0 -43
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/CONTRIBUTING.md +0 -40
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/LICENSE +0 -19
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/README.md +0 -813
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/compare-with-callbacks.js +0 -71
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/scenarios.js +0 -36
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/package.json +0 -93
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/q.js +0 -1937
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/queue.js +0 -35
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/.gitmodules +0 -6
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/History.md +0 -36
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Makefile +0 -7
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Readme.md +0 -38
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/benchmark.js +0 -32
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/examples.js +0 -39
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/index.js +0 -2
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/lib/querystring.js +0 -123
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/package.json +0 -19
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.gitmodules +0 -3
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.npmignore +0 -3
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/History.md +0 -128
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Makefile +0 -53
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Readme.md +0 -61
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/bin/expresso +0 -856
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/api.html +0 -1080
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.html +0 -377
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.md +0 -290
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/foot.html +0 -3
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/head.html +0 -42
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/bar.js +0 -4
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/foo.js +0 -16
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/package.json +0 -12
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/assert.test.js +0 -91
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/async.test.js +0 -12
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/bar.test.js +0 -13
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/foo.test.js +0 -14
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/http.test.js +0 -146
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/async.test.js +0 -39
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/http.test.js +0 -48
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/.gitmodules +0 -3
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/History.md +0 -22
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Makefile +0 -6
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Readme.md +0 -248
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/examples/runner.js +0 -53
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/index.js +0 -2
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/eql.js +0 -91
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/should.js +0 -548
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/package.json +0 -8
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/test/should.test.js +0 -358
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/test/querystring.test.js +0 -133
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/.npmignore +0 -3
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/LICENSE.md +0 -20
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/README.md +0 -33
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/package.json +0 -37
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/test/url2-spec.js +0 -125
- data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/url2.js +0 -151
- data/vendor/node_modules/traceur/node_modules/q-io/package.json +0 -51
- data/vendor/node_modules/traceur/node_modules/q-io/reader.js +0 -133
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/boot-directory-spec.js +0 -47
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/contains-spec.js +0 -11
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/fixtures/hello.txt +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/issues/1-spec.js +0 -33
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/make-tree-spec.js +0 -92
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/append-spec.js +0 -41
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/copy-tree-spec.js +0 -57
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/fixture/hello.txt +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/link-spec.js +0 -70
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/make-tree-spec.js +0 -109
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/merge-spec.js +0 -67
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/move-spec.js +0 -219
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/object-spec.js +0 -20
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/range-spec.js +0 -26
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/read-spec.js +0 -40
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-directory-spec.js +0 -37
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-tree-spec.js +0 -39
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/root-spec.js +0 -32
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/stat-spec.js +0 -26
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/symbolic-link-spec.js +0 -86
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/working-directory-spec.js +0 -31
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/write-spec.js +0 -73
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.js +0 -23
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.txt +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/read-spec.js +0 -22
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/relative-spec.js +0 -25
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/reroot-spec.js +0 -45
- data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/write-spec.js +0 -38
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/cookie-spec.js +0 -52
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/directory-list-spec.js +0 -86
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/01234.txt +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/1234.txt +0 -1
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/5678.txt +0 -0
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/9012/3456.txt +0 -0
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/hosts-spec.js +0 -49
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/interpret-range-spec.js +0 -47
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/partial-range-spec.js +0 -186
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/proxy-spec.js +0 -82
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/symbolic-link-spec.js +0 -110
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http/agent-spec.js +0 -96
- data/vendor/node_modules/traceur/node_modules/q-io/spec/http/basic-spec.js +0 -96
- data/vendor/node_modules/traceur/node_modules/q-io/spec/lib/jasmine-promise.js +0 -42
- data/vendor/node_modules/traceur/node_modules/q-io/writer.js +0 -111
- data/vendor/node_modules/traceur/src/node/compile-single-file.js +0 -69
- data/vendor/node_modules/traceur/src/node/compiler.js +0 -116
- data/vendor/node_modules/traceur/src/node/inline-module.js +0 -149
@@ -0,0 +1,359 @@
|
|
1
|
+
require('./source-map-support').install({
|
2
|
+
emptyCacheBetweenOperations: true // Needed to be able to test for failure
|
3
|
+
});
|
4
|
+
|
5
|
+
var SourceMapGenerator = require('source-map').SourceMapGenerator;
|
6
|
+
var child_process = require('child_process');
|
7
|
+
var assert = require('assert');
|
8
|
+
var fs = require('fs');
|
9
|
+
|
10
|
+
function compareLines(actual, expected) {
|
11
|
+
assert(actual.length >= expected.length, 'got ' + actual.length + ' lines but expected at least ' + expected.length + ' lines');
|
12
|
+
for (var i = 0; i < expected.length; i++) {
|
13
|
+
// Some tests are regular expressions because the output format changed slightly between node v0.9.2 and v0.9.3
|
14
|
+
if (expected[i] instanceof RegExp) {
|
15
|
+
assert(expected[i].test(actual[i]), JSON.stringify(actual[i]) + ' does not match ' + expected[i]);
|
16
|
+
} else {
|
17
|
+
assert.equal(actual[i], expected[i]);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
function createEmptySourceMap() {
|
23
|
+
return new SourceMapGenerator({
|
24
|
+
file: '.generated.js',
|
25
|
+
sourceRoot: '.'
|
26
|
+
});
|
27
|
+
}
|
28
|
+
|
29
|
+
function createSourceMapWithGap() {
|
30
|
+
var sourceMap = createEmptySourceMap();
|
31
|
+
sourceMap.addMapping({
|
32
|
+
generated: { line: 100, column: 0 },
|
33
|
+
original: { line: 100, column: 0 },
|
34
|
+
source: '.original.js'
|
35
|
+
});
|
36
|
+
return sourceMap;
|
37
|
+
}
|
38
|
+
|
39
|
+
function createSingleLineSourceMap() {
|
40
|
+
var sourceMap = createEmptySourceMap();
|
41
|
+
sourceMap.addMapping({
|
42
|
+
generated: { line: 1, column: 0 },
|
43
|
+
original: { line: 1, column: 0 },
|
44
|
+
source: '.original.js'
|
45
|
+
});
|
46
|
+
return sourceMap;
|
47
|
+
}
|
48
|
+
|
49
|
+
function createMultiLineSourceMap() {
|
50
|
+
var sourceMap = createEmptySourceMap();
|
51
|
+
for (var i = 1; i <= 100; i++) {
|
52
|
+
sourceMap.addMapping({
|
53
|
+
generated: { line: i, column: 0 },
|
54
|
+
original: { line: 1000 + i, column: 99 + i },
|
55
|
+
source: 'line' + i + '.js'
|
56
|
+
});
|
57
|
+
}
|
58
|
+
return sourceMap;
|
59
|
+
}
|
60
|
+
|
61
|
+
function createMultiLineSourceMapWithSourcesContent() {
|
62
|
+
var sourceMap = createEmptySourceMap();
|
63
|
+
var original = new Array(1001).join('\n');
|
64
|
+
for (var i = 1; i <= 100; i++) {
|
65
|
+
sourceMap.addMapping({
|
66
|
+
generated: { line: i, column: 0 },
|
67
|
+
original: { line: 1000 + i, column: 4 },
|
68
|
+
source: 'original.js'
|
69
|
+
});
|
70
|
+
original += ' line ' + i + '\n';
|
71
|
+
}
|
72
|
+
sourceMap.setSourceContent('original.js', original);
|
73
|
+
return sourceMap;
|
74
|
+
}
|
75
|
+
|
76
|
+
function compareStackTrace(sourceMap, source, expected) {
|
77
|
+
// Check once with a separate source map
|
78
|
+
fs.writeFileSync('.generated.js.map', sourceMap);
|
79
|
+
fs.writeFileSync('.generated.js', 'exports.test = function() {' +
|
80
|
+
source.join('\n') + '};//@ sourceMappingURL=.generated.js.map');
|
81
|
+
try {
|
82
|
+
delete require.cache[require.resolve('./.generated')];
|
83
|
+
require('./.generated').test();
|
84
|
+
} catch (e) {
|
85
|
+
compareLines(e.stack.split('\n'), expected);
|
86
|
+
}
|
87
|
+
fs.unlinkSync('.generated.js');
|
88
|
+
fs.unlinkSync('.generated.js.map');
|
89
|
+
|
90
|
+
// Check again with an inline source map (in a data URL)
|
91
|
+
fs.writeFileSync('.generated.js', 'exports.test = function() {' +
|
92
|
+
source.join('\n') + '};//@ sourceMappingURL=data:application/json;base64,' +
|
93
|
+
new Buffer(sourceMap.toString()).toString('base64'));
|
94
|
+
try {
|
95
|
+
delete require.cache[require.resolve('./.generated')];
|
96
|
+
require('./.generated').test();
|
97
|
+
} catch (e) {
|
98
|
+
compareLines(e.stack.split('\n'), expected);
|
99
|
+
}
|
100
|
+
fs.unlinkSync('.generated.js');
|
101
|
+
}
|
102
|
+
|
103
|
+
function compareStdout(done, sourceMap, source, expected) {
|
104
|
+
fs.writeFileSync('.original.js', 'this is the original code');
|
105
|
+
fs.writeFileSync('.generated.js.map', sourceMap);
|
106
|
+
fs.writeFileSync('.generated.js', source.join('\n') +
|
107
|
+
'//@ sourceMappingURL=.generated.js.map');
|
108
|
+
child_process.exec('node ./.generated', function(error, stdout, stderr) {
|
109
|
+
try {
|
110
|
+
compareLines((stdout + stderr).trim().split('\n'), expected);
|
111
|
+
} catch (e) {
|
112
|
+
return done(e);
|
113
|
+
}
|
114
|
+
fs.unlinkSync('.generated.js');
|
115
|
+
fs.unlinkSync('.generated.js.map');
|
116
|
+
fs.unlinkSync('.original.js');
|
117
|
+
done();
|
118
|
+
});
|
119
|
+
}
|
120
|
+
|
121
|
+
it('normal throw', function() {
|
122
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
123
|
+
'throw new Error("test");'
|
124
|
+
], [
|
125
|
+
'Error: test',
|
126
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/
|
127
|
+
]);
|
128
|
+
});
|
129
|
+
|
130
|
+
it('throw inside function', function() {
|
131
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
132
|
+
'function foo() {',
|
133
|
+
' throw new Error("test");',
|
134
|
+
'}',
|
135
|
+
'foo();'
|
136
|
+
], [
|
137
|
+
'Error: test',
|
138
|
+
/^ at foo \(.*\/line2\.js:1002:102\)$/,
|
139
|
+
/^ at Object\.exports\.test \(.*\/line4\.js:1004:104\)$/
|
140
|
+
]);
|
141
|
+
});
|
142
|
+
|
143
|
+
it('throw inside function inside function', function() {
|
144
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
145
|
+
'function foo() {',
|
146
|
+
' function bar() {',
|
147
|
+
' throw new Error("test");',
|
148
|
+
' }',
|
149
|
+
' bar();',
|
150
|
+
'}',
|
151
|
+
'foo();'
|
152
|
+
], [
|
153
|
+
'Error: test',
|
154
|
+
/^ at bar \(.*\/line3\.js:1003:103\)$/,
|
155
|
+
/^ at foo \(.*\/line5\.js:1005:105\)$/,
|
156
|
+
/^ at Object\.exports\.test \(.*\/line7\.js:1007:107\)$/
|
157
|
+
]);
|
158
|
+
});
|
159
|
+
|
160
|
+
it('eval', function() {
|
161
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
162
|
+
'eval("throw new Error(\'test\')");'
|
163
|
+
], [
|
164
|
+
'Error: test',
|
165
|
+
/^ at Object\.eval \(eval at <anonymous> \(.*\/line1\.js:1001:101\)/,
|
166
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/
|
167
|
+
]);
|
168
|
+
});
|
169
|
+
|
170
|
+
it('eval inside eval', function() {
|
171
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
172
|
+
'eval("eval(\'throw new Error(\\"test\\")\')");'
|
173
|
+
], [
|
174
|
+
'Error: test',
|
175
|
+
/^ at Object\.eval \(eval at <anonymous> \(eval at <anonymous> \(.*\/line1\.js:1001:101\)/,
|
176
|
+
/^ at Object\.eval \(eval at <anonymous> \(.*\/line1\.js:1001:101\)/,
|
177
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/
|
178
|
+
]);
|
179
|
+
});
|
180
|
+
|
181
|
+
it('eval inside function', function() {
|
182
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
183
|
+
'function foo() {',
|
184
|
+
' eval("throw new Error(\'test\')");',
|
185
|
+
'}',
|
186
|
+
'foo();'
|
187
|
+
], [
|
188
|
+
'Error: test',
|
189
|
+
/^ at eval \(eval at foo \(.*\/line2\.js:1002:102\)/,
|
190
|
+
/^ at foo \(.*\/line2\.js:1002:102\)/,
|
191
|
+
/^ at Object\.exports\.test \(.*\/line4\.js:1004:104\)$/
|
192
|
+
]);
|
193
|
+
});
|
194
|
+
|
195
|
+
it('eval with sourceURL', function() {
|
196
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
197
|
+
'eval("throw new Error(\'test\')//@ sourceURL=sourceURL.js");'
|
198
|
+
], [
|
199
|
+
'Error: test',
|
200
|
+
' at Object.eval (sourceURL.js:1:7)',
|
201
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/
|
202
|
+
]);
|
203
|
+
});
|
204
|
+
|
205
|
+
it('eval with sourceURL inside eval', function() {
|
206
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
207
|
+
'eval("eval(\'throw new Error(\\"test\\")//@ sourceURL=sourceURL.js\')");'
|
208
|
+
], [
|
209
|
+
'Error: test',
|
210
|
+
' at Object.eval (sourceURL.js:1:7)',
|
211
|
+
/^ at Object\.eval \(eval at <anonymous> \(.*\/line1\.js:1001:101\)/,
|
212
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/
|
213
|
+
]);
|
214
|
+
});
|
215
|
+
|
216
|
+
it('function constructor', function() {
|
217
|
+
compareStackTrace(createMultiLineSourceMap(), [
|
218
|
+
'throw new Function(")");'
|
219
|
+
], [
|
220
|
+
'SyntaxError: Unexpected token )',
|
221
|
+
/^ at Object\.Function \((?:unknown source|<anonymous>)\)$/,
|
222
|
+
/^ at Object\.exports\.test \(.*\/line1\.js:1001:101\)$/,
|
223
|
+
]);
|
224
|
+
});
|
225
|
+
|
226
|
+
it('throw with empty source map', function() {
|
227
|
+
compareStackTrace(createEmptySourceMap(), [
|
228
|
+
'throw new Error("test");'
|
229
|
+
], [
|
230
|
+
'Error: test',
|
231
|
+
/^ at Object\.exports\.test \(.*\/.generated.js:1:96\)$/
|
232
|
+
]);
|
233
|
+
});
|
234
|
+
|
235
|
+
it('throw with source map with gap', function() {
|
236
|
+
compareStackTrace(createSourceMapWithGap(), [
|
237
|
+
'throw new Error("test");'
|
238
|
+
], [
|
239
|
+
'Error: test',
|
240
|
+
/^ at Object\.exports\.test \(.*\/.generated.js:1:96\)$/
|
241
|
+
]);
|
242
|
+
});
|
243
|
+
|
244
|
+
it('sourcesContent with data URL', function() {
|
245
|
+
compareStackTrace(createMultiLineSourceMapWithSourcesContent(), [
|
246
|
+
'throw new Error("test");'
|
247
|
+
], [
|
248
|
+
'Error: test',
|
249
|
+
/^ at Object\.exports\.test \(.*\/original.js:1001:5\)$/
|
250
|
+
]);
|
251
|
+
});
|
252
|
+
|
253
|
+
it('default options', function(done) {
|
254
|
+
compareStdout(done, createSingleLineSourceMap(), [
|
255
|
+
'',
|
256
|
+
'function foo() { throw new Error("this is the error"); }',
|
257
|
+
'require("./source-map-support").install();',
|
258
|
+
'process.nextTick(foo);',
|
259
|
+
'process.nextTick(function() { process.exit(1); });'
|
260
|
+
], [
|
261
|
+
/\/.original\.js:1$/,
|
262
|
+
'this is the original code',
|
263
|
+
'^',
|
264
|
+
'Error: this is the error',
|
265
|
+
/^ at foo \(.*\/.original\.js:1:1\)$/
|
266
|
+
]);
|
267
|
+
});
|
268
|
+
|
269
|
+
it('handleUncaughtExceptions is true', function(done) {
|
270
|
+
compareStdout(done, createSingleLineSourceMap(), [
|
271
|
+
'',
|
272
|
+
'function foo() { throw new Error("this is the error"); }',
|
273
|
+
'require("./source-map-support").install({ handleUncaughtExceptions: true });',
|
274
|
+
'process.nextTick(foo);'
|
275
|
+
], [
|
276
|
+
/\/.original\.js:1$/,
|
277
|
+
'this is the original code',
|
278
|
+
'^',
|
279
|
+
'Error: this is the error',
|
280
|
+
/^ at foo \(.*\/.original\.js:1:1\)$/
|
281
|
+
]);
|
282
|
+
});
|
283
|
+
|
284
|
+
it('handleUncaughtExceptions is false', function(done) {
|
285
|
+
compareStdout(done, createSingleLineSourceMap(), [
|
286
|
+
'',
|
287
|
+
'function foo() { throw new Error("this is the error"); }',
|
288
|
+
'require("./source-map-support").install({ handleUncaughtExceptions: false });',
|
289
|
+
'process.nextTick(foo);'
|
290
|
+
], [
|
291
|
+
/\/.generated.js:2$/,
|
292
|
+
'function foo() { throw new Error("this is the error"); }',
|
293
|
+
' ^',
|
294
|
+
'Error: this is the error',
|
295
|
+
/^ at foo \(.*\/.original\.js:1:1\)$/
|
296
|
+
]);
|
297
|
+
});
|
298
|
+
|
299
|
+
it('default options with empty source map', function(done) {
|
300
|
+
compareStdout(done, createEmptySourceMap(), [
|
301
|
+
'',
|
302
|
+
'function foo() { throw new Error("this is the error"); }',
|
303
|
+
'require("./source-map-support").install();',
|
304
|
+
'process.nextTick(foo);'
|
305
|
+
], [
|
306
|
+
/\/.generated.js:2$/,
|
307
|
+
'function foo() { throw new Error("this is the error"); }',
|
308
|
+
' ^',
|
309
|
+
'Error: this is the error',
|
310
|
+
/^ at foo \(.*\/.generated.js:2:24\)$/
|
311
|
+
]);
|
312
|
+
});
|
313
|
+
|
314
|
+
it('default options with source map with gap', function(done) {
|
315
|
+
compareStdout(done, createSourceMapWithGap(), [
|
316
|
+
'',
|
317
|
+
'function foo() { throw new Error("this is the error"); }',
|
318
|
+
'require("./source-map-support").install();',
|
319
|
+
'process.nextTick(foo);'
|
320
|
+
], [
|
321
|
+
/\/.generated.js:2$/,
|
322
|
+
'function foo() { throw new Error("this is the error"); }',
|
323
|
+
' ^',
|
324
|
+
'Error: this is the error',
|
325
|
+
/^ at foo \(.*\/.generated.js:2:24\)$/
|
326
|
+
]);
|
327
|
+
});
|
328
|
+
|
329
|
+
it('specifically requested error source', function(done) {
|
330
|
+
compareStdout(done, createSingleLineSourceMap(), [
|
331
|
+
'',
|
332
|
+
'function foo() { throw new Error("this is the error"); }',
|
333
|
+
'var sms = require("./source-map-support");',
|
334
|
+
'sms.install({ handleUncaughtExceptions: false });',
|
335
|
+
'process.on("uncaughtException", function (e) { console.log("SRC:" + sms.getErrorSource(e)); });',
|
336
|
+
'process.nextTick(foo);'
|
337
|
+
], [
|
338
|
+
'SRC:',
|
339
|
+
/\/.original.js:1$/,
|
340
|
+
'this is the original code',
|
341
|
+
'^'
|
342
|
+
]);
|
343
|
+
});
|
344
|
+
|
345
|
+
it('sourcesContent', function(done) {
|
346
|
+
compareStdout(done, createMultiLineSourceMapWithSourcesContent(), [
|
347
|
+
'',
|
348
|
+
'function foo() { throw new Error("this is the error"); }',
|
349
|
+
'require("./source-map-support").install();',
|
350
|
+
'process.nextTick(foo);',
|
351
|
+
'process.nextTick(function() { process.exit(1); });'
|
352
|
+
], [
|
353
|
+
/\/original\.js:1002$/,
|
354
|
+
' line 2',
|
355
|
+
' ^',
|
356
|
+
'Error: this is the error',
|
357
|
+
/^ at foo \(.*\/original\.js:1002:5\)$/
|
358
|
+
]);
|
359
|
+
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "traceur",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.82",
|
4
4
|
"description": "ES6 to ES5 compiler",
|
5
5
|
"keywords": [
|
6
6
|
"javascript",
|
@@ -24,9 +24,15 @@
|
|
24
24
|
"bin": {
|
25
25
|
"traceur": "./traceur"
|
26
26
|
},
|
27
|
+
"files": [
|
28
|
+
"bin/traceur.js",
|
29
|
+
"bin/traceur-runtime.js",
|
30
|
+
"src/node/*.js",
|
31
|
+
"traceur"
|
32
|
+
],
|
27
33
|
"scripts": {
|
28
34
|
"test": "make test",
|
29
|
-
"start": "node ./demo/expressServer.js"
|
35
|
+
"start": "make && node ./demo/expressServer.js"
|
30
36
|
},
|
31
37
|
"homepage": "https://github.com/google/traceur-compiler",
|
32
38
|
"bugs": {
|
@@ -37,28 +43,236 @@
|
|
37
43
|
"url": "https://github.com/google/traceur-compiler"
|
38
44
|
},
|
39
45
|
"dependencies": {
|
40
|
-
"commander": "
|
41
|
-
"
|
42
|
-
"
|
46
|
+
"commander": "2.x",
|
47
|
+
"glob": "4.3",
|
48
|
+
"rsvp": "^3.0.13",
|
49
|
+
"semver": "2.x",
|
50
|
+
"source-map-support": "~0.2.8"
|
43
51
|
},
|
44
52
|
"devDependencies": {
|
45
|
-
"source-map": "0.1.
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
53
|
+
"source-map": "0.1.43",
|
54
|
+
"express": "4.x",
|
55
|
+
"serve-index": "1.x",
|
56
|
+
"mocha": "1.20.x",
|
57
|
+
"chai": "1.x",
|
58
|
+
"node-uuid": "1.x",
|
59
|
+
"regexpu": "1.1.0",
|
60
|
+
"requirejs": "2.x",
|
61
|
+
"traceur": "0.0.81",
|
62
|
+
"promises-aplus-tests": "2.x"
|
54
63
|
},
|
55
64
|
"subdomain": "traceur",
|
56
|
-
"
|
57
|
-
|
58
|
-
|
65
|
+
"contributors": [
|
66
|
+
{
|
67
|
+
"name": "The Chromium Authors",
|
68
|
+
"email": "*@chromium.org"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"name": "Google Inc.",
|
72
|
+
"email": "*@google.com"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"name": "Viktor Kronvall",
|
76
|
+
"email": "viktor.kronvall@gmail.com"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"name": "Ben Chan",
|
80
|
+
"email": "usrbincc@yahoo.com"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"name": "Eduard Burtescu",
|
84
|
+
"email": "edy.burt@gmail.com"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"name": "Peter Hallam",
|
88
|
+
"email": "peter@peterhallam.com"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "Nick Schonning",
|
92
|
+
"email": "nschonni@gmail.com"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"name": "Kinya TERASAKA",
|
96
|
+
"email": "terasaka.k@gmail.com"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"name": "Sean Middleditch",
|
100
|
+
"email": "sean@seanmiddleditch.com"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"name": "Ross Hadden",
|
104
|
+
"email": "ross@rhadden.com"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"name": "Stephan Seidt",
|
108
|
+
"email": "stephan.seidt@gmail.com"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"name": "Mathias Bynens",
|
112
|
+
"email": "mathias@qiwi.be"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"name": "Tommy Odom",
|
116
|
+
"email": "tommy.odom@gmail.com"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "Rolf Timmermans",
|
120
|
+
"email": "r.w.timmermans@gmail.com"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"name": "Tomi Belan",
|
124
|
+
"email": "tomi.belan@gmail.com"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "James Lal",
|
128
|
+
"email": "james@lightsofapollo.com"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"name": "Galimzyanov Dmitry",
|
132
|
+
"email": "dmt021@gmail.com"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"name": "Rick Waldron",
|
136
|
+
"email": "waldron.rick@gmail.com"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"name": "A. Matías Quezada",
|
140
|
+
"email": "amatiasq@gmail.com"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"name": "Sam Day",
|
144
|
+
"email": "sday@atlassian.com"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"name": "Guy Bedford",
|
148
|
+
"email": "guybedford@gmail.com"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"name": "Jeff McRiffey",
|
152
|
+
"email": "jmcriffey@gmail.com"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"name": "Marius Nita",
|
156
|
+
"email": "m@mariusnita.com"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"name": "Nick Fitzgerald",
|
160
|
+
"email": "fitzgen@mozilla.com"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"name": "Gil Tayar",
|
164
|
+
"email": "gil@tayar.org"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"name": "Aleksander Heintz",
|
168
|
+
"email": "alxandr@alxandr.me"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "Ulrik de Muelenaere",
|
172
|
+
"email": "ulrikdem@gmail.com"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"name": "Maël Nison",
|
176
|
+
"email": "nison.mael@gmail.com"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"name": "Shinnosuke Watanabe",
|
180
|
+
"email": "snnskwtnb@gmail.com"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"name": "Vyacheslav Shebanov",
|
184
|
+
"email": "terminal2010@gmail.com"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"name": "Fabrício Matté",
|
188
|
+
"email": "ultcombo@gmail.com"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"name": "Jordan Harband",
|
192
|
+
"email": "ljharb@gmail.com"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"name": "Martín Ciparelli",
|
196
|
+
"email": "mciparelli@gmail.com"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"name": "David Håsäther",
|
200
|
+
"email": "hasather@gmail.com"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"name": "Amjad Masad",
|
204
|
+
"email": "amjad.masad@gmail.com"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"name": "Peter Flannery",
|
208
|
+
"email": "flannery.peter@ntlworld.com"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"name": "Liubomyr Mykhalchenko",
|
212
|
+
"email": "liubko.qwert@gmail.com"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"name": "Dmitry Soshnikov",
|
216
|
+
"email": "dmitry.soshnikov@gmail.com"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"name": "Victor Berchet",
|
220
|
+
"email": "victor@suumit.com"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"name": "Paul Selden",
|
224
|
+
"email": "pselden4@gmail.com"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"name": "Steven Vachon",
|
228
|
+
"email": "contact@svachon.com"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"name": "Maga D. Zandaqo",
|
232
|
+
"email": "denelxan@gmail.com"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"name": "Valeriy Sorokobatko",
|
236
|
+
"email": "valeriy.sorokobatko@gmail.com"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"name": "Ivan Willig",
|
240
|
+
"email": "iwillig@gmail.com"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"name": "Oliver Joseph Ash",
|
244
|
+
"email": "oliverjash@gmail.com"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"name": "Chris Truter",
|
248
|
+
"email": "jeffpalentine@gmail.com"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"gitHead": "e9dbd6502ec8462a8f09fdc664c2bbbd1994cc69",
|
252
|
+
"_id": "traceur@0.0.82",
|
253
|
+
"_shasum": "431fabecfc580db3621f6a0eeab1093393ff27e4",
|
254
|
+
"_from": "traceur@*",
|
255
|
+
"_npmVersion": "2.3.0",
|
256
|
+
"_nodeVersion": "0.10.24",
|
257
|
+
"_npmUser": {
|
258
|
+
"name": "johnjbarton",
|
259
|
+
"email": "johnjbarton@johnjbarton.com"
|
260
|
+
},
|
261
|
+
"maintainers": [
|
262
|
+
{
|
263
|
+
"name": "arv",
|
264
|
+
"email": "arv@chromium.org"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"name": "johnjbarton",
|
268
|
+
"email": "johnjbarton@johnjbarton.com"
|
269
|
+
}
|
270
|
+
],
|
59
271
|
"dist": {
|
60
|
-
"shasum": "
|
272
|
+
"shasum": "431fabecfc580db3621f6a0eeab1093393ff27e4",
|
273
|
+
"tarball": "http://registry.npmjs.org/traceur/-/traceur-0.0.82.tgz"
|
61
274
|
},
|
62
|
-
"
|
63
|
-
"_resolved": "https://registry.npmjs.org/traceur/-/traceur-0.0.
|
275
|
+
"directories": {},
|
276
|
+
"_resolved": "https://registry.npmjs.org/traceur/-/traceur-0.0.82.tgz",
|
277
|
+
"readme": "ERROR: No README data found!"
|
64
278
|
}
|