@endemolshinegroup/cosmiconfig-typescript-loader
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -17,4 +17,2 @@ --- | ||
***Package***: | ||
<!-- | ||
@@ -21,0 +19,0 @@ 1. Any information here is helpful, such as misleading or ambiguous text |
@@ -0,1 +1,9 @@ | ||
## [1.0.1](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/compare/v1.0.0...v1.0.1) (2019-07-13) | ||
### Bug Fixes | ||
* **package:** add missing dependency "make-error" ([d8c8948](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/commit/d8c8948)) | ||
* **security:** upgrade dependencies to fix CVE-2018-16469 ([10dc113](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/commit/10dc113)) | ||
# 1.0.0 (2018-10-13) | ||
@@ -2,0 +10,0 @@ |
@@ -76,4 +76,2 @@ # Contributing | ||
[link-lerna]: https://lernajs.io/ | ||
[link-yarn-workspaces]: https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/ | ||
[link-tslint]: https://palantir.github.io/tslint/ | ||
@@ -80,0 +78,0 @@ [link-prettier]: https://prettier.io/ |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const lodash_get_1 = __importDefault(require("lodash.get")); | ||
const TypeScriptCompileError_1 = __importDefault(require("./Errors/TypeScriptCompileError")); | ||
const loader = (filePath) => __awaiter(this, void 0, void 0, function* () { | ||
const tslib_1 = require("tslib"); | ||
const lodash_get_1 = tslib_1.__importDefault(require("lodash.get")); | ||
const TypeScriptCompileError_1 = tslib_1.__importDefault(require("./Errors/TypeScriptCompileError")); | ||
const loader = (filePath) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
try { | ||
@@ -18,0 +8,0 @@ require('ts-node/register'); |
@@ -1,6 +0,4 @@ | ||
const preset = require('ts-jest').jestPreset; | ||
module.exports = { | ||
preset: 'ts-jest', | ||
collectCoverage: true, | ||
testEnvironment: 'node', | ||
coveragePathIgnorePatterns: [ | ||
@@ -16,11 +14,2 @@ '/node_modules/', | ||
}, | ||
// @TODO Uncomment the following lines once test coverage has reached an acceptable threshold | ||
// 'coverageThreshold': { | ||
// 'global': { | ||
// 'branches': 90, | ||
// 'functions': 95, | ||
// 'lines': 95, | ||
// 'statements': 95 | ||
// } | ||
// }, | ||
moduleDirectories: [ | ||
@@ -30,9 +19,2 @@ 'src', | ||
], | ||
testMatch: [ | ||
...preset.testMatch, | ||
'**/?(*.)+(spec|integ|test).ts?(x)', | ||
], | ||
transformIgnorePatterns: [ | ||
'<rootDir>/node_modules/', | ||
], | ||
}; | ||
}; |
{ | ||
"name": "@endemolshinegroup/cosmiconfig-typescript-loader", | ||
"description": "A TypeScript loader for Cosmiconfig", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -27,10 +27,10 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"pretest": "rimraf coverage/", | ||
"test": "jest --no-cache --coverage", | ||
"prebuild": "rimraf dist/", | ||
"build": "tsc", | ||
"build:docs": "rimraf docs/api && typedoc --out docs/api --target es6 --theme minimal --mode file src", | ||
"semantic-release": "semantic-release", | ||
"commit": "git-cz", | ||
"build": "rimraf dist/ && tsc", | ||
"build:docs": "rimraf docs/api && typedoc --out docs/api --target es6 --theme minimal --mode file src", | ||
"build:watch": "tsc --watch", | ||
"lint": "tslint -p tsconfig.json -t codeFrame 'src/**/*.ts' -e 'src/**/*.spec.ts'", | ||
"pretest": "rimraf coverage/", | ||
"test": "jest --no-cache", | ||
"semantic-release": "semantic-release" | ||
"lint": "tslint -p tsconfig.json -t codeFrame 'src/**/*.ts' -e 'src/**/*.spec.ts'" | ||
}, | ||
@@ -42,8 +42,10 @@ "peerDependencies": { | ||
"lodash.get": "^4", | ||
"ts-node": "^7" | ||
"make-error": "^1", | ||
"ts-node": "^8", | ||
"tslib": "^1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^7", | ||
"@commitlint/config-conventional": "^7", | ||
"@commitlint/prompt": "^7", | ||
"@commitlint/cli": "^8", | ||
"@commitlint/config-conventional": "^8", | ||
"@endemolshinegroup/cz-github": "^1", | ||
"@endemolshinegroup/prettier-config": "^1", | ||
@@ -54,23 +56,20 @@ "@endemolshinegroup/tslint-config": "^1", | ||
"@types/cosmiconfig": "^5", | ||
"@types/jest": "^23", | ||
"@types/jest": "^24", | ||
"@types/lodash.get": "^4", | ||
"@types/node": "^10", | ||
"@types/node": "8.*", | ||
"commitizen": "^3", | ||
"cosmiconfig": "^5", | ||
"husky": "^1", | ||
"jest": "^23", | ||
"lint-staged": "^7", | ||
"husky": "^3", | ||
"jest": "^24", | ||
"lint-staged": "^9", | ||
"prettier": "^1", | ||
"rimraf": "^2", | ||
"semantic-release": "^15", | ||
"ts-jest": "^23", | ||
"ts-jest": "^24", | ||
"tslint": "^5", | ||
"tslint-config-prettier": "^1", | ||
"tslint-eslint-rules": "^5", | ||
"typedoc": "^0.13.0", | ||
"typedoc": "^0.14.2", | ||
"typescript": "^3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# @endemolshinegroup/cosmiconfig-typescript-loader | ||
![Banner][icon-banner] | ||
@@ -40,2 +40,4 @@ [![MIT Licensed][icon-license]][link-license] | ||
[icon-banner]: docs/assets/banner.png | ||
[icon-license]: https://img.shields.io/github/license/EndemolShineGroup/cosmiconfig-typescript-loader.svg?longCache=true&style=flat-square | ||
@@ -66,2 +68,1 @@ [link-license]: LICENSE | ||
[link-prettier]: https://prettier.io/ | ||
@@ -6,2 +6,3 @@ { | ||
"esModuleInterop": true, | ||
"importHelpers": true, | ||
"lib": [ | ||
@@ -12,6 +13,7 @@ "es2015" | ||
"outDir": "./dist", | ||
"resolveJsonModule": true, | ||
"rootDir": "./src", | ||
"sourceMap": true, | ||
"strict": true, | ||
"target":"ES2015" | ||
"target":"es2015" | ||
}, | ||
@@ -18,0 +20,0 @@ "include": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
391169
67
5
36
128
1
+ Addedmake-error@^1
+ Addedtslib@^1
+ Addedarg@4.1.3(transitive)
+ Addeddiff@4.0.2(transitive)
+ Addedts-node@8.10.2(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedtypescript@5.6.2(transitive)
+ Addedyn@3.1.1(transitive)
- Removedarrify@1.0.1(transitive)
- Removeddiff@3.5.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedts-node@7.0.1(transitive)
- Removedyn@2.0.0(transitive)
Updatedts-node@^8