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

fixturify-project

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fixturify-project - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

9

CHANGELOG.md

@@ -6,2 +6,11 @@

## v5.2.0 (2022-10-26)
#### :rocket: Enhancement
* [#76](https://github.com/stefanpenner/node-fixturify-project/pull/76) provide access to baseDir before write ([@ef4](https://github.com/ef4))
#### Committers: 1
- Edward Faulkner ([@ef4](https://github.com/ef4))
## v5.1.0 (2022-09-15)

@@ -8,0 +17,0 @@

1

dist/index.d.ts

@@ -55,3 +55,2 @@ import fixturify from 'fixturify';

get baseDir(): string;
private autoBaseDir;
/**

@@ -58,0 +57,0 @@ * Gets the package name from the package.json.

@@ -106,8 +106,2 @@ var __defProp = Object.defineProperty;

if (!this._baseDir) {
throw new Error(`this project has no baseDir yet. Either set one manually or call write to have one chosen for you`);
}
return this._baseDir;
}
autoBaseDir() {
if (!this._baseDir) {
this._tmp = tmp.dirSync({ unsafeCleanup: true });

@@ -236,3 +230,3 @@ this._baseDir = fs.realpathSync(this._tmp.name);

assignBaseDirs() {
this.autoBaseDir();
this.baseDir;
for (let depList of [this.dependencyProjects(), this.devDependencyProjects()]) {

@@ -239,0 +233,0 @@ for (let dep of depList) {

{
"name": "fixturify-project",
"version": "5.1.0",
"version": "5.2.0",
"repository": "git@github.com:stefanpenner/node-fixturify-project",

@@ -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