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

trtc-electron-sdk

Package Overview
Dependencies
Maintainers
0
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trtc-electron-sdk - npm Package Compare versions

Comparing version 11.9.606-beta.5 to 11.9.606-beta.6

16

package.json
{
"name": "trtc-electron-sdk",
"version": "11.9.606-beta.5",
"version": "11.9.606-beta.6",
"description": "trtc electron sdk",

@@ -41,21 +41,21 @@ "main": "./liteav/trtc.js",

"scripts": {
"install": "cross-env-shell npm run download \\\"--INIT_CWD=$INIT_CWD\\\"",
"install": "npm run download ",
"download": "node ./scripts/download.js",
"postinstall": "node ./scripts/postinstall.js",
"dev": "cross-env-shell npm run build && npm run doc && npm run copy:sdk \\\"--INIT_CWD=$INIT_CWD\\\"",
"dev": "npm run build && npm run doc && npm run copy:sdk ",
"copy:sdk": "rimraf ./build && node ./scripts/copy-sdk.js",
"build": "cross-env-shell npm run build:types && npm run build:js && npm run copy:types && npm run copy:sdk \\\"--INIT_CWD=$INIT_CWD\\\"",
"build": "npm run build:types && npm run build:js && npm run copy:types && npm run copy:sdk ",
"build:types": "rimraf ./types && tsc -p dtsconfig.json",
"build:js": "rimraf ./liteav && tsc -p tsconfig.json",
"copy:types": "node ./scripts/copy-types.js",
"watch": "cross-env-shell npm run dev && npm run watch:js \\\"--INIT_CWD=$INIT_CWD\\\"",
"watch": "npm run dev && npm run watch:js ",
"watch:types": "rimraf ./types && tsc --watch -p dtsconfig.json",
"watch:js": "rimraf ./liteav && tsc --watch -p tsconfig.json",
"publish_doc": "node ./scripts/publish-doc.js",
"doc": "cross-env-shell npm run doc:clean && npm run doc:build \\\"--INIT_CWD=$INIT_CWD\\\"",
"doc:build": "cross-env-shell npm run doc:build-zh && npm run doc:build-en \\\"--INIT_CWD=$INIT_CWD\\\"",
"doc": "npm run doc:clean && npm run doc:build ",
"doc:build": "npm run doc:build-zh && npm run doc:build-en ",
"doc:build-zh": "jsdoc -c ./jsdoc/jsdoc_zh.json && node ./jsdoc/fix-doc_zh.js",
"doc:build-en": "jsdoc -c ./jsdoc/jsdoc_en.json && node ./jsdoc/fix-doc_en.js",
"doc:clean": "node ./jsdoc/clean-doc.js",
"prerelease": "cross-env-shell npm run build && npm run doc && node ./scripts/prerelase.js \\\"--INIT_CWD=$INIT_CWD\\\"",
"prerelease": "npm run build && npm run doc && node ./scripts/prerelase.js ",
"publish_npm": "node scripts/publish-npm.js"

@@ -62,0 +62,0 @@ },

@@ -52,6 +52,8 @@ /**

let INIT_CWD = process.env["INIT_CWD"];
// INIT_CWD = INIT_CWD.split("/");
// INIT_CWD = INIT_CWD.splice(0, INIT_CWD.length - 2);
// const PkgJsonDir = INIT_CWD.join("/") + "/package.json";
const PkgJsonDir = path.join(INIT_CWD, "package.json");
const originDir = INIT_CWD + "/package.json";
INIT_CWD = INIT_CWD.split("/");
INIT_CWD = INIT_CWD.splice(0, INIT_CWD.length - 2);
let PkgJsonDir = INIT_CWD.join("/") + "/package.json";
PkgJsonDir = require(PkgJsonDir) ? PkgJsonDir : originDir;
const { trtc_electron } = require(PkgJsonDir);

@@ -58,0 +60,0 @@ console.log(

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