swagger-editor icon indicating copy to clipboard operation
swagger-editor copied to clipboard

chore(deps-dev): bump cypress from 14.4.1 to 15.7.0

Open dependabot[bot] opened this issue 1 month ago • 0 comments

Bumps cypress from 14.4.1 to 15.7.0.

Release notes

Sourced from cypress's releases.

v15.7.0

Changelog: https://docs.cypress.io/app/references/changelog#15-7-0

v15.6.0

Changelog: https://docs.cypress.io/app/references/changelog#15-6-0

v15.5.0

Changelog: https://docs.cypress.io/app/references/changelog#15-5-0

v15.4.0

Changelog: https://docs.cypress.io/app/references/changelog#15-4-0

v15.3.0

Changelog: https://docs.cypress.io/app/references/changelog#15-3-0

v15.2.0

Changelog: https://docs.cypress.io/app/references/changelog#15-2-0

v15.1.0

Changelog: https://docs.cypress.io/app/references/changelog#15-1-0

v15.0.0

Changelog: https://docs.cypress.io/app/references/changelog#15-0-0

v14.5.4

Changelog: https://docs.cypress.io/app/references/changelog#14-5-4

v14.5.3

Changelog: https://docs.cypress.io/app/references/changelog#14-5-3

v14.5.2

Changelog: https://docs.cypress.io/app/references/changelog#14-5-2

v14.5.1

Changelog: https://docs.cypress.io/app/references/changelog#14-5-1

v14.5.0

Changelog: https://docs.cypress.io/app/references/changelog#14-5-0

Commits

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.


Dependabot commands and options

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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[bot] avatar Nov 26 '25 14:11 dependabot[bot]

This is such an awesome accomplishment! I can't wait to try it with a react app with flow.

Base on the code change, could you confirm that it is this a different flavour of JavaScript client than the original ES 6 JavaScript client with useES6 : true configuration flag? i.e. the code gen command would be

java -jar swagger-codegen-cli-2.3.1.jar generate -i swagger.json -l javascript-flowtyped -o ./js-flow-sdk

joyfulelement avatar May 02 '18 17:05 joyfulelement

I have no experience with Flow, so I won't be able to review.

frol avatar May 02 '18 17:05 frol

@joyfulelement this client is different from the es6 client. simply adding flow annotations didn't work with the current code. The code is written in ES6 with flow syntax. In order to use it as a library in your react app, it comes with a npm build script to transpile it into node.js and browser compatible es5 syntax with additional .js.flow for flow to use the types properly.

steps to use this client as a npm library:

  • create yourself a new folder and repo for the client sdk
  • generate client with java -jar swagger-codegen-cli-2.3.1.jar generate -i swagger.json -l javascript-flowtyped -o <path-to-sdk-repo>
  • npm install
  • NODE_ENV=production npm run build
  • git add .
  • git commit -m 'update sdk version'
  • git tag v<SEMVER>
  • git push && git push --tags
  • in your react app do:
  • npm install <SDK-REPO-URL>#v<SEMVER>
  • import { * as api } from 'client-sdk-package'

if you want to generate the api directly inside your client-app you can do so. just import the files from the generated src then. these are pure es6 with flow types and need to be transpiled like you would do with the other code.

jaypea avatar May 03 '18 09:05 jaypea

Hi @wing328, this PR introduces a new javascript language dialect, please advise how to proceed with reviewing this changes.

jaypea avatar May 09 '18 15:05 jaypea

@jaypea I'm using your branch for my react-native project and it works great! :+1:

Two small things I had to tweak using a custom template that you might want to take into consideration:

  • Change the way basePath is accessed. I need to be able to change the basePath during runtime without re-instantiating the api class. Currently the basePath variable is set as a constant and protected by the scoping.

  • Change some of the typing surrounding portableFetch so that it would type properly when using react native's built in fetch (My flow comes with the RequestOptions type built in, so I had to use that). I'm not sure if these changes are specific to my react native setup.

wouterh-dev avatar May 28 '18 13:05 wouterh-dev

@wouterhund thanks for the feedback.

to change the basePath during runtime, I feed it into the Configuration Object:

const myConfig = new apiclient.Configuration({
    apiKey: token,
    basePath: (process.env.REACT_APP_API_BASEPATH: any),
  });
const myApi = apiclient.MyApi(myConfig);

I've no experience with react native, though.

jaypea avatar May 29 '18 14:05 jaypea

whether/when this change going to be merged and released? this is very desired feature - imo

ivanantipin avatar Aug 05 '18 18:08 ivanantipin

When will this PR be merged? I would really like to try it out to generated a flow client to use it in Frontend.

MichaelSu1983 avatar Aug 16 '18 05:08 MichaelSu1983

@ivanantipin @MichaelSu1983 please see the linked PR from May 29 in another repository to try it ;)

jaypea avatar Aug 16 '18 07:08 jaypea

any update?

goodmind avatar Dec 22 '18 13:12 goodmind

Hi , When i run the script java -jar swagger-codegen-cli-2.3.1.jar generate -i swagger.json -l javascript-flowtyped -o sdk-repo

I am seeing the following error:

Caused by: java.lang.ClassNotFoundException: javascript-flowtyped at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at io.swagger.codegen.CodegenConfigLoader.forName(CodegenConfigLoader.java:29) ... 3 more

somebody help?

aplis1 avatar Apr 17 '20 18:04 aplis1