Socket
Socket
Sign inDemoInstall

@ray-js/build-plugin-router

Package Overview
Dependencies
Maintainers
1
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ray-js/build-plugin-router - npm Package Compare versions

Comparing version 1.5.0-beta.12 to 1.5.0

4

lib/index.js

@@ -237,3 +237,3 @@ "use strict";

const { target } = api.options;
const g = target === 'thing'
const globalConfigData = target === 'thing'
? (_b = (_a = globalConfig['thing']) !== null && _a !== void 0 ? _a : globalConfig['tuya']) !== null && _b !== void 0 ? _b : {} // 因历史原因,需要兼容老项目的老配置,老项目中都是 tuya

@@ -251,3 +251,3 @@ : (_c = globalConfig[target]) !== null && _c !== void 0 ? _c : {};

const { workers = [], root: workerRoot } = otherConfig.workers || {};
const config = Object.assign(Object.assign(Object.assign({}, g), otherConfig), { pages, tabBar });
const config = Object.assign(Object.assign(Object.assign({}, globalConfigData), otherConfig), { pages, tabBar });
if (workerRoot) {

@@ -254,0 +254,0 @@ config.workers =

{
"name": "@ray-js/build-plugin-router",
"version": "1.5.0-beta.12",
"version": "1.5.0",
"description": "Ray build plugin for router",

@@ -27,4 +27,4 @@ "keywords": [

"dependencies": {
"@ray-js/shared": "^1.5.0-beta.12",
"chokidar": "^3.5.3",
"@ray-js/shared": "1.5.0",
"chokidar": "^3.6.0",
"colors": "1.4.0",

@@ -37,3 +37,3 @@ "ejs": "^3.1.9",

"devDependencies": {
"@ray-js/types": "^1.5.0-beta.12"
"@ray-js/types": "1.5.0"
},

@@ -44,3 +44,3 @@ "publishConfig": {

},
"gitHead": "7fb9ae94b8896c81a6b6556099107cb2daab9c9b"
"gitHead": "acb0b960e4f0cda492b34c950bf9cd8d5b27ec8a"
}
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