profile
viewpoint
Arnav Gupta championswimmer @coding-blocks @Zomato New Delhi, India http://championswimmer.in Co-Founder @coding-blocks 💼 ➕ Android & NodeJS mentor 👨🏻‍🏫 ➕ Ex- @AOKP @fossasia ⚙️ ◀️ in another universe ▶️ Android dev @Zomato as @arnavzoman 🍔

championswimmer/Android-SocialButtons 140

A library for easily implementing social login/share buttons

championswimmer/Android-Tests-Example 5

An example repo showing how to setup unit tests and instrumentation tests on Android

championswimmer/Android2016Summer 3

Android Code Examples for 2016 Summer Batch

championswimmer/android_kernel_sony_msm8930 2

Sony Xperia L kernel source

championswimmer/android-drawable-converter 1

Automatically exported from code.google.com/p/android-drawable-converter

championswimmer/Arduino 1

open-source electronics prototyping platform

ajomathew/vendor_semc_phoenix 0

Vendor files of Phoenix for building NeoL

push eventcoding-blocks/oneauth

snyk-bot

commit sha 6467b72bb080c81610d97df0e434543594c00818

fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NODESASS-535497

view details

push time in 12 days

push eventcoding-blocks/make-a-pr

Arnav Gupta

commit sha cf3feff3c96f6b3dfdd5b96f5a2d35e48e117683

Update README.md

view details

push time in 21 days

push eventcoding-blocks/ide

Pradeep Suthar

commit sha 3af9d1f20187b154933bf5d9e97a4586a3f3c0f3

fork feature's description added to readme file fork feature's, details, and its function added to readme file. feature request : #384 feature pr : #411

view details

Arnav Gupta

commit sha 47a1cfeaecd29d50b761ad15b2f867a98a85ab7f

Merge pull request #422 from sutharp777/master fork feature's description added to readme file

view details

push time in 21 days

PR merged coding-blocks/ide

fork feature's description added to readme file

fork feature's, details, and its function added to readme file. feature request : #384 feature pr : #411

@championswimmer

+2 -0

2 comments

1 changed file

sutharp777

pr closed time in 21 days

PullRequestReviewEvent

issue commentchampionswimmer/vuex-module-decorators

Support for vuejs 3

Yes it does

On Mon, 28 Sep 2020 at 18:44, Kosrat notifications@github.com wrote:

Why this issue has been closed without any comments, I have the same question. Does it support Vue.js 3??

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/championswimmer/vuex-module-decorators/issues/243#issuecomment-699998687, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKD7SUA4AV2GRBPW6M6MA3SICD3ZANCNFSM4LST3TZQ .

MuhammedKpln

comment created time in a month

issue commentchampionswimmer/vuex-persist

TypeError: Cannot read property '$set' of undefined

You can disable strict mode and it will still work. I'll fix the issue with strict mode till then in the next release.

I am using this in a Vue 3 + Vuex 4 project and it works

achmadk

comment created time in a month

issue closedchampionswimmer/vuex-persist

Support for Vuex 4 and Vue 3?

Sorry if this is a non-issue, as I haven't upgraded my Vuex codebase (that is using this plugin) yet to Vuex 4...

But I was wondering do you need to build support for Vuex 4 with Vue 3, and how is that upgrade process going on now that Vue 3 reached its first stable release (with Vuex 4 still in beta)?

closed time in a month

ux-engineer

issue commentchampionswimmer/vuex-persist

Support for Vuex 4 and Vue 3?

It is already supported

ux-engineer

comment created time in a month

created tagchampionswimmer/vuex-persist

tagv3.1.2

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

created tagchampionswimmer/vuex-persist

tagv3.1.3

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

push eventchampionswimmer/vuex-persist

Arnav Gupta

commit sha 89e7acb9bb4bfbac9b567013b4ae7e12e090e8a1

we are sideeffects-free Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha fa6408c41ad380cceb1e3e0c2445641e6bdca96f

3.1.2

view details

Arnav Gupta

commit sha 52bf2b88496b19fb575f7e2efa80482498975d3b

update flatted 4.x Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha 9b7dd489149949ab47c46e550d3ebcc1c7113f8b

3.1.3

view details

push time in a month

created tagchampionswimmer/vuex-persist

tagv3.1.1

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

push eventchampionswimmer/vuex-persist

Arnav Gupta

commit sha f8b91e2bdef47f849a7e6d19e8b4f059e8b06922

update saved state merging/replacing strategies Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha fe69d9936176d0f01f05130ef44cb30832c3a696

3.1.1

view details

push time in a month

push eventchampionswimmer/vuex-persist

Arnav Gupta

commit sha 7305c8546e01095da3f431f3d2e6e798d3193c8a

update storage selection logic Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha 3929ea113d94ba8ab625dcda5ad74f92b1f70d05

showing basic list Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha 168e8f12c2cd4e1710c711131ca40947a8daf1b1

implicit intents Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha 541a904d4331bc8ebb3d6df648dc2f349b313c40

from one activity to another Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha d3cf840ae0d477b4e17edcfe3c33a54d5c897680

Error handling via dialogs Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha 163d9cff04f36d9ce4de53a51d35ecbe2d0daf7b

adding numbers Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventcoding-blocks-archives/Android_Basics_Crash_Course

Arnav Gupta

commit sha 73bc52d02dba1c216a983426f102bea1472660cf

add basic edit texts on screen Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventchampionswimmer/my-jetbrains-settings

Arnav Gupta

commit sha b773a0fc15665be1eecd43e55e0ecae346038483

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local Update C_C__.xml, Zen CSS.xml

view details

Arnav Gupta

commit sha c0d042d768ea7525445c4f3c91fa9f9588a0d447

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local Update androidStudioFirstRun.xml

view details

Arnav Gupta

commit sha e77589b77883dcfcd31ef016bf82519894629385

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local

view details

push time in a month

create barnchcoding-blocks-archives/Android_Basics_Crash_Course

branch : master

created branch time in a month

created repositorycoding-blocks-archives/Android_Basics_Crash_Course

created time in a month

push eventchampionswimmer/my-jetbrains-settings

Arnav Gupta

commit sha 563488d68dfe811cc5d1405dc6bc511e78f9d96c

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local Update other.xml, output.xml, iterations.xml

view details

Arnav Gupta

commit sha d35645bcd10a703338aa19e57a583b4869d23443

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local

view details

Arnav Gupta

commit sha bfdd3eb6760ec90cd88ba6d4e96afdfd467fa156

AI-202.6397.94.42.6811877 <championswimmer@Arnavs-MacBook-Pro.local Merge branch 'master' Conflicts: _mac/path.macros.xml

view details

push time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 08249c58ab60dd26a993c995d8a00c15c7222a48

update CIs Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

release championswimmer/vuex-module-decorators

