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

@workflowai/code-generator

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workflowai/code-generator - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

6

dist/cjs/playground.js

@@ -39,5 +39,5 @@ "use strict";

const fileProviderImport = {
'fs-promise': 'import { readFile } from "fs/promises"\n',
'fs-promise': 'import { readFile } from "fs/promises"',
fetch: '',
axios: 'import axios from "axios"\n',
axios: 'import axios from "axios"',
}[fileDataProvider];

@@ -116,3 +116,3 @@ return {

const input: TaskInput<typeof ${taskFunctionName}> = ${beautifiedInput}
const ouput: TaskOutput<typeof ${taskFunctionName}> = ${(0, beautify_1.beautifyTypescript)(JSON.stringify(example.output))}
const output: TaskOutput<typeof ${taskFunctionName}> = ${(0, beautify_1.beautifyTypescript)(JSON.stringify(example.output))}

@@ -119,0 +119,0 @@ await ${taskFunctionName}.importRun(input, output)

@@ -36,5 +36,5 @@ import { inputSchemaToZod, outputSchemaToZod, } from '@workflowai/schema';

const fileProviderImport = {
'fs-promise': 'import { readFile } from "fs/promises"\n',
'fs-promise': 'import { readFile } from "fs/promises"',
fetch: '',
axios: 'import axios from "axios"\n',
axios: 'import axios from "axios"',
}[fileDataProvider];

@@ -113,3 +113,3 @@ return {

const input: TaskInput<typeof ${taskFunctionName}> = ${beautifiedInput}
const ouput: TaskOutput<typeof ${taskFunctionName}> = ${beautifyTypescript(JSON.stringify(example.output))}
const output: TaskOutput<typeof ${taskFunctionName}> = ${beautifyTypescript(JSON.stringify(example.output))}

@@ -116,0 +116,0 @@ await ${taskFunctionName}.importRun(input, output)

{
"name": "@workflowai/code-generator",
"version": "1.0.6",
"version": "1.0.7",
"description": "workflowAI code-generator",

@@ -5,0 +5,0 @@ "author": "workflowAI",

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