From 6b1e7a3a8bddf664ecbcf95b981cebfce2571ac0 Mon Sep 17 00:00:00 2001 From: Austin Sanders Date: Wed, 27 Jun 2018 15:10:50 -0700 Subject: [PATCH 1/4] Adds use strict. Fixes canjs/canjs#4217 --- build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build.js b/build.js index ca137e8..28a27eb 100644 --- a/build.js +++ b/build.js @@ -1,3 +1,4 @@ +"use strict"; var stealTools = require("steal-tools"); stealTools.export({ From 71e6123f67432359d19d156375e4316435f7397e Mon Sep 17 00:00:00 2001 From: Austin Sanders Date: Fri, 29 Jun 2018 10:39:33 -0700 Subject: [PATCH 2/4] Update .npmignore --- .npmignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 05a9d0c..e8440a2 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,6 @@ -!dist/ \ No newline at end of file +!dist/ +build.js +.travis.yml +.jshintrc +.editorconfig +/.idea/ From fc9c8d080bc32e4b7afca7cabe775aaddb7aab55 Mon Sep 17 00:00:00 2001 From: Kevin Phillips Date: Tue, 3 Jul 2018 17:14:24 -0500 Subject: [PATCH 3/4] updating release scripts for 1.x-legacy --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c476dd6..23d4aba 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,12 @@ "scripts": { "preversion": "npm test && npm run build", "version": "git commit -am \"Update version number\" && git checkout -b release && git add -f dist/", - "postpublish": "git push --tags && git checkout master && git branch -D release && git push", + "postpublish": "git push --tags && git checkout - && git branch -D release && git push", "testee": "testee test.html --browsers firefox", "test": "npm run detect-cycle && npm run jshint && npm run testee", "jshint": "jshint ./*.js --config", - "release:patch": "npm version patch && npm publish", - "release:minor": "npm version minor && npm publish", - "release:major": "npm version major && npm publish", + "release:patch": "npm version patch && npm publish --tag 1.x-legacy", + "release:minor": "npm version minor && npm publish --tag 1.x-legacy", "build": "node build.js", "develop": "done-serve --static --develop --port 8080", "detect-cycle": "detect-cyclic-packages --ignore done-serve" From 7f8732ac84a7514c750f3d0b20eb6851e5fe5e06 Mon Sep 17 00:00:00 2001 From: Chasen Le Hara Date: Tue, 3 Jul 2018 19:56:09 -0700 Subject: [PATCH 4/4] Update version number --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 23d4aba..438a3e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "can-ajax", - "version": "1.2.1", + "version": "1.3.0", "description": "jQuery-inspired AJAX request library.", "homepage": "", "repository": {