Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pr/5 #6

Merged
merged 3 commits into from
Sep 29, 2015
Merged

pr/5 #6

merged 3 commits into from
Sep 29, 2015

Conversation

jmdobry
Copy link
Member

@jmdobry jmdobry commented Sep 28, 2015

Creating repo-local pr of #5 so travis tests can pass.

My manual testing:

  • - express
  • - geddy
  • - grunt
  • - hapi
  • - koa
  • - kraken
  • - loopback
  • - redis
  • - restify
  • - sails

Style and licenses:

  • - express
  • - geddy
  • - grunt
  • - hapi
  • - koa
  • - kraken
  • - loopback
  • - redis
  • - restify
  • - sails

@jmdobry jmdobry self-assigned this Sep 28, 2015
@jmdobry
Copy link
Member Author

jmdobry commented Sep 28, 2015

@jonparrott @jsimonweb Do we want everything in this PR to adhere to the rules currently defined in .jshintrc?

Also, do we need that Apache 2.0 license header at the top of every file like I've seen in other places?

@jmdobry jmdobry mentioned this pull request Sep 28, 2015
@theacodes
Copy link

  1. Up to you.
  2. Absolutely. Anything written by a human should have that.

On Mon, Sep 28, 2015, 4:14 PM Jason Dobry notifications@github.com wrote:

@jonparrott https://github.com/jonparrott @jsimonweb
https://github.com/jsimonweb Do we want everything in this PR to adhere
to the rules currently defined in .jshintrc?

Also, do we need that Apache 2.0 license header at the top of every file
like I've seen in other places?


Reply to this email directly or view it on GitHub
#6 (comment)
.

@jmdobry
Copy link
Member Author

jmdobry commented Sep 29, 2015

Sounds good.

Style and licenses for appengine/express.

Style and licenses for appengine/geddy.

Style and licenses for appengine/grunt.

License for appengine/hapi and a couple other readme tweaks.

Fixed a bunch more jshint error
@jmdobry
Copy link
Member Author

jmdobry commented Sep 29, 2015

Merged after review.

jmdobry added a commit that referenced this pull request Sep 29, 2015
@jmdobry jmdobry merged commit 1b4867b into master Sep 29, 2015
@jmdobry jmdobry deleted the pr/5 branch November 13, 2015 22:34
gcf-merge-on-green bot pushed a commit that referenced this pull request Nov 16, 2020
The Typescript example is actually not working.
When App Engine is running the `npm run gcp-build`

It will throw erros like this one : 

`Step` #6 - "builder": index.ts(17,21): error TS2580: Cannot find name 'process'. 

The package.json is missing the node Types definitions module. 

My pull request is fixing that. 

Best
ahrarmonsur pushed a commit that referenced this pull request Nov 8, 2022
telpirion pushed a commit that referenced this pull request Nov 9, 2022
telpirion pushed a commit that referenced this pull request Nov 9, 2022
ace-n pushed a commit that referenced this pull request Nov 10, 2022
ace-n pushed a commit that referenced this pull request Nov 11, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 11, 2022
ace-n pushed a commit that referenced this pull request Nov 11, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 11, 2022
ace-n pushed a commit that referenced this pull request Nov 12, 2022
ace-n pushed a commit that referenced this pull request Nov 14, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 14, 2022
ace-n pushed a commit that referenced this pull request Nov 15, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 15, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
unforced pushed a commit that referenced this pull request Nov 17, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped) | devDependencies | major | [`^5.2.7` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/5.2.7/7.0.2) |
| [mocha](https://mochajs.org/) ([source](https://github.com/mochajs/mocha)) | devDependencies | major | [`^6.1.4` -> `^7.0.0`](https://renovatebot.com/diffs/npm/mocha/6.2.2/7.1.0) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v7.1.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;710--2020-02-26)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.0)

#### 🎉 Enhancements

[#&#8203;4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@&#8203;giltayar**](https://github.com/giltayar))

Mocha supports writing your test files as ES modules:

-   Node.js only v12.11.0 and above
-   Node.js below v13.2.0, you must set `--experimental-modules` option
-   current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support)
-   for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync)

**Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental**

#### 🐛 Fixes

