Socket
Socket
Sign inDemoInstall

tsutils

Package Overview
Dependencies
2
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.1.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# 3.1.0
**Features:**
* added utilities: `isKeywordKind` and `isValidJsxIdentifier`
* exposes typeguards for typescript@3.0 by default
# 3.0.0

@@ -2,0 +9,0 @@

6

package.json
{
"name": "tsutils",
"version": "3.0.0",
"version": "3.1.0",
"description": "utilities for working with typescript's AST",

@@ -47,6 +47,6 @@ "scripts": {

"tslint-consistent-codestyle": "^1.11.0",
"typescript": "^3.0.0-rc"
"typescript": "3.1.3"
},
"peerDependencies": {
"typescript": ">=2.8.0 || >= 3.1.0-dev"
"typescript": ">=2.8.0 || >= 3.2.0-dev"
},

@@ -53,0 +53,0 @@ "dependencies": {

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

export * from './2.9/node';
export * from './3.0/node';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./2.9/node"), exports);
tslib_1.__exportStar(require("./3.0/node"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5vZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQTJCIn0=

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

export * from './2.9/type';
export * from './3.0/type';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./2.9/type"), exports);
tslib_1.__exportStar(require("./3.0/type"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQTJCIn0=

@@ -9,2 +9,3 @@ import * as ts from 'typescript';

export declare function isJsDocKind(kind: ts.SyntaxKind): boolean;
export declare function isKeywordKind(kind: ts.SyntaxKind): boolean;
export declare function isThisParameter(parameter: ts.ParameterDeclaration): boolean;

@@ -78,2 +79,3 @@ export declare function getModifier(node: ts.Node, kind: ts.Modifier['kind']): ts.Modifier | undefined;

export declare function isValidNumericLiteral(text: string): boolean;
export declare function isValidJsxIdentifier(text: string): boolean;
export declare function isSameLine(sourceFile: ts.SourceFile, pos1: number, pos2: number): boolean;

@@ -80,0 +82,0 @@ export declare const enum SideEffectOptions {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc