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

@frozzare/pkg

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

@frozzare/pkg - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

dist/index.js

@@ -44,4 +44,4 @@ "use strict";

text =
text.replace(/module.exports = __toCommonJS\(\w+\);/, '') +
`module.exports = ${name};`.replace((config === null || config === void 0 ? void 0 : config.minify) ? /\s/g : '', '');
text.replace(/module.exports(?:\s+|)=(?:\s+|)\w+\(\w+\);/, '').trim() +
`${(config === null || config === void 0 ? void 0 : config.minify) ? '' : '\n'}module.exports = ${name};`.replace((config === null || config === void 0 ? void 0 : config.minify) ? /\s/g : '', '');
}

@@ -48,0 +48,0 @@ if (!config.write) {

{
"name": "@frozzare/pkg",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -11,3 +11,3 @@ "main": "dist/index.js",

"prepublishOnly": "npm run build",
"test": "jest"
"test": "vitest"
},

@@ -29,10 +29,9 @@ "files": [

"@typescript-eslint/parser": "^5.51.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.33.0",
"jest": "^29.4.2",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"tsx": "^3.12.3",
"typescript": "^4.9.5"
"typescript": "^4.9.5",
"vitest": "^0.28.4"
}
}
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