
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@kodasoftware/testing
Advanced tools
A typescript testing library for Koa APIs or Cypress e2e testing. This library provides useful helper Typescript Jest configuration, functions and classes for mocking and generating values for your tests.
You can install this library using the following command
npm add -D @kodasoftware/testing jest jest-junit ts-jest ts-node
It is also recommended to install the following typing for your typescript project
npm add -D @types/jsonwebtoken @types/jest @types/koda @types/node
Once installed you can configure Jest by adding the following files to your project
jest.config.ts
import type { Config } from 'jest';
import { pathsToModuleNameMapper } from 'ts-jest';
import baseConfig from '@kodasoftware/testing/dist/jest.config';
import { compilerOptions } from './tsconfig.json';
const config: Config = {
...baseConfig,
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths),
modulePaths: [compilerOptions.baseUrl],
};
export default config;
FAQs
A typescript testing library for Koa APIs or Cypress e2e testing
We found that @kodasoftware/testing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.