v1.0.1

released time in a month

created tagchampionswimmer/vuex-module-decorators

tagv1.0.1

TypeScript/ES7 Decorators to create Vuex modules declaratively

created time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 7beda286d1fc5117bef70ef9b16a41d99df783df

marking side-effects free Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha e3005f63ce8dff84acbba368c3e653f3c90af5d1

1.0.1

view details

push time in a month

issue closedchampionswimmer/vuex-module-decorators

Setter - TypeError: Cannot set property 'token' of undefined

I am trying to set my token after I get response upon logging in. The acessToken is a valid returned string however I keep getting TypeError: Cannot set property 'token' of undefined on this.token = token;

Why is this happening?

import {
  VuexModule,
  Module,
  getModule,
  Mutation,
  Action
} from "vuex-module-decorators";

import store from "@/store";
import { User, UserSubmit } from "../models";
import { loginUser, logoutUser } from "@/api/users";
import { getToken, setToken } from "@/utils/cookies";

@Module({
  namespaced: true,
  name: "users",
  store,
  dynamic: true,
  preserveState: true
})
class Users extends VuexModule {
  public username = "";
  public name = "";
  public email = "";
  public token = "";

  @Mutation
  SET_USERNAME(username: string) {
    this.username = username;
  }

  @Mutation
  SET_NAME(name: string) {
    this.name = name;
  }

  @Mutation
  SET_TOKEN(token: string) {
    this.token = token;
  }

  @Action({ rawError: true })
  async login(usersSubmit: UserSubmit) {
    const response: any = await loginUser(usersSubmit);
    if (typeof response !== "undefined") {
      const { accessToken, username, name } = response;

      setToken(accessToken);
      this.SET_TOKEN(accessToken);
      this.SET_USERNAME(username);
      this.SET_NAME(name);
    }
  }

  @Action
  async logout() {
    await logoutUser();
    this.SET_TOKEN("");
  }

  get userUsername() {
    return this.username || null;
  }
}

export const UsersModule = getModule(Users);

closed time in a month

rostgoat

issue closedchampionswimmer/vuex-module-decorators

getModule method doesnot work well in dynamic module

in the user.ts I expose the module with this method: export const UserModule = getModule(User); but in a .vue files create method ,I import { UserModule } from '@/store/user'; private created() { console.log(UserModule) // a console.log(this.$store.state.user) // b } the print result : a=>{role:2,contacts:[]} b=>{role:2,contacts:[],name:'2333',token:'xxxx',id:'xxx'} which means some state were lost with when getModule bind those state and method together; and this store's state declare is: public role: Roles = cuser ? cuser.role : Roles.visitor; public name = cuser ? cuser.name : ''; public token = cuser ? cuser.token : ''; public contacts: IContact[] = []; public id: string = cuser ? cuser.id : ''; I dont know why after getModule method some state lost

closed time in a month

snowwolfjay

issue closedchampionswimmer/vuex-module-decorators

How to add vue instance for vuex module?

Sometimes in store need use vue/nuxt global plugins (like $axios with my config or $auth ). But this in vuex-module-decorators will be set only on current class module, without vue class inheritance .

How I can do that?

In nuxt, I was able to add this plugins in the my nuxt plugin, calling my module class, and passing context or necessary plugins to the constructor, but it looks like a bicycle

closed time in a month

serjo96

issue closedchampionswimmer/vuex-module-decorators

Question - Call component method in store

Hi, First, thanks a lot for this vuex module. I have certainly missed something during my development. I'm not able to access component attributes/methods from a store. Do you know how to make it worked ?

Here an example when I try to add a chapter to a list in my store. Component: /components/Chapter.vue

import { Vue, Component, Prop } from "vue-property-decorator";

@Component
class Chapter extends Vue {
  @Prop({ default: '' }) pr_title!: string;
  private _title: string = this.pr_title;

  public get title(): string {
    return this._title;
  }
}

export default Chapter;

Store: /store/module/ChapterStore.ts:

import { VuexModule, Module, Mutation, Action } from 'vuex-module-decorators';
import Chapter from '../../components/Chapter.vue';

@Module({
  namespaced: true
})
class ChapterStore extends VuexModule {
  private _chapters : Map<string,Chapter> = new Map<string,Chapter>();
  constructor(){
    super({});
  }

  @Mutation
  ADD_CHAPTER(chapter : Chapter) {
    console.log(chapter.title); //!!!!!!!!!!!!  TYPESCRIPT ERROR !!!!!!!!!!!!
                                             // Property 'title' does not exist on type 'Vue'
  } 

  @Action
  addChapter(chapter : Chapter) {
    this.context.commit('ADD_LOCALE', chapter);
  }
}

The import of the component is pointing on the shims-vue.d.ts instead of the given file path. It looks that my issue is coming from there, but I don't understand if:

  • It's a limit (not possible)
  • It's a bad pattern
  • There is a way to make it work.

Thanks in advance for you help. Best Regards.

closed time in a month

bvargin-dev

issue closedchampionswimmer/vuex-module-decorators

Suggestion - Improve MutationAction Decorators

Thanks for your awesome work guys. I suggest you add a new parameter to the decorator to facilitate and shorten the code.

@MutationAction({Mutate: ...., commit: 'name of other mutation after finishing the action'})

This can help if you want to commit a @Mutation that you defined after finishing the action, btw this can be done simply by changing the state value, but it can be more beautiful this way. What do you think?

closed time in a month

aryaroudi

issue closedchampionswimmer/vuex-module-decorators

Using apollo-module with NuxtJS inside a vuex Action

Hello,

I am trying to refactor my store using vuex-module-decorators but I am facing an issue with the apollo-module of NuxtJS. In the old store, we would use this :

export default {
  actions: {
    foo (store, payload) {
      let client = this.app.apolloProvider.defaultClient
    }
  }
}

So I have done that in my code

  @Action({ commit: 'update' })
  async fetchTeacher() {
    // @ts-ignore
    let client = this.app.apolloProvider.defaultClient;
    const { data }: { data: MeTeacherQuery } = await client.query({
      query: MeTeacherQueryGQL
    });

    return data.meTeacher;
  }

But now, I have this error

 ERROR  ERR_ACTION_ACCESS_UNDEFINED: Are you trying to access this.someMutation() or this.someGetter inside an @Action?                                                                                                                                                                                                                               16:34:03
That works only in dynamic modules.
If not dynamic use this.context.commit("mutationName", payload) and this.context.getters["getterName"]
Error: Could not perform action fetchTeacher
    at Store.<anonymous> (vuex-module-decorators\src\action.ts:55:17)
    at step (\vuex-module-decorators\dist\cjs\index.js:132:23)
    at Object.throw (vuex-module-decorators\dist\cjs\index.js:113:53)
    at rejected (vuex-module-decorators\dist\cjs\index.js:104:65)
TypeError: Cannot read property 'apolloProvider' of undefined
    at Object.fetchTeacher (server.js:6339:27)
    at Store.<anonymous> (vuex-module-decorators\src\action.ts:34:48)
    at step (vuex-module-decorators\dist\cjs\index.js:132:23)
    at Object.next (vuex-module-decorators\dist\cjs\index.js:113:53)
    at vuex-module-decorators\dist\cjs\index.js:106:71
    at new Promise (<anonymous>)
    at __awaiter (vuex-module-decorators\dist\cjs\index.js:102:12)
    at Store.action (vuex-module-decorators\dist\cjs\index.js:323:20)
    at Array.wrappedActionHandler (vuex\dist\vuex.common.js:734:23)
    at Store.dispatch (vuex\dist\vuex.common.js:439:15)

closed time in a month

Pixselve

issue closedchampionswimmer/vuex-module-decorators

action&await,Cannot read property 'getters' of undefined

export default class User extends VuexModule  {
@Action
  public async USER_GETAUTHORIZATIONLIST_ACTION() {
    const res = await getRoutesApi(); // Cannot read property 'getters' of undefined  What?
    if (res.code === 1000) {
      const list = res.data.list;
      this.USER_GETAUTHORIZATIONLIST_MUTATE(list);
      return res;
    }
    return res;
  }
}

Why Cannot read property 'getters' of undefined when i use await

closed time in a month

bigGoodMan

issue closedchampionswimmer/vuex-module-decorators

How can I use nuxt auth module and module-decorators ?

Hi, I use nuxt auth module for Authorization. Start using this moudule, it is not working. When I use axios, create a plugin accesor for axios module. https://typescript.nuxtjs.org/ja/cookbook/store.html#%E3%82%AF%E3%83%A9%E3%82%B9%E3%83%99%E3%83%BC%E3%82%B9 How I create an accessor for auth module ?

closed time in a month

hiracky16

issue closedchampionswimmer/vuex-module-decorators

'store' is unavailable property name

When updating the 'vuex-module-decorators' version in my application to "^0.11.0" , I encountered an error in browser console RangeError: Maximum call stack size exceeded

I searched for a reason a long time, but it turned out that the cause of the error in the class property name.

I prepared an example to demonstrate the situation https://github.com/rendrom/vuex-module-decoration-extends-error-example

I am no longer used in code 'store' as name of the property, but the information may be useful to someone.

closed time in a month

rendrom

issue closedchampionswimmer/vuex-module-decorators

Get module compiled during runtime to pass to plugin?

I have the requirement to pass my module objects to a plugin which dynamically registers it for me.

Therefor I require to be able to save the module in a variable after its compiled. And I need to add some extra props to that object as well (on the root level of the module).

Is this possible?

closed time in a month

mesqueeb

issue closedchampionswimmer/vuex-module-decorators

GetModule reset State

Hi there,

I try to unit test a module (with name). Because the framework itself is tested, I tried to modify the test case to have a 2nd one with reset state:

https://github.com/marcelcremer/vuex-module-decorators/pull/1/commits/c059b8240587356b60118a794e6445e600c190e4

However, the exact same test fails if it's executed twice (I copied the whole test,because I wasn't sure, if random execution order was enabled): The 2nd time the test runs, the initial state has the count set to 15 and not reset:

