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 9.0.2 to 10.0.0

7

dist/cjs/index.js

@@ -854,2 +854,9 @@ 'use strict';

: null);
const cwd = normalizePath(process.cwd());
if (parsedOptions.options.declaration &&
parsedOptions.options.declarationDir &&
(baseDir === null || baseDir === void 0 ? void 0 : baseDir.startsWith(cwd))) {
const declarationDir = baseDir.slice(cwd.length + 1);
baseDir = baseDir.slice(0, -1 * declarationDir.length);
}
if (!baseDir && tsconfig) {

@@ -856,0 +863,0 @@ baseDir = tsconfig.substring(0, tsconfig.lastIndexOf('/'));

@@ -832,2 +832,9 @@ import * as path from 'path';

: null);
const cwd = normalizePath(process.cwd());
if (parsedOptions.options.declaration &&
parsedOptions.options.declarationDir &&
(baseDir === null || baseDir === void 0 ? void 0 : baseDir.startsWith(cwd))) {
const declarationDir = baseDir.slice(cwd.length + 1);
baseDir = baseDir.slice(0, -1 * declarationDir.length);
}
if (!baseDir && tsconfig) {

@@ -834,0 +841,0 @@ baseDir = tsconfig.substring(0, tsconfig.lastIndexOf('/'));

2

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

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

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