Template Upload
This commit is contained in:
		
							
								
								
									
										19
									
								
								node_modules/acorn-object-spread/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/acorn-object-spread/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
Copyright (C) 2016 by UXtemple
 | 
			
		||||
 | 
			
		||||
Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
in the Software without restriction, including without limitation the rights
 | 
			
		||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
The above copyright notice and this permission notice shall be included in
 | 
			
		||||
all copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
			
		||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 | 
			
		||||
THE SOFTWARE.
 | 
			
		||||
							
								
								
									
										3
									
								
								node_modules/acorn-object-spread/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								node_modules/acorn-object-spread/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
module.exports = require('./inject')(require('acorn'));
 | 
			
		||||
							
								
								
									
										50
									
								
								node_modules/acorn-object-spread/inject.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								node_modules/acorn-object-spread/inject.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
module.exports = function(acorn) {
 | 
			
		||||
  var tt = acorn.tokTypes;
 | 
			
		||||
  var pp = acorn.Parser.prototype;
 | 
			
		||||
 | 
			
		||||
  // this is the same parseObj that acorn has with...
 | 
			
		||||
  function parseObj(isPattern, refDestructuringErrors) {
 | 
			
		||||
    let node = this.startNode(), first = true, propHash = {}
 | 
			
		||||
    node.properties = []
 | 
			
		||||
    this.next()
 | 
			
		||||
    while (!this.eat(tt.braceR)) {
 | 
			
		||||
      if (!first) {
 | 
			
		||||
        this.expect(tt.comma)
 | 
			
		||||
        if (this.afterTrailingComma(tt.braceR)) break
 | 
			
		||||
      } else first = false
 | 
			
		||||
 | 
			
		||||
      let prop = this.startNode(), isGenerator, startPos, startLoc
 | 
			
		||||
      if (this.options.ecmaVersion >= 6) {
 | 
			
		||||
        // ...the spread logic borrowed from babylon :)
 | 
			
		||||
        if (this.type === tt.ellipsis) {
 | 
			
		||||
          prop = this.parseSpread()
 | 
			
		||||
          prop.type = isPattern ? "RestProperty" : "SpreadProperty"
 | 
			
		||||
          node.properties.push(prop)
 | 
			
		||||
          continue
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        prop.method = false
 | 
			
		||||
        prop.shorthand = false
 | 
			
		||||
        if (isPattern || refDestructuringErrors) {
 | 
			
		||||
          startPos = this.start
 | 
			
		||||
          startLoc = this.startLoc
 | 
			
		||||
        }
 | 
			
		||||
        if (!isPattern)
 | 
			
		||||
          isGenerator = this.eat(tt.star)
 | 
			
		||||
      }
 | 
			
		||||
      this.parsePropertyName(prop)
 | 
			
		||||
      this.parsePropertyValue(prop, isPattern, isGenerator, startPos, startLoc, refDestructuringErrors)
 | 
			
		||||
      this.checkPropClash(prop, propHash)
 | 
			
		||||
      node.properties.push(this.finishNode(prop, "Property"))
 | 
			
		||||
    }
 | 
			
		||||
    return this.finishNode(node, isPattern ? "ObjectPattern" : "ObjectExpression")
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  acorn.plugins.objectSpread = function objectSpreadPlugin(instance) {
 | 
			
		||||
    pp.parseObj = parseObj;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  return acorn;
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										79
									
								
								node_modules/acorn-object-spread/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								node_modules/acorn-object-spread/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,79 @@
 | 
			
		||||
{
 | 
			
		||||
  "_args": [
 | 
			
		||||
    [
 | 
			
		||||
      "acorn-object-spread@^1.0.0",
 | 
			
		||||
      "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\buble"
 | 
			
		||||
    ]
 | 
			
		||||
  ],
 | 
			
		||||
  "_from": "acorn-object-spread@>=1.0.0-0 <2.0.0-0",
 | 
			
		||||
  "_id": "acorn-object-spread@1.0.0",
 | 
			
		||||
  "_inCache": true,
 | 
			
		||||
  "_location": "/acorn-object-spread",
 | 
			
		||||
  "_nodeVersion": "6.2.0",
 | 
			
		||||
  "_npmOperationalInternal": {
 | 
			
		||||
    "host": "packages-16-east.internal.npmjs.com",
 | 
			
		||||
    "tmp": "tmp/acorn-object-spread-1.0.0.tgz_1464800884185_0.8297854186967015"
 | 
			
		||||
  },
 | 
			
		||||
  "_npmUser": {
 | 
			
		||||
    "email": "dario@uxtemple.com",
 | 
			
		||||
    "name": "dariocravero"
 | 
			
		||||
  },
 | 
			
		||||
  "_npmVersion": "3.8.9",
 | 
			
		||||
  "_phantomChildren": {},
 | 
			
		||||
  "_requested": {
 | 
			
		||||
    "name": "acorn-object-spread",
 | 
			
		||||
    "raw": "acorn-object-spread@^1.0.0",
 | 
			
		||||
    "rawSpec": "^1.0.0",
 | 
			
		||||
    "scope": null,
 | 
			
		||||
    "spec": ">=1.0.0-0 <2.0.0-0",
 | 
			
		||||
    "type": "range"
 | 
			
		||||
  },
 | 
			
		||||
  "_requiredBy": [
 | 
			
		||||
    "/buble"
 | 
			
		||||
  ],
 | 
			
		||||
  "_resolved": "https://registry.npmjs.org/acorn-object-spread/-/acorn-object-spread-1.0.0.tgz",
 | 
			
		||||
  "_shasum": "48ead0f4a8eb16995a17a0db9ffc6acaada4ba68",
 | 
			
		||||
  "_shrinkwrap": null,
 | 
			
		||||
  "_spec": "acorn-object-spread@^1.0.0",
 | 
			
		||||
  "_where": "C:\\Users\\x2mjbyrn\\Source\\Repos\\Skeleton\\node_modules\\buble",
 | 
			
		||||
  "author": {
 | 
			
		||||
    "email": "dario@uxtemple.com",
 | 
			
		||||
    "name": "Darío Javier Cravero"
 | 
			
		||||
  },
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/UXtemple/acorn-object-spread/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "acorn": "^3.1.0"
 | 
			
		||||
  },
 | 
			
		||||
  "description": "Support object spread in acorn",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "chai": "^3.0.0",
 | 
			
		||||
    "mocha": "^2.2.5"
 | 
			
		||||
  },
 | 
			
		||||
  "directories": {},
 | 
			
		||||
  "dist": {
 | 
			
		||||
    "shasum": "48ead0f4a8eb16995a17a0db9ffc6acaada4ba68",
 | 
			
		||||
    "tarball": "https://registry.npmjs.org/acorn-object-spread/-/acorn-object-spread-1.0.0.tgz"
 | 
			
		||||
  },
 | 
			
		||||
  "gitHead": "c837b92a38e49680401e412455a0c6e6d50c8ed0",
 | 
			
		||||
  "homepage": "https://github.com/UXtemple/acorn-object-spread",
 | 
			
		||||
  "installable": true,
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "maintainers": [
 | 
			
		||||
    {
 | 
			
		||||
      "name": "dariocravero",
 | 
			
		||||
      "email": "dario@uxtemple.com"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "name": "acorn-object-spread",
 | 
			
		||||
  "optionalDependencies": {},
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/UXtemple/acorn-object-spread.git"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "node test/run.js"
 | 
			
		||||
  },
 | 
			
		||||
  "version": "1.0.0"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user