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

@nutui/draw-page-structure

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nutui/draw-page-structure - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

bin/default.config.js

@@ -9,3 +9,3 @@

output: {
filepath: '${conf.filepath}', // 生成骨架屏的存放页面,一般为项目的入口页面
filepath: '${conf.filepath.toString()}', // 生成骨架屏的存放页面,一般为项目的入口页面
injectSelector: '#app' // 生成的骨架屏插入页面的节点

@@ -12,0 +12,0 @@ },

@@ -26,3 +26,3 @@ #!/usr/bin/env node

askForConfig().then(ans => {
const outputPath = path.resolve(process.cwd(), ans.filepath)
const outputPath = path.resolve(process.cwd(), ans.filepath).replace(/\\/g, '\\\\')
prompts({

@@ -29,0 +29,0 @@ type: 'toggle',

{
"name": "@nutui/draw-page-structure",
"version": "0.0.2",
"version": "0.0.3",
"description": "a way to make skeleton screen",

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

@@ -6,3 +6,3 @@ const chalk = require('chalk');

if(str.length > 40) {
return str.slice(0, 15) + '.../' + (str.match(/([^\/\\]+)$/) || ['', ''])[1];
return str.slice(0, 15) + '...' + (str.match(/([\/\\][^\/\\]+)$/) || ['', ''])[1];
}

@@ -9,0 +9,0 @@ return str;

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