twilio-sync
Advanced tools
Comparing version 3.0.5-rc.14 to 3.0.5-rc.15
@@ -6,2 +6,10 @@ # Change Log | ||
### [3.0.5-rc.15](https://github.com/twilio/rtd-sdk-monorepo-js/compare/twilio-sync@3.0.5-rc.14...twilio-sync@3.0.5-rc.15) (2021-09-12) | ||
**Note:** Version bump only for package twilio-sync | ||
### [3.0.5-rc.14](https://github.com/twilio/rtd-sdk-monorepo-js/compare/twilio-sync@3.0.5-rc.13...twilio-sync@3.0.5-rc.14) (2021-09-12) | ||
@@ -8,0 +16,0 @@ |
@@ -10,12 +10,17 @@ // Return if monorepo install. | ||
const pkgJsonPath = require.main.paths[0].split("node_modules")[0] + "package.json"; | ||
const json = require(pkgJsonPath); | ||
const packageJson = require("../package.json"); | ||
const monorepoPackageJson = require('../../../package.json') | ||
if (typeof json?.dependencies?.["react-native"] !== "undefined") { | ||
console.log(packageJson.name, "React native detected."); | ||
const fs = require("fs"); | ||
const mainProjectPackageJsonPath = require.main.paths[0].split("node_modules")[0] + "package.json"; | ||
const mainProjectPackageJson = require(mainProjectPackageJsonPath); | ||
const dependencyPackageJsonPath = "../package.json"; | ||
const dependencyPackageJson = require(dependencyPackageJsonPath); | ||
if (typeof mainProjectPackageJson?.dependencies?.["react-native"] !== "undefined") { | ||
console.log(dependencyPackageJson.name, "React Native detected."); | ||
dependencyPackageJson["browser"] = "./dist/react-native.js"; | ||
fs.writeFileSync(dependencyPackageJsonPath, JSON.stringify(dependencyPackageJson, null, 2)); | ||
return; | ||
} | ||
console.log(packageJson.name, "No react native detected."); | ||
console.log(dependencyPackageJson.name, "No React Native detected."); |
{ | ||
"name": "twilio-sync", | ||
"version": "3.0.5-rc.14", | ||
"version": "3.0.5-rc.15", | ||
"description": "Twilio Sync client library", | ||
@@ -38,4 +38,4 @@ "main": "./dist/lib.js", | ||
"@babel/runtime": "^7.14.5", | ||
"@twilio/declarative-type-validator": "^0.1.9-rc.5", | ||
"@twilio/operation-retrier": "^4.0.5-rc.7", | ||
"@twilio/declarative-type-validator": "^0.1.9-rc.6", | ||
"@twilio/operation-retrier": "^4.0.5-rc.8", | ||
"core-js": "^3.17.3", | ||
@@ -45,3 +45,3 @@ "iso8601-duration": "=1.2.0", | ||
"platform": "^1.3.6", | ||
"twilsock": "^0.11.6-rc.14", | ||
"twilsock": "^0.11.6-rc.15", | ||
"uuid": "^3.3.2" | ||
@@ -48,0 +48,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
11228177
50683
4