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

tracekit

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tracekit - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

appveyor.yml

4

bower.json
{
"name": "tracekit",
"main": "TraceKit.js",
"version": "0.2.0",
"main": "tracekit.js",
"version": "0.2.1",
"homepage": "https://github.com/csnover/TraceKit",

@@ -6,0 +6,0 @@ "description": "Cross browser stack traces",

@@ -6,3 +6,3 @@ /*global module:false*/

grunt.initConfig({
'closureCompiler': {
closureCompiler: {
options: {

@@ -22,3 +22,3 @@ compilerFile: './closure/compiler.jar',

},
'compile': {
compile: {
src: './tracekit.js',

@@ -38,9 +38,17 @@ dest: './tracekit.min.js'

}
},
jasmine : {
src: 'tracekit.js',
options: {
specs: 'tracekit-spec.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-jasmine');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-closure-tools');
grunt.registerTask('test', ['jasmine']);
grunt.registerTask('default', ['jshint:lint', 'closureCompiler:compile']);
};
{
"name": "tracekit",
"main": "./tracekit.js",
"version": "0.2.0",
"homepage": "https://github.com/csnover/TraceKit",
"description": "Cross browser stack traces",
"repository": {
"type": "git",
"url": "https://github.com/csnover/TraceKit.git"
},
"bugs": {
"url": "https://github.com/csnover/TraceKit/issues"
},
"keywords": [
"TraceKit",
"stack traces"
],
"license": "MIT",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.11.2",
"grunt-cli": "~0.1.13",
"grunt-closure-tools": "~0.9.8"
},
"scripts": {
"test": "grunt --verbose travis"
}
"name": "tracekit",
"main": "./tracekit.js",
"version": "0.2.1",
"homepage": "https://github.com/csnover/TraceKit",
"description": "Cross browser stack traces",
"repository": {
"type": "git",
"url": "https://github.com/csnover/TraceKit.git"
},
"bugs": {
"url": "https://github.com/csnover/TraceKit/issues"
},
"keywords": [
"TraceKit",
"stack traces"
],
"license": "MIT",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "~0.1.13",
"grunt-closure-tools": "~0.9.8",
"grunt-contrib-jasmine": "^0.8.2",
"grunt-contrib-jshint": "~0.11.2"
},
"scripts": {
"test": "grunt test"
}
}
TraceKit - Cross browser stack traces.
=====================================
[![Build Status](https://travis-ci.org/occ/TraceKit.png?branch=master)](https://travis-ci.org/occ/TraceKit)
[![Build status](https://ci.appveyor.com/api/projects/status/jaj7yuc29nny4tre/branch/master?svg=true)](https://ci.appveyor.com/project/niemyjski/tracekit/branch/master)

@@ -81,4 +81,13 @@ ### Supports all major browsers, from IE6 to Opera, the Andriod webview and everywhere in between.

All code must pass JSHint and tests, run `grunt` for this. New features need accompanying documentation in the README, changes to existing api's need updated documentation. In general, open an issue for whatever it is you're thinking, get some quick feedback, make good stuff, and we'll accept the PR.
All code must pass JSHint and tests.
Run `grunt` to compile and run JSHint and `grunt test` for the test suite.
New features need accompanying documentation in the README, changes to existing api's need updated documentation.
In general, open an issue for whatever it is you're thinking, get some quick feedback, make good stuff, and we'll accept the PR.
Before building (minifying) you will need to get the closure compiler jar:
```
wget http://dl.google.com/closure-compiler/compiler-latest.zip
unzip compiler-latest.zip -d closure
```
## License

@@ -85,0 +94,0 @@

@@ -71,2 +71,9 @@ declare module TraceKit {

ofCaller:(depth:string|number) => StackTrace;
/**
* Retrieves source code from the source code cache.
* @param {string} url URL of source code.
* @return {Array.<string>} Source contents.
*/
getSource:(url:string) => string[];
}

@@ -73,0 +80,0 @@

@@ -976,3 +976,3 @@ /*

try {
item.func = parts.input.substring(0, parts.input.indexOf('{'))
item.func = parts.input.substring(0, parts.input.indexOf('{'));
} catch (e) { }

@@ -1101,2 +1101,3 @@ }

computeStackTrace.ofCaller = computeStackTraceOfCaller;
computeStackTrace.getSource = getSource;

@@ -1103,0 +1104,0 @@ return computeStackTrace;

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