Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dfeidao/atom-mobile

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfeidao/atom-mobile - npm Package Compare versions

Comparing version 4.6.201904300920 to 4.6.201904301108

fs/dir/caches.d.ts

7

fs/upload.js

@@ -12,3 +12,4 @@ "use strict";

const delete_1 = __importDefault(require("./delete"));
const path_1 = require("./path");
const doc_1 = __importDefault(require("./dir/doc"));
const dir = doc_1.default();
async function upload(fd, options, begin_cb, progress_cb) {

@@ -18,3 +19,3 @@ const provisional_fils = [];

const files = options.files;
const reg = new RegExp(`^${path_1.DocumentDirectoryPath}`);
const reg = new RegExp(`^${dir}`);
const need_copy = files.filter((i, index) => {

@@ -25,3 +26,3 @@ const filepath = i.filepath;

// 截取文件名+后缀, /public/images/test.jpg => test.jpg
const new_path = path_1.DocumentDirectoryPath + '/' + filepath.replace(/(.*\/)*([^.]+)/i, '$2');
const new_path = dir + '/' + filepath.replace(/(.*\/)*([^.]+)/i, '$2');
provisional_fils.push(new_path);

@@ -28,0 +29,0 @@ storage_fils.push(filepath);

{
"name": "@dfeidao/atom-mobile",
"version": "4.6.201904300920",
"version": "4.6.201904301108",
"description": "原子操作",

@@ -5,0 +5,0 @@ "scripts": {

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