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

copy-and-watch

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-and-watch - npm Package Compare versions

Comparing version

to
0.1.2

4

index.js

@@ -59,2 +59,6 @@ /* IMPORTS */

createDirIfNotExist(to);
const stats = fs.statSync(from);
if (stats.isDirectory()) {
return;
}
fs.writeFileSync(to, fs.readFileSync(from));

@@ -61,0 +65,0 @@ console.log('[COPY]'.yellow, from, 'to'.yellow, to);

2

package.json
{
"name": "copy-and-watch",
"version": "0.1.1",
"version": "0.1.2",
"description": "Synchronize files or folders locally, with a watch option",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -36,1 +36,6 @@ # copy-and-watch

```
## Changelog
##### 0.1.2
- Fixed copy on dir bug (by arnarthor)