feat(core): mime + file-type packages
MODIFY
packages/core/package-lock.json
packages/core/package-lock.json
{
- "requires": true,
+ "name": "@marblejs/core",
+ "version": "0.3.1",
"lockfileVersion": 1,
+ "requires": true,
"dependencies": {
- "@types/chalk": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-2.2.0.tgz",
- "integrity": "sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw==",
+ "@types/file-type": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/@types/file-type/-/file-type-5.2.1.tgz",
+ "integrity": "sha512-Im0cJaIPJbbpuW91OrjXnqWPZCJK/tcFy2cFX+1qjG1gubgVZPPO9OVsTVAjotN4I1E6FAV0eIqt+rR8Y1c3iA==",
+ "dev": true,
"requires": {
- "chalk": "2.4.1"
+ "@types/node": "*"
}
},
- "@types/path-to-regexp": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/@types/path-to-regexp/-/path-to-regexp-1.7.0.tgz",
- "integrity": "sha1-8a+dnJ21+K2AqnXtQk22ZcSNbNQ=",
- "requires": {
- "path-to-regexp": "2.2.1"
- }
+ "@types/mime": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.0.tgz",
+ "integrity": "sha512-A2TAGbTFdBw9azHbpVd+/FkdW2T6msN1uct1O9bH3vTerEHKZhTXJUQXy+hNq1B0RagfU8U+KBdqiZpxjhOUQA==",
+ "dev": true
},
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "@types/mock-fs": {
+ "version": "3.6.30",
+ "resolved": "https://registry.npmjs.org/@types/mock-fs/-/mock-fs-3.6.30.tgz",
+ "integrity": "sha1-TYElQeh7I1dyYaWqlfcE3T0B5BA=",
+ "dev": true,
"requires": {
- "color-convert": "1.9.1"
+ "@types/node": "*"
}
},
- "chalk": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
- "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
- "requires": {
- "ansi-styles": "3.2.1",
- "escape-string-regexp": "1.0.5",
- "supports-color": "5.4.0"
- }
+ "@types/node": {
+ "version": "10.1.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.1.3.tgz",
+ "integrity": "sha512-GiCx7dRvta0hbxXoJFAUxz+CKX6bZSCKjM5slq2vPp/5zwK01T4ibYZkGr6EN4F2QmxDQR76/ZHg6q+7iFWCWw==",
+ "dev": true
},
- "color-convert": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz",
- "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==",
+ "@types/path-to-regexp": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@types/path-to-regexp/-/path-to-regexp-1.7.0.tgz",
+ "integrity": "sha1-8a+dnJ21+K2AqnXtQk22ZcSNbNQ=",
+ "dev": true,
"requires": {
- "color-name": "1.1.3"
+ "path-to-regexp": "*"
}
},
- "color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
+ "file-type": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-type/-/file-type-8.0.0.tgz",
+ "integrity": "sha512-vaWQ+6lIlPyzIRSqxcSaOhTPLOWTdVuzSwDvfOKEcnJS7B0yzJHMzAG8Z3+qNBXS7CPP/7PsGLTlAmRq0X5A+w=="
},
- "escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
+ "mime": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.3.1.tgz",
+ "integrity": "sha512-OEUllcVoydBHGN1z84yfQDimn58pZNNNXgZlHXSboxMlFvgI6MXSWpWKpFRra7H1HxpVhHTkrghfRW49k6yjeg=="
},
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
+ "mock-fs": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.5.0.tgz",
+ "integrity": "sha512-qqudNfOX7ZmX9vm1WIAU+gWlmxVNAnwY6UG3RkFutNywmRCUGP83tujP6IxX2DS1TmcaEZBOhYwDuYEmJYE+3w==",
+ "dev": true
},
"path-to-regexp": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz",
"integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ=="
- },
- "supports-color": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
- "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
- "requires": {
- "has-flag": "3.0.0"
- }
}
}
}

MODIFY
packages/core/package.json
packages/core/package.json
"rxjs": "~6.1.0"
},
"dependencies": {
+ "file-type": "^8.0.0",
+ "mime": "^2.3.1",
"path-to-regexp": "^2.2.1"
},
"devDependencies": {
+ "@types/file-type": "^5.2.1",
+ "@types/mime": "^2.0.0",
"@types/path-to-regexp": "^1.7.0"
},
"publishConfig": {

feat(core): mime + file-type packages