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

tns-template-tab-navigation

Package Overview
Dependencies
Maintainers
5
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tns-template-tab-navigation - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

App_Resources/Android/src/main/AndroidManifest.xml

1

app.js

@@ -1,2 +0,1 @@

require("./bundle-config");
const application = require("application");

@@ -3,0 +2,0 @@

@@ -6,3 +6,3 @@ {

"templateType": "App template",
"version": "4.0.0",
"version": "4.1.0",
"description": "Tabbed interface template",

@@ -36,4 +36,4 @@ "author": "Telerik <support@telerik.com>",

"eslint": "~4.9.0",
"nativescript-dev-sass": "~1.5.0",
"nativescript-dev-webpack": "~0.10.0"
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-webpack": "~0.12.0"
},

@@ -40,0 +40,0 @@ "scripts": {

@@ -5,3 +5,3 @@ const fs = require("fs");

console.log("postinstall script running...");
console.log("Postinstall script running...");

@@ -8,0 +8,0 @@ getPackageJson()

@@ -5,3 +5,3 @@ const fs = require("fs");

console.log("preinstall script running...");
console.log("Preinstall script running...");

@@ -11,16 +11,19 @@ const eslintConfig = ".eslintrc";

const jsbeautifyConfig = ".jsbeautifyrc";
const srcGitignore = "dot.gitignore";
const destGitignore = ".gitignore";
getAppRootFolder()
.then((appRootFolder) => Promise.all([
copyConfig(eslintConfig, appRootFolder),
copyConfig(eslintIgnoreConfig, appRootFolder),
copyConfig(jsbeautifyConfig, appRootFolder)
copyFile(appRootFolder, eslintConfig),
copyFile(appRootFolder, eslintIgnoreConfig),
copyFile(appRootFolder, jsbeautifyConfig),
copyFile(appRootFolder, srcGitignore, destGitignore)
]));
function copyConfig(configFilename, appRootFolder) {
function copyFile(appRootFolder, srcFilename, destFilename = srcFilename) {
return new Promise((resolve, reject) => {
const sourcePath = path.join(__dirname, configFilename);
const destPath = path.join(appRootFolder, configFilename);
const sourcePath = path.join(__dirname, srcFilename);
const destPath = path.join(appRootFolder, destFilename);
console.log(`creating ${path.resolve(destPath)}...`);
console.log(`Creating ${path.resolve(destPath)}...`);
fs.rename(sourcePath, destPath, (err) => {

@@ -27,0 +30,0 @@ if (err) {

Sorry, the diff of this file is not supported yet

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