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

@crackle/core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crackle/core - npm Package Compare versions

Comparing version

to
0.10.5

{
"name": "@crackle/core",
"version": "0.10.4",
"version": "0.10.5",
"main": "dist/crackle-core.cjs.js",

@@ -92,3 +92,3 @@ "module": "dist/crackle-core.esm.js",

"@vanilla-extract/vite-plugin": "^3.3.1",
"@vitejs/plugin-react-refresh": "^1.3.6",
"@vitejs/plugin-react": "^2.1.0",
"builtin-modules": "^3.2.0",

@@ -95,0 +95,0 @@ "chalk": "^4.0.0",

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

var vitePlugin = require('@vanilla-extract/vite-plugin');
var reactRefresh = require('@vitejs/plugin-react-refresh');
var react = require('@vitejs/plugin-react');
var builtinModules = require('builtin-modules');

@@ -31,3 +31,3 @@ var express = require('express');

var path__default = /*#__PURE__*/_interopDefault(path);
var reactRefresh__default = /*#__PURE__*/_interopDefault(reactRefresh);
var react__default = /*#__PURE__*/_interopDefault(react);
var builtinModules__default = /*#__PURE__*/_interopDefault(builtinModules);

@@ -88,3 +88,3 @@ var express__default = /*#__PURE__*/_interopDefault(express);

},
plugins: [viteConfig.stripRouteData(), reactRefresh__default["default"](), vitePlugin.vanillaExtractPlugin(), viteConfig.addPageRoots(config$1), viteConfig.internalPackageResolution({ ...config$1,
plugins: [viteConfig.stripRouteData(), react__default["default"](), vitePlugin.vanillaExtractPlugin(), viteConfig.addPageRoots(config$1), viteConfig.internalPackageResolution({ ...config$1,
root: config$1.resolveFromRoot('..')

@@ -103,3 +103,3 @@ })],

// We can force include our internal dependencies here, so that they also get prebundled.
include: ['react-dom', 'react-router-dom'],
include: ['react-dom', '@crackle/router'],
esbuildOptions: {

@@ -110,12 +110,6 @@ plugins: [fixViteVanillaExtractDepScanPlugin()]

ssr: {
external: ['serialize-javascript', 'used-styles', ...builtinModules__default["default"], ...ssrExternals.external // uncomment the lines below while we're waiting for https://github.com/vitejs/vite/issues/9926
//
// 'autosuggest-highlight/match',
// 'autosuggest-highlight/parse',
// 'lodash/mapValues',
// 'lodash/merge',
// 'lodash/omit',
// 'lodash/values',
//
],
external: ['@crackle/router', 'serialize-javascript', 'used-styles', '@vanilla-extract/css/transformCss', '@vanilla-extract/css/adapter', ...builtinModules__default["default"], ...ssrExternals.external, // These externals are required to fix the following issue specifically for 'braid-design-system'
// https://github.com/vitejs/vite/issues/9926
// Other packages may be subject to the same issue
'autosuggest-highlight/match', 'autosuggest-highlight/parse', 'lodash/mapValues', 'lodash/merge', 'lodash/omit', 'lodash/values'],
noExternal: ssrExternals.noExternal

@@ -122,0 +116,0 @@ }

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

var vitePlugin = require('@vanilla-extract/vite-plugin');
var reactRefresh = require('@vitejs/plugin-react-refresh');
var react = require('@vitejs/plugin-react');
var builtinModules = require('builtin-modules');

@@ -31,3 +31,3 @@ var express = require('express');

var path__default = /*#__PURE__*/_interopDefault(path);
var reactRefresh__default = /*#__PURE__*/_interopDefault(reactRefresh);
var react__default = /*#__PURE__*/_interopDefault(react);
var builtinModules__default = /*#__PURE__*/_interopDefault(builtinModules);

@@ -88,3 +88,3 @@ var express__default = /*#__PURE__*/_interopDefault(express);

},
plugins: [viteConfig.stripRouteData(), reactRefresh__default["default"](), vitePlugin.vanillaExtractPlugin(), viteConfig.addPageRoots(config$1), viteConfig.internalPackageResolution({ ...config$1,
plugins: [viteConfig.stripRouteData(), react__default["default"](), vitePlugin.vanillaExtractPlugin(), viteConfig.addPageRoots(config$1), viteConfig.internalPackageResolution({ ...config$1,
root: config$1.resolveFromRoot('..')

@@ -103,3 +103,3 @@ })],

// We can force include our internal dependencies here, so that they also get prebundled.
include: ['react-dom', 'react-router-dom'],
include: ['react-dom', '@crackle/router'],
esbuildOptions: {

@@ -110,12 +110,6 @@ plugins: [fixViteVanillaExtractDepScanPlugin()]

ssr: {
external: ['serialize-javascript', 'used-styles', ...builtinModules__default["default"], ...ssrExternals.external // uncomment the lines below while we're waiting for https://github.com/vitejs/vite/issues/9926
//
// 'autosuggest-highlight/match',
// 'autosuggest-highlight/parse',
// 'lodash/mapValues',
// 'lodash/merge',
// 'lodash/omit',
// 'lodash/values',
//
],
external: ['@crackle/router', 'serialize-javascript', 'used-styles', '@vanilla-extract/css/transformCss', '@vanilla-extract/css/adapter', ...builtinModules__default["default"], ...ssrExternals.external, // These externals are required to fix the following issue specifically for 'braid-design-system'
// https://github.com/vitejs/vite/issues/9926
// Other packages may be subject to the same issue
'autosuggest-highlight/match', 'autosuggest-highlight/parse', 'lodash/mapValues', 'lodash/merge', 'lodash/omit', 'lodash/values'],
noExternal: ssrExternals.noExternal

@@ -122,0 +116,0 @@ }

import path, { dirname } from 'path';
import { performance } from 'perf_hooks';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import reactRefresh from '@vitejs/plugin-react-refresh';
import react from '@vitejs/plugin-react';
import builtinModules from 'builtin-modules';

@@ -73,3 +73,3 @@ import express from 'express';

},
plugins: [stripRouteData(), reactRefresh(), vanillaExtractPlugin(), addPageRoots(config), internalPackageResolution({ ...config,
plugins: [stripRouteData(), react(), vanillaExtractPlugin(), addPageRoots(config), internalPackageResolution({ ...config,
root: config.resolveFromRoot('..')

@@ -88,3 +88,3 @@ })],

// We can force include our internal dependencies here, so that they also get prebundled.
include: ['react-dom', 'react-router-dom'],
include: ['react-dom', '@crackle/router'],
esbuildOptions: {

@@ -95,12 +95,6 @@ plugins: [fixViteVanillaExtractDepScanPlugin()]

ssr: {
external: ['serialize-javascript', 'used-styles', ...builtinModules, ...ssrExternals.external // uncomment the lines below while we're waiting for https://github.com/vitejs/vite/issues/9926
//
// 'autosuggest-highlight/match',
// 'autosuggest-highlight/parse',
// 'lodash/mapValues',
// 'lodash/merge',
// 'lodash/omit',
// 'lodash/values',
//
],
external: ['@crackle/router', 'serialize-javascript', 'used-styles', '@vanilla-extract/css/transformCss', '@vanilla-extract/css/adapter', ...builtinModules, ...ssrExternals.external, // These externals are required to fix the following issue specifically for 'braid-design-system'
// https://github.com/vitejs/vite/issues/9926
// Other packages may be subject to the same issue
'autosuggest-highlight/match', 'autosuggest-highlight/parse', 'lodash/mapValues', 'lodash/merge', 'lodash/omit', 'lodash/values'],
noExternal: ssrExternals.noExternal

@@ -107,0 +101,0 @@ }