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 1.0.0-rc.7 to 1.0.0-rc.8

6

package.json

@@ -10,3 +10,3 @@ {

"dependencies": {
"@travetto/base": "^1.0.0-rc.6"
"@travetto/base": "^1.0.0-rc.7"
},

@@ -31,4 +31,4 @@ "description": "Functionality for AST transformations, with transformer registration, and general utils",

},
"version": "1.0.0-rc.7",
"gitHead": "ecdcabf5eb948f12ce7c6c284307a3d4c238edc6"
"version": "1.0.0-rc.8",
"gitHead": "44aa8234585c1d9269eafe919ee26365c365ebca"
}

@@ -59,2 +59,3 @@ /* eslint-disable no-bitwise */

}
console.log('Resolving here');

@@ -61,0 +62,0 @@ if (!resolvedType.isClass()) { // Real type

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

if (resolved.key !== 'external') {
throw new Error(`Unable to import non-external type: ${node.getText()}`);
throw new Error(`Unable to import non-external type: ${node.getText()} ${resolved.key}`);
}

@@ -58,0 +58,0 @@ return resolved;

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

ts.createImportClause(undefined, ts.createNamespaceImport(ident)),
ts.createLiteral(require.resolve(path))
ts.createLiteral(path.replace(/^.*node_modules\//, '').replace(FsUtil.cwd, '@app'))
);

@@ -74,0 +74,0 @@ return imptStmt;

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