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

@wrote/clone

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wrote/clone - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

11

build/index.js

@@ -41,3 +41,3 @@ let ensurePath = require('@wrote/ensure-path'); if (ensurePath && ensurePath.__esModule) ensurePath = ensurePath.default;

const { content } = await readDirStructure(from)
const pr = Object.keys(content).map(async (k) => {
const pr = Object.keys(/** @type {!Object} */ (content)).map(async (k) => {
const { type } = content[k]

@@ -63,4 +63,3 @@ const p = join(from, k)

const clone = async (path, to) => {
/** @type {import('fs').Stats} */
const s = await makePromise(lstat, path)
const s = /** @type {!fs.Stats} */ (await makePromise(lstat, path))
const b = basename(path)

@@ -80,2 +79,6 @@ const t = join(to, b)

module.exports=clone
//# sourceMappingURL=index.js.map
/**
* @suppress {nonStandardJsDocs}
* @typedef {import('fs').Stats} fs.Stats
*/
## 22 April 2019
### [1.2.1](https://github.com/wrote/clone/compare/v1.2.0...v1.2.1)
- [types] Fix types casting for _GCC_.
### [1.2.0](https://github.com/wrote/clone/compare/v1.1.1...v1.2.0)

@@ -4,0 +8,0 @@

{
"name": "@wrote/clone",
"version": "1.2.0",
"version": "1.2.1",
"description": "A package to clone a file or directory.",

@@ -15,3 +15,3 @@ "main": "build/index.js",

"doc": "NODE_DEBUG=doc doc -o README.md",
"b": "alamode src -o build",
"b": "alamode src -o build -s",
"d": "NODE_DEBUG=doc doc src/index.js -g",

@@ -18,0 +18,0 @@ "build": "yarn-s d b doc",

@@ -41,3 +41,3 @@ import ensurePath from '@wrote/ensure-path'

const { content } = await readDirStructure(from)
const pr = Object.keys(content).map(async (k) => {
const pr = Object.keys(/** @type {!Object} */ (content)).map(async (k) => {
const { type } = content[k]

@@ -63,4 +63,3 @@ const p = join(from, k)

const clone = async (path, to) => {
/** @type {import('fs').Stats} */
const s = await makePromise(lstat, path)
const s = /** @type {!fs.Stats} */ (await makePromise(lstat, path))
const b = basename(path)

@@ -79,2 +78,7 @@ const t = join(to, b)

export default clone
export default clone
/**
* @suppress {nonStandardJsDocs}
* @typedef {import('fs').Stats} fs.Stats
*/
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