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

@travetto/manifest

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/manifest - npm Package Compare versions

Comparing version 5.0.0-rc.2 to 5.0.0-rc.3

2

package.json
{
"name": "@travetto/manifest",
"version": "5.0.0-rc.2",
"version": "5.0.0-rc.3",
"description": "Support for project indexing, manifesting, along with file watching",

@@ -5,0 +5,0 @@ "keywords": [

@@ -53,13 +53,9 @@ <!-- This file was generated by @travetto/doc and should not be modified directly -->

const tslib_1 = require("tslib");
const Ⲑ_decorator_1 = tslib_1.__importStar(require("@travetto/registry/src/decorator.js"));
const Ⲑ_function_1 = tslib_1.__importStar(require("@travetto/runtime/src/function.js"));
var ᚕm = ["@travetto/manifest", "doc/test-class"];
let TestClass = class TestClass {
static Ⲑinit = Ⲑ_function_1.register(TestClass, ᚕm, { hash: 197152026, lines: [1, 3] }, { doStuff: { hash: 51337554, lines: [2, 2] } }, false, false);
class TestClass {
static Ⲑinit = Ⲑ_function_1.registerFunction(TestClass, ᚕm, { hash: 197152026, lines: [1, 3] }, { doStuff: { hash: 51337554, lines: [2, 2] } }, false, false);
async doStuff() { }
};
}
exports.TestClass = TestClass;
exports.TestClass = TestClass = tslib_1.__decorate([
Ⲑ_decorator_1.Register()
], TestClass);
```

@@ -66,0 +62,0 @@

import fs from 'node:fs/promises';
import { readFileSync } from 'node:fs';
import os from 'node:os';

@@ -11,5 +12,5 @@ import { path } from './path';

static async bufferedFileWrite(file: string, content: string): Promise<void> {
const temp = path.resolve(path.dirname(file), `.${process.hrtime()[0]}.${path.basename(file)}`);
const temp = path.resolve(os.tmpdir(), `${process.hrtime()[1]}.${path.basename(file)}`);
await fs.writeFile(temp, content, 'utf8');
await fs.mkdir(path.dirname(file), { recursive: true });
await fs.writeFile(temp, content, 'utf8');
await fs.rename(temp, file);

@@ -16,0 +17,0 @@ }

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