image

Is this intended? If so, how's it possible to reset the module to a clean state?

I tried several options to test my personal module, but didn't have any luck either.

Thanks for your time, effort and the great decorators :)

Regards Marcel

closed time in a month

marcelcremer

issue closedchampionswimmer/vuex-module-decorators

Register and unregister dynamic modules

Could there be a section added to the README explaining how to unregister and register decorated modules dynamically, rather than them always being part of the main store?

closed time in a month

BirdieSC

issue closedchampionswimmer/vuex-module-decorators

Dispatch module action from another module action in same class.

I'm trying to dispatch one action from another action in the same module/class and I haven't been able to get it to work. I tried everything in similar issues and get the same undefined action error with every try.

Committing mutations from with an action also do not seem to work from within actions.

UPDATE: After looking into it more it's possible the problem has to do with the action being async.

closed time in a month

nmsmith22389

issue closedchampionswimmer/vuex-module-decorators

Mutation and MutationAction commit value types and handling?

What commit value types are allowed? I assume all are allowed for both Mutation and MutationAction which includes arrays and objects and that references are not overwritten. Is this correct?

closed time in a month

goldingdamien

issue closedchampionswimmer/vuex-module-decorators

How can I create non async Action with return type?

I have a dynamic module with the following action:

  @Action
  getRestUrl (path: string): string {
    return this.restBaseUrl + (path || '');
  }

When I call this action from another file

axios.get<LocaleResponse>(RootStore.getRestUrl('language'), ...)

A string is required but a Promise is returned (with the right value in it). But that's not the way I can use it, because it destroys type safty.

Can I use a synced action without promise return? Thanks

closed time in a month

sevenuz

issue closedchampionswimmer/vuex-module-decorators

Extend api with decorators like in legacy vuex-class-component

I personally use libraries like this in order to:

  1. get type safety
  2. simplify amount of code and time to work with vue+vuex.

vuex-class-component implemented the simplifying part (2) :

class A extends Vue {
  @State
  fieldname: string;
}

Unfortunately people just switched from the vuex-class-component to vuex-module-decorators because of type safety (1). Well now we do:

import { exampleStore } from '~/store'
get allUsersDict(): UserDictModel  {  // getter example
   return exampleStore.allUsersDict
}

Why not combine both? Here's the example of simple proxy wrapper around vuex-module-decorator.

declare class VuexModule {}
declare class Vue {}

function StateDecoratorFactory<ProviderType extends VuexModule> (vuexModule: ProviderType) {
  return function Prop<ConsumerType extends (ConsumerType[PropName] extends ProviderType[PropName] ? unknown : never),
      PropName extends (keyof ConsumerType & keyof ProviderType),
      >(vueComponent: ConsumerType,
        fileName: PropName) {
    {
      Object.defineProperty(vueComponent, fileName, {
        get: () => {debugger; return vuexModule[fileName]},
        set: (v) => {throw Error(`Can't set value ${vueComponent}.${fileName} to value ${v}. Vuex module ${vuexModule}`); },
      });
    }
  };
}

class UserModule extends VuexModule {
  public FieldOne: string = "hello";
  public FieldTwo: boolean = false;
}

let State = StateDecoratorFactory(new UserModule());

class VueComponent extends VuexModule {
  public FieldOne: string = "hello";
  public FieldTwo: boolean = false;
}

class Consumer extends Vue {

  @State
  public FieldOne!: string;

  @State // doesn't compile as type mismatch
  public FieldTwo!: string;

