Socket
Socket
Sign inDemoInstall

@rollup/plugin-typescript

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-typescript - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

9

CHANGELOG.md
# @rollup/plugin-typescript ChangeLog
## v8.1.1
_2021-01-29_
### Bugfixes
- fix: fix plugin type declarations (#647)
- fix: only emit tsbuildinfo file when there is something to emit (#771)
## v8.1.0

@@ -4,0 +13,0 @@

14

dist/index.es.js

@@ -736,7 +736,11 @@ import path, { resolve, dirname, relative, win32, posix, normalize } from 'path';

if (tsBuildInfoPath) {
this.emitFile({
type: 'asset',
fileName: normalizePath(relative(outputOptions.dir, tsBuildInfoPath)),
source: emittedFiles.get(tsBuildInfoPath)
});
const tsBuildInfoSource = emittedFiles.get(tsBuildInfoPath);
// https://github.com/rollup/plugins/issues/681
if (tsBuildInfoSource) {
this.emitFile({
type: 'asset',
fileName: normalizePath(relative(outputOptions.dir, tsBuildInfoPath)),
source: tsBuildInfoSource
});
}
}

@@ -743,0 +747,0 @@ }

@@ -764,7 +764,11 @@ 'use strict';

if (tsBuildInfoPath) {
this.emitFile({
type: 'asset',
fileName: normalizePath(path.relative(outputOptions.dir, tsBuildInfoPath)),
source: emittedFiles.get(tsBuildInfoPath)
});
const tsBuildInfoSource = emittedFiles.get(tsBuildInfoPath);
// https://github.com/rollup/plugins/issues/681
if (tsBuildInfoSource) {
this.emitFile({
type: 'asset',
fileName: normalizePath(path.relative(outputOptions.dir, tsBuildInfoPath)),
source: tsBuildInfoSource
});
}
}

@@ -771,0 +775,0 @@ }

{
"name": "@rollup/plugin-typescript",
"version": "8.1.0",
"version": "8.1.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -41,3 +41,3 @@ import { FilterPattern } from '@rollup/pluginutils';

type ElementType<T extends Array<any>> = T extends (infer U)[] ? U : never;
type ElementType<T extends Array<any> | undefined> = T extends (infer U)[] ? U : never;

@@ -44,0 +44,0 @@ export type TransformerStage = keyof CustomTransformers;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc