profile
viewpoint

enekonieto/AforoKontrola 0

Hatortxu Rock-erako aforo kontrolarako aplikazio mugikorra

enekonieto/matrix-docker-ansible-deploy 0

Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker

enekonieto/matrix-spring-boot-sdk 0

This project contains tools to use matrix with Spring Boot and is written in Kotlin.

enekonieto/necrorol-book 0

Necrorol book

enekonieto/prism 0

Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.

enekonieto/riotX-android 0

RiotX - Android Matrix SDK & Riot rewrites

enekonieto/site-build 0

Build script and documents for the OpenSeadragon site

enekonieto/splide 0

Splide is a lightweight, powerful and flexible slider and carousel, written in pure JavaScript without any dependencies.

oierbravo/book-mongoband-md 0

Song Book Generator

issue closedSplidejs/splide

Compilation error: "Exports and export assignments are not permitted in module augmentations."

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

3.6.4

Description

Importing Splide in an Angular 12 app causes compilation error:

Error: node_modules/@splidejs/splide/dist/types/index.d.ts:11:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.

11   export * from './types';

It looks a regression, it does not happen with v3.5.8

Typescript strict mode is enabled.

Caused by lines 10 to 12 in dist/types/index.d.ts:

declare module '@splidejs/splide' {
  export * from './types';
}

Reproduction Link

No response

Steps to Reproduce

  1. Include lib in Angular app (v12).
  2. Try to compile

Expected Behaviour

No compilation error.

closed time in a day

enekonieto

issue openedng-select/ng-select

Export `testing/helpers.ts` in `public-api.d.ts`

Is your feature request related to a problem? Please describe. I see no easy option to interact with NgSelect in Angular tests.

Describe the solution you'd like I would like to use functions in testing/helpers.ts

Describe alternatives you've considered I copy testing/helpers.ts to my project.

created time in 7 days

issue openedSplidejs/splide

Compilation error: "Exports and export assignments are not permitted in module augmentations."

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

3.6.4

Description

Importing Splide in an Angular 12 app causes compilation error:

Error: node_modules/@splidejs/splide/dist/types/index.d.ts:11:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.

11   export * from './types';

It looks a regression, it does not happen with v3.5.8

Typescript strict mode is enabled.

Caused by: https://github.com/Splidejs/splide/compare/v3.5.8...v3.6.1#diff-1c54e6f33c7c31f9f41df45580c22b437e552ca0b7f95f9d534fba2182b25490

export interface KeyboardComponent extends BaseComponent {
    disable(disabled: boolean): void;
}

Reproduction Link

No response

Steps to Reproduce

  1. Include lib in Angular app (v12).
  2. Try to compile

Expected Behaviour

No compilation error.

created time in 7 days

issue openedgparlakov/scuri-code

Code restart required after installation?

After installing plugin Create spec command was failing with schematics not found error. I followed the path and saw that ~/.config/Code/User/globalStorage/gparlakov.scuri-code/deps was empty. After closing and reopening Code folder has stuff and command was working.

Sorry, I didn't take the time to test if it replicates.

Code version info:

Version: 1.62.3
Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Date: 2021-11-17T08:00:36.721Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-90-generic

created time in 7 days

fork enekonieto/recogito-client-core

Core functions and components for RecogitoJS and Annotorious

fork in 14 days

issue commentrecogito/annotorious-openseadragon

Problem restoring 'en' locale

Could it be a recogito-client-core issue?

I think the problem is in recogito-client-core/src/i18n/index.jsx line 48:

i18n.extend(MESSAGES[lang]);

MESSAGES['en'] does not exist.

enekonieto

comment created time in 14 days

issue commentrecogito/annotorious-openseadragon

Problem restoring 'en' locale

Same error happens if you start with nl and change to en (only steps 2 and 3). Step 1 was only to prove this is related to en.

enekonieto

comment created time in 14 days

issue openedrecogito/annotorious-openseadragon

Problem restoring 'en' locale

Steps:

  1. Create Annotorious with locale: 'en'. Buttons are in English (ok).
  2. Destroy with destroy() and recreate with locale: 'nl'. Buttons are in Dutch (ok).
  3. Destroy with destroy() and recreate with locale: 'en'. Buttons are in Dutch (bad!).

If I use es instead of en buttons are in Spanish in steps 1 and 3 (ok).

Failing in version 2.5.16 (latest)

created time in 14 days

issue closedstoplightio/prism

Dynamically generated enum values limited to 100 characters

Describe the bug

Dynamically generated enum values are truncated to 100 characters length.

To Reproduce

  1. Given this OpenAPI document:

     uri:
       type: string
       description: URI to the data set
       format: uri
       enum:
         [
           https://this_is_a_terrible_long_URL_so_loooooooooooooooooooooooooooooooooooooooooong_that_prism_truncates_it.html,
         ]
    
  2. Run this CLI command prism -- mock -d api/openapi.yaml

  3. Prism generated JSON has uri member value truncated to 100 characters

Expected behavior

Value not to be truncated.

Additional context

I have met this limit more than once, specially working with URIs.

closed time in a month

enekonieto

issue commentstoplightio/prism

Dynamically generated enum values limited to 100 characters

As pointed by radzserg in the PR:

"You can override json-schema-faker options with the latest Prism version

openapi: 3.1.0

x-json-schema-faker:
  max-length: 2048 

See more details here"

enekonieto

comment created time in a month