-   [#&#8203;4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@&#8203;kaicataldo**](https://github.com/kaicataldo))

### [`v7.0.1`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;701--2020-01-25)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.0...v7.0.1)

#### 🐛 Fixes

-   [#&#8203;4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@&#8203;holm**](https://github.com/holm))
-   [#&#8203;4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@&#8203;KyoungWan**](https://github.com/KyoungWan))

#### 🔩 Other

-   [#&#8203;4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@&#8203;Zirak**](https://github.com/Zirak))

### [`v7.0.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;700--2020-01-05)

[Compare Source](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0)

#### 💥 Breaking Changes

-   [#&#8203;3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@&#8203;mojosoeun**](https://github.com/mojosoeun))
-   [#&#8203;3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@&#8203;ParkSB**](https://github.com/ParkSB)):
    -   `--list-interfaces` replaces `--interfaces`
    -   `--list-reporters` replaces `--reporters`
-   Hook pattern of `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba)):
    -   [#&#8203;3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed
    -   [#&#8203;3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed
    -   [#&#8203;4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks
-   [#&#8203;3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@&#8203;juergba**](https://github.com/juergba))

#### 🎉 Enhancements

-   [#&#8203;3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@&#8203;geigerzaehler**](https://github.com/geigerzaehler)):
    -   adds command-line options `--watch-files` and `--watch-ignore`
    -   removes `--watch-extensions`
-   [#&#8203;3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@&#8203;broofa**](https://github.com/broofa))

#### 📠 Deprecations

These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

-   [#&#8203;3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🐛 Fixes

-   [#&#8203;4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@&#8203;rgroothuijsen**](https://github.com/rgroothuijsen))
-   [#&#8203;4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🔍 Coverage

-   [#&#8203;4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@&#8203;SaeromB**](https://github.com/SaeromB))
-   [#&#8203;4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@&#8203;khg0712**](https://github.com/khg0712))
-   [#&#8203;4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@&#8203;jgehrcke**](https://github.com/jgehrcke))
-   [#&#8203;4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@&#8203;pzrq**](https://github.com/pzrq))
-   [#&#8203;4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@&#8203;kylef**](https://github.com/kylef))
-   [#&#8203;4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@&#8203;SheetJSDev**](https://github.com/SheetJSDev))
-   [#&#8203;4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@&#8203;Munter**](https://github.com/Munter))
-   [#&#8203;4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@&#8203;soobing**](https://github.com/soobing))

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/config-help/issues) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-service-directory).
unforced pushed a commit that referenced this pull request Nov 17, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped) | devDependencies | major | [`^5.2.7` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/5.2.7/7.0.2) |
| [mocha](https://mochajs.org/) ([source](https://github.com/mochajs/mocha)) | devDependencies | major | [`^6.1.4` -> `^7.0.0`](https://renovatebot.com/diffs/npm/mocha/6.2.2/7.1.0) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v7.1.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;710--2020-02-26)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.0)

#### 🎉 Enhancements

[#&#8203;4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@&#8203;giltayar**](https://github.com/giltayar))

Mocha supports writing your test files as ES modules:

-   Node.js only v12.11.0 and above
-   Node.js below v13.2.0, you must set `--experimental-modules` option
-   current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support)
-   for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync)

**Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental**

#### 🐛 Fixes

-   [#&#8203;4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@&#8203;kaicataldo**](https://github.com/kaicataldo))

### [`v7.0.1`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;701--2020-01-25)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.0...v7.0.1)

#### 🐛 Fixes

-   [#&#8203;4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@&#8203;holm**](https://github.com/holm))
-   [#&#8203;4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@&#8203;KyoungWan**](https://github.com/KyoungWan))

#### 🔩 Other

-   [#&#8203;4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@&#8203;Zirak**](https://github.com/Zirak))

### [`v7.0.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;700--2020-01-05)

[Compare Source](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0)

#### 💥 Breaking Changes

-   [#&#8203;3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@&#8203;mojosoeun**](https://github.com/mojosoeun))
-   [#&#8203;3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@&#8203;ParkSB**](https://github.com/ParkSB)):
    -   `--list-interfaces` replaces `--interfaces`
    -   `--list-reporters` replaces `--reporters`
-   Hook pattern of `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba)):
    -   [#&#8203;3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed
    -   [#&#8203;3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed
    -   [#&#8203;4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks
-   [#&#8203;3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@&#8203;juergba**](https://github.com/juergba))

#### 🎉 Enhancements

-   [#&#8203;3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@&#8203;geigerzaehler**](https://github.com/geigerzaehler)):
    -   adds command-line options `--watch-files` and `--watch-ignore`
    -   removes `--watch-extensions`
-   [#&#8203;3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@&#8203;broofa**](https://github.com/broofa))

#### 📠 Deprecations

These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

-   [#&#8203;3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🐛 Fixes

-   [#&#8203;4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@&#8203;rgroothuijsen**](https://github.com/rgroothuijsen))
-   [#&#8203;4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🔍 Coverage

-   [#&#8203;4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@&#8203;SaeromB**](https://github.com/SaeromB))
-   [#&#8203;4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@&#8203;khg0712**](https://github.com/khg0712))
-   [#&#8203;4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@&#8203;jgehrcke**](https://github.com/jgehrcke))
-   [#&#8203;4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@&#8203;pzrq**](https://github.com/pzrq))
-   [#&#8203;4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@&#8203;kylef**](https://github.com/kylef))
-   [#&#8203;4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@&#8203;SheetJSDev**](https://github.com/SheetJSDev))
-   [#&#8203;4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@&#8203;Munter**](https://github.com/Munter))
-   [#&#8203;4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@&#8203;soobing**](https://github.com/soobing))

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/config-help/issues) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-service-directory).
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
* synth: use common templating for .circleci/config.yml

* fix: add a samples/package.json
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped) | devDependencies | major | [`^5.2.7` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/5.2.7/7.0.2) |
| [mocha](https://mochajs.org/) ([source](https://github.com/mochajs/mocha)) | devDependencies | major | [`^6.1.4` -> `^7.0.0`](https://renovatebot.com/diffs/npm/mocha/6.2.2/7.1.0) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v7.1.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;710--2020-02-26)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.0)

#### 🎉 Enhancements

[#&#8203;4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@&#8203;giltayar**](https://github.com/giltayar))

Mocha supports writing your test files as ES modules:

-   Node.js only v12.11.0 and above
-   Node.js below v13.2.0, you must set `--experimental-modules` option
-   current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support)
-   for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync)

**Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental**

#### 🐛 Fixes

-   [#&#8203;4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@&#8203;kaicataldo**](https://github.com/kaicataldo))

### [`v7.0.1`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;701--2020-01-25)

[Compare Source](https://github.com/mochajs/mocha/compare/v7.0.0...v7.0.1)

#### 🐛 Fixes

-   [#&#8203;4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@&#8203;holm**](https://github.com/holm))
-   [#&#8203;4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@&#8203;KyoungWan**](https://github.com/KyoungWan))

#### 🔩 Other

-   [#&#8203;4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@&#8203;Zirak**](https://github.com/Zirak))

### [`v7.0.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;700--2020-01-05)

[Compare Source](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0)

#### 💥 Breaking Changes

-   [#&#8203;3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@&#8203;mojosoeun**](https://github.com/mojosoeun))
-   [#&#8203;3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@&#8203;ParkSB**](https://github.com/ParkSB)):
    -   `--list-interfaces` replaces `--interfaces`
    -   `--list-reporters` replaces `--reporters`
-   Hook pattern of `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba)):
    -   [#&#8203;3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed
    -   [#&#8203;3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed
    -   [#&#8203;4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks
-   [#&#8203;3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@&#8203;juergba**](https://github.com/juergba))

#### 🎉 Enhancements

-   [#&#8203;3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@&#8203;geigerzaehler**](https://github.com/geigerzaehler)):
    -   adds command-line options `--watch-files` and `--watch-ignore`
    -   removes `--watch-extensions`
-   [#&#8203;3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@&#8203;broofa**](https://github.com/broofa))

#### 📠 Deprecations

These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

-   [#&#8203;3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🐛 Fixes

-   [#&#8203;4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@&#8203;juergba**](https://github.com/juergba))
-   [#&#8203;4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@&#8203;rgroothuijsen**](https://github.com/rgroothuijsen))
-   [#&#8203;4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@&#8203;juergba**](https://github.com/juergba))

#### 🔍 Coverage

-   [#&#8203;4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@&#8203;juergba**](https://github.com/juergba))

#### 📖 Documentation

-   [#&#8203;4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@&#8203;SaeromB**](https://github.com/SaeromB))
-   [#&#8203;4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@&#8203;khg0712**](https://github.com/khg0712))
-   [#&#8203;4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@&#8203;jgehrcke**](https://github.com/jgehrcke))
-   [#&#8203;4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@&#8203;pzrq**](https://github.com/pzrq))
-   [#&#8203;4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@&#8203;boneskull**](https://github.com/boneskull))
-   [#&#8203;4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@&#8203;HyunSangHan**](https://github.com/HyunSangHan))
-   [#&#8203;3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@&#8203;outsideris**](https://github.com/outsideris))

#### 🔩 Other

-   [#&#8203;4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@&#8203;kylef**](https://github.com/kylef))
-   [#&#8203;4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@&#8203;SheetJSDev**](https://github.com/SheetJSDev))
-   [#&#8203;4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@&#8203;Munter**](https://github.com/Munter))
-   [#&#8203;4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@&#8203;soobing**](https://github.com/soobing))

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/config-help/issues) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-service-directory).
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
pattishin pushed a commit that referenced this pull request Nov 18, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
## 1.0.0 (2020-11-10)


### ⚠ BREAKING CHANGES

* initial generation of library (#4)

### Features

* initial generation ([182128b](https://www.github.com/googleapis/nodejs-ai-platform/commit/182128bfa593c787e2f0970ba224a68595b45971))
* initial generation of library ([#4](https://www.github.com/googleapis/nodejs-ai-platform/issues/4)) ([1b8db30](https://www.github.com/googleapis/nodejs-ai-platform/commit/1b8db30e243aac5d9dab74b00431c81dbf412a66))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
pattishin pushed a commit that referenced this pull request Nov 22, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
## 1.0.0 (2020-11-10)


### ⚠ BREAKING CHANGES

* initial generation of library (#4)

### Features

* initial generation ([182128b](https://www.github.com/googleapis/nodejs-ai-platform/commit/182128bfa593c787e2f0970ba224a68595b45971))
* initial generation of library ([#4](https://www.github.com/googleapis/nodejs-ai-platform/issues/4)) ([1b8db30](https://www.github.com/googleapis/nodejs-ai-platform/commit/1b8db30e243aac5d9dab74b00431c81dbf412a66))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
jsimonweb pushed a commit to jsimonweb/nodejs-docs-samples that referenced this pull request Dec 12, 2022
telpirion pushed a commit that referenced this pull request Jan 11, 2023
…tests (#6)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [X] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-video-stitcher/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [X] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes b:202972969
irataxy added a commit that referenced this pull request Jan 13, 2023
…tests (#6)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [X] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-video-stitcher/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [X] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes b:202972969
pattishin added a commit that referenced this pull request Dec 13, 2023
# This is the 1st commit message:

refactor: updating codeowners

# This is the commit message #2:

add chat functions

# This is the commit message #3:

use correct testing project

# This is the commit message #4:

refactor: adding system tests + updating corresponding chat samples

# This is the commit message #5:

add countTokens sample

# This is the commit message #6:

refactor: adding in region tags, abstracting out mimetype, adding new image ur

# This is the commit message #7:

refactor: updating gs url in test, fix to args getting passed to sample functions

# This is the commit message #8:

refactor: resolving file paths in tests, adding wait helper function

# This is the commit message #9:

add warning about safety concerns

# This is the commit message #10:

refactor:filling out nonstreamingchat and streamcontent tests

# This is the commit message #11:

add countTokens test

# This is the commit message #12:

refactor: filling out more streaming tests

# This is the commit message #13:

add safety settings test

# This is the commit message #14:

refactor: adding in stream content and multipart content tests

# This is the commit message #15:

feat: add new sendMultiModalPromptWithImage sample

# This is the commit message #16:

refactor: adding region tags
pattishin added a commit that referenced this pull request Dec 13, 2023
* feat: initial base for generative-ai

* # This is a combination of 16 commits.
# This is the 1st commit message:

refactor: updating codeowners

# This is the commit message #2:

add chat functions

# This is the commit message #3:

use correct testing project

# This is the commit message #4:

refactor: adding system tests + updating corresponding chat samples

# This is the commit message #5:

add countTokens sample

# This is the commit message #6:

refactor: adding in region tags, abstracting out mimetype, adding new image ur

# This is the commit message #7:

refactor: updating gs url in test, fix to args getting passed to sample functions

# This is the commit message #8:

refactor: resolving file paths in tests, adding wait helper function

# This is the commit message #9:

add warning about safety concerns

# This is the commit message #10:

refactor:filling out nonstreamingchat and streamcontent tests

# This is the commit message #11:

add countTokens test

# This is the commit message #12:

refactor: filling out more streaming tests

# This is the commit message #13:

add safety settings test

# This is the commit message #14:

refactor: adding in stream content and multipart content tests

# This is the commit message #15:

feat: add new sendMultiModalPromptWithImage sample

# This is the commit message #16:

refactor: adding region tags

* refactor: updating codeowners

add chat functions

use correct testing project

refactor: adding system tests + updating corresponding chat samples

add countTokens sample

refactor: adding in region tags, abstracting out mimetype, adding new image ur

refactor: updating gs url in test, fix to args getting passed to sample functions

refactor: resolving file paths in tests, adding wait helper function

add warning about safety concerns

refactor:filling out nonstreamingchat and streamcontent tests

add countTokens test

refactor: filling out more streaming tests

add safety settings test

refactor: adding in stream content and multipart content tests

feat: add new sendMultiModalPromptWithImage sample

refactor: adding region tags

update to common prompt

fix: resolve linting

* refactor: remove index file

---------

Co-authored-by: pattishin@google.com <pattishin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants