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

@putout/engine-runner

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/engine-runner - npm Package Compare versions

Comparing version 12.5.0 to 12.6.0

11

lib/replace/index.js

@@ -122,3 +122,3 @@ 'use strict';

for (const [from, fn] of all) {
for (const [from, matchProperty] of all) {
const nodeFrom = template.ast(from);

@@ -138,3 +138,5 @@

return fn(values, path);
validateMatchProperty(matchProperty);
return matchProperty(values, path);
}

@@ -160,2 +162,7 @@

function validateMatchProperty(match) {
if (!isFn(match))
throw Error(`☝️ Looks like 'match' property value is not a 'function', but '${typeof match}' with value '${match}'.`);
}
const validateTemplateValues = (a, b) => {

@@ -162,0 +169,0 @@ for (const key of keys(a)) {

2

package.json
{
"name": "@putout/engine-runner",
"version": "12.5.0",
"version": "12.6.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

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