pull request commentstoplightio/prism

fix: increased maxLength in JSONSchema from 100 to 2048.

Thanks for pointing the json-schema-faker option!

enekonieto

comment created time in a month

PR closed stoplightio/prism

Reviewers
fix: increased maxLength in JSONSchema from 100 to 2048.

Addresses #1914

Summary

Prism was truncating long enum values to 100 chars on dynamic mode (-d). That limit could be easily reached when values were URIs.

Increased limit to 2048, according to this StackOverflow answer.

I don't know which performance or memory usage implications may have this change, if any.

Checklist

  • The basics
    • [x] I tested these changes manually in my local or dev environment
  • Tests
    • [ ] Added or updated
  • Event Tracking
    • [ ] I added event tracking and followed the event tracking guidelines
  • Error Reporting
    • [x] I reported errors and followed the error reporting guidelines
+1 -1

2 comments

1 changed file

enekonieto

pr closed time in a month

issue commentstoplightio/prism

Dynamically generated enum values limited to 100 characters

Oops, I accidentally closed the issue trying to discard last comment...

PR sent increasing limit to 2048. As noted in the PR I don't know which implications could have the change.

P.D: I see the Github commenting UI and for sure that I'm not the first person doing the same mistake. You have a green Comment button with a grey button on left, which text my lazy eyes didn't read and assume it was a Cancel.

enekonieto

comment created time in a month

IssuesEvent

PR opened stoplightio/prism

fix: increased maxLength in JSONSchema from 100 to 2048.

Addresses #1914

Summary

Prism was truncating long enum values to 100 chars on dynamic mode (-d). That limit could be easily reached when values were URIs.

Increased limit to 2048, according to this StackOverflow answer.

I don't know which performance or memory usage implications may have this change, if any.

Checklist

  • The basics
    • [x] I tested these changes manually in my local or dev environment
  • Tests
    • [ ] Added or updated
  • Event Tracking
    • [ ] I added event tracking and followed the event tracking guidelines
  • Error Reporting
    • [x] I reported errors and followed the error reporting guidelines
+1 -1

0 comment

1 changed file

pr created time in a month

issue closedstoplightio/prism

Dynamically generated enum values limited to 100 characters

Describe the bug

Dynamically generated enum values are truncated to 100 characters length.

To Reproduce

  1. Given this OpenAPI document:

     uri:
       type: string
       description: URI to the data set
       format: uri
       enum:
         [
           https://this_is_a_terrible_long_URL_so_loooooooooooooooooooooooooooooooooooooooooong_that_prism_truncates_it.html,
         ]
    
  2. Run this CLI command prism -- mock -d api/openapi.yaml

  3. Prism generated JSON has uri member value truncated to 100 characters

Expected behavior

Value not to be truncated.

Additional context

I have met this limit more than once, specially working with URIs.

closed time in a month

enekonieto

issue commentstoplightio/prism

Dynamically generated enum values limited to 100 characters

Hi @philsturgeon! First bug report here.

enekonieto

comment created time in a month

create barnchenekonieto/prism

branch : fix/json_schema_max_length

created branch time in a month

fork enekonieto/prism

Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.

https://stoplight.io/open-source/prism

fork in a month

issue commentstoplightio/prism

Dynamically generated enum values limited to 100 characters

Validator gives an error in stout: [1:29:42 PM] › [VALIDATOR] ✖ error Violation: response.body.referenceProfiles.0.uri must be equal to one of the allowed values: https://this_is_a_terrible_long_URL_so_loooooooooooooooooooooooooooooooooooooooooong_that_prism_truncates_it.html

enekonieto

comment created time in 2 months

issue commentstoplightio/prism

Dynamically generated enum values limited to 100 characters

This is my first bug report, so... thank you to all contributors, great project!!

enekonieto

comment created time in 2 months

issue openedstoplightio/prism

Dynamically generated enum values limited to 100 characters

Describe the bug

Dynamically generated enum values are truncated to 100 characters length.

To Reproduce

  1. Given this OpenAPI document:

     uri:
       type: string
       description: URI to the data set
       format: uri
       enum:
         [
           https://this_is_a_terrible_long_URL_so_loooooooooooooooooooooooooooooooooooooooooong_that_prism_truncates_it.html,
         ]
    
  2. Run this CLI command prism -- mock -d api/openapi.yaml

  3. Prism generated JSON has uri member value truncated to 100 characters

Expected behavior

Value not to be truncated.

Additional context

I have met this limit more than once, specially working with URIs.

created time in 2 months

startedSplidejs/splide

started time in 2 months

startedrecogito/annotorious-openseadragon

started time in 2 months

startedwebpack-contrib/webpack-bundle-analyzer

started time in 2 months

issue commentmoment/luxon

Bundle size

@justingolden21 I think the tool is webpack-bundle-analyzer (https://github.com/webpack-contrib/webpack-bundle-analyzer).

evtk

comment created time in 2 months

issue commentrecogito/recogito-client-core

Dependency in deprecated @babel/polyfill

Thank you for the fix! I was wondering about trying to fix myself but you were faster :)

enekonieto

comment created time in 2 months

issue openedrecogito/recogito-client-core

Dependency in deprecated @babel/polyfill

@babel/polyfill has been deprecated. More info and solution in https://babeljs.io/docs/en/babel-polyfill

created time in 2 months

delete branch enekonieto/splide

delete branch : patch-1

delete time in 2 months

more