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

@waiting/shared-types-dev

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-types-dev - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

dist/base.d.ts

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# 2.4.0 (2021-04-29)
**Note:** Version bump only for package @waiting/shared-types-dev
# 2.3.0 (2021-04-25)

@@ -8,0 +16,0 @@

14

dist/index.cjs.js

@@ -5,3 +5,3 @@ /**

*
* @version 2.2.0
* @version 2.3.0
* @author waiting

@@ -17,4 +17,4 @@ * @license MIT

var tsMorph = require('ts-morph');
var ts = require('typescript');
var sharedCore = require('@waiting/shared-core');
var ts = require('typescript');
var sourceMapSupport = require('source-map-support');

@@ -33,4 +33,4 @@

// incremental: true,
module: tsMorph.ts.ModuleKind.ES2015,
moduleResolution: tsMorph.ts.ModuleResolutionKind.NodeJs,
module: ts__default['default'].ModuleKind.ES2015,
moduleResolution: ts__default['default'].ModuleResolutionKind.NodeJs,
newLine: 1,

@@ -44,3 +44,3 @@ noUnusedLocals: false,

strict: true,
target: tsMorph.ts.ScriptTarget.ESNext,
target: ts__default['default'].ScriptTarget.ESNext,
lib: ['lib.esnext.full.d.ts'],

@@ -173,3 +173,3 @@ };

const file = options.sourceFile;
const expressions = file.getDescendantsOfKind(tsMorph.ts.SyntaxKind.CallExpression);
const expressions = file.getDescendantsOfKind(ts__default['default'].SyntaxKind.CallExpression);
const ret = expressions.find((node) => {

@@ -198,3 +198,3 @@ const start = node.getStart();

}
const pNode = express.getParentIfKind(tsMorph.ts.SyntaxKind.VariableDeclaration);
const pNode = express.getParentIfKind(ts__default['default'].SyntaxKind.VariableDeclaration);
if (pNode) {

@@ -201,0 +201,0 @@ const varname = pNode.getName();

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

import { ts, Project, SyntaxKind, } from 'ts-morph';
import { Project, SyntaxKind, } from 'ts-morph';
// eslint-disable-next-line import/no-extraneous-dependencies
import ts from 'typescript';
export function createSourceFile(sourcePath, options) {

@@ -3,0 +5,0 @@ const defaultCompilerOptions = {

{
"name": "@waiting/shared-types-dev",
"author": "waiting",
"version": "2.3.0",
"version": "2.4.0",
"description": "shared typescript types devel",

@@ -17,3 +17,3 @@ "private": false,

"module": "./dist/index.js",
"types": "./src/index.ts",
"types": "./dist/index.d.ts",
"bugs": {

@@ -94,3 +94,3 @@ "url": "https://github.com/waitingsong/ts-ast/issues"

},
"gitHead": "5b74b34cf825df0bd018ed7a9f93fa24c4a444af"
"gitHead": "f0761e98605d3a528551e9cfc54cd9e46c372a7a"
}
import {
ts,
SourceFile,

@@ -12,2 +11,4 @@ Project,

} from 'ts-morph'
// eslint-disable-next-line import/no-extraneous-dependencies
import ts from 'typescript'

@@ -14,0 +15,0 @@ import { CallerInfo } from '../callstack/index'

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