Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rollup/plugin-typescript

Package Overview
Dependencies
Maintainers
4
Versions
47
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.0 to 8.2.1

9

CHANGELOG.md
# @rollup/plugin-typescript ChangeLog
## v8.2.1
_2021-03-26_
### Bugfixes
- fix: bump TypeScript version (#818)
- fix: update readme and peerDeps version (#830)
## v8.2.0

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

5

dist/index.es.js

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

in the target tsconfig.json file or plugin options.`.replace(/\n/g, '');
const rootDirErrorMessage = `${pluginName}: The "rootDir" or "rootDirs" option is required when the "tsconfig" option is not specified and "declaration" is "true".`;
const tsLibErrorMessage = `${pluginName}: Could not find module 'tslib', which is required by this plugin. Is it installed?`;

@@ -449,6 +448,2 @@ let undef;

}
const { options } = config;
if (options.declaration && !options.configFilePath && !options.rootDir && !options.rootDirs) {
context.error(rootDirErrorMessage);
}
if (!rollupOptions.preserveModules && tslib === null) {

@@ -455,0 +450,0 @@ context.error(tsLibErrorMessage);

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

in the target tsconfig.json file or plugin options.`.replace(/\n/g, '');
const rootDirErrorMessage = `${pluginName}: The "rootDir" or "rootDirs" option is required when the "tsconfig" option is not specified and "declaration" is "true".`;
const tsLibErrorMessage = `${pluginName}: Could not find module 'tslib', which is required by this plugin. Is it installed?`;

@@ -477,6 +476,2 @@ let undef;

}
const { options } = config;
if (options.declaration && !options.configFilePath && !options.rootDir && !options.rootDirs) {
context.error(rootDirErrorMessage);
}
if (!rollupOptions.preserveModules && tslib === null) {

@@ -483,0 +478,0 @@ context.error(tsLibErrorMessage);

6

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

@@ -51,3 +51,3 @@ "access": "public"

"tslib": "*",
"typescript": ">=3.4.0"
"typescript": ">=3.7.0"
},

@@ -65,5 +65,5 @@ "dependencies": {

"rollup": "^2.14.0",
"typescript": "^4.1.2"
"typescript": "^4.2.2"
},
"types": "types/index.d.ts"
}

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

This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+. This plugin also requires at least [TypeScript 3.4](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html).
This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+. This plugin also requires at least [TypeScript 3.7](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html).

@@ -19,0 +19,0 @@ ## Install

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