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

@invertase/react-native-google-ads

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invertase/react-native-google-ads - npm Package Compare versions

Comparing version 3.4.0 to 4.0.0

lib/commonjs/AdEventType.js

2

__tests__/consent.test.ts

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

import { AdsConsent } from '../lib';
import { AdsConsent } from '../src';

@@ -3,0 +3,0 @@ describe('Google Ads AdsConsent', function () {

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

import admob, { GoogleAdsTypes } from '../lib';
import admob, { MaxAdContentRating } from '../src';

@@ -16,4 +16,3 @@ describe('Admob', function () {

admob().setRequestConfiguration({
maxAdContentRating:
'Y' as GoogleAdsTypes.MaxAdContentRating[keyof GoogleAdsTypes.MaxAdContentRating],
maxAdContentRating: 'Y' as MaxAdContentRating,
}),

@@ -20,0 +19,0 @@ ).toThrowError(

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

import { InterstitialAd } from '../lib';
import { InterstitialAd } from '../src';

@@ -3,0 +3,0 @@ describe('Google Ads Interstitial', function () {

module.exports = {
maxConcurrency: 10,
preset: './node_modules/react-native/jest-preset.js',
transform: {
'^.+\\.(js)$': '<rootDir>/node_modules/babel-jest',
'\\.(ts|tsx)$': 'ts-jest',
},
preset: 'react-native',
modulePathIgnorePatterns: ['<rootDir>/example/node_modules', '<rootDir>/lib/'],
setupFiles: ['./jest.setup.ts'],
testRegex: '(/^__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$',
modulePaths: ['node_modules'],
moduleDirectories: ['node_modules'],
moduleFileExtensions: ['ts', 'tsx', 'js'],
};
{
"name": "@invertase/react-native-google-ads",
"version": "3.4.0",
"version": "4.0.0",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
"description": "React Native Google Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.ts",
"types": "lib/typescript/index.d.ts",
"repository": {

@@ -52,8 +54,17 @@ "type": "git",

},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"scripts": {
"prepare": "yarn build",
"build": "genversion --semi lib/version.js",
"build:clean": "rimraf android/build && rimraf ios/build",
"build": "genversion --es6 --semi src/version.ts && bob build",
"build:clean": "rimraf android/build && rimraf ios/build && rimraf lib",
"lint:code": "yarn lint:js && yarn lint:android && yarn lint:ios:check",
"lint:js": "eslint lib/ --ext .js,.jsx,.ts,.tsx --max-warnings=0",
"lint:js": "eslint src/ --ext .js,.jsx,.ts,.tsx --max-warnings=0",
"lint:android": "google-java-format --set-exit-if-changed --replace --glob=\"android/**/*.java\"",

@@ -66,3 +77,3 @@ "lint:ios:check": "clang-format --glob=\"ios/**/*.{h,cpp,m,mm}\" --style=Google -n -Werror",

"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",
"tsc:compile": "tsc --project .",
"tsc:compile": "tsc --project . --noEmit",
"lint": "yarn lint:code && yarn tsc:compile",

@@ -123,2 +134,3 @@ "tests:jest": "jest",

"react-native": "0.66.3",
"react-native-builder-bob": "^0.18.2",
"rimraf": "^3.0.2",

@@ -125,0 +137,0 @@ "semantic-release": "^18.0.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

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