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.0.0 to 3.1.0

1

bin/index.d.ts

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

union(members: Type[]): UnionType;
intersection(members: Type[]): IntersectionType;
typeof(type: NamedTypeReference): TypeofReference;

@@ -259,0 +260,0 @@ tripleSlashReferencePathDirective(path: string): TripleSlashReferencePathDirective;

@@ -236,2 +236,8 @@ "use strict";

},
intersection: function (members) {
return {
kind: 'intersection',
members: members
};
},
typeof: function (type) {

@@ -590,2 +596,5 @@ return {

break;
case "intersection":
writeDelimited(e.members, ' & ', writeUnionReference);
break;
case "typeof":

@@ -592,0 +601,0 @@ print("typeof ");

@@ -506,2 +506,9 @@ export interface DeclarationBase {

intersection(members: Type[]): IntersectionType {
return {
kind: 'intersection',
members
};
},
typeof(type: NamedTypeReference): TypeofReference {

@@ -881,2 +888,6 @@ return {

case "intersection":
writeDelimited(e.members, ' & ', writeUnionReference)
break;
case "typeof":

@@ -883,0 +894,0 @@ print("typeof ");

2

package.json
{
"name": "dts-dom",
"version": "3.0.0",
"version": "3.1.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.1.1
* **New Functionality**: Added the ability to emit intersection types
## 3.0.0

@@ -48,0 +51,0 @@ * **Breaking change**: generic type parameters on methods were incorrectly not being emitted; see #42

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