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

Combined Dependabot PR #994

Closed
wants to merge 14 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bump @babel/runtime from 7.22.6 to 7.24.7
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.22.6 to 7.24.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] authored Jun 17, 2024
commit bc95a30d7dce21b5763b9709195b7eaec7aff6c5
30 changes: 22 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

import { NativeModules, Platform } from "react-native";

Check failure on line 1 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
const { RNBranch } = NativeModules;
import createBranchUniversalObject from "./branchUniversalObject";

Check failure on line 5 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
import BranchEvent from "./BranchEvent";

Check failure on line 6 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
import BranchSubscriber from "./BranchSubscriber";

Check failure on line 7 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
const packageFile = require("./../package.json");

Check failure on line 9 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
export const VERSION = packageFile.version;
class Branch {
constructor(options = {}) {
if (options.debug) this._debug = true;
console.info("Initializing react-native-branch v. " + VERSION);

Check failure on line 20 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
}
subscribe(options) {
if (typeof options === "function") {

Check failure on line 24 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
/*
* Support for legacy API, passing a single callback function:
* branch.subscribe(({params, error, uri}) => { ... }). This is
* You can specify checkCachedEvents in the subscribe options to control
* this per subscriber.
*/
if (!("checkCachedEvents" in options)) {

Check failure on line 39 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
options.checkCachedEvents = this._checkCachedEvents;
}
this._checkCachedEvents = false;
setIdentityAsync = (identity) => RNBranch.setIdentityAsync(identity);
setRequestMetadata = (key, value) => {
console.info(
"[Branch] setRequestMetadata has limitations when called from JS. Some network calls are made prior to the JS layer being available, those calls will not have the metadata."

Check failure on line 69 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
);
return RNBranch.setRequestMetadataKey(key, value);
};
addFacebookPartnerParameter = (name, value) => {
console.info(
"[Branch] addFacebookPartnerParameter has limitations when called from JS. Some network calls are made prior to the JS layer being available, those calls will not have the partner parameters."

Check failure on line 75 in src/index.js

GitHub Actions / Lint

Strings must use singlequote
);
return RNBranch.addFacebookPartnerParameter(name, value);
};