Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ovotech/ts-compose

Package Overview
Dependencies
Maintainers
117
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ovotech/ts-compose - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

8

dist/type.d.ts

@@ -27,2 +27,10 @@ import * as ts from 'typescript';

export declare const Protected: (isProtected?: boolean | undefined) => ts.Token<ts.SyntaxKind.ProtectedKeyword>[];
export declare const Method: ({ typeArgs, name, params, type, jsDoc, isOptional, }: {
typeArgs?: ts.TypeParameterDeclaration[] | undefined;
params: ts.ParameterDeclaration[];
name: string | ts.Identifier;
isOptional?: boolean | undefined;
type?: ts.TypeNode | undefined;
jsDoc?: string | undefined;
}) => ts.MethodSignature;
export declare const Prop: ({ name, type, initializer, isReadonly, isOptional, isPublic, isPrivate, isProtected, jsDoc, }: {

@@ -29,0 +37,0 @@ name: string | ts.Identifier | ts.StringLiteral | ts.NumericLiteral | ts.ComputedPropertyName;

1

dist/type.js

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

exports.Protected = (isProtected) => isProtected ? [ts.createModifier(ts.SyntaxKind.ProtectedKeyword)] : [];
exports.Method = ({ typeArgs, name, params, type, jsDoc, isOptional, }) => docs_1.withJSDoc(ts.createMethodSignature(typeArgs, params, type, name, exports.Optional(isOptional)), jsDoc);
exports.Prop = ({ name, type, initializer, isReadonly, isOptional, isPublic, isPrivate, isProtected, jsDoc, }) => docs_1.withJSDoc(ts.createPropertySignature([

@@ -53,0 +54,0 @@ ...exports.Readonly(isReadonly),

4

package.json
{
"name": "@ovotech/ts-compose",
"description": "An ts compiler api wrapper",
"version": "0.8.1",
"version": "0.8.2",
"main": "dist/index.js",

@@ -33,3 +33,3 @@ "types": "dist/index.d.ts",

},
"gitHead": "ebe20d61fafd9e39f48e4d6339f7ac8c0d4217f4"
"gitHead": "b83b1f9109e515227201dabfa0d1b41443496510"
}
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