  @State // doesn't compile as field doesn't exist
  public FieldTree!: string;

}

Also:

  • We don't wanna force users to use the new API. Let them have a choice.
  • Providing the API in VueModule instead of using double getter is preferred way in terms of performance.

What do you think? I can work on PR.

closed time in a month

akoidan

issue closedchampionswimmer/vuex-module-decorators

Access vuex module from this.$store does not register the module

Hi everyone.

In my project, I created a small vuex module using vuex-module-decorators. But when trying to access it directly from this.$store or $store in the template part, it does not trigger the registration.

Here is an example:

// exampleModule.ts
import { Module, getModule, Mutation, VuexModule } from 'vuex-module-decorators';
import store from '@/store';

@Module({
  dynamic: true,
  namespaced: true,
  name: 'example',
  stateFactory: true,
  store,
})
class Example extends VuexModule {
  private work: boolean = false;

  get isWorking() {
    return this.work;
  }

  @Mutation
  setWorking(status: boolean) {
    this.work = status;
  }
}

export default getModule(Example);

// App.vue
<template>

  <div> 
    first attempt: {{ $store.getters['example/isWorking'] }} // this is not working
    second attempt: {{ isWorking }} // this is not working too
  </div> 
</template>

<script lang="ts">
  import Vue from 'vue';

  export default Vue.extend({
    computed: {
      isWorking() {
        return this.$store.getters['example/isWorking'];
      }
    }
  });
</script>

The only way I get to to actually register the module and to make it work, is to import it directly in the component, like this:


<script lang="ts">
  import Vue from 'vue';
  import exampleModule from '@/store/modules/example/exampleModule';

  export default Vue.extend({
    computed: {
      isWorking() {
        return exampleModule.isWorking;
      }
    }
  });
</script>

Am I missing something here ? Is this the wanted behavior ? Thanks.

closed time in a month

CaptainYouz

issue closedchampionswimmer/vuex-module-decorators

Accessing one static module from another, without circular imports?

I'm using static modules (using the method in #178), see test repo at https://github.com/garyo/vuex-problem-test.git. I have this layout:

src
├── App.vue
├── main.ts
└── store
    ├── index.ts
    ├── modules
    │   ├── modB.ts
    │   └── user.ts
    └── store-accessor.ts

i.e. two modules, a store-accessor which imports those and exports the stores, and store/index.ts which imports store-accessor and exports all the stores.

