open-index/open-npm huggingface dataset:
npm package: @sentry/utils
Description: Utilities for all Sentry JavaScript SDKs
Author: Sentry
Latest version: 8.55.1

<p align="center">
  <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
    <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
  </a>
</p>

# Sentry JavaScript SDK Utilities (DEPRECATED)

> DEPRECATION NOTICE: The `@sentry/utils` package is deprecated.
> All exports have been moved to `@sentry/core`.
> Import everything from `@sentry/core` instead.

[![npm version](https://img.shields.io/npm/v/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils)
[![npm dm](https://img.shields.io/npm/dm/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils)
[![npm dt](https://img.shields.io/npm/dt/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils)

## Links

- [Official SDK Docs](https://docs.sentry.io/quickstart/)
- [TypeDoc](http://getsentry.github.io/sentry-javascript/)

## General

Common utilities used by the Sentry JavaScript SDKs.

Note: This package is only meant to be used internally, and as such is not part of our public API contract and does not
follow semver.
npm package: @sentry/vercel-edge
Description: Official Sentry SDK for the Vercel Edge Runtime
Author: Sentry
Latest version: 10.48.0

<p align="center">
  <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
    <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
  </a>
</p>

# Internal Sentry Utilities for Vercel Edge Runtime

> **NOTICE:** It is discouraged to depend on this package directly. `@sentry/vercel-edge` is used as building block for
> higher level Sentry SDKs like `@sentry/nextjs`. The API of this `@sentry/vercel-edge` may break with any major and
> non-major version!

[![npm version](https://img.shields.io/npm/v/@sentry/vercel-edge.svg)](https://www.npmjs.com/package/@sentry/vercel-edge)
[![npm dm](https://img.shields.io/npm/dm/@sentry/vercel-edge.svg)](https://www.npmjs.com/package/@sentry/vercel-edge)
[![npm dt](https://img.shields.io/npm/dt/@sentry/vercel-edge.svg)](https://www.npmjs.com/package/@sentry/vercel-edge)

## Links

- [Sentry.io](https://sentry.io/?utm_source=github&utm_medium=npm_vercel_edge)
- [Sentry Discord Server](https://discord.gg/Ww9hbqr)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/sentry)
npm package: @sentry/vue
Description: Official Sentry SDK for Vue.js
Author: Sentry
Latest version: 10.48.0

<p align="center">
  <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
    <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
  </a>
</p>

# Official Sentry SDK for Vue.js

## Links

- [Official SDK Docs](https://docs.sentry.io/platforms/javascript/guides/vue/)

## General

This package is a wrapper around `@sentry/browser`, with added functionality related to Vue.js. All methods available in
`@sentry/browser` can be imported from `@sentry/vue`.

To use this SDK, call `Sentry.init(options)` as early in your application as possible.

### Vue 3

```javascript
const app = createApp({
  // ...
});

Sentry.init({
  app,
  dsn: '__PUBLIC_DSN__',
  integrations: [
    // Or omit `router` if you're not using vue-router
    Sentry.browserTracingIntegration({ router }),
  ],
});
```

### Vue 2

```javascript
import Vue from 'vue';
import App from './App';
import router from './router';
import * as Sentry from '@sentry/vue';

Sentry.init({
  Vue: Vue,
  dsn: '__PUBLIC_DSN__',
  integrations: [
    // Or omit `router` if you're not using vue-router
    Sentry.browserTracingIntegration({ router }),
  ],
});

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
});
```

### TanStack Router

If you use TanStack Router for Vue instead of Vue Router, you can use the TanStack Router instrumentation to create
navigation spans and collect meaningful performance data about the health of your page loads and associated requests.

Add `tanstackRouterBrowserTracingIntegration` from `@sentry/vue/tanstackrouter` instead of the regular
`Sentry.browserTracingIntegration`.

Make sure `tanstackRouterBrowserTracingIntegration` is initialized by your `Sentry.init` call. Otherwise, the routing
instrumentation will not work properly.

Pass your router instance from `createRouter` to the integration.

```javascript
import { createApp } from 'vue';
import { createRouter } from '@tanstack/vue-router';
import * as Sentry from '@sentry/vue';
import { tanstackRouterBrowserTracingIntegration } from '@sentry/vue/tanstackrouter';

const router = createRouter({
  // your router config
  // ...
});

Sentry.init({
  app,
  dsn: '__PUBLIC_DSN__',
  integrations: [tanstackRouterBrowserTracingIntegration(router)],
  tracesSampleRate: 1.0, // Capture 100% of the transactions
});
```
npm package: @sentry/wasm
Description: Support for WASM.
Author: Sentry
Latest version: 10.48.0

<p align="center">
  <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
    <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
  </a>
</p>

# Sentry JavaScript WebAssembly Support

[![npm version](https://img.shields.io/npm/v/@sentry/wasm.svg)](https://www.npmjs.com/package/@sentry/wasm)
[![npm dm](https://img.shields.io/npm/dm/@sentry/wasm.svg)](https://www.npmjs.com/package/@sentry/wasm)
[![npm dt](https://img.shields.io/npm/dt/@sentry/wasm.svg)](https://www.npmjs.com/package/@sentry/wasm)

## Links

- [Official SDK Docs](https://docs.sentry.io/quickstart/)

## General

This package provides support for WebAssembly in stack traces.
npm package: @sentryhealth/eslint-config
Description: ## Installation
Author: accounts@sentryhealth.ca
Latest version: 1.3.0

# Sentry ESLint

## Installation

```sh
yarn add -D eslint prettier husky lint-staged @sentryhealth/eslint-config
```

---

## Use

1. Copy the following files to the root of the new project, this way it will ensure formatting by your editor.


    - `.editorconfig`
    - `.huskyrc`
    - `.lintstagedrc`
    - `.prettierrc`

1. Add a `lint` script in your `package.json`, this needs to be only run when adding formatting the first time, the following times `husky` will create a pre-commit hook linting only changed files and enforcing the formatting.

   ```json
   {
     "lint": "prettier --write '**/*.{yaml,yml,json,md,html,css}' && eslint '**/*.{js,vue,gql}' --fix"
   }
   ```

1. Create a file `.eslintrc.js` and add the following

   ```javascript
   module.exports = {
     root: true,
     extends: ['@sentryhealth/eslint-config'],
   };
   ```

   _By default this configuration has disabled both `node` and `browser` environments besides the assumptions made below, turn them on/off accordangly with [overrides](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns)._

---

### Assumptions

This configuration tries to fit the `sentryhealth` project standard, so there are some assumptions made, you can always override them in case they don't fit right.

1. `client/*`
   Files inside have access to the browser variables and the variable `process`, to read variable environments.
1. `api/*`
   Files inside have access to node variables.
1. `tests/*`
   Files inside have access to node, browser and mocha variables.
1. `dist/*`
   Files inside are ignored
1. `*.config.js`
   Files that end with `.config.js`, have access to node variables; even inside the client folder

---

## VSCode

To ensure the best experience while developing, use the following extensions:

- `dbaeumer.vscode-eslint`
- `editorconfig.editorconfig`
- `esbenp.prettier-vscode`
- `jcbuisson.vue`
- `prisma.vscode-graphql`

They will use the files you copied as configuration.

---

## Publish

This project uses a `.npmrc` file as authorization, so there's no need to login. In case there are changes you want across all packages, do the changes here in `.eslintrc.js`, bump the version inside `package.json`, then:

```sh
npm publish --access=public
```

You will need to update the package across all the consumer projects, using:

```sh
yarn add -D @sentryhealth/eslint-config@latest
```