webpack_rails 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webpack_rails/ErrorMessagePlugin.js +37 -0
- data/lib/webpack_rails/engine.rb +6 -5
- data/lib/webpack_rails/node_modules/cors/CONTRIBUTING.md +35 -0
- data/lib/webpack_rails/node_modules/cors/LICENSE +9 -0
- data/lib/webpack_rails/node_modules/cors/README.md +192 -0
- data/lib/webpack_rails/node_modules/cors/lib/index.js +242 -0
- data/lib/webpack_rails/node_modules/cors/node_modules/vary/HISTORY.md +29 -0
- data/lib/webpack_rails/node_modules/cors/node_modules/vary/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/cors/node_modules/vary/README.md +91 -0
- data/lib/webpack_rails/node_modules/cors/node_modules/vary/index.js +124 -0
- data/lib/webpack_rails/node_modules/cors/node_modules/vary/package.json +72 -0
- data/lib/webpack_rails/node_modules/cors/package.json +79 -0
- data/lib/webpack_rails/node_modules/cors/test/basic-auth.js +40 -0
- data/lib/webpack_rails/node_modules/cors/test/body-events.js +81 -0
- data/lib/webpack_rails/node_modules/cors/test/cors.js +652 -0
- data/lib/webpack_rails/node_modules/cors/test/error-response.js +77 -0
- data/lib/webpack_rails/node_modules/cors/test/example-app.js +98 -0
- data/lib/webpack_rails/node_modules/cors/test/issue-2.js +56 -0
- data/lib/webpack_rails/node_modules/cors/test/issue-31.js +58 -0
- data/lib/webpack_rails/node_modules/cors/test/mocha.opts +3 -0
- data/lib/webpack_rails/node_modules/express/History.md +3025 -0
- data/lib/webpack_rails/node_modules/express/LICENSE +24 -0
- data/lib/webpack_rails/node_modules/express/Readme.md +138 -0
- data/lib/webpack_rails/node_modules/express/index.js +11 -0
- data/lib/webpack_rails/node_modules/express/lib/application.js +643 -0
- data/lib/webpack_rails/node_modules/express/lib/express.js +103 -0
- data/lib/webpack_rails/node_modules/express/lib/middleware/init.js +36 -0
- data/lib/webpack_rails/node_modules/express/lib/middleware/query.js +51 -0
- data/lib/webpack_rails/node_modules/express/lib/request.js +489 -0
- data/lib/webpack_rails/node_modules/express/lib/response.js +1053 -0
- data/lib/webpack_rails/node_modules/express/lib/router/index.js +645 -0
- data/lib/webpack_rails/node_modules/express/lib/router/layer.js +176 -0
- data/lib/webpack_rails/node_modules/express/lib/router/route.js +210 -0
- data/lib/webpack_rails/node_modules/express/lib/utils.js +300 -0
- data/lib/webpack_rails/node_modules/express/lib/view.js +173 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/HISTORY.md +170 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/README.md +135 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/index.js +231 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/HISTORY.md +171 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/README.md +103 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/index.js +188 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/HISTORY.md +274 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/README.md +82 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/db.json +6474 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/mime-types/package.json +84 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/HISTORY.md +76 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/LICENSE +24 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/README.md +203 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/index.js +62 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/charset.js +102 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/encoding.js +118 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/language.js +112 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/mediaType.js +179 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/node_modules/negotiator/package.json +86 -0
- data/lib/webpack_rails/node_modules/express/node_modules/accepts/package.json +98 -0
- data/lib/webpack_rails/node_modules/express/node_modules/array-flatten/LICENSE +21 -0
- data/lib/webpack_rails/node_modules/express/node_modules/array-flatten/README.md +43 -0
- data/lib/webpack_rails/node_modules/express/node_modules/array-flatten/array-flatten.js +64 -0
- data/lib/webpack_rails/node_modules/express/node_modules/array-flatten/package.json +62 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-disposition/HISTORY.md +40 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-disposition/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-disposition/README.md +141 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-disposition/index.js +443 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-disposition/package.json +66 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-type/HISTORY.md +9 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-type/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-type/README.md +92 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-type/index.js +214 -0
- data/lib/webpack_rails/node_modules/express/node_modules/content-type/package.json +65 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie/README.md +64 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie/index.js +116 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie/package.json +68 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie-signature/History.md +38 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie-signature/Readme.md +42 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie-signature/index.js +51 -0
- data/lib/webpack_rails/node_modules/express/node_modules/cookie-signature/package.json +59 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/History.md +195 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/Makefile +36 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/Readme.md +188 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/bower.json +28 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/browser.js +168 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/component.json +19 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/debug.js +197 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node.js +209 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node_modules/ms/History.md +66 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node_modules/ms/LICENSE +20 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node_modules/ms/README.md +35 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node_modules/ms/index.js +125 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/node_modules/ms/package.json +47 -0
- data/lib/webpack_rails/node_modules/express/node_modules/debug/package.json +73 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/History.md +75 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/Readme.md +274 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/index.js +529 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/lib/compat/buffer-concat.js +33 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/lib/compat/callsite-tostring.js +101 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/lib/compat/index.js +69 -0
- data/lib/webpack_rails/node_modules/express/node_modules/depd/package.json +66 -0
- data/lib/webpack_rails/node_modules/express/node_modules/escape-html/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/escape-html/Readme.md +15 -0
- data/lib/webpack_rails/node_modules/express/node_modules/escape-html/index.js +29 -0
- data/lib/webpack_rails/node_modules/express/node_modules/escape-html/package.json +51 -0
- data/lib/webpack_rails/node_modules/express/node_modules/etag/HISTORY.md +71 -0
- data/lib/webpack_rails/node_modules/express/node_modules/etag/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/etag/README.md +165 -0
- data/lib/webpack_rails/node_modules/express/node_modules/etag/index.js +132 -0
- data/lib/webpack_rails/node_modules/express/node_modules/etag/package.json +73 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/HISTORY.md +90 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/README.md +133 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/index.js +151 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/node_modules/unpipe/HISTORY.md +4 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/node_modules/unpipe/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/node_modules/unpipe/README.md +43 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/node_modules/unpipe/index.js +69 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/node_modules/unpipe/package.json +59 -0
- data/lib/webpack_rails/node_modules/express/node_modules/finalhandler/package.json +81 -0
- data/lib/webpack_rails/node_modules/express/node_modules/fresh/HISTORY.md +38 -0
- data/lib/webpack_rails/node_modules/express/node_modules/fresh/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/fresh/README.md +58 -0
- data/lib/webpack_rails/node_modules/express/node_modules/fresh/index.js +57 -0
- data/lib/webpack_rails/node_modules/express/node_modules/fresh/package.json +87 -0
- data/lib/webpack_rails/node_modules/express/node_modules/merge-descriptors/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/merge-descriptors/README.md +34 -0
- data/lib/webpack_rails/node_modules/express/node_modules/merge-descriptors/index.js +57 -0
- data/lib/webpack_rails/node_modules/express/node_modules/merge-descriptors/package.json +125 -0
- data/lib/webpack_rails/node_modules/express/node_modules/methods/HISTORY.md +24 -0
- data/lib/webpack_rails/node_modules/express/node_modules/methods/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/methods/README.md +41 -0
- data/lib/webpack_rails/node_modules/express/node_modules/methods/index.js +42 -0
- data/lib/webpack_rails/node_modules/express/node_modules/methods/package.json +88 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/HISTORY.md +88 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/README.md +154 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/index.js +196 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/node_modules/ee-first/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/node_modules/ee-first/README.md +80 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/node_modules/ee-first/index.js +95 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/node_modules/ee-first/package.json +64 -0
- data/lib/webpack_rails/node_modules/express/node_modules/on-finished/package.json +71 -0
- data/lib/webpack_rails/node_modules/express/node_modules/parseurl/HISTORY.md +42 -0
- data/lib/webpack_rails/node_modules/express/node_modules/parseurl/LICENSE +24 -0
- data/lib/webpack_rails/node_modules/express/node_modules/parseurl/README.md +107 -0
- data/lib/webpack_rails/node_modules/express/node_modules/parseurl/index.js +136 -0
- data/lib/webpack_rails/node_modules/express/node_modules/parseurl/package.json +80 -0
- data/lib/webpack_rails/node_modules/express/node_modules/path-to-regexp/History.md +36 -0
- data/lib/webpack_rails/node_modules/express/node_modules/path-to-regexp/LICENSE +21 -0
- data/lib/webpack_rails/node_modules/express/node_modules/path-to-regexp/Readme.md +35 -0
- data/lib/webpack_rails/node_modules/express/node_modules/path-to-regexp/index.js +129 -0
- data/lib/webpack_rails/node_modules/express/node_modules/path-to-regexp/package.json +184 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/HISTORY.md +66 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/README.md +137 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/index.js +345 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/HISTORY.md +4 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/README.md +53 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/index.js +35 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/package.json +65 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/Cakefile +18 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/LICENSE +19 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/README.md +161 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/lib/ipaddr.js +439 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/package.json +60 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/src/ipaddr.coffee +374 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/test/ipaddr.test.coffee +262 -0
- data/lib/webpack_rails/node_modules/express/node_modules/proxy-addr/package.json +90 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/CHANGELOG.md +88 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/CONTRIBUTING.md +1 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/LICENSE +28 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/README.md +317 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/bower.json +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/lib/index.js +15 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/lib/parse.js +186 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/lib/stringify.js +121 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/lib/utils.js +190 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/package.json +56 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/test/parse.js +478 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/test/stringify.js +259 -0
- data/lib/webpack_rails/node_modules/express/node_modules/qs/test/utils.js +28 -0
- data/lib/webpack_rails/node_modules/express/node_modules/range-parser/HISTORY.md +35 -0
- data/lib/webpack_rails/node_modules/express/node_modules/range-parser/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/range-parser/README.md +48 -0
- data/lib/webpack_rails/node_modules/express/node_modules/range-parser/index.js +49 -0
- data/lib/webpack_rails/node_modules/express/node_modules/range-parser/package.json +76 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/HISTORY.md +295 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/README.md +195 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/index.js +820 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/destroy/README.md +38 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/destroy/index.js +36 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/destroy/package.json +67 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/HISTORY.md +76 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/README.md +63 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/index.js +120 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/LICENSE +16 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/README.md +42 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/inherits.js +1 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/inherits_browser.js +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/package.json +50 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/node_modules/inherits/test.js +25 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/http-errors/package.json +85 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/LICENSE +19 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/README.md +90 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/build/build.js +11 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/build/test.js +57 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/cli.js +8 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/mime.js +108 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/package.json +73 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/mime/types.json +1 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/ms/History.md +66 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/ms/LICENSE +20 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/ms/README.md +35 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/ms/index.js +125 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/ms/package.json +47 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/statuses/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/statuses/README.md +114 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/statuses/codes.json +64 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/statuses/index.js +60 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/node_modules/statuses/package.json +84 -0
- data/lib/webpack_rails/node_modules/express/node_modules/send/package.json +89 -0
- data/lib/webpack_rails/node_modules/express/node_modules/serve-static/HISTORY.md +284 -0
- data/lib/webpack_rails/node_modules/express/node_modules/serve-static/LICENSE +25 -0
- data/lib/webpack_rails/node_modules/express/node_modules/serve-static/README.md +235 -0
- data/lib/webpack_rails/node_modules/express/node_modules/serve-static/index.js +187 -0
- data/lib/webpack_rails/node_modules/express/node_modules/serve-static/package.json +83 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/HISTORY.md +180 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/README.md +132 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/index.js +262 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/media-typer/HISTORY.md +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/media-typer/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/media-typer/README.md +81 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/media-typer/index.js +270 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/media-typer/package.json +58 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/HISTORY.md +171 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/LICENSE +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/README.md +103 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/index.js +188 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/HISTORY.md +274 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/README.md +82 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/db.json +6474 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/node_modules/mime-types/package.json +84 -0
- data/lib/webpack_rails/node_modules/express/node_modules/type-is/package.json +93 -0
- data/lib/webpack_rails/node_modules/express/node_modules/utils-merge/LICENSE +20 -0
- data/lib/webpack_rails/node_modules/express/node_modules/utils-merge/README.md +34 -0
- data/lib/webpack_rails/node_modules/express/node_modules/utils-merge/index.js +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/utils-merge/package.json +58 -0
- data/lib/webpack_rails/node_modules/express/node_modules/vary/HISTORY.md +23 -0
- data/lib/webpack_rails/node_modules/express/node_modules/vary/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/express/node_modules/vary/README.md +91 -0
- data/lib/webpack_rails/node_modules/express/node_modules/vary/index.js +117 -0
- data/lib/webpack_rails/node_modules/express/node_modules/vary/package.json +72 -0
- data/lib/webpack_rails/node_modules/express/package.json +167 -0
- data/lib/webpack_rails/node_modules/is-array/History.md +11 -0
- data/lib/webpack_rails/node_modules/is-array/Makefile +11 -0
- data/lib/webpack_rails/node_modules/is-array/Readme.md +27 -0
- data/lib/webpack_rails/node_modules/is-array/component.json +13 -0
- data/lib/webpack_rails/node_modules/is-array/index.js +33 -0
- data/lib/webpack_rails/node_modules/is-array/package.json +41 -0
- data/lib/webpack_rails/node_modules/is-array/test/test.html +46 -0
- data/lib/webpack_rails/node_modules/is-object/LICENSE +19 -0
- data/lib/webpack_rails/node_modules/is-object/README.md +55 -0
- data/lib/webpack_rails/node_modules/is-object/index.js +5 -0
- data/lib/webpack_rails/node_modules/is-object/package.json +91 -0
- data/lib/webpack_rails/node_modules/is-object/test/index.js +23 -0
- data/lib/webpack_rails/node_modules/is-string/CHANGELOG.md +19 -0
- data/lib/webpack_rails/node_modules/is-string/LICENSE +22 -0
- data/lib/webpack_rails/node_modules/is-string/Makefile +61 -0
- data/lib/webpack_rails/node_modules/is-string/README.md +57 -0
- data/lib/webpack_rails/node_modules/is-string/index.js +20 -0
- data/lib/webpack_rails/node_modules/is-string/package.json +93 -0
- data/lib/webpack_rails/node_modules/is-string/test.js +36 -0
- data/lib/webpack_rails/node_modules/js-string-escape/CHANGELOG.md +9 -0
- data/lib/webpack_rails/node_modules/js-string-escape/LICENSE +21 -0
- data/lib/webpack_rails/node_modules/js-string-escape/README.md +44 -0
- data/lib/webpack_rails/node_modules/js-string-escape/index.js +22 -0
- data/lib/webpack_rails/node_modules/js-string-escape/package.json +63 -0
- data/lib/webpack_rails/node_modules/js-string-escape/test/test.js +43 -0
- data/lib/webpack_rails/node_modules/strip-ansi/index.js +6 -0
- data/lib/webpack_rails/node_modules/strip-ansi/license +21 -0
- data/lib/webpack_rails/node_modules/strip-ansi/node_modules/ansi-regex/index.js +4 -0
- data/lib/webpack_rails/node_modules/strip-ansi/node_modules/ansi-regex/license +21 -0
- data/lib/webpack_rails/node_modules/strip-ansi/node_modules/ansi-regex/package.json +86 -0
- data/lib/webpack_rails/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +31 -0
- data/lib/webpack_rails/node_modules/strip-ansi/package.json +85 -0
- data/lib/webpack_rails/node_modules/strip-ansi/readme.md +33 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/README.md +109 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/client-overlay.js +35 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/client.js +131 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/README.md +15 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/client.js +30 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/index.html +18 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/package.json +14 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/server.js +41 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js +22 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/helpers.js +8 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/middleware.js +83 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/History.md +20 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/License.md +19 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/Readme.md +15 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/decode.js +80 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/encode.js +64 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/index.js +4 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/package.json +96 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/test/common-index.js +3 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/test/index.js +210 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/querystring/test/tap-index.js +3 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/cli.js +47 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/index.js +6 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/node_modules/ansi-regex/index.js +4 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/node_modules/ansi-regex/license +21 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/node_modules/ansi-regex/package.json +86 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +33 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/package.json +89 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/node_modules/strip-ansi/readme.md +43 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/package.json +58 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/process-update.js +105 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/test/client-test.js +81 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/test/helpers-test.js +22 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/test/middleware-test.js +188 -0
- data/lib/webpack_rails/node_modules/webpack-hot-middleware/test/mocha.opts +1 -0
- data/lib/webpack_rails/node_modules/xtend/LICENCE +19 -0
- data/lib/webpack_rails/node_modules/xtend/Makefile +4 -0
- data/lib/webpack_rails/node_modules/xtend/README.md +32 -0
- data/lib/webpack_rails/node_modules/xtend/immutable.js +17 -0
- data/lib/webpack_rails/node_modules/xtend/mutable.js +15 -0
- data/lib/webpack_rails/node_modules/xtend/package.json +88 -0
- data/lib/webpack_rails/node_modules/xtend/test.js +63 -0
- data/lib/webpack_rails/package.json +22 -0
- data/lib/webpack_rails/processor.rb +28 -9
- data/lib/webpack_rails/require_directive_processor.rb +51 -0
- data/lib/webpack_rails/sprockets_environment.rb +45 -0
- data/lib/webpack_rails/task.rb +51 -22
- data/lib/webpack_rails/webpack-task-dev-server.js +122 -0
- data/lib/webpack_rails/{webpack-task.js → webpack-task-watch.js} +0 -0
- data/lib/webpack_rails/webpack.rake +5 -5
- data/lib/webpack_rails.rb +1 -3
- metadata +346 -5
- data/lib/webpack_rails/sprockets_base_webpack.rb +0 -14
- data/lib/webpack_rails/sprockets_index_webpack.rb +0 -15
@@ -0,0 +1,72 @@
|
|
1
|
+
{
|
2
|
+
"name": "vary",
|
3
|
+
"description": "Manipulate the HTTP Vary header",
|
4
|
+
"version": "1.0.1",
|
5
|
+
"author": {
|
6
|
+
"name": "Douglas Christopher Wilson",
|
7
|
+
"email": "doug@somethingdoug.com"
|
8
|
+
},
|
9
|
+
"license": "MIT",
|
10
|
+
"keywords": [
|
11
|
+
"http",
|
12
|
+
"res",
|
13
|
+
"vary"
|
14
|
+
],
|
15
|
+
"repository": {
|
16
|
+
"type": "git",
|
17
|
+
"url": "git+https://github.com/jshttp/vary.git"
|
18
|
+
},
|
19
|
+
"devDependencies": {
|
20
|
+
"istanbul": "0.3.17",
|
21
|
+
"mocha": "2.2.5",
|
22
|
+
"supertest": "1.0.1"
|
23
|
+
},
|
24
|
+
"files": [
|
25
|
+
"HISTORY.md",
|
26
|
+
"LICENSE",
|
27
|
+
"README.md",
|
28
|
+
"index.js"
|
29
|
+
],
|
30
|
+
"engines": {
|
31
|
+
"node": ">= 0.8"
|
32
|
+
},
|
33
|
+
"scripts": {
|
34
|
+
"test": "mocha --reporter spec --bail --check-leaks test/",
|
35
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
|
36
|
+
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
|
37
|
+
},
|
38
|
+
"gitHead": "650282ff8e614731837040a23e10f51c20728392",
|
39
|
+
"bugs": {
|
40
|
+
"url": "https://github.com/jshttp/vary/issues"
|
41
|
+
},
|
42
|
+
"homepage": "https://github.com/jshttp/vary",
|
43
|
+
"_id": "vary@1.0.1",
|
44
|
+
"_shasum": "99e4981566a286118dfb2b817357df7993376d10",
|
45
|
+
"_from": "vary@>=1.0.1 <1.1.0",
|
46
|
+
"_npmVersion": "1.4.28",
|
47
|
+
"_npmUser": {
|
48
|
+
"name": "dougwilson",
|
49
|
+
"email": "doug@somethingdoug.com"
|
50
|
+
},
|
51
|
+
"maintainers": [
|
52
|
+
{
|
53
|
+
"name": "dougwilson",
|
54
|
+
"email": "doug@somethingdoug.com"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "jongleberry",
|
58
|
+
"email": "jonathanrichardong@gmail.com"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"name": "fishrock123",
|
62
|
+
"email": "fishrock123@rocketmail.com"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"dist": {
|
66
|
+
"shasum": "99e4981566a286118dfb2b817357df7993376d10",
|
67
|
+
"tarball": "http://registry.npmjs.org/vary/-/vary-1.0.1.tgz"
|
68
|
+
},
|
69
|
+
"directories": {},
|
70
|
+
"_resolved": "http://registry.npmjs.org/vary/-/vary-1.0.1.tgz",
|
71
|
+
"readme": "ERROR: No README data found!"
|
72
|
+
}
|
@@ -0,0 +1,167 @@
|
|
1
|
+
{
|
2
|
+
"name": "express",
|
3
|
+
"description": "Fast, unopinionated, minimalist web framework",
|
4
|
+
"version": "4.13.3",
|
5
|
+
"author": {
|
6
|
+
"name": "TJ Holowaychuk",
|
7
|
+
"email": "tj@vision-media.ca"
|
8
|
+
},
|
9
|
+
"contributors": [
|
10
|
+
{
|
11
|
+
"name": "Aaron Heckmann",
|
12
|
+
"email": "aaron.heckmann+github@gmail.com"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"name": "Ciaran Jessup",
|
16
|
+
"email": "ciaranj@gmail.com"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"name": "Douglas Christopher Wilson",
|
20
|
+
"email": "doug@somethingdoug.com"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "Guillermo Rauch",
|
24
|
+
"email": "rauchg@gmail.com"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"name": "Jonathan Ong",
|
28
|
+
"email": "me@jongleberry.com"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"name": "Roman Shtylman",
|
32
|
+
"email": "shtylman+expressjs@gmail.com"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "Young Jae Sim",
|
36
|
+
"email": "hanul@hanul.me"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"license": "MIT",
|
40
|
+
"repository": {
|
41
|
+
"type": "git",
|
42
|
+
"url": "git+https://github.com/strongloop/express.git"
|
43
|
+
},
|
44
|
+
"homepage": "http://expressjs.com/",
|
45
|
+
"keywords": [
|
46
|
+
"express",
|
47
|
+
"framework",
|
48
|
+
"sinatra",
|
49
|
+
"web",
|
50
|
+
"rest",
|
51
|
+
"restful",
|
52
|
+
"router",
|
53
|
+
"app",
|
54
|
+
"api"
|
55
|
+
],
|
56
|
+
"dependencies": {
|
57
|
+
"accepts": "~1.2.12",
|
58
|
+
"array-flatten": "1.1.1",
|
59
|
+
"content-disposition": "0.5.0",
|
60
|
+
"content-type": "~1.0.1",
|
61
|
+
"cookie": "0.1.3",
|
62
|
+
"cookie-signature": "1.0.6",
|
63
|
+
"debug": "~2.2.0",
|
64
|
+
"depd": "~1.0.1",
|
65
|
+
"escape-html": "1.0.2",
|
66
|
+
"etag": "~1.7.0",
|
67
|
+
"finalhandler": "0.4.0",
|
68
|
+
"fresh": "0.3.0",
|
69
|
+
"merge-descriptors": "1.0.0",
|
70
|
+
"methods": "~1.1.1",
|
71
|
+
"on-finished": "~2.3.0",
|
72
|
+
"parseurl": "~1.3.0",
|
73
|
+
"path-to-regexp": "0.1.7",
|
74
|
+
"proxy-addr": "~1.0.8",
|
75
|
+
"qs": "4.0.0",
|
76
|
+
"range-parser": "~1.0.2",
|
77
|
+
"send": "0.13.0",
|
78
|
+
"serve-static": "~1.10.0",
|
79
|
+
"type-is": "~1.6.6",
|
80
|
+
"utils-merge": "1.0.0",
|
81
|
+
"vary": "~1.0.1"
|
82
|
+
},
|
83
|
+
"devDependencies": {
|
84
|
+
"after": "0.8.1",
|
85
|
+
"ejs": "2.3.3",
|
86
|
+
"istanbul": "0.3.17",
|
87
|
+
"marked": "0.3.5",
|
88
|
+
"mocha": "2.2.5",
|
89
|
+
"should": "7.0.2",
|
90
|
+
"supertest": "1.0.1",
|
91
|
+
"body-parser": "~1.13.3",
|
92
|
+
"connect-redis": "~2.4.1",
|
93
|
+
"cookie-parser": "~1.3.5",
|
94
|
+
"cookie-session": "~1.2.0",
|
95
|
+
"express-session": "~1.11.3",
|
96
|
+
"jade": "~1.11.0",
|
97
|
+
"method-override": "~2.3.5",
|
98
|
+
"morgan": "~1.6.1",
|
99
|
+
"multiparty": "~4.1.2",
|
100
|
+
"vhost": "~3.0.1"
|
101
|
+
},
|
102
|
+
"engines": {
|
103
|
+
"node": ">= 0.10.0"
|
104
|
+
},
|
105
|
+
"files": [
|
106
|
+
"LICENSE",
|
107
|
+
"History.md",
|
108
|
+
"Readme.md",
|
109
|
+
"index.js",
|
110
|
+
"lib/"
|
111
|
+
],
|
112
|
+
"scripts": {
|
113
|
+
"test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/",
|
114
|
+
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",
|
115
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
|
116
|
+
"test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"
|
117
|
+
},
|
118
|
+
"gitHead": "ef7ad681b245fba023843ce94f6bcb8e275bbb8e",
|
119
|
+
"bugs": {
|
120
|
+
"url": "https://github.com/strongloop/express/issues"
|
121
|
+
},
|
122
|
+
"_id": "express@4.13.3",
|
123
|
+
"_shasum": "ddb2f1fb4502bf33598d2b032b037960ca6c80a3",
|
124
|
+
"_from": "express@>=4.13.3 <5.0.0",
|
125
|
+
"_npmVersion": "1.4.28",
|
126
|
+
"_npmUser": {
|
127
|
+
"name": "dougwilson",
|
128
|
+
"email": "doug@somethingdoug.com"
|
129
|
+
},
|
130
|
+
"maintainers": [
|
131
|
+
{
|
132
|
+
"name": "tjholowaychuk",
|
133
|
+
"email": "tj@vision-media.ca"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"name": "jongleberry",
|
137
|
+
"email": "jonathanrichardong@gmail.com"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"name": "dougwilson",
|
141
|
+
"email": "doug@somethingdoug.com"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"name": "rfeng",
|
145
|
+
"email": "enjoyjava@gmail.com"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"name": "aredridel",
|
149
|
+
"email": "aredridel@dinhe.net"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"name": "strongloop",
|
153
|
+
"email": "callback@strongloop.com"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"name": "defunctzombie",
|
157
|
+
"email": "shtylman@gmail.com"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"dist": {
|
161
|
+
"shasum": "ddb2f1fb4502bf33598d2b032b037960ca6c80a3",
|
162
|
+
"tarball": "http://registry.npmjs.org/express/-/express-4.13.3.tgz"
|
163
|
+
},
|
164
|
+
"directories": {},
|
165
|
+
"_resolved": "http://registry.npmjs.org/express/-/express-4.13.3.tgz",
|
166
|
+
"readme": "ERROR: No README data found!"
|
167
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
1.0.0 / 2013-02-01
|
3
|
+
==================
|
4
|
+
|
5
|
+
* Merge pull request #2 from jepso-ci-4-all/master
|
6
|
+
* Add jepso-ci badge to readme
|
7
|
+
* Merge pull request #1 from jepso-ci-4-all/master
|
8
|
+
* Add jepso-ci
|
9
|
+
* Add tests
|
10
|
+
* remove es5 from readme confuses ppl
|
11
|
+
* use Array.isArray if exists.
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<a href="https://jepso-ci.com/yields/isArray">
|
2
|
+
<img src="https://jepso-ci.com/yields/isArray.svg" align="right" alt="jepso-ci status" />
|
3
|
+
</a>
|
4
|
+
# isArray
|
5
|
+
|
6
|
+
Check if the given `value` is an `Array`.
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
$ component install yields/isArray
|
11
|
+
|
12
|
+
## API
|
13
|
+
|
14
|
+
### isArray(val)
|
15
|
+
|
16
|
+
```javascript
|
17
|
+
isArray(arguments);
|
18
|
+
// > false
|
19
|
+
isArray();
|
20
|
+
// > false
|
21
|
+
isArray([]);
|
22
|
+
// > true
|
23
|
+
```
|
24
|
+
|
25
|
+
## License
|
26
|
+
|
27
|
+
MIT
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "isArray",
|
3
|
+
"repo": "yields/isArray",
|
4
|
+
"description": "Check if the given value is an Array",
|
5
|
+
"version": "1.0.0",
|
6
|
+
"keywords": ["isArray", "es5", "array"],
|
7
|
+
"dependencies": {},
|
8
|
+
"development": {},
|
9
|
+
"license": "MIT",
|
10
|
+
"scripts": [
|
11
|
+
"index.js"
|
12
|
+
]
|
13
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* isArray
|
4
|
+
*/
|
5
|
+
|
6
|
+
var isArray = Array.isArray;
|
7
|
+
|
8
|
+
/**
|
9
|
+
* toString
|
10
|
+
*/
|
11
|
+
|
12
|
+
var str = Object.prototype.toString;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Whether or not the given `val`
|
16
|
+
* is an array.
|
17
|
+
*
|
18
|
+
* example:
|
19
|
+
*
|
20
|
+
* isArray([]);
|
21
|
+
* // > true
|
22
|
+
* isArray(arguments);
|
23
|
+
* // > false
|
24
|
+
* isArray('');
|
25
|
+
* // > false
|
26
|
+
*
|
27
|
+
* @param {mixed} val
|
28
|
+
* @return {bool}
|
29
|
+
*/
|
30
|
+
|
31
|
+
module.exports = isArray || function (val) {
|
32
|
+
return !! val && '[object Array]' == str.call(val);
|
33
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{
|
2
|
+
"name": "is-array",
|
3
|
+
"repository": {
|
4
|
+
"type": "git",
|
5
|
+
"url": "git://github.com/retrofox/is-array.git"
|
6
|
+
},
|
7
|
+
"description": "Check if the given value is an Array",
|
8
|
+
"version": "1.0.1",
|
9
|
+
"keywords": [
|
10
|
+
"isArray",
|
11
|
+
"es5",
|
12
|
+
"array"
|
13
|
+
],
|
14
|
+
"dependencies": {},
|
15
|
+
"license": "MIT",
|
16
|
+
"bugs": {
|
17
|
+
"url": "https://github.com/retrofox/is-array/issues"
|
18
|
+
},
|
19
|
+
"homepage": "https://github.com/retrofox/is-array",
|
20
|
+
"_id": "is-array@1.0.1",
|
21
|
+
"dist": {
|
22
|
+
"shasum": "e9850cc2cc860c3bc0977e84ccf0dd464584279a",
|
23
|
+
"tarball": "http://registry.npmjs.org/is-array/-/is-array-1.0.1.tgz"
|
24
|
+
},
|
25
|
+
"_from": "is-array@>=1.0.1 <2.0.0",
|
26
|
+
"_npmVersion": "1.3.21",
|
27
|
+
"_npmUser": {
|
28
|
+
"name": "retrofox",
|
29
|
+
"email": "rdsuarez@gmail.com"
|
30
|
+
},
|
31
|
+
"maintainers": [
|
32
|
+
{
|
33
|
+
"name": "retrofox",
|
34
|
+
"email": "rdsuarez@gmail.com"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"directories": {},
|
38
|
+
"_shasum": "e9850cc2cc860c3bc0977e84ccf0dd464584279a",
|
39
|
+
"_resolved": "http://registry.npmjs.org/is-array/-/is-array-1.0.1.tgz",
|
40
|
+
"readme": "ERROR: No README data found!"
|
41
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>isArray Tests</title>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
6
|
+
<style>
|
7
|
+
.fail {
|
8
|
+
color: red;
|
9
|
+
}
|
10
|
+
.pass {
|
11
|
+
color: green;
|
12
|
+
}
|
13
|
+
</style>
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
<ul id="results"></ul>
|
17
|
+
<script src="../build/build.js"></script>
|
18
|
+
<script>
|
19
|
+
var isArray = require('isArray');
|
20
|
+
var results = document.getElementById('results');
|
21
|
+
function assert(val, text) {
|
22
|
+
results.innerHTML += '<li class="' + (val === true?'pass':'fail') + '">' + (val === true?'PASS':'FAIL') + ': ' + text + '</li>';
|
23
|
+
if (val !== true) window.testsPassed = false;
|
24
|
+
}
|
25
|
+
assert(isArray([]), '`[]` is an array.');
|
26
|
+
assert(isArray([1]), '`[1]` is an array.');
|
27
|
+
assert(isArray([1, 2, 3]), '`[1, 2, 3]` is an array.');
|
28
|
+
assert(!isArray(""), '`""` is not an array.');
|
29
|
+
assert(!isArray("foo"), '`"foo"` is not an array.');
|
30
|
+
assert(!isArray(5), '`5` is not an array.');
|
31
|
+
assert(!isArray(null), '`null` is not an array.');
|
32
|
+
assert(!isArray(undefined), '`undefined` is not an array.');
|
33
|
+
assert(!isArray(true), '`true` is not an array.');
|
34
|
+
assert(!isArray(false), '`false` is not an array.');
|
35
|
+
assert(!isArray({}), '`{}` is not an array.');
|
36
|
+
assert(!isArray({length: 1}), '`{length: 1}` is not an array.');
|
37
|
+
(function () {
|
38
|
+
assert(!isArray(arguments), '`arguments` is not an array.');
|
39
|
+
}());
|
40
|
+
(function () {
|
41
|
+
assert(!isArray(arguments), '`arguments` is not an array.');
|
42
|
+
}(1, 2, 3));
|
43
|
+
window.testsPassed = window.testsPassed != false;
|
44
|
+
</script>
|
45
|
+
</body>
|
46
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2013 Colingo.
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# is-object <sup>[![Version Badge][12]][11]</sup>
|
2
|
+
|
3
|
+
[![build status][1]][2]
|
4
|
+
[![dependency status][3]][4]
|
5
|
+
[![dev dependency status][9]][10]
|
6
|
+
[![License][license-image]][license-url]
|
7
|
+
[![Downloads][downloads-image]][downloads-url]
|
8
|
+
|
9
|
+
[![npm badge][13]][11]
|
10
|
+
|
11
|
+
[![browser support][5]][6]
|
12
|
+
|
13
|
+
Checks whether a value is an object
|
14
|
+
|
15
|
+
Because `typeof null` is a troll.
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```js
|
20
|
+
var isObject = require('is-object');
|
21
|
+
var assert = require('assert');
|
22
|
+
|
23
|
+
assert.equal(isObject(null), false);
|
24
|
+
assert.equal(isObject({}), true);
|
25
|
+
```
|
26
|
+
|
27
|
+
## Installation
|
28
|
+
|
29
|
+
`npm install is-object`
|
30
|
+
|
31
|
+
## Contributors
|
32
|
+
|
33
|
+
- [Raynos][7]
|
34
|
+
- [Jordan Harband][8]
|
35
|
+
|
36
|
+
## MIT Licensed
|
37
|
+
|
38
|
+
[1]: https://secure.travis-ci.org/ljharb/is-object.svg
|
39
|
+
[2]: http://travis-ci.org/ljharb/is-object
|
40
|
+
[3]: http://david-dm.org/ljharb/is-object/status.svg
|
41
|
+
[4]: http://david-dm.org/ljharb/is-object
|
42
|
+
[5]: http://ci.testling.com/ljharb/is-object.svg
|
43
|
+
[6]: http://ci.testling.com/ljharb/is-object
|
44
|
+
[7]: https://github.com/Raynos
|
45
|
+
[8]: https://github.com/ljharb
|
46
|
+
[9]: https://david-dm.org/ljharb/is-object/dev-status.svg
|
47
|
+
[10]: https://david-dm.org/ljharb/is-object#info=devDependencies
|
48
|
+
[11]: https://npmjs.org/package/is-object
|
49
|
+
[12]: http://vb.teelaun.ch/ljharb/is-object.svg
|
50
|
+
[13]: https://nodei.co/npm/is-object.png?downloads=true&stars=true
|
51
|
+
[license-image]: http://img.shields.io/npm/l/is-object.svg
|
52
|
+
[license-url]: LICENSE
|
53
|
+
[downloads-image]: http://img.shields.io/npm/dm/is-object.svg
|
54
|
+
[downloads-url]: http://npm-stat.com/charts.html?package=is-object
|
55
|
+
|
@@ -0,0 +1,91 @@
|
|
1
|
+
{
|
2
|
+
"name": "is-object",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "Checks whether a value is an object",
|
5
|
+
"keywords": [],
|
6
|
+
"author": {
|
7
|
+
"name": "Raynos",
|
8
|
+
"email": "raynos2@gmail.com"
|
9
|
+
},
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "git://github.com/ljharb/is-object.git"
|
13
|
+
},
|
14
|
+
"main": "index",
|
15
|
+
"homepage": "https://github.com/ljharb/is-object",
|
16
|
+
"contributors": [
|
17
|
+
{
|
18
|
+
"name": "Raynos"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "Jordan Harband",
|
22
|
+
"url": "https://github.com/ljharb"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"bugs": {
|
26
|
+
"url": "https://github.com/ljharb/is-object/issues",
|
27
|
+
"email": "ljharb@gmail.com"
|
28
|
+
},
|
29
|
+
"dependencies": {},
|
30
|
+
"devDependencies": {
|
31
|
+
"tape": "~2.14.0",
|
32
|
+
"covert": "~1.0.0",
|
33
|
+
"jscs": "~1.6.0"
|
34
|
+
},
|
35
|
+
"license": "MIT",
|
36
|
+
"licenses": [
|
37
|
+
{
|
38
|
+
"type": "MIT",
|
39
|
+
"url": "http://github.com/ljharb/is-object/raw/master/LICENSE"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"scripts": {
|
43
|
+
"test": "npm run lint && node test/index.js && npm run coverage-quiet",
|
44
|
+
"coverage": "covert test/index.js",
|
45
|
+
"coverage-quiet": "covert test/index.js --quiet",
|
46
|
+
"lint": "jscs *.js */*.js"
|
47
|
+
},
|
48
|
+
"testling": {
|
49
|
+
"files": "test/index.js",
|
50
|
+
"browsers": [
|
51
|
+
"ie/6..latest",
|
52
|
+
"firefox/3..6",
|
53
|
+
"firefox/16..latest",
|
54
|
+
"firefox/nightly",
|
55
|
+
"chrome/22..latest",
|
56
|
+
"chrome/canary",
|
57
|
+
"opera/10.0",
|
58
|
+
"opera/11..latest",
|
59
|
+
"opera/next",
|
60
|
+
"safari/4..latest",
|
61
|
+
"ipad/6.0..latest",
|
62
|
+
"iphone/6.0..latest"
|
63
|
+
]
|
64
|
+
},
|
65
|
+
"gitHead": "391812229f7de8e4778e1ed5dee824206c2534b9",
|
66
|
+
"_id": "is-object@1.0.1",
|
67
|
+
"_shasum": "8952688c5ec2ffd6b03ecc85e769e02903083470",
|
68
|
+
"_from": "is-object@>=1.0.1 <2.0.0",
|
69
|
+
"_npmVersion": "1.4.23",
|
70
|
+
"_npmUser": {
|
71
|
+
"name": "ljharb",
|
72
|
+
"email": "ljharb@gmail.com"
|
73
|
+
},
|
74
|
+
"maintainers": [
|
75
|
+
{
|
76
|
+
"name": "raynos",
|
77
|
+
"email": "raynos2@gmail.com"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"name": "ljharb",
|
81
|
+
"email": "ljharb@gmail.com"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"dist": {
|
85
|
+
"shasum": "8952688c5ec2ffd6b03ecc85e769e02903083470",
|
86
|
+
"tarball": "http://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz"
|
87
|
+
},
|
88
|
+
"directories": {},
|
89
|
+
"_resolved": "http://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz",
|
90
|
+
"readme": "ERROR: No README data found!"
|
91
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
var test = require('tape');
|
2
|
+
|
3
|
+
var isObject = require('../index');
|
4
|
+
|
5
|
+
test('returns true for objects', function (assert) {
|
6
|
+
assert.equal(isObject({}), true);
|
7
|
+
assert.equal(isObject([]), true);
|
8
|
+
|
9
|
+
assert.end();
|
10
|
+
});
|
11
|
+
|
12
|
+
test('returns false for null', function (assert) {
|
13
|
+
assert.equal(isObject(null), false);
|
14
|
+
|
15
|
+
assert.end();
|
16
|
+
});
|
17
|
+
|
18
|
+
test('returns false for primitives', function (assert) {
|
19
|
+
assert.equal(isObject(42), false);
|
20
|
+
assert.equal(isObject('foo'), false);
|
21
|
+
|
22
|
+
assert.end();
|
23
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
1.0.4 / 2015-01-29
|
2
|
+
=================
|
3
|
+
* If @@toStringTag is not present, use the old-school Object#toString test.
|
4
|
+
|
5
|
+
1.0.3 / 2015-01-29
|
6
|
+
=================
|
7
|
+
* Refactor to aid optimization of non-try/catch code.
|
8
|
+
|
9
|
+
1.0.2 / 2015-01-29
|
10
|
+
=================
|
11
|
+
* Fix broken package.json
|
12
|
+
|
13
|
+
1.0.1 / 2015-01-29
|
14
|
+
=================
|
15
|
+
* Add early exits for typeof "string", or typeof not "object".
|
16
|
+
|
17
|
+
1.0.0 / 2015-01-29
|
18
|
+
=================
|
19
|
+
* Initial release.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Jordan Harband
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|