caravaggio
Advanced tools
Comparing version 2.3.5 to 2.3.6
# Changelog | ||
## 2.3.6 | ||
- ✨📖 Documentation now has a useful "Try it" on each example! | ||
- Fix gravity issue: "s" is accepted as correct value | ||
## 2.3.5 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "caravaggio", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "A blazing fast image processor service", | ||
@@ -9,3 +9,3 @@ "main": "index.js", | ||
"start": "NODE_ENV=production node .", | ||
"now-start": "bin/caravaggio --cache memory", | ||
"now-start": "bin/caravaggio --cache memory --cache-limit 1024 --inputcache memory --inputcache-limit 1024 --errors html --whitelist ramiel.gitlab.io --verbose", | ||
"dev": "NODE_ENV=development micro-dev -p 3001 src/ -s", | ||
@@ -12,0 +12,0 @@ "test": "npm run lint && npm run test-only -- --coverage --colors=false", |
const cohercer = require('../../cohercer'); | ||
const GRAVITY_PARAM_REGEX = /^g?(c|n|ne|nw|e|w|se|sw|center|centre|north|northeast|northwest|east|west|south|southeast|southwest)$/; | ||
const EXTENDED_GRAVITY_PARAM_REGEX = /^g?(c|n|ne|nw|e|w|se|sw|center|centre|north|northeast|northwest|east|west|south|southeast|southwest|auto)$/; | ||
const GRAVITY_PARAM_REGEX = /^g?(c|n|ne|nw|e|w|s|se|sw|center|centre|north|northeast|northwest|east|west|south|southeast|southwest)$/; | ||
const EXTENDED_GRAVITY_PARAM_REGEX = /^g?(c|n|ne|nw|e|w|s|se|sw|center|centre|north|northeast|northwest|east|west|south|southeast|southwest|auto)$/; | ||
const GRAVITY_VALUES = { | ||
@@ -6,0 +6,0 @@ c: 'center', |
Sorry, the diff of this file is not supported yet
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
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
60853
62