Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

3d-model-ts-library

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3d-model-ts-library - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

34

dist/index.d.ts

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

import ModelViewerElementBase from '@google/model-viewer/src/model-viewer-base.js';
export declare const ModelViewerElement: {
new (...args: any[]): import("@google/model-viewer/src/features/annotation.js").AnnotationInterface;
prototype: import("@google/model-viewer/src/features/annotation.js").AnnotationInterface;
} & object & {
new (...args: any[]): import("@google/model-viewer/src/features/scene-graph.js").SceneGraphInterface;
prototype: import("@google/model-viewer/src/features/scene-graph.js").SceneGraphInterface;
} & {
new (...args: any[]): import("@google/model-viewer/src/features/staging.js").StagingInterface;
prototype: import("@google/model-viewer/src/features/staging.js").StagingInterface;
} & {
new (...args: any[]): import("@google/model-viewer/src/features/environment.js").EnvironmentInterface;
prototype: import("@google/model-viewer/src/features/environment.js").EnvironmentInterface;
} & {
new (...args: any[]): import("@google/model-viewer/src/features/controls.js").ControlsInterface;
prototype: import("@google/model-viewer/src/features/controls.js").ControlsInterface;
} & {
new (...args: any[]): import("@google/model-viewer/src/features/ar.js").ARInterface;
prototype: import("@google/model-viewer/src/features/ar.js").ARInterface;
} & {
new (...args: any[]): import("@google/model-viewer/src/features/loading.js").LoadingInterface;
prototype: import("@google/model-viewer/src/features/loading.js").LoadingInterface;
} & import("@google/model-viewer/src/features/loading.js").LoadingStaticInterface & {
new (...args: any[]): import("@google/model-viewer/src/features/animation.js").AnimationInterface;
prototype: import("@google/model-viewer/src/features/animation.js").AnimationInterface;
} & typeof ModelViewerElementBase;
export declare type ModelViewerElement = InstanceType<typeof ModelViewerElement>;
export { RGB, RGBA } from '@google/model-viewer/src/three-components/gltf-instance/gltf-2.0';
declare global {
interface HTMLElementTagNameMap {
'model-viewer': ModelViewerElement;
}
}
export * from "@google/model-viewer";

31

dist/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModelViewerElement = void 0;
const animation_js_1 = require("@google/model-viewer/src/features/animation.js");
const annotation_js_1 = require("@google/model-viewer/src/features/annotation.js");
const ar_js_1 = require("@google/model-viewer/src/features/ar.js");
const controls_js_1 = require("@google/model-viewer/src/features/controls.js");
const environment_js_1 = require("@google/model-viewer/src/features/environment.js");
const loading_js_1 = require("@google/model-viewer/src/features/loading.js");
const scene_graph_js_1 = require("@google/model-viewer/src/features/scene-graph.js");
const staging_js_1 = require("@google/model-viewer/src/features/staging.js");
const model_viewer_base_js_1 = require("@google/model-viewer/src/model-viewer-base.js");
const focus_visible_js_1 = require("@google/model-viewer/src/utilities/focus-visible.js");
// Uncomment these lines to export PMREM textures in Glitch:
// export {default as TextureUtils} from './three-components/TextureUtils';
// export * from 'three';
exports.ModelViewerElement = (0, annotation_js_1.AnnotationMixin)((0, scene_graph_js_1.SceneGraphMixin)((0, staging_js_1.StagingMixin)((0, environment_js_1.EnvironmentMixin)((0, controls_js_1.ControlsMixin)((0, ar_js_1.ARMixin)((0, loading_js_1.LoadingMixin)((0, animation_js_1.AnimationMixin)((0, focus_visible_js_1.FocusVisiblePolyfillMixin)(model_viewer_base_js_1.default)))))))));
customElements.define('model-viewer', exports.ModelViewerElement);
__exportStar(require("@google/model-viewer"), exports);
//# sourceMappingURL=index.js.map
{
"name": "3d-model-ts-library",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -27,3 +27,6 @@ "main": "dist/index.js",

"typescript": "^4.6.3"
},
"devDependencies": {
"@types/node": "^17.0.23"
}
}

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