New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ducky

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ducky - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

2

Gruntfile.js
/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*!
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -26,3 +26,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

(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.Ducky = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.version=void 0;var version={major:2,minor:6,micro:11,date:20180623};exports.version=version;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.version=void 0;var version={major:2,minor:7,micro:1,date:20190616};exports.version=version;
},{}],2:[function(_dereq_,module,exports){

@@ -29,0 +29,0 @@ "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var s=0;s<t.length;s++){var n=t[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,s){return t&&_defineProperties(e.prototype,t),s&&_defineProperties(e,s),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Token=void 0;var Token=function(){function e(){_classCallCheck(this,e),this.name="",this.text="",this.tokens=[],this.pos=0,this.len=0}return _createClass(e,[{key:"setName",value:function(e){this.name=e}},{key:"setText",value:function(e){this.text=e}},{key:"addToken",value:function(e,t,s,n,o){this.tokens.push({b1:e,b2:t,e2:s,e1:n,symbol:o}),this.len++}},{key:"peek",value:function(e){if(void 0===e&&(e=0),e>=this.len)throw new Error("".concat(this.name,": parse error: not enough tokens"));return this.tokens[this.pos+e].symbol}},{key:"skip",value:function(e){if(void 0===e&&(e=1),e>this.len)throw new Error("".concat(this.name,": parse error: not enough tokens available to skip: ").concat(this.ctx()));this.pos+=e,this.len-=e}},{key:"consume",value:function(e){if(this.len<=0)throw new Error("".concat(this.name,": parse error: no more tokens available to consume: ").concat(this.ctx()));if(this.tokens[this.pos].symbol!==e)throw new Error("".concat(this.name,': parse error: expected token symbol "').concat(e,'": ').concat(this.ctx()));this.pos++,this.len--}},{key:"ctx",value:function(e){void 0===e&&(e=78);var t=this.tokens[this.pos],s="<"+this.text.substr(t.b2,t.e2-t.b2+1)+">";s=this.text.substr(t.b1,t.b2-t.b1)+s;var n=e-(s+=this.text.substr(t.e2+1,t.e1-t.e2)).length;if(n>0){var o,r;if(n=Math.floor(n/2),this.pos>0){var i=0;for(o=this.pos-1;o>=0&&(t=this.tokens[o],!((i+=(r=this.text.substr(t.b1,t.e1-t.b1+1)).length)>n));o--)s=r+s;o>0&&(s="[...]"+s)}if(this.len>1){var a=0;for(o=this.pos+1;o<this.pos+this.len&&(t=this.tokens[o],!((a+=(r=this.text.substr(t.b1,t.e1-t.b1+1)).length)>n));o++)s+=r;o<this.pos+this.len&&(s+="[...]")}}return s=s.replace(/\r/,"\\r").replace(/\n/,"\\n").replace(/\t/,"\\t")}}]),e}();exports.Token=Token;

/*!
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -35,3 +35,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -60,7 +60,7 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/* global 6: false */
/* global 7: false */
/* global 11: false */
/* global 1: false */
/* global 20180623: false */
/* global 20190616: false */

@@ -70,5 +70,5 @@ /* API version */

major: 2,
minor: 6,
micro: 11,
date: 20180623
minor: 7,
micro: 1,
date: 20190616
};

@@ -87,3 +87,3 @@ exports.version = version;

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -241,3 +241,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -287,3 +287,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -359,3 +359,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -422,3 +422,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -497,3 +497,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -576,3 +576,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -634,3 +634,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -884,3 +884,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -1133,3 +1133,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -1216,3 +1216,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -1375,3 +1375,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -1516,3 +1516,3 @@ ** Permission is hereby granted, free of charge, to any person obtaining

** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -1519,0 +1519,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

@@ -5,6 +5,6 @@ {

"description": "Duck-Typed Value Handling for JavaScript",
"version": "2.7.0",
"version": "2.7.1",
"license": "MIT",
"author": {
"name": "Ralf S. Engelschall",
"name": "Dr. Ralf S. Engelschall",
"email": "rse@engelschall.com",

@@ -26,7 +26,7 @@ "url": "http://engelschall.com"

"devDependencies": {
"grunt": "1.0.3",
"grunt": "1.0.4",
"grunt-cli": "1.3.2",
"grunt-contrib-uglify": "4.0.0",
"grunt-contrib-uglify": "4.0.1",
"grunt-contrib-clean": "2.0.0",
"grunt-eslint": "21.0.0",
"grunt-eslint": "21.1.0",
"babel-eslint": "10.0.1",

@@ -36,3 +36,3 @@ "estraverse-fb": "1.3.2",

"grunt-mocha-test": "0.13.3",
"mocha": "5.2.0",
"mocha": "6.1.4",
"chai": "4.2.0",

@@ -42,8 +42,8 @@ "chai-fuzzy": "1.6.1",

"babelify": "10.0.0",
"@babel/core": "7.2.2",
"@babel/preset-env": "7.2.3",
"@babel/core": "7.4.5",
"@babel/preset-env": "7.4.5",
"uglifyify": "5.0.1",
"browserify-replace": "0.9.3",
"browserify-header": "0.9.4",
"browserify-derequire": "0.9.6"
"browserify-replace": "1.0.1",
"browserify-header": "1.0.1",
"browserify-derequire": "1.0.1"
},

@@ -50,0 +50,0 @@ "dependencies" : {

@@ -215,3 +215,3 @@

Copyright (c) 2010-2018 Ralf S. Engelschall (http://engelschall.com/)
Copyright (c) 2010-2019 Dr. Ralf S. Engelschall (http://engelschall.com/)

@@ -218,0 +218,0 @@ Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*!
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*!
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

/*
** Ducky -- Duck-Typed Value Handling for JavaScript
** Copyright (c) 2010-2018 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2010-2019 Dr. Ralf S. Engelschall <rse@engelschall.com>
**

@@ -5,0 +5,0 @@ ** Permission is hereby granted, free of charge, to any person obtaining

Sorry, the diff of this file is not supported yet

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