This is all OK, until modB.ts needs to use some state from user.ts. I add import { userStore } from '@/store' to `modB.ts, which creates an import cycle: store/index.ts -> store/store-accessor.ts -> store/modules/modB.ts -> store/index.ts Is there any way around that?

closed time in a month

garyo

issue closedchampionswimmer/vuex-module-decorators

Add check for count of parameters in Action

store.dispatch() only accepts one argument, and your action function will only receive one (after the general first context argument) You can use this https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length for check count of params in action and throw Warning if length>1. Sometimes it great timesaver when you try understand why second param is undefined. Changes may be around here https://github.com/championswimmer/vuex-module-decorators/blob/master/src/action.ts#L20

closed time in a month

nibytes

issue closedchampionswimmer/vuex-module-decorators

Doesn't work with vuex-persist in dynamic mode

This is related to following issues:

  • https://github.com/championswimmer/vuex-module-decorators/issues/46
  • https://github.com/championswimmer/vuex-module-decorators/pull/102

But there's no real answer on this question, in manual mode it does work properly, but in dynamic it doesn't, because browser refresh doesn't re-apply state values from local storage. Kinda the same guy involved in both of these projects @championswimmer, but they are not compatible? :)

closed time in a month

webcoderkz

issue closedchampionswimmer/vuex-module-decorators

Is it possible to work with Vuexfire?

Is it possible to work with Vuexfire? If possible, please teach me a sample.

thanks. Please excuse my poor English.

closed time in a month

hikaruna

issue closedchampionswimmer/vuex-module-decorators

RowError should be true the default.

https://github.com/championswimmer/vuex-module-decorators/blob/80d9744fb78839d21a56ca28a834c0c3c8dec24c/src/mutationaction.ts#L5

This should be true the default.

closed time in a month

NikitaIT

issue closedchampionswimmer/vuex-module-decorators

Values are flushed on page load

When using a plugin that stores in local storage, it looks like the class instantiation overwrites the stored values on page load.

Do you have an example that keeps those values after page reload etc.?

closed time in a month

kitdarko

issue closedchampionswimmer/vuex-module-decorators

Is there a way to get a clean store before each test?

Is there a way to get a store in an initial state before each test is run?

It always retains the state with all the mutations from previous tests. I tried to create new store with new Vuex.Create() in each test, but the state is retained.

closed time in a month

jarek-inlinemanual

issue closedchampionswimmer/vuex-module-decorators

[quest] mutation via setters

so that we can do this.x = newXvalue inside actions as well ;)

closed time in a month

championswimmer

issue closedchampionswimmer/vuex-module-decorators

Getter property type not recognized

This is my module, I'm using dynamic modules:

import { Module, VuexModule, getModule } from 'vuex-module-decorators'
import { store } from '@/store'
import { UserSettings } from '@/models/user-settings'

@Module({
    dynamic: true,
    namespaced: true,
    name: 'user-settings',
    store,
})
class UserSettingsStore extends VuexModule {
    model = new UserSettings()

    get layers() : Layer[] {
        return this.model.layers
    }
}

export const userSettingsStore = getModule(UserSettingsStore)

This is the component where I'm trying to access getter property

import { Component, Vue } from 'vue-property-decorator'
import { userSettingsStore } from '../../store/modules/user-settings.store'

@Component
export default class EditLayerMenu extends Vue {

  get isEditMode(){
    return userSettingsStore.layers.find(x => x.editMode === true)
  }
}

I don't get any autocomplete for property "layers" and it's recognized as any[] instead of Layer[]

closed time in a month

elaith9

issue closedchampionswimmer/vuex-module-decorators

Issue with reactivity when using getModule

Hi. I am having an issue where properties from states I fetch with getModule are not reactive.

I have a Vuex Store like this;

import Vue from 'vue'
import Vuex from 'vuex'
import  { UserStore } from './user/index'
import {getModule} from "vuex-module-decorators";

Vue.use(Vuex);

interface StoreType {
  UserModule: UserStore,
}

const store = new Vuex.Store<StoreType>({
  modules: {
    UserModule: UserStore
  }
});

export default store;
export const UserModule = getModule(UserStore, store);

UserStore is defined like this;

import {Module, VuexModule, Mutation, Action} from 'vuex-module-decorators'
import User from '@/types/User'
import {SharedModule, UserModule} from "@/store";
import Noty from 'noty';

@Module({
    name: 'UserModule',
})
export class UserStore extends VuexModule {
    user?: User = undefined;

    @Mutation setUser(user: User) {
        this.user = user;
    }

    @Action
    signUserInWithEmailAndPassword(request: SignInWithEmailAndPasswordRequest) {
        ... // This method uses an async function inside that calls the below upon completion
        this.setUser(newUser);
        ...
    }
}

And I use it in my component like this;

    import {Watch} from "vue-property-decorator";
    import Vue from "vue";
    import {UserModule} from "@/store";
    import Component from "vue-class-component";
    import User from "@/types/User";

    interface ISignIn {
        user: User | undefined;
    }

    @Component({
        name: 'SignIn'
    })

    export default class SignIn extends Vue implements ISignIn {
        get user() {
            // This is not reactive
            return UserModule.user;
            // This is reactive
            return this.$store.state.UserModule.user
        }
    }

Am I doing anything wrong here? Why is the module as fetched with getModule and imported reactive? Is there any way to fix this?

closed time in a month

smholsen

issue closedchampionswimmer/vuex-module-decorators

Extend state with another class

Hi, what I mean is for example I have three modules of person ( owner, insurer, holder ). Each of person module have address which consist from street, city, number, zip and I don't want to write same state, mutations, actions to each module.

Insurer.ts

import {Module, VuexModule, getModule, Action, Mutation} from 'vuex-module-decorators';
import store from '@/store';
import Adress from "./Adress";

@Module({
  dynamic: true,
  namespaced: true,
  name: 'Insurer',
  store,
})
class InsurerModule extends VuexModule {
  firstName: string = "";
  lastName: string = "";
  address: any =  new Adress();
}

export default getModule(InsurerModule);

Adress.ts

import {Action, Mutation} from 'vuex-module-decorators';

export default class AdressModule {
  street: string = "";
  zip: string = "";
  city: string = "";
  number: string = "";

  @Mutation
  streetMutation(value: string) {
    this.task = value;
  }

  @Action({ commit: "streetMutation" })
  streetAction() {
    return "New street"
  }

  @Action
  logStreet() {
    console.log(this.street);
  }
}

On first sight It looks good. I can call logStreet action from some vue components and I have it access to state so I can assign to some div for example. But I cannot change state because Mutations aren't working.

Is there an option to assign a class to state?

closed time in a month

SimonDucak

issue closedchampionswimmer/vuex-module-decorators

Migrate LGTM.com installation from OAuth to GitHub App

Hi There,

This project is still using an old implementation of LGTM's automated code review, which has now been disabled. To continue using automated code review, and receive checks on your Pull Requests, please install the GitHub App on this repository.

Thanks, The LGTM Team

closed time in a month

LGTM-badger

issue closedchampionswimmer/vuex-module-decorators

getModule when using stateFactory and reusing module?

I have a usecase similar to the state_factory_state_isolation.ts test where I am reusing the same module with a few different names

@Module({ stateFactory: true, namespaced: true })
class FactoryModule extends VuexModule {
  wheels = 2

  @Mutation
  incrWheels(extra: number) {
    this.wheels += extra
  }

  get axles() {
    return this.wheels / 2
  }
}

const store = new Vuex.Store({
  modules: {
    factoryModA: FactoryModule,
    factoryModB: FactoryModule,

  }
})

Is there any way I can use getModule in order to leverage type safety? I've tried combing the documentation and the other issues here but, unless I missed something, I didn't see any previous solutions.

closed time in a month

jaredmcateer

issue closedchampionswimmer/vuex-module-decorators

Suggestion: Return data on mutation

Hello!

You did really nice extension to Vue world.

Is there any reason why mutations are returning undefined? Soo far I have read the mutations are done in sync. Actions are async. So why I can't access mutation's data in actions?

Example

  @Mutation
  ADD_SOMETHING(payload: any) {
    // some logic what process exist or new uuid based on state
    const uuid = getOrGenerateUUID();
    this.list.push({data: payload, uuid})
    return uuid;
  }

  @Action
  addSomething(payload: any) {
    const uuid = this.ADD_SOMETHING(payload);
    // do next mutations based on uuid
  }

At the moment is workaround to pass callback function in arguments but it makes mess in code.

Thank you and have a nice day.

closed time in a month

sionzeecz

issue closedchampionswimmer/vuex-module-decorators

Any examples of production codebases without dynamic modules?

I'm having troubles with dynamic modules (something wrong with my getModule() calls not returning the right thing), but I don't need them to be dynamic. Is there a good example with a few modules where they're not dynamic? It would help to see a whole working system.

closed time in a month

garyo

issue closedchampionswimmer/vuex-module-decorators

if i add a child file in the store file,it make a error

in '~/store/index.ts'

import { getModule } from 'vuex-module-decorators'
import testStore from '~/store/modules/test'

let helper = (module) => {
    return  (store) => {
        console.log(store,'store')
        return getModule(module,store)
    }
}

let test = helper(testStore)

export {
    test
}

in '~/store/modules/test.ts'

import { Module, VuexModule, Mutation, Action, getModule } from 'vuex-module-decorators'

@Module({name: 'test',stateFactory: true,namespaced: true})
export default class test extends VuexModule {
    data = {anme:12312}
    
    @Mutation
    setTest(info) {
        this.data = info;
    }
}

in page.vue

mounted(){
  import {test} from '~/store'
  let {setTest} = test(this.$store);
  setTest({aasdf:213231}
}

it throw an error unknown mutation type: test/setTest

my store file  [
  store:[
     modules:[test.ts],
     index.ts
 ]
]
but  if the file [
  store:[
    test.ts,
    index.ts
 ]
]   ,if work well.

i find my namespace is modules/test/setTest,but getModule path is test/setTest, how can i add the path modules?

nuxt 2.9.2 vuex-module-decorators 0.10.1

finally i find if add 'modules' in the name it work well @Module({name: 'modules/test',stateFactory: true,namespaced: true})

how to auto add the path modules ?

if i add 'modules' in the name ,when i use getModule,it make another state error
wxUserInfo: [Exception: TypeError: Cannot read property 'wxUserInfo' of undefined at **** at Object.invokeGetter (<anonymous>:2:14)]

closed time in a month

liuhoi

issue closedchampionswimmer/vuex-module-decorators

When using dynamic:true, it's throwing an error "store of undefined"

Hi everybody!,

I was integrating this plugin and it works well for me. Thanks for all your work! I figured out one strange thing: When adding dynamic: true to Module decorator, like this:

@Module({
  dynamic: true, // <--- this
  store: Store,
  name: 'test',
  namespaced: true,
})
export default class Test extends VuexModule {
  // ...
}

It was thrown the following error message, that "store" in undefined Cannot read property 'registerModule' of undefined, on source code:

node_modules/vuex-module-decorators/dist/esm/index.js::260

modOpt.store.registerModule(modOpt.name, // TODO: Handle nested modules too in future
module);

I wondered, why modOpt.store is undefined. Maybe I didn't understand dynamic correctly or made some other mistakes in configuration? The "ToDo" in the source was interesting as well :) Regarding example code, I can provide an example, but it's just the sourcecode from this site.

closed time in a month

DarioDomiDE

issue closedchampionswimmer/vuex-module-decorators

Vuex module or Typescript class?

I like this package and I think it's a great improvement (I would say even a need) over plain standard Vuex modules ... but ... now that we can define modules as TypeScript classes, with typed states, mutations, actions... what's the advantage of using Vuex instead of TypeScript classes and objects?

I mean.. instead of a Vuex module, you can create global objects with its properties and methods that you can pass as properties to components. Is it the only advantage that you don't have to pass Vuex modules to components as properties?

closed time in a month

jordisan

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 0ece1bdde5721e7f6061123473422c0dc198a28a

deploy docs : Sun Sep 20 00:59:36 IST 2020

view details

push time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 04237264264635e38a0293f119a8a97ce30219ad

update docs Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 1f356cdb31e525a1709e160d6fd90cb737fdedaf

package updates Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha 7bf752f3e066e27289bf1de1fe84ebfdcd8f5c0c

1.0.0

view details

push time in a month

created tagchampionswimmer/vuex-module-decorators

tagv1.0.0

TypeScript/ES7 Decorators to create Vuex modules declaratively

created time in a month

PullRequestReviewEvent

push eventchampionswimmer/vuex-module-decorators

Adrian Mikołajczyk

commit sha e7c0118fe9f2aa40a7b036d1d1f5b94912b328f9

#177 Fixed access to state of child modules

view details

Arnav Gupta

commit sha d6886c68c541f9513178d95bfd0c4bd4e47c60cc

Merge branch 'master' into master

view details

Arnav Gupta

commit sha ff40a250f3b8a0e3fcc9445a71e95240937c1cb6

Merge pull request #223 from adrian1207/master

view details

push time in a month

PR merged championswimmer/vuex-module-decorators

#177 Fixed access to state of child modules

There was no access to state of child modules because of error:

TypeError: "statics.store.state[modOpt.name] is undefined"

And state of child module was for example like this: statics.store.state.core.app.key.

I've changed staticStateGenerator function so it can access nested state properties.

+6 -1

2 comments

1 changed file

adrian1207

pr closed time in a month

PullRequestReviewEvent

push eventchampionswimmer/my-jetbrains-settings

Arnav Gupta

commit sha 136ec907d463cad51ba83e64b866fcc3c818c344

IU-2020.2.2 <championswimmer@Arnavs-MacBook-Pro.local Update C_C__.xml, Zen CSS.xml, debugger.xml

view details

Arnav Gupta

commit sha 7678ce03ee4d80b904aeffad3ae5b4bc3bd37b4f

IU-2020.2.2 <championswimmer@Arnavs-MacBook-Pro.local

view details

push time in a month

push eventcoding-blocks-archives/Android-RoadMap-OneNote

Arnav Gupta

commit sha 999c0b789192c7e203a9a89b1a1de13672190692

Add files via upload

view details

push time in a month

create barnchcoding-blocks-archives/Android-RoadMap-OneNote

branch : master

created branch time in a month

created repositorycoding-blocks-archives/Android-RoadMap-OneNote

created time in a month

push eventcoding-blocks/boss

Ankit Raj

commit sha 407852bfa88b2d420af03ea49dd9edd2003c6d0f

Fixes typo : 2019 --> 2020 Fixes typo, it should be 2020 but it is 2019.

view details

Arnav Gupta

commit sha 4349937532dd302a603150c6bf650ce3f98515a3

Merge pull request #417 from ankiiitraj/patch-1 Fixes typo : 2019 --> 2020

view details

push time in a month

PR merged coding-blocks/boss

Fixes typo : 2019 --> 2020

Fixes typo, it should be 2020 but it is 2019.

+1 -1

2 comments

1 changed file

ankiiitraj

pr closed time in a month

created tagchampionswimmer/vuex-persist

tagv3.1.0

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

created tagchampionswimmer/vuex-persist

tagv3.0.0

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

push eventchampionswimmer/vuex-persist

Arnav Gupta

commit sha cd97fc9e832df878b0c2a409916a3b0a6270f9bf

replacing lodash merge with deepmerge Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha 6c0d2fc0cd26576bfe4b0c83955e485deeb54d12

changelog update Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha f309e4bcfaf27f4787aab12dc829f78a9bb27c77

3.0.0

view details

Arnav Gupta

commit sha 8b71054296b2fb7a2fb30d7051d07ccccf54004b

fix build Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha cc2a7a25e88df63dfdbe013db9522810463015b2

3.1.0

view details

Arnav Gupta

commit sha d0770988287456c51857fa3650fc3d37002aa1e0

typescript type checking fixes Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

push time in a month

push eventchampionswimmer/vuex-persist

Arnav Gupta

commit sha 32f94acf9466ad8bd5ded3a667826a67afb5b5c1

update docs Signed-off-by: Arnav Gupta <arnav@codingblocks.com>

view details

Arnav Gupta

commit sha 11dac7717ee5350abdb8d3f9a6a8ff542f44bf76

2.3.0

view details

push time in a month

created tagchampionswimmer/vuex-persist

tagv2.3.0

A Vuex plugin to persist the store. (Fully Typescript enabled)

created time in a month

push eventchampionswimmer/my-jetbrains-settings

Arnav Gupta

commit sha 2c6c82d15ff188ce05ece75c4a3b02eb589c3887

IU-2020.2.2 <championswimmer@Arnavs-MacBook-Pro.local Update other.xml, output.xml, iterations.xml, debugger.xml Create lightEdit.xml

view details

Arnav Gupta

commit sha e1671b6cf451f0f068eacf0ab6e949de490e7c9d

IU-2020.2.2 <championswimmer@Arnavs-MacBook-Pro.local

view details

Arnav Gupta

commit sha 16d0d916b378cc7564d39a6764b3be68f93294b9

IU-2020.2.2 <championswimmer@Arnavs-MacBook-Pro.local Merge branch 'master' Conflicts: _mac/path.macros.xml debugger.xml

view details

push time in a month

push eventcoding-blocks-archives/Web-Dev-Roadmap-OneNote

Arnav Gupta

commit sha d671b2c1879d9e60268278ec03689440bac621e7

Add files via upload

view details

push time in a month

create barnchcoding-blocks-archives/Web-Dev-Roadmap-OneNote

branch : master

created branch time in a month

created repositorycoding-blocks-archives/Web-Dev-Roadmap-OneNote

created time in a month

push eventchampionswimmer/vuex-module-decorators

iqre8

commit sha d5246d1930f6d88ea8d41b25fbf53299c3a84ad0

Update getters.md Add example for method-style access for getters

view details

Arnav Gupta

commit sha a25d2748108a2ed90f7c79c56bf9e75e5b931d9d

Merge pull request #274 from iqre8/patch-1

view details

push time in a month

PR merged championswimmer/vuex-module-decorators

Update getters.md

Add example for method-style access for getters

+11 -0

1 comment

1 changed file

iqre8

pr closed time in a month

PullRequestReviewEvent

delete branch championswimmer/vuex-module-decorators

delete branch : dependabot/npm_and_yarn/prismjs-1.21.0

delete time in a month

push eventchampionswimmer/vuex-module-decorators

dependabot[bot]

commit sha 7a2c198dff406e50e9f6b0d2fc683c2479ca4dfd

Bump prismjs from 1.19.0 to 1.21.0 Bumps [prismjs](https://github.com/PrismJS/prism) from 1.19.0 to 1.21.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.19.0...v1.21.0) Signed-off-by: dependabot[bot] <support@github.com>

view details

Arnav Gupta

commit sha 665df7b426484a71fec1701d9a612d1afb11a17e

Merge pull request #294 from championswimmer/dependabot/npm_and_yarn/prismjs-1.21.0 Bump prismjs from 1.19.0 to 1.21.0

view details

push time in a month

PR merged championswimmer/vuex-module-decorators

Bump prismjs from 1.19.0 to 1.21.0 dependencies

Bumps prismjs from 1.19.0 to 1.21.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/PrismJS/prism/releases">prismjs's releases</a>.</em></p> <blockquote> <h2>v1.21.0</h2> <p>Release 1.21.0</p> <h2>v1.20.0</h2> <p>Release 1.20.0</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PrismJS/prism/blob/master/CHANGELOG.md">prismjs's changelog</a>.</em></p> <blockquote> <h2>1.21.0 (2020-08-06)</h2> <h3>New components</h3> <ul> <li><strong>.ignore</strong> & <strong>.gitignore</strong> & <strong>.hgignore</strong> & <strong>.npmignore</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2481">#2481</a>) <a href="https://github.com/PrismJS/prism/commit/3fcce6fe"><code>3fcce6fe</code></a></li> <li><strong>Agda</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2430">#2430</a>) <a href="https://github.com/PrismJS/prism/commit/3a127c7d"><code>3a127c7d</code></a></li> <li><strong>AL</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2300">#2300</a>) <a href="https://github.com/PrismJS/prism/commit/de21eb64"><code>de21eb64</code></a></li> <li><strong>Cypher</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2459">#2459</a>) <a href="https://github.com/PrismJS/prism/commit/398e2943"><code>398e2943</code></a></li> <li><strong>Dhall</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2473">#2473</a>) <a href="https://github.com/PrismJS/prism/commit/649e51e5"><code>649e51e5</code></a></li> <li><strong>EditorConfig</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2471">#2471</a>) <a href="https://github.com/PrismJS/prism/commit/ed8fff91"><code>ed8fff91</code></a></li> <li><strong>HLSL</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2318">#2318</a>) <a href="https://github.com/PrismJS/prism/commit/87a5c7ae"><code>87a5c7ae</code></a></li> <li><strong>JS stack trace</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2418">#2418</a>) <a href="https://github.com/PrismJS/prism/commit/ae0327b3"><code>ae0327b3</code></a></li> <li><strong>PeopleCode</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2302">#2302</a>) <a href="https://github.com/PrismJS/prism/commit/bd4d8165"><code>bd4d8165</code></a></li> <li><strong>PureBasic</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2369">#2369</a>) <a href="https://github.com/PrismJS/prism/commit/d0c1c70d"><code>d0c1c70d</code></a></li> <li><strong>Racket</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2315">#2315</a>) <a href="https://github.com/PrismJS/prism/commit/053016ef"><code>053016ef</code></a></li> <li><strong>Smali</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2419">#2419</a>) <a href="https://github.com/PrismJS/prism/commit/22eb5cad"><code>22eb5cad</code></a></li> <li><strong>Structured Text (IEC 61131-3)</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2311">#2311</a>) <a href="https://github.com/PrismJS/prism/commit/8704cdfb"><code>8704cdfb</code></a></li> <li><strong>UnrealScript</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2305">#2305</a>) <a href="https://github.com/PrismJS/prism/commit/1093ceb3"><code>1093ceb3</code></a></li> <li><strong>WarpScript</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2307">#2307</a>) <a href="https://github.com/PrismJS/prism/commit/cde5b0fa"><code>cde5b0fa</code></a></li> <li><strong>XML doc (.net)</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2340">#2340</a>) <a href="https://github.com/PrismJS/prism/commit/caec5e30"><code>caec5e30</code></a></li> <li><strong>YANG</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2467">#2467</a>) <a href="https://github.com/PrismJS/prism/commit/ed1df1e1"><code>ed1df1e1</code></a></li> </ul> <h3>Updated components</h3> <ul> <li>Markup & JSON: Added new aliases (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2390">#2390</a>) <a href="https://github.com/PrismJS/prism/commit/9782cfe6"><code>9782cfe6</code></a></li> <li>Fixed several cases of exponential backtracking (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2268">#2268</a>) <a href="https://github.com/PrismJS/prism/commit/7a554b5f"><code>7a554b5f</code></a></li> <li><strong>APL</strong> <ul> <li>Added <code>⍥</code> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2409">#2409</a>) <a href="https://github.com/PrismJS/prism/commit/0255cb6a"><code>0255cb6a</code></a></li> </ul> </li> <li><strong>AutoHotkey</strong> <ul> <li>Added missing <code>format</code> built-in (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2450">#2450</a>) <a href="https://github.com/PrismJS/prism/commit/7c66cfc4"><code>7c66cfc4</code></a></li> <li>Improved comments and other improvements (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2412">#2412</a>) <a href="https://github.com/PrismJS/prism/commit/ddf3cc62"><code>ddf3cc62</code></a></li> <li>Added missing definitions (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2400">#2400</a>) <a href="https://github.com/PrismJS/prism/commit/4fe03676"><code>4fe03676</code></a></li> </ul> </li> <li><strong>Bash</strong> <ul> <li>Added <code>composer</code> command (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2298">#2298</a>) <a href="https://github.com/PrismJS/prism/commit/044dd271"><code>044dd271</code></a></li> </ul> </li> <li><strong>Batch</strong> <ul> <li>Fix escaped double quote (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2485">#2485</a>) <a href="https://github.com/PrismJS/prism/commit/f0f8210c"><code>f0f8210c</code></a></li> </ul> </li> <li><strong>C</strong> <ul> <li>Improved macros and expressions (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2440">#2440</a>) <a href="https://github.com/PrismJS/prism/commit/8a72fa6f"><code>8a72fa6f</code></a></li> <li>Improved macros (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2320">#2320</a>) <a href="https://github.com/PrismJS/prism/commit/fdcf7ed2"><code>fdcf7ed2</code></a></li> </ul> </li> <li><strong>C#</strong> <ul> <li>Improved pattern matching (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2411">#2411</a>) <a href="https://github.com/PrismJS/prism/commit/7f341fc1"><code>7f341fc1</code></a></li> <li>Fixed adjacent string interpolations (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2402">#2402</a>) <a href="https://github.com/PrismJS/prism/commit/2a2e79ed"><code>2a2e79ed</code></a></li> </ul> </li> <li><strong>C++</strong> <ul> <li>Added support for default comparison operator (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2426">#2426</a>) <a href="https://github.com/PrismJS/prism/commit/8e9d161c"><code>8e9d161c</code></a></li> <li>Improved class name detection (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2348">#2348</a>) <a href="https://github.com/PrismJS/prism/commit/e3fe9040"><code>e3fe9040</code></a></li> <li>Fixed <code>enum class</code> class names (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2342">#2342</a>) <a href="https://github.com/PrismJS/prism/commit/30b4e254"><code>30b4e254</code></a></li> </ul> </li> <li><strong>Content-Security-Policy</strong> <ul> <li>Fixed directives (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2461">#2461</a>) <a href="https://github.com/PrismJS/prism/commit/537a9e80"><code>537a9e80</code></a></li> </ul> </li> <li><strong>CSS</strong> <ul> <li>Improved url and added keywords (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2432">#2432</a>) <a href="https://github.com/PrismJS/prism/commit/964de5a1"><code>964de5a1</code></a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PrismJS/prism/commit/187c8a607ee70c7914682870156faa31ed01f001"><code>187c8a6</code></a> 1.21.0</li> <li><a href="https://github.com/PrismJS/prism/commit/bf4f323391d546d4b2e1a388f05c512a27491e9c"><code>bf4f323</code></a> Changelog for v1.21.0 (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2507">#2507</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/8bba4880202ef6bd7a1e379fe9aebe69dd75f7be"><code>8bba488</code></a> Previewers: Fixed XSS (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2506">#2506</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/158caf52343e59a66c2351ff1d83648efe871e33"><code>158caf5</code></a> JSON: Greedy comments (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2479">#2479</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/f0f8210c1a9745c064d49bfb985544c654986b24"><code>f0f8210</code></a> Batch: Fix escaped double quote (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2485">#2485</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/649e51e56250a81dc0b0c4f5b3a4ea23e1c21834"><code>649e51e</code></a> Added support for Dhall (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2473">#2473</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/453079bf96746e0c44f90cb7cd90fcae9a5f94cc"><code>453079b</code></a> Line Numbers: Fixed class name on website</li> <li><a href="https://github.com/PrismJS/prism/commit/a0efa40bde420ac3923947be611ebe6b3f077dce"><code>a0efa40</code></a> Fixed Treeview page (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2484">#2484</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/78161d607fe7d493831ff19759aac951330134a1"><code>78161d6</code></a> VB: Added VBA alias (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2469">#2469</a>)</li> <li><a href="https://github.com/PrismJS/prism/commit/ed1df1e1208401a8b84330ecc39689fa37d0e9f6"><code>ed1df1e</code></a> Added support for YANG (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2467">#2467</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PrismJS/prism/compare/v1.19.0...v1.21.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in a month

delete branch championswimmer/vuex-module-decorators

delete branch : dependabot/npm_and_yarn/mock-local-storage-1.1.15

delete time in a month

push eventchampionswimmer/vuex-module-decorators

dependabot[bot]

commit sha 9631dd44134cde439b1367f9409b79cbb9dabca9

Bump mock-local-storage from 1.1.11 to 1.1.15 Bumps [mock-local-storage](https://github.com/letsrock-today/mock-local-storage) from 1.1.11 to 1.1.15. - [Release notes](https://github.com/letsrock-today/mock-local-storage/releases) - [Commits](https://github.com/letsrock-today/mock-local-storage/compare/v1.1.11...v1.1.15) Signed-off-by: dependabot[bot] <support@github.com>

view details

Arnav Gupta

commit sha 20d75098227c2da515970f63c45581565e908e4a

Merge pull request #305 from championswimmer/dependabot/npm_and_yarn/mock-local-storage-1.1.15 Bump mock-local-storage from 1.1.11 to 1.1.15

view details

push time in a month

PR merged championswimmer/vuex-module-decorators

Bump mock-local-storage from 1.1.11 to 1.1.15 dependencies

Bumps mock-local-storage from 1.1.11 to 1.1.15. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/e9d2ace242482719f73c597c763d56f8461ef2d1"><code>e9d2ace</code></a> 1.1.15 [Travis]</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/66bb53076c167e82d9d51132c933b814e21896d3"><code>66bb530</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/letsrock-today/mock-local-storage/issues/23">#23</a> from letsrock-today/dependabot/npm_and_yarn/lodash-4.1...</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/fc9ccabe5a6d5c2f6748afe899401e05f117d37e"><code>fc9ccab</code></a> 1.1.14 [Travis]</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/778cae74981e3dd9204bd54fbda5fa99c628372f"><code>778cae7</code></a> Bump lodash from 4.17.15 to 4.17.19</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/71da468b5a2d50f72e0100d762312e726d1a00f3"><code>71da468</code></a> 1.1.13 [Travis]</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/fbe3f0f6a1ae29940cfaf15c0d3cbbc73bd7effe"><code>fbe3f0f</code></a> 1.1.12 [Travis]</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/ba96afd573efa13c4f539f1dd6e5a7a4828e0244"><code>ba96afd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/letsrock-today/mock-local-storage/issues/19">#19</a> from AriLFrankel/expose-window-Storage</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/93810dbdabd361d076577344262f1627016a7029"><code>93810db</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/letsrock-today/mock-local-storage/issues/22">#22</a> from mojoaxel/patch-1</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/bf7f2391fa89ef26faa00d5268609d69d6084fbf"><code>bf7f239</code></a> chore(README): format js example</li> <li><a href="https://github.com/letsrock-today/mock-local-storage/commit/f4342e12dcac706e5f14cc542bea1f35411fb6c9"><code>f4342e1</code></a> Storage interface: expose Storage property on the Window</li> <li>See full diff in <a href="https://github.com/letsrock-today/mock-local-storage/compare/v1.1.11...v1.1.15">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha 967612663c01bf71e5d5cb8d9a3fc06396970f5b

Update dependabot.yml

view details

push time in a month

push eventchampionswimmer/vuex-module-decorators

Arnav Gupta

commit sha fc5a05b710bd2a21d693c3880cdad683047a0918

Create dependabot.yml

view details

push time in a month

more