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.2.1 to 8.2.3

24

CHANGELOG.md
# @rollup/plugin-typescript ChangeLog
## v8.2.3
_2021-07-15_
### Bugfixes
- fix: restart watch program on each build (#861)
### Updates
- docs: add link for @rollup/plugin-commonjs (#889)
## v8.2.2
_2021-07-15_
### Bugfixes
- fix: restart watch program on each build (#861)
### Updates
- docs: add link for @rollup/plugin-commonjs (#889)
## v8.2.1

@@ -4,0 +28,0 @@

@@ -536,2 +536,3 @@ import path, { resolve as resolve$1, dirname, relative, win32, posix, normalize } from 'path';

// @see https://github.com/microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json
// eslint-disable-next-line no-shadow
var DiagnosticCode;

@@ -691,2 +692,6 @@ (function (DiagnosticCode) {

// Fixes a memory leak https://github.com/rollup/plugins/issues/322
if (this.meta.watchMode !== true) {
// eslint-disable-next-line
program === null || program === void 0 ? void 0 : program.close();
}
if (!program) {

@@ -693,0 +698,0 @@ program = createWatchProgram(ts, this, {

@@ -564,2 +564,3 @@ 'use strict';

// @see https://github.com/microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json
// eslint-disable-next-line no-shadow
var DiagnosticCode;

@@ -719,2 +720,6 @@ (function (DiagnosticCode) {

// Fixes a memory leak https://github.com/rollup/plugins/issues/322
if (this.meta.watchMode !== true) {
// eslint-disable-next-line
program === null || program === void 0 ? void 0 : program.close();
}
if (!program) {

@@ -721,0 +726,0 @@ program = createWatchProgram(ts, this, {

14

package.json
{
"name": "@rollup/plugin-typescript",
"version": "8.2.1",
"version": "8.2.3",
"publishConfig": {

@@ -9,3 +9,6 @@ "access": "public"

"license": "MIT",
"repository": "rollup/plugins",
"repository": {
"url": "rollup/plugins",
"directory": "packages/typescript"
},
"author": "Oskar Segersvärd",

@@ -25,10 +28,5 @@ "homepage": "https://github.com/rollup/plugins/tree/master/packages/typescript/#readme",

"ci:test": "pnpm run test -- --verbose --serial",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:json && pnpm run lint:package",
"lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
"lint:js": "eslint --fix --cache src test --ext .js,.ts",
"lint:json": "prettier --write **/tsconfig.json",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run lint",
"prepublishOnly": "pnpm -w run lint",
"pretest": "pnpm run build",

@@ -35,0 +33,0 @@ "test": "ava",

@@ -234,3 +234,3 @@ [npm]: https://img.shields.io/npm/v/@rollup/plugin-typescript

Though it is not recommended, it is possible to configure this plugin to handle imports of CommonJS files from TypeScript. For this, you need to specify `CommonJS` as the module format and add `rollup-plugin-commonjs` to transpile the CommonJS output generated by TypeScript to ES Modules so that rollup can process it.
Though it is not recommended, it is possible to configure this plugin to handle imports of CommonJS files from TypeScript. For this, you need to specify `CommonJS` as the module format and add [`@rollup/plugin-commonjs`](https://github.com/rollup/plugins/tree/master/packages/commonjs) to transpile the CommonJS output generated by TypeScript to ES Modules so that rollup can process it.

@@ -237,0 +237,0 @@ ```js

@@ -0,1 +1,2 @@

/* eslint-disable no-use-before-define */
import { FilterPattern } from '@rollup/pluginutils';

@@ -2,0 +3,0 @@ import { Plugin } from 'rollup';

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