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

quip-apps-compat

Package Overview
Dependencies
Maintainers
3
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quip-apps-compat - npm Package Compare versions

Comparing version 0.0.16 to 0.0.19

21

index.js

@@ -8,2 +8,4 @@ // Copyright 2018 Quip

}
var exports = module.exports = {};
// For quiptext, introduced in 0.1.044

@@ -74,2 +76,21 @@ var translationShim = function(text, placeholders) {

}
// Translated color label, until API implements these by default.
var COLORS_TO_LABEL = {
"RED": quiptext("Red"),
"ORANGE": quiptext("Orange"),
"YELLOW": quiptext("Yellow"),
"GREEN": quiptext("Green"),
"BLUE": quiptext("Blue"),
"VIOLET": quiptext("Violet"),
};
exports.localizedColorLabel = function(colorKey) {
// Manually localize the color labels until the Quip Client API
// translates its own strings as well.
if (colorKey in COLORS_TO_LABEL) {
return COLORS_TO_LABEL[colorKey];
}
return colorKey.charAt(0).toUpperCase() + colorKey.slice(1).toLowerCase()
}
})(self);

2

package.json
{
"name": "quip-apps-compat",
"version": "0.0.16",
"version": "0.0.19",
"description": "Compat library for Quip Apps",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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