@live-change/image-service 0.8.93 → 0.8.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/endpoint.js +2 -2
  2. package/package.json +4 -4
package/endpoint.js CHANGED
@@ -17,12 +17,12 @@ const debug = Debug("image-service:endpoint")
17
17
 
18
18
  function normalizeFormat(f1) {
19
19
  f1 = f1.toLowerCase().trim()
20
- if(f1 == 'jpg') f1 = 'jpeg'
20
+ if(f1 === 'jpg') f1 = 'jpeg'
21
21
  return f1
22
22
  }
23
23
 
24
24
  function isFormatsIdentical(f1, f2) {
25
- return normalizeFormat(f1) == normalizeFormat(f2)
25
+ return normalizeFormat(f1) === normalizeFormat(f2)
26
26
  }
27
27
 
28
28
  function fileExists(fn) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/image-service",
3
- "version": "0.8.93",
3
+ "version": "0.8.95",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,12 +21,12 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "^0.8.93",
25
- "@live-change/relations-plugin": "^0.8.93",
24
+ "@live-change/framework": "^0.8.95",
25
+ "@live-change/relations-plugin": "^0.8.95",
26
26
  "download": "^8.0.0",
27
27
  "pluralize": "^8.0.0",
28
28
  "sharp": "^0.32.5"
29
29
  },
30
- "gitHead": "c5c699c6f29b735dd1597ddf572a8b956b338329",
30
+ "gitHead": "852e9817a89ffe5f2b6dc13c658d7a1bfd4f8fa6",
31
31
  "type": "module"
32
32
  }