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

aiot-project-templates

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiot-project-templates - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

dist/templates/vela-demo/src/Common/logo.png

2

dist/main.js

@@ -1,2 +0,2 @@

(()=>{var e=[(e,t,r)=>{const s=r(1),a=r(2),i=r(3),o={watch:"Vela","tv-h5":"MinaH5","tv-quickapp":"MinaQuickApp",phone:"QuickApp"};let l=i.resolve(__dirname,"./templates");function n(e){let t=i.resolve(l,e),r=i.resolve(t,"./src/manifest.json"),s=i.resolve(t,"./manifest.json"),a=i.resolve(t,"package.json");return new Promise((async(e,o)=>{try{let o={},n=await Promise.allSettled([c(r),c(s)]);for(var l of n)"fulfilled"===l.status&&(o.type=l.value.deviceTypeList[0],o.icon=i.join(l.value.base,l.value.icon));let p=await c(a);p.privateDesc&&(o.detail=p.privateDesc),o.dest=t,e(o)}catch(e){o(e)}}))}function c(e){return new Promise((async(t,r)=>{try{if(a.existsSync(e)){let r=await s.readFile(e);r=JSON.parse(r),r.base=i.resolve(e,".."),t(r)}else r({msg:"文件不存在"})}catch(e){r(e)}}))}"dev"===process.env.NODE_ENV&&(l=i.resolve(__dirname,"../templates")),e.exports=function(){return new Promise((async(e,t)=>{try{let t=await s.readdir(l),a=await(r=t,new Promise((async(e,t)=>{try{let t=[],s={};for(let e of r)t.push(await n(e));for(let e of t){let t=o[e.type];delete e.type;let r=e.detail||"default";delete e.detail,t&&(!s[t]&&(s[t]={}),!s[t][r]&&(s[t][r]=e))}e(s)}catch(e){t(e)}})));e(a)}catch(e){t(e)}var r}))}},e=>{"use strict";e.exports=require("fs/promises")},e=>{"use strict";e.exports=require("fs")},e=>{"use strict";e.exports=require("path")}],t={};var r=function r(s){if(t[s])return t[s].exports;var a=t[s]={exports:{}};return e[s](a,a.exports,r),a.exports}(0);module.exports=r})();
(()=>{var e=[(e,t,r)=>{const s=r(1),a=r(2),i=r(3),o={watch:"Vela","tv-h5":"MinaH5","tv-quickapp":"MinaQuickApp",phone:"QuickApp"};let l=i.resolve(__dirname,"./templates");function n(e){let t=i.resolve(l,e),r=i.resolve(t,"./src/manifest.json"),s=i.resolve(t,"./manifest.json"),a=i.resolve(t,"package.json");return new Promise((async(e,o)=>{try{let o={},n=await Promise.allSettled([c(r),c(s)]);for(var l of n)"fulfilled"===l.status&&(o.type=l.value.deviceTypeList[0],o.icon=i.join(l.value.base,l.value.icon));let p=await c(a);p.privateDesc&&(o.detail=p.privateDesc),o.dest=t,e(o)}catch(e){o(e)}}))}function c(e){return new Promise((async(t,r)=>{try{if(a.existsSync(e)){let r=await s.readFile(e);r=JSON.parse(r),r.base=i.resolve(e,".."),t(r)}else r({msg:"文件不存在"})}catch(e){r(e)}}))}"dev"===process.env.NODE_ENV&&(l=i.resolve(__dirname,"../templates")),e.exports=function(e){return new Promise((async(t,r)=>{try{let r;r=e?await s.readdir(e):await s.readdir(l);let i=await(a=r,new Promise((async(e,t)=>{try{let t=[],r={};for(let e of a)t.push(await n(e));for(let e of t){let t=o[e.type];delete e.type;let s=e.detail||"default";delete e.detail,t&&(!r[t]&&(r[t]={}),!r[t][s]&&(r[t][s]=e))}e(r)}catch(e){t(e)}})));t(i)}catch(e){r(e)}var a}))}},e=>{"use strict";e.exports=require("fs/promises")},e=>{"use strict";e.exports=require("fs")},e=>{"use strict";e.exports=require("path")}],t={};var r=function r(s){if(t[s])return t[s].exports;var a=t[s]={exports:{}};return e[s](a,a.exports,r),a.exports}(0);module.exports=r})();
//# sourceMappingURL=main.js.map

@@ -20,4 +20,4 @@ {

"eslint-plugin-ux": "^0.0.4",
"aiot-toolkit": "^1.0.10"
"aiot-toolkit":"^1.0.10"
}
}

@@ -18,3 +18,3 @@ {

"devDependencies": {
"aiot-toolkit": " ^1.0.10",
"aiot-toolkit":" ^1.0.10",
"babel-eslint": "^10.0.1",

@@ -21,0 +21,0 @@ "eslint": "^6.8.0",

{
"name": "aiot-project-templates",
"version": "0.0.7",
"version": "0.0.8",
"main": "./dist/main.js",

@@ -5,0 +5,0 @@ "author": "zhaoyinggang",

@@ -8,1 +8,4 @@ ## aiot-ide 项目管理插件的项目模板仓库

```
### v0.0.8
- 支持传入自定义路径

Sorry, the diff of this file is not supported yet

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