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

@travetto/transformer

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/transformer - npm Package Compare versions

Comparing version 4.0.0-rc.2 to 4.0.0-rc.3

4

package.json
{
"name": "@travetto/transformer",
"version": "4.0.0-rc.2",
"version": "4.0.0-rc.3",
"description": "Functionality for AST transformations, with transformer registration, and general utils",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"@travetto/manifest": "^4.0.0-rc.2",
"@travetto/manifest": "^4.0.0-rc.3",
"tslib": "^2.6.2",

@@ -30,0 +30,0 @@ "typescript": "^5.3.3"

@@ -68,3 +68,4 @@ import ts from 'typescript';

const typeFlags = type.getFlags();
if (objFlags || typeFlags !== 1) {
// eslint-disable-next-line no-bitwise
if (!(objFlags & (ts.SymbolFlags.Type | ts.SymbolFlags.Interface)) || !(typeFlags & ts.TypeFlags.Any)) {
newBindings.push(el);

@@ -71,0 +72,0 @@ }

@@ -82,3 +82,3 @@ import ts from 'typescript';

const type = ManifestModuleUtil.getFileType(file.fileName);
if (type !== 'ts') { // Skip all non-ts files
if (type !== 'ts' || /^\/\/\s*@trv-no-transform/.test(file.getFullText())) { // Skip all non-ts files
return file;

@@ -85,0 +85,0 @@ }

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