Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.1.0 to 3.0.0

1

bin/index.js

@@ -505,2 +505,3 @@ "use strict";

print('?');
writeTypeParameters(member.typeParameters);
print('(');

@@ -507,0 +508,0 @@ var first = true;

5

lib/index.ts

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

if (hasFlag(member.flags, DeclarationFlags.Optional)) print('?');
writeTypeParameters(member.typeParameters);
print('(');

@@ -861,7 +862,7 @@ let first = true;

break;
case "string-literal":
print(JSON.stringify(e.value));
break;
case "number-literal":

@@ -868,0 +869,0 @@ if (isNaN(e.value)) print("typeof NaN");

{
"name": "dts-dom",
"version": "2.1.0",
"version": "3.0.0",
"homepage": "https://github.com/RyanCavanaugh/dts-dom",

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

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

## 2.1
## 3.0.0
* **Breaking change**: generic type parameters on methods were incorrectly not being emitted; see #42
## 2.1.0
* **New Functionality**: Added the ability to emit `export default` assignments

@@ -66,3 +69,3 @@ ```ts

## 2.0
## 2.0.0
* **New Functionality**: Added the ability to emit [triple-slash directives](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html) #39

@@ -89,3 +92,3 @@ ```ts

## 1.0
## 1.0.0

@@ -92,0 +95,0 @@ The same as 0.1.25

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