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

think-demo-task-list

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

think-demo-task-list - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

dist/index.js

6

demo-task-list.config.json
{
"title": "Task List",
"status": "wip"
"status": "wip",
"context": {
"reactName": "tasklist"
}
}

8

dist/_demo-task-list.js

@@ -11,7 +11,7 @@ /* eslint complexity: 'off' */

var addTask = function () {
var addTask = function addTask() {
var newTask = $newTask.val();
if (newTask !== '') {
var newTaskHtml = `<li class="tbk-task-list-item">${newTask}</li>`;
var newTaskHtml = '<li class="tbk-task-list-item">' + newTask + '</li>';
$($taskList[0]).append(newTaskHtml);

@@ -23,3 +23,3 @@ }

var bind = function () {
var bind = function bind() {
$(document).on('click', '[data-role="add-task"]', addTask);

@@ -29,3 +29,3 @@ };

return { //exposed to public
init: function () {
init: function init() {
bind();

@@ -32,0 +32,0 @@ }

{
"name": "think-demo-task-list",
"version": "1.0.0",
"status": 4,
"version": "2.0.0",
"description": "This is a sample task list component built specifically to demonstrate the use of Lerna in a Think Company Build Kit",
"main": "dist/index",
"keywords": [

@@ -19,4 +19,5 @@ "task list"

"dependencies": {
"jquery": "^3.3.1"
"jquery": "^3.3.1",
"react": "^16.5.2"
}
}

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