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

esbuild-plugin-filelastmodified

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugin-filelastmodified - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

dist/index.esm.js

@@ -5,2 +5,4 @@ import fs from "fs";

const find = new RegExp(identifier, "g");
if (!args.path.startsWith("."))
return;
const source = (await fs.promises.readFile(args.path)).toString("utf-8");

@@ -7,0 +9,0 @@ if (!source.match(find))

@@ -31,2 +31,4 @@ var __create = Object.create;

const find = new RegExp(identifier, "g");
if (!args.path.startsWith("."))
return;
const source = (await import_fs.default.promises.readFile(args.path)).toString("utf-8");

@@ -33,0 +35,0 @@ if (!source.match(find))

5

package.json
{
"name": "esbuild-plugin-filelastmodified",
"version": "1.0.4",
"version": "1.0.5",
"description": "A esbuild plugin to replace __fileLastModified__ with the actual time the file has been modified.",

@@ -22,4 +22,5 @@ "main": "dist/index.js",

"mocha": "^9.1.2",
"normalize.css": "^8.0.1",
"typescript": "^4.4.3"
}
}
}
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