Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imgup

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imgup - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

7

dist/utils.js
import { fileTypeFromBuffer } from 'file-type';
import fs from 'node:fs';
import path from 'node:path';
import path, { dirname } from 'node:path';
import { fileURLToPath } from 'url';
export function getPackageMeta() {
const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
const __dirname = dirname(fileURLToPath(import.meta.url));
const packagePath = path.join(__dirname, '../', 'package.json');
const packageJson = JSON.parse(fs.readFileSync(packagePath, 'utf8'));
return {

@@ -7,0 +10,0 @@ name: packageJson.name,

{
"name": "imgup",
"version": "2.0.1",
"version": "2.0.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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