Socket
Socket
Sign inDemoInstall

rollup-plugin-dts

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-dts - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

2

dist/rollup-plugin-dts.d.ts
// FILE GENERATED BY `rollup-plugin-dts@0.9.0`
// FILE GENERATED BY `rollup-plugin-dts@0.10.0`
// https://github.com/Swatinem/rollup-plugin-dts

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

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

ts.SyntaxKind.ThisKeyword,
ts.SyntaxKind.ThisType,
]);

@@ -231,2 +232,5 @@ class DeclarationScope {

this.pushReference(convertExpression(type.expression));
for (const arg of type.typeArguments || []) {
this.convertTypeNode(arg);
}
}

@@ -514,4 +518,7 @@ }

const source = convertExpression(node.moduleSpecifier);
if (!node.importClause) {
return;
}
// istanbul ignore if
if (!node.importClause || (!node.importClause.name && !node.importClause.namedBindings)) {
if (!node.importClause.name && !node.importClause.namedBindings) {
console.log({ code: node.getFullText() });

@@ -695,3 +702,3 @@ throw new Error(`ImportDeclaration should have imports`);

const version = "0.9.0";
const version = "0.10.0";

@@ -698,0 +705,0 @@ const TSLIB_ID = "\0tslib";

{
"name": "rollup-plugin-dts",
"version": "0.9.0",
"version": "0.10.0",
"description": "An experiment to generate .d.ts rollup files",

@@ -70,3 +70,3 @@ "keywords": [

"tslib": "^1.9.3",
"typescript": "3.2.4"
"typescript": "3.3.1"
},

@@ -73,0 +73,0 @@ "peerDependencies": {

@@ -83,5 +83,1 @@ # rollup-plugin-dts

## [How does it work](./docs/how-it-works.md)
# TODO
- [ ] Make shadowing with type parameters work correctly

Sorry, the diff of this file is not supported yet

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