RobinHerbots / inputmask.phone

Phone alias for Inputmask
MIT License
6 stars 9 forks source link

Add a release compatible with v5 #10

Open b1rdex opened 4 years ago

b1rdex commented 4 years ago

https://github.com/RobinHerbots/inputmask.phone/blob/16f29efb263686ba41ade6b1741ccf644d8d747d/package.json#L57-L59 defines v4 as a dependency. Please make a new release with v4|v5 as a requirement.

RobinHerbots commented 4 years ago

@b1rdex ,

I pushed v1.0.4-beta.4 which uses the latest inputmask.

b1rdex commented 3 years ago

@RobinHerbots there is v1.0.5 present: https://github.com/RobinHerbots/inputmask.phone/releases/tag/1.0.5 that's older

Could you please update deps and release 1.0.6?

Herz3h commented 2 years ago

Could you please update to inputmask v5?

Edit: I ended up doing: npm i https://github.com/RobinHerbots/inputmask.phone (this installs latest 1.0.6 beta which has inputmask v5 as a dependency), however after using following code:

const { default: Inputmask } = await import('inputmask/lib/inputmask');
await import('inputmask/lib/extensions/inputmask.extensions');
await import('inputmask.phone/dist/inputmask.phone.extensions.js');
await import('inputmask.phone/dist/phone-codes/phone');
new Inputmask({ alias: 'phone', 'clearIncomplete': true, 'removeMaskOnSubmit': true }).mask(repInput[0]);

It failed on this line saying: extendAliases is not a function