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 11.1.3 to 11.1.4

10

dist/cjs/index.js

@@ -437,2 +437,8 @@ 'use strict';

function isMapOutputFile(name) {
return name.endsWith('.map');
}
/**
* Checks if the given OutputFile represents some TypeScript source map
*/
function isTypeScriptMapOutputFile(name) {
return name.endsWith('ts.map');

@@ -864,4 +870,4 @@ }

async generateBundle(outputOptions) {
const declarationAndMapFiles = [...emittedFiles.keys()].filter((fileName) => isDeclarationOutputFile(fileName) || isMapOutputFile(fileName));
declarationAndMapFiles.forEach((id) => {
const declarationAndTypeScriptMapFiles = [...emittedFiles.keys()].filter((fileName) => isDeclarationOutputFile(fileName) || isTypeScriptMapOutputFile(fileName));
declarationAndTypeScriptMapFiles.forEach((id) => {
const code = getEmittedFile(id, emittedFiles, tsCache);

@@ -868,0 +874,0 @@ if (!code || !parsedOptions.options.declaration) {

@@ -415,2 +415,8 @@ import * as path from 'path';

function isMapOutputFile(name) {
return name.endsWith('.map');
}
/**
* Checks if the given OutputFile represents some TypeScript source map
*/
function isTypeScriptMapOutputFile(name) {
return name.endsWith('ts.map');

@@ -842,4 +848,4 @@ }

async generateBundle(outputOptions) {
const declarationAndMapFiles = [...emittedFiles.keys()].filter((fileName) => isDeclarationOutputFile(fileName) || isMapOutputFile(fileName));
declarationAndMapFiles.forEach((id) => {
const declarationAndTypeScriptMapFiles = [...emittedFiles.keys()].filter((fileName) => isDeclarationOutputFile(fileName) || isTypeScriptMapOutputFile(fileName));
declarationAndTypeScriptMapFiles.forEach((id) => {
const code = getEmittedFile(id, emittedFiles, tsCache);

@@ -846,0 +852,0 @@ if (!code || !parsedOptions.options.declaration) {

2

package.json
{
"name": "@rollup/plugin-typescript",
"version": "11.1.3",
"version": "11.1.4",
"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