You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

stc-copy-file

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stc-copy-file - npm Package Compare versions

Comparing version

to
1.0.4

21

lib/index.js

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

if (!this.file.hasAst()) {
_context.next = 21;
_context.next = 22;
break;

@@ -106,20 +106,21 @@ }

_context.t2 = _context.sent;
_context.next = 20;
return _context.t0.addFile.call(_context.t0, _context.t1, _context.t2);
_context.t0.addFile.call(_context.t0, _context.t1, _context.t2);
_context.next = 27;
case 20:
_context.next = 29;
break;
case 21:
case 22:
_context.t3 = this;
_context.t4 = targetPath;
_context.next = 25;
_context.next = 26;
return this.getContent('utf8');
case 25:
case 26:
_context.t5 = _context.sent;
_context.next = 29;
return _context.t3.addFile.call(_context.t3, _context.t4, _context.t5);
_context.t3.addFile.call(_context.t3, _context.t4, _context.t5);
case 27:
case 29:
case 'end':

@@ -126,0 +127,0 @@ return _context.stop();

{
"name": "stc-copy-file",
"description": "Stc plugin for copying file",
"version": "1.0.3",
"version": "1.0.4",
"author": {

@@ -6,0 +6,0 @@ "name": "lushijie",

Sorry, the diff of this file is not supported yet