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

@vmm/hello-world

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vmm/hello-world - npm Package Compare versions

Comparing version 1.0.88 to 1.0.89

2

index.js

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

(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],t):"object"===typeof exports?exports["main"]=t(require("_vmm_html"),require("Vue")):e["main"]=t(e["_vmm_html"],e["Vue"])})("undefined"!==typeof self?self:this,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="576d")}({"07ee":function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},"0b34":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.helloSession={hello:{client:{hello:"this is hello"},server:{worldCounter:999}}}},"145f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03"),o=n("4bac");t.helloDb={helloAdmin:r.DB_CRUD(o.schemas.hello,{},["user"],"admin"),worldAdmin:r.DB_CRUD(o.schemas.world,{},["user"],"admin"),hello:r.DB_R(o.schemas.hello,{excludeFields:[]},["user"],"")}},1858:function(e,t,n){"use strict";function r(e,t){const n=function(){throw new Error("INVALID HTTP API")},r=n;return r._sessions=e,r._actor=t,n}Object.defineProperty(t,"__esModule",{value:!0}),t.HTTP=r},"22d4":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{staticClass:"developer"},[n("h1",[e._v("Hello World !!!")])]):e._e()},o=[],i=n("8bbf"),a=n.n(i),s=a.a.extend({components:{},props:[],data(){return{show:!0}},methods:{},created(){}}),c=s;n("5f09");function u(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}var l=u(c,r,o,!1,null,"78bb44fe",null);t["default"]=l.exports},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var s=e[a];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),t.push(s))}},t}},"2c9d":function(e,t,n){var r={"./Hello.vue":"22d4"};function o(e){var t=i(e);return n(t)}function i(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id="2c9d"},"2e0e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("de96"),o=n("cff1"),i=n("145f"),a=n("0b34");t.default={pkg:{name:r.name,version:r.version,description:r.description},api:{...o.helloApi},db:{...i.helloDb},session:{...a.helloSession}};var s=n("4bac");t.schemaHello=s.schemas},"3ce9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("1858");function o(e){for(const t of Object.keys(e))e[t].collName=t;return e}t.createDbSchemas=o;class i{constructor(e,t,n){this.collName="",this.docSchema={},this.indexSchema=t,this.collOptions=e,this.collOptions._extDb=n}}function a(e,t){return{C:{insertOne:r.HTTP(e,t),insertMany:r.HTTP(e,t)},R:{findOne:r.HTTP(e,t),find:r.HTTP(e,t),countDocuments:r.HTTP(e,t),estimatedDocumentCount:r.HTTP(e,t),geoHaystackSearch:r.HTTP(e,t),distinct:r.HTTP(e,t)},U:{updateOne:r.HTTP(e,t),updateMany:r.HTTP(e,t),findOneAndReplace:r.HTTP(e,t),findOneAndUpdate:r.HTTP(e,t)},D:{deleteOne:r.HTTP(e,t),deleteMany:r.HTTP(e,t),findOneAndDelete:r.HTTP(e,t)}}}t.DbSchema=i;function s(e,t,n,r){const o=a(n,r),i=o["R"];return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function c(e,t,n,r){const o=a(n,r),i={...o["U"],...o["R"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function u(e,t,n,r){const o=a(n,r),i={...o["C"],...o["U"],...o["R"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function l(e,t,n,r){const o=a(n,r),i={...o["C"],...o["R"],...o["U"],...o["D"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}t.DB_R=s,t.DB_RU=c,t.DB_CRU=u,t.DB_CRUD=l},"42a3":function(t,n){t.exports=e},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",function(){return h});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var a=r(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}t?(a=r(e,t),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=m()),t=_.bind(null,r,o,!1),n=_.bind(null,r,o,!0)}else r=m(),t=g.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function g(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"4bac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03");t.hello=new r.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),t.world=new r.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),t.schemas={hello:t.hello,world:t.world}},5301:function(e,t,n){var r=n("696c");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("499e").default;o("1843a637",r,!0,{sourceMap:!1,shadowMode:!1})},"576d":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("07ee"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));function o(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r["throw"](e))}catch(t){i(t)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}c((r=r.apply(e,t||[])).next())})}var i=n("8bbf"),a=n.n(i);const s=new a.a({data(){return{counter:0}},computed:{},methods:{},created(){return o(this,void 0,void 0,function*(){setInterval(()=>{this.counter++},1e3)})}});var c=s,u=n("22d4"),l=n("2e0e"),d=n.n(l),f=n("9224"),p=n("42a3"),h=n.n(p);const v=h.a.logger(`${f["a"]}:main`);h.a.project.loadVueDir(f["a"],n("2c9d"));const m={helloWorld:c,Hello:u["default"]};h.a.project.loadApi(d.a),(()=>o(void 0,void 0,void 0,function*(){const e=yield d.a.api.hello({arg1:99,arg2:88});e.err;const t=yield d.a.api.hello({arg1:1,arg2:9});v.debug("---\x3e ",t)}))(),window[f["a"].replace(/[@\/-]/g,"_")]=m;var b=m;t["default"]=b},"5f09":function(e,t,n){"use strict";var r=n("5301"),o=n.n(r);o.a},"696c":function(e,t,n){t=e.exports=n("24fb")(!1),t.push([e.i,".developer[data-v-78bb44fe]{position:fixed;left:0;top:0;z-index:99999999;width:100%;height:100%;background-color:rgba(20,30,80,.7);color:#f0f8ff;overflow:scroll}.title[data-v-78bb44fe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""])},"7b03":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("3ce9")),r(n("1858"))},"8bbf":function(e,n){e.exports=t},9224:function(e){e.exports={a:"@vmm/hello-world"}},cff1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03");t.helloApi={hello:r.HTTP([],""),adminHello:r.HTTP(["user"],"admin")}},de96:function(e){e.exports={name:"@vmm/hello-world-api",version:"1.0.56",description:"你好示例API",main:"dist/src/index.js",types:"./src/index.ts",moduleType:"api",license:"MIT",scripts:{serve:"tsc -w",build:"tsc",doc:"typedoc --json ./document/doc.json ./src/"},dependencies:{"@vmm/api":"^1.0.7"}}}})});
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],t):"object"===typeof exports?exports["main"]=t(require("_vmm_html"),require("Vue")):e["main"]=t(e["_vmm_html"],e["Vue"])})("undefined"!==typeof self?self:this,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="576d")}({"07ee":function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},"0b34":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.helloSession={hello:{client:{hello:"this is hello"},server:{worldCounter:999}}}},"145f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03"),o=n("4bac");t.helloDb={helloAdmin:r.DB_CRUD(o.schemas.hello,{},["user"],"admin"),worldAdmin:r.DB_CRUD(o.schemas.world,{},["user"],"admin"),hello:r.DB_R(o.schemas.hello,{excludeFields:[]},["user"],"")}},1858:function(e,t,n){"use strict";function r(e,t){const n=function(){throw new Error("INVALID HTTP API")},r=n;return r._sessions=e,r._actor=t,n}Object.defineProperty(t,"__esModule",{value:!0}),t.HTTP=r},"22d4":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{staticClass:"developer"},[n("h1",[e._v("Hello World !!!")])]):e._e()},o=[],i=n("8bbf"),a=n.n(i),s=a.a.extend({components:{},props:[],data(){return{show:!0}},methods:{},created(){}}),c=s;n("5f09");function u(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}var l=u(c,r,o,!1,null,"78bb44fe",null);t["default"]=l.exports},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var s=e[a];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),t.push(s))}},t}},"2c9d":function(e,t,n){var r={"./Hello.vue":"22d4"};function o(e){var t=i(e);return n(t)}function i(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id="2c9d"},"2e0e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("de96"),o=n("cff1"),i=n("145f"),a=n("0b34");t.default={pkg:{name:r.name,version:r.version,description:r.description},api:{...o.helloApi},db:{...i.helloDb},session:{...a.helloSession}};var s=n("4bac");t.schemaHello=s.schemas},"3ce9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("1858");function o(e){for(const t of Object.keys(e))e[t].collName=t;return e}t.createDbSchemas=o;class i{constructor(e,t,n){this.collName="",this.docSchema={},this.indexSchema=t,this.collOptions=e,this.collOptions._extDb=n}}function a(e,t){return{C:{insertOne:r.HTTP(e,t),insertMany:r.HTTP(e,t)},R:{findOne:r.HTTP(e,t),find:r.HTTP(e,t),countDocuments:r.HTTP(e,t),estimatedDocumentCount:r.HTTP(e,t),geoHaystackSearch:r.HTTP(e,t),distinct:r.HTTP(e,t)},U:{updateOne:r.HTTP(e,t),updateMany:r.HTTP(e,t),findOneAndReplace:r.HTTP(e,t),findOneAndUpdate:r.HTTP(e,t)},D:{deleteOne:r.HTTP(e,t),deleteMany:r.HTTP(e,t),findOneAndDelete:r.HTTP(e,t)}}}t.DbSchema=i;function s(e,t,n,r){const o=a(n,r),i=o["R"];return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function c(e,t,n,r){const o=a(n,r),i={...o["U"],...o["R"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function u(e,t,n,r){const o=a(n,r),i={...o["C"],...o["U"],...o["R"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}function l(e,t,n,r){const o=a(n,r),i={...o["C"],...o["R"],...o["U"],...o["D"]};return Object.defineProperty(i,"_db",{enumerable:!1,writable:!1,value:t}),Object.defineProperty(i,"_schema",{enumerable:!1,writable:!1,value:e}),i}t.DB_R=s,t.DB_RU=c,t.DB_CRU=u,t.DB_CRUD=l},"42a3":function(t,n){t.exports=e},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",function(){return h});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var a=r(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}t?(a=r(e,t),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=m()),t=_.bind(null,r,o,!1),n=_.bind(null,r,o,!0)}else r=m(),t=g.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function _(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function g(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"4bac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03");t.hello=new r.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),t.world=new r.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),t.schemas={hello:t.hello,world:t.world}},5301:function(e,t,n){var r=n("696c");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("499e").default;o("1843a637",r,!0,{sourceMap:!1,shadowMode:!1})},"576d":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("07ee"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));function o(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r["throw"](e))}catch(t){i(t)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}c((r=r.apply(e,t||[])).next())})}var i=n("8bbf"),a=n.n(i);const s=new a.a({data(){return{counter:0}},computed:{},methods:{},created(){return o(this,void 0,void 0,function*(){setInterval(()=>{this.counter++},1e3)})}});var c=s,u=n("22d4"),l=n("2e0e"),d=n.n(l),f=n("9224"),p=n("42a3"),h=n.n(p);const v=h.a.logger(`${f["a"]}:main`);h.a.project.loadVueDir(f["a"],n("2c9d"));const m={helloWorld:c,Hello:u["default"]},b=h.a.project.loadApi(d.a);(()=>o(void 0,void 0,void 0,function*(){const e=yield b.api.hello({arg1:99,arg2:88});e.err;const t=yield b.api.hello({arg1:1,arg2:9});v.debug("---\x3e ",t)}))(),window[f["a"].replace(/[@\/-]/g,"_")]=m;var y=m;t["default"]=y},"5f09":function(e,t,n){"use strict";var r=n("5301"),o=n.n(r);o.a},"696c":function(e,t,n){t=e.exports=n("24fb")(!1),t.push([e.i,".developer[data-v-78bb44fe]{position:fixed;left:0;top:0;z-index:99999999;width:100%;height:100%;background-color:rgba(20,30,80,.7);color:#f0f8ff;overflow:scroll}.title[data-v-78bb44fe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""])},"7b03":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("3ce9")),r(n("1858"))},"8bbf":function(e,n){e.exports=t},9224:function(e){e.exports={a:"@vmm/hello-world"}},cff1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b03");t.helloApi={hello:r.HTTP([],""),adminHello:r.HTTP(["user"],"admin")}},de96:function(e){e.exports={name:"@vmm/hello-world-api",version:"1.0.56",description:"你好示例API",main:"dist/src/index.js",types:"./src/index.ts",moduleType:"api",license:"MIT",scripts:{serve:"tsc -w",build:"tsc",doc:"typedoc --json ./document/doc.json ./src/"},dependencies:{"@vmm/api":"^1.0.7"}}}})});
{
"name": "@vmm/hello-world",
"version": "1.0.88",
"version": "1.0.89",
"description": " 全局库",

@@ -5,0 +5,0 @@ "license": "MIT",

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