New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clouden-cdk/aws-lambda-typescript

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clouden-cdk/aws-lambda-typescript - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib/typescript-code.js

@@ -45,3 +45,3 @@ "use strict";

// Run the TypeScript compiler
const tscChild = child_process.spawnSync(pathModule.join(__dirname, '..', 'node_modules', '.bin', 'tsc'), ['--outDir', this.path], {
const tscChild = child_process.spawnSync('npx', ['tsc', '--outDir', this.path], {
cwd: this.typeScriptSourcePath,

@@ -48,0 +48,0 @@ stdio: 'inherit',

{
"name": "@clouden-cdk/aws-lambda-typescript",
"version": "0.9.0",
"version": "0.9.1",
"private": false,
"description": "TypeScript Build Step for AWS CDK Lambda Functions",
"main": "lib/typescript-code.js",
"types": "lib/typescript-code.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc"
"build": "tsc",
"prepare": "tsc"
},

@@ -11,0 +13,0 @@ "keywords": [],

@@ -26,3 +26,3 @@ # TypeScript Build Step for AWS CDK Lambda Functions

import { Function } from '@aws-cdk/aws-lambda'
import { TypeScriptCode } from 'clouden-cdk-typescript-code'
import { TypeScriptCode } from '@clouden-cdk/aws-lambda-typescript'

@@ -29,0 +29,0 @@ const lambdaFunction = new Function(this, 'TestFunction', {

@@ -44,3 +44,3 @@ import { Construct } from '@aws-cdk/core'

// Run the TypeScript compiler
const tscChild = child_process.spawnSync(pathModule.join(__dirname, '..', 'node_modules', '.bin', 'tsc'), ['--outDir', this.path], {
const tscChild = child_process.spawnSync('npx', ['tsc', '--outDir', this.path], {
cwd: this.typeScriptSourcePath,

@@ -47,0 +47,0 @@ stdio: 'inherit',

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