Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-google-mobile-ads

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-google-mobile-ads - npm Package Compare versions

Comparing version 13.6.0 to 13.6.1

12

babel.config.js
module.exports = {
env: {
test: {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
'module:./node_modules/metro-react-native-babel-preset',
],
presets: ['module:metro-react-native-babel-preset'],
},

@@ -16,0 +6,0 @@ },

5

jest.config.js
module.exports = {
preset: 'react-native',
modulePathIgnorePatterns: ['<rootDir>/example/node_modules', '<rootDir>/lib/'],
modulePathIgnorePatterns: ['<rootDir>/RNGoogleMobileAdsExample/node_modules', '<rootDir>/lib/'],
setupFiles: ['./jest.setup.ts'],
testRegex: '(/^__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$',
testPathIgnorePatterns: ['<rootDir>/RNGoogleMobileAdsExample'],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$',
};

@@ -10,2 +10,4 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// SyntaxError "'Commands' is a reserved export and may only be used to export the result of codegenNativeCommands"
// @ts-ignore -- migration to react-native 0.73+
const Commands = (0, _codegenNativeCommands.default)({

@@ -12,0 +14,0 @@ supportedCommands: ['recordManualImpression', 'load']

@@ -53,4 +53,7 @@ "use strict";

RNAppModule.eventsRemoveListener(eventType, false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -73,3 +76,7 @@ } else if (originalRemove != null) {

RNAppModule.eventsRemoveListener(subscription.eventType.replace('rnapp_', ''), false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -76,0 +83,0 @@ }

@@ -26,6 +26,4 @@ "use strict";

// @ts-ignore: Could not find a declaration file
const SharedEventEmitter = new _EventEmitter.default();
exports.SharedEventEmitter = SharedEventEmitter;
//# sourceMappingURL=SharedEventEmitter.js.map

@@ -8,4 +8,4 @@ "use strict";

// Generated by genversion.
const version = '13.6.0';
const version = '13.6.1';
exports.version = version;
//# sourceMappingURL=version.js.map
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
// SyntaxError "'Commands' is a reserved export and may only be used to export the result of codegenNativeCommands"
// @ts-ignore -- migration to react-native 0.73+
export const Commands = codegenNativeCommands({

@@ -4,0 +6,0 @@ supportedCommands: ['recordManualImpression', 'load']

@@ -47,4 +47,7 @@ /*

RNAppModule.eventsRemoveListener(eventType, false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -67,3 +70,7 @@ } else if (originalRemove != null) {

RNAppModule.eventsRemoveListener(subscription.eventType.replace('rnapp_', ''), false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -70,0 +77,0 @@ }

@@ -18,5 +18,4 @@ /*

// @ts-ignore: Could not find a declaration file
import Emitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
export const SharedEventEmitter = new Emitter();
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
export const SharedEventEmitter = new EventEmitter();
//# sourceMappingURL=SharedEventEmitter.js.map
// Generated by genversion.
export const version = '13.6.0';
export const version = '13.6.1';
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "13.6.0";
export declare const SDK_VERSION = "13.6.1";
export { default, MobileAds } from './MobileAds';

@@ -3,0 +3,0 @@ export { AdsConsentDebugGeography } from './AdsConsentDebugGeography';

@@ -1,3 +0,3 @@

import { EventEmitter } from 'react-native';
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
export declare const SharedEventEmitter: EventEmitter;
//# sourceMappingURL=SharedEventEmitter.d.ts.map

@@ -1,2 +0,2 @@

export declare const version = "13.6.0";
export declare const version = "13.6.1";
//# sourceMappingURL=version.d.ts.map
{
"name": "react-native-google-mobile-ads",
"version": "13.6.0",
"version": "13.6.1",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",

@@ -76,3 +76,3 @@ "description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",

"lint:markdown:fix": "prettier --write \"docs/**/*.md[x]\"",
"lint:report": "eslint --output-file=eslint-report.json --format=json . --ext .js,.jsx,.ts,.tsx",
"lint:report": "eslint --output-file=eslint-report.json --format=json src/ --ext .js,.jsx,.ts,.tsx",
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",

@@ -92,2 +92,3 @@ "tsc:compile": "tsc --project . --noEmit",

"tests:android:test": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug --loglevel trace",
"tests:android:run": "cd RNGoogleMobileAdsExample && yarn react-native run-android",
"tests:android:test:windows": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug.windows --loglevel trace",

@@ -103,2 +104,3 @@ "tests:android:test-release": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.release --loglevel trace",

"tests:ios:test": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --loglevel warn",
"tests:ios:run": "cd RNGoogleMobileAdsExample && yarn react-native run-ios",
"tests:ios:test:debug": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --loglevel warn --inspect",

@@ -117,3 +119,3 @@ "tests:ios:test-reuse": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",

"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@semantic-release/changelog": "^6.0.1",

@@ -144,5 +146,6 @@ "@semantic-release/commit-analyzer": "^9.0.2",

"jest": "^29.2.2",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-native": "0.70.4",
"react-native": "^0.74.1",
"react-native-builder-bob": "^0.20.0",

@@ -152,2 +155,3 @@ "react-test-renderer": "^18.2.0",

"semantic-release": "^19.0.5",
"spellchecker-cli": "^6.1.1",
"typescript": "^4.8.4"

@@ -154,0 +158,0 @@ },

@@ -35,2 +35,4 @@ import type * as React from 'react';

// SyntaxError "'Commands' is a reserved export and may only be used to export the result of codegenNativeCommands"
// @ts-ignore -- migration to react-native 0.73+
export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({

@@ -37,0 +39,0 @@ supportedCommands: ['recordManualImpression', 'load'],

@@ -55,4 +55,7 @@ /*

RNAppModule.eventsRemoveListener(eventType, false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -76,3 +79,7 @@ } else if (originalRemove != null) {

RNAppModule.eventsRemoveListener(subscription.eventType.replace('rnapp_', ''), false);
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
if (super.removeSubscription != null) {
// This is for RN <= 0.64 - 65 and greater no longer have removeSubscription
// @ts-expect-error - "Property 'removeSubscription' does not exist on type 'NativeEventEmitter"
super.removeSubscription(subscription);

@@ -79,0 +86,0 @@ }

@@ -18,6 +18,4 @@ /*

// @ts-ignore: Could not find a declaration file
import Emitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
import { EventEmitter } from 'react-native';
import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
export const SharedEventEmitter: EventEmitter = new Emitter();
export const SharedEventEmitter: EventEmitter = new EventEmitter();
// Generated by genversion.
export const version = '13.6.0';
export const version = '13.6.1';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc