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

ts-poet

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-poet - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

23

build/Code.js

@@ -48,4 +48,5 @@ "use strict";

const todo = [this];
while (todo.length > 0) {
const placeholder = todo.shift();
let i = 0;
while (i < todo.length) {
const placeholder = todo[i++];
if (placeholder instanceof Node_1.Node) {

@@ -87,15 +88,16 @@ todo.push(...placeholder.childNodes);

const todo = [this];
while (todo.length > 0) {
const placeholder = todo.shift();
let i = 0;
while (i < todo.length) {
const placeholder = todo[i++];
if (placeholder instanceof Node_1.Node) {
const array = placeholder.childNodes;
for (let i = 0; i < array.length; i++) {
const maybeImp = array[i];
for (let j = 0; j < array.length; j++) {
const maybeImp = array[j];
if (maybeImp instanceof Import_1.ImportsName && forceDefaultImport.includes(maybeImp.source)) {
const name = getName(maybeImp.source);
array[i] = (0, index_1.code) `${new Import_1.ImportsDefault(name, maybeImp.source)}.${maybeImp.sourceSymbol || maybeImp.symbol}`;
array[j] = (0, index_1.code) `${new Import_1.ImportsDefault(name, maybeImp.source)}.${maybeImp.sourceSymbol || maybeImp.symbol}`;
}
else if (maybeImp instanceof Import_1.ImportsName && forceModuleImport.includes(maybeImp.source)) {
const name = getName(maybeImp.source);
array[i] = (0, index_1.code) `${new Import_1.ImportsAll(name, maybeImp.source)}.${maybeImp.sourceSymbol || maybeImp.symbol}`;
array[j] = (0, index_1.code) `${new Import_1.ImportsAll(name, maybeImp.source)}.${maybeImp.sourceSymbol || maybeImp.symbol}`;
}

@@ -146,4 +148,5 @@ }

let todo = [object];
while (todo.length > 0) {
const current = todo.shift();
let i = 0;
while (i < todo.length) {
const current = todo[i++];
if (Array.isArray(current)) {

@@ -150,0 +153,0 @@ todo.push(...current);

{
"name": "ts-poet",
"version": "6.2.0",
"version": "6.2.1",
"description": "code generation DSL for TypeScript",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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