Skip to content

Commit

Permalink
Update package.json for node 12.5, browserify, uglify, and build dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Jun 29, 2015
1 parent c85fa18 commit 03896ee
Show file tree
Hide file tree
Showing 8 changed files with 2,338 additions and 1,342 deletions.
1,155 changes: 760 additions & 395 deletions dist/buffer.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/buffer.min.js

Large diffs are not rendered by default.

2,474 changes: 1,557 additions & 917 deletions dist/filer.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/filer.min.js

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions dist/path.js
@@ -1,4 +1,4 @@
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Path=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Path = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Expand Down Expand Up @@ -121,8 +121,8 @@ function join() {

// path.relative(from, to)
function relative(from, to) {
from = exports.resolve(from).substr(1);
to = exports.resolve(to).substr(1);
from = resolve(from).substr(1);
to = resolve(to).substr(1);

function trim(arr) {
var start = 0;
Expand Down Expand Up @@ -239,6 +239,5 @@ module.exports = {
removeTrailing: removeTrailing
};

},{}]},{},[1])
(1)
},{}]},{},[1])(1)
});
4 changes: 2 additions & 2 deletions dist/path.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 6 additions & 14 deletions gruntfile.js
Expand Up @@ -65,9 +65,7 @@ module.exports = function(grunt) {
options: {
browserifyOptions: {
commondir: false,
builtins: ["buffer", "path", "url", "punycode", "querystring"]
},
bundleOptions: {
builtins: ["buffer", "path", "url", "punycode", "querystring"],
insertGlobalVars: {
// This ensures that process won't be defined, since
// browserify will do so automatically if any globals
Expand All @@ -87,9 +85,7 @@ module.exports = function(grunt) {
options: {
browserifyOptions: {
commondir: false,
builtins: ["buffer", "path", "url", "punycode", "querystring"]
},
bundleOptions: {
builtins: ["buffer", "path", "url", "punycode", "querystring"],
insertGlobalVars: {
// This ensures that process won't be defined, since
// browserify will do so automatically if any globals
Expand All @@ -108,9 +104,7 @@ module.exports = function(grunt) {
options: {
browserifyOptions: {
commondir: false,
builtins: ["buffer", "path", "url", "punycode", "querystring"]
},
bundleOptions: {
builtins: ["buffer", "path", "url", "punycode", "querystring"],
insertGlobalVars: {
// This ensures that process won't be defined, since
// browserify will do so automatically if any globals
Expand All @@ -129,9 +123,7 @@ module.exports = function(grunt) {
options: {
browserifyOptions: {
commondir: false,
builtins: ["buffer", "path", "url", "punycode", "querystring"]
},
bundleOptions: {
builtins: ["buffer", "path", "url", "punycode", "querystring"],
insertGlobalVars: {
// This ensures that process won't be defined, since
// browserify will do so automatically if any globals
Expand All @@ -150,7 +142,7 @@ module.exports = function(grunt) {
src: "./src/path.js",
dest: "./dist/path.js",
options: {
bundleOptions: {
browserifyOptions: {
standalone: 'Path'
}
}
Expand All @@ -159,7 +151,7 @@ module.exports = function(grunt) {
src: "./src/buffer.js",
dest: "./dist/buffer.js",
options: {
bundleOptions: {
browserifyOptions: {
standalone: 'FilerBuffer'
}
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -32,14 +32,14 @@
"chai": "~1.9.1",
"grunt": "~0.4.0",
"grunt-banner": "^0.2.3",
"grunt-browserify": "^2.1.0",
"grunt-browserify": "^3.8.0",
"grunt-bump": "0.0.13",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-compress": "~0.4.1",
"grunt-contrib-concat": "~0.1.3",
"grunt-contrib-connect": "^0.7.1",
"grunt-contrib-connect": "^0.10.1",
"grunt-contrib-jshint": "~0.7.1",
"grunt-contrib-uglify": "~0.1.2",
"grunt-contrib-uglify": "^0.9.1",
"grunt-contrib-watch": "~0.3.1",
"grunt-git": "0.3.3",
"grunt-npm": "git://github.com/sedge/grunt-npm.git#branchcheck",
Expand Down

3 comments on commit 03896ee

@megawac
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump on npm?

@humphd
Copy link
Contributor Author

@humphd humphd commented on 03896ee Jul 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocked on #360.

@modeswitch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@megawac Published.

Please sign in to comment.