New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

umi-plugin-segment

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umi-plugin-segment - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

index.js

@@ -8,2 +8,5 @@ "use strict";

exports.default = function (api, opts) {
if (process.env.NODE_ENV !== "production") {
return false;
}
if (opts.judge && !opts.judge()) {

@@ -10,0 +13,0 @@ return false;

2

package.json
{
"name": "umi-plugin-segment",
"version": "1.0.5",
"version": "1.0.6",
"description": "Segment for umi",

@@ -5,0 +5,0 @@ "main": "index.js",

export default (api, opts) => {
if (process.env.NODE_ENV !== "production") {
return false;
}
if (opts.judge && !opts.judge()) {

@@ -3,0 +6,0 @@ return false;

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