New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 9.3.2 to 10.0.0

2

lib/index.js

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

const isRemoved = (a) => a && a.removed;
const isRemoved = (a) => a?.removed;

@@ -21,0 +21,0 @@ module.exports.runPlugins = ({ast, shebang, fix, fixCount, plugins, template = require('./template')}) => {

@@ -9,5 +9,3 @@ 'use strict';

const name = '__putout_runner_replace';
const hasWatermark = (watermark) => (path) => path.node && path.node[name] && path.node[name] && path.node[name].has(watermark);
// uncomment on node v14
//const hasWatermark = (watermark) => (path) => path.node?.[name]?.has(watermark);
const hasWatermark = (watermark) => (path) => path.node?.[name]?.has(watermark);

@@ -14,0 +12,0 @@ module.exports = (from, to, path) => {

{
"name": "@putout/engine-runner",
"version": "9.3.2",
"version": "10.0.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -15,15 +15,9 @@ "description": "run putout plugins",

},
"nyc": {
"exclude": [
"**/*.spec.js",
"test"
]
},
"scripts": {
"test": "madrun test",
"watch:test": "madrun watch:test",
"lint:lib": "madrun lint:lib",
"lint": "madrun lint",
"fresh:lint": "madrun fresh:lint",
"lint:fresh": "madrun lint:fresh",
"fix:lint": "madrun fix:lint",
"putout": "madrun putout",
"coverage": "madrun coverage",

@@ -35,5 +29,5 @@ "report": "madrun report"

"@babel/types": "^7.12.7",
"@putout/compare": "^6.0.0",
"@putout/compare": "^7.0.0",
"@putout/engine-parser": "^3.0.0",
"@putout/operate": "^5.0.0",
"@putout/operate": "^6.0.0",
"debug": "^4.1.1",

@@ -64,7 +58,7 @@ "jessy": "^3.0.0",

"putout": "*",
"supertape": "^3.4.2"
"supertape": "^4.0.0"
},
"license": "MIT",
"engines": {
"node": ">=12"
"node": ">=14"
},

@@ -71,0 +65,0 @@ "publishConfig": {

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