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

kopy

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kopy - npm Package Compare versions

Comparing version 8.2.0 to 8.2.1

7

dist/kopy.common.js

@@ -84,4 +84,7 @@ 'use strict';

res = res.then ? yield res : res;
if (!res) {
throw new Error(`Validation failed at prompt: "${name}"`)
if (typeof res === 'string') {
// eslint-disable-next-line unicorn/prefer-type-error
throw new Error(`Validation failed at prompt "${name}":\n${res}`)
} else if (!res) {
throw new Error(`Validation failed at prompt "${name}"`)
}

@@ -88,0 +91,0 @@ }

{
"name": "kopy",
"version": "8.2.0",
"version": "8.2.1",
"description": "Gracefully copy a directory and render templates.",

@@ -43,3 +43,2 @@ "license": "MIT",

"rimraf": "^2.5.4",
"rollup-plugin-babel": "^3.0.2",
"xo": "^0.18.2"

@@ -46,0 +45,0 @@ },

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