zipurl 0.2.16 → 0.2.17

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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/package.json +15 -17
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  ISC License
2
2
 
3
- Copyright (c) 2023, Jason Lee <jason@zerodevx.com>
3
+ Copyright (c) 2024, Jason Lee <jason@zerodevx.com>
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
package/README.md CHANGED
@@ -34,13 +34,13 @@ $ npm i -D zipurl
34
34
  #### Use locally
35
35
 
36
36
  ```html
37
- <script src="path/to/zipurl.min.js"></script>
37
+ <script src="path/to/dist/index.umd.js"></script>
38
38
  ```
39
39
 
40
40
  #### Or without installation via CDN
41
41
 
42
42
  ```html
43
- <script src="https://cdn.jsdelivr.net/npm/zipurl@0"></script>
43
+ <script src="https://cdn.jsdelivr.net/npm/zipurl"></script>
44
44
  ```
45
45
 
46
46
  The functions `zipurl()` and `unzipurl()` are available in the global (`window`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zipurl",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "Generate gzip web-safe strings on the browser",
5
5
  "author": "Jason Lee <jason@zerodevx.com>",
6
6
  "scripts": {
@@ -8,24 +8,25 @@
8
8
  "lint": "npm run format && eslint --ignore-path .gitignore .",
9
9
  "build": "npm run lint && rollup -c && cp dist/index.umd.js dist/index.umd.cjs && npm run size",
10
10
  "size": "gzip-size dist/index.umd.js --include-original",
11
+ "prepublishOnly": "npx publint",
11
12
  "test": "npm run build && http-server . -c-1 -o test/"
12
13
  },
13
14
  "dependencies": {
14
- "js-base64": "^3.7.5",
15
+ "js-base64": "^3.7.6",
15
16
  "pako": "^2.1.0"
16
17
  },
17
18
  "devDependencies": {
18
- "@rollup/plugin-node-resolve": "15.1.0",
19
- "@rollup/plugin-terser": "0.4.3",
20
- "ansi-regex": "6.0.1",
21
- "chai": "4.3.7",
22
- "eslint": "8.43.0",
23
- "eslint-config-prettier": "8.8.0",
24
- "gzip-size-cli": "5.1.0",
25
- "http-server": "14.1.1",
26
- "mocha": "10.2.0",
27
- "prettier": "2.8.8",
28
- "rollup": "3.25.1"
19
+ "@rollup/plugin-node-resolve": "^15.2.3",
20
+ "@rollup/plugin-terser": "^0.4.4",
21
+ "ansi-regex": "^6.0.1",
22
+ "chai": "^4.4.1",
23
+ "eslint": "^8.56.0",
24
+ "eslint-config-prettier": "^9.1.0",
25
+ "gzip-size-cli": "^5.1.0",
26
+ "http-server": "^14.1.1",
27
+ "mocha": "^10.2.0",
28
+ "prettier": "^3.2.4",
29
+ "rollup": "^4.9.5"
29
30
  },
30
31
  "type": "module",
31
32
  "exports": {
@@ -36,15 +37,12 @@
36
37
  "zipurl": "./bin/zipurl.js",
37
38
  "unzipurl": "./bin/unzipurl.js"
38
39
  },
40
+ "jsdelivr": "./dist/index.umd.js",
39
41
  "files": [
40
42
  "bin/",
41
43
  "dist/",
42
44
  "index.js"
43
45
  ],
44
- "jsdelivr": "./dist/index.umd.js",
45
- "engines": {
46
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
47
- },
48
46
  "license": "ISC",
49
47
  "repository": "github:zerodevx/zipurl",
50
48
  "keywords": [