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

create-remax-app

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-remax-app - npm Package Compare versions

Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2

2

lib/create/ask.d.ts
import { Question } from 'inquirer';
export interface CustomQuestionType extends Question {
label?: string;
choices?: string[];
choices?: ObjectValueType[] | string[];
type: string;

@@ -6,0 +6,0 @@ }

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

macros.choices.forEach(function (item) {
metalsmith._metadata[item] = item === platform ? true : false;
metalsmith._metadata[item.value] = item.value === platform ? true : false;
});

@@ -99,0 +99,0 @@ done();

@@ -13,4 +13,7 @@ declare const macros: {

defaultPlatform: string;
choices: string[];
choices: {
value: string;
name: string;
}[];
};
export default macros;

@@ -16,8 +16,8 @@ "use strict";

choices: [
'one',
'wechat',
'ali',
'toutiao'
{ value: 'one', name: '跨平台小程序' },
{ value: 'wechat', name: '微信小程序' },
{ value: 'ali', name: '阿里(支付宝)小程序' },
{ value: 'toutiao', name: '头条小程序' }
]
};
exports.default = macros;
{
"name": "create-remax-app",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "Create Remax apps with no build configuration.",

@@ -29,4 +29,3 @@ "bin": {

"lib/**/*",
"bin/**/*",
"temp/**/*"
"bin/**/*"
],

@@ -33,0 +32,0 @@ "homepage": "https://github.com/remaxjs/create-remax-app#readme",

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