New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@openrewrite/types

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openrewrite/types - npm Package Compare versions

Comparing version
0.0.16
to
0.0.17
+7
-0
CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.0.17](https://github.com/openrewrite/typescript-types/compare/v0.0.16...v0.0.17) (2021-10-01)
### Features
* add class CategoryDescriptor ([63c6e63](https://github.com/openrewrite/typescript-types/commit/63c6e63ba85447b376bfbb557126ce00791bc82e))
### [0.0.16](https://github.com/openrewrite/typescript-types/compare/v0.0.15...v0.0.16) (2021-09-29)

@@ -7,0 +14,0 @@

+2
-2

@@ -1,2 +0,2 @@

import { RecipeOptionsDescriptor } from './openrewrite';
import { RecipeOptionsDescriptor, CategoryDescriptor } from './openrewrite';
import 'reflect-metadata';

@@ -27,3 +27,3 @@

public getName() {
return constructor.name;
return constructor.name; // TODO: this is not safe when minified; need to figure out different way
}

@@ -30,0 +30,0 @@

export type Maybe<T> = T | null;
export declare const Delegate: TreeVisitor<any, unknown>;
export interface Category {
displayName: string;
packageName: string;
description: string;
tags: string[];
}
export class CategoryDescriptor implements Category {
displayName: string;
packageName: string;
description: string;
tags: string[];
constructor(displayName: string, packageName: string, description: string, tags: string[]) {
this.displayName = displayName;
this.packageName = packageName;
this.description = description;
this.tags = tags;
};
}
export class Cursor {

@@ -5,0 +27,0 @@ private parent: Maybe<Cursor>;

{
"name": "@openrewrite/types",
"version": "0.0.16",
"version": "0.0.17",
"description": "Various Typescript types to aid in OpenRewrite recipe development",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",