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

storybook-addon-intl

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook-addon-intl - npm Package Compare versions

Comparing version

to
4.0.0

dist/index.cjs

11

dist/index.js

@@ -1,8 +0,5 @@

"use strict";
var e={};
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _default = {};
exports["default"] = _default;
export { e as default };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

module.exports = require('./dist/manager');
import './dist/manager';
{
"name": "storybook-addon-intl",
"version": "3.2.0",
"version": "4.0.0",
"description": "Addon to provide locale switcher and react-intl for storybook",
"main": "dist/index.js",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./preview": {
"types": "./dist/preview.d.ts",
"import": "./dist/preview.js",
"require": "./dist/preview.cjs"
},
"./manager": "./dist/manager.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "del dist && babel ./src --ignore __tests__ --out-dir ./dist",
"prepublishOnly": "npm run build",
"prestorybook": "npm run build",
"build": "tsup",
"build:watch": "npm run build -- --watch",
"start": "run-p build:watch 'storybook --quiet'",
"storybook": "storybook dev --port 9001 --no-open",
"check-format": "prettier -c .",
"typecheck": "tsc",
"test": "jest",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"prepack": "npm run build"
},
"files": [
"dist",
"preview.js",
"manager.js"
],
"repository": {

@@ -22,2 +43,3 @@ "type": "git",

"storybook-addon",
"storybook-addons",
"react-intl",

@@ -33,22 +55,27 @@ "i18n",

"dependencies": {
"@storybook/theming": "^7.0.6"
"@storybook/theming": "^8.0.8"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@storybook/components": "^7.0.2",
"@storybook/manager-api": "^7.0.2",
"@storybook/preview-api": "^7.0.2",
"@storybook/react": "^7.0.2",
"@storybook/react-webpack5": "^7.0.2",
"@storybook/types": "^7.0.7",
"del-cli": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"@storybook/components": "^8.0.8",
"@storybook/manager-api": "^8.0.8",
"@storybook/preview-api": "^8.0.8",
"@storybook/react": "^8.0.8",
"@storybook/react-vite": "^8.0.8",
"@storybook/react-webpack5": "^8.0.8",
"@storybook/types": "^8.0.8",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.2.1",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.3.2",
"storybook": "^7.0.2"
"react-intl": "^6.6.5",
"storybook": "^8.0.8",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vite": "^5.2.9"
},

@@ -58,3 +85,14 @@ "peerDependencies": {

"react-intl": "^6.0.0"
},
"bundler": {
"exportEntry": "src/index.ts",
"managerEntry": "src/manager/index.ts",
"previewEntry": "src/preview/index.ts"
},
"storybook": {
"displayName": "storybook-addon-intl",
"supportedFrameworks": [
"react"
]
}
}

@@ -1,1 +0,1 @@

module.exports = require('./dist/preview');
import './dist/preview';

@@ -1,2 +0,2 @@

# Intl Addon
# Storybook Addon Intl

@@ -3,0 +3,0 @@ The Intl addon can be used to provide locale switcher and react-intl.