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

@simplism/core

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplism/core - npm Package Compare versions

Comparing version 3.2.4 to 3.2.9

2

dist/utils/LambdaParser.js

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

LambdaParser.parse = function (predicate) {
var matches = predicate.toString().match(/function\s?\(([^)]*)\)[^{]*{((?!return)(.|\r|\n))*return\s+((.|\r|\n)*);?\s?}$/);
var matches = predicate.toString().match(/function\s?\(([^)]*)\)[^{]*{((?!return)(.|\r|\n))*return\s?((.|\r|\n)*);?\s?}$/);
if (!matches) {

@@ -11,0 +11,0 @@ throw new Exception_1.Exception("Lambda 파싱 실패:\n" + predicate.toString() + "\n)");

@@ -12,4 +12,4 @@ {

"types": "./dist/index.d.ts",
"version": "3.2.4",
"version": "3.2.9",
"dependencies": {}
}

@@ -5,3 +5,3 @@ import {Exception} from "../exceptions/Exception";

static parse(predicate: (...args: any[]) => any): { params: string[]; returnContent: string } {
const matches = predicate.toString().match(/function\s?\(([^)]*)\)[^{]*{((?!return)(.|\r|\n))*return\s+((.|\r|\n)*);?\s?}$/);
const matches = predicate.toString().match(/function\s?\(([^)]*)\)[^{]*{((?!return)(.|\r|\n))*return\s?((.|\r|\n)*);?\s?}$/);
if (!matches) {

@@ -8,0 +8,0 @@ throw new Exception("Lambda 파싱 실패:\n" + predicate.toString() + "\n)");

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