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

bob-ts

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bob-ts - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

lib/index.d.ts

2

lib/packageJson.d.ts

@@ -1,3 +0,3 @@

export declare const packageJsonPromise: Promise<{
export declare const getPackageJson: () => Promise<{
type?: string | undefined;
}>;

@@ -7,10 +7,7 @@ 'use strict';

const packageJsonPromise = (async () => {
const getPackageJson = async () => {
const packageJsonString = await fs.promises.readFile("./package.json", { encoding: "utf-8" });
return JSON.parse(packageJsonString);
})().catch((err) => {
console.error(err);
process.exit(1);
});
};
exports.packageJsonPromise = packageJsonPromise;
exports.getPackageJson = getPackageJson;

@@ -63,3 +63,3 @@ 'use strict';

};
const isTypeModule = (await packageJson.packageJsonPromise).type === "module";
const isTypeModule = (await packageJson.getPackageJson()).type === "module";
const cjsEntryFileNames = isTypeModule ? "[name].cjs" : void 0;

@@ -66,0 +66,0 @@ const esmEntryFileNames = isTypeModule ? void 0 : "[name].mjs";

{
"name": "bob-ts",
"version": "0.0.5",
"version": "0.0.6",
"homepage": "https://github.com/PabloSzx/bob-esbuild",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/PabloSzx/bob-esbuild/issues",

Sorry, the diff of this file is not supported yet

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