@after-work.js/transform
Advanced tools
Comparing version 5.0.0-beta.2 to 5.0.0-beta.3
{ | ||
"name": "@after-work.js/transform", | ||
"version": "5.0.0-beta.2", | ||
"version": "5.0.0-beta.3", | ||
"publishConfig": { | ||
@@ -10,3 +10,3 @@ "access": "public" | ||
"scripts": { | ||
"lint": "eslint src test" | ||
"lint": "eslint src" | ||
}, | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"dependencies": { | ||
"@after-work.js/utils": "^5.0.0-beta.2", | ||
"find-cache-dir": "1.0.0", | ||
"@after-work.js/utils": "^5.0.0-beta.3", | ||
"find-cache-dir": "2.0.0", | ||
"import-cwd": "2.1.0" | ||
@@ -31,3 +31,4 @@ }, | ||
"/src" | ||
] | ||
], | ||
"gitHead": "dd241d233da21e7f0e397c46e5357b66cf6363a9" | ||
} |
@@ -14,2 +14,3 @@ /* eslint class-methods-use-this: 0, no-restricted-syntax: 0, guard-for-in: 0, no-await-in-loop: 0, max-len: 0 */ | ||
} | ||
getCacheFilename(filename) { | ||
@@ -19,2 +20,3 @@ const hash = crypto.createHash('md5').update(filename).digest('hex'); | ||
} | ||
getCacheHash(filename, options) { | ||
@@ -27,2 +29,3 @@ const data = JSON.stringify({ | ||
} | ||
getStringifiedValue(filename) { | ||
@@ -33,2 +36,3 @@ const value = this.transform.get(filename); | ||
} | ||
setSync(filename, transformItem, options) { | ||
@@ -48,2 +52,3 @@ const { | ||
} | ||
getSync(filename, options = {}) { | ||
@@ -78,2 +83,3 @@ const { | ||
} | ||
safeLoadCacheSync(filename) { | ||
@@ -88,2 +94,3 @@ try { | ||
} | ||
safeSaveCacheSync(filename) { | ||
@@ -90,0 +97,0 @@ try { |
@@ -11,5 +11,5 @@ /* eslint global-require: 0, import/no-dynamic-require: 0, object-curly-newline: 0, class-methods-use-this: 0, max-len: 0 */ | ||
const addCoverage = argv.instrument.testExclude.shouldInstrument(filename); | ||
const plugins = addCoverage ? | ||
[[babelPluginIstanbul, {}]] : | ||
[]; | ||
const plugins = addCoverage | ||
? [[babelPluginIstanbul, {}]] | ||
: []; | ||
const sourceMaps = 'both'; | ||
@@ -22,3 +22,3 @@ const retainLines = true; | ||
const { babel: { typescript } } = argv; | ||
const { transform: { typescript: { compilerOptions, babelOptions } } } = argv; | ||
const { transform: { typescript: { compilerOptions = {}, babelOptions = {} } = {} } = {} } = argv; | ||
const fileName = filePath; | ||
@@ -25,0 +25,0 @@ compilerOptions.sourceRoot = sourceRoot; |
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
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
7881
4
+ Addedfind-cache-dir@2.0.0(transitive)
+ Addedfind-up@3.0.0(transitive)
+ Addedlocate-path@3.0.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@3.0.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpkg-dir@3.0.0(transitive)
- Removedfind-cache-dir@1.0.0(transitive)
- Removedfind-up@2.1.0(transitive)
- Removedlocate-path@2.0.0(transitive)
- Removedp-limit@1.3.0(transitive)
- Removedp-locate@2.0.0(transitive)
- Removedp-try@1.0.0(transitive)
- Removedpkg-dir@2.0.0(transitive)
Updatedfind-cache-dir@2.0.0