New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-flag-kit

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flag-kit - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

7

dist/index.js

@@ -35,2 +35,7 @@ var __defProp = Object.defineProperty;

import React, { forwardRef } from "react";
// package.json
var version = "1.1.0";
// src/FlagIcon.tsx
var FlagIcon = forwardRef((_a, ref) => {

@@ -43,3 +48,3 @@ var _b = _a, { code, alt = code, size = 24, width = size, height = size } = _b, props = __objRest(_b, ["code", "alt", "size", "width", "height"]);

height,
src: `https://cdn.jsdelivr.net/gh/madebybowtie/FlagKit@2.2/Assets/SVG/${code}.svg`
src: `https://cdn.jsdelivr.net/gh/umidbekk/react-flag-kit@${version}/assets/${code}.svg`
}));

@@ -46,0 +51,0 @@ });

38

package.json
{
"name": "react-flag-kit",
"version": "1.0.0",
"version": "1.1.0",
"description": "FlagKit for React",

@@ -15,2 +15,3 @@ "keywords": [

"author": "Umidbek Karimov <uma.karimov@gmail.com>",
"type": "module",
"main": "dist/index.cjs",

@@ -25,6 +26,7 @@ "module": "dist/index.js",

"format": "prettier . --check --write",
"prerelease": "npx tsc && npm run format && npm run build",
"prerelease": "npx tsc && npm run format",
"release": "np --no-2fa",
"tdd": "jest --watch",
"test": "jest --coverage"
"test": "jest --coverage",
"version": "npm run build"
},

@@ -43,23 +45,25 @@ "jest": {

"devDependencies": {
"@testing-library/react": "12.1.2",
"@types/jest": "27.0.2",
"@types/react": "17.0.34",
"@types/react-dom": "17.0.11",
"@testing-library/react": "13.1.1",
"@types/jest": "27.4.1",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"@umidbekk/configs": "^0.2.0",
"esbuild-jest": "0.5.0",
"jest": "27.3.1",
"np": "7.5.0",
"prettier": "2.4.1",
"jest": "28.0.3",
"jest-environment-jsdom": "^28.0.2",
"np": "7.6.1",
"prettier": "2.6.2",
"prettier-plugin-organize-imports": "2.3.4",
"prettier-plugin-packagejson": "2.2.13",
"rapidbundle": "0.12.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"typescript": "4.4.4"
"prettier-plugin-packagejson": "2.2.17",
"rapidbundle": "0.18.0",
"react": "18.1.0",
"react-dom": "18.1.0",
"typescript": "4.6.4"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
"react": "^16.6.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"npm": ">=7"
"node": ">=14"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc