@rollup/plugin-typescript
Advanced tools
Comparing version 5.0.1 to 5.0.2
# @rollup/plugin-typescript ChangeLog | ||
## v5.0.2 | ||
_2020-07-12_ | ||
### Bugfixes | ||
- fix: utilize 'this.meta.watchMode' (#449) | ||
### Updates | ||
- chore: linting update (410ceb8) | ||
## v5.0.1 | ||
@@ -4,0 +16,0 @@ |
@@ -436,8 +436,8 @@ import { resolve, dirname, relative, win32, posix } from 'path'; | ||
promise = Promise.race([ | ||
new Promise(r => setTimeout(r, timeout, true)), | ||
new Promise(r => resolve = r) | ||
new Promise((r) => setTimeout(r, timeout, true)), | ||
new Promise((r) => (resolve = r)) | ||
]); | ||
} | ||
else { | ||
promise = new Promise(r => resolve = r); | ||
promise = new Promise((r) => (resolve = r)); | ||
} | ||
@@ -562,3 +562,3 @@ return { promise, resolve }; | ||
var _a; | ||
if (process.env.ROLLUP_WATCH !== 'true') { | ||
if (this.meta.watchMode !== true) { | ||
// ESLint doesn't understand optional chaining | ||
@@ -565,0 +565,0 @@ // eslint-disable-next-line |
@@ -439,8 +439,8 @@ 'use strict'; | ||
promise = Promise.race([ | ||
new Promise(r => setTimeout(r, timeout, true)), | ||
new Promise(r => resolve = r) | ||
new Promise((r) => setTimeout(r, timeout, true)), | ||
new Promise((r) => (resolve = r)) | ||
]); | ||
} | ||
else { | ||
promise = new Promise(r => resolve = r); | ||
promise = new Promise((r) => (resolve = r)); | ||
} | ||
@@ -565,3 +565,3 @@ return { promise, resolve }; | ||
var _a; | ||
if (process.env.ROLLUP_WATCH !== 'true') { | ||
if (this.meta.watchMode !== true) { | ||
// ESLint doesn't understand optional chaining | ||
@@ -568,0 +568,0 @@ // eslint-disable-next-line |
{ | ||
"name": "@rollup/plugin-typescript", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"publishConfig": { | ||
@@ -47,3 +47,3 @@ "access": "public" | ||
"peerDependencies": { | ||
"rollup": "^1.20.0||^2.0.0", | ||
"rollup": "^2.14.0", | ||
"tslib": "*", | ||
@@ -61,3 +61,3 @@ "typescript": ">=3.4.0" | ||
"buble": "^0.19.8", | ||
"rollup": "^2.0.0", | ||
"rollup": "^2.14.0", | ||
"tslib": "^1.10.0", | ||
@@ -64,0 +64,0 @@ "typescript": "^3.7.4" |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
71048
3