commit
ea21ee7827
@ -0,0 +1 @@ |
||||
node_modules |
@ -0,0 +1,7 @@ |
||||
This directory and the files immediately inside it are automatically generated |
||||
when you change this package's NPM dependencies. Commit the files in this |
||||
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control |
||||
so that others run the same versions of sub-dependencies. |
||||
|
||||
You should NOT check in the node_modules directory that Meteor automatically |
||||
creates; if you are using git, the .gitignore file tells git to ignore it. |
@ -0,0 +1,503 @@ |
||||
{ |
||||
"dependencies": { |
||||
"ansi-regex": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz", |
||||
"from": "ansi-regex@>=2.0.0 <3.0.0" |
||||
}, |
||||
"ansi-styles": { |
||||
"version": "2.2.1", |
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", |
||||
"from": "ansi-styles@>=2.2.1 <3.0.0" |
||||
}, |
||||
"array-differ": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", |
||||
"from": "array-differ@>=1.0.0 <2.0.0" |
||||
}, |
||||
"array-find-index": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.1.tgz", |
||||
"from": "array-find-index@>=1.0.1 <2.0.0" |
||||
}, |
||||
"array-uniq": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", |
||||
"from": "array-uniq@>=1.0.2 <2.0.0" |
||||
}, |
||||
"autolinker": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/autolinker/-/autolinker-1.1.0.tgz", |
||||
"from": "autolinker@1.1.0" |
||||
}, |
||||
"beeper": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.0.tgz", |
||||
"from": "beeper@>=1.0.0 <2.0.0" |
||||
}, |
||||
"builtin-modules": { |
||||
"version": "1.1.1", |
||||
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", |
||||
"from": "builtin-modules@>=1.0.0 <2.0.0" |
||||
}, |
||||
"camelcase": { |
||||
"version": "2.1.1", |
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", |
||||
"from": "camelcase@>=2.0.0 <3.0.0" |
||||
}, |
||||
"camelcase-keys": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", |
||||
"from": "camelcase-keys@>=2.0.0 <3.0.0" |
||||
}, |
||||
"chalk": { |
||||
"version": "1.1.3", |
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", |
||||
"from": "chalk@>=1.0.0 <2.0.0" |
||||
}, |
||||
"clone": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", |
||||
"from": "clone@>=1.0.0 <2.0.0" |
||||
}, |
||||
"clone-stats": { |
||||
"version": "0.0.1", |
||||
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", |
||||
"from": "clone-stats@>=0.0.1 <0.0.2" |
||||
}, |
||||
"concat-with-sourcemaps": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/concat-with-sourcemaps/-/concat-with-sourcemaps-1.0.4.tgz", |
||||
"from": "concat-with-sourcemaps@*" |
||||
}, |
||||
"core-util-is": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", |
||||
"from": "core-util-is@>=1.0.0 <1.1.0" |
||||
}, |
||||
"currently-unhandled": { |
||||
"version": "0.4.1", |
||||
"resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", |
||||
"from": "currently-unhandled@>=0.4.1 <0.5.0" |
||||
}, |
||||
"dateformat": { |
||||
"version": "1.0.12", |
||||
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", |
||||
"from": "dateformat@>=1.0.11 <2.0.0" |
||||
}, |
||||
"decamelize": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", |
||||
"from": "decamelize@>=1.1.2 <2.0.0" |
||||
}, |
||||
"duplexer2": { |
||||
"version": "0.0.2", |
||||
"resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", |
||||
"from": "duplexer2@0.0.2" |
||||
}, |
||||
"error-ex": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.0.tgz", |
||||
"from": "error-ex@>=1.2.0 <2.0.0" |
||||
}, |
||||
"escape-string-regexp": { |
||||
"version": "1.0.5", |
||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", |
||||
"from": "escape-string-regexp@>=1.0.2 <2.0.0" |
||||
}, |
||||
"fancy-log": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.2.0.tgz", |
||||
"from": "fancy-log@>=1.1.0 <2.0.0" |
||||
}, |
||||
"find-up": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", |
||||
"from": "find-up@>=1.0.0 <2.0.0" |
||||
}, |
||||
"get-stdin": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", |
||||
"from": "get-stdin@>=4.0.1 <5.0.0" |
||||
}, |
||||
"glogg": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.0.tgz", |
||||
"from": "glogg@>=1.0.0 <2.0.0" |
||||
}, |
||||
"graceful-fs": { |
||||
"version": "4.1.6", |
||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.6.tgz", |
||||
"from": "graceful-fs@>=4.1.2 <5.0.0" |
||||
}, |
||||
"gulp-header": { |
||||
"version": "1.8.8", |
||||
"resolved": "https://registry.npmjs.org/gulp-header/-/gulp-header-1.8.8.tgz", |
||||
"from": "gulp-header@>=1.7.1 <2.0.0" |
||||
}, |
||||
"gulp-util": { |
||||
"version": "3.0.7", |
||||
"resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.7.tgz", |
||||
"from": "gulp-util@*", |
||||
"dependencies": { |
||||
"object-assign": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", |
||||
"from": "object-assign@>=3.0.0 <4.0.0" |
||||
} |
||||
} |
||||
}, |
||||
"gulplog": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", |
||||
"from": "gulplog@>=1.0.0 <2.0.0" |
||||
}, |
||||
"has-ansi": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", |
||||
"from": "has-ansi@>=2.0.0 <3.0.0" |
||||
}, |
||||
"has-gulplog": { |
||||
"version": "0.1.0", |
||||
"resolved": "https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz", |
||||
"from": "has-gulplog@>=0.1.0 <0.2.0" |
||||
}, |
||||
"hosted-git-info": { |
||||
"version": "2.1.5", |
||||
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.1.5.tgz", |
||||
"from": "hosted-git-info@>=2.1.4 <3.0.0" |
||||
}, |
||||
"indent-string": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", |
||||
"from": "indent-string@>=2.1.0 <3.0.0" |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", |
||||
"from": "inherits@>=2.0.1 <2.1.0" |
||||
}, |
||||
"is-arrayish": { |
||||
"version": "0.2.1", |
||||
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", |
||||
"from": "is-arrayish@>=0.2.1 <0.3.0" |
||||
}, |
||||
"is-builtin-module": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", |
||||
"from": "is-builtin-module@>=1.0.0 <2.0.0" |
||||
}, |
||||
"is-finite": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.1.tgz", |
||||
"from": "is-finite@>=1.0.0 <2.0.0" |
||||
}, |
||||
"is-utf8": { |
||||
"version": "0.2.1", |
||||
"resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", |
||||
"from": "is-utf8@>=0.2.0 <0.3.0" |
||||
}, |
||||
"isarray": { |
||||
"version": "0.0.1", |
||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", |
||||
"from": "isarray@0.0.1" |
||||
}, |
||||
"load-json-file": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", |
||||
"from": "load-json-file@>=1.0.0 <2.0.0" |
||||
}, |
||||
"lodash._basecopy": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", |
||||
"from": "lodash._basecopy@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._basetostring": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz", |
||||
"from": "lodash._basetostring@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._basevalues": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz", |
||||
"from": "lodash._basevalues@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._getnative": { |
||||
"version": "3.9.1", |
||||
"resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", |
||||
"from": "lodash._getnative@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._isiterateecall": { |
||||
"version": "3.0.9", |
||||
"resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", |
||||
"from": "lodash._isiterateecall@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._reescape": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz", |
||||
"from": "lodash._reescape@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._reevaluate": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz", |
||||
"from": "lodash._reevaluate@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._reinterpolate": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", |
||||
"from": "lodash._reinterpolate@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash._root": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz", |
||||
"from": "lodash._root@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.escape": { |
||||
"version": "3.2.0", |
||||
"resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz", |
||||
"from": "lodash.escape@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.isarguments": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", |
||||
"from": "lodash.isarguments@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.isarray": { |
||||
"version": "3.0.4", |
||||
"resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", |
||||
"from": "lodash.isarray@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.keys": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", |
||||
"from": "lodash.keys@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.restparam": { |
||||
"version": "3.6.1", |
||||
"resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz", |
||||
"from": "lodash.restparam@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.template": { |
||||
"version": "3.6.2", |
||||
"resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz", |
||||
"from": "lodash.template@>=3.0.0 <4.0.0" |
||||
}, |
||||
"lodash.templatesettings": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz", |
||||
"from": "lodash.templatesettings@>=3.0.0 <4.0.0" |
||||
}, |
||||
"loud-rejection": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", |
||||
"from": "loud-rejection@>=1.0.0 <2.0.0" |
||||
}, |
||||
"map-obj": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", |
||||
"from": "map-obj@>=1.0.1 <2.0.0" |
||||
}, |
||||
"meow": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", |
||||
"from": "meow@>=3.3.0 <4.0.0" |
||||
}, |
||||
"minimist": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", |
||||
"from": "minimist@>=1.1.0 <2.0.0" |
||||
}, |
||||
"multipipe": { |
||||
"version": "0.1.2", |
||||
"resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz", |
||||
"from": "multipipe@>=0.1.2 <0.2.0" |
||||
}, |
||||
"normalize-package-data": { |
||||
"version": "2.3.5", |
||||
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.5.tgz", |
||||
"from": "normalize-package-data@>=2.3.4 <3.0.0" |
||||
}, |
||||
"number-is-nan": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz", |
||||
"from": "number-is-nan@>=1.0.0 <2.0.0" |
||||
}, |
||||
"object-assign": { |
||||
"version": "4.1.0", |
||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz", |
||||
"from": "object-assign@*" |
||||
}, |
||||
"parse-json": { |
||||
"version": "2.2.0", |
||||
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", |
||||
"from": "parse-json@>=2.2.0 <3.0.0" |
||||
}, |
||||
"path-exists": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", |
||||
"from": "path-exists@>=2.0.0 <3.0.0" |
||||
}, |
||||
"path-type": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", |
||||
"from": "path-type@>=1.0.0 <2.0.0" |
||||
}, |
||||
"pify": { |
||||
"version": "2.3.0", |
||||
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", |
||||
"from": "pify@>=2.0.0 <3.0.0" |
||||
}, |
||||
"pinkie": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", |
||||
"from": "pinkie@>=2.0.0 <3.0.0" |
||||
}, |
||||
"pinkie-promise": { |
||||
"version": "2.0.1", |
||||
"resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", |
||||
"from": "pinkie-promise@>=2.0.0 <3.0.0" |
||||
}, |
||||
"process-nextick-args": { |
||||
"version": "1.0.7", |
||||
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", |
||||
"from": "process-nextick-args@>=1.0.6 <1.1.0" |
||||
}, |
||||
"read-pkg": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", |
||||
"from": "read-pkg@>=1.0.0 <2.0.0" |
||||
}, |
||||
"read-pkg-up": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", |
||||
"from": "read-pkg-up@>=1.0.1 <2.0.0" |
||||
}, |
||||
"readable-stream": { |
||||
"version": "1.1.14", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", |
||||
"from": "readable-stream@>=1.1.9 <1.2.0" |
||||
}, |
||||
"redent": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", |
||||
"from": "redent@>=1.0.0 <2.0.0" |
||||
}, |
||||
"repeating": { |
||||
"version": "2.0.1", |
||||
"resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", |
||||
"from": "repeating@>=2.0.0 <3.0.0" |
||||
}, |
||||
"replace-ext": { |
||||
"version": "0.0.1", |
||||
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz", |
||||
"from": "replace-ext@0.0.1" |
||||
}, |
||||
"semver": { |
||||
"version": "5.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", |
||||
"from": "semver@>=2.0.0 <3.0.0||>=3.0.0 <4.0.0||>=4.0.0 <5.0.0||>=5.0.0 <6.0.0" |
||||
}, |
||||
"signal-exit": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.1.tgz", |
||||
"from": "signal-exit@>=3.0.0 <4.0.0" |
||||
}, |
||||
"source-map": { |
||||
"version": "0.5.6", |
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", |
||||
"from": "source-map@>=0.5.1 <0.6.0" |
||||
}, |
||||
"sparkles": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.0.tgz", |
||||
"from": "sparkles@>=1.0.0 <2.0.0" |
||||
}, |
||||
"spdx-correct": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", |
||||
"from": "spdx-correct@>=1.0.0 <1.1.0" |
||||
}, |
||||
"spdx-expression-parse": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.3.tgz", |
||||
"from": "spdx-expression-parse@>=1.0.0 <1.1.0" |
||||
}, |
||||
"spdx-license-ids": { |
||||
"version": "1.2.2", |
||||
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", |
||||
"from": "spdx-license-ids@>=1.0.2 <2.0.0" |
||||
}, |
||||
"string_decoder": { |
||||
"version": "0.10.31", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", |
||||
"from": "string_decoder@>=0.10.0 <0.11.0" |
||||
}, |
||||
"strip-ansi": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", |
||||
"from": "strip-ansi@>=3.0.0 <4.0.0" |
||||
}, |
||||
"strip-bom": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", |
||||
"from": "strip-bom@>=2.0.0 <3.0.0" |
||||
}, |
||||
"strip-indent": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", |
||||
"from": "strip-indent@>=1.0.1 <2.0.0" |
||||
}, |
||||
"supports-color": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", |
||||
"from": "supports-color@>=2.0.0 <3.0.0" |
||||
}, |
||||
"through2": { |
||||
"version": "2.0.1", |
||||
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.1.tgz", |
||||
"from": "through2@>=2.0.0 <3.0.0", |
||||
"dependencies": { |
||||
"isarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", |
||||
"from": "isarray@>=1.0.0 <1.1.0" |
||||
}, |
||||
"readable-stream": { |
||||
"version": "2.0.6", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", |
||||
"from": "readable-stream@>=2.0.0 <2.1.0" |
||||
} |
||||
} |
||||
}, |
||||
"time-stamp": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.0.1.tgz", |
||||
"from": "time-stamp@>=1.0.0 <2.0.0" |
||||
}, |
||||
"trim-newlines": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", |
||||
"from": "trim-newlines@>=1.0.0 <2.0.0" |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"from": "util-deprecate@>=1.0.1 <1.1.0" |
||||
}, |
||||
"validate-npm-package-license": { |
||||
"version": "3.0.1", |
||||
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", |
||||
"from": "validate-npm-package-license@>=3.0.1 <4.0.0" |
||||
}, |
||||
"vinyl": { |
||||
"version": "0.5.3", |
||||
"resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", |
||||
"from": "vinyl@>=0.5.0 <0.6.0" |
||||
}, |
||||
"xtend": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", |
||||
"from": "xtend@>=4.0.0 <4.1.0" |
||||
} |
||||
} |
||||
} |
@ -1,49 +0,0 @@ |
||||
### |
||||
# AutoLinker is a named function that will replace links on messages |
||||
# @param {Object} message - The message object |
||||
### |
||||
|
||||
class AutoLinker |
||||
constructor: (message) -> |
||||
if _.trim message.html |
||||
regUrls = new RegExp(RocketChat.settings.get 'AutoLinker_UrlsRegExp') |
||||
|
||||
autolinker = new Autolinker |
||||
stripPrefix: RocketChat.settings.get 'AutoLinker_StripPrefix' |
||||
urls: |
||||
schemeMatches: RocketChat.settings.get 'AutoLinker_Urls_Scheme' |
||||
wwwMatches: RocketChat.settings.get 'AutoLinker_Urls_www' |
||||
tldMatches: RocketChat.settings.get 'AutoLinker_Urls_TLD' |
||||
email: RocketChat.settings.get 'AutoLinker_Email' |
||||
phone: RocketChat.settings.get 'AutoLinker_Phone' |
||||
twitter: false |
||||
replaceFn: (autolinker, match) -> |
||||
if match.getType() is 'url' |
||||
if regUrls.test match.matchedText |
||||
if match.matchedText.indexOf(Meteor.absoluteUrl()) is 0 |
||||
tag = match.buildTag() # returns an `Autolinker.HtmlTag` instance for an <a> tag |
||||
tag.setAttr('target', '' ); # sets target to empty, instead of _blank |
||||
return tag |
||||
return true |
||||
return null |
||||
|
||||
regNonAutoLink = /(```\w*[\n ]?[\s\S]*?```+?)|(`(?:[^`]+)`)/ |
||||
if RocketChat.settings.get 'Katex_Enabled' |
||||
regNonAutoLink = /(```\w*[\n ]?[\s\S]*?```+?)|(`(?:[^`]+)`)|(\\\(\w*[\n ]?[\s\S]*?\\\)+?)/ |
||||
|
||||
# Separate text in code blocks and non code blocks |
||||
msgParts = message.html.split regNonAutoLink |
||||
|
||||
for part, index in msgParts |
||||
if part?.length? > 0 |
||||
# Verify if this part is code |
||||
codeMatch = part.match regNonAutoLink |
||||
if not codeMatch? |
||||
msgParts[index] = autolinker.link part |
||||
|
||||
# Re-mount message |
||||
message.html = msgParts.join('') |
||||
|
||||
return message |
||||
|
||||
RocketChat.callbacks.add 'renderMessage', AutoLinker |
@ -0,0 +1,64 @@ |
||||
//
|
||||
// AutoLinker is a named function that will replace links on messages
|
||||
// @param {Object} message - The message object
|
||||
//
|
||||
|
||||
import Autolinker from 'autolinker'; |
||||
|
||||
function AutoLinker(message) { |
||||
if (_.trim(message.html)) { |
||||
const regUrls = new RegExp(RocketChat.settings.get('AutoLinker_UrlsRegExp')); |
||||
|
||||
const autolinker = new Autolinker({ |
||||
stripPrefix: RocketChat.settings.get('AutoLinker_StripPrefix'), |
||||
urls: { |
||||
schemeMatches: RocketChat.settings.get('AutoLinker_Urls_Scheme'), |
||||
wwwMatches: RocketChat.settings.get('AutoLinker_Urls_www'), |
||||
tldMatches: RocketChat.settings.get('AutoLinker_Urls_TLD') |
||||
}, |
||||
email: RocketChat.settings.get('AutoLinker_Email'), |
||||
phone: RocketChat.settings.get('AutoLinker_Phone'), |
||||
twitter: false, |
||||
replaceFn(match) { |
||||
if (match.getType() === 'url') { |
||||
if (regUrls.test(match.matchedText)) { |
||||
if (match.matchedText.indexOf(Meteor.absoluteUrl()) === 0) { |
||||
const tag = match.buildTag(); // returns an `Autolinker.HtmlTag` instance for an <a> tag
|
||||
tag.setAttr('target', ''); // sets target to empty, instead of _blank
|
||||
return tag; |
||||
} |
||||
|
||||
return true; |
||||
} |
||||
} |
||||
|
||||
return null; |
||||
} |
||||
}); |
||||
|
||||
let regNonAutoLink = /(```\w*[\n ]?[\s\S]*?```+?)|(`(?:[^`]+)`)/; |
||||
if (RocketChat.settings.get('Katex_Enabled')) { |
||||
regNonAutoLink = /(```\w*[\n ]?[\s\S]*?```+?)|(`(?:[^`]+)`)|(\\\(\w*[\n ]?[\s\S]*?\\\)+?)/; |
||||
} |
||||
|
||||
// Separate text in code blocks and non code blocks
|
||||
const msgParts = message.html.split(regNonAutoLink); |
||||
|
||||
msgParts.forEach((part, index) => { |
||||
if (part && part.length > 0) { |
||||
// Verify if this part is code
|
||||
const codeMatch = part.match(regNonAutoLink); |
||||
if (!codeMatch) { |
||||
msgParts[index] = autolinker.link(part); |
||||
} |
||||
} |
||||
}); |
||||
|
||||
// Re-mount message
|
||||
message.html = msgParts.join(''); |
||||
} |
||||
|
||||
return message; |
||||
} |
||||
|
||||
RocketChat.callbacks.add('renderMessage', AutoLinker); |
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@ |
||||
Meteor.startup -> |
||||
RocketChat.settings.add 'AutoLinker_StripPrefix', false, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true, i18nDescription: 'AutoLinker_StripPrefix_Description'} |
||||
RocketChat.settings.add 'AutoLinker_Urls_Scheme', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true} |
||||
RocketChat.settings.add 'AutoLinker_Urls_www', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true} |
||||
RocketChat.settings.add 'AutoLinker_Urls_TLD', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true} |
||||
RocketChat.settings.add 'AutoLinker_UrlsRegExp', '(://|www\\.).+', {type: 'string', group: 'Message', section: 'AutoLinker', public: true} |
||||
RocketChat.settings.add 'AutoLinker_Email', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true} |
||||
RocketChat.settings.add 'AutoLinker_Phone', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true, i18nDescription: 'AutoLinker_Phone_Description'} |
@ -0,0 +1,9 @@ |
||||
Meteor.startup(function() { |
||||
RocketChat.settings.add('AutoLinker_StripPrefix', false, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true, i18nDescription: 'AutoLinker_StripPrefix_Description'}); |
||||
RocketChat.settings.add('AutoLinker_Urls_Scheme', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true}); |
||||
RocketChat.settings.add('AutoLinker_Urls_www', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true}); |
||||
RocketChat.settings.add('AutoLinker_Urls_TLD', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true}); |
||||
RocketChat.settings.add('AutoLinker_UrlsRegExp', '(://|www\\.).+', {type: 'string', group: 'Message', section: 'AutoLinker', public: true}); |
||||
RocketChat.settings.add('AutoLinker_Email', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true}); |
||||
RocketChat.settings.add('AutoLinker_Phone', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true, i18nDescription: 'AutoLinker_Phone_Description'}); |
||||
}); |
@ -1,17 +0,0 @@ |
||||
### |
||||
# Colors is a named function that will process Colors |
||||
# @param {Object} message - The message object |
||||
### |
||||
|
||||
class ColorsClient |
||||
constructor: (message) -> |
||||
if _.trim message.html |
||||
msg = message.html |
||||
|
||||
msg = msg.replace /(?:^|\s|\n)(#[A-Fa-f0-9]{3}([A-Fa-f0-9]{3})?)\b/g, (match, completeColor) -> |
||||
return match.replace completeColor, "<div class=\"message-color\"><div class=\"message-color-sample\" style=\"background-color:#{completeColor}\"></div>#{completeColor.toUpperCase()}</div>" |
||||
|
||||
message.html = msg |
||||
return message |
||||
|
||||
RocketChat.callbacks.add 'renderMessage', ColorsClient, RocketChat.callbacks.priority.MEDIUM |
@ -0,0 +1,18 @@ |
||||
//
|
||||
// HexColorPreview is a named function that will process Colors
|
||||
// @param {Object} message - The message object
|
||||
//
|
||||
|
||||
function HexColorPreview(message) { |
||||
var msg; |
||||
if (_.trim(message.html) && RocketChat.settings.get('HexColorPreview_Enabled')) { |
||||
msg = message.html; |
||||
msg = msg.replace(/(?:^|\s|\n)(#[A-Fa-f0-9]{3}([A-Fa-f0-9]{3})?)\b/g, function(match, completeColor) { |
||||
return match.replace(completeColor, '<div class="message-color"><div class="message-color-sample" style="background-color:' + completeColor + '"></div>' + (completeColor.toUpperCase()) + '</div>'); |
||||
}); |
||||
message.html = msg; |
||||
} |
||||
return message; |
||||
} |
||||
|
||||
RocketChat.callbacks.add('renderMessage', HexColorPreview, RocketChat.callbacks.priority.MEDIUM); |
@ -0,0 +1,7 @@ |
||||
RocketChat.settings.add('HexColorPreview_Enabled', true, { |
||||
type: 'boolean', |
||||
i18nLabel: 'Enabled', |
||||
group: 'Message', |
||||
section: 'Hex Color Preview', |
||||
public: true |
||||
}); |
@ -1,16 +1,16 @@ |
||||
.message-color { |
||||
display: inline-block; |
||||
font-weight: 100; |
||||
display: inline-block; |
||||
font-weight: 100; |
||||
} |
||||
|
||||
.message-color-sample { |
||||
width: 14px; |
||||
height: 14px; |
||||
display: inline-block; |
||||
border-radius: 3px; |
||||
margin-right: 3px; |
||||
margin-left: 2px; |
||||
border: 1px solid rgba(0,0,0,.2); |
||||
position: relative; |
||||
top: 2px; |
||||
} |
||||
width: 14px; |
||||
height: 14px; |
||||
display: inline-block; |
||||
border-radius: 3px; |
||||
margin-right: 3px; |
||||
margin-left: 2px; |
||||
border: 1px solid rgba(0, 0, 0, .2); |
||||
position: relative; |
||||
top: 2px; |
||||
} |
||||
|
@ -1,10 +1,10 @@ |
||||
/* globals FileUpload, fileUploadHandler:true */ |
||||
/* exported fileUploadHandler */ |
||||
|
||||
fileUploadHandler = (meta, file, data) => { |
||||
fileUploadHandler = (meta, file) => { |
||||
var storageType = RocketChat.settings.get('FileUpload_Storage_Type'); |
||||
|
||||
if (FileUpload[storageType] !== undefined) { |
||||
return new FileUpload[storageType](meta, file, data); |
||||
return new FileUpload[storageType](meta, file); |
||||
} |
||||
}; |
||||
|
@ -0,0 +1,8 @@ |
||||
RocketChat.Migrations.add({ |
||||
version: 61, |
||||
up: function() { |
||||
RocketChat.models.Users.find({ active: false }).forEach(function(user) { |
||||
RocketChat.models.Subscriptions.setArchivedByUsername(user.username, true); |
||||
}); |
||||
} |
||||
}); |
Loading…
Reference in new issue