Giter VIP home page Giter VIP logo

aovi-svelte's People

Contributors

alexxnb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aovi-svelte's Issues

aovi not installed anymore

i saw that you moved aovi from dependencies to devDependencies, now i get

plugin:vite:import-analysis] Failed to resolve import "aovi" from "node_modules\aovi-svelte\dist\aovi.js". Does the file exist?

xxxxxx/node_modules/aovi-svelte/dist/aovi.js:1:23

1  |  import{aovi as y}from"aovi";import{writable as h,derived as w}from"svelte/store";var f=[],s=["err","valid"],g=0;function m(r){for(let n of s)if(r[n])throw new Error(`Name of property in object "${n}" is reserved for internal use`);c(r);let{subscribe:e,set:t,update:o}=h(r);return{subscribe:e,set:t,clear:n=>o(i=>c(i)),get aovi(){let n=l(r);return Object.defineProperty(n,"end",{get:()=>t(p(r,n.array()))}),n},error:(n,i)=>t(d(r,n,i)),load:n=>{!Array.isArray(n)||t(p(r,n))},checker(n,i){if(!r.hasOwnProperty(n))throw new Error(`Unknown property ${n}`);return w(this,u=>i(l(u).check(n).required(),a(u)).valid)},get(){let n=Array.from(arguments);return n.length===0?a(r):Object.entries(a(r)).reduce((i,[u,v])=>(n.includes(u)&&(i[u]=v),i),{})}}}function O(r){f.push(r)}function l(r){let e=y(r);for(let t of f)e.use(t);return e}function d(r,e,t){return t&&!r.hasOwnProperty(t)?console.warn(`Got unknown property '${t}'`):(r.err[t||`noname_${g++}`]=e,r.valid=!1,r)}function c(r){return r.err=Object.keys(r).filter(e=>!s.includes(e)).reduce((e,t)=>(e[t]=!1,e),{}),r.err.toArray=()=>k(r.err),r.valid=!0,r}function p(r,e){return c(r),e.forEach(t=>{d(r,t.error,t.name)}),r}function k(r){return Object.values(r).filter(e=>typeof e=="string")}function a(r){return Object.entries(r).reduce((e,[t,o])=>(s.includes(t)||(e[t]=o),e),{})}export{m as aoviSvelte,O as use};
   |                        ^

when using it in svelte kit. for now i will just install aovi myself as dependency, but i guess there needs to be a bettter way?

or is this intended? then maybe adapt the readme so that people know that this package expects aovi to be installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.