New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-ray

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ray - npm Package Compare versions

Comparing version 1.19.6 to 1.19.7

8

CHANGELOG.md

@@ -5,4 +5,12 @@ ### Changelog

#### [v1.19.7](https://github.com/permafrost-dev/node-ray/compare/v1.19.6...v1.19.7)
- fix import issues and broken tests [`b028e0b`](https://github.com/permafrost-dev/node-ray/commit/b028e0b319e49410045a3af49f2d6fcc9b7e7390)
- code cleanup [`522134f`](https://github.com/permafrost-dev/node-ray/commit/522134f8d4dfdd906541f7c4d9a66b3ee605834d)
- Add option to use Ray.standalone() method for initialization in README.md [`84ed00b`](https://github.com/permafrost-dev/node-ray/commit/84ed00ba7daca099cfa1378f781697c26b9f8562)
#### [v1.19.6](https://github.com/permafrost-dev/node-ray/compare/v1.19.5...v1.19.6)
> 11 May 2023
- Add TypeScript declaration files for web and node builds [`5b3d844`](https://github.com/permafrost-dev/node-ray/commit/5b3d844b11d32c2c1a350577f4a9622070e6690d)

@@ -9,0 +17,0 @@ - add eslintignore file [`c4a09bb`](https://github.com/permafrost-dev/node-ray/commit/c4a09bb50a839fb564bfe0cb344ebeec6cf74de2)

7

dist/index.d.ts
// Generated by dts-bundle-generator v8.0.1
import StackTrace from 'stacktrace-js';
import { StopWatch as StopwatchNode } from 'stopwatch-node';
import * as StackTrace from 'stacktrace-js';
import * as StopWatches from 'stopwatch-node/dist/stopwatch';

@@ -132,3 +132,3 @@ export interface OriginData {

declare class Stopwatch {
protected sw: StopwatchNode;
protected sw: StopWatches.StopWatch;
name: string | undefined;

@@ -306,3 +306,4 @@ laps: number[];

export declare const ray: (...args: any[]) => Ray;
export declare const standalone: (windowObject: any) => void;
export {};
declare module 'node-ray/web' {
// Generated by dts-bundle-generator v8.0.1
import StackTrace from 'stacktrace-js';
import { StopWatch as StopwatchNode } from 'stopwatch-node';
import * as StackTrace from 'stacktrace-js';
import * as StopWatches from 'stopwatch-node/dist/stopwatch';

@@ -133,3 +133,3 @@ export interface OriginData {

declare class Stopwatch {
protected sw: StopwatchNode;
protected sw: StopWatches.StopWatch;
name: string | undefined;

@@ -307,2 +307,3 @@ laps: number[];

export declare const ray: (...args: any[]) => Ray;
export declare const standalone: (windowObject: any) => void;

@@ -309,0 +310,0 @@ export {};

{
"name": "node-ray",
"version": "1.19.6",
"version": "1.19.7",
"description": "Debug NodeJS with Ray to fix problems faster",

@@ -104,2 +104,3 @@ "license": "MIT",

"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.12.0",
"ts-jest": "^29.1.0",

@@ -106,0 +107,0 @@ "ts-mixer": "^6.0.3",

@@ -86,4 +86,14 @@ <p align="center">

The `ray()` helper method is now accessible in any context.
As of version `1.19.7`, you may use the `Ray.standalone()` method instead of manually assigning properties to the `window` global object. `Ray.standalone()` is simply a wrapper around the above method to provide a better developer experience as well as more succinct and readable code:
```html
<script src="https://cdn.jsdelivr.net/npm/axios@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/node-ray@latest/dist/standalone.min.js"></script>
<script>
Ray.standalone(window);
</script>
```
Regardless of the method used for initialization, the `ray()` helper function and the `Ray` class will now available in all scopes via the global window object.
### Laravel Mix

@@ -90,0 +100,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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