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

react-pannellum-next

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-pannellum-next - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.parcelrc

34

package.json
{
"name": "react-pannellum-next",
"version": "1.0.0",
"version": "1.0.1",
"description": "The `PanoramaViewer` component is a React component that provides a panoramic image viewer using the Pannellum library. It allows you to display a 360-degree image and add interactive hotspots to it.",
"main": "index.js",
"source": "src/index.ts",
"main": "dist/index.js",
"types": "dist/types.d.ts",
"browserslist": "> 0.5%, last 2 versions, not dead",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel index.html",
"build": "parcel build"
},

@@ -18,3 +23,6 @@ "repository": {

"pannellum",
"react-pannellum"
"react-pannellum",
"react",
"component",
"vr"
],

@@ -28,6 +36,22 @@ "author": "Loïc Kami",

"dependencies": {
"pannellum": "^2.5.6",
"pannellum": "^2.5.6"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@parcel/packager-ts": "^2.9.2",
"@parcel/transformer-html": "^2.9.2",
"@parcel/transformer-js": "^2.9.2",
"@parcel/transformer-typescript-tsc": "^2.9.2",
"@parcel/transformer-typescript-types": "2.9.2",
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"parcel": "^2.9.2",
"typescript": "^5.1.3"
}
}

8

readme.md

@@ -24,6 +24,6 @@ # PanoramaViewer Component

import React from 'react';
import PanoramaViewer, { Hotspot } from 'react-pannellum';
import PanoramaViewer, { HotspotProps } from 'react-pannellum';
const App: React.FC = () => {
const hotSpots: Hotspot[] = [
const hotSpots: HotspotProps[] = [
{ pitch: 0, yaw: 0, type: 'info', text: 'Welcome!' },

@@ -49,3 +49,3 @@ // Add more hotspots here

import React from 'react';
import { Hotspot } from 'react-pannellum-next';
import { HotspotProps } from 'react-pannellum-next';

@@ -58,3 +58,3 @@ const DynamicPanoramaViewer = dynamic(() => import('react-pannellum-next'), {

const hotSpots: Hotspot[] = [
const hotSpots: HotspotProps[] = [
{ pitch: 0, yaw: 0, type: 'info', text: 'Welcome!' },

@@ -61,0 +61,0 @@ // Add more hotspots here

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