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

@twilio/operation-retrier

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio/operation-retrier - npm Package Compare versions

Comparing version 4.0.5-rc.8 to 4.0.5-rc.9

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

### [4.0.5-rc.9](https://github.com/twilio/operation-retrier.ts/compare/@twilio/operation-retrier@4.0.5-rc.8...@twilio/operation-retrier@4.0.5-rc.9) (2021-09-12)
**Note:** Version bump only for package @twilio/operation-retrier
### [4.0.5-rc.8](https://github.com/twilio/operation-retrier.ts/compare/@twilio/operation-retrier@4.0.5-rc.7...@twilio/operation-retrier@4.0.5-rc.8) (2021-09-12)

@@ -8,0 +16,0 @@

9

dist/postinstall.js

@@ -10,3 +10,4 @@ // Return if monorepo install.

// Change the "browser" property to "./dist/react-native.js" if React Native
// is detected.
const fs = require("fs");

@@ -16,12 +17,8 @@

const mainProjectPackageJson = require(mainProjectPackageJsonPath);
const dependencyPackageJsonPath = "../package.json";
const dependencyPackageJsonPath = `${__dirname}/../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(dependencyPackageJson.name, "No React Native detected.");
{
"name": "@twilio/operation-retrier",
"version": "4.0.5-rc.8",
"version": "4.0.5-rc.9",
"description": "RTD retrier",

@@ -5,0 +5,0 @@ "author": "Sergei Chertkov",

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