Socket
Socket
Sign inDemoInstall

photon

Package Overview
Dependencies
4
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

History.md
1.0.2 / 2014-06-13
==================
* Readme: add "Terms of Service" section
* index: remove "port 80" debug note
1.0.1 / 2014-06-11

@@ -3,0 +9,0 @@ ==================

4

index.js

@@ -44,6 +44,2 @@

if (/^https\:/i.test(imageUrl)) {
debug('WARN: `https://` URLs are not supported, standard port 80 access will be attempted');
}
// strip any leading `http(s)://`

@@ -50,0 +46,0 @@ imageUrl = imageUrl.replace(/^https?\:\/\//i, '');

{
"name": "photon",
"version": "1.0.1",
"version": "1.0.2",
"description": "JavaScript library for the WordPress.com Photon image manipulation service",

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

@@ -47,2 +47,19 @@ # photon.js

## Terms of Service
* Use of this service is for users of the Jetpack by WordPress.com plugin only,
and may be used by sites hosted on WordPress.com, on Jetpack-connected
WordPress sites, or sites who have gotten special permission from Automattic
Inc. If you move to another platform, or disconnect Jetpack from your site,
we can’t promise it will continue to work.
* Abuse of the Jetpack by WordPress.com Terms of Service could result in
suspension of your site from WordPress.com-connected services. By
enabling Photon you agree to be responsible in what you publish; in
particular be sure that you don’t use the service for prohibited items
(things like spam, viruses, or hate content). WordPress.com reserves the
right, in its sole discretion, to temporarily or permanently revoke your
ability to use and access Photon, with or without notice.
## License

@@ -49,0 +66,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc