embeditor-rails 1.1.1 → 2.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -17
- data/app/assets/javascripts/embeditor/adapter.js.coffee +21 -2
- data/app/assets/javascripts/embeditor/adapters/embedly.js.coffee +4 -40
- data/app/assets/javascripts/embeditor/adapters/oembed.js.coffee +37 -2
- data/app/assets/javascripts/embeditor/embeditor.js.coffee +16 -4
- data/lib/embeditor-rails/version.rb +1 -1
- data/lib/node_modules/npm/AUTHORS +158 -0
- data/lib/node_modules/npm/CONTRIBUTING.md +9 -0
- data/lib/node_modules/npm/LICENSE +235 -0
- data/lib/node_modules/npm/Makefile +216 -0
- data/lib/node_modules/npm/README.md +241 -0
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +2 -0
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +1 -0
- data/lib/node_modules/npm/bin/npm +13 -0
- data/lib/node_modules/npm/bin/npm-cli.js +87 -0
- data/lib/node_modules/npm/bin/npm.cmd +6 -0
- data/lib/node_modules/npm/bin/read-package-json.js +22 -0
- data/lib/node_modules/npm/cli.js +2 -0
- data/lib/node_modules/npm/configure +33 -0
- data/lib/node_modules/npm/doc/api/npm-bin.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-bugs.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-commands.md +22 -0
- data/lib/node_modules/npm/doc/api/npm-config.md +45 -0
- data/lib/node_modules/npm/doc/api/npm-deprecate.md +34 -0
- data/lib/node_modules/npm/doc/api/npm-docs.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-edit.md +24 -0
- data/lib/node_modules/npm/doc/api/npm-explore.md +18 -0
- data/lib/node_modules/npm/doc/api/npm-help-search.md +30 -0
- data/lib/node_modules/npm/doc/api/npm-init.md +29 -0
- data/lib/node_modules/npm/doc/api/npm-install.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-link.md +33 -0
- data/lib/node_modules/npm/doc/api/npm-load.md +26 -0
- data/lib/node_modules/npm/doc/api/npm-ls.md +56 -0
- data/lib/node_modules/npm/doc/api/npm-outdated.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-owner.md +31 -0
- data/lib/node_modules/npm/doc/api/npm-pack.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-prefix.md +15 -0
- data/lib/node_modules/npm/doc/api/npm-prune.md +17 -0
- data/lib/node_modules/npm/doc/api/npm-publish.md +30 -0
- data/lib/node_modules/npm/doc/api/npm-rebuild.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-repo.md +19 -0
- data/lib/node_modules/npm/doc/api/npm-restart.md +22 -0
- data/lib/node_modules/npm/doc/api/npm-root.md +15 -0
- data/lib/node_modules/npm/doc/api/npm-run-script.md +27 -0
- data/lib/node_modules/npm/doc/api/npm-search.md +35 -0
- data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +20 -0
- data/lib/node_modules/npm/doc/api/npm-start.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-stop.md +13 -0
- data/lib/node_modules/npm/doc/api/npm-submodule.md +28 -0
- data/lib/node_modules/npm/doc/api/npm-tag.md +23 -0
- data/lib/node_modules/npm/doc/api/npm-test.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-uninstall.md +16 -0
- data/lib/node_modules/npm/doc/api/npm-unpublish.md +20 -0
- data/lib/node_modules/npm/doc/api/npm-update.md +11 -0
- data/lib/node_modules/npm/doc/api/npm-version.md +18 -0
- data/lib/node_modules/npm/doc/api/npm-view.md +93 -0
- data/lib/node_modules/npm/doc/api/npm-whoami.md +15 -0
- data/lib/node_modules/npm/doc/api/npm.md +116 -0
- data/lib/node_modules/npm/doc/cli/npm-adduser.md +38 -0
- data/lib/node_modules/npm/doc/cli/npm-bin.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-bugs.md +42 -0
- data/lib/node_modules/npm/doc/cli/npm-build.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-bundle.md +14 -0
- data/lib/node_modules/npm/doc/cli/npm-cache.md +72 -0
- data/lib/node_modules/npm/doc/cli/npm-completion.md +29 -0
- data/lib/node_modules/npm/doc/cli/npm-config.md +71 -0
- data/lib/node_modules/npm/doc/cli/npm-dedupe.md +58 -0
- data/lib/node_modules/npm/doc/cli/npm-deprecate.md +26 -0
- data/lib/node_modules/npm/doc/cli/npm-docs.md +44 -0
- data/lib/node_modules/npm/doc/cli/npm-edit.md +37 -0
- data/lib/node_modules/npm/doc/cli/npm-explore.md +40 -0
- data/lib/node_modules/npm/doc/cli/npm-help-search.md +35 -0
- data/lib/node_modules/npm/doc/cli/npm-help.md +40 -0
- data/lib/node_modules/npm/doc/cli/npm-init.md +25 -0
- data/lib/node_modules/npm/doc/cli/npm-install.md +252 -0
- data/lib/node_modules/npm/doc/cli/npm-link.md +63 -0
- data/lib/node_modules/npm/doc/cli/npm-ls.md +80 -0
- data/lib/node_modules/npm/doc/cli/npm-outdated.md +58 -0
- data/lib/node_modules/npm/doc/cli/npm-owner.md +33 -0
- data/lib/node_modules/npm/doc/cli/npm-pack.md +27 -0
- data/lib/node_modules/npm/doc/cli/npm-prefix.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-prune.md +25 -0
- data/lib/node_modules/npm/doc/cli/npm-publish.md +30 -0
- data/lib/node_modules/npm/doc/cli/npm-rebuild.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-repo.md +28 -0
- data/lib/node_modules/npm/doc/cli/npm-restart.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-rm.md +23 -0
- data/lib/node_modules/npm/doc/cli/npm-root.md +19 -0
- data/lib/node_modules/npm/doc/cli/npm-run-script.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-search.md +36 -0
- data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +185 -0
- data/lib/node_modules/npm/doc/cli/npm-star.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-stars.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-start.md +18 -0
- data/lib/node_modules/npm/doc/cli/npm-stop.md +18 -0
- data/lib/node_modules/npm/doc/cli/npm-submodule.md +28 -0
- data/lib/node_modules/npm/doc/cli/npm-tag.md +34 -0
- data/lib/node_modules/npm/doc/cli/npm-test.md +22 -0
- data/lib/node_modules/npm/doc/cli/npm-uninstall.md +21 -0
- data/lib/node_modules/npm/doc/cli/npm-unpublish.md +32 -0
- data/lib/node_modules/npm/doc/cli/npm-update.md +24 -0
- data/lib/node_modules/npm/doc/cli/npm-version.md +45 -0
- data/lib/node_modules/npm/doc/cli/npm-view.md +90 -0
- data/lib/node_modules/npm/doc/cli/npm-whoami.md +17 -0
- data/lib/node_modules/npm/doc/cli/npm.md +153 -0
- data/lib/node_modules/npm/doc/files/npm-folders.md +211 -0
- data/lib/node_modules/npm/doc/files/npmrc.md +59 -0
- data/lib/node_modules/npm/doc/files/package.json.md +576 -0
- data/lib/node_modules/npm/doc/misc/npm-coding-style.md +181 -0
- data/lib/node_modules/npm/doc/misc/npm-config.md +820 -0
- data/lib/node_modules/npm/doc/misc/npm-developers.md +207 -0
- data/lib/node_modules/npm/doc/misc/npm-disputes.md +99 -0
- data/lib/node_modules/npm/doc/misc/npm-faq.md +364 -0
- data/lib/node_modules/npm/doc/misc/npm-index.md +411 -0
- data/lib/node_modules/npm/doc/misc/npm-registry.md +69 -0
- data/lib/node_modules/npm/doc/misc/npm-scripts.md +245 -0
- data/lib/node_modules/npm/doc/misc/removing-npm.md +54 -0
- data/lib/node_modules/npm/doc/misc/semver.md +111 -0
- data/lib/node_modules/npm/html/doc/README.html +276 -0
- data/lib/node_modules/npm/html/doc/api/npm-bin.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-bugs.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-commands.html +62 -0
- data/lib/node_modules/npm/html/doc/api/npm-config.html +67 -0
- data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-docs.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-edit.html +64 -0
- data/lib/node_modules/npm/html/doc/api/npm-explore.html +58 -0
- data/lib/node_modules/npm/html/doc/api/npm-help-search.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-init.html +69 -0
- data/lib/node_modules/npm/html/doc/api/npm-install.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-link.html +73 -0
- data/lib/node_modules/npm/html/doc/api/npm-load.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-ls.html +93 -0
- data/lib/node_modules/npm/html/doc/api/npm-outdated.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-owner.html +68 -0
- data/lib/node_modules/npm/html/doc/api/npm-pack.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-prefix.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm-prune.html +57 -0
- data/lib/node_modules/npm/html/doc/api/npm-publish.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-repo.html +59 -0
- data/lib/node_modules/npm/html/doc/api/npm-restart.html +61 -0
- data/lib/node_modules/npm/html/doc/api/npm-root.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm-run-script.html +63 -0
- data/lib/node_modules/npm/html/doc/api/npm-search.html +66 -0
- data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +60 -0
- data/lib/node_modules/npm/html/doc/api/npm-start.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-stop.html +53 -0
- data/lib/node_modules/npm/html/doc/api/npm-submodule.html +67 -0
- data/lib/node_modules/npm/html/doc/api/npm-tag.html +63 -0
- data/lib/node_modules/npm/html/doc/api/npm-test.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +56 -0
- data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +60 -0
- data/lib/node_modules/npm/html/doc/api/npm-update.html +52 -0
- data/lib/node_modules/npm/html/doc/api/npm-version.html +58 -0
- data/lib/node_modules/npm/html/doc/api/npm-view.html +133 -0
- data/lib/node_modules/npm/html/doc/api/npm-whoami.html +55 -0
- data/lib/node_modules/npm/html/doc/api/npm.html +126 -0
- data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +73 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bin.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +72 -0
- data/lib/node_modules/npm/html/doc/cli/npm-build.html +59 -0
- data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-cache.html +100 -0
- data/lib/node_modules/npm/html/doc/cli/npm-completion.html +67 -0
- data/lib/node_modules/npm/html/doc/cli/npm-config.html +107 -0
- data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +96 -0
- data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +65 -0
- data/lib/node_modules/npm/html/doc/cli/npm-docs.html +75 -0
- data/lib/node_modules/npm/html/doc/cli/npm-edit.html +71 -0
- data/lib/node_modules/npm/html/doc/cli/npm-explore.html +74 -0
- data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +72 -0
- data/lib/node_modules/npm/html/doc/cli/npm-help.html +70 -0
- data/lib/node_modules/npm/html/doc/cli/npm-init.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-install.html +183 -0
- data/lib/node_modules/npm/html/doc/cli/npm-link.html +96 -0
- data/lib/node_modules/npm/html/doc/cli/npm-ls.html +108 -0
- data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +92 -0
- data/lib/node_modules/npm/html/doc/cli/npm-owner.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-pack.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-prune.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-publish.html +63 -0
- data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-repo.html +66 -0
- data/lib/node_modules/npm/html/doc/cli/npm-restart.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-rm.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-root.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +57 -0
- data/lib/node_modules/npm/html/doc/cli/npm-search.html +71 -0
- data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +217 -0
- data/lib/node_modules/npm/html/doc/cli/npm-star.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-stars.html +59 -0
- data/lib/node_modules/npm/html/doc/cli/npm-start.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-stop.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +67 -0
- data/lib/node_modules/npm/html/doc/cli/npm-tag.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-test.html +58 -0
- data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +56 -0
- data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +68 -0
- data/lib/node_modules/npm/html/doc/cli/npm-update.html +60 -0
- data/lib/node_modules/npm/html/doc/cli/npm-version.html +83 -0
- data/lib/node_modules/npm/html/doc/cli/npm-view.html +125 -0
- data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +54 -0
- data/lib/node_modules/npm/html/doc/cli/npm.html +165 -0
- data/lib/node_modules/npm/html/doc/files/npm-folders.html +239 -0
- data/lib/node_modules/npm/html/doc/files/npm-global.html +239 -0
- data/lib/node_modules/npm/html/doc/files/npm-json.html +580 -0
- data/lib/node_modules/npm/html/doc/files/npmrc.html +93 -0
- data/lib/node_modules/npm/html/doc/files/package.json.html +580 -0
- data/lib/node_modules/npm/html/doc/index.html +450 -0
- data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +216 -0
- data/lib/node_modules/npm/html/doc/misc/npm-config.html +744 -0
- data/lib/node_modules/npm/html/doc/misc/npm-developers.html +208 -0
- data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +126 -0
- data/lib/node_modules/npm/html/doc/misc/npm-faq.html +382 -0
- data/lib/node_modules/npm/html/doc/misc/npm-index.html +450 -0
- data/lib/node_modules/npm/html/doc/misc/npm-registry.html +105 -0
- data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +257 -0
- data/lib/node_modules/npm/html/doc/misc/removing-npm.html +92 -0
- data/lib/node_modules/npm/html/doc/misc/semver.html +128 -0
- data/lib/node_modules/npm/html/docfoot-script.html +31 -0
- data/lib/node_modules/npm/html/docfoot.html +2 -0
- data/lib/node_modules/npm/html/dochead.html +8 -0
- data/lib/node_modules/npm/html/favicon.ico +0 -0
- data/lib/node_modules/npm/html/index.html +95 -0
- data/lib/node_modules/npm/html/static/style.css +329 -0
- data/lib/node_modules/npm/lib/adduser.js +138 -0
- data/lib/node_modules/npm/lib/bin.js +18 -0
- data/lib/node_modules/npm/lib/bugs.js +61 -0
- data/lib/node_modules/npm/lib/build.js +228 -0
- data/lib/node_modules/npm/lib/cache.js +1318 -0
- data/lib/node_modules/npm/lib/completion.js +253 -0
- data/lib/node_modules/npm/lib/config.js +285 -0
- data/lib/node_modules/npm/lib/dedupe.js +357 -0
- data/lib/node_modules/npm/lib/deprecate.js +47 -0
- data/lib/node_modules/npm/lib/docs.js +62 -0
- data/lib/node_modules/npm/lib/edit.js +32 -0
- data/lib/node_modules/npm/lib/explore.js +36 -0
- data/lib/node_modules/npm/lib/faq.js +8 -0
- data/lib/node_modules/npm/lib/get.js +12 -0
- data/lib/node_modules/npm/lib/help-search.js +218 -0
- data/lib/node_modules/npm/lib/help.js +231 -0
- data/lib/node_modules/npm/lib/init.js +36 -0
- data/lib/node_modules/npm/lib/install.js +979 -0
- data/lib/node_modules/npm/lib/link.js +173 -0
- data/lib/node_modules/npm/lib/ls.js +357 -0
- data/lib/node_modules/npm/lib/npm.js +528 -0
- data/lib/node_modules/npm/lib/outdated.js +303 -0
- data/lib/node_modules/npm/lib/owner.js +205 -0
- data/lib/node_modules/npm/lib/pack.js +65 -0
- data/lib/node_modules/npm/lib/prefix.js +11 -0
- data/lib/node_modules/npm/lib/prune.js +53 -0
- data/lib/node_modules/npm/lib/publish.js +118 -0
- data/lib/node_modules/npm/lib/rebuild.js +75 -0
- data/lib/node_modules/npm/lib/repo.js +54 -0
- data/lib/node_modules/npm/lib/restart.js +1 -0
- data/lib/node_modules/npm/lib/root.js +11 -0
- data/lib/node_modules/npm/lib/run-script.js +102 -0
- data/lib/node_modules/npm/lib/search.js +265 -0
- data/lib/node_modules/npm/lib/set.js +13 -0
- data/lib/node_modules/npm/lib/shrinkwrap.js +86 -0
- data/lib/node_modules/npm/lib/star.js +33 -0
- data/lib/node_modules/npm/lib/stars.js +27 -0
- data/lib/node_modules/npm/lib/start.js +1 -0
- data/lib/node_modules/npm/lib/stop.js +1 -0
- data/lib/node_modules/npm/lib/submodule.js +119 -0
- data/lib/node_modules/npm/lib/substack.js +20 -0
- data/lib/node_modules/npm/lib/tag.js +18 -0
- data/lib/node_modules/npm/lib/test.js +14 -0
- data/lib/node_modules/npm/lib/unbuild.js +112 -0
- data/lib/node_modules/npm/lib/uninstall.js +127 -0
- data/lib/node_modules/npm/lib/unpublish.js +83 -0
- data/lib/node_modules/npm/lib/update.js +43 -0
- data/lib/node_modules/npm/lib/utils/completion.sh +54 -0
- data/lib/node_modules/npm/lib/utils/completion/file-completion.js +26 -0
- data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +50 -0
- data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +79 -0
- data/lib/node_modules/npm/lib/utils/error-handler.js +343 -0
- data/lib/node_modules/npm/lib/utils/fetch.js +93 -0
- data/lib/node_modules/npm/lib/utils/find-prefix.js +57 -0
- data/lib/node_modules/npm/lib/utils/gently-rm.js +61 -0
- data/lib/node_modules/npm/lib/utils/is-git-url.js +13 -0
- data/lib/node_modules/npm/lib/utils/lifecycle.js +360 -0
- data/lib/node_modules/npm/lib/utils/link.js +39 -0
- data/lib/node_modules/npm/lib/utils/tar.js +323 -0
- data/lib/node_modules/npm/lib/version.js +120 -0
- data/lib/node_modules/npm/lib/view.js +246 -0
- data/lib/node_modules/npm/lib/visnup.js +42 -0
- data/lib/node_modules/npm/lib/whoami.js +13 -0
- data/lib/node_modules/npm/lib/xmas.js +56 -0
- data/lib/node_modules/npm/make.bat +3 -0
- data/lib/node_modules/npm/man/man1/npm-README.1 +328 -0
- data/lib/node_modules/npm/man/man1/npm-adduser.1 +63 -0
- data/lib/node_modules/npm/man/man1/npm-bin.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-bugs.1 +78 -0
- data/lib/node_modules/npm/man/man1/npm-build.1 +43 -0
- data/lib/node_modules/npm/man/man1/npm-bundle.1 +23 -0
- data/lib/node_modules/npm/man/man1/npm-cache.1 +104 -0
- data/lib/node_modules/npm/man/man1/npm-completion.1 +47 -0
- data/lib/node_modules/npm/man/man1/npm-config.1 +113 -0
- data/lib/node_modules/npm/man/man1/npm-dedupe.1 +96 -0
- data/lib/node_modules/npm/man/man1/npm-deprecate.1 +48 -0
- data/lib/node_modules/npm/man/man1/npm-docs.1 +78 -0
- data/lib/node_modules/npm/man/man1/npm-edit.1 +66 -0
- data/lib/node_modules/npm/man/man1/npm-explore.1 +76 -0
- data/lib/node_modules/npm/man/man1/npm-help-search.1 +59 -0
- data/lib/node_modules/npm/man/man1/npm-help.1 +77 -0
- data/lib/node_modules/npm/man/man1/npm-init.1 +43 -0
- data/lib/node_modules/npm/man/man1/npm-install.1 +434 -0
- data/lib/node_modules/npm/man/man1/npm-link.1 +119 -0
- data/lib/node_modules/npm/man/man1/npm-ls.1 +146 -0
- data/lib/node_modules/npm/man/man1/npm-outdated.1 +102 -0
- data/lib/node_modules/npm/man/man1/npm-owner.1 +58 -0
- data/lib/node_modules/npm/man/man1/npm-pack.1 +48 -0
- data/lib/node_modules/npm/man/man1/npm-prefix.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-prune.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-publish.1 +53 -0
- data/lib/node_modules/npm/man/man1/npm-rebuild.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-repo.1 +47 -0
- data/lib/node_modules/npm/man/man1/npm-restart.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-rm.1 +44 -0
- data/lib/node_modules/npm/man/man1/npm-root.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-run-script.1 +41 -0
- data/lib/node_modules/npm/man/man1/npm-search.1 +62 -0
- data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +275 -0
- data/lib/node_modules/npm/man/man1/npm-star.1 +39 -0
- data/lib/node_modules/npm/man/man1/npm-stars.1 +40 -0
- data/lib/node_modules/npm/man/man1/npm-start.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-stop.1 +37 -0
- data/lib/node_modules/npm/man/man1/npm-submodule.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-tag.1 +74 -0
- data/lib/node_modules/npm/man/man1/npm-test.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-uninstall.1 +42 -0
- data/lib/node_modules/npm/man/man1/npm-unpublish.1 +53 -0
- data/lib/node_modules/npm/man/man1/npm-update.1 +45 -0
- data/lib/node_modules/npm/man/man1/npm-version.1 +75 -0
- data/lib/node_modules/npm/man/man1/npm-view.1 +186 -0
- data/lib/node_modules/npm/man/man1/npm-whoami.1 +34 -0
- data/lib/node_modules/npm/man/man1/npm.1 +230 -0
- data/lib/node_modules/npm/man/man3/npm-bin.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-bugs.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-commands.3 +35 -0
- data/lib/node_modules/npm/man/man3/npm-config.3 +69 -0
- data/lib/node_modules/npm/man/man3/npm-deprecate.3 +57 -0
- data/lib/node_modules/npm/man/man3/npm-docs.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-edit.3 +35 -0
- data/lib/node_modules/npm/man/man3/npm-explore.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-help-search.3 +51 -0
- data/lib/node_modules/npm/man/man3/npm-init.3 +39 -0
- data/lib/node_modules/npm/man/man3/npm-install.3 +29 -0
- data/lib/node_modules/npm/man/man3/npm-link.3 +53 -0
- data/lib/node_modules/npm/man/man3/npm-load.3 +44 -0
- data/lib/node_modules/npm/man/man3/npm-ls.3 +86 -0
- data/lib/node_modules/npm/man/man3/npm-outdated.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-owner.3 +52 -0
- data/lib/node_modules/npm/man/man3/npm-pack.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-prefix.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm-prune.3 +27 -0
- data/lib/node_modules/npm/man/man3/npm-publish.3 +51 -0
- data/lib/node_modules/npm/man/man3/npm-rebuild.3 +22 -0
- data/lib/node_modules/npm/man/man3/npm-repo.3 +28 -0
- data/lib/node_modules/npm/man/man3/npm-restart.3 +37 -0
- data/lib/node_modules/npm/man/man3/npm-root.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm-run-script.3 +48 -0
- data/lib/node_modules/npm/man/man3/npm-search.3 +64 -0
- data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +30 -0
- data/lib/node_modules/npm/man/man3/npm-start.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-stop.3 +21 -0
- data/lib/node_modules/npm/man/man3/npm-submodule.3 +42 -0
- data/lib/node_modules/npm/man/man3/npm-tag.3 +31 -0
- data/lib/node_modules/npm/man/man3/npm-test.3 +25 -0
- data/lib/node_modules/npm/man/man3/npm-uninstall.3 +25 -0
- data/lib/node_modules/npm/man/man3/npm-unpublish.3 +30 -0
- data/lib/node_modules/npm/man/man3/npm-update.3 +18 -0
- data/lib/node_modules/npm/man/man3/npm-version.3 +27 -0
- data/lib/node_modules/npm/man/man3/npm-view.3 +176 -0
- data/lib/node_modules/npm/man/man3/npm-whoami.3 +24 -0
- data/lib/node_modules/npm/man/man3/npm.3 +162 -0
- data/lib/node_modules/npm/man/man5/npm-folders.5 +264 -0
- data/lib/node_modules/npm/man/man5/npm-global.5 +264 -0
- data/lib/node_modules/npm/man/man5/npm-json.5 +807 -0
- data/lib/node_modules/npm/man/man5/npmrc.5 +89 -0
- data/lib/node_modules/npm/man/man5/package.json.5 +807 -0
- data/lib/node_modules/npm/man/man7/npm-coding-style.7 +254 -0
- data/lib/node_modules/npm/man/man7/npm-config.7 +1445 -0
- data/lib/node_modules/npm/man/man7/npm-developers.7 +335 -0
- data/lib/node_modules/npm/man/man7/npm-disputes.7 +146 -0
- data/lib/node_modules/npm/man/man7/npm-faq.7 +479 -0
- data/lib/node_modules/npm/man/man7/npm-index.7 +307 -0
- data/lib/node_modules/npm/man/man7/npm-registry.7 +82 -0
- data/lib/node_modules/npm/man/man7/npm-scripts.7 +354 -0
- data/lib/node_modules/npm/man/man7/removing-npm.7 +107 -0
- data/lib/node_modules/npm/man/man7/semver.7 +172 -0
- data/lib/node_modules/npm/node_modules/abbrev/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/abbrev/README.md +23 -0
- data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +111 -0
- data/lib/node_modules/npm/node_modules/abbrev/package.json +25 -0
- data/lib/node_modules/npm/node_modules/ansi/README.md +91 -0
- data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +67 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +16 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +15 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +32 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +87 -0
- data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +46 -0
- data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +405 -0
- data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +71 -0
- data/lib/node_modules/npm/node_modules/ansi/package.json +50 -0
- data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ansicolors/README.md +62 -0
- data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +65 -0
- data/lib/node_modules/npm/node_modules/ansicolors/package.json +34 -0
- data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ansistyles/README.md +71 -0
- data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +38 -0
- data/lib/node_modules/npm/node_modules/ansistyles/package.json +38 -0
- data/lib/node_modules/npm/node_modules/archy/README.markdown +92 -0
- data/lib/node_modules/npm/node_modules/archy/index.js +35 -0
- data/lib/node_modules/npm/node_modules/archy/package.json +52 -0
- data/lib/node_modules/npm/node_modules/block-stream/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/block-stream/README.md +14 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +70 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +68 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +70 -0
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +68 -0
- data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +209 -0
- data/lib/node_modules/npm/node_modules/block-stream/package.json +35 -0
- data/lib/node_modules/npm/node_modules/child-process-close/README.md +45 -0
- data/lib/node_modules/npm/node_modules/child-process-close/index.js +48 -0
- data/lib/node_modules/npm/node_modules/child-process-close/package.json +37 -0
- data/lib/node_modules/npm/node_modules/chmodr/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/chmodr/README.md +3 -0
- data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +54 -0
- data/lib/node_modules/npm/node_modules/chmodr/package.json +28 -0
- data/lib/node_modules/npm/node_modules/chownr/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/chownr/README.md +3 -0
- data/lib/node_modules/npm/node_modules/chownr/chownr.js +41 -0
- data/lib/node_modules/npm/node_modules/chownr/package.json +42 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/README.md +42 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/index.js +180 -0
- data/lib/node_modules/npm/node_modules/cmd-shim/package.json +35 -0
- data/lib/node_modules/npm/node_modules/columnify/Readme.md +189 -0
- data/lib/node_modules/npm/node_modules/columnify/index.js +210 -0
- data/lib/node_modules/npm/node_modules/columnify/package.json +42 -0
- data/lib/node_modules/npm/node_modules/columnify/utils.js +76 -0
- data/lib/node_modules/npm/node_modules/editor/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/editor/README.markdown +54 -0
- data/lib/node_modules/npm/node_modules/editor/example/beep.json +5 -0
- data/lib/node_modules/npm/node_modules/editor/example/edit.js +4 -0
- data/lib/node_modules/npm/node_modules/editor/index.js +26 -0
- data/lib/node_modules/npm/node_modules/editor/package.json +43 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/README.md +18 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +13 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +19 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +12 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +19 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +25 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +323 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +22 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +13 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +275 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +40 -0
- data/lib/node_modules/npm/node_modules/fstream-npm/package.json +27 -0
- data/lib/node_modules/npm/node_modules/fstream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/fstream/README.md +76 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +131 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +115 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +54 -0
- data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +24 -0
- data/lib/node_modules/npm/node_modules/fstream/fstream.js +31 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +85 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +67 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +251 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +171 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +147 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +100 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +32 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +54 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +95 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +93 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +109 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +260 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +38 -0
- data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +389 -0
- data/lib/node_modules/npm/node_modules/fstream/package.json +43 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +10 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +5 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +41 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +12 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +31 -0
- data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +40 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +14 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +9 -0
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +33 -0
- data/lib/node_modules/npm/node_modules/glob/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/glob/README.md +250 -0
- data/lib/node_modules/npm/node_modules/glob/examples/g.js +9 -0
- data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +9 -0
- data/lib/node_modules/npm/node_modules/glob/glob.js +680 -0
- data/lib/node_modules/npm/node_modules/glob/package.json +39 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/README.md +26 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +161 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/package.json +48 -0
- data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +228 -0
- data/lib/node_modules/npm/node_modules/inherits/LICENSE +16 -0
- data/lib/node_modules/npm/node_modules/inherits/README.md +42 -0
- data/lib/node_modules/npm/node_modules/inherits/inherits.js +1 -0
- data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +23 -0
- data/lib/node_modules/npm/node_modules/inherits/package.json +32 -0
- data/lib/node_modules/npm/node_modules/inherits/test.js +25 -0
- data/lib/node_modules/npm/node_modules/ini/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/ini/README.md +79 -0
- data/lib/node_modules/npm/node_modules/ini/ini.js +166 -0
- data/lib/node_modules/npm/node_modules/ini/package.json +29 -0
- data/lib/node_modules/npm/node_modules/init-package-json/README.md +43 -0
- data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +181 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +8 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +7 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +13 -0
- data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +1 -0
- data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +129 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +133 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +11 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +8 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +191 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +37 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +10 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +61 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +32 -0
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +216 -0
- data/lib/node_modules/npm/node_modules/init-package-json/package.json +48 -0
- data/lib/node_modules/npm/node_modules/lockfile/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/lockfile/README.md +81 -0
- data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +272 -0
- data/lib/node_modules/npm/node_modules/lockfile/package.json +45 -0
- data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +14 -0
- data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/lru-cache/README.md +97 -0
- data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +252 -0
- data/lib/node_modules/npm/node_modules/lru-cache/package.json +33 -0
- data/lib/node_modules/npm/node_modules/minimatch/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/minimatch/README.md +218 -0
- data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +1055 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +42 -0
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
- data/lib/node_modules/npm/node_modules/minimatch/package.json +40 -0
- data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +21 -0
- data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +63 -0
- data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +6 -0
- data/lib/node_modules/npm/node_modules/mkdirp/index.js +82 -0
- data/lib/node_modules/npm/node_modules/mkdirp/package.json +33 -0
- data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/node-gyp/README.md +163 -0
- data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +59 -0
- data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +133 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +10 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +24 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +1 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +115 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +148 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +10 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +18 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +274 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +340 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +208 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1051 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1482 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +58 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +147 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +267 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +407 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +537 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +513 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +72 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +157 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +103 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +49 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1069 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +81 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +308 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +87 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2172 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3270 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +37 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2150 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +44 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1224 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +23 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +2809 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +90 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +264 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +870 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +160 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +176 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1324 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +2888 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +69 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +307 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +81 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +19 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +15 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +5 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +27 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +226 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +12 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +63 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +252 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +7 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +1105 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +100 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +155 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +168 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +329 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +275 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +22 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +344 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +362 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +33 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +225 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +16 -0
- data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +56 -0
- data/lib/node_modules/npm/node_modules/node-gyp/package.json +55 -0
- data/lib/node_modules/npm/node_modules/nopt/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/nopt/README.md +210 -0
- data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +51 -0
- data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +30 -0
- data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +407 -0
- data/lib/node_modules/npm/node_modules/nopt/package.json +39 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +234 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +25 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +146 -0
- data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +43 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +176 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +55 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +138 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +9 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +28 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +184 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +156 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +270 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +29 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +9 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +6 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +104 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +22 -0
- data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +43 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +6 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +49 -0
- data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +37 -0
- data/lib/node_modules/npm/node_modules/npmconf/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npmconf/README.md +33 -0
- data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +353 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +22 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +282 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +3 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +33 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +81 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +32 -0
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +228 -0
- data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +338 -0
- data/lib/node_modules/npm/node_modules/npmconf/package.json +50 -0
- data/lib/node_modules/npm/node_modules/npmlog/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/npmlog/README.md +153 -0
- data/lib/node_modules/npm/node_modules/npmlog/example.js +39 -0
- data/lib/node_modules/npm/node_modules/npmlog/log.js +154 -0
- data/lib/node_modules/npm/node_modules/npmlog/package.json +32 -0
- data/lib/node_modules/npm/node_modules/once/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/once/README.md +51 -0
- data/lib/node_modules/npm/node_modules/once/once.js +20 -0
- data/lib/node_modules/npm/node_modules/once/package.json +39 -0
- data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +14 -0
- data/lib/node_modules/npm/node_modules/opener/README.md +44 -0
- data/lib/node_modules/npm/node_modules/opener/opener.js +55 -0
- data/lib/node_modules/npm/node_modules/opener/package.json +34 -0
- data/lib/node_modules/npm/node_modules/osenv/LICENSE +25 -0
- data/lib/node_modules/npm/node_modules/osenv/README.md +63 -0
- data/lib/node_modules/npm/node_modules/osenv/osenv.js +80 -0
- data/lib/node_modules/npm/node_modules/osenv/package.json +38 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +14 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/README.md +35 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +24 -0
- data/lib/node_modules/npm/node_modules/path-is-inside/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-installed/LICENSE +16 -0
- data/lib/node_modules/npm/node_modules/read-installed/README.md +25 -0
- data/lib/node_modules/npm/node_modules/read-installed/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +338 -0
- data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/read-package-json/README.md +166 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +4 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +30 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +101 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +29 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +14 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +392 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +36 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +9 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +25 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +28 -0
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +53 -0
- data/lib/node_modules/npm/node_modules/read-package-json/package.json +39 -0
- data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +368 -0
- data/lib/node_modules/npm/node_modules/read/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/read/README.md +53 -0
- data/lib/node_modules/npm/node_modules/read/example/example.js +13 -0
- data/lib/node_modules/npm/node_modules/read/lib/read.js +113 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +68 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +140 -0
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +37 -0
- data/lib/node_modules/npm/node_modules/read/package.json +35 -0
- data/lib/node_modules/npm/node_modules/read/rs.js +4 -0
- data/lib/node_modules/npm/node_modules/request/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/README.md +364 -0
- data/lib/node_modules/npm/node_modules/request/index.js +157 -0
- data/lib/node_modules/npm/node_modules/request/lib/copy.js +8 -0
- data/lib/node_modules/npm/node_modules/request/lib/debug.js +7 -0
- data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +34 -0
- data/lib/node_modules/npm/node_modules/request/lib/optional.js +5 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +202 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +119 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +163 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +325 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +1414 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +955 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +132 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +185 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +154 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +99 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +32 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +46 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +10 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +627 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +78 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +485 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +367 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +111 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +15 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +524 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +183 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +6 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +207 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +47 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +6 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +48 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +33 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +10 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +436 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +585 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +11 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +409 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +48 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +75 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +25 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +179 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +249 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +42 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +196 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +71 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +13 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +104 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +39 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +17 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +15 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +14 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +767 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +753 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +638 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +101 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +92 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +451 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +81 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +95 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +156 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +50 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +44 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +42 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +45 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +128 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +28 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +33 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +39 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +128 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +19 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +66 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +114 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +36 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +84 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +1588 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +77 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +2 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +207 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +18 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +245 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +43 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +31 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +49 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +58 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +366 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +38 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +78 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +380 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +230 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +947 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +102 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +69 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +278 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +73 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +508 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +2 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +20 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +69 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +35 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +38 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +226 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +442 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +563 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +46 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +5229 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +1340 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +227 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +28 -0
- data/lib/node_modules/npm/node_modules/request/package.json +57 -0
- data/lib/node_modules/npm/node_modules/request/request.js +1260 -0
- data/lib/node_modules/npm/node_modules/retry/License +21 -0
- data/lib/node_modules/npm/node_modules/retry/Makefile +7 -0
- data/lib/node_modules/npm/node_modules/retry/Readme.md +167 -0
- data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
- data/lib/node_modules/npm/node_modules/retry/example/dns.js +31 -0
- data/lib/node_modules/npm/node_modules/retry/index.js +1 -0
- data/lib/node_modules/npm/node_modules/retry/lib/retry.js +50 -0
- data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +109 -0
- data/lib/node_modules/npm/node_modules/retry/package.json +29 -0
- data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +6 -0
- data/lib/node_modules/npm/node_modules/rimraf/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/rimraf/README.md +30 -0
- data/lib/node_modules/npm/node_modules/rimraf/bin.js +33 -0
- data/lib/node_modules/npm/node_modules/rimraf/package.json +56 -0
- data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +178 -0
- data/lib/node_modules/npm/node_modules/semver/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/semver/Makefile +24 -0
- data/lib/node_modules/npm/node_modules/semver/README.md +142 -0
- data/lib/node_modules/npm/node_modules/semver/bin/semver +124 -0
- data/lib/node_modules/npm/node_modules/semver/foot.js +6 -0
- data/lib/node_modules/npm/node_modules/semver/head.js +2 -0
- data/lib/node_modules/npm/node_modules/semver/package.json +32 -0
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js +1007 -0
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/semver/semver.js +1011 -0
- data/lib/node_modules/npm/node_modules/semver/semver.min.js +1 -0
- data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/sha/LICENSE +46 -0
- data/lib/node_modules/npm/node_modules/sha/README.md +49 -0
- data/lib/node_modules/npm/node_modules/sha/index.js +120 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +27 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +768 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +68 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +69 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +41 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +927 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +205 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +369 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +36 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +6 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +1 -0
- data/lib/node_modules/npm/node_modules/sha/package.json +32 -0
- data/lib/node_modules/npm/node_modules/slide/LICENSE +15 -0
- data/lib/node_modules/npm/node_modules/slide/README.md +143 -0
- data/lib/node_modules/npm/node_modules/slide/index.js +1 -0
- data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +65 -0
- data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +56 -0
- data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +16 -0
- data/lib/node_modules/npm/node_modules/slide/lib/chain.js +20 -0
- data/lib/node_modules/npm/node_modules/slide/lib/slide.js +3 -0
- data/lib/node_modules/npm/node_modules/slide/package.json +35 -0
- data/lib/node_modules/npm/node_modules/tar/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/tar/README.md +46 -0
- data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +11 -0
- data/lib/node_modules/npm/node_modules/tar/examples/reader.js +36 -0
- data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +30 -0
- data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +169 -0
- data/lib/node_modules/npm/node_modules/tar/lib/entry.js +213 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +191 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +140 -0
- data/lib/node_modules/npm/node_modules/tar/lib/extract.js +78 -0
- data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +14 -0
- data/lib/node_modules/npm/node_modules/tar/lib/header.js +385 -0
- data/lib/node_modules/npm/node_modules/tar/lib/pack.js +231 -0
- data/lib/node_modules/npm/node_modules/tar/lib/parse.js +270 -0
- data/lib/node_modules/npm/node_modules/tar/package.json +40 -0
- data/lib/node_modules/npm/node_modules/tar/tar.js +173 -0
- data/lib/node_modules/npm/node_modules/text-table/LICENSE +18 -0
- data/lib/node_modules/npm/node_modules/text-table/example/align.js +8 -0
- data/lib/node_modules/npm/node_modules/text-table/example/center.js +8 -0
- data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -0
- data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -0
- data/lib/node_modules/npm/node_modules/text-table/example/table.js +6 -0
- data/lib/node_modules/npm/node_modules/text-table/index.js +86 -0
- data/lib/node_modules/npm/node_modules/text-table/package.json +52 -0
- data/lib/node_modules/npm/node_modules/text-table/readme.markdown +134 -0
- data/lib/node_modules/npm/node_modules/uid-number/LICENCE +25 -0
- data/lib/node_modules/npm/node_modules/uid-number/README.md +17 -0
- data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +24 -0
- data/lib/node_modules/npm/node_modules/uid-number/package.json +35 -0
- data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +54 -0
- data/lib/node_modules/npm/node_modules/which/LICENSE +23 -0
- data/lib/node_modules/npm/node_modules/which/README.md +5 -0
- data/lib/node_modules/npm/node_modules/which/bin/which +14 -0
- data/lib/node_modules/npm/node_modules/which/package.json +34 -0
- data/lib/node_modules/npm/node_modules/which/which.js +104 -0
- data/lib/node_modules/npm/package.json +155 -0
- data/lib/node_modules/npm/scripts/clean-old.sh +165 -0
- data/lib/node_modules/npm/scripts/doc-build.sh +84 -0
- data/lib/node_modules/npm/scripts/index-build.js +62 -0
- data/lib/node_modules/npm/scripts/install.sh +313 -0
- data/lib/node_modules/npm/scripts/release.sh +36 -0
- data/lib/node_modules/npm/scripts/relocate.sh +26 -0
- metadata +1052 -36
- checksums.yaml +0 -7
@@ -0,0 +1,104 @@
|
|
1
|
+
{ "metadata":
|
2
|
+
{
|
3
|
+
"ctf2json_version": "1.0",
|
4
|
+
"created_at": 1316563573,
|
5
|
+
"derived_from": "/lib/libc.so",
|
6
|
+
"ctf_version": 2,
|
7
|
+
"requested_types": [ "psinfo_t" ]
|
8
|
+
},
|
9
|
+
"data":
|
10
|
+
[
|
11
|
+
{ "name": "int", "integer": { "length": 4, "signed": true } },
|
12
|
+
{ "name": "char", "integer": { "length": 1, "signed": true } },
|
13
|
+
{ "name": "unsigned short", "integer": { "length": 2, "signed": false } },
|
14
|
+
{ "name": "long", "integer": { "length": 4, "signed": true } },
|
15
|
+
{ "name": "unsigned", "integer": { "length": 4, "signed": false } },
|
16
|
+
{ "name": "size_t", "typedef": "unsigned" },
|
17
|
+
{ "name": "unsigned long", "integer": { "length": 4, "signed": false } },
|
18
|
+
{ "name": "time_t", "typedef": "long" },
|
19
|
+
{ "name": "struct timespec", "struct": [
|
20
|
+
{ "name": "tv_sec", "type": "time_t" },
|
21
|
+
{ "name": "tv_nsec", "type": "long" }
|
22
|
+
] },
|
23
|
+
{ "name": "zoneid_t", "typedef": "long" },
|
24
|
+
{ "name": "taskid_t", "typedef": "long" },
|
25
|
+
{ "name": "dev_t", "typedef": "unsigned long" },
|
26
|
+
{ "name": "uid_t", "typedef": "unsigned" },
|
27
|
+
{ "name": "gid_t", "typedef": "unsigned" },
|
28
|
+
{ "name": "timestruc_t", "typedef": "struct timespec" },
|
29
|
+
{ "name": "short", "integer": { "length": 2, "signed": true } },
|
30
|
+
{ "name": "projid_t", "typedef": "long" },
|
31
|
+
{ "name": "ushort_t", "typedef": "unsigned short" },
|
32
|
+
{ "name": "poolid_t", "typedef": "long" },
|
33
|
+
{ "name": "uintptr_t", "typedef": "unsigned" },
|
34
|
+
{ "name": "id_t", "typedef": "long" },
|
35
|
+
{ "name": "pid_t", "typedef": "long" },
|
36
|
+
{ "name": "processorid_t", "typedef": "int" },
|
37
|
+
{ "name": "psetid_t", "typedef": "int" },
|
38
|
+
{ "name": "struct lwpsinfo", "struct": [
|
39
|
+
{ "name": "pr_flag", "type": "int" },
|
40
|
+
{ "name": "pr_lwpid", "type": "id_t" },
|
41
|
+
{ "name": "pr_addr", "type": "uintptr_t" },
|
42
|
+
{ "name": "pr_wchan", "type": "uintptr_t" },
|
43
|
+
{ "name": "pr_stype", "type": "char" },
|
44
|
+
{ "name": "pr_state", "type": "char" },
|
45
|
+
{ "name": "pr_sname", "type": "char" },
|
46
|
+
{ "name": "pr_nice", "type": "char" },
|
47
|
+
{ "name": "pr_syscall", "type": "short" },
|
48
|
+
{ "name": "pr_oldpri", "type": "char" },
|
49
|
+
{ "name": "pr_cpu", "type": "char" },
|
50
|
+
{ "name": "pr_pri", "type": "int" },
|
51
|
+
{ "name": "pr_pctcpu", "type": "ushort_t" },
|
52
|
+
{ "name": "pr_pad", "type": "ushort_t" },
|
53
|
+
{ "name": "pr_start", "type": "timestruc_t" },
|
54
|
+
{ "name": "pr_time", "type": "timestruc_t" },
|
55
|
+
{ "name": "pr_clname", "type": "char [8]" },
|
56
|
+
{ "name": "pr_name", "type": "char [16]" },
|
57
|
+
{ "name": "pr_onpro", "type": "processorid_t" },
|
58
|
+
{ "name": "pr_bindpro", "type": "processorid_t" },
|
59
|
+
{ "name": "pr_bindpset", "type": "psetid_t" },
|
60
|
+
{ "name": "pr_lgrp", "type": "int" },
|
61
|
+
{ "name": "pr_filler", "type": "int [4]" }
|
62
|
+
] },
|
63
|
+
{ "name": "lwpsinfo_t", "typedef": "struct lwpsinfo" },
|
64
|
+
{ "name": "struct psinfo", "struct": [
|
65
|
+
{ "name": "pr_flag", "type": "int" },
|
66
|
+
{ "name": "pr_nlwp", "type": "int" },
|
67
|
+
{ "name": "pr_pid", "type": "pid_t" },
|
68
|
+
{ "name": "pr_ppid", "type": "pid_t" },
|
69
|
+
{ "name": "pr_pgid", "type": "pid_t" },
|
70
|
+
{ "name": "pr_sid", "type": "pid_t" },
|
71
|
+
{ "name": "pr_uid", "type": "uid_t" },
|
72
|
+
{ "name": "pr_euid", "type": "uid_t" },
|
73
|
+
{ "name": "pr_gid", "type": "gid_t" },
|
74
|
+
{ "name": "pr_egid", "type": "gid_t" },
|
75
|
+
{ "name": "pr_addr", "type": "uintptr_t" },
|
76
|
+
{ "name": "pr_size", "type": "size_t" },
|
77
|
+
{ "name": "pr_rssize", "type": "size_t" },
|
78
|
+
{ "name": "pr_pad1", "type": "size_t" },
|
79
|
+
{ "name": "pr_ttydev", "type": "dev_t" },
|
80
|
+
{ "name": "pr_pctcpu", "type": "ushort_t" },
|
81
|
+
{ "name": "pr_pctmem", "type": "ushort_t" },
|
82
|
+
{ "name": "pr_start", "type": "timestruc_t" },
|
83
|
+
{ "name": "pr_time", "type": "timestruc_t" },
|
84
|
+
{ "name": "pr_ctime", "type": "timestruc_t" },
|
85
|
+
{ "name": "pr_fname", "type": "char [16]" },
|
86
|
+
{ "name": "pr_psargs", "type": "char [80]" },
|
87
|
+
{ "name": "pr_wstat", "type": "int" },
|
88
|
+
{ "name": "pr_argc", "type": "int" },
|
89
|
+
{ "name": "pr_argv", "type": "uintptr_t" },
|
90
|
+
{ "name": "pr_envp", "type": "uintptr_t" },
|
91
|
+
{ "name": "pr_dmodel", "type": "char" },
|
92
|
+
{ "name": "pr_pad2", "type": "char [3]" },
|
93
|
+
{ "name": "pr_taskid", "type": "taskid_t" },
|
94
|
+
{ "name": "pr_projid", "type": "projid_t" },
|
95
|
+
{ "name": "pr_nzomb", "type": "int" },
|
96
|
+
{ "name": "pr_poolid", "type": "poolid_t" },
|
97
|
+
{ "name": "pr_zoneid", "type": "zoneid_t" },
|
98
|
+
{ "name": "pr_contract", "type": "id_t" },
|
99
|
+
{ "name": "pr_filler", "type": "int [1]" },
|
100
|
+
{ "name": "pr_lwp", "type": "lwpsinfo_t" }
|
101
|
+
] },
|
102
|
+
{ "name": "psinfo_t", "typedef": "struct psinfo" }
|
103
|
+
]
|
104
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{ "metadata":
|
2
|
+
{
|
3
|
+
"ctf2json_version": "1.0",
|
4
|
+
"created_at": 1316563648,
|
5
|
+
"derived_from": "/lib/libc.so",
|
6
|
+
"ctf_version": 2,
|
7
|
+
"requested_types": [ "timestruc_t" ]
|
8
|
+
},
|
9
|
+
"data":
|
10
|
+
[
|
11
|
+
{ "name": "long", "integer": { "length": 4, "signed": true } },
|
12
|
+
{ "name": "time_t", "typedef": "long" },
|
13
|
+
{ "name": "struct timespec", "struct": [
|
14
|
+
{ "name": "tv_sec", "type": "time_t" },
|
15
|
+
{ "name": "tv_nsec", "type": "long" }
|
16
|
+
] },
|
17
|
+
{ "name": "timestruc_t", "typedef": "struct timespec" }
|
18
|
+
]
|
19
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/*
|
2
|
+
* Test several conditions that should always cause us to throw.
|
3
|
+
*/
|
4
|
+
var mod_assert = require('assert');
|
5
|
+
var mod_ctype = require('../../ctype.js');
|
6
|
+
|
7
|
+
var cases = [
|
8
|
+
{ json: { }, msg: 'bad JSON - no metadata or data' },
|
9
|
+
{ json: { metadata: {} }, msg: 'bad JSON - bad metadata section' },
|
10
|
+
{ json: { metadata: { 'JSON version': [] } },
|
11
|
+
msg: 'bad JSON - bad JSON version' },
|
12
|
+
{ json: { metadata: { 'JSON version': 2 } },
|
13
|
+
msg: 'bad JSON - bad JSON version' },
|
14
|
+
{ json: { metadata: { 'JSON version': '100.20' } },
|
15
|
+
msg: 'bad JSON - bad JSON version' },
|
16
|
+
{ json: { metadata: { 'JSON version': '1.0' } },
|
17
|
+
msg: 'missing data section' },
|
18
|
+
{ json: { metadata: { 'JSON version': '1.0' }, data: 1 },
|
19
|
+
msg: 'invalid data section' },
|
20
|
+
{ json: { metadata: { 'JSON version': '1.0' }, data: 1.1 },
|
21
|
+
msg: 'invalid data section' },
|
22
|
+
{ json: { metadata: { 'JSON version': '1.0' }, data: '1.1' },
|
23
|
+
msg: 'invalid data section' },
|
24
|
+
{ json: { metadata: { 'JSON version': '1.0' }, data: {} },
|
25
|
+
msg: 'invalid data section' }
|
26
|
+
];
|
27
|
+
|
28
|
+
function test()
|
29
|
+
{
|
30
|
+
var ii;
|
31
|
+
|
32
|
+
for (ii = 0; ii < cases.length; ii++) {
|
33
|
+
mod_assert.throws(function () {
|
34
|
+
mod_ctype.parseCTF(cases[ii].json);
|
35
|
+
}, Error, cases[ii].msg);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
test();
|
@@ -0,0 +1,14 @@
|
|
1
|
+
var mod_fs = require('fs');
|
2
|
+
var mod_ctype = require('../../ctype.js');
|
3
|
+
var mod_assert = require('assert');
|
4
|
+
|
5
|
+
function test()
|
6
|
+
{
|
7
|
+
var data, parser;
|
8
|
+
|
9
|
+
data = JSON.parse(mod_fs.readFileSync('./float.json').toString());
|
10
|
+
parser = mod_ctype.parseCTF(data, { endian: 'big' });
|
11
|
+
mod_assert.deepEqual(parser.lstypes(), {});
|
12
|
+
}
|
13
|
+
|
14
|
+
test();
|
@@ -0,0 +1,14 @@
|
|
1
|
+
var mod_fs = require('fs');
|
2
|
+
var mod_ctype = require('../../ctype.js');
|
3
|
+
var mod_assert = require('assert');
|
4
|
+
|
5
|
+
function test()
|
6
|
+
{
|
7
|
+
var data, parser;
|
8
|
+
|
9
|
+
data = JSON.parse(mod_fs.readFileSync('./int.json').toString());
|
10
|
+
parser = mod_ctype.parseCTF(data, { endian: 'big' });
|
11
|
+
mod_assert.deepEqual(parser.lstypes(), { 'int': 'int32_t' });
|
12
|
+
}
|
13
|
+
|
14
|
+
test();
|
@@ -0,0 +1,17 @@
|
|
1
|
+
var mod_fs = require('fs');
|
2
|
+
var mod_ctype = require('../../ctype.js');
|
3
|
+
var mod_assert = require('assert');
|
4
|
+
|
5
|
+
/*
|
6
|
+
* This is too unwieldly to actually write out. Just make sure we can parse it
|
7
|
+
* without errrors.
|
8
|
+
*/
|
9
|
+
function test()
|
10
|
+
{
|
11
|
+
var data;
|
12
|
+
|
13
|
+
data = JSON.parse(mod_fs.readFileSync('./psinfo.json').toString());
|
14
|
+
mod_ctype.parseCTF(data, { endian: 'big' });
|
15
|
+
}
|
16
|
+
|
17
|
+
test();
|
@@ -0,0 +1,18 @@
|
|
1
|
+
var mod_fs = require('fs');
|
2
|
+
var mod_ctype = require('../../ctype.js');
|
3
|
+
var mod_assert = require('assert');
|
4
|
+
|
5
|
+
function test()
|
6
|
+
{
|
7
|
+
var data, parser;
|
8
|
+
|
9
|
+
data = JSON.parse(mod_fs.readFileSync('./struct.json').toString());
|
10
|
+
parser = mod_ctype.parseCTF(data, { endian: 'big' });
|
11
|
+
mod_assert.deepEqual(parser.lstypes(), { 'long': 'int32_t',
|
12
|
+
'time_t': 'long',
|
13
|
+
'timestruc_t': 'struct timespec',
|
14
|
+
'struct timespec': [ { 'tv_sec': { 'type': 'time_t' } },
|
15
|
+
{ 'tv_nsec': { 'type': 'long' } } ] });
|
16
|
+
}
|
17
|
+
|
18
|
+
test();
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var mod_fs = require('fs');
|
2
|
+
var mod_ctype = require('../../ctype.js');
|
3
|
+
var mod_assert = require('assert');
|
4
|
+
|
5
|
+
function test()
|
6
|
+
{
|
7
|
+
var data, parser;
|
8
|
+
|
9
|
+
data = JSON.parse(mod_fs.readFileSync('./typedef.json').toString());
|
10
|
+
parser = mod_ctype.parseCTF(data, { endian: 'big' });
|
11
|
+
mod_assert.deepEqual(parser.lstypes(), { 'bar_t': 'int',
|
12
|
+
'int': 'int32_t' });
|
13
|
+
}
|
14
|
+
|
15
|
+
test();
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{ "metadata":
|
2
|
+
{
|
3
|
+
"ctf2json_version": "1.0",
|
4
|
+
"created_at": 1316302348,
|
5
|
+
"derived_from": "/lib/libc.so",
|
6
|
+
"ctf_version": 2,
|
7
|
+
"requested_types": [ "bar_t" ]
|
8
|
+
},
|
9
|
+
"data":
|
10
|
+
[
|
11
|
+
{ "name": "int", "integer": { "length": 4, "signed": true } },
|
12
|
+
{ "name": "bar_t", "typedef": "int" }
|
13
|
+
]
|
14
|
+
}
|
@@ -0,0 +1,767 @@
|
|
1
|
+
/*
|
2
|
+
* Battery of tests to break our floating point implementation. Oh ho ho.
|
3
|
+
*
|
4
|
+
* There are a few useful ways to generate the expected output. The first is
|
5
|
+
* just write a C program and write raw bytes out and inspect with xxd. Remember
|
6
|
+
* to consider whether or not you're on a big endian or little endian machine.
|
7
|
+
* Another useful site I found to help with some of this was:
|
8
|
+
*
|
9
|
+
* http://babbage.cs.qc.edu/IEEE-754/
|
10
|
+
*/
|
11
|
+
|
12
|
+
var mod_ctype = require('../../../ctio.js');
|
13
|
+
var ASSERT = require('assert');
|
14
|
+
|
15
|
+
function testfloat()
|
16
|
+
{
|
17
|
+
var buffer = new Buffer(4);
|
18
|
+
/* Start off with some of the easy ones: +zero */
|
19
|
+
buffer[0] = 0;
|
20
|
+
buffer[1] = 0;
|
21
|
+
buffer[2] = 0;
|
22
|
+
buffer[3] = 0;
|
23
|
+
|
24
|
+
ASSERT.equal(0, mod_ctype.rfloat(buffer, 'big', 0));
|
25
|
+
ASSERT.equal(0, mod_ctype.rfloat(buffer, 'little', 0));
|
26
|
+
|
27
|
+
/* Test -0 */
|
28
|
+
buffer[0] = 0x80;
|
29
|
+
ASSERT.equal(0, mod_ctype.rfloat(buffer, 'big', 0));
|
30
|
+
buffer[3] = buffer[0];
|
31
|
+
buffer[0] = 0;
|
32
|
+
ASSERT.equal(0, mod_ctype.rfloat(buffer, 'little', 0));
|
33
|
+
|
34
|
+
/* Catch +infin */
|
35
|
+
buffer[0] = 0x7f;
|
36
|
+
buffer[1] = 0x80;
|
37
|
+
buffer[2] = 0x00;
|
38
|
+
buffer[3] = 0x00;
|
39
|
+
ASSERT.equal(Number.POSITIVE_INFINITY,
|
40
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
41
|
+
buffer[3] = 0x7f;
|
42
|
+
buffer[2] = 0x80;
|
43
|
+
buffer[1] = 0x00;
|
44
|
+
buffer[0] = 0x00;
|
45
|
+
ASSERT.equal(Number.POSITIVE_INFINITY,
|
46
|
+
mod_ctype.rfloat(buffer, 'litle', 0));
|
47
|
+
|
48
|
+
/* Catch -infin */
|
49
|
+
buffer[0] = 0xff;
|
50
|
+
buffer[1] = 0x80;
|
51
|
+
buffer[2] = 0x00;
|
52
|
+
buffer[3] = 0x00;
|
53
|
+
ASSERT.equal(Number.NEGATIVE_INFINITY,
|
54
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
55
|
+
buffer[3] = 0xff;
|
56
|
+
buffer[2] = 0x80;
|
57
|
+
buffer[1] = 0x00;
|
58
|
+
buffer[0] = 0x00;
|
59
|
+
ASSERT.equal(Number.NEGATIVE_INFINITY,
|
60
|
+
mod_ctype.rfloat(buffer, 'litle', 0));
|
61
|
+
|
62
|
+
/* Catch NaN */
|
63
|
+
|
64
|
+
buffer[0] = 0x7f;
|
65
|
+
buffer[1] = 0x80;
|
66
|
+
buffer[2] = 0x00;
|
67
|
+
buffer[3] = 0x23;
|
68
|
+
ASSERT.ok(isNaN(mod_ctype.rfloat(buffer, 'big', 0)));
|
69
|
+
buffer[3] = 0x7f;
|
70
|
+
buffer[2] = 0x80;
|
71
|
+
buffer[1] = 0x00;
|
72
|
+
buffer[0] = 0x23;
|
73
|
+
ASSERT.ok(isNaN(mod_ctype.rfloat(buffer, 'little', 0)));
|
74
|
+
|
75
|
+
/* Catch -infin */
|
76
|
+
buffer[0] = 0xff;
|
77
|
+
buffer[1] = 0x80;
|
78
|
+
buffer[2] = 0x00;
|
79
|
+
buffer[3] = 0x23;
|
80
|
+
ASSERT.ok(isNaN(mod_ctype.rfloat(buffer, 'big', 0)));
|
81
|
+
buffer[3] = 0xff;
|
82
|
+
buffer[2] = 0x80;
|
83
|
+
buffer[1] = 0x00;
|
84
|
+
buffer[0] = 0x23;
|
85
|
+
ASSERT.ok(isNaN(mod_ctype.rfloat(buffer, 'little', 0)));
|
86
|
+
|
87
|
+
/* On to some basic tests */
|
88
|
+
/* 1.125 */
|
89
|
+
buffer[0] = 0x3f;
|
90
|
+
buffer[1] = 0x90;
|
91
|
+
buffer[2] = 0x00;
|
92
|
+
buffer[3] = 0x00;
|
93
|
+
ASSERT.equal(1.125, mod_ctype.rfloat(buffer, 'big', 0));
|
94
|
+
|
95
|
+
buffer[3] = 0x3f;
|
96
|
+
buffer[2] = 0x90;
|
97
|
+
buffer[1] = 0x00;
|
98
|
+
buffer[0] = 0x00;
|
99
|
+
ASSERT.equal(1.125, mod_ctype.rfloat(buffer, 'little', 0));
|
100
|
+
|
101
|
+
/* ff34a2b0 -2.4010576103645774e+38 */
|
102
|
+
buffer[0] = 0xff;
|
103
|
+
buffer[1] = 0x34;
|
104
|
+
buffer[2] = 0xa2;
|
105
|
+
buffer[3] = 0xb0;
|
106
|
+
ASSERT.equal(-2.4010576103645774e+38,
|
107
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
108
|
+
|
109
|
+
buffer[3] = 0xff;
|
110
|
+
buffer[2] = 0x34;
|
111
|
+
buffer[1] = 0xa2;
|
112
|
+
buffer[0] = 0xb0;
|
113
|
+
ASSERT.equal(-2.4010576103645774e+38,
|
114
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
115
|
+
|
116
|
+
/* Denormalized tests */
|
117
|
+
|
118
|
+
/* 0003f89a +/- 3.6468792534053364e-40 */
|
119
|
+
buffer[0] = 0x00;
|
120
|
+
buffer[1] = 0x03;
|
121
|
+
buffer[2] = 0xf8;
|
122
|
+
buffer[3] = 0x9a;
|
123
|
+
ASSERT.equal(3.6468792534053364e-40,
|
124
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
125
|
+
|
126
|
+
buffer[3] = 0x00;
|
127
|
+
buffer[2] = 0x03;
|
128
|
+
buffer[1] = 0xf8;
|
129
|
+
buffer[0] = 0x9a;
|
130
|
+
ASSERT.equal(3.6468792534053364e-40,
|
131
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
132
|
+
|
133
|
+
buffer[0] = 0x80;
|
134
|
+
buffer[1] = 0x03;
|
135
|
+
buffer[2] = 0xf8;
|
136
|
+
buffer[3] = 0x9a;
|
137
|
+
ASSERT.equal(-3.6468792534053364e-40,
|
138
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
139
|
+
|
140
|
+
buffer[3] = 0x80;
|
141
|
+
buffer[2] = 0x03;
|
142
|
+
buffer[1] = 0xf8;
|
143
|
+
buffer[0] = 0x9a;
|
144
|
+
ASSERT.equal(-3.6468792534053364e-40,
|
145
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
146
|
+
|
147
|
+
|
148
|
+
/* Maximum and minimum normalized and denormalized values */
|
149
|
+
|
150
|
+
/* Largest normalized number +/- 3.4028234663852886e+38 */
|
151
|
+
|
152
|
+
buffer[0] = 0x7f;
|
153
|
+
buffer[1] = 0x7f;
|
154
|
+
buffer[2] = 0xff;
|
155
|
+
buffer[3] = 0xff;
|
156
|
+
ASSERT.equal(3.4028234663852886e+38,
|
157
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
158
|
+
|
159
|
+
buffer[3] = 0x7f;
|
160
|
+
buffer[2] = 0x7f;
|
161
|
+
buffer[1] = 0xff;
|
162
|
+
buffer[0] = 0xff;
|
163
|
+
ASSERT.equal(3.4028234663852886e+38,
|
164
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
165
|
+
|
166
|
+
buffer[0] = 0xff;
|
167
|
+
buffer[1] = 0x7f;
|
168
|
+
buffer[2] = 0xff;
|
169
|
+
buffer[3] = 0xff;
|
170
|
+
ASSERT.equal(-3.4028234663852886e+38,
|
171
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
172
|
+
|
173
|
+
buffer[3] = 0xff;
|
174
|
+
buffer[2] = 0x7f;
|
175
|
+
buffer[1] = 0xff;
|
176
|
+
buffer[0] = 0xff;
|
177
|
+
ASSERT.equal(-3.4028234663852886e+38,
|
178
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
179
|
+
|
180
|
+
/* Smallest normalied number +/- 1.1754943508222875e-38 */
|
181
|
+
buffer[0] = 0x00;
|
182
|
+
buffer[1] = 0x80;
|
183
|
+
buffer[2] = 0x00;
|
184
|
+
buffer[3] = 0x00;
|
185
|
+
ASSERT.equal(1.1754943508222875e-38,
|
186
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
187
|
+
|
188
|
+
buffer[3] = 0x00;
|
189
|
+
buffer[2] = 0x80;
|
190
|
+
buffer[1] = 0x00;
|
191
|
+
buffer[0] = 0x00;
|
192
|
+
ASSERT.equal(1.1754943508222875e-38,
|
193
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
194
|
+
|
195
|
+
buffer[0] = 0x80;
|
196
|
+
buffer[1] = 0x80;
|
197
|
+
buffer[2] = 0x00;
|
198
|
+
buffer[3] = 0x00;
|
199
|
+
ASSERT.equal(-1.1754943508222875e-38,
|
200
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
201
|
+
|
202
|
+
buffer[3] = 0x80;
|
203
|
+
buffer[2] = 0x80;
|
204
|
+
buffer[1] = 0x00;
|
205
|
+
buffer[0] = 0x00;
|
206
|
+
ASSERT.equal(-1.1754943508222875e-38,
|
207
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
208
|
+
|
209
|
+
|
210
|
+
/* Smallest denormalized number 1.401298464324817e-45 */
|
211
|
+
buffer[0] = 0x00;
|
212
|
+
buffer[1] = 0x00;
|
213
|
+
buffer[2] = 0x00;
|
214
|
+
buffer[3] = 0x01;
|
215
|
+
ASSERT.equal(1.401298464324817e-45,
|
216
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
217
|
+
|
218
|
+
buffer[3] = 0x00;
|
219
|
+
buffer[2] = 0x00;
|
220
|
+
buffer[1] = 0x00;
|
221
|
+
buffer[0] = 0x01;
|
222
|
+
ASSERT.equal(1.401298464324817e-45,
|
223
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
224
|
+
|
225
|
+
buffer[0] = 0x80;
|
226
|
+
buffer[1] = 0x00;
|
227
|
+
buffer[2] = 0x00;
|
228
|
+
buffer[3] = 0x01;
|
229
|
+
ASSERT.equal(-1.401298464324817e-45,
|
230
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
231
|
+
|
232
|
+
buffer[3] = 0x80;
|
233
|
+
buffer[2] = 0x00;
|
234
|
+
buffer[1] = 0x00;
|
235
|
+
buffer[0] = 0x01;
|
236
|
+
ASSERT.equal(-1.401298464324817e-45,
|
237
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
238
|
+
|
239
|
+
/* Largest denormalized value +/- 1.1754942106924411e-38 */
|
240
|
+
buffer[0] = 0x00;
|
241
|
+
buffer[1] = 0x7f;
|
242
|
+
buffer[2] = 0xff;
|
243
|
+
buffer[3] = 0xff;
|
244
|
+
ASSERT.equal(1.1754942106924411e-38,
|
245
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
246
|
+
|
247
|
+
buffer[3] = 0x00;
|
248
|
+
buffer[2] = 0x7f;
|
249
|
+
buffer[1] = 0xff;
|
250
|
+
buffer[0] = 0xff;
|
251
|
+
ASSERT.equal(1.1754942106924411e-38,
|
252
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
253
|
+
|
254
|
+
buffer[0] = 0x80;
|
255
|
+
buffer[1] = 0x7f;
|
256
|
+
buffer[2] = 0xff;
|
257
|
+
buffer[3] = 0xff;
|
258
|
+
ASSERT.equal(-1.1754942106924411e-38,
|
259
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
260
|
+
|
261
|
+
buffer[3] = 0x80;
|
262
|
+
buffer[2] = 0x7f;
|
263
|
+
buffer[1] = 0xff;
|
264
|
+
buffer[0] = 0xff;
|
265
|
+
ASSERT.equal(-1.1754942106924411e-38,
|
266
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
267
|
+
|
268
|
+
/* Do some quick offset testing */
|
269
|
+
buffer = new Buffer(6);
|
270
|
+
buffer[0] = 0x7f;
|
271
|
+
buffer[1] = 0x4e;
|
272
|
+
buffer[2] = 0x8a;
|
273
|
+
buffer[3] = 0x79;
|
274
|
+
buffer[4] = 0xcd;
|
275
|
+
buffer[5] = 0x3f;
|
276
|
+
|
277
|
+
ASSERT.equal(2.745399582697325e+38,
|
278
|
+
mod_ctype.rfloat(buffer, 'big', 0));
|
279
|
+
ASSERT.equal(1161619072,
|
280
|
+
mod_ctype.rfloat(buffer, 'big', 1));
|
281
|
+
ASSERT.equal(-1.2027516403607578e-32,
|
282
|
+
mod_ctype.rfloat(buffer, 'big', 2));
|
283
|
+
|
284
|
+
ASSERT.equal(8.97661320504413e+34,
|
285
|
+
mod_ctype.rfloat(buffer, 'little', 0));
|
286
|
+
ASSERT.equal(-261661920,
|
287
|
+
mod_ctype.rfloat(buffer, 'little', 1));
|
288
|
+
ASSERT.equal(1.605271577835083,
|
289
|
+
mod_ctype.rfloat(buffer, 'little', 2));
|
290
|
+
|
291
|
+
}
|
292
|
+
|
293
|
+
function testdouble()
|
294
|
+
{
|
295
|
+
var buffer = new Buffer(10);
|
296
|
+
|
297
|
+
/* Check 0 */
|
298
|
+
buffer[0] = 0;
|
299
|
+
buffer[1] = 0;
|
300
|
+
buffer[2] = 0;
|
301
|
+
buffer[3] = 0;
|
302
|
+
buffer[4] = 0;
|
303
|
+
buffer[5] = 0;
|
304
|
+
buffer[6] = 0;
|
305
|
+
buffer[7] = 0;
|
306
|
+
ASSERT.equal(0,
|
307
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
308
|
+
ASSERT.equal(0,
|
309
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
310
|
+
|
311
|
+
buffer[0] = 0x80;
|
312
|
+
buffer[1] = 0;
|
313
|
+
buffer[2] = 0;
|
314
|
+
buffer[3] = 0;
|
315
|
+
buffer[4] = 0;
|
316
|
+
buffer[5] = 0;
|
317
|
+
buffer[6] = 0;
|
318
|
+
buffer[7] = 0;
|
319
|
+
ASSERT.equal(0,
|
320
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
321
|
+
buffer[7] = 0x80;
|
322
|
+
buffer[6] = 0;
|
323
|
+
buffer[5] = 0;
|
324
|
+
buffer[4] = 0;
|
325
|
+
buffer[3] = 0;
|
326
|
+
buffer[2] = 0;
|
327
|
+
buffer[1] = 0;
|
328
|
+
buffer[0] = 0;
|
329
|
+
ASSERT.equal(0,
|
330
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
331
|
+
|
332
|
+
/* Check NaN */
|
333
|
+
buffer[0] = 0x7f;
|
334
|
+
buffer[1] = 0xf0;
|
335
|
+
buffer[2] = 0;
|
336
|
+
buffer[3] = 0;
|
337
|
+
buffer[4] = 0;
|
338
|
+
buffer[5] = 0;
|
339
|
+
buffer[6] = 0;
|
340
|
+
buffer[7] = 23;
|
341
|
+
ASSERT.ok(isNaN(mod_ctype.rdouble(buffer, 'big', 0)));
|
342
|
+
|
343
|
+
buffer[7] = 0x7f;
|
344
|
+
buffer[6] = 0xf0;
|
345
|
+
buffer[5] = 0;
|
346
|
+
buffer[4] = 0;
|
347
|
+
buffer[3] = 0;
|
348
|
+
buffer[2] = 0;
|
349
|
+
buffer[1] = 0;
|
350
|
+
buffer[0] = 23;
|
351
|
+
ASSERT.ok(isNaN(mod_ctype.rdouble(buffer, 'little', 0)));
|
352
|
+
|
353
|
+
buffer[0] = 0xff;
|
354
|
+
buffer[1] = 0xf0;
|
355
|
+
buffer[2] = 0;
|
356
|
+
buffer[3] = 0;
|
357
|
+
buffer[4] = 0;
|
358
|
+
buffer[5] = 0;
|
359
|
+
buffer[6] = 0;
|
360
|
+
buffer[7] = 23;
|
361
|
+
ASSERT.ok(isNaN(mod_ctype.rdouble(buffer, 'big', 0)));
|
362
|
+
|
363
|
+
buffer[7] = 0xff;
|
364
|
+
buffer[6] = 0xf0;
|
365
|
+
buffer[5] = 0;
|
366
|
+
buffer[4] = 0;
|
367
|
+
buffer[3] = 0;
|
368
|
+
buffer[2] = 0;
|
369
|
+
buffer[1] = 0;
|
370
|
+
buffer[0] = 23;
|
371
|
+
ASSERT.ok(isNaN(mod_ctype.rdouble(buffer, 'little', 0)));
|
372
|
+
|
373
|
+
/* pos inf */
|
374
|
+
buffer[0] = 0x7f;
|
375
|
+
buffer[1] = 0xf0;
|
376
|
+
buffer[2] = 0;
|
377
|
+
buffer[3] = 0;
|
378
|
+
buffer[4] = 0;
|
379
|
+
buffer[5] = 0;
|
380
|
+
buffer[6] = 0;
|
381
|
+
buffer[7] = 0;
|
382
|
+
ASSERT.equal(Number.POSITIVE_INFINITY,
|
383
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
384
|
+
|
385
|
+
buffer[7] = 0x7f;
|
386
|
+
buffer[6] = 0xf0;
|
387
|
+
buffer[5] = 0;
|
388
|
+
buffer[4] = 0;
|
389
|
+
buffer[3] = 0;
|
390
|
+
buffer[2] = 0;
|
391
|
+
buffer[1] = 0;
|
392
|
+
buffer[0] = 0;
|
393
|
+
ASSERT.equal(Number.POSITIVE_INFINITY,
|
394
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
395
|
+
|
396
|
+
/* neg inf */
|
397
|
+
buffer[0] = 0xff;
|
398
|
+
buffer[1] = 0xf0;
|
399
|
+
buffer[2] = 0;
|
400
|
+
buffer[3] = 0;
|
401
|
+
buffer[4] = 0;
|
402
|
+
buffer[5] = 0;
|
403
|
+
buffer[6] = 0;
|
404
|
+
buffer[7] = 0;
|
405
|
+
ASSERT.equal(Number.NEGATIVE_INFINITY,
|
406
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
407
|
+
|
408
|
+
buffer[7] = 0xff;
|
409
|
+
buffer[6] = 0xf0;
|
410
|
+
buffer[5] = 0;
|
411
|
+
buffer[4] = 0;
|
412
|
+
buffer[3] = 0;
|
413
|
+
buffer[2] = 0;
|
414
|
+
buffer[1] = 0;
|
415
|
+
buffer[0] = 0;
|
416
|
+
ASSERT.equal(Number.NEGATIVE_INFINITY,
|
417
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
418
|
+
|
419
|
+
/* Simple normalized values */
|
420
|
+
|
421
|
+
/* +/- 1.125 */
|
422
|
+
buffer[0] = 0x3f;
|
423
|
+
buffer[1] = 0xf2;
|
424
|
+
buffer[2] = 0;
|
425
|
+
buffer[3] = 0;
|
426
|
+
buffer[4] = 0;
|
427
|
+
buffer[5] = 0;
|
428
|
+
buffer[6] = 0;
|
429
|
+
buffer[7] = 0;
|
430
|
+
ASSERT.equal(1.125,
|
431
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
432
|
+
|
433
|
+
buffer[7] = 0x3f;
|
434
|
+
buffer[6] = 0xf2;
|
435
|
+
buffer[5] = 0;
|
436
|
+
buffer[4] = 0;
|
437
|
+
buffer[3] = 0;
|
438
|
+
buffer[2] = 0;
|
439
|
+
buffer[1] = 0;
|
440
|
+
buffer[0] = 0;
|
441
|
+
ASSERT.equal(1.125,
|
442
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
443
|
+
|
444
|
+
buffer[0] = 0xbf;
|
445
|
+
buffer[1] = 0xf2;
|
446
|
+
buffer[2] = 0;
|
447
|
+
buffer[3] = 0;
|
448
|
+
buffer[4] = 0;
|
449
|
+
buffer[5] = 0;
|
450
|
+
buffer[6] = 0;
|
451
|
+
buffer[7] = 0;
|
452
|
+
ASSERT.equal(-1.125,
|
453
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
454
|
+
|
455
|
+
buffer[7] = 0xbf;
|
456
|
+
buffer[6] = 0xf2;
|
457
|
+
buffer[5] = 0;
|
458
|
+
buffer[4] = 0;
|
459
|
+
buffer[3] = 0;
|
460
|
+
buffer[2] = 0;
|
461
|
+
buffer[1] = 0;
|
462
|
+
buffer[0] = 0;
|
463
|
+
ASSERT.equal(-1.125,
|
464
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
465
|
+
|
466
|
+
/* +/- 1.4397318913736026e+283 */
|
467
|
+
buffer[0] = 0x7a;
|
468
|
+
buffer[1] = 0xb8;
|
469
|
+
buffer[2] = 0xc9;
|
470
|
+
buffer[3] = 0x34;
|
471
|
+
buffer[4] = 0x72;
|
472
|
+
buffer[5] = 0x16;
|
473
|
+
buffer[6] = 0xf9;
|
474
|
+
buffer[7] = 0x0e;
|
475
|
+
ASSERT.equal(1.4397318913736026e+283,
|
476
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
477
|
+
|
478
|
+
buffer[7] = 0x7a;
|
479
|
+
buffer[6] = 0xb8;
|
480
|
+
buffer[5] = 0xc9;
|
481
|
+
buffer[4] = 0x34;
|
482
|
+
buffer[3] = 0x72;
|
483
|
+
buffer[2] = 0x16;
|
484
|
+
buffer[1] = 0xf9;
|
485
|
+
buffer[0] = 0x0e;
|
486
|
+
ASSERT.equal(1.4397318913736026e+283,
|
487
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
488
|
+
|
489
|
+
buffer[0] = 0xfa;
|
490
|
+
buffer[1] = 0xb8;
|
491
|
+
buffer[2] = 0xc9;
|
492
|
+
buffer[3] = 0x34;
|
493
|
+
buffer[4] = 0x72;
|
494
|
+
buffer[5] = 0x16;
|
495
|
+
buffer[6] = 0xf9;
|
496
|
+
buffer[7] = 0x0e;
|
497
|
+
ASSERT.equal(-1.4397318913736026e+283,
|
498
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
499
|
+
|
500
|
+
buffer[7] = 0xfa;
|
501
|
+
buffer[6] = 0xb8;
|
502
|
+
buffer[5] = 0xc9;
|
503
|
+
buffer[4] = 0x34;
|
504
|
+
buffer[3] = 0x72;
|
505
|
+
buffer[2] = 0x16;
|
506
|
+
buffer[1] = 0xf9;
|
507
|
+
buffer[0] = 0x0e;
|
508
|
+
ASSERT.equal(-1.4397318913736026e+283,
|
509
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
510
|
+
|
511
|
+
/* Denormalized values */
|
512
|
+
/* +/- 8.82521232268344e-309 */
|
513
|
+
buffer[0] = 0x00;
|
514
|
+
buffer[1] = 0x06;
|
515
|
+
buffer[2] = 0x58;
|
516
|
+
buffer[3] = 0x94;
|
517
|
+
buffer[4] = 0x13;
|
518
|
+
buffer[5] = 0x27;
|
519
|
+
buffer[6] = 0x8a;
|
520
|
+
buffer[7] = 0xcd;
|
521
|
+
ASSERT.equal(8.82521232268344e-309,
|
522
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
523
|
+
|
524
|
+
buffer[7] = 0x00;
|
525
|
+
buffer[6] = 0x06;
|
526
|
+
buffer[5] = 0x58;
|
527
|
+
buffer[4] = 0x94;
|
528
|
+
buffer[3] = 0x13;
|
529
|
+
buffer[2] = 0x27;
|
530
|
+
buffer[1] = 0x8a;
|
531
|
+
buffer[0] = 0xcd;
|
532
|
+
ASSERT.equal(8.82521232268344e-309,
|
533
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
534
|
+
|
535
|
+
buffer[0] = 0x80;
|
536
|
+
buffer[1] = 0x06;
|
537
|
+
buffer[2] = 0x58;
|
538
|
+
buffer[3] = 0x94;
|
539
|
+
buffer[4] = 0x13;
|
540
|
+
buffer[5] = 0x27;
|
541
|
+
buffer[6] = 0x8a;
|
542
|
+
buffer[7] = 0xcd;
|
543
|
+
ASSERT.equal(-8.82521232268344e-309,
|
544
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
545
|
+
|
546
|
+
buffer[7] = 0x80;
|
547
|
+
buffer[6] = 0x06;
|
548
|
+
buffer[5] = 0x58;
|
549
|
+
buffer[4] = 0x94;
|
550
|
+
buffer[3] = 0x13;
|
551
|
+
buffer[2] = 0x27;
|
552
|
+
buffer[1] = 0x8a;
|
553
|
+
buffer[0] = 0xcd;
|
554
|
+
ASSERT.equal(-8.82521232268344e-309,
|
555
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
556
|
+
|
557
|
+
/* Edge cases, maximum and minimum values */
|
558
|
+
|
559
|
+
/* Smallest denormalized value 5e-324 */
|
560
|
+
buffer[0] = 0x00;
|
561
|
+
buffer[1] = 0x00;
|
562
|
+
buffer[2] = 0x00;
|
563
|
+
buffer[3] = 0x00;
|
564
|
+
buffer[4] = 0x00;
|
565
|
+
buffer[5] = 0x00;
|
566
|
+
buffer[6] = 0x00;
|
567
|
+
buffer[7] = 0x01;
|
568
|
+
ASSERT.equal(5e-324,
|
569
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
570
|
+
|
571
|
+
buffer[7] = 0x00;
|
572
|
+
buffer[6] = 0x00;
|
573
|
+
buffer[5] = 0x00;
|
574
|
+
buffer[4] = 0x00;
|
575
|
+
buffer[3] = 0x00;
|
576
|
+
buffer[2] = 0x00;
|
577
|
+
buffer[1] = 0x00;
|
578
|
+
buffer[0] = 0x01;
|
579
|
+
ASSERT.equal(5e-324,
|
580
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
581
|
+
|
582
|
+
buffer[0] = 0x80;
|
583
|
+
buffer[1] = 0x00;
|
584
|
+
buffer[2] = 0x00;
|
585
|
+
buffer[3] = 0x00;
|
586
|
+
buffer[4] = 0x00;
|
587
|
+
buffer[5] = 0x00;
|
588
|
+
buffer[6] = 0x00;
|
589
|
+
buffer[7] = 0x01;
|
590
|
+
ASSERT.equal(-5e-324,
|
591
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
592
|
+
|
593
|
+
buffer[7] = 0x80;
|
594
|
+
buffer[6] = 0x00;
|
595
|
+
buffer[5] = 0x00;
|
596
|
+
buffer[4] = 0x00;
|
597
|
+
buffer[3] = 0x00;
|
598
|
+
buffer[2] = 0x00;
|
599
|
+
buffer[1] = 0x00;
|
600
|
+
buffer[0] = 0x01;
|
601
|
+
ASSERT.equal(-5e-324,
|
602
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
603
|
+
|
604
|
+
/* Largest denormalized value 2.225073858507201e-308 */
|
605
|
+
buffer[0] = 0x00;
|
606
|
+
buffer[1] = 0x0f;
|
607
|
+
buffer[2] = 0xff;
|
608
|
+
buffer[3] = 0xff;
|
609
|
+
buffer[4] = 0xff;
|
610
|
+
buffer[5] = 0xff;
|
611
|
+
buffer[6] = 0xff;
|
612
|
+
buffer[7] = 0xff;
|
613
|
+
ASSERT.equal(2.225073858507201e-308,
|
614
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
615
|
+
|
616
|
+
buffer[7] = 0x00;
|
617
|
+
buffer[6] = 0x0f;
|
618
|
+
buffer[5] = 0xff;
|
619
|
+
buffer[4] = 0xff;
|
620
|
+
buffer[3] = 0xff;
|
621
|
+
buffer[2] = 0xff;
|
622
|
+
buffer[1] = 0xff;
|
623
|
+
buffer[0] = 0xff;
|
624
|
+
ASSERT.equal(2.225073858507201e-308,
|
625
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
626
|
+
|
627
|
+
buffer[0] = 0x80;
|
628
|
+
buffer[1] = 0x0f;
|
629
|
+
buffer[2] = 0xff;
|
630
|
+
buffer[3] = 0xff;
|
631
|
+
buffer[4] = 0xff;
|
632
|
+
buffer[5] = 0xff;
|
633
|
+
buffer[6] = 0xff;
|
634
|
+
buffer[7] = 0xff;
|
635
|
+
ASSERT.equal(-2.225073858507201e-308,
|
636
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
637
|
+
|
638
|
+
buffer[7] = 0x80;
|
639
|
+
buffer[6] = 0x0f;
|
640
|
+
buffer[5] = 0xff;
|
641
|
+
buffer[4] = 0xff;
|
642
|
+
buffer[3] = 0xff;
|
643
|
+
buffer[2] = 0xff;
|
644
|
+
buffer[1] = 0xff;
|
645
|
+
buffer[0] = 0xff;
|
646
|
+
ASSERT.equal(-2.225073858507201e-308,
|
647
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
648
|
+
|
649
|
+
/* Smallest normalized value 2.2250738585072014e-308 */
|
650
|
+
buffer[0] = 0x00;
|
651
|
+
buffer[1] = 0x10;
|
652
|
+
buffer[2] = 0x00;
|
653
|
+
buffer[3] = 0x00;
|
654
|
+
buffer[4] = 0x00;
|
655
|
+
buffer[5] = 0x00;
|
656
|
+
buffer[6] = 0x00;
|
657
|
+
buffer[7] = 0x00;
|
658
|
+
ASSERT.equal(2.2250738585072014e-308,
|
659
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
660
|
+
|
661
|
+
buffer[7] = 0x00;
|
662
|
+
buffer[6] = 0x10;
|
663
|
+
buffer[5] = 0x00;
|
664
|
+
buffer[4] = 0x00;
|
665
|
+
buffer[3] = 0x00;
|
666
|
+
buffer[2] = 0x00;
|
667
|
+
buffer[1] = 0x00;
|
668
|
+
buffer[0] = 0x00;
|
669
|
+
ASSERT.equal(2.2250738585072014e-308,
|
670
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
671
|
+
|
672
|
+
buffer[0] = 0x80;
|
673
|
+
buffer[1] = 0x10;
|
674
|
+
buffer[2] = 0x00;
|
675
|
+
buffer[3] = 0x00;
|
676
|
+
buffer[4] = 0x00;
|
677
|
+
buffer[5] = 0x00;
|
678
|
+
buffer[6] = 0x00;
|
679
|
+
buffer[7] = 0x00;
|
680
|
+
ASSERT.equal(-2.2250738585072014e-308,
|
681
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
682
|
+
|
683
|
+
buffer[7] = 0x80;
|
684
|
+
buffer[6] = 0x10;
|
685
|
+
buffer[5] = 0x00;
|
686
|
+
buffer[4] = 0x00;
|
687
|
+
buffer[3] = 0x00;
|
688
|
+
buffer[2] = 0x00;
|
689
|
+
buffer[1] = 0x00;
|
690
|
+
buffer[0] = 0x00;
|
691
|
+
ASSERT.equal(-2.2250738585072014e-308,
|
692
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
693
|
+
|
694
|
+
/* Largest normalized value 1.7976931348623157e+308 */
|
695
|
+
buffer[0] = 0x7f;
|
696
|
+
buffer[1] = 0xef;
|
697
|
+
buffer[2] = 0xff;
|
698
|
+
buffer[3] = 0xff;
|
699
|
+
buffer[4] = 0xff;
|
700
|
+
buffer[5] = 0xff;
|
701
|
+
buffer[6] = 0xff;
|
702
|
+
buffer[7] = 0xff;
|
703
|
+
ASSERT.equal(1.7976931348623157e+308,
|
704
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
705
|
+
|
706
|
+
buffer[7] = 0x7f;
|
707
|
+
buffer[6] = 0xef;
|
708
|
+
buffer[5] = 0xff;
|
709
|
+
buffer[4] = 0xff;
|
710
|
+
buffer[3] = 0xff;
|
711
|
+
buffer[2] = 0xff;
|
712
|
+
buffer[1] = 0xff;
|
713
|
+
buffer[0] = 0xff;
|
714
|
+
ASSERT.equal(1.7976931348623157e+308,
|
715
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
716
|
+
|
717
|
+
buffer[0] = 0xff;
|
718
|
+
buffer[1] = 0xef;
|
719
|
+
buffer[2] = 0xff;
|
720
|
+
buffer[3] = 0xff;
|
721
|
+
buffer[4] = 0xff;
|
722
|
+
buffer[5] = 0xff;
|
723
|
+
buffer[6] = 0xff;
|
724
|
+
buffer[7] = 0xff;
|
725
|
+
ASSERT.equal(-1.7976931348623157e+308,
|
726
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
727
|
+
|
728
|
+
buffer[7] = 0xff;
|
729
|
+
buffer[6] = 0xef;
|
730
|
+
buffer[5] = 0xff;
|
731
|
+
buffer[4] = 0xff;
|
732
|
+
buffer[3] = 0xff;
|
733
|
+
buffer[2] = 0xff;
|
734
|
+
buffer[1] = 0xff;
|
735
|
+
buffer[0] = 0xff;
|
736
|
+
ASSERT.equal(-1.7976931348623157e+308,
|
737
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
738
|
+
|
739
|
+
/* Try offsets */
|
740
|
+
buffer[0] = 0xde;
|
741
|
+
buffer[1] = 0xad;
|
742
|
+
buffer[2] = 0xbe;
|
743
|
+
buffer[3] = 0xef;
|
744
|
+
buffer[4] = 0xba;
|
745
|
+
buffer[5] = 0xdd;
|
746
|
+
buffer[6] = 0xca;
|
747
|
+
buffer[7] = 0xfe;
|
748
|
+
buffer[8] = 0x16;
|
749
|
+
buffer[9] = 0x79;
|
750
|
+
|
751
|
+
ASSERT.equal(-1.1885958404126936e+148,
|
752
|
+
mod_ctype.rdouble(buffer, 'big', 0));
|
753
|
+
ASSERT.equal(-2.4299184080448593e-88,
|
754
|
+
mod_ctype.rdouble(buffer, 'big', 1));
|
755
|
+
ASSERT.equal(-0.000015130017658081283,
|
756
|
+
mod_ctype.rdouble(buffer, 'big', 2));
|
757
|
+
|
758
|
+
ASSERT.equal(-5.757458694845505e+302,
|
759
|
+
mod_ctype.rdouble(buffer, 'little', 0));
|
760
|
+
ASSERT.equal(6.436459604192476e-198,
|
761
|
+
mod_ctype.rdouble(buffer, 'little', 1));
|
762
|
+
ASSERT.equal(1.9903745632417286e+275,
|
763
|
+
mod_ctype.rdouble(buffer, 'little', 2));
|
764
|
+
}
|
765
|
+
|
766
|
+
testfloat();
|
767
|
+
testdouble();
|