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

tsickle

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsickle - npm Package Compare versions

Comparing version 0.24.0 to 0.24.1

built/definitions/transformer.d.ts

5

built/definitions/transformer_util.d.ts

@@ -34,7 +34,2 @@ /**

/**
* A version of ts.getMutableClone that does not always set the synthesized flag.
* @param node
*/
export declare function getMutableClone<T extends ts.Node>(node: T): T;
/**
* This is a version of `ts.visitEachChild` that does not visit children of types,

@@ -41,0 +36,0 @@ * as this leads to errors in TypeScript < 2.4.0 and as types are not emitted anyways.

16

built/src/transformer_util.js

@@ -296,3 +296,3 @@ "use strict";

// as the parsed SourceFiles could be cached!
node = getMutableClone(node);
node = ts.getMutableClone(node);
}

@@ -560,3 +560,3 @@ var textRange = { pos: node.pos, end: node.end };

// as otherwise TS fails when resolving types for decorators.
sf = getMutableClone(sf);
sf = ts.getMutableClone(sf);
sf.statements = statements;

@@ -567,14 +567,2 @@ return sf;

/**
* A version of ts.getMutableClone that does not always set the synthesized flag.
* @param node
*/
function getMutableClone(node) {
var clone = ts.getMutableClone(node);
if (!(node.flags & ts.NodeFlags.Synthesized)) {
clone.flags &= ~ts.NodeFlags.Synthesized;
}
return clone;
}
exports.getMutableClone = getMutableClone;
/**
* This is a version of `ts.visitEachChild` that does not visit children of types,

@@ -581,0 +569,0 @@ * as this leads to errors in TypeScript < 2.4.0 and as types are not emitted anyways.

{
"name": "tsickle",
"version": "0.24.0",
"version": "0.24.1",
"description": "Transpile TypeScript code to JavaScript with Closure annotations.",

@@ -5,0 +5,0 @@ "main": "built/src/tsickle.js",

@@ -322,3 +322,3 @@ /**

// as the parsed SourceFiles could be cached!
node = getMutableClone(node);
node = ts.getMutableClone(node);
}

@@ -604,3 +604,3 @@ const textRange = {pos: node.pos, end: node.end};

// as otherwise TS fails when resolving types for decorators.
sf = getMutableClone(sf);
sf = ts.getMutableClone(sf);
sf.statements = statements;

@@ -611,14 +611,2 @@ return sf;

/**
* A version of ts.getMutableClone that does not always set the synthesized flag.
* @param node
*/
export function getMutableClone<T extends ts.Node>(node: T): T {
const clone = ts.getMutableClone(node);
if (!(node.flags & ts.NodeFlags.Synthesized)) {
clone.flags &= ~ts.NodeFlags.Synthesized;
}
return clone;
}
/**
* This is a version of `ts.visitEachChild` that does not visit children of types,

@@ -625,0 +613,0 @@ * as this leads to errors in TypeScript < 2.4.0 and as types are not emitted anyways.

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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