From e45025e533c01d0141a5ad39f48d28489a0d9f4f Mon Sep 17 00:00:00 2001 From: Josh McFarlin Date: Thu, 17 Feb 2022 23:30:23 -0500 Subject: [PATCH] docs(package): mark package as side-effect free --- CHANGELOG.md | 6 ++++++ README.md | 6 ++++++ package-lock.json | 32 ++++++++++++++++---------------- package.json | 5 +++-- 4 files changed, 31 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21d5a5d..084cf60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Documentation + +- Mark package as side-effect free + ## [0.3.9] - 2022-02-17 ### Changed diff --git a/README.md b/README.md index 261d8dc..b850ed9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Remix-Image +![](https://badgen.net/npm/v/remix-image) +![](https://badgen.net/npm/license/remix-image) +![](https://badgen.net/npm/types/remix-image) +![](https://badgen.net/bundlephobia/min/remix-image) +![](https://badgen.net/npm/dt/remix-image) + ## 👋 Intro A React component for responsive images in Remix. diff --git a/package-lock.json b/package-lock.json index 09d7a62..ee78ac3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "dependencies": { "clsx": "^1.1.1", "is-svg": "^4.3.2", - "js-image-lib": "^0.1.4", - "mime-tree": "^0.1.2", + "js-image-lib": "^0.1.5", + "mime-tree": "^0.1.3", "query-string": "^7.1.0" }, "devDependencies": { @@ -12450,15 +12450,15 @@ "dev": true }, "node_modules/js-image-lib": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/js-image-lib/-/js-image-lib-0.1.4.tgz", - "integrity": "sha512-tNZ1z/BOVEDzrjdm72TmJntlehWlPp5eJMh4C0+eFPuiTKsOOHrQNkOEs2WNU7C4KEMQ9navN5dZpcDWZrJ97A==", + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/js-image-lib/-/js-image-lib-0.1.5.tgz", + "integrity": "sha512-J57ZkbNNRpr2D3ewRjw5tl9k1Eo44/A1t8TTNxe+Z51qao1LU2BLx3sLKa9eYF2lEpy5vxUJZYNcu5r1n5gW3w==", "dependencies": { "@pdf-lib/upng": "^1.0.1", "@wokwi/bmp-ts": "^3.0.0", "get-rgba-palette": "^2.0.1", "jpeg-js": "^0.4.3", - "mime-tree": "^0.1.2", + "mime-tree": "^0.1.3", "omggif": "^1.0.10", "utif": "^3.1.0" } @@ -13734,9 +13734,9 @@ } }, "node_modules/mime-tree": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/mime-tree/-/mime-tree-0.1.2.tgz", - "integrity": "sha512-swiA+0ab4W2wiUVQptWTnefBBNZbbDeAGxFz7K8D13bQT+G2g+snCYWiFUoL1Rzaadq8d2K3eesDqdC0Li+oFA==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/mime-tree/-/mime-tree-0.1.3.tgz", + "integrity": "sha512-iWaJx0vjmVD+yCg3O/bq52f4wt3nL4Ci2GFJSxOGobcs0XNX/FTDm+WfMiUSTgFE5qGovcT6I7L5MC3c4I5tkQ==", "engines": { "node": ">=10" } @@ -29562,15 +29562,15 @@ "dev": true }, "js-image-lib": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/js-image-lib/-/js-image-lib-0.1.4.tgz", - "integrity": "sha512-tNZ1z/BOVEDzrjdm72TmJntlehWlPp5eJMh4C0+eFPuiTKsOOHrQNkOEs2WNU7C4KEMQ9navN5dZpcDWZrJ97A==", + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/js-image-lib/-/js-image-lib-0.1.5.tgz", + "integrity": "sha512-J57ZkbNNRpr2D3ewRjw5tl9k1Eo44/A1t8TTNxe+Z51qao1LU2BLx3sLKa9eYF2lEpy5vxUJZYNcu5r1n5gW3w==", "requires": { "@pdf-lib/upng": "^1.0.1", "@wokwi/bmp-ts": "^3.0.0", "get-rgba-palette": "^2.0.1", "jpeg-js": "^0.4.3", - "mime-tree": "^0.1.2", + "mime-tree": "^0.1.3", "omggif": "^1.0.10", "utif": "^3.1.0" } @@ -30605,9 +30605,9 @@ "dev": true }, "mime-tree": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/mime-tree/-/mime-tree-0.1.2.tgz", - "integrity": "sha512-swiA+0ab4W2wiUVQptWTnefBBNZbbDeAGxFz7K8D13bQT+G2g+snCYWiFUoL1Rzaadq8d2K3eesDqdC0Li+oFA==" + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/mime-tree/-/mime-tree-0.1.3.tgz", + "integrity": "sha512-iWaJx0vjmVD+yCg3O/bq52f4wt3nL4Ci2GFJSxOGobcs0XNX/FTDm+WfMiUSTgFE5qGovcT6I7L5MC3c4I5tkQ==" }, "mime-types": { "version": "2.1.34", diff --git a/package.json b/package.json index 023f5cf..4cdfe44 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "A React component for responsive images in Remix", "author": "Josh McFarlin ", "license": "MIT", + "sideEffects": false, "keywords": [ "react", "remix", @@ -49,8 +50,8 @@ "dependencies": { "clsx": "^1.1.1", "is-svg": "^4.3.2", - "js-image-lib": "^0.1.4", - "mime-tree": "^0.1.2", + "js-image-lib": "^0.1.5", + "mime-tree": "^0.1.3", "query-string": "^7.1.0" }, "devDependencies": {