New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dts-dom

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dts-dom - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

lib/__tests__/__snapshots__/typeAlias.test.ts.snap

1

bin/index.d.ts

@@ -32,2 +32,3 @@ export interface DeclarationBase {

baseType?: ObjectTypeReference | TypeParameter;
defaultType?: Type;
}

@@ -34,0 +35,0 @@ export interface IndexSignature extends DeclarationBase {

@@ -50,3 +50,3 @@ "use strict";

kind: 'type-parameter',
name: name, baseType: baseType
name: name, baseType: baseType, defaultType: undefined
};

@@ -630,2 +630,6 @@ },

}
if (p.defaultType) {
print(' = ');
writeReference(p.defaultType);
}
first = false;

@@ -632,0 +636,0 @@ }

@@ -37,2 +37,3 @@ export interface DeclarationBase {

baseType?: ObjectTypeReference|TypeParameter;
defaultType?: Type;
}

@@ -302,3 +303,3 @@

kind: 'type-parameter',
name, baseType
name, baseType, defaultType: undefined
};

@@ -934,2 +935,7 @@ },

if (p.defaultType) {
print(' = ');
writeReference(p.defaultType);
}
first = false;

@@ -936,0 +942,0 @@ }

2

package.json
{
"name": "dts-dom",
"version": "3.2.0",
"version": "3.3.0",
"homepage": "https://github.com/RyanCavanaugh/dts-dom",

@@ -5,0 +5,0 @@ "description": "DOM for TypeScript Declaration Files",

@@ -46,2 +46,5 @@ [![npm version](https://badge.fury.io/js/dts-dom.svg)](https://badge.fury.io/js/dts-dom)

## 3.3.0
* **New Functionality**: [Generic defaults](https://github.com/RyanCavanaugh/dts-dom/pull/49)
## 3.2.0

@@ -131,2 +134,3 @@ * **New Functionality**: [Single-line JSDoc Comment option](https://github.com/RyanCavanaugh/dts-dom/pull/49)

* [wulunyi](https://www.github.com/wulunyi)
* [Harry Park](https://github.com/harryparkdotio)

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