@solid-soda/tsn
Advanced tools
+6
-0
@@ -5,2 +5,8 @@ # Changelog | ||
| ### [1.3.1](https://github.com/solid-soda/ts-to-node/compare/v1.3.0...v1.3.1) (2020-11-30) | ||
| ### Bug Fixes | ||
| - fix bug with exports ([14a4457](https://github.com/solid-soda/ts-to-node/commit/14a445797fc9808d78479e6d376ee5f7a58d9a3d)) | ||
| ## [1.3.0](https://github.com/solid-soda/ts-to-node/compare/v1.2.3...v1.3.0) (2020-08-24) | ||
@@ -7,0 +13,0 @@ |
@@ -13,2 +13,3 @@ const through2 = require('through2'); | ||
| ...Array.from(codeLine.match(/import (.+) from ('|")(.*)('|")/g) || []), | ||
| ...Array.from(codeLine.match(/export (.+) from ('|")(.*)('|")/g) || []), | ||
| ]; | ||
@@ -37,6 +38,5 @@ | ||
| newCodeLine = newCodeLine.replace( | ||
| new RegExp(typescriptPath, 'g'), | ||
| `./${relativePath}/`, | ||
| ); | ||
| newCodeLine = newCodeLine | ||
| .replace(new RegExp(typescriptPath, 'g'), `./${relativePath}/`) | ||
| .replace(/\/\//g, '/'); | ||
| } | ||
@@ -43,0 +43,0 @@ } |
+1
-1
| { | ||
| "name": "@solid-soda/tsn", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:solid-soda/ts-to-node.git", |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
842372